[Pkg-electronics-commits] [SCM] Packaging for gnusim8085 branch, master, updated. debian/1.3.5-1-2-ga06da19
Onkar Shinde
onkarshinde at ubuntu.com
Fri Dec 18 13:44:40 UTC 2009
The following commit has been merged in the master branch:
commit a06da19dc740cd9003f89037baacc18e011dc682
Author: Onkar Shinde <onkarshinde at ubuntu.com>
Date: Fri Dec 18 19:13:43 2009 +0530
switch to cdbs, prepare 1.3.5-2
diff --git a/debian/changelog b/debian/changelog
index 8183ad4..91be78a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,22 @@
+gnusim8085 (1.3.5-2) UNRELEASED; urgency=low
+
+ * New maintainer. (Closes: #553068)
+ * debian/control
+ - Correct versions of build dependencies libgtk2.0-dev and
+ libgtksourceview2.0-dev.
+ - Remove build dependency libgnomeui-dev. Not needed anymore.
+ - Add cdbs build dependency.
+ * debian/rules
+ - Switch to cdbs. Reduces file size.
+ - Add '--as-needed' linker flag to avoid unnecessary dependencies on
+ resulting package.
+ * debian/manpages
+ - Add to install manpage in appropriate location.
+ * debian/{dirs,install}
+ - Remove. Not needed.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com> Fri, 18 Dec 2009 14:56:47 +0530
+
gnusim8085 (1.3.5-1) unstable; urgency=low
* New upstream release (closes: #480536).
diff --git a/debian/control b/debian/control
index d1fd6f4..46a6a3c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: gnusim8085
Section: electronics
Priority: optional
Maintainer: Onkar Shinde <onkarshinde at ubuntu.com>
-Build-Depends: debhelper (>= 7), autotools-dev, automake1.9, dpatch, libgtk2.0-dev (>= 2.12.0), libgtksourceview2.0-dev (>= 2.2.0 )
+Build-Depends: debhelper (>= 7), cdbs, autotools-dev, automake1.9, dpatch, libgtk2.0-dev (>= 2.12.0), libgtksourceview2.0-dev (>= 2.2.0 )
Standards-Version: 3.8.3
Homepage: http://gnusim8085.sourceforge.net
diff --git a/debian/install b/debian/install
deleted file mode 100644
index 097923b..0000000
--- a/debian/install
+++ /dev/null
@@ -1 +0,0 @@
-usr/*
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..1bce410
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+doc/gnusim8085.1
diff --git a/debian/rules b/debian/rules
index aecb69d..04f003f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,106 +1,7 @@
#!/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
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
-
-# 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)
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-
-
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
- autoreconf
- ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/gnusim8085.sgml > gnusim8085.1
-
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
-
- dh_clean
-
-patch: patch-stamp
-
-patch-stamp:
- dpatch apply-all
- dpatch cat-all >patch-stamp
-
-unpatch:
- dpatch deapply-all
- rm -rf patch-stamp debian/patched
-
-
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- # Add here commands to install the package into debian/gnusim8085.
- $(MAKE) DESTDIR=$(CURDIR)/debian/gnusim8085 install
-
-
-# Build architecture-independent files here.
-binary-indep: install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples doc/examples/*
- dh_installmenu
- dh_installman doc/gnusim8085.1
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+CFLAGS += "-Wl,--as-needed"
--
Packaging for gnusim8085
More information about the Pkg-electronics-commits
mailing list