Skip to contentSkip to conversation

recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues

PATCH Superseded Matthieu Crapet 2 participants 4 messages Feb 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues

Rename SUMMARY with length > 80 to DESCRIPTION.
Note: don't bump PR

---
 meta/recipes-bsp/hostap/hostap-conf_1.0.bb           |  3 ++-
 meta/recipes-devtools/json-c/json-c_0.11.bb          |  3 ++-
 meta/recipes-graphics/xorg-proto/presentproto_git.bb | 14 ++++++--------
 meta/recipes-multimedia/x264/x264_git.bb             |  3 ++-
 4 files changed, 12 insertions(+), 11 deletions(-)
meta/recipes-bsp/hostap/hostap-conf_1.0.bb +2 -1
index 0208509..e2c7cc0 100644
@@ -1,4 +1,5 @@
-SUMMARY = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
+SUMMARY = "Configuration files for HostAP (wifi) driver"
+DESCRIPTION = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset."
 SECTION = "kernel/modules"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
meta/recipes-devtools/json-c/json-c_0.11.bb +2 -1
index d1bf0e9..389e0f9 100644
@@ -1,4 +1,5 @@
-SUMMARY = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C"
+SUMMARY = "C bindings for apps which will manipulate JSON data"
+DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C."
 HOMEPAGE = "https://github.com/json-c/json-c/wiki"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
meta/recipes-graphics/xorg-proto/presentproto_git.bb +6 -8
index 007824f..bd6c60a 100644
@@ -1,13 +1,11 @@
 require xorg-proto-common.inc
 
-SUMMARY = "The Present extension provides a way for applications to update their \
-           window contents from a pixmap in a well defined fashion, synchronizing \
-           with the display refresh and potentially using a more efficient \
-           mechanism than copying the contents of the source pixmap.\
-          "
-
-DESCRIPTION = "This package provides the basic headers for the X Window \
-System."
+SUMMARY = "This package provides the basic headers for the X Window System"
+DESCRIPTION = "The Present extension provides a way for applications to update their \
+               window contents from a pixmap in a well defined fashion, synchronizing \
+               with the display refresh and potentially using a more efficient \
+               mechanism than copying the contents of the source pixmap.\
+              "
 
 LICENSE = "GPLv2"
 
meta/recipes-multimedia/x264/x264_git.bb +2 -1
index 406df30..5ebf885 100644
@@ -1,4 +1,5 @@
-SUMMARY = "A free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
+SUMMARY = "H.264/MPEG-4 AVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.264/MPEG-4 AVC format."
 HOMEPAGE = "http://www.videolan.org/developers/x264.html"
 
 LICENSE = "GPLv2"
Signature · 1 line
1.8.5.4
#1 lore raw

Hi,

Few explanations ;) Seen in:
https://wiki.yoctoproject.org/wiki/Janitors

Didn't find any opened bugtracker.

These recipes are "pending", i.e. 80 < len(SUMMARY) < 95:

meta/recipes-support/libunistring/libunistring_0.9.3.bb meta/recipes-devtools/devel-config/nfs-export-root.bb meta/recipes-devtools/autogen/autogen-native_5.18.2.bb

Should I translate them to DESCRIPTION ?

Regards,
Matthieu

#2 lore raw

Hi Matthieu,

Thanks for looking at this.

Quoted 5 lines · On Friday 14 February 2014 16:42:33 Matthieu CRAPET wrote:

Few explanations ;) Seen in:
https://wiki.yoctoproject.org/wiki/Janitors

Didn't find any opened bugtracker.

Quoted 7 lines

These recipes are "pending", i.e. 80 < len(SUMMARY) < 95:

meta/recipes-support/libunistring/libunistring_0.9.3.bb meta/recipes-devtools/devel-config/nfs-export-root.bb meta/recipes-devtools/autogen/autogen-native_5.18.2.bb

Should I translate them to DESCRIPTION ?

If you add a shorter SUMMARY at the same time, sure. Having a reasonable SUMMARY is more important than DESCRIPTION, IMO.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw

PATCH v2 1/1 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues

In reply to Matthieu Crapet

Rename SUMMARY with length > 80 to DESCRIPTION.
Note: don't bump PR

---
 meta/recipes-bsp/hostap/hostap-conf_1.0.bb              |  3 ++-
 meta/recipes-devtools/autogen/autogen-native_5.18.2.bb  |  2 +-
 meta/recipes-devtools/devel-config/nfs-export-root.bb   |  3 ++-
 meta/recipes-devtools/json-c/json-c_0.11.bb             |  3 ++-
 meta/recipes-graphics/xorg-proto/presentproto_git.bb    | 14 ++++++--------
 meta/recipes-multimedia/x264/x264_git.bb                |  3 ++-
 meta/recipes-support/libunistring/libunistring_0.9.3.bb |  2 +-
 7 files changed, 16 insertions(+), 14 deletions(-)
meta/recipes-bsp/hostap/hostap-conf_1.0.bb +2 -1
index 0208509..e2c7cc0 100644
@@ -1,4 +1,5 @@
-SUMMARY = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
+SUMMARY = "Configuration files for HostAP (wifi) driver"
+DESCRIPTION = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset."
 SECTION = "kernel/modules"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
meta/recipes-devtools/autogen/autogen-native_5.18.2.bb +1 -1
index c7950c3..98bdb59 100644
@@ -1,4 +1,4 @@
-SUMMARY = "AutoGen is a tool to manage programs that contain large amounts of repetitious text."
+SUMMARY = "Automated text and program generation tool"
 DESCRIPTION = "AutoGen is a tool designed to simplify the creation and\
  maintenance of programs that contain large amounts of repetitious text.\
  It is especially valuable in programs that have several blocks of text\
meta/recipes-devtools/devel-config/nfs-export-root.bb +2 -1
index fc35cc8..169d005 100644
@@ -1,4 +1,5 @@
-SUMMARY = "Enables NFS access from any host to the entire filesystem (for development purposes)"
+SUMMARY = "Configuration script to export target rootfs filesystem"
+DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for development purposes)."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
meta/recipes-devtools/json-c/json-c_0.11.bb +2 -1
index d1bf0e9..389e0f9 100644
@@ -1,4 +1,5 @@
-SUMMARY = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C"
+SUMMARY = "C bindings for apps which will manipulate JSON data"
+DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C."
 HOMEPAGE = "https://github.com/json-c/json-c/wiki"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
meta/recipes-graphics/xorg-proto/presentproto_git.bb +6 -8
index 007824f..bd6c60a 100644
@@ -1,13 +1,11 @@
 require xorg-proto-common.inc
 
-SUMMARY = "The Present extension provides a way for applications to update their \
-           window contents from a pixmap in a well defined fashion, synchronizing \
-           with the display refresh and potentially using a more efficient \
-           mechanism than copying the contents of the source pixmap.\
-          "
-
-DESCRIPTION = "This package provides the basic headers for the X Window \
-System."
+SUMMARY = "This package provides the basic headers for the X Window System"
+DESCRIPTION = "The Present extension provides a way for applications to update their \
+               window contents from a pixmap in a well defined fashion, synchronizing \
+               with the display refresh and potentially using a more efficient \
+               mechanism than copying the contents of the source pixmap.\
+              "
 
 LICENSE = "GPLv2"
 
meta/recipes-multimedia/x264/x264_git.bb +2 -1
index 406df30..5ebf885 100644
@@ -1,4 +1,5 @@
-SUMMARY = "A free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
+SUMMARY = "H.264/MPEG-4 AVC video encoder"
+DESCRIPTION = "A free software library and application for encoding video streams into the H.264/MPEG-4 AVC format."
 HOMEPAGE = "http://www.videolan.org/developers/x264.html"
 
 LICENSE = "GPLv2"
meta/recipes-support/libunistring/libunistring_0.9.3.bb +1 -1
index 6cffef4..faabe03 100644
@@ -1,4 +1,4 @@
-SUMMARY = "libunistring provides functions for manipulating according to the Unicode standard."
+SUMMARY = "Library for manipulating C and Unicode strings"
 
 DESCRIPTION = "Text files are nowadays usually encoded in Unicode, and may\
  consist of very different scripts from Latin letters to Chinese Hanzi\
Signature · 1 line
1.8.5.4