]> git.pld-linux.org Git - packages/shotwell.git/commitdiff
- updated to 0.22.0 auto/th/shotwell-0.22.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Nov 2015 13:55:19 +0000 (14:55 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Nov 2015 13:55:19 +0000 (14:55 +0100)
- added plugins patch (don't use -nostdlib when linking plugins)

shotwell-plugins.patch [new file with mode: 0644]
shotwell.spec

diff --git a/shotwell-plugins.patch b/shotwell-plugins.patch
new file mode 100644 (file)
index 0000000..6d04728
--- /dev/null
@@ -0,0 +1,11 @@
+--- shotwell-0.22.0/plugins/Makefile.plugin.mk.orig    2014-03-04 23:54:12.000000000 +0100
++++ shotwell-0.22.0/plugins/Makefile.plugin.mk 2015-11-14 13:16:28.847457997 +0100
+@@ -34,7 +34,7 @@
+ CFILES := $(notdir $(SRC_FILES:.vala=.c))
+ OFILES := $(notdir $(SRC_FILES:.vala=.o))
+-CFLAGS := `pkg-config --print-errors --cflags $(EXT_PKGS) $(PLUGIN_PKGS)` -nostdlib -export-dynamic $(PLUGIN_CFLAGS)
++CFLAGS := `pkg-config --print-errors --cflags $(EXT_PKGS) $(PLUGIN_PKGS)` -export-dynamic $(PLUGIN_CFLAGS)
+ LIBS := `pkg-config --print-errors --libs $(EXT_PKGS) $(PLUGIN_PKGS)`
+ DEFINES := -D_VERSION='"$(PLUGINS_VERSION)"' -DGETTEXT_PACKAGE='"shotwell"'
index 0fd32b0b85ca4184094e08586e5460ac2d3888e6..91de09dbfe3da01c25ec858c90d93669d7351d9c 100644 (file)
@@ -1,25 +1,28 @@
 Summary:       Photo manager for GNOME
+Summary(pl.UTF-8):     Zarządca zdjęć dla GNOME
 Name:          shotwell
-Version:       0.20.2
-Release:       2
+Version:       0.22.0
+Release:       1
 License:       LGPL v2+ and CC-BY-SA
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.20/%{name}-%{version}.tar.xz
-# Source0-md5: 0adb93edba5832c6572e2c851c5c920f
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.22/%{name}-%{version}.tar.xz
+# Source0-md5: 18421a67a1b859caf8542777a42b9ce3
 Patch0:                %{name}-cflags.patch
-URL:           http://www.yorba.org/projects/shotwell/
+Patch1:                %{name}-plugins.patch
+URL:           https://wiki.gnome.org/Apps/Shotwell
 # The dependencies are listed in Makefile
 BuildRequires: atk-devel
 BuildRequires: bash
 BuildRequires: gettext-tools
-BuildRequires: gexiv2-devel
-BuildRequires: glib2-devel >= 2.32.0
+BuildRequires: gexiv2-devel >= 0.4.90
+BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gnome-doc-utils
 BuildRequires: gstreamer-devel >= 1.0.0
 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
-BuildRequires: gtk+3-devel >= 3.6
+BuildRequires: gtk+3-devel >= 3.12.2
 BuildRequires: gtk-webkit3-devel >= 1.4.0
 BuildRequires: json-glib-devel >= 0.6.16
-BuildRequires: libexif-devel >= 0.6.16
+BuildRequires: libexif-devel >= 1:0.6.16
 BuildRequires: libgee-devel >= 0.8.5
 BuildRequires: libgphoto2-devel >= 2.4.2
 BuildRequires: libraw-devel >= 0.14.7-2
@@ -30,7 +33,7 @@ BuildRequires:        pkgconfig
 BuildRequires: rest-devel >= 0.7
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: sqlite3-devel >= 3.5.9
-BuildRequires: udev-glib-devel >= 145
+BuildRequires: udev-glib-devel >= 1:145
 BuildRequires: vala >= 1:0.20.1
 BuildRequires: vala-gexiv2 >= 0.4.90
 BuildRequires: vala-libgee >= 0.8.5
@@ -38,7 +41,17 @@ Requires(post,postun):       desktop-file-utils
 Requires(post,postun): glib2 >= 1:2.26.0
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
+Requires:      glib2 >= 1:2.32.0
+Requires:      gtk+3 >= 3.12.2
+Requires:      gtk-webkit3 >= 1.4.0
 Requires:      hicolor-icon-theme
+Requires:      libexif >= 1:0.6.16
+Requires:      libgphoto2 >= 2.4.2
+Requires:      libraw >= 0.14.7-2
+Requires:      libsoup >= 2.26.0
+Requires:      libxml2 >= 1:2.6.32
+Requires:      sqlite3 >= 3.5.9
+Requires:      udev-glib >= 1:145
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,9 +60,16 @@ environment. It allows you to import photos from disk or camera,
 organize them in various ways, view them in full-window or fullscreen
 mode, and export them to share with others.
 
+%description -l pl.UTF-8
+Shotwell to organizator zdjęć cyfrowych, zaprojektowany dla środowiska
+graficznego GNOME. Pozwala importować zdjęcia z dysku lub aparatu,
+organizować je na różne sposoby, przeglądać w trybie okienkowym lub
+pełnoekranowym oraz eksportować, aby podzielić się nimi z innymi.
+
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # this is not autoconf generated
@@ -90,19 +110,20 @@ rm -rf $RPM_BUILD_ROOT
 %files -f shotwell.lang
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
-%attr(755,root,root) %{_bindir}/shotwell*
+%attr(755,root,root) %{_bindir}/shotwell
 %{_desktopdir}/%{name}-viewer.desktop
 %{_desktopdir}/%{name}.desktop
 %attr(755,root,root) %{_libexecdir}/shotwell-settings-migrator
 %attr(755,root,root) %{_libexecdir}/shotwell-video-thumbnailer
 %{_datadir}/appdata/shotwell.appdata.xml
 %{_datadir}/%{name}
-%{_datadir}/GConf/gsettings/*.convert
-%{_datadir}/glib-2.0/schemas/*.gschema.xml
+%{_datadir}/GConf/gsettings/shotwell.convert
+%{_datadir}/glib-2.0/schemas/org.yorba.shotwell.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.yorba.shotwell-extras.gschema.xml
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
 %dir %{_libdir}/%{name}/plugins/builtin
 %{_libdir}/%{name}/plugins/builtin/*.png
 %{_libdir}/%{name}/plugins/builtin/*.glade
 %attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
-%{_iconsdir}/hicolor/*/*/*.svg
+%{_iconsdir}/hicolor/*/apps/shotwell.svg
This page took 0.051211 seconds and 4 git commands to generate.