* [PATCH 0/1] jpeg: add link libjpeg.so.62 for LSB library test
@ 2011-04-15 10:25 Kang Kai
2011-04-15 10:26 ` [PATCH 1/1] " Kang Kai
2011-04-18 23:52 ` [PATCH 0/1] " Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Kang Kai @ 2011-04-15 10:25 UTC (permalink / raw)
To: poky
From: Kang Kai <kai.kang@windriver.com>
LSB test just test whether libjpeg.so.62 exists, and no more use of it.
So just make link to pass library check.
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kankang/libjpeg
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kankang/libjpeg
Thanks,
Kang Kai <kai.kang@windriver.com>
---
Kang Kai (1):
jpeg: add link libjpeg.so.62 for LSB library test
meta/recipes-core/jpeg/jpeg_8b.bb | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] jpeg: add link libjpeg.so.62 for LSB library test
2011-04-15 10:25 [PATCH 0/1] jpeg: add link libjpeg.so.62 for LSB library test Kang Kai
@ 2011-04-15 10:26 ` Kang Kai
2011-04-18 23:52 ` [PATCH 0/1] " Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Kang Kai @ 2011-04-15 10:26 UTC (permalink / raw)
To: poky
From: Kang Kai <kai.kang@windriver.com>
LSB test just test whether libjpeg.so.62 exists, and no more use of it.
So just make link to pass library check.
Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
meta/recipes-core/jpeg/jpeg_8b.bb | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/jpeg/jpeg_8b.bb b/meta/recipes-core/jpeg/jpeg_8b.bb
index 8e2c24d..78fabf1 100644
--- a/meta/recipes-core/jpeg/jpeg_8b.bb
+++ b/meta/recipes-core/jpeg/jpeg_8b.bb
@@ -14,7 +14,7 @@ PRIORITY = "required"
DEPENDS = "libtool-cross"
DEPENDS_virtclass-native = "libtool-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
file://debian-libjpeg7_7-1.diff;patch=1"
@@ -45,3 +45,14 @@ DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs fo
FILES_jpeg-tools = "${bindir}/*"
BBCLASSEXTEND = "native"
+
+pkg_postinst_${PN}_poky-lsb () {
+ if [ "$D" = "" ]; then
+ if [ ! -e ${libdir}/libjpeg.so.62 ]; then
+ JPEG=`find ${libdir} -type f -name libjpeg.so.\*.\*.\*`
+ ln -sf `basename $JPEG` ${libdir}/libjpeg.so.62
+ fi
+ else
+ exit 1
+ fi
+}
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] jpeg: add link libjpeg.so.62 for LSB library test
2011-04-15 10:25 [PATCH 0/1] jpeg: add link libjpeg.so.62 for LSB library test Kang Kai
2011-04-15 10:26 ` [PATCH 1/1] " Kang Kai
@ 2011-04-18 23:52 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-04-18 23:52 UTC (permalink / raw)
To: Kang Kai; +Cc: poky
On 04/15/2011 03:25 AM, Kang Kai wrote:
> From: Kang Kai<kai.kang@windriver.com>
>
> LSB test just test whether libjpeg.so.62 exists, and no more use of it.
> So just make link to pass library check.
>
> Signed-off-by: Kang Kai<kai.kang@windriver.com>
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: kankang/libjpeg
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kankang/libjpeg
>
> Thanks,
> Kang Kai<kai.kang@windriver.com>
> ---
>
>
> Kang Kai (1):
> jpeg: add link libjpeg.so.62 for LSB library test
>
> meta/recipes-core/jpeg/jpeg_8b.bb | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Merged into Master
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-18 23:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 10:25 [PATCH 0/1] jpeg: add link libjpeg.so.62 for LSB library test Kang Kai
2011-04-15 10:26 ` [PATCH 1/1] " Kang Kai
2011-04-18 23:52 ` [PATCH 0/1] " Saul Wold
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.