commit gypsy for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package gypsy for openSUSE:Factory checked in at 2013-04-19 09:44:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gypsy (Old) and /work/SRC/openSUSE:Factory/.gypsy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gypsy", Maintainer is "ro@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/gypsy/gypsy.changes 2012-10-23 19:36:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gypsy.new/gypsy.changes 2013-04-19 09:44:13.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Apr 18 09:31:24 UTC 2013 - dimstar@opensuse.org + +- Add gypsy-g_type_init.patch: fix build with recent glib versions: + g_type_init is deprecated and implicit. + +------------------------------------------------------------------- New: ---- gypsy-g_type_init.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gypsy.spec ++++++ --- /var/tmp/diff_new_pack.M9IbiJ/_old 2013-04-19 09:44:14.000000000 +0200 +++ /var/tmp/diff_new_pack.M9IbiJ/_new 2013-04-19 09:44:14.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gypsy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Hardware/Other Url: http://gypsy.freedesktop.org/ Source0: http://gypsy.freedesktop.org/releases/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM gypsy-g_type_init.patch dimstar@opensuse.org -- Fix build with glib 2.36; g_type_init is deprecated and implicit. +Patch0: gypsy-g_type_init.patch BuildRequires: bluez-devel BuildRequires: dbus-1-glib-devel BuildRequires: glib2-devel @@ -70,6 +72,7 @@ %prep %setup -q +%patch0 -p1 %build %configure --disable-static ++++++ gypsy-g_type_init.patch ++++++ Index: gypsy-0.9/examples/list-known-gps-devices.c =================================================================== --- gypsy-0.9.orig/examples/list-known-gps-devices.c +++ gypsy-0.9/examples/list-known-gps-devices.c @@ -21,8 +21,6 @@ main (int argc, GPtrArray *known_devices; int i; - g_type_init (); - discovery = gypsy_discovery_new (); known_devices = gypsy_discovery_list_devices (discovery, &error); Index: gypsy-0.9/examples/simple-gps-dbus.c =================================================================== --- gypsy-0.9.orig/examples/simple-gps-dbus.c +++ gypsy-0.9/examples/simple-gps-dbus.c @@ -122,7 +122,6 @@ main (int argc, DBusError error; GMainLoop *mainloop; - g_type_init (); conn = get_connection (); dbus_error_init (&error); Index: gypsy-0.9/examples/simple-gps-gypsy.c =================================================================== --- gypsy-0.9.orig/examples/simple-gps-gypsy.c +++ gypsy-0.9/examples/simple-gps-gypsy.c @@ -68,8 +68,6 @@ main (int argc, return 0; } - g_type_init (); - control = gypsy_control_get_default (); path = gypsy_control_create (control, argv[1], &error); if (path == NULL) { Index: gypsy-0.9/examples/simple-gps-satellites.c =================================================================== --- gypsy-0.9.orig/examples/simple-gps-satellites.c +++ gypsy-0.9/examples/simple-gps-satellites.c @@ -43,8 +43,6 @@ main (int argc, return 0; } - g_type_init (); - control = gypsy_control_get_default (); path = gypsy_control_create (control, argv[1], &error); if (path == NULL) { Index: gypsy-0.9/src/main.c =================================================================== --- gypsy-0.9.orig/src/main.c +++ gypsy-0.9/src/main.c @@ -188,8 +188,6 @@ main (int argc, umask (022); - g_type_init (); - mainloop = g_main_loop_new (NULL, FALSE); conn = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de