[Debian-hebrew-package] r1039 - in /pkg/hocr/trunk/debian: changelog compat control libhocr-dev.install libhocr0.install rules

tzafrir at users.alioth.debian.org tzafrir at users.alioth.debian.org
Mon Jan 23 18:47:47 UTC 2017


Author: tzafrir
Date: Mon Jan 23 18:47:46 2017
New Revision: 1039

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=1039
Log:
Compat level 10 (Closes: #805943)

Modified:
    pkg/hocr/trunk/debian/changelog
    pkg/hocr/trunk/debian/compat
    pkg/hocr/trunk/debian/control
    pkg/hocr/trunk/debian/libhocr-dev.install
    pkg/hocr/trunk/debian/libhocr0.install
    pkg/hocr/trunk/debian/rules

Modified: pkg/hocr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/changelog?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/changelog	(original)
+++ pkg/hocr/trunk/debian/changelog	Mon Jan 23 18:47:46 2017
@@ -2,6 +2,7 @@
 
   * Remove Baruch Even from Uploaders (Closes: #760010, #760017)
   * format_string.patch: fix format-string-related warnings.
+  * Compat level 10 (Closes: #805943)
 
  -- Tzafrir Cohen <tzafrir at debian.org>  Mon, 23 Jan 2017 19:44:16 +0200
 

Modified: pkg/hocr/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/compat?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/compat	(original)
+++ pkg/hocr/trunk/debian/compat	Mon Jan 23 18:47:46 2017
@@ -1 +1 @@
-7
+10

Modified: pkg/hocr/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/control?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/control	(original)
+++ pkg/hocr/trunk/debian/control	Mon Jan 23 18:47:46 2017
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Hebrew Packaging Team <debian-hebrew-package at lists.alioth.debian.org>
 Uploaders: Lior Kaplan <kaplan at debian.org>, Shachar Shemesh <shachar at debian.org>, Tzafrir Cohen <tzafrir at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), libgtkspell-dev, libgtk2.0-dev, gettext, swig, python-dev (>= 2.6.6-3~), libfftw3-dev, libtiff5-dev, dh-autoreconf
+Build-Depends: debhelper (>= 10), libgtkspell-dev, libgtk2.0-dev, gettext, swig, python-dev (>= 2.6.6-3~), libfftw3-dev, libtiff5-dev, dh-autoreconf, dh-python
 Standards-Version: 3.9.4
 Section: libs
 Vcs-Svn: svn://svn.debian.org/svn/debian-hebrew/pkg/hocr

Modified: pkg/hocr/trunk/debian/libhocr-dev.install
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/libhocr-dev.install?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/libhocr-dev.install	(original)
+++ pkg/hocr/trunk/debian/libhocr-dev.install	Mon Jan 23 18:47:46 2017
@@ -1,4 +1,4 @@
 usr/include/*
-usr/lib/lib*.a
-usr/lib/lib*.so
-usr/lib/pkgconfig/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*

Modified: pkg/hocr/trunk/debian/libhocr0.install
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/libhocr0.install?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/libhocr0.install	(original)
+++ pkg/hocr/trunk/debian/libhocr0.install	Mon Jan 23 18:47:46 2017
@@ -1,3 +1,3 @@
-usr/lib/lib*.so.*
+usr/lib/*/lib*.so.*
 usr/share/man/man1/hocr.1
 usr/bin/hocr

Modified: pkg/hocr/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/rules?rev=1039&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/rules	(original)
+++ pkg/hocr/trunk/debian/rules	Mon Jan 23 18:47:46 2017
@@ -1,105 +1,19 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+%:
+	dh $@ --with autoreconf,python2
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+override_dh_python2:
+	dh_python2 --no-guessing-versions
 
+override_dh_makeshlibs:
+	dh_makeshlibs -V
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	dh_autoreconf
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
-
-build: build-arch build-indep
-
-build-arch: build-stamp
-
-build-indep: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-	dh_autoreconf_clean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+override_dh_auto_install:
+	dh_auto_install
 	cp -p debian/hocr-gtk.xpm debian/tmp/usr/share/pixmaps/
 
-# 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_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installmenu
-	dh_python2 --no-guessing-versions
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_makeshlibs -V
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 




More information about the Debian-hebrew-package mailing list