[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][rel-0.20.0_beta3] 3 commits: Handle modules

Guido Günther (@agx) gitlab at salsa.debian.org
Sat Jul 30 16:44:38 BST 2022



Guido Günther pushed to branch rel-0.20.0_beta3 at Debian On Mobile / phosh


Commits:
a398da5d by Guido Günther at 2022-07-30T17:44:20+02:00
Handle modules

Make sure gio-querymodules knows about possible modules.

- - - - -
6b4f78f1 by Guido Günther at 2022-07-30T17:44:20+02:00
Don't install example plugin

It's not very useful and would trigger new processing

- - - - -
70d1f4f9 by Guido Günther at 2022-07-30T17:44:20+02:00
Document changes and release 0.20.0~beta3-1

- - - - -


8 changed files:

- debian/changelog
- debian/clean
- + debian/not-installed
- debian/phosh.dirs
- + debian/phosh.postinst.in
- + debian/phosh.postrm.in
- + debian/phosh.triggers.in
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,15 @@
-phosh (0.20.0~beta3-1) UNRELEASED; urgency=medium
+phosh (0.20.0~beta3-1) experimental; urgency=medium
 
+  * Team upload.
+  * Upload to experimental
   * New upstream release
+  * Install icon
+  * Handle modules.
+    Make sure gio-querymodules knows about possible modules.
+  * Don't install example plugin.
+    It's not very useful and would trigger new processing
 
- -- Guido Günther <agx at sigxcpu.org>  Sat, 30 Jul 2022 16:14:41 +0200
+ -- Guido Günther <agx at sigxcpu.org>  Sat, 30 Jul 2022 16:27:28 +0200
 
 phosh (0.20.0~beta2-1) experimental; urgency=medium
 


=====================================
debian/clean
=====================================
@@ -1 +1,4 @@
+debian/phosh.postinst
+debian/phosh.postrm
 debian/phosh.service
+debian/phosh.triggers


=====================================
debian/not-installed
=====================================
@@ -0,0 +1 @@
+usr/lib/*/phosh/plugins/libphosh-plugin-calendar.so


=====================================
debian/phosh.dirs
=====================================
@@ -1 +1,2 @@
 /usr/share/phosh
+/usr/lib/${DEB_HOST_MULTIARCH}/phosh/plugins


=====================================
debian/phosh.postinst.in
=====================================
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = triggered ]; then
+    "/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" "/usr/lib/#MULTIARCH#/phosh/plugins" || true
+    exit 0
+fi
+
+#DEBHELPER#
+
+"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" "/usr/lib/#MULTIARCH#/phosh/plugins" || true
+


=====================================
debian/phosh.postrm.in
=====================================
@@ -0,0 +1,12 @@
+#! /bin/sh
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+    (remove|purge)
+        if [ -d /usr/lib/#MULTIARCH#/phosh/plugins ]; then
+            rm -f /usr/lib/#MULTIARCH#/phosh/plugins/giomodule.cache
+        fi
+        ;;
+esac


=====================================
debian/phosh.triggers.in
=====================================
@@ -0,0 +1 @@
+interest-noawait /usr/lib/#MULTIARCH#/phosh/plugins


=====================================
debian/rules
=====================================
@@ -23,6 +23,15 @@ ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
 	ninja -C _build/ phosh-doc
 endif
 
+override_dh_auto_install:
+	set -e; for script in postinst postrm triggers; do \
+                sed -e"s/#MULTIARCH#/$(DEB_HOST_MULTIARCH)/g" \
+                    -e"s/#ARCH#/$(DEB_HOST_ARCH)/g" \
+                    debian/phosh.$$script.in \
+                    > debian/phosh.$$script ; \
+        done
+	dh_auto_install
+
 override_dh_installsystemd:
 	rm -f debian/phosh.service ; cp data/phosh.service debian/phosh.service
 	dh_installsystemd --no-start --no-enable --no-restart-on-upgrade --no-restart-after-upgrade



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/f2d167e3fd713043deac2405e1f97df1f98458e7...70d1f4f9667e1710bfa783205b290e6680c68c8d

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/f2d167e3fd713043deac2405e1f97df1f98458e7...70d1f4f9667e1710bfa783205b290e6680c68c8d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20220730/9c31c005/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list