r1318 - in /experimental/anjal/debian: ./ changelog patches/0001-Fix-memory-leak-found-in-emts_folder_changed_idle.patch rules
yanli-guest at users.alioth.debian.org
yanli-guest at users.alioth.debian.org
Wed Aug 26 08:19:36 UTC 2009
Author: yanli-guest
Date: Wed Aug 26 08:19:35 2009
New Revision: 1318
URL: http://svn.debian.org/wsvn/pkg-evolution/?sc=1&rev=1318
Log:
* added get-orig-source target
and the package version is updated to include git commit object name
so that people can get identical tarballs from upstream by using
object name as reference
* upgraded to latest upstream release
dropped 0001-Fix-memory-leak-found-in-emts_folder_changed_idle.patch,
which is already in upstream
Removed:
experimental/anjal/debian/patches/0001-Fix-memory-leak-found-in-emts_folder_changed_idle.patch
Modified:
experimental/anjal/debian/ (props changed)
experimental/anjal/debian/changelog
experimental/anjal/debian/rules
Propchange: experimental/anjal/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Modified: experimental/anjal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/anjal/debian/changelog?rev=1318&op=diff
==============================================================================
--- experimental/anjal/debian/changelog (original)
+++ experimental/anjal/debian/changelog Wed Aug 26 08:19:35 2009
@@ -1,5 +1,5 @@
-anjal (0.0.1+git20090824-0.1) UNRELEASED; urgency=low
+anjal (0.0.1+git20090826.845f3fa-0.1) UNRELEASED; urgency=low
* Initial release (Closes: #520342)
- -- Yan Li <yanli at infradead.org> Mon, 10 Aug 2009 16:49:25 +0800
+ -- Yan Li <yanli at infradead.org> Wed, 26 Aug 2009 16:13:56 +0800
Modified: experimental/anjal/debian/rules
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/anjal/debian/rules?rev=1318&op=diff
==============================================================================
--- experimental/anjal/debian/rules (original)
+++ experimental/anjal/debian/rules Wed Aug 26 08:19:35 2009
@@ -7,7 +7,9 @@
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //')
UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep ^Version | sed -ne 's/^Version: //g' -e 's/-[^-]*$$//pg')
+GIT_URL := git://git.gnome.org/anjal
CFLAGS += -fPIC
@@ -15,3 +17,25 @@
makebuilddir/anjal::
cd $(DEB_BUILDDIR); NOCONFIGURE=1 ./autogen.sh
+
+
+GIT_GET_SOURCE = \
+ TARBALL_FILE_NAME=$(DEB_SOURCE)_$(UPSTREAM_VERSION).orig.tar.gz; \
+ tmpdir=`mktemp -d -t`; \
+ cd $$tmpdir; \
+ echo "cloning upstream repository ..."; \
+ git clone $(GIT_URL); \
+ cd `ls | head -n 1`; \
+ if echo $(1) | grep -q "git"; \
+ then \
+ git_tag=`echo $(UPSTREAM_VERSION) | sed -e "s/.*git[[:digit:]]*\.\(.*\)/\1/g"`; \
+ else \
+ git_tag=$(UPSTREAM_VERSION); \
+ fi; \
+ git archive --format=tar --prefix=$(DEB_SOURCE)_$(UPSTREAM_VERSION)/ $$git_tag | gzip >"$(CURDIR)/$$TARBALL_FILE_NAME"; \
+ cd $(CURDIR); \
+ echo "got upstream release: $$TARBALL_FILE_NAME";
+
+get-orig-source::
+ $(call GIT_GET_SOURCE, $(UPSTREAM_VERSION))
+
More information about the pkg-evolution-commits
mailing list