All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default
@ 2011-11-20 17:56 Connor Abbott
  2011-11-21  7:57 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Connor Abbott @ 2011-11-20 17:56 UTC (permalink / raw)
  To: openembedded-devel

Versions of libnotify >= 0.6.0 have API changes that break some gnome recipes.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
---
 .../recipes-gnome/libnotify/libnotify_0.5.2.bb     |   10 ++++++++++
 .../recipes-gnome/libnotify/libnotify_0.6.0.bb     |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/libnotify/libnotify_0.5.2.bb

diff --git a/meta-gnome/recipes-gnome/libnotify/libnotify_0.5.2.bb b/meta-gnome/recipes-gnome/libnotify/libnotify_0.5.2.bb
new file mode 100644
index 0000000..5ce0eb6
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libnotify/libnotify_0.5.2.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Send desktop notifications to a notification daemon"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+DEPENDS = "dbus gtk+"
+
+inherit gnome
+SRC_URI[archive.md5sum] = "4361058ae4e28a9ffce6764e7d03acd1"
+SRC_URI[archive.sha256sum] = "1f6f1a2d6a0e009997c7ed31f6197f9bf09e9b45fb9cd54acabceea951d99062"
diff --git a/meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb b/meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb
index 45adbd7..e6c4a95 100644
--- a/meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb
+++ b/meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
 DEPENDS = "dbus gtk+"
 
+DEFAULT_PREFERENCE = "-99"
+
 inherit gnome
 SRC_URI[archive.md5sum] = "732c9d2cd5eb6a9069264a319d330516"
 SRC_URI[archive.sha256sum] = "73b16a79bb2fed62dcf146b11c4405776cb96a09dce66379ca541da7dbd64210"
-- 
1.7.5.4




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

* Re: [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default
  2011-11-20 17:56 [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default Connor Abbott
@ 2011-11-21  7:57 ` Koen Kooi
  2011-11-29 23:13   ` Connor Abbott
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2011-11-21  7:57 UTC (permalink / raw)
  To: openembedded-devel

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

Op 20-11-11 18:56, Connor Abbott schreef:
> Versions of libnotify >= 0.6.0 have API changes that break some gnome
> recipes.

Which recipes are that? The only API breakage I know of is in libnoty >=
0.7.0, which is why that's called 'libnotify3'


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

iEYEARECAAYFAk7KBHAACgkQMkyGM64RGpFcmQCfXeZgqdkn76RQO6fErXYARefD
2zsAnAgBzS2HiSx1RQQ+hvW63Le66qsY
=0+pG
-----END PGP SIGNATURE-----




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

* Re: [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default
  2011-11-21  7:57 ` Koen Kooi
@ 2011-11-29 23:13   ` Connor Abbott
  2011-11-30 22:53     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Connor Abbott @ 2011-11-29 23:13 UTC (permalink / raw)
  To: openembedded-devel

Sorry, I must have had the 0.7.0 headers installed and didn't realize it.
Actually, that's a problem; if you build two different packages, one which
requires libnotify and one which requires libnotify3, then the wrong
headers can get installed in the sysroot because the packages have
different names. Anyways, it appears that 0.5.2 is actually newer than
0.6.0 anyways; I'll update the commit message then.
On Nov 21, 2011 2:58 AM, "Koen Kooi" <koen@dominion.thruhere.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Op 20-11-11 18:56, Connor Abbott schreef:
> > Versions of libnotify >= 0.6.0 have API changes that break some gnome
> > recipes.
>
> Which recipes are that? The only API breakage I know of is in libnoty >=
> 0.7.0, which is why that's called 'libnotify3'
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>
> iEYEARECAAYFAk7KBHAACgkQMkyGM64RGpFcmQCfXeZgqdkn76RQO6fErXYARefD
> 2zsAnAgBzS2HiSx1RQQ+hvW63Le66qsY
> =0+pG
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


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

* Re: [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default
  2011-11-29 23:13   ` Connor Abbott
@ 2011-11-30 22:53     ` Khem Raj
  2011-12-05  1:19       ` Connor Abbott
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2011-11-30 22:53 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Nov 29, 2011 at 3:13 PM, Connor Abbott <cwabbott0@gmail.com> wrote:
> Sorry, I must have had the 0.7.0 headers installed and didn't realize it.
> Actually, that's a problem; if you build two different packages, one which
> requires libnotify and one which requires libnotify3, then the wrong
> headers can get installed in the sysroot because the packages have
> different names. Anyways, it appears that 0.5.2 is actually newer than
> 0.6.0 anyways; I'll update the commit message then.

if they are incompatible and needs to live together then they should
have different install locations
in sysroot for headers and libs e.g. /usr/include/libnotify2 and
/usr/include/libnotify3



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

* Re: [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default
  2011-11-30 22:53     ` Khem Raj
@ 2011-12-05  1:19       ` Connor Abbott
  0 siblings, 0 replies; 5+ messages in thread
From: Connor Abbott @ 2011-12-05  1:19 UTC (permalink / raw)
  To: openembedded-devel

Well, in this case they don't, everything just intalls to
/usr/include/notify. The reason is that usually, programs using libnotify
hardcode that directory like this:
#include <notify/notify.h>

So it's impossible to install multiple versions at once without breakage at
least without changing the library itself or all its dependencies, as I
discovered.

On Wed, Nov 30, 2011 at 5:53 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Nov 29, 2011 at 3:13 PM, Connor Abbott <cwabbott0@gmail.com>
> wrote:
> > Sorry, I must have had the 0.7.0 headers installed and didn't realize it.
> > Actually, that's a problem; if you build two different packages, one
> which
> > requires libnotify and one which requires libnotify3, then the wrong
> > headers can get installed in the sysroot because the packages have
> > different names. Anyways, it appears that 0.5.2 is actually newer than
> > 0.6.0 anyways; I'll update the commit message then.
>
> if they are incompatible and needs to live together then they should
> have different install locations
> in sysroot for headers and libs e.g. /usr/include/libnotify2 and
> /usr/include/libnotify3
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2011-12-05  1:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-20 17:56 [meta-gnome][PATCH] libnotify: add 0.5.2 and make it the default Connor Abbott
2011-11-21  7:57 ` Koen Kooi
2011-11-29 23:13   ` Connor Abbott
2011-11-30 22:53     ` Khem Raj
2011-12-05  1:19       ` Connor Abbott

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.