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

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



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

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

commit 864093983554016e4a7d63384f76ad08c1e04de1
Author: Jens Reyer <jre.winesim@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 ecdbc1a..fbf0694 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
@@ -162,7 +159,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@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



Reply to: