[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979605: gpac: drop unused Build-Depends



Source: gpac
Version: 1.0.1+dfsg1-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

gpac is involved in a number of dependency cycles relevant to
architecture bootstrap. Rather than looking into this difficult problem,
I looked into easily droppable dependencies to reduce the size of the
problem. I found some for gpac:

 * I couldn't find any use of freeglut3-dev.
 * libfreenect-dev was formerly used, but it is no longer used.
 * libusb-1.0-0-dev was required for libfreenect-dev.
 * libxml2-dev is mostly removed except for one directory, which is not
   built.

I've compared the resulting .debs for a normal build and a nocheck build
with all of these dependencies turned into Build-Conflicts. The
resulting binaries were bit-identical as gpac is normally reproducible.
That suggests that applying my patch is relatively safe.

Helmut
--- gpac-1.0.1+dfsg1/debian/changelog
+++ gpac-1.0.1+dfsg1/debian/changelog
@@ -1,3 +1,15 @@
+gpac (1.0.1+dfsg1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop unused Build-Depends: (Closes: #-1)
+    + freeglut3-dev is not used anywhere.
+    + libfreenect-dev was formerly used but is no longer.
+    + libusb-1.0-0-dev was required for libfreenect-dev.
+    + libxml2-dev is mostly removed except for one directory, which is not
+      built.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 08 Jan 2021 16:58:45 +0100
+
 gpac (1.0.1+dfsg1-3) unstable; urgency=medium
 
   * Clean share/gpac.desktop (Closes: #975779)
--- gpac-1.0.1+dfsg1/debian/control
+++ gpac-1.0.1+dfsg1/debian/control
@@ -7,7 +7,6 @@
  Alessio Treglia <alessio@debian.org>
 Build-Depends:
  debhelper-compat (= 13),
- freeglut3-dev,
  liba52-0.7.4-dev,
  libasound2-dev,
  libavcodec-dev (>= 6:10~),
@@ -15,7 +14,6 @@
  libavformat-dev (>= 6:10~),
  libavutil-dev (>= 6:10~),
  libfaad-dev,
- libfreenect-dev,
  libfreetype6-dev,
  libjack-dev,
  libjpeg-dev,
@@ -26,9 +24,7 @@
  libsdl1.2-dev,
  libswscale-dev (>= 6:10~),
  libtheora-dev,
- libusb-1.0-0-dev,
  libvorbis-dev,
- libxml2-dev,
  libxv-dev,
  libxvidcore-dev
 Standards-Version: 3.9.8

Reply to: