[hackers] [wmii] [debian] Fix some lintian warnings. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 7 Jul 2010 22:50:18 +0000 (UTC)

changeset: 2758:880f3967a1a7
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Wed Jul 07 22:47:39 2010 +0000
files: debian/control debian/docs debian/patches/01-config-local-mk.patch debian/patches/series debian/rules debian/watch
description:
[debian] Fix some lintian warnings.

diff -r d68b729266a2 -r 880f3967a1a7 debian/control
--- a/debian/control Wed Jul 07 00:37:58 2010 -0400
+++ b/debian/control Wed Jul 07 22:47:39 2010 +0000
@@ -2,12 +2,13 @@
 Section: x11
 Priority: optional
 Maintainer: Kris Maglione <jg_AT_suckless.org>
-Build-Depends: libixp, python, libx11-dev, libxft-dev, libxext-dev, libxinerama-dev, libxrandr-dev, x11proto-xext-dev, quilt, debhelper (>= 4.0)
-Standards-Version: 3.7.2
+Build-Depends: libixp-hg, dash, python, libx11-dev, libxft-dev, libxext-dev, libxinerama-dev, libxrandr-dev, x11proto-xext-dev, quilt, debhelper (>= 4.0)
+Standards-Version: 3.8.4
+Homepage: http://wmii.suckless.org/
 
 Package: wmii-hg
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, dash (>= 0.1)
 Conflicts: wmii, wmii2
 Replaces: wmii, wmii2
 Provides: x-window-manager
@@ -17,5 +18,3 @@
  window management with low memory usage. It is highly modularized and uses an
  inter-process communication interface which is oriented on the 9p protocol of
  plan9.
- .
- Homepage: <http://wmii.suckless.org/>
diff -r d68b729266a2 -r 880f3967a1a7 debian/docs
--- a/debian/docs Wed Jul 07 00:37:58 2010 -0400
+++ b/debian/docs Wed Jul 07 22:47:39 2010 +0000
@@ -1,1 +1,2 @@
+FAQ
 README
diff -r d68b729266a2 -r 880f3967a1a7 debian/patches/01-config-local-mk.patch
--- a/debian/patches/01-config-local-mk.patch Wed Jul 07 00:37:58 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-Author: Kris Maglione <jg_AT_suckless.org>
-Description: Create a config.local.mk for debian.
-
-diff --git a/config.local.mk b/config.local.mk
-new file mode 100644
---- /dev/null
-+++ b/config.local.mk
-@@ -0,0 +1,5 @@
-+DESTDIR=$(ROOT)/debian/wmii-hg/
-+PREFIX=/usr
-+ETC=/etc/X11
-+STATIC=
-+TERMINAL=x-terminal-emulator
diff -r d68b729266a2 -r 880f3967a1a7 debian/patches/series
--- a/debian/patches/series Wed Jul 07 00:37:58 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-01-config-local-mk.patch
diff -r d68b729266a2 -r 880f3967a1a7 debian/rules
--- a/debian/rules Wed Jul 07 00:37:58 2010 -0400
+++ b/debian/rules Wed Jul 07 22:47:39 2010 +0000
@@ -1,21 +1,32 @@
 #!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+
+PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control)
+
+FLAGS = DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ \
+ PREFIX=/usr \
+ ETC=/etc/X11 \
+ STATIC= \
+ TERMINAL=x-terminal-emulator
 
 %:
         dh $@
 
-clean: unpatch
-build: patch
-
 override_dh_installwm:
         dh_installwm --priority=60
 
 override_dh_compress:
         dh_compress -X.pdf
 
+override_dh_auto_build:
+ $(MAKE) $(FLAGS) all
+
 override_dh_auto_install:
- $(MAKE) install
+ $(MAKE) $(FLAGS) install
 
- install -D img/icon.png debian/wmii/usr/share/icons/wmii.png
- install -D debian/file/wmii.desktop debian/wmii/usr/share/xsessions/wmii.desktop
+ rm debian/$(PACKAGE)/usr/share/doc/wmii/LICENSE
+ install -D -m0644 img/icon.png debian/$(PACKAGE)/usr/share/icons/wmii.png
+ install -D -m0644 debian/file/wmii.desktop debian/$(PACKAGE)/usr/share/xsessions/wmii.desktop
 
+.depend:
+ true
+
diff -r d68b729266a2 -r 880f3967a1a7 debian/watch
--- a/debian/watch Wed Jul 07 00:37:58 2010 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-version=3
-http://www.suckless.org/download/wmii-(.*)\.tar\.gz
Received on Thu Jul 08 2010 - 00:50:18 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 08 2010 - 01:00:09 CEST