[pkg-wine-party] [wine] 101/114: Remove now obsolete code for finding library names.

Jens Reyer jreyer-guest at moszumanska.debian.org
Thu Jun 16 17:25:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch stretch
in repository wine.

commit 29e469a973949a08e5f46619a25071bafb92cbda
Author: Jens Reyer <jre.winesim at gmail.com>
Date:   Sun May 29 04:30:29 2016 +0200

    Remove now obsolete code for finding library names.
---
 debian/rules                |  4 ----
 debian/scripts/dpkg-depgrep | 24 ------------------------
 2 files changed, 28 deletions(-)

diff --git a/debian/rules b/debian/rules
index d8e923b..09cc1f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,6 @@ DATDIR=usr/share/wine$(VERSION)
 INCDIR=usr/include/wine$(VERSION)
 LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/wine$(VERSION)
 
-NCURSES=$(shell ./debian/scripts/dpkg-depgrep ncurses)
-FREETYPE=$(shell ./debian/scripts/dpkg-depgrep freetype)
-
 export VENDOR=$(shell dpkg-vendor --query Vendor && dpkg-parsechangelog -S Version)
 
 # enable verbose build log
@@ -170,7 +167,6 @@ override_dh_shlibdeps:
 override_dh_gencontrol:
 	dh_gencontrol -- \
 	    -Vbuilt:Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W khronos-api unicode-data)" \
-	    -Vdlopen:Depends="$(NCURSES), $(FREETYPE)" \
 
 override_dh_bugfiles:
 	dh_bugfiles -A
diff --git a/debian/scripts/dpkg-depgrep b/debian/scripts/dpkg-depgrep
deleted file mode 100755
index c8ff6e7..0000000
--- a/debian/scripts/dpkg-depgrep
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/perl
-#
-# Copyright (C) 2015 Michael Gilbert <mgilbert at debian.org>
-#
-# License: LGPL-2+
-
-use strict;
-use warnings;
-
-use Dpkg::Deps;
-use Dpkg::Control::Info;
-
-if ($#ARGV < 0) {
-    print "usage: $0 <string>\n";
-} else {
-    my $control = Dpkg::Control::Info->new()->get_source();
-    my $depends = deps_parse($control->{'Build-Depends'});
-    foreach (split /,\s+/,$depends) {
-        if ($_ =~ /$ARGV[0]/) {
-            $_ =~ s/-dev//;
-            print "$_\n";
-        }
-    }
-}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list