[pkg-nvidia-devel] r1035 - in /packages/nvclock/trunk/debian: changelog control dirs nvclock-gtk.postinst nvclock-qt.postinst rules

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Sun Jun 6 15:08:25 UTC 2010


Author: anbe-guest
Date: Sun Jun  6 15:08:09 2010
New Revision: 1035

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1035
Log:
switch build system to minimal dh-with-overrides variant, drop empty maintainer scripts

Removed:
    packages/nvclock/trunk/debian/dirs
    packages/nvclock/trunk/debian/nvclock-gtk.postinst
    packages/nvclock/trunk/debian/nvclock-qt.postinst
Modified:
    packages/nvclock/trunk/debian/changelog
    packages/nvclock/trunk/debian/control
    packages/nvclock/trunk/debian/rules

Modified: packages/nvclock/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvclock/trunk/debian/changelog?rev=1035&op=diff
==============================================================================
--- packages/nvclock/trunk/debian/changelog (original)
+++ packages/nvclock/trunk/debian/changelog Sun Jun  6 15:08:09 2010
@@ -35,6 +35,8 @@
   * Adjust suggestions to cover nvidia-glx-legacy-*, too.
   * Add lintian overrides for problems in the upstream source that could be
     solved by repacking only.
+  * debian/rules: switch to dh and minimize.
+  * Remove obsolete empty maintainer scripts.
 
  -- Andreas Beckmann <debian at abeckmann.de>  Sat, 05 Jun 2010 13:32:18 +0200
 

Modified: packages/nvclock/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvclock/trunk/debian/control?rev=1035&op=diff
==============================================================================
--- packages/nvclock/trunk/debian/control (original)
+++ packages/nvclock/trunk/debian/control Sun Jun  6 15:08:09 2010
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel at lists.alioth.debian.org>
 Uploaders: Russ Allbery <rra at debian.org>
-Build-Depends: debhelper (>> 7), libqt3-mt-dev, libgtk2.0-dev, libglib2.0-dev,
+Build-Depends: debhelper (>= 7.0.50~), libqt3-mt-dev, libgtk2.0-dev, libglib2.0-dev,
  autoconf, automake,
 Build-Conflicts: autoconf2.13, automake1.4
 Standards-Version: 3.8.4

Modified: packages/nvclock/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvclock/trunk/debian/rules?rev=1035&op=diff
==============================================================================
--- packages/nvclock/trunk/debian/rules (original)
+++ packages/nvclock/trunk/debian/rules Sun Jun  6 15:08:09 2010
@@ -1,14 +1,7 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-#WTF was this for?
-#bindir = $(CURDIR)/debian/ksimus/usr/bin
-
-INSTALL_DIR = install -p -d -o root -g root -m 755
-INSTALL_FILE = install -p -o root -g root -m 644
 
 ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 ifeq ($(ARCH),alpha)
@@ -20,79 +13,13 @@
   export CXXFLAGS=-ffunction-sections
 endif
 
-export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+%:
+	dh $@
 
-# FOR AUTOCONF 2.52 AND NEWER ONLY
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-     confflags += --build $(DEB_HOST_GNU_TYPE)
-  else
-     confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-endif
-    
+override_dh_auto_configure:
+	sh autogen.sh
+	dh_auto_configure -- --enable-gtk --enable-qt
 
-build: build-stamp
+override_dh_install:
+	dh_install --list-missing
 
-build-stamp:
-	dh_testdir
-	sh autogen.sh
-	./configure $(confflags) --prefix=/usr --enable-gtk2 --enable-qt 
-	$(MAKE)
-	touch build-stamp
-
-clean: debian-clean
-	dh_clean
-
-debian-clean:
-	dh_testdir
-	-rm -f *-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	mkdir -p $(CURDIR)/debian/tmp/usr/bin
-	# Main install
-	$(MAKE) install prefix=`pwd`/debian/tmp/usr docdir=`pwd`/debian/tmp/usr/share/nvclock
-	
-	dh_install --autodest --sourcedir=debian/tmp
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdebconf
-	dh_installdocs
-#       dh_installexamples
-	dh_installmenu
-#       dh_installlogrotate
-#       dh_installemacsen
-#       dh_installpam
-#       dh_installmime
-#       dh_installinit
-#       dh_installcron
-	dh_installman
-#       dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-#       dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure




More information about the Pkg-nvidia-devel mailing list