From 0ffc0ef871f230ef0177113f7e2b77829aaaca98 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 19:42:51 +0200 Subject: Adding debian version 44.2-1. Signed-off-by: Daniel Baumann --- debian/rules | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9790d4f --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 + +# needed with the Ubuntu toolchain to avoid plugin issues +export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -Dgtk_doc=true + +execute_after_dh_python3: + dh_python3 /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/plugins + dh_python3 /usr/share/gedit/plugins + +override_dh_girepository: + dh_girepository -ldebian/tmp/usr/share/gedit/gir-1.0 \ + /usr/lib/$(DEB_HOST_MULTIARCH)/gedit/girepository-1.0 \ + /usr/lib/$(DEB_HOST_MULTIARCH)/gedit + +execute_after_dh_fixperms-indep: + chmod 0755 debian/gedit-common/usr/share/gedit/plugins/externaltools/tools/* + +override_dh_shlibdeps: + dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/gedit + +override_dh_makeshlibs: + dh_makeshlibs --no-scripts -- cgit v1.2.3