Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixes for LSB command check
@ 2011-04-27  9:30 Kang Kai
  2011-04-27  9:30 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kang Kai @ 2011-04-27  9:30 UTC (permalink / raw)
  To: saul.wold; +Cc: poky

From: Kang Kai <kai.kang@windriver.com>

Update groff to 1.20.1 from OE
Add commands install_initd and remove_initd in lsbsetup
Add xdg-utils into lsb image to provides xdg-* commands.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: kangkai/distro
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro

Thanks,
    Kang Kai <kai.kang@windriver.com>
---


Kang Kai (3):
  groff: update to 1.20.1
  lsbsetup: add commands install_initd and remove_initd
  task-core-lsb: add xdg-utils into lsb image

 meta/recipes-extended/groff/groff_1.20.1.bb  |   36 ++++++++++++++++++++++++++
 meta/recipes-extended/lsb/lsbsetup_0.9.bb    |    7 ++++-
 meta/recipes-extended/tasks/task-core-lsb.bb |    1 +
 3 files changed, 43 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] groff: update to 1.20.1
  2011-04-27  9:30 [PATCH 0/3] Fixes for LSB command check Kang Kai
@ 2011-04-27  9:30 ` Kang Kai
  2011-04-27 22:47   ` Saul Wold
  2011-04-27  9:30 ` [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd Kang Kai
  2011-04-27  9:30 ` [PATCH 3/3] task-core-lsb: add xdg-utils into lsb image Kang Kai
  2 siblings, 1 reply; 7+ messages in thread
From: Kang Kai @ 2011-04-27  9:30 UTC (permalink / raw)
  To: saul.wold; +Cc: poky

From: Kang Kai <kai.kang@windriver.com>

Update groff to 1.20.1, add SUMMARY and LICENSE info
From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e
Fixes [Yocto 879]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/groff/groff_1.20.1.bb |   36 +++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb

diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.20.1.bb
new file mode 100644
index 0000000..e0e198f
--- /dev/null
+++ b/meta/recipes-extended/groff/groff_1.20.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "GNU Troff software"
+DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \
+formatting commands and produces formatted output."
+SECTION = "base"
+HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
+LICENSE = "GPLv2"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "48fa768dd6fdeb7968041dd5ae8e2b02"
+SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c2cd805"
+
+DEPENDS = "groff-native"
+DEPENDS_virtclass-native = ""
+
+inherit autotools
+
+PARALLEL_MAKE = ""
+
+do_configure_prepend() {
+	if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+		sed -i \
+		    -e '/^GROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/groff:' \
+		    -e '/^TROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/troff:' \
+		    -e '/^GROFF_BIN_PATH=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
+		    -e '/^GROFF_BIN_DIR=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
+		    ${S}/contrib/*/Makefile.sub \
+		    ${S}/doc/Makefile.in \
+		    ${S}/doc/Makefile.sub
+	fi
+}
+
+BBCLASSEXTEND = "native"
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd
  2011-04-27  9:30 [PATCH 0/3] Fixes for LSB command check Kang Kai
  2011-04-27  9:30 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai
@ 2011-04-27  9:30 ` Kang Kai
  2011-04-27 17:04   ` Saul Wold
  2011-04-27  9:30 ` [PATCH 3/3] task-core-lsb: add xdg-utils into lsb image Kang Kai
  2 siblings, 1 reply; 7+ messages in thread
From: Kang Kai @ 2011-04-27  9:30 UTC (permalink / raw)
  To: saul.wold; +Cc: poky

From: Kang Kai <kai.kang@windriver.com>

Add commands install_initd and remove_initd link to chkconfig, which
can handler LSB format init.d scripts. Needed by LSB commands check.
Bump PR to r2
Part fixes [Yocto 520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/lsb/lsbsetup_0.9.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/lsb/lsbsetup_0.9.bb b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
index 5fd0584..73720ea 100644
--- a/meta/recipes-extended/lsb/lsbsetup_0.9.bb
+++ b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "auto-setup environment for lsb test"
 SECTION = "console/utils"
 PRIORITY = "required"
 LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
 
 LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
 
@@ -14,4 +14,9 @@ do_install() {
         # Only install file if it has a contents
         install -d ${D}/usr/bin
         install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
+        mkdir -p ${D}/usr/lib/lsb
+        ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
+        ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
 }
+
+FILES_${PN} += "${libdir}/lsb"
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] task-core-lsb: add xdg-utils into lsb image
  2011-04-27  9:30 [PATCH 0/3] Fixes for LSB command check Kang Kai
  2011-04-27  9:30 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai
  2011-04-27  9:30 ` [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd Kang Kai
@ 2011-04-27  9:30 ` Kang Kai
  2 siblings, 0 replies; 7+ messages in thread
From: Kang Kai @ 2011-04-27  9:30 UTC (permalink / raw)
  To: saul.wold; +Cc: poky

From: Kang Kai <kai.kang@windriver.com>

Add xdg-utils in task-core-lsb, for LSB command check.
Part fixes [Yocto 520]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/tasks/task-core-lsb.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb
index ef8acb1..ed705f1 100644
--- a/meta/recipes-extended/tasks/task-core-lsb.bb
+++ b/meta/recipes-extended/tasks/task-core-lsb.bb
@@ -130,6 +130,7 @@ RDEPENDS_task-core-lsb-command-add = "\
     mailx \
     msmtp \
     chkconfig \
+    xdg-utils \
 "
 #    cups
 
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd
  2011-04-27  9:30 ` [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd Kang Kai
@ 2011-04-27 17:04   ` Saul Wold
  0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2011-04-27 17:04 UTC (permalink / raw)
  To: Kang Kai; +Cc: poky

On 04/27/2011 02:30 AM, Kang Kai wrote:
> From: Kang Kai<kai.kang@windriver.com>
>
> Add commands install_initd and remove_initd link to chkconfig, which
> can handler LSB format init.d scripts. Needed by LSB commands check.
> Bump PR to r2
> Part fixes [Yocto 520]
>
> Signed-off-by: Kang Kai<kai.kang@windriver.com>
> ---
>   meta/recipes-extended/lsb/lsbsetup_0.9.bb |    7 ++++++-
>   1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/lsb/lsbsetup_0.9.bb b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
> index 5fd0584..73720ea 100644
> --- a/meta/recipes-extended/lsb/lsbsetup_0.9.bb
> +++ b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
> @@ -2,7 +2,7 @@ DESCRIPTION = "auto-setup environment for lsb test"
>   SECTION = "console/utils"
>   PRIORITY = "required"
>   LICENSE = "GPLv2"
> -PR = "r1"
> +PR = "r2"
>
>   LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
>
> @@ -14,4 +14,9 @@ do_install() {
>           # Only install file if it has a contents
>           install -d ${D}/usr/bin
>           install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
> +        mkdir -p ${D}/usr/lib/lsb
I think this should be an install -d not a mkdir

> +        ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
> +        ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
>   }
> +
> +FILES_${PN} += "${libdir}/lsb"



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] groff: update to 1.20.1
  2011-04-27  9:30 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai
@ 2011-04-27 22:47   ` Saul Wold
  0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2011-04-27 22:47 UTC (permalink / raw)
  To: Kang Kai; +Cc: poky

On 04/27/2011 02:30 AM, Kang Kai wrote:
> From: Kang Kai<kai.kang@windriver.com>
>
> Update groff to 1.20.1, add SUMMARY and LICENSE info
>> From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e
> Fixes [Yocto 879]
>
Why did you not updated the existing recipe, via a git mv and then edit 
it.  We do not keep older recipes around, so they should be cleaned up.

Also, why do we need a native for this recipe?  For dealing with 
documentation native side?

Sau!

> Signed-off-by: Kang Kai<kai.kang@windriver.com>
> ---
>   meta/recipes-extended/groff/groff_1.20.1.bb |   36 +++++++++++++++++++++++++++
>   1 files changed, 36 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb
>
> diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.20.1.bb
> new file mode 100644
> index 0000000..e0e198f
> --- /dev/null
> +++ b/meta/recipes-extended/groff/groff_1.20.1.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "GNU Troff software"
> +DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \
> +formatting commands and produces formatted output."
> +SECTION = "base"
> +HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
> +LICENSE = "GPLv2"
> +PR = "r0"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "48fa768dd6fdeb7968041dd5ae8e2b02"
> +SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c2cd805"
> +
> +DEPENDS = "groff-native"
> +DEPENDS_virtclass-native = ""
> +
> +inherit autotools
> +
> +PARALLEL_MAKE = ""
> +
> +do_configure_prepend() {
> +	if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
> +		sed -i \
> +		    -e '/^GROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/groff:' \
> +		    -e '/^TROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/troff:' \
> +		    -e '/^GROFF_BIN_PATH=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
> +		    -e '/^GROFF_BIN_DIR=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
> +		    ${S}/contrib/*/Makefile.sub \
> +		    ${S}/doc/Makefile.in \
> +		    ${S}/doc/Makefile.sub
> +	fi
> +}
> +
> +BBCLASSEXTEND = "native"



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] groff: update to 1.20.1
  2011-04-28  3:15 [PATCH 0/3] Fixes for LSB command check Kang Kai
@ 2011-04-28  3:15 ` Kang Kai
  0 siblings, 0 replies; 7+ messages in thread
From: Kang Kai @ 2011-04-28  3:15 UTC (permalink / raw)
  To: saul.wold; +Cc: poky

From: Kang Kai <kai.kang@windriver.com>

Update groff to 1.20.1, add SUMMARY and LICENSE info
From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e
Fixes [Yocto 879]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch |   35 ---------------
 .../groff/groff-1.18.1.4/man-local.patch           |   32 --------------
 .../groff/groff-1.18.1.4/mdoc-local.patch          |   31 -------------
 meta/recipes-extended/groff/groff_1.18.1.4.bb      |   46 --------------------
 meta/recipes-extended/groff/groff_1.20.1.bb        |   36 +++++++++++++++
 5 files changed, 36 insertions(+), 144 deletions(-)
 delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch
 delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch
 delete mode 100644 meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
 delete mode 100644 meta/recipes-extended/groff/groff_1.18.1.4.bb
 create mode 100644 meta/recipes-extended/groff/groff_1.20.1.bb

diff --git a/meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch b/meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch
deleted file mode 100644
index 90ad8e3..0000000
--- a/meta/recipes-extended/groff/groff-1.18.1.4/groff-1.18.1.4-remove-mom.patch
+++ /dev/null
@@ -1,35 +0,0 @@
----
- groff-1.18.1.4/Makefile.in |    7 +------
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -460,27 +460,22 @@ OTHERDIRS=\
-   src/roff/grog \
-   src/roff/nroff \
-   contrib/mm \
-   contrib/pic2graph \
-   contrib/eqn2graph \
--  contrib/groffer \
--  contrib/mom \
--  doc
-+  contrib/groffer
- ALLDIRS=$(INCDIRS) $(LIBDIRS) $(PROGDIRS) \
-   $(DEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS) $(OTHERDIRS)
- EXTRADIRS=\
-   font/devps/generate \
-   font/devdvi/generate \
-   font/devlj4/generate \
--  src/xditview \
-   doc
- NOMAKEDIRS=\
-   arch/djgpp \
-   contrib/mm/examples \
-   contrib/mm/mm \
--  contrib/mom/examples \
--  contrib/mom/momdoc \
-   src/libs/snprintf
- DISTDIRS=\
-   $(INCDIRS) $(LIBDIRS) $(PROGDIRS) $(DEVDIRS) $(OTHERDEVDIRS) \
-   $(ALLTTYDEVDIRS) $(OTHERDIRS) $(EXTRADIRS) $(NOMAKEDIRS)
- TARGETS=all install install_bin install_data clean distclean mostlyclean \
diff --git a/meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch b/meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch
deleted file mode 100644
index 34b4248..0000000
--- a/meta/recipes-extended/groff/groff-1.18.1.4/man-local.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: groff-1.18.1.4/tmac/man.local
-===================================================================
---- groff-1.18.1.4.orig/tmac/man.local	2000-10-26 22:15:17.000000000 +0800
-+++ groff-1.18.1.4/tmac/man.local	2010-08-24 14:17:52.070006664 +0800
-@@ -1,2 +1,27 @@
- .\" This file is loaded after an-old.tmac.
- .\" Put any local modifications to an-old.tmac here.
-+.
-+.if n \{\
-+.  \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other
-+.  \" than utf8.
-+.  if !'\*[.T]'utf8' \
-+.    tr \[oq]'
-+.
-+.  \" Debian: Disable the use of SGR (ANSI colour) escape sequences by
-+.  \" grotty.
-+.  if '\V[GROFF_SGR]'' \
-+.    output x X tty: sgr 0
-+.
-+.  \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make
-+.  \" searching in man pages easier.
-+.  if '\*[.T]'utf8' \
-+.    char \- \N'45'
-+.
-+.  \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such
-+.  \" as those in command-line options. This is a bug in those pages, but
-+.  \" too many fonts are missing the Unicode HYPHEN character, so we render
-+.  \" this as the ASCII-compatible HYPHEN-MINUS instead.
-+.  if '\*[.T]'utf8' \
-+.    char - \N'45'
-+.\}
-+
diff --git a/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch b/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
deleted file mode 100644
index 140a544..0000000
--- a/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: groff-1.18.1.4/tmac/mdoc.local
-===================================================================
---- groff-1.18.1.4.orig/tmac/mdoc.local	2001-03-23 08:17:51.000000000 +0800
-+++ groff-1.18.1.4/tmac/mdoc.local	2010-08-24 14:20:22.014006846 +0800
-@@ -1,2 +1,26 @@
- .\" This file is loaded after doc.tmac.
- .\" Put any local modifications to doc.tmac here.
-+.
-+.if n \{\
-+.  \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other
-+.  \" than utf8.
-+.  if !'\*[.T]'utf8' \
-+.    tr \[oq]'
-+.
-+.  \" Debian: Disable the use of SGR (ANSI colour) escape sequences by
-+.  \" grotty.
-+.  if '\V[GROFF_SGR]'' \
-+.    output x X tty: sgr 0
-+.
-+.  \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make
-+.  \" searching in man pages easier.
-+.  if '\*[.T]'utf8' \
-+.    char \- \N'45'
-+.
-+.  \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such
-+.  \" as those in command-line options. This is a bug in those pages, but
-+.  \" too many fonts are missing the Unicode HYPHEN character, so we render
-+.  \" this as the ASCII-compatible HYPHEN-MINUS instead.
-+.  if '\*[.T]'utf8' \
-+.    char - \N'45'
-+.\}
diff --git a/meta/recipes-extended/groff/groff_1.18.1.4.bb b/meta/recipes-extended/groff/groff_1.18.1.4.bb
deleted file mode 100644
index cf3adea..0000000
--- a/meta/recipes-extended/groff/groff_1.18.1.4.bb
+++ /dev/null
@@ -1,46 +0,0 @@
-SUMMARY = "GNU Troff software"
-DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \
-formatting commands and produces formatted output."
-SECTION = "console/utils"
-PRIORITY = "required"
-HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
-LICENSE = "GPLv2"
-PR = "r1"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=e43fc16fccd8519fba405f0a0ff6e8a3"
-
-SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
-          file://groff-1.18.1.4-remove-mom.patch;striplevel=1 \
-          file://man-local.patch \
-          file://mdoc-local.patch" 
-
-inherit autotools
-
-EXTRA_OECONF="--without-x --prefix=${D} --exec-prefix=${D} --bindir=${D}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}info --with-appresdir=${D}${datadir}"
-
-SRC_URI[md5sum] = "ceecb81533936d251ed015f40e5f7287"
-SRC_URI[sha256sum] = "ff3c7c3b6cae5e8cc5062a144de5eff0022e8e970e1774529cc2d5dde46ce50d"
-PARALLEL_MAKE = ""
-
-
-do_configure (){
-	oe_runconf
-}
-
-do_install_prepend() {
-  install -m 0755 -d ${D}
-}
-
-
-do_install_append() {
-     mkdir -p ${D}${sysconfdir}/groff
-     cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${sysconfdir}/groff/
-     cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${datadir}/groff/${PV}/tmac/
-}
-
-pkg_postinst_${PN}() {
-    ln -s ${bindir}/tbl ${bindir}/gtbl
-    echo "export GROFF_FONT_PATH=/usr/share/groff/${PV}/font" >> ${sysconfdir}/profile
-    echo "export GROFF_TMAC_PATH=/usr/share/groff/${PV}/tmac" >> ${sysconfdir}/profile
-}
-
diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.20.1.bb
new file mode 100644
index 0000000..e0e198f
--- /dev/null
+++ b/meta/recipes-extended/groff/groff_1.20.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "GNU Troff software"
+DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \
+formatting commands and produces formatted output."
+SECTION = "base"
+HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
+LICENSE = "GPLv2"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "48fa768dd6fdeb7968041dd5ae8e2b02"
+SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c2cd805"
+
+DEPENDS = "groff-native"
+DEPENDS_virtclass-native = ""
+
+inherit autotools
+
+PARALLEL_MAKE = ""
+
+do_configure_prepend() {
+	if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+		sed -i \
+		    -e '/^GROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/groff:' \
+		    -e '/^TROFFBIN=/s:=.*:=${STAGING_BINDIR_NATIVE}/troff:' \
+		    -e '/^GROFF_BIN_PATH=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
+		    -e '/^GROFF_BIN_DIR=/s:=.*:=${STAGING_BINDIR_NATIVE}:' \
+		    ${S}/contrib/*/Makefile.sub \
+		    ${S}/doc/Makefile.in \
+		    ${S}/doc/Makefile.sub
+	fi
+}
+
+BBCLASSEXTEND = "native"
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-28  3:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27  9:30 [PATCH 0/3] Fixes for LSB command check Kang Kai
2011-04-27  9:30 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai
2011-04-27 22:47   ` Saul Wold
2011-04-27  9:30 ` [PATCH 2/3] lsbsetup: add commands install_initd and remove_initd Kang Kai
2011-04-27 17:04   ` Saul Wold
2011-04-27  9:30 ` [PATCH 3/3] task-core-lsb: add xdg-utils into lsb image Kang Kai
  -- strict thread matches above, loose matches on Subject: below --
2011-04-28  3:15 [PATCH 0/3] Fixes for LSB command check Kang Kai
2011-04-28  3:15 ` [PATCH 1/3] groff: update to 1.20.1 Kang Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox