[packages/shotwell] Update to 0.18.0
megabajt
megabajt at pld-linux.org
Sat Mar 22 21:43:09 CET 2014
commit 558cb62b10654736ef5059d2048ae2839bc1da1c
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sat Mar 22 21:42:32 2014 +0100
Update to 0.18.0
- removed obsolete -format_string.patch
shotwell-format_string.patch | 13 -------------
shotwell.spec | 26 ++++++--------------------
2 files changed, 6 insertions(+), 33 deletions(-)
---
diff --git a/shotwell.spec b/shotwell.spec
index 5c950c0..e6c556b 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -1,14 +1,13 @@
Summary: Photo manager for GNOME
Name: shotwell
-Version: 0.15.1
-Release: 2
+Version: 0.18.0
+Release: 1
License: LGPL v2+ and CC-BY-SA
Group: X11/Applications
-Source0: http://yorba.org/download/shotwell/0.15/%{name}-%{version}.tar.xz
-# Source0-md5: 5af4cfb819249a879a4649a9c7d089e5
+Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.18/%{name}-%{version}.tar.xz
+# Source0-md5: 856b69fe67bc8bd42a6985e042041daf
Patch0: %{name}-cflags.patch
-Patch1: %{name}-format_string.patch
-URL: http://yorba.org/shotwell/
+URL: http://www.yorba.org/projects/shotwell/
# The dependencies are listed in Makefile
BuildRequires: atk-devel
BuildRequires: bash
@@ -51,7 +50,6 @@ mode, and export them to share with others.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
# this is not autoconf generated
@@ -72,19 +70,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__mv} $RPM_BUILD_ROOT%{_localedir}/nn{_NO,}
-
-# af_ZA is a duplicate of af
-# id_ID is a duplicate of id
-# ta_IN is a duplicate of ta
-# te_IN is incomplete duplicate of te
-# tr_TR is incomplete duplicate of tr
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{af_ZA,id_ID,ta_IN,te_IN,tr_TR}
-
%find_lang shotwell --with-gnome
-%find_lang shotwell-extras
-
-cat shotwell.lang shotwell-extras.lang > shotwell-all.lang
%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled
@@ -101,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
%update_desktop_database_postun
%glib_compile_schemas
-%files -f shotwell-all.lang
+%files -f shotwell.lang
%defattr(644,root,root,755)
%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
%attr(755,root,root) %{_bindir}/shotwell*
diff --git a/shotwell-format_string.patch b/shotwell-format_string.patch
deleted file mode 100644
index f653d35..0000000
--- a/shotwell-format_string.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- shotwell-0.13.1.orig/src/Dialogs.vala 2012-10-05 19:58:13.000000000 +0200
-+++ shotwell-0.13.1/src/Dialogs.vala 2012-10-08 12:20:20.000000000 +0200
-@@ -32,8 +32,8 @@
- public bool confirm_warn_developer_changed(int number) {
- Gtk.MessageDialog dialog = new Gtk.MessageDialog.with_markup(AppWindow.get_instance(),
- Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.NONE,
-- "<span weight=\"bold\" size=\"larger\">%s</span>".printf(ngettext("Switching developers will undo all changes you have made to this photo in Shotwell",
-- "Switching developers will undo all changes you have made to these photos in Shotwell", number)));
-+ "<span weight=\"bold\" size=\"larger\">%s</span>", ngettext("Switching developers will undo all changes you have made to this photo in Shotwell",
-+ "Switching developers will undo all changes you have made to these photos in Shotwell", number));
-
- dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL);
- dialog.add_buttons(_("_Switch Developer"), Gtk.ResponseType.YES);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/shotwell.git/commitdiff/558cb62b10654736ef5059d2048ae2839bc1da1c
More information about the pld-cvs-commit
mailing list