Skip to contentSkip to conversation

pidgin: Add gconf to RDEPENDS for libpurple.

PATCH In review Peter Tworek 4 participants 7 messages Jan 30, 2012 – Jan 31, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 pidgin: Add gconf to RDEPENDS for libpurple.

Without it postinst script for libpurple fails when gconf is not installed:
//var/lib/opkg/info/libpurple.postinst: line 8: gconftool-2: command not found

---
 meta-oe/recipes-support/pidgin/pidgin.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta-oe/recipes-support/pidgin/pidgin.inc +3 -1
index 1a35457..305c116 100644
@@ -3,7 +3,7 @@ SECTION = "x11/network"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 DEPENDS = "python startup-notification avahi gtk+ ncurses gnutls virtual/libintl gstreamer dbus"
-INC_PR = "r2"
+INC_PR = "r3"
 
 inherit autotools gettext pkgconfig gconf perlnative
 
@@ -30,6 +30,8 @@ OE_LT_RPATH_ALLOW[export]="1"
 
 PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data"
 
+RDEPENDS_libpurple = "gconf"
+
 LEAD_SONAME = "libpurple.so.0"
 FILES_libpurple     = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs"
 FILES_libpurple-dev = "${libdir}/libpurple*.la \
Signature · 1 line
1.7.3.4
#1 lore raw

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

Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not
installed: //var/lib/opkg/info/libpurple.postinst: line 8: gconftool-2:
command not found

Why is gconf.bbclass failing to do that?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk8m9u8ACgkQMkyGM64RGpGRTQCgrzWdMpyRtNE3kO2CKw6b7haa j5UAoJ2NPDIIlCsRwYOJSTGTWd2i/hj0
=axku
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 8 lines · Koen Kooi

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

Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not
installed: //var/lib/opkg/info/libpurple.postinst: line 8: gconftool-2:
command not found

Why is gconf.bbclass failing to do that?

As far as I understand it only adds gconf to DEPENDS. If a package contents are not linked with libgconf-2 (libpurple only needs gconftool-2) gconf won't be pulled in as a runtime dependency.

Quoted 14 lines

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

iEYEARECAAYFAk8m9u8ACgkQMkyGM64RGpGRTQCgrzWdMpyRtNE3kO2CKw6b7haa j5UAoJ2NPDIIlCsRwYOJSTGTWd2i/hj0
=axku
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

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

Op 30-01-12 21:28, Peter Tworek schreef:

Quoted 9 lines

On 01/30/2012 09:00 PM, Koen Kooi wrote: Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not
installed: //var/lib/opkg/info/libpurple.postinst: line 8:
gconftool-2: command not found

Why is gconf.bbclass failing to do that?

Quoted 3 lines

As far as I understand it only adds gconf to DEPENDS. If a package contents are not linked with libgconf-2 (libpurple only needs gconftool-2) gconf won't be pulled in as a runtime dependency.

That means it's a bug in gconf.bbclass and needs to get fixed there.

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

iEYEARECAAYFAk8noPsACgkQMkyGM64RGpFLWACfQzo9Hq4Ok94Sw1cT+NWWLGaL OooAn3b5psoVBYh6IzGA162CdHkoGEqA
=1Qot
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 9 lines · Koen Kooi

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

Op 30-01-12 21:28, Peter Tworek schreef:

Quoted 5 lines

On 01/30/2012 09:00 PM, Koen Kooi wrote: Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not
installed: //var/lib/opkg/info/libpurple.postinst: line 8:
gconftool-2: command not found

Quoted 6 lines
Quoted 4 lines

Why is gconf.bbclass failing to do that?

Quoted 3 lines

As far as I understand it only adds gconf to DEPENDS. If a package contents are not linked with libgconf-2 (libpurple only needs gconftool-2) gconf won't be pulled in as a runtime dependency.

That means it's a bug in gconf.bbclass and needs to get fixed there.

Really? Do you really want to automatically add gconf deps to the misc. packages added by a recipe?

-M

#5 lore raw

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

Op 31-01-12 17:53, McClintock Matthew-B29882 schreef:

Quoted 11 lines
Quoted 9 lines · Koen Kooi

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

Op 30-01-12 21:28, Peter Tworek schreef:

Quoted 6 lines

On 01/30/2012 09:00 PM, Koen Kooi wrote: Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not installed: //var/lib/opkg/info/libpurple.postinst: line 8:
gconftool-2: command not found

Why is gconf.bbclass failing to do that?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

As far as I understand it only adds gconf to DEPENDS. If a package contents are not linked with libgconf-2 (libpurple only needs gconftool-2) gconf won't be pulled in as a runtime dependency.

That means it's a bug in gconf.bbclass and needs to get fixed there.

Really? Do you really want to automatically add gconf deps to the misc. packages added by a recipe?

Since it's adding the postinst calls with gconf-tool already, yes. Or do you like having broken postinsts?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk8oNrYACgkQMkyGM64RGpHORQCfbiw/JoEW5byJaWXigd23GNDD TTIAn2xJ/EgmHT9LMoykyPVLB0DLTEZ7
=hvUv
-----END PGP SIGNATURE-----

#6 lore raw
In reply to McClintock Matthew-B29882
Quoted 12 lines · On Tue, Jan 31, 2012 at 14:53, McClintock Matthew-B29882 <…
Quoted 10 lines · Koen Kooi

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

Op 30-01-12 21:28, Peter Tworek schreef:

Quoted 6 lines

On 01/30/2012 09:00 PM, Koen Kooi wrote: Op 30-01-12 20:47, Peter Tworek schreef:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Without it postinst script for libpurple fails when gconf is not
installed: //var/lib/opkg/info/libpurple.postinst: line 8:
gconftool-2: command not found

Why is gconf.bbclass failing to do that?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

As far as I understand it only adds gconf to DEPENDS. If a package contents are not linked with libgconf-2 (libpurple only needs gconftool-2) gconf won't be pulled in as a runtime dependency.

That means it's a bug in gconf.bbclass and needs to get fixed there.

Really? Do you really want to automatically add gconf deps to the misc. packages added by a recipe?

If it uses gconf it needs to rdepends on it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br