Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: Convert to dh sequencer.
  * debian/compat: Indicate compatibility level of 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Depend on ${misc:Depends}.
  * debian/source/format: Indicate 3.0 (native) format.
  * debian/install: Indicate files needing installing.
  * debian/dirs: Remove, as it is now unnecessary.

Thanks for considering the patch.

Logan Rosen
diff -Nru keyboards-rg-0.2/debian/compat keyboards-rg-0.2ubuntu1/debian/compat
--- keyboards-rg-0.2/debian/compat	1969-12-31 19:00:00.000000000 -0500
+++ keyboards-rg-0.2ubuntu1/debian/compat	2016-07-31 21:02:41.000000000 -0400
@@ -0,0 +1 @@
+9
diff -Nru keyboards-rg-0.2/debian/control keyboards-rg-0.2ubuntu1/debian/control
--- keyboards-rg-0.2/debian/control	2006-08-31 14:35:59.000000000 -0400
+++ keyboards-rg-0.2ubuntu1/debian/control	2016-08-01 01:09:57.000000000 -0400
@@ -2,13 +2,13 @@
 Section: misc
 Priority: optional
 Maintainer: Radovan GarabĂ­k <gara...@kassiopeia.juls.savba.sk>
-Build-Depends: debhelper (>> 4)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.7.2
 
 Package: keyboards-rg
 Architecture: all
 Suggests: xbase-clients
-Depends: xserver-xorg, xkb-data (>=0.8-8)
+Depends: ${misc:Depends}, xserver-xorg, xkb-data (>=0.8-8)
 Description: Various keyboard layouts for X-window and linux console
  keyboards-rg includes several keyboard layouts. Currently there is
  a Slovak programmers keyboard, Pan-cyrillic yawerty keyboard with
diff -Nru keyboards-rg-0.2/debian/dirs keyboards-rg-0.2ubuntu1/debian/dirs
--- keyboards-rg-0.2/debian/dirs	2006-08-31 14:35:22.000000000 -0400
+++ keyboards-rg-0.2ubuntu1/debian/dirs	1969-12-31 19:00:00.000000000 -0500
@@ -1,3 +0,0 @@
-usr/share/X11/xkb/symbols
-usr/share/keymaps/i386/qwerty
-usr/bin
diff -Nru keyboards-rg-0.2/debian/install keyboards-rg-0.2ubuntu1/debian/install
--- keyboards-rg-0.2/debian/install	1969-12-31 19:00:00.000000000 -0500
+++ keyboards-rg-0.2ubuntu1/debian/install	2016-08-01 00:53:52.000000000 -0400
@@ -0,0 +1,3 @@
+layouts-console/* usr/share/keymaps/i386/qwerty
+layouts-xkb/* usr/share/X11/xkb/symbols
+scripts/* usr/bin
diff -Nru keyboards-rg-0.2/debian/rules keyboards-rg-0.2ubuntu1/debian/rules
--- keyboards-rg-0.2/debian/rules	2006-08-31 14:20:36.000000000 -0400
+++ keyboards-rg-0.2ubuntu1/debian/rules	2016-07-31 21:01:11.000000000 -0400
@@ -1,86 +1,3 @@
 #!/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
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=4
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	
-
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	#$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	#-$(MAKE) clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/keyboards-rg.
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/keyboards-rg
-	cp -v -f layouts-console/* $(CURDIR)/debian/keyboards-rg/usr/share/keymaps/i386/qwerty
-	cp -v -f layouts-xkb/* $(CURDIR)/debian/keyboards-rg/usr/share/X11/xkb/symbols
-	cp -v -f scripts/* $(CURDIR)/debian/keyboards-rg/usr/bin
-
-
-# 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
+%:
+	dh $@
diff -Nru keyboards-rg-0.2/debian/source/format keyboards-rg-0.2ubuntu1/debian/source/format
--- keyboards-rg-0.2/debian/source/format	1969-12-31 19:00:00.000000000 -0500
+++ keyboards-rg-0.2ubuntu1/debian/source/format	2016-07-31 21:05:14.000000000 -0400
@@ -0,0 +1 @@
+3.0 (native)

Reply via email to