Hello community, here is the log from the commit of package unity-gtk-module for openSUSE:Factory checked in at 2017-10-19 19:32:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unity-gtk-module (Old) and /work/SRC/openSUSE:Factory/.unity-gtk-module.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unity-gtk-module" Thu Oct 19 19:32:34 2017 rev:2 rq:534453 version:0.0.0+bzr20170817 Changes: -------- --- /work/SRC/openSUSE:Factory/unity-gtk-module/unity-gtk-module.changes 2015-07-08 06:58:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.unity-gtk-module.new/unity-gtk-module.changes 2017-10-19 19:32:36.411556733 +0200 @@ -1,0 +2,20 @@ +Tue Oct 17 13:08:30 UTC 2017 - [email protected] + +- Update to version 0.0.0+bzr20170817 (changes since + 0.0.0+bzr20150118): + * Blacklist freeciv-gtk3 and Anjuta (lp#1556277). + * Add a systemd user unit. + * Fix the $GTK_MODULES race condition (lp#1618886). + * Rename the ubuntu-session systemd target to unity-session to + inline with new session name: + + Ship the unity-gtk-module service symlink in the new systemd + target. + + Breaks against older version of ubuntu-session, now that + unity-session provides that new systemd target name. + * Remove DnD windows from the hijack and always use RGBA visual + in "realize" (lp#1710999). + * Properly limit the workaround to DnD windows only to complete + the intended implementation for lp#1710999 (lp#1658996). +- Fix unity-gtk-module.csh, thanks to Ralf Fassel (boo#1062373). + +------------------------------------------------------------------- Old: ---- unity-gtk-module_0.0.0+15.04.20150118.orig.tar.gz New: ---- unity-gtk-module_0.0.0+17.10.20170817.orig.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unity-gtk-module.spec ++++++ --- /var/tmp/diff_new_pack.uuUV6z/_old 2017-10-19 19:32:36.995529410 +0200 +++ /var/tmp/diff_new_pack.uuUV6z/_new 2017-10-19 19:32:36.999529222 +0200 @@ -1,7 +1,7 @@ # # spec file for package unity-gtk-module # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,15 +20,15 @@ %define _name_gtk3 unity-gtk3-module %define lname_gtk2 libunity-gtk2-parser0 %define lname_gtk3 libunity-gtk3-parser0 -%define _version 0.0.0+15.04.20150118 +%define _version 0.0.0+17.10.20170817 Name: unity-gtk-module -Version: 0.0.0+bzr20150118 +Version: 0.0.0+bzr20170817 Release: 0 Summary: GTK+ module for exporting old-style menus as GMenuModels License: LGPL-3.0+ Group: System/GUI/Other Url: https://launchpad.net/unity-gtk-module -Source: http://archive.ubuntu.com/ubuntu/pool/main/u/%{name}/%{name}_%{_version}.orig.tar.gz +Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz Source1: baselibs.conf # PATCH-FIX-OPENSUSE unity-gtk-module-gsettings.patch [email protected] -- Use GSettings key instead of patched Gtk2. Patch0: %{name}-gsettings.patch @@ -37,10 +37,10 @@ BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: python -BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.2.0 +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(x11) %description @@ -118,7 +118,7 @@ linking application which will use libunity-gtk-parser. %prep -%setup -q -n %{name}-%{_version} +%setup -q -c %patch0 cat > %{name}.sh << EOF @@ -132,20 +132,18 @@ fi EOF cat > %{name}.csh << EOF -if ( -z "\$%{nil}GTK_MODULES" ) then +if ( ! \$%{nil}?GTK_MODULES ) then setenv GTK_MODULES "unity-gtk-module" else setenv GTK_MODULES "\$%{nil}{GTK_MODULES}:%{name}" endif -if ( -z "\$%{nil}UBUNTU_MENUPROXY" ) then +if ( ! \$%{nil}?UBUNTU_MENUPROXY ) then setenv UBUNTU_MENUPROXY 1 -fi +endif EOF %build -export CFLAGS="%{optflags}" -gtkdocize --copy -autoreconf -fi +NOCONFIGURE=1 ./autogen.sh %global _configure ../configure for ver in 2 3; do mkdir build-gtk$ver @@ -154,7 +152,7 @@ --disable-static \ --enable-gtk-doc \ --with-gtk=$ver - make %{?_smp_mflags} + make %{?_smp_mflags} V=1 popd done @@ -164,17 +162,33 @@ %make_install popd done -install -Dm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh -install -Dm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh -find %{buildroot} -type f -name "*.la" -delete -print +install -Dpm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh +install -Dpm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh rm -rf %{buildroot}%{python_sitelib}/unity_gtk_module/ \ %{buildroot}%{_datadir}/upstart/ +%if 0%{?suse_version} <= 1320 && 0%{?sle_version} < 120200 +rm %{buildroot}%{_libexecdir}/systemd/user/unity-gtk-module.service +%endif +find %{buildroot} -type f -name "*.la" -delete -print %post common +%if 0%{?suse_version} <= 1320 %glib2_gsettings_schema_post +%endif +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 +%systemd_user_post %{name}.service + +%preun common +%systemd_user_preun %{name}.service +%endif %postun common +%if 0%{?suse_version} <= 1320 %glib2_gsettings_schema_postun +%endif +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 +%systemd_user_postun %{name}.service +%endif %post -n %{lname_gtk2} -p /sbin/ldconfig @@ -185,31 +199,28 @@ %postun -n %{lname_gtk3} -p /sbin/ldconfig %files -n %{_name_gtk2} -%defattr(-,root,root) %{_libdir}/gtk-2.0/modules/lib%{name}.so %files -n %{_name_gtk3} -%defattr(-,root,root) %{_libdir}/gtk-3.0/modules/lib%{name}.so %files common -%defattr(-,root,root) %doc AUTHORS COPYING TODO %config %{_sysconfdir}/profile.d/%{name}.* %{_datadir}/glib-2.0/schemas/*%{name}.gschema.xml +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 +%{_userunitdir}/%{name}.service +%endif %files -n %{lname_gtk2} -%defattr(-,root,root) %doc AUTHORS COPYING TODO %{_libdir}/libunity-gtk2-parser.so.* %files -n %{lname_gtk3} -%defattr(-,root,root) %doc AUTHORS COPYING TODO %{_libdir}/libunity-gtk3-parser.so.* %files -n libunity-gtk-parser-devel -%defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/%{name}/ %{_includedir}/unity-gtk-parser/ %{_libdir}/libunity-gtk?-parser.so ++++++ unity-gtk-module_0.0.0+15.04.20150118.orig.tar.gz -> unity-gtk-module_0.0.0+17.10.20170817.orig.tar.gz ++++++ ++++ 19052 lines of diff (skipped)
