[Pkg-phototools-devel] Bug#981082: libgphoto2: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Tue Jan 26 05:49:31 GMT 2021


Source: libgphoto2
Version: 2.5.26-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

libgphoto2 participates in dependency loops relevant to architecture
bootstrap. Instead of looking into such a difficult problem, I looked
for easily droppable dependencies. It turns out that the doxygen
documentation is entirely contained in arch:all packages and that the
build systems handles its absence well. As such, it can be moved to
Build-Depends-Indep. The libdbus-1-dev was at some point added
(according to d/changelog), but I couldn't find any reason for that. Nor
could I find any use. Building libgphoto2 with Build-Conflicts:
libdbus-1-dev results in the exact same binary artifacts, so I think it
can be dropped without replacement. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru libgphoto2-2.5.26/debian/changelog libgphoto2-2.5.26/debian/changelog
--- libgphoto2-2.5.26/debian/changelog	2020-10-24 13:50:39.000000000 +0200
+++ libgphoto2-2.5.26/debian/changelog	2021-01-26 06:42:19.000000000 +0100
@@ -1,3 +1,12 @@
+libgphoto2 (2.5.26-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Demote doxygen to Build-Depends-Indep.
+    + Drop unused libdbus-1-dev.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 26 Jan 2021 06:42:19 +0100
+
 libgphoto2 (2.5.26-2) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --minimal -Nru libgphoto2-2.5.26/debian/control libgphoto2-2.5.26/debian/control
--- libgphoto2-2.5.26/debian/control	2020-10-24 13:50:39.000000000 +0200
+++ libgphoto2-2.5.26/debian/control	2021-01-26 06:42:17.000000000 +0100
@@ -6,10 +6,8 @@
            Frederic Peters <fpeters at debian.org>,
 	   Ferenc Wágner <wferi at debian.org>,
 Build-Depends: debhelper-compat (= 12),
-               doxygen,
                graphviz,
                libcurl4-openssl-dev,
-               libdbus-1-dev,
                libexif-dev (>= 0.5.9),
                libgd-dev,
                libgpmg1-dev [linux-any],
@@ -22,6 +20,7 @@
                rdfind,
                symlinks,
                zlib1g-dev
+Build-Depends-Indep: doxygen,
 Build-Conflicts: liblockdev1-dev
 Rules-Requires-Root: no
 Standards-Version: 4.5.0


More information about the Pkg-phototools-devel mailing list