Hello community, here is the log from the commit of package gnome-web-photo for openSUSE:Factory checked in at Tue Jul 5 10:30:29 CEST 2011.
-------- --- GNOME/gnome-web-photo/gnome-web-photo.changes 2011-04-06 11:57:44.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-web-photo/gnome-web-photo.changes 2011-07-03 10:11:46.000000000 +0200 @@ -1,0 +2,16 @@ +Sat Jul 2 09:17:29 CEST 2011 - vu...@opensuse.org + +- Move to pkgconfig()-style BuildRequires: + + Old ones: gconf2-devel, gtk2-devel, libwebkit-devel. + + New ones: gconf-2.0, gtk+-2.0, webkit-1.0. +- Use favor_gtk2 to switch between gtk2 and gtk3 builds. For the + gtk3 build: + + Change pkgconfig(gtk+-2.0) and pkgconfig(webkit-1.0) + BuildRequires to pkgconfig(gtk+-3.0) and + pkgconfig(webkitgtk-3.0). + + Drop pkgconfig(gconf-2.0) BuildRequires as gconf is only needed + for the GNOME 2 build, and drop all the gconf schemas packaging + machinery. + + Change --with-gtk=2.0 configure option to --with-gtk=3.0 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-web-photo.spec ++++++ --- /var/tmp/diff_new_pack.uhG9au/_old 2011-07-05 10:29:47.000000000 +0200 +++ /var/tmp/diff_new_pack.uhG9au/_new 2011-07-05 10:29:47.000000000 +0200 @@ -19,20 +19,27 @@ Name: gnome-web-photo Version: 0.10.1 -Release: 1 +Release: 2 License: GPLv2+ Summary: GNOME Web Photographer Url: http://www.gnome.org Group: Productivity/Graphics/Viewers Source: %{name}-%{version}.tar.bz2 -BuildRequires: gconf2-devel -BuildRequires: gtk2-devel BuildRequires: intltool -BuildRequires: libwebkit-devel BuildRequires: translation-update-upstream +%if 0%{?favor_gtk2} +BuildRequires: pkgconfig(gconf-2.0) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(webkit-1.0) +%else +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(webkitgtk-3.0) +%endif Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?favor_gtk2} %gconf_schemas_prereq +%endif %description GNOME Web Photographer is a tool to generate full-size image files and @@ -44,30 +51,50 @@ translation-update-upstream %build -%configure --with-gtk=2.0 +%configure \ +%if 0%{?favor_gtk2} + --with-gtk=2.0 +%else + --with-gtk=3.0 +%endif make %{?_smp_mflags} %install %make_install %find_lang %{name} %{?no_lang_C} +%if 0%{?favor_gtk2} %find_gconf_schemas +%endif %clean rm -rf %{buildroot} +%if 0%{?favor_gtk2} + %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun +%endif + +%if 0%{?favor_gtk2} %files -f %{name}.schemas_list +%else + +%files +%endif %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/gnome-web-photo %{_bindir}/gnome-web-print %{_bindir}/gnome-web-thumbnail %{_datadir}/gnome-web-photo/ +%if ! (0%{?favor_gtk2}) +%dir %{_datadir}/thumbnailers +%{_datadir}/thumbnailers/gnome-web-photo.thumbnailer +%endif %files lang -f %{name}.lang ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org