diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-22 18:15:28 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-23 09:36:17 +0100 |
| commit | 7f35fdb0067843e28c60251b5c50cff256b7b310 (patch) | |
| tree | c213a614f35d4026f1e38a67a6210cce2ae6b2b8 | |
| parent | 6097b49f1fe7183f7b34fa2e4c5a8fbfd805ed26 (diff) | |
| download | meta-openembedded-7f35fdb0067843e28c60251b5c50cff256b7b310.tar.gz | |
omgps: fix build with gdk-pixbuf-2.26.5 from oe-core
* also add Upstream-Status to other omgps patches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7 files changed, 32 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/omgps/omgps/fix.build.with.glib.2.34.patch b/meta-oe/recipes-navigation/omgps/omgps/fix.build.with.glib.2.34.patch index e9536639d2..ec3bde0cd7 100644 --- a/meta-oe/recipes-navigation/omgps/omgps/fix.build.with.glib.2.34.patch +++ b/meta-oe/recipes-navigation/omgps/omgps/fix.build.with.glib.2.34.patch | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 1 | diff -uNr omgps.orig/src/dbus_intf.c omgps/src/dbus_intf.c | 4 | diff -uNr omgps.orig/src/dbus_intf.c omgps/src/dbus_intf.c |
| 2 | --- omgps.orig/src/dbus_intf.c 2011-12-12 12:22:47.000000000 +0100 | 5 | --- omgps.orig/src/dbus_intf.c 2011-12-12 12:22:47.000000000 +0100 |
| 3 | +++ omgps/src/dbus_intf.c 2012-11-14 14:44:45.435381443 +0100 | 6 | +++ omgps/src/dbus_intf.c 2012-11-14 14:44:45.435381443 +0100 |
diff --git a/meta-oe/recipes-navigation/omgps/omgps/fix.capability.patch b/meta-oe/recipes-navigation/omgps/omgps/fix.capability.patch index 56ec3a4453..3ed86d8a9c 100644 --- a/meta-oe/recipes-navigation/omgps/omgps/fix.capability.patch +++ b/meta-oe/recipes-navigation/omgps/omgps/fix.capability.patch | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 1 | we need to include config.h first to know if HAVE_SYS_CAPABILITY_H is enabled or no, otherwise | 4 | we need to include config.h first to know if HAVE_SYS_CAPABILITY_H is enabled or no, otherwise |
| 2 | sys/capability.h is not included and later used | 5 | sys/capability.h is not included and later used |
| 3 | | src/network.c: In function 'can_ping': | 6 | | src/network.c: In function 'can_ping': |
diff --git a/meta-oe/recipes-navigation/omgps/omgps/gcc-4.4.patch b/meta-oe/recipes-navigation/omgps/omgps/gcc-4.4.patch index 3eae960424..41f6471d4c 100644 --- a/meta-oe/recipes-navigation/omgps/omgps/gcc-4.4.patch +++ b/meta-oe/recipes-navigation/omgps/omgps/gcc-4.4.patch | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 1 | diff -uNr omgps.orig/src/include/map_repo.h omgps/src/include/map_repo.h | 4 | diff -uNr omgps.orig/src/include/map_repo.h omgps/src/include/map_repo.h |
| 2 | --- omgps.orig/src/include/map_repo.h 2009-07-20 19:54:08.000000000 +0200 | 5 | --- omgps.orig/src/include/map_repo.h 2009-07-20 19:54:08.000000000 +0200 |
| 3 | +++ omgps/src/include/map_repo.h 2010-01-17 14:55:24.000000000 +0100 | 6 | +++ omgps/src/include/map_repo.h 2010-01-17 14:55:24.000000000 +0100 |
diff --git a/meta-oe/recipes-navigation/omgps/omgps/gdk-pixbuf-2.26.5.patch b/meta-oe/recipes-navigation/omgps/omgps/gdk-pixbuf-2.26.5.patch new file mode 100644 index 0000000000..688080573c --- /dev/null +++ b/meta-oe/recipes-navigation/omgps/omgps/gdk-pixbuf-2.26.5.patch | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 4 | diff -uNr omgps/src/tab_scratch.c omgps.new/src/tab_scratch.c | ||
| 5 | --- omgps/src/tab_scratch.c 2012-12-22 18:13:25.994788128 +0100 | ||
| 6 | +++ omgps.new/src/tab_scratch.c 2012-12-22 18:12:45.876790644 +0100 | ||
| 7 | @@ -51,7 +51,7 @@ | ||
| 8 | } | ||
| 9 | |||
| 10 | gboolean ret = gdk_pixbuf_save (pixbuf, buf, SCREENSHOT_FILE_TYPE, &err, "tEXt::Software", "omgps", NULL); | ||
| 11 | - gdk_pixbuf_unref(pixbuf); | ||
| 12 | + g_object_unref(pixbuf); | ||
| 13 | |||
| 14 | if (ret) { | ||
| 15 | char buf1[128]; | ||
diff --git a/meta-oe/recipes-navigation/omgps/omgps/sysfs.node.2.6.32.patch b/meta-oe/recipes-navigation/omgps/omgps/sysfs.node.2.6.32.patch index d18a2fdb40..290c5e6a79 100644 --- a/meta-oe/recipes-navigation/omgps/omgps/sysfs.node.2.6.32.patch +++ b/meta-oe/recipes-navigation/omgps/omgps/sysfs.node.2.6.32.patch | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 1 | diff -uNr omgps.orig//src/uart.c omgps/src/uart.c | 4 | diff -uNr omgps.orig//src/uart.c omgps/src/uart.c |
| 2 | --- omgps.orig//src/uart.c 2010-08-22 23:34:09.000000000 +0200 | 5 | --- omgps.orig//src/uart.c 2010-08-22 23:34:09.000000000 +0200 |
| 3 | +++ omgps/src/uart.c 2010-08-22 23:33:54.000000000 +0200 | 6 | +++ omgps/src/uart.c 2010-08-22 23:33:54.000000000 +0200 |
diff --git a/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch b/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch index 73d6dbab61..3ccb14ea94 100644 --- a/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch +++ b/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
| 3 | |||
| 1 | --- a/src/settings.c 2011-12-12 13:21:30.573400795 +0100 | 4 | --- a/src/settings.c 2011-12-12 13:21:30.573400795 +0100 |
| 2 | +++ b/src/settings.c 2011-12-12 14:11:05.269606119 +0100 | 5 | +++ b/src/settings.c 2011-12-12 14:11:05.269606119 +0100 |
| 3 | @@ -278,6 +278,9 @@ | 6 | @@ -278,6 +278,9 @@ |
diff --git a/meta-oe/recipes-navigation/omgps/omgps_svn.bb b/meta-oe/recipes-navigation/omgps/omgps_svn.bb index 0d788b61c8..7c787a475a 100644 --- a/meta-oe/recipes-navigation/omgps/omgps_svn.bb +++ b/meta-oe/recipes-navigation/omgps/omgps_svn.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
| 6 | DEPENDS = "gtk+ python-pygobject dbus-glib" | 6 | DEPENDS = "gtk+ python-pygobject dbus-glib" |
| 7 | SRCREV = "109" | 7 | SRCREV = "109" |
| 8 | PV = "0.1+svnr${SRCPV}" | 8 | PV = "0.1+svnr${SRCPV}" |
| 9 | PR = "r1" | 9 | PR = "r2" |
| 10 | S = "${WORKDIR}/${PN}" | 10 | S = "${WORKDIR}/${PN}" |
| 11 | 11 | ||
| 12 | do_configure_prepend() { | 12 | do_configure_prepend() { |
| @@ -20,6 +20,7 @@ SRC_URI = "svn://omgps.googlecode.com/svn/trunk;module=omgps;protocol=http \ | |||
| 20 | file://fix.capability.patch \ | 20 | file://fix.capability.patch \ |
| 21 | file://use.unused.variable.patch \ | 21 | file://use.unused.variable.patch \ |
| 22 | file://fix.build.with.glib.2.34.patch \ | 22 | file://fix.build.with.glib.2.34.patch \ |
| 23 | file://gdk-pixbuf-2.26.5.patch \ | ||
| 23 | " | 24 | " |
| 24 | 25 | ||
| 25 | inherit autotools | 26 | inherit autotools |
