1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-12-23 04:15:11 +02:00

debian: cleanup changelog, include debian build flags

This commit is contained in:
Xiangfu 2012-10-08 11:42:39 +08:00
parent d2daaf83d1
commit d76f7d19a8
4 changed files with 11 additions and 56 deletions

32
debian/changelog vendored
View File

@ -3,43 +3,15 @@ fped (0.1+201209-1) unstable; urgency=low
* New snapshot, taken from commit dfac631 * New snapshot, taken from commit dfac631
* Switched to new project host: http://projects.qi-hardware.com/p/fped * Switched to new project host: http://projects.qi-hardware.com/p/fped
* debian/rules: * debian/rules:
- include debian buildflags
- rewrite as a minimal rules file using dh - rewrite as a minimal rules file using dh
- add a get-orig-source target - add a get-orig-source target
* debian/autogen.sh: new script
-- Xiangfu Liu <xiangfu@openmobilefree.net> Thu, 21 Jun 2012 16:58:21 +0800
fped (0.0+r6006-1) unstable; urgency=low
* New snapshot, taken from commit 78e4ba0
* update to r6006
-- Xiangfu Liu <xiangfu@openmobilefree.net> Fri, 25 Mar 2011 08:43:21 +0800
fped (0.0+r6005-1) unstable; urgency=low
* New snapshot, taken from commit 335ddb6
* update to r6005
-- Xiangfu Liu <xiangfu@openmobilefree.net> Wed, 23 Mar 2011 16:28:26 +0800
fped (0.0+r5999-1) unstable; urgency=low
* New snapshot, taken from commit 1409cfa
* update to r5999
-- Xiangfu Liu <xiangfu@openmobilefree.net> Tue, 22 Mar 2011 15:12:02 +0800
fped (0.0+r5997-1) unstable; urgency=low
* New snapshot, taken from commit ceaa519
* Fix "FTBFS: tsort: cycle: ./Common: line 37: 2851 Aborted" * Fix "FTBFS: tsort: cycle: ./Common: line 37: 2851 Aborted"
This was a "false error" - the regression test is supposed to cause This was a "false error" - the regression test is supposed to cause
fped to abort, which it did, but the shell didn't print "Aborted" on fped to abort, which it did, but the shell didn't print "Aborted" on
that(Debian on Renesas SH(sh4) CPU) platform (Closes: #606536). that(Debian on Renesas SH(sh4) CPU) platform (Closes: #606536).
* update the homepage to help webpage, not svn source code page.
-- Xiangfu Liu <xiangfu@openmobilefree.net> Fri, 10 Dec 2010 15:51:58 +0800 -- Xiangfu Liu <xiangfu@openmobilefree.net> Mon, 08 Oct 2012 11:38:57 +0800
fped (0.0+r5986-1) unstable; urgency=low fped (0.0+r5986-1) unstable; urgency=low

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: fped
Section: electronics Section: electronics
Priority: extra Priority: extra
Maintainer: Xiangfu Liu <xiangfu@openmobilefree.net> Maintainer: Xiangfu Liu <xiangfu@openmobilefree.net>
Build-Depends: debhelper (>= 7.4.10), pkg-config, Build-Depends: debhelper (>= 7.4.10), dpkg-dev (>= 1.16.1~), pkg-config,
bash (>= 4), flex, bison, bash (>= 4), flex, bison,
imagemagick, transfig, netpbm, ghostscript, imagemagick, transfig, netpbm, ghostscript,
libgtk2.0-dev libgtk2.0-dev

View File

@ -6,7 +6,7 @@
set -e set -e
: ${REPO=$(git rev-parse --git-dir)} : ${REPO=git://projects.qi-hardware.com/fped.git}
: ${BRANCH=remotes/origin/master} : ${BRANCH=remotes/origin/master}
mkdir debian-orig-source mkdir debian-orig-source
@ -26,5 +26,5 @@ upstream_version="${release}+${date}"
# Generate tarball. # Generate tarball.
echo "packaging $(git rev-parse --short FETCH_HEAD)" echo "packaging $(git rev-parse --short FETCH_HEAD)"
git archive FETCH_HEAD | git archive --format=tar --prefix="fped_${date}/" FETCH_HEAD |
gzip -n -9 >"fped_$upstream_version.orig.tar.gz" gzip -n -9 >"fped_$upstream_version.orig.tar.gz"

29
debian/rules vendored
View File

@ -5,10 +5,13 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export PREFIX=/usr export PREFIX=/usr
build clean install binary-arch binary-indep binary: %:
+dh --parallel $(opt_no_act) $@ dh $@
override_dh_auto_clean: override_dh_auto_clean:
$(MAKE) spotless $(MAKE) spotless
@ -19,29 +22,9 @@ override_dh_installchangelogs:
awk -f debian/changelog.upstream.awk awk -f debian/changelog.upstream.awk
dh_installchangelogs debian/changelog.upstream dh_installchangelogs debian/changelog.upstream
opt_optimize = CFLAGS="-g -O2"
opt_no_act =
opt_quiet =
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
opt_optimize = CFLAGS="-g -O0"
endif
ifneq (,$(findstring n,$(MAKEFLAGS)))
opt_no_act = --no-act
endif
ifneq (,$(filter quiet,$(DEB_BUILD_OPTIONS)))
opt_quiet = --quiet
MAKEFLAGS += --quiet
endif
REPO = git://projects.qi-hardware.com/fped.git REPO = git://projects.qi-hardware.com/fped.git
BRANCH = master BRANCH = master
debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST))))
get-orig-source: get-orig-source:
REPO='$(REPO)' BRANCH='$(BRANCH)' \ REPO='$(REPO)' BRANCH='$(BRANCH)' \
sh '$(debiandir_SQ)'get-orig-source.sh sh ./debian/get-orig-source.sh
%:
dh $@