Package: shotwell
Version: 0.30.14-1
Severity: minor

Dear maintainers,

Could you merge the attached patch to build with apport when on Ubuntu? It should have no impact on Debian. The patch is stacked on the one from

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000528

Thanks for considering,
Sebastien Bacher



diff -Nru shotwell-0.30.14/debian/changelog shotwell-0.30.14/debian/changelog
--- shotwell-0.30.14/debian/changelog	2021-11-24 16:11:17.000000000 +0100
+++ shotwell-0.30.14/debian/changelog	2021-11-24 16:11:17.000000000 +0100
@@ -3,6 +3,8 @@
   * debian/control, debian/rules:
     - Build with and enable the libunity option, it's a small library and
       also providing integration in the GNOME dash-to-dock
+  * debian/rules:
+    - enable the apport option on Ubuntu
 
  -- Sebastien Bacher <seb...@ubuntu.com>  Wed, 24 Nov 2021 16:11:17 +0100
 
diff -Nru shotwell-0.30.14/debian/rules shotwell-0.30.14/debian/rules
--- shotwell-0.30.14/debian/rules	2021-11-24 16:08:56.000000000 +0100
+++ shotwell-0.30.14/debian/rules	2021-11-24 16:11:17.000000000 +0100
@@ -7,9 +7,14 @@
 %:
 	dh $@  --buildsystem=meson --with gnome
 
+#Enable the apport option when building of Ubuntu 
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
+                APPORT = -Dinstall-apport-hook=true
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
-	            -Dunity-support=true
+	            -Dunity-support=true $(APPORT)
 
 override_dh_gnome_clean:
 	dh_gnome_clean --no-control

Reply via email to