Control: retitle -1 xsane: Stop building gimp plugin

Patch attached.

Thank you,
Jeremy Bícha
From eef3ce30440c72f87f1805de4f7a9dcc98d0399e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <jeremy.bi...@canonical.com>
Date: Fri, 22 Nov 2024 15:54:01 -0500
Subject: [PATCH] Stop installing gimp plugin

Closes: #1088080
---
 debian/control       | 2 +-
 debian/rules         | 2 +-
 debian/xsane.dirs    | 1 -
 debian/xsane.install | 1 -
 4 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 20d07b5..31b3a99 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Standards-Version: 4.6.0.0
 Build-Depends:
  debhelper-compat (= 13),
  gettext,
- libgimp2.0-dev,
+ libgtk2.0-dev,
  libgtk-3-dev,
  libjpeg62-turbo-dev,
  liblcms2-dev,
diff --git a/debian/rules b/debian/rules
index a078a1d..09bfbbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-gimp
+	dh_auto_configure -- --disable-gimp
 
 override_dh_auto_clean:
 	dh_auto_clean
diff --git a/debian/xsane.dirs b/debian/xsane.dirs
index 92dda21..bfe3372 100644
--- a/debian/xsane.dirs
+++ b/debian/xsane.dirs
@@ -1,4 +1,3 @@
-usr/lib/gimp/2.0/plug-ins
 usr/share/pixmaps
 usr/share/icons/hicolor/256x256/apps
 usr/share/applications
diff --git a/debian/xsane.install b/debian/xsane.install
index b38ccc3..394f661 100644
--- a/debian/xsane.install
+++ b/debian/xsane.install
@@ -3,5 +3,4 @@ debian/xsane.png usr/share/icons/hicolor/256x256/apps
 usr/bin
 usr/share/man
 debian/ocr-scripts usr/share/xsane
-usr/bin/xsane usr/lib/gimp/2.0/plug-ins/xsane
 src/xsane-startimage.pnm usr/share/sane/xsane
-- 
2.45.2

Reply via email to