Hello community,

here is the log from the commit of package byzanz for openSUSE:Factory
checked in at Mon Jun 6 12:40:55 CEST 2011.



--------
--- GNOME/byzanz/byzanz.changes 2011-03-21 17:35:01.000000000 +0100
+++ /mounts/work_src_done/STABLE/byzanz/byzanz.changes  2011-05-31 
15:01:58.000000000 +0200
@@ -1,0 +2,14 @@
+Tue May 31 14:42:02 CEST 2011 - [email protected]
+
+- Use favor_gtk2 to switch between gtk2 and gtk3 builds.
+- Add byzanz-gnome3.patch: ports the applet to GNOME 3, to fix
+  build in Factory. Only apply if favor_gtk2 is not set, and call
+  gnome-autogen.sh in that case, with a gnome-common BuildRequires.
+- For gtk3 build, move to pkgconfig()-style and GNOME 3
+  BuildRequires:
+  + Old ones: gtk2-devel, gnome-panel-devel,
+    gstreamer-0_10-plugins-base-devel, xorg-x11-devel.
+  + New ones: cairo, gio-2.0, gstreamer-0.10, gstreamer-app-0.10,
+    gtk+-3.0, libpanelapplet-4.0, x11.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  byzanz-gnome3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ byzanz.spec ++++++
--- /var/tmp/diff_new_pack.8ntMdZ/_old  2011-06-06 12:38:30.000000000 +0200
+++ /var/tmp/diff_new_pack.8ntMdZ/_new  2011-06-06 12:38:30.000000000 +0200
@@ -21,19 +21,33 @@
 
 Name:           byzanz
 Version:        0.2.3
-Release:        1
+Release:        2
 License:        GPLv2+
 Summary:        Tool to record a running X desktop to an animated GIF file
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 Url:            http://people.freedesktop.org/~company/byzanz/
 Source:         %{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM byzanz-gnome3.patch [email protected] -- Taken from git, 
port to GNOME 3
+Patch0:         byzanz-gnome3.patch
 BuildRequires:  gconf2
+BuildRequires:  intltool
+BuildRequires:  translation-update-upstream
+%if 0%{?favor_gtk2}
 BuildRequires:  gtk2-devel
 BuildRequires:  gnome-panel-devel
 BuildRequires:  gstreamer-0_10-plugins-base-devel
-BuildRequires:  intltool
-BuildRequires:  translation-update-upstream
 BuildRequires:  xorg-x11-devel
+%else
+# needed by patch0
+BuildRequires:  gnome-common
+BuildRequires:  pkgconfig(cairo)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(gstreamer-0.10)
+BuildRequires:  pkgconfig(gstreamer-app-0.10)
+BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(libpanelapplet-4.0)
+BuildRequires:  pkgconfig(x11)
+%endif
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %gconf_schemas_prereq
@@ -48,6 +62,10 @@
 %prep
 %setup -q
 translation-update-upstream
+%if !0%{?favor_gtk2}
+%patch0 -p1
+NO_CONFIGURE=1 gnome-autogen.sh
+%endif
 
 %build
 %configure \
@@ -84,8 +102,13 @@
 %defattr(-, root, root)
 %{_bindir}/byzanz-playback
 %{_bindir}/byzanz-record
-%{_libdir}/bonobo/servers/ByzanzApplet.server
 %{_libexecdir}/byzanz-applet
+%if 0%{?favor_gtk2}
+%{_libdir}/bonobo/servers/ByzanzApplet.server
+%else
+%{_datadir}/dbus-1/services/org.gnome.panel.applet.ByzanzAppletFactory.service
+%{_datadir}/gnome-panel/4.0/applets/org.gnome.ByzanzApplet.panel-applet
+%endif
 %{_datadir}/gnome-2.0/ui/byzanzapplet.xml
 %{_datadir}/icons/hicolor/*/apps/byzanz*
 %{_mandir}/man*/*.*

++++++ byzanz-gnome3.patch ++++++
++++ 1726 lines (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to