diff options
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 10 | ||||
| -rw-r--r-- | debian/patches/0001-buildflags.patch | 15 | ||||
| -rw-r--r-- | debian/patches/0005-hardening.patch | 12 | ||||
| -rw-r--r-- | debian/patches/0100-ios8.patch | 10 | ||||
| -rw-r--r-- | debian/patches/series | 8 | ||||
| -rwxr-xr-x | debian/rules | 4 | 
6 files changed, 27 insertions, 32 deletions
| diff --git a/debian/changelog b/debian/changelog index 02dae20..39b44de 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,14 @@ -shotwell (0.22.1-2) UNRELEASED; urgency=medium +shotwell (0.23.1-1) UNRELEASED; urgency=medium +  * New upstream release (Closes: #824164, #825788). +    - Renew Patches. +    - Remove upstream apllayed patches.    * Rewrite rule at debian/watch. +  * debian/rules: +    - To make build reproducible (Closes: #822948): +      + Fix date handling for non-English locales. +      + Fix files mode in temp-source tarball. +      Thanks to Alexis Bienvenüe <pado@passoire.fr>.   -- Jörg Frings-Fürst <debian@jff-webhosting.net>  Sat, 04 Jun 2016 23:14:30 +0200 diff --git a/debian/patches/0001-buildflags.patch b/debian/patches/0001-buildflags.patch index a8030ec..9b293f4 100644 --- a/debian/patches/0001-buildflags.patch +++ b/debian/patches/0001-buildflags.patch @@ -7,20 +7,7 @@ Index: trunk/Makefile  ===================================================================  --- trunk.orig/Makefile  +++ trunk/Makefile -@@ -395,10 +395,11 @@ VALA_CFLAGS := `pkg-config --cflags $(EX - 	$(foreach def,$(DEFINES),-D$(def)) -  - VALA_LDFLAGS := `pkg-config --libs $(EXT_PKGS) $(DIRECT_LIBS) gthread-2.0` -+VALA_LDFLAGS += -fPIE -pie -Wl,-z,relro -Wl,-z,now -  - # REQUIRED_CFLAGS absolutely get appended to CFLAGS, whatever the - # the value of CFLAGS in the environment --REQUIRED_CFLAGS := -fPIC -+REQUIRED_CFLAGS := -g -O2 -fPIE -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -  - # setting CFLAGS in configure.mk overrides build type - ifndef CFLAGS -@@ -411,8 +412,8 @@ PLUGIN_CFLAGS = -O2 -g -pipe +@@ -403,8 +403,8 @@ PLUGIN_CFLAGS = -O2 -g -pipe   endif   endif diff --git a/debian/patches/0005-hardening.patch b/debian/patches/0005-hardening.patch index c60496f..0ace20c 100644 --- a/debian/patches/0005-hardening.patch +++ b/debian/patches/0005-hardening.patch @@ -14,7 +14,7 @@ Index: trunk/Makefile   ifdef UNITY_SUPPORT   VALAFLAGS := $(VALAFLAGS) --define UNITY_SUPPORT   endif -@@ -673,7 +673,7 @@ $(EXPANDED_C_FILES): $(VALA_STAMP) +@@ -677,7 +677,7 @@ $(EXPANDED_C_FILES): $(VALA_STAMP)   	@   $(EXPANDED_OBJ_FILES): %.o: %.c $(CONFIG_IN) Makefile @@ -27,12 +27,12 @@ Index: trunk/plugins/Makefile.plugin.mk  ===================================================================  --- trunk.orig/plugins/Makefile.plugin.mk  +++ trunk/plugins/Makefile.plugin.mk -@@ -41,7 +41,7 @@ DEFINES := -D_VERSION='"$(PLUGINS_VERSIO +@@ -42,7 +42,7 @@ DEFINES := -D_VERSION='"$(PLUGINS_VERSIO   all: $(PLUGIN).so   .stamp: $(SRC_FILES) $(MAKE_FILES) $(HEADER_FILES) --	$(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --fatal-warnings --save-temps --compile --enable-deprecated \ -+	$(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --save-temps --compile --enable-deprecated \ +-	$(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --fatal-warnings --ccode --enable-deprecated \ ++	$(VALAC) --target-glib=$(MIN_GLIB_VERSION) -g --enable-checking --ccode --enable-deprecated \   		--vapidir=../ $(foreach pkg,$(PKGS),--pkg=$(pkg)) $(foreach pkg,$(CUSTOM_VAPI_PKGS),--pkg=$(pkg)) \ - 		-X -I../.. -X -fPIC \ - 		$(foreach dfn,$(DEFINES),-X $(dfn)) \ + 		$(USER_VALAFLAGS) \ + 		--vapidir=../../vapi \ diff --git a/debian/patches/0100-ios8.patch b/debian/patches/0100-ios8.patch index f6f4594..f438dde 100644 --- a/debian/patches/0100-ios8.patch +++ b/debian/patches/0100-ios8.patch @@ -9,7 +9,7 @@ Index: trunk/src/camera/ImportPage.vala  ===================================================================  --- trunk.orig/src/camera/ImportPage.vala  +++ trunk/src/camera/ImportPage.vala -@@ -766,6 +766,15 @@ public class ImportPage : CheckerboardPa +@@ -765,6 +765,15 @@ public class ImportPage : CheckerboardPa       ~ImportPage() {           LibraryPhoto.global.contents_altered.disconnect(on_media_added_removed);           Video.global.contents_altered.disconnect(on_media_added_removed); @@ -25,7 +25,7 @@ Index: trunk/src/camera/ImportPage.vala       }       public override Gtk.Toolbar get_toolbar() { -@@ -1153,11 +1162,14 @@ public class ImportPage : CheckerboardPa +@@ -1152,11 +1161,14 @@ public class ImportPage : CheckerboardPa           update_status(busy, false);           refresh_error = null; @@ -45,7 +45,7 @@ Index: trunk/src/camera/ImportPage.vala           }           update_status(true, refreshed); -@@ -1262,13 +1274,15 @@ public class ImportPage : CheckerboardPa +@@ -1261,13 +1273,15 @@ public class ImportPage : CheckerboardPa           progress_bar.set_ellipsize(Pango.EllipsizeMode.NONE);           progress_bar.set_text("");           progress_bar.set_fraction(0.0); @@ -63,7 +63,7 @@ Index: trunk/src/camera/ImportPage.vala           if (refresh_result == GPhoto.Result.OK) {               update_status(false, true);           } else { -@@ -1634,11 +1648,15 @@ public class ImportPage : CheckerboardPa +@@ -1633,11 +1647,15 @@ public class ImportPage : CheckerboardPa       }       private void import(Gee.Iterable<DataObject> items) { @@ -84,7 +84,7 @@ Index: trunk/src/camera/ImportPage.vala           }           update_status(true, refreshed); -@@ -1774,12 +1792,15 @@ public class ImportPage : CheckerboardPa +@@ -1773,12 +1791,15 @@ public class ImportPage : CheckerboardPa       }       private void close_import() { diff --git a/debian/patches/series b/debian/patches/series index fe75c5e..44fcb41 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,8 +1,8 @@  0001-buildflags.patch  0005-hardening.patch  0010-libexec.patch -0500-Port-to-webkit2gtk-40.patch -0501-Dont-pack-webview-into-a-scrolled-window.patch -0502-Have-all-soup-sessions-validate-TLS-certificates.patch -0503-facebook-Dont-disable-XSS-auditor.patch +#0500-Port-to-webkit2gtk-40.patch +#0501-Dont-pack-webview-into-a-scrolled-window.patch +#0502-Have-all-soup-sessions-validate-TLS-certificates.patch +#0503-facebook-Dont-disable-XSS-auditor.patch  0100-ios8.patch diff --git a/debian/rules b/debian/rules index 3bdd2ba..dede84d 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all  export VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w)) -CHDATE:=$(shell dpkg-parsechangelog --show-field=Date) +B_DATE:=$(shell LC_ALL=C date --utc -d "$(CHDATE)")  %:  	dh $@ @@ -20,7 +20,7 @@ override_dh_install:  	mkdir -p debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source  	find -type f -name '*.c' -exec cp --parent '{}' debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source/ ';'  	cd debian/shotwell-dbg/usr/share/doc/shotwell-dbg && \ -	tar --mtime="$(CHDATE)" -cJf temp-source.tar.xz temp-source +	tar --mode=go=rX,u+rw,a-s --mtime="$(B_DATE)" -cJf temp-source.tar.xz temp-source  	rm -fr debian/shotwell-dbg/usr/share/doc/shotwell-dbg/temp-source  override_dh_installchangelogs: | 
