All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes
@ 2014-04-15  7:01 jackie.huang
  2014-04-15  7:01 ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 jackie.huang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: jackie.huang @ 2014-04-15  7:01 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

--
The following changes since commit 477ccd867cc71f8277f2670b7be34b3b15300052:

  klibc: restylize a bit the recipes (2014-04-06 13:36:20 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib jhuang0/t_gd_140415-1
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/t_gd_140415-1

Hongxu Jia (1):
  gd: add perl to RDEPENDS

Jackie Huang (1):
  gd: update to version 2.1.0

Robert Yang (1):
  gd: fix the subdir-objects error

 .../gd/gd-2.1.0/fix-the-subdir-objects-error.patch |   39 ++++++++++++++++++++
 .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   25 ++++++++-----
 2 files changed, 55 insertions(+), 9 deletions(-)
 create mode 100644 meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch
 rename meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb} (40%)

-- 
1.7.9.5



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

* [meta-oe][PATCH 1/3] gd: update to version 2.1.0
  2014-04-15  7:01 [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes jackie.huang
@ 2014-04-15  7:01 ` jackie.huang
  2014-04-20  8:24   ` Martin Jansa
  2014-04-15  7:01 ` [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS jackie.huang
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: jackie.huang @ 2014-04-15  7:01 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Changes:
- Add DESCRIPTION and HOMEPAGE
- libgd.org is down, use bitbucket.org instead and also
  remove the MIRROR for it.
- Remove the unnecessary specified dir for --with-png.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   22 ++++++++++++--------
 1 file changed, 13 insertions(+), 9 deletions(-)
 rename meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb} (43%)

diff --git a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
similarity index 43%
rename from meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
rename to meta-oe/recipes-support/gd/gd_2.1.0.bb
index 957c4eb..1b78b9b 100644
--- a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -1,22 +1,26 @@
+SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
+DESCRIPTION = "The gd graphics library allows your code to quickly draw images \
+complete with lines, arcs, text, multiple colors, cut and paste from other \
+images, and flood fills, and to write out the result as a PNG or JPEG file. \
+This is particularly useful in Web applications, where PNG and JPEG are two \
+of the formats accepted for inline images by most browsers. Note that gd is not \
+a paint program."
+HOMEPAGE = "http://libgd.bitbucket.org/"
 SECTION = "libs"
+
 LICENSE = "GD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
-SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
 DEPENDS = "freetype libpng jpeg zlib"
-PR = "r5"
-
-SRC_URI = "http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz"
-SRC_URI[md5sum] = "39ac48e6d5e0012a3bd2248a0102f209"
-SRC_URI[sha256sum] = "dd7c1795271221b9237769b96b8cec7fbdc5db7b8954d864ead51fc1296a6ac8"
 
-MIRRORS += "http://www.libgd.org/releases/ http://fossies.org/unix/www/ \n"
+SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2"
+SRC_URI[md5sum] = "5a1d5bab3a4a41d9f111bcceee4ad25b"
+SRC_URI[sha256sum] = "f3e1bc472bd81ee976a739436659fe752a14727a964c64530fde68531ddeee91"
 
-S = "${WORKDIR}/gd-2.0.36RC1"
+S = "${WORKDIR}/libgd-${PV}"
 
 inherit autotools binconfig gettext
 
 EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
-                  --with-png=${STAGING_LIBDIR}/.. \
                   --with-jpeg=${STAGING_LIBDIR}/.. \
                   --with-freetype \
                   --without-fontconfig \
-- 
1.7.9.5



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

* [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS
  2014-04-15  7:01 [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes jackie.huang
  2014-04-15  7:01 ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 jackie.huang
@ 2014-04-15  7:01 ` jackie.huang
  2014-04-15  8:23   ` Koen Kooi
  2014-04-15  7:01 ` [meta-oe][PATCH 3/3] gd: fix the subdir-objects error jackie.huang
  2014-04-21 11:33 ` [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes Martin Jansa
  3 siblings, 1 reply; 11+ messages in thread
From: jackie.huang @ 2014-04-15  7:01 UTC (permalink / raw)
  To: openembedded-devel

From: Hongxu Jia <hongxu.jia@windriver.com>

| Note: adding Smart RPM DB channel
|
| Note: to be installed:  gd@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
| Loading cache...
| Updating cache...               ######################################## [100%]
|
| Computing transaction...error: Can't install gd-2.1.0-r0.0@x86_64: no package provides /usr/bin/perl
|
| Saving cache...
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.26487)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta-oe/recipes-support/gd/gd_2.1.0.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
index 1b78b9b..3d41eec 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.0.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -11,6 +11,7 @@ SECTION = "libs"
 LICENSE = "GD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
 DEPENDS = "freetype libpng jpeg zlib"
+RDEPENDS_${PN} = "perl"
 
 SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2"
 SRC_URI[md5sum] = "5a1d5bab3a4a41d9f111bcceee4ad25b"
-- 
1.7.9.5



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

* [meta-oe][PATCH 3/3] gd: fix the subdir-objects error
  2014-04-15  7:01 [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes jackie.huang
  2014-04-15  7:01 ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 jackie.huang
  2014-04-15  7:01 ` [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS jackie.huang
@ 2014-04-15  7:01 ` jackie.huang
  2014-04-21 11:33 ` [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes Martin Jansa
  3 siblings, 0 replies; 11+ messages in thread
From: jackie.huang @ 2014-04-15  7:01 UTC (permalink / raw)
  To: openembedded-devel

From: Robert Yang <liezhi.yang@windriver.com>

Fix this error:
iautomake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../gd/gd-2.1.0/fix-the-subdir-objects-error.patch |   39 ++++++++++++++++++++
 meta-oe/recipes-support/gd/gd_2.1.0.bb             |    4 +-
 2 files changed, 42 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch

diff --git a/meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch b/meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch
new file mode 100644
index 0000000..02b1670
--- /dev/null
+++ b/meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch
@@ -0,0 +1,39 @@
+From b1ae702a48888e2c3b0ebe0772a88b45a37b84f5 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Fri, 17 Jan 2014 01:58:05 -0500
+Subject: [PATCH] configure.ac: fix the subdir-objects error
+
+Fix this error:
+iautomake: warning: possible forward-incompatibility.
+automake: At least a source file is in a subdirectory, but the 'subdir-objects'
+automake: automake option hasn't been enabled.  For now, the corresponding output
+automake: object file(s) will be placed in the top-level directory.  However,
+automake: this behaviour will change in future Automake versions: they will
+automake: unconditionally cause object files to be placed in the same subdirectory
+automake: of the corresponding sources.
+automake: You are advised to start using 'subdir-objects' option throughout your
+automake: project, to avoid future incompatibilities.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ configure.ac |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2f9f744..438e08b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -45,7 +45,7 @@ AC_SUBST(GDLIB_AGE)
+ FEATURES="GD_GIF GD_GIFANIM GD_OPENPOLYGON"
+ AC_SUBST(FEATURES)
+ 
+-AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-xz -Wall -Werror])
++AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-xz -Wall -Werror subdir-objects])
+ AC_CONFIG_HEADERS([src/config.h:src/config.hin])
+ 
+ dnl newer automake wants this, but we still want to work with older
+-- 
+1.7.10.4
+
diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
index 3d41eec..c051481 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.0.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -13,7 +13,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
 DEPENDS = "freetype libpng jpeg zlib"
 RDEPENDS_${PN} = "perl"
 
-SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2"
+SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2 \
+           file://fix-the-subdir-objects-error.patch \
+"
 SRC_URI[md5sum] = "5a1d5bab3a4a41d9f111bcceee4ad25b"
 SRC_URI[sha256sum] = "f3e1bc472bd81ee976a739436659fe752a14727a964c64530fde68531ddeee91"
 
-- 
1.7.9.5



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

* Re: [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS
  2014-04-15  7:01 ` [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS jackie.huang
@ 2014-04-15  8:23   ` Koen Kooi
  2014-04-16  2:29     ` Huang, Jie (Jackie)
  0 siblings, 1 reply; 11+ messages in thread
From: Koen Kooi @ 2014-04-15  8:23 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jackie.huang@windriver.com schreef op 15-04-14 09:01:
> From: Hongxu Jia <hongxu.jia@windriver.com>
> 
> | Note: adding Smart RPM DB channel | | Note: to be installed:  gd@x86_64
> run-postinsts@x86_64 kernel-modules@qemux86_64
> packagegroup-core-boot@qemux86_64 | Loading cache... | Updating cache...
> ######################################## [100%] | | Computing
> transaction...error: Can't install gd-2.1.0-r0.0@x86_64: no package
> provides /usr/bin/perl

That's nice and all, but you don't seem to runtime test this. I'm pretty
sure gd needs additional perl modules installed for its perl sections.

And FWIW, the bits that need perl should be split out in gd-perl

> | | Saving cache... | | WARNING: exit code 1 from a shell command. |
> ERROR: Function failed: do_rootfs (log file is located at
> tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.26487)
>
>  Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by:
> Jackie Huang <jackie.huang@windriver.com> --- 
> meta-oe/recipes-support/gd/gd_2.1.0.bb |    1 + 1 file changed, 1
> insertion(+)
> 
> diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb
> b/meta-oe/recipes-support/gd/gd_2.1.0.bb index 1b78b9b..3d41eec 100644 
> --- a/meta-oe/recipes-support/gd/gd_2.1.0.bb +++
> b/meta-oe/recipes-support/gd/gd_2.1.0.bb @@ -11,6 +11,7 @@ SECTION =
> "libs" LICENSE = "GD" LIC_FILES_CHKSUM =
> "file://COPYING;md5=c97638cafd3581eb87abd37332137669" DEPENDS = "freetype
> libpng jpeg zlib" +RDEPENDS_${PN} = "perl"

R* variables go below do_install

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTTOyEMkyGM64RGpERAu1dAJ4xqraqlz5pEmf+uZnOcxSt0gc9HgCghTpX
SWCuUnlnxjLDTnJSvlHHGqQ=
=IivC
-----END PGP SIGNATURE-----



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

* Re: [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS
  2014-04-15  8:23   ` Koen Kooi
@ 2014-04-16  2:29     ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 11+ messages in thread
From: Huang, Jie (Jackie) @ 2014-04-16  2:29 UTC (permalink / raw)
  To: openembedded-devel



> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of Koen Kooi
> Sent: Tuesday, April 15, 2014 4:24 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> jackie.huang@windriver.com schreef op 15-04-14 09:01:
> > From: Hongxu Jia <hongxu.jia@windriver.com>
> >
> > | Note: adding Smart RPM DB channel | | Note: to be installed:
> > | gd@x86_64
> > run-postinsts@x86_64 kernel-modules@qemux86_64
> > packagegroup-core-boot@qemux86_64 | Loading cache... | Updating cache...
> > ######################################## [100%] | | Computing
> > transaction...error: Can't install gd-2.1.0-r0.0@x86_64: no package
> > provides /usr/bin/perl
> 
> That's nice and all, but you don't seem to runtime test this. I'm pretty sure gd needs additional perl
> modules installed for its perl sections.

The tools provided by gd that needs perl is the "fstobdf" which is a simple convertor from bdf to
gd font format, yes, it's using the 'strict' perl module, and I checked that ' perl-module-strict' is rprovided
by 'perl', so it would be fine to rdepends  on 'perl' only, and I did the runtime test and it works fine.

> 
> And FWIW, the bits that need perl should be split out in gd-perl

En.., I didn't realize that. Currently the gd package is providing the the gd graphics library
and a bunch of converts between gd and other graphics formats, one of which is perl script, and I see
that some Linux distribution (e.g. Ubuntu) usually split them into two package: 'libgd' for the library,
libgd-tools for the convert binaries/scripts, rather than splitting the perl script into gd-perl, I prefer
to split all the converts into gd-tools (or libgd-tools), what do you think?

> 
> > | | Saving cache... | | WARNING: exit code 1 from a shell command. |
> > ERROR: Function failed: do_rootfs (log file is located at
> > tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do
> > _rootfs/log.do_rootfs.26487)
> >
> >  Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by:
> > Jackie Huang <jackie.huang@windriver.com> ---
> > meta-oe/recipes-support/gd/gd_2.1.0.bb |    1 + 1 file changed, 1
> > insertion(+)
> >
> > diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb
> > b/meta-oe/recipes-support/gd/gd_2.1.0.bb index 1b78b9b..3d41eec 100644
> > --- a/meta-oe/recipes-support/gd/gd_2.1.0.bb +++
> > b/meta-oe/recipes-support/gd/gd_2.1.0.bb @@ -11,6 +11,7 @@ SECTION =
> > "libs" LICENSE = "GD" LIC_FILES_CHKSUM =
> > "file://COPYING;md5=c97638cafd3581eb87abd37332137669" DEPENDS =
> > "freetype libpng jpeg zlib" +RDEPENDS_${PN} = "perl"
> 
> R* variables go below do_install

Yeah, thanks, I will re-send for the changes.

Thanks,
Jackie

> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> 
> iD8DBQFTTOyEMkyGM64RGpERAu1dAJ4xqraqlz5pEmf+uZnOcxSt0gc9HgCghTpX
> SWCuUnlnxjLDTnJSvlHHGqQ=
> =IivC
> -----END PGP SIGNATURE-----
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe][PATCH 1/3] gd: update to version 2.1.0
  2014-04-15  7:01 ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 jackie.huang
@ 2014-04-20  8:24   ` Martin Jansa
  2014-04-20 14:04     ` [meta-oe][PATCH] gd: fix --with-freetype option Martin Jansa
  2014-04-21  2:58     ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 Huang, Jie (Jackie)
  0 siblings, 2 replies; 11+ messages in thread
From: Martin Jansa @ 2014-04-20  8:24 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3383 bytes --]

On Tue, Apr 15, 2014 at 03:01:24PM +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> Changes:
> - Add DESCRIPTION and HOMEPAGE
> - libgd.org is down, use bitbucket.org instead and also
>   remove the MIRROR for it.
> - Remove the unnecessary specified dir for --with-png.
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   22 ++++++++++++--------
>  1 file changed, 13 insertions(+), 9 deletions(-)
>  rename meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb} (43%)
> 
> diff --git a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
> similarity index 43%
> rename from meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
> rename to meta-oe/recipes-support/gd/gd_2.1.0.bb
> index 957c4eb..1b78b9b 100644
> --- a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
> +++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
> @@ -1,22 +1,26 @@
> +SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
> +DESCRIPTION = "The gd graphics library allows your code to quickly draw images \
> +complete with lines, arcs, text, multiple colors, cut and paste from other \
> +images, and flood fills, and to write out the result as a PNG or JPEG file. \
> +This is particularly useful in Web applications, where PNG and JPEG are two \
> +of the formats accepted for inline images by most browsers. Note that gd is not \
> +a paint program."
> +HOMEPAGE = "http://libgd.bitbucket.org/"
>  SECTION = "libs"
> +
>  LICENSE = "GD"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
> -SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
>  DEPENDS = "freetype libpng jpeg zlib"
> -PR = "r5"
> -
> -SRC_URI = "http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz"
> -SRC_URI[md5sum] = "39ac48e6d5e0012a3bd2248a0102f209"
> -SRC_URI[sha256sum] = "dd7c1795271221b9237769b96b8cec7fbdc5db7b8954d864ead51fc1296a6ac8"
>  
> -MIRRORS += "http://www.libgd.org/releases/ http://fossies.org/unix/www/ \n"
> +SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "5a1d5bab3a4a41d9f111bcceee4ad25b"
> +SRC_URI[sha256sum] = "f3e1bc472bd81ee976a739436659fe752a14727a964c64530fde68531ddeee91"
>  
> -S = "${WORKDIR}/gd-2.0.36RC1"
> +S = "${WORKDIR}/libgd-${PV}"
>  
>  inherit autotools binconfig gettext
>  
>  EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
> -                  --with-png=${STAGING_LIBDIR}/.. \
>                    --with-jpeg=${STAGING_LIBDIR}/.. \
>                    --with-freetype \

http://patchwork.openembedded.org/patch/69991/ adds
--with-freetype=${STAGING_LIBDIR}/.. \

and together with this it fails with:
| configure:13838: error: freetype support requested, but not found:
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/../bin/freetype-config

can you please check it?

>                    --without-fontconfig \
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* [meta-oe][PATCH] gd: fix --with-freetype option
  2014-04-20  8:24   ` Martin Jansa
@ 2014-04-20 14:04     ` Martin Jansa
  2014-04-21  2:58     ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 Huang, Jie (Jackie)
  1 sibling, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-04-20 14:04 UTC (permalink / raw)
  To: openembedded-devel

* 'yes' value means using pkg-config to find freetype, other values are using
  FREETYPE_CONFIG=/bin/freetype-config and freetype-config isn't
  in STAGING_LIBDIR but in STAGING_BINDIR/crossscripts/freetype-config

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/gd/gd_2.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb b/meta-oe/recipes-support/gd/gd_2.1.0.bb
index 24f6f34..0f14130 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.0.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -25,7 +25,7 @@ inherit autotools binconfig gettext
 
 EXTRA_OECONF += " --disable-rpath \
                   --with-jpeg=${STAGING_LIBDIR}/.. \
-                  --with-freetype=${STAGING_LIBDIR}/.. \
+                  --with-freetype=yes \
                   --without-fontconfig \
                   --without-xpm \
                   --without-x"
-- 
1.9.1



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

* Re: [meta-oe][PATCH 1/3] gd: update to version 2.1.0
  2014-04-20  8:24   ` Martin Jansa
  2014-04-20 14:04     ` [meta-oe][PATCH] gd: fix --with-freetype option Martin Jansa
@ 2014-04-21  2:58     ` Huang, Jie (Jackie)
  1 sibling, 0 replies; 11+ messages in thread
From: Huang, Jie (Jackie) @ 2014-04-21  2:58 UTC (permalink / raw)
  To: openembedded-devel



> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of Martin Jansa
> Sent: Sunday, April 20, 2014 4:24 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/3] gd: update to version 2.1.0
> 
> On Tue, Apr 15, 2014 at 03:01:24PM +0800, jackie.huang@windriver.com wrote:
> > From: Jackie Huang <jackie.huang@windriver.com>
> >
> > Changes:
> > - Add DESCRIPTION and HOMEPAGE
> > - libgd.org is down, use bitbucket.org instead and also
> >   remove the MIRROR for it.
> > - Remove the unnecessary specified dir for --with-png.
> >
> > Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> > ---
> >  .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   22 ++++++++++++--------
> >  1 file changed, 13 insertions(+), 9 deletions(-)  rename
> > meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}
> > (43%)
> >
> > diff --git a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
> > b/meta-oe/recipes-support/gd/gd_2.1.0.bb
> > similarity index 43%
> > rename from meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
> > rename to meta-oe/recipes-support/gd/gd_2.1.0.bb
> > index 957c4eb..1b78b9b 100644
> > --- a/meta-oe/recipes-support/gd/gd_2.0.35+2.0.36rc1.bb
> > +++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
> > @@ -1,22 +1,26 @@
> > +SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
> > +DESCRIPTION = "The gd graphics library allows your code to quickly
> > +draw images \ complete with lines, arcs, text, multiple colors, cut
> > +and paste from other \ images, and flood fills, and to write out the
> > +result as a PNG or JPEG file. \ This is particularly useful in Web
> > +applications, where PNG and JPEG are two \ of the formats accepted
> > +for inline images by most browsers. Note that gd is not \ a paint program."
> > +HOMEPAGE = "http://libgd.bitbucket.org/"
> >  SECTION = "libs"
> > +
> >  LICENSE = "GD"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669"
> > -SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images"
> >  DEPENDS = "freetype libpng jpeg zlib"
> > -PR = "r5"
> > -
> > -SRC_URI = "http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz"
> > -SRC_URI[md5sum] = "39ac48e6d5e0012a3bd2248a0102f209"
> > -SRC_URI[sha256sum] =
> "dd7c1795271221b9237769b96b8cec7fbdc5db7b8954d864ead51fc1296a6ac8"
> >
> > -MIRRORS += "http://www.libgd.org/releases/ http://fossies.org/unix/www/ \n"
> > +SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2"
> > +SRC_URI[md5sum] = "5a1d5bab3a4a41d9f111bcceee4ad25b"
> > +SRC_URI[sha256sum] =
> "f3e1bc472bd81ee976a739436659fe752a14727a964c64530fde68531ddeee91"
> >
> > -S = "${WORKDIR}/gd-2.0.36RC1"
> > +S = "${WORKDIR}/libgd-${PV}"
> >
> >  inherit autotools binconfig gettext
> >
> >  EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
> > -                  --with-png=${STAGING_LIBDIR}/.. \
> >                    --with-jpeg=${STAGING_LIBDIR}/.. \
> >                    --with-freetype \
> 
> http://patchwork.openembedded.org/patch/69991/ adds --with-freetype=${STAGING_LIBDIR}/.. \
> 
> and together with this it fails with:
> | configure:13838: error: freetype support requested, but not found:
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-
> eglibc/sysroots/qemuarm/usr/lib/../bin/freetype-config
> 
> can you please check it?

I saw that you have fixed it "[oe] [meta-oe][PATCH] gd: fix --with-freetype option", 
I checked that it work fine with your patch, thanks!

Thanks,
Jackie

> 
> >                    --without-fontconfig \
> > --
> > 1.7.9.5
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com


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

* Re: [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes
  2014-04-15  7:01 [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes jackie.huang
                   ` (2 preceding siblings ...)
  2014-04-15  7:01 ` [meta-oe][PATCH 3/3] gd: fix the subdir-objects error jackie.huang
@ 2014-04-21 11:33 ` Martin Jansa
  2014-04-22  1:41   ` Huang, Jie (Jackie)
  3 siblings, 1 reply; 11+ messages in thread
From: Martin Jansa @ 2014-04-21 11:33 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

On Tue, Apr 15, 2014 at 03:01:23PM +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>

Merged 2 from 3 and 1 mine, thanks

"add perl" one has some feedback

> 
> --
> The following changes since commit 477ccd867cc71f8277f2670b7be34b3b15300052:
> 
>   klibc: restylize a bit the recipes (2014-04-06 13:36:20 +0100)
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib jhuang0/t_gd_140415-1
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/t_gd_140415-1
> 
> Hongxu Jia (1):
>   gd: add perl to RDEPENDS
> 
> Jackie Huang (1):
>   gd: update to version 2.1.0
> 
> Robert Yang (1):
>   gd: fix the subdir-objects error
> 
>  .../gd/gd-2.1.0/fix-the-subdir-objects-error.patch |   39 ++++++++++++++++++++
>  .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   25 ++++++++-----
>  2 files changed, 55 insertions(+), 9 deletions(-)
>  create mode 100644 meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch
>  rename meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb} (40%)
> 
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes
  2014-04-21 11:33 ` [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes Martin Jansa
@ 2014-04-22  1:41   ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 11+ messages in thread
From: Huang, Jie (Jackie) @ 2014-04-22  1:41 UTC (permalink / raw)
  To: openembedded-devel



> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of Martin Jansa
> Sent: Monday, April 21, 2014 7:34 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes
> 
> On Tue, Apr 15, 2014 at 03:01:23PM +0800, jackie.huang@windriver.com wrote:
> > From: Jackie Huang <jackie.huang@windriver.com>
> 
> Merged 2 from 3 and 1 mine, thanks
> 
> "add perl" one has some feedback

I'm working for v2 for this one, thanks!

Thanks,
Jackie

> 
> >
> > --
> > The following changes since commit 477ccd867cc71f8277f2670b7be34b3b15300052:
> >
> >   klibc: restylize a bit the recipes (2014-04-06 13:36:20 +0100)
> >
> > are available in the git repository at:
> >
> >   git://git.pokylinux.org/poky-contrib jhuang0/t_gd_140415-1
> >
> > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/t_gd_140
> > 415-1
> >
> > Hongxu Jia (1):
> >   gd: add perl to RDEPENDS
> >
> > Jackie Huang (1):
> >   gd: update to version 2.1.0
> >
> > Robert Yang (1):
> >   gd: fix the subdir-objects error
> >
> >  .../gd/gd-2.1.0/fix-the-subdir-objects-error.patch |   39 ++++++++++++++++++++
> >  .../gd/{gd_2.0.35+2.0.36rc1.bb => gd_2.1.0.bb}     |   25 ++++++++-----
> >  2 files changed, 55 insertions(+), 9 deletions(-)  create mode 100644
> > meta-oe/recipes-support/gd/gd-2.1.0/fix-the-subdir-objects-error.patch
> >  rename meta-oe/recipes-support/gd/{gd_2.0.35+2.0.36rc1.bb =>
> > gd_2.1.0.bb} (40%)
> >
> > --
> > 1.7.9.5
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com


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

end of thread, other threads:[~2014-04-22  1:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15  7:01 [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes jackie.huang
2014-04-15  7:01 ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 jackie.huang
2014-04-20  8:24   ` Martin Jansa
2014-04-20 14:04     ` [meta-oe][PATCH] gd: fix --with-freetype option Martin Jansa
2014-04-21  2:58     ` [meta-oe][PATCH 1/3] gd: update to version 2.1.0 Huang, Jie (Jackie)
2014-04-15  7:01 ` [meta-oe][PATCH 2/3] gd: add perl to RDEPENDS jackie.huang
2014-04-15  8:23   ` Koen Kooi
2014-04-16  2:29     ` Huang, Jie (Jackie)
2014-04-15  7:01 ` [meta-oe][PATCH 3/3] gd: fix the subdir-objects error jackie.huang
2014-04-21 11:33 ` [meta-oe][PATCH 0/3] gd: update to version 2.1.0 and two fixes Martin Jansa
2014-04-22  1:41   ` Huang, Jie (Jackie)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.