--- gitg-0.0.5.orig/debian/update-patches.mk +++ gitg-0.0.5/debian/update-patches.mk @@ -0,0 +1,12 @@ +update-patches: + mkdir -p $(CURDIR)/debian/patches + rm -f $(CURDIR)/debian/patches/*.patch + rm -f $(CURDIR)/debian/patches/series + git format-patch -o $(CURDIR)/debian/patches debian-patches ^upstream + for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \ + do \ + lines=$$(cat $$patch | wc -l) ; \ + head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \ + mv $${patch}.chomped $$patch ; \ + echo $$(basename $${patch}) >> $(CURDIR)/debian/patches/series ; \ + done --- gitg-0.0.5.orig/debian/README.source +++ gitg-0.0.5/debian/README.source @@ -0,0 +1,58 @@ +Patches +======= + +This package occasionally uses quilt to store modifications to the upstream +source, although in most uploads no patches are needed. + +To get the fully patched source: make -f debian/rules patch + +To revert to what's in git: make -f debian/rules unpatch + +To add a patch: obtain a diff and put it in debian/patches, or see below + +To remove an existing patch: delete it from debian/patches + +Packaging using git +=================== + +The repository contains an appropriate debian/gbp.conf to build this package +using git-buildpackage. The debian branch contains the latest upstream versions +(for unstable, or experimental while a freeze is in progress). The debian- +branch contains versions targeted for a specific release (lenny, squeeze, etc.) + +Here's how to build it: + + git clone git://git.jonnylamb.com/git/packaging/gitg.git + cd gitg + git checkout debian + git-buildpackage -us -uc + +or for testing/stable branches like debian-lenny: + + git clone git://git.jonnylamb.com/git/packaging/gitg.git + cd gitg + git checkout debian-lenny + git-buildpackage -us -uc --git-debian-branch=debian-lenny + +The branch 'upstream' is a copy of the contents of upstream tarballs. To import +upstream tarballs use: + + git checkout debian + git-import-orig ~/gitg-0.7.x.tar.gz + +The branch 'debian-patches' is 'upstream' plus any patches needed for Debian. +It should be rebased on 'upstream' after each upstream release: + + git checkout debian-patches + git rebase upstream + +The preferred way of adding patches is to make a commit to the debian-patches +branch: + + git checkout debian-patches + + git commit + git checkout debian + fakeroot debian/rules update-patches + + -- Jonny Lamb , Sat, 7 Mar 2009 17:55:11 +0000 --- gitg-0.0.5.orig/debian/watch +++ gitg-0.0.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/gitg/([\d\.]+)[02468]/gitg-(.*)\.tar\.gz debian uupdate \ No newline at end of file --- gitg-0.0.5.orig/debian/changelog +++ gitg-0.0.5/debian/changelog @@ -0,0 +1,81 @@ +gitg (0.0.5-1) unstable; urgency=low + + * New upstream release. (Closes: #547384) + * debian/patches/: Refreshed patch. + + -- Jonny Lamb Sat, 19 Sep 2009 12:33:12 +0100 + +gitg (0.0.4-1) unstable; urgency=low + + * New upsream release. (Closes: #536580) + + -- Jonny Lamb Sun, 12 Jul 2009 19:43:04 +0100 + +gitg (0.0.3-2) unstable; urgency=low + + * debian/control: Add Depends on git-core. (Closes: #535047) + + -- Jonny Lamb Mon, 29 Jun 2009 10:21:32 +0100 + +gitg (0.0.3-1) unstable; urgency=low + + * New upstream release. (Closes: #525520) + * debian/watch: Updated. + * debian/patches/: + + 0002-Initial-patch-to-show-tags-referenced-from-tag-objec.patch: Removed; + fixed upstream. + * debian/rules: Removed get-orig-source target. + + -- Jonny Lamb Sat, 25 Apr 2009 10:16:58 +0100 + +gitg (0.0.2-1) unstable; urgency=low + + * New upstream release. (Closes: #522919) + + Timestamp to date string conversion is now valid UTF-8. (Closes: #518705) + + Fixes to async task cancellation. (Closes: #520922) + * debian/control: Changed Section to vcs. + * debian/patches/: + + 0001-Change-Categories-to-Development-RevisionControl.patch: Added + to change Categories to Development;RevisionControl. (Closes: 520887) + + 0001-Terminate-gtk_text_buffer_create_tag-s-arguments-wit.patch: Removed + as applied upstream. + + 0002-Initial-patch-to-show-tags-referenced-from-tag-objec.patch: Added + to show tags referenced from tag objects. (Closes: #521062) + * debian/watch: Added. + + -- Jonny Lamb Thu, 09 Apr 2009 00:44:07 +0100 + +gitg (0.0.1+20090307.git.99b20ff-2) unstable; urgency=low + + * debian/control: + + Updated Homepage. (Closes: #519262) + + Add quilt Build-Dep. + + Upped Standards-Version. (no changes) + * debian/update-patches.mk: Added. + * debian/rules: + + Include update-patches.mk. + + Include quilt.make. + + Added patch and unpatch rule calls. + * debian/patches/: + + 0001-Terminate-gtk_text_buffer_create_tag-s-arguments-wit.patch: Added + to fix call to gtk_text_buffer_create_tag and stop GObject warnings. + (Closes: #520826) + + -- Jonny Lamb Mon, 23 Mar 2009 02:46:13 +0000 + +gitg (0.0.1+20090307.git.99b20ff-1) unstable; urgency=low + + * New upstream snapshot. + * debian/copyright: + + Added copyright information for gitg/sexy-icon-entry.*. + + Made License fields more unform. + * debian/README.source: Added. + * debian/control: Upped Standards-Version. + + -- Jonny Lamb Sat, 07 Mar 2009 17:56:12 +0000 + +gitg (0.0.1+20090221.git.f0710a6-1) unstable; urgency=low + + * Initial release. (Closes: #515154) + + -- Jonny Lamb Sat, 21 Feb 2009 15:07:13 +0000 --- gitg-0.0.5.orig/debian/control +++ gitg-0.0.5/debian/control @@ -0,0 +1,25 @@ +Source: gitg +Section: vcs +Priority: optional +Maintainer: Jonny Lamb +Build-Depends: debhelper (>= 5), autotools-dev, pkg-config, gnome-common, libglib2.0-dev, libgtk2.0-dev, libgtksourceview2.0-dev, libgconf2-dev, quilt +Standards-Version: 3.8.1 +Homepage: http://trac.novowork.com/gitg/ +Vcs-Git: git://git.jonnylamb.com/git/packaging/gitg.git +Vcs-Browser: http://git.jonnylamb.com/?p=packaging/gitg.git;a=summary + +Package: gitg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, git-core +Description: git repository viewer for gtk+/GNOME + gitg is a fast GTK2 git repository browser for the GNOME desktop. + It currently features: + . + * Loading large repositories very fast + * Show/browse repository history + * Show highlighted revision diff + * Browse file tree of a revision and export by drag and drop + * Search in the revision history on subject, author or hash + * Switch between history view of branches easily + * Commit view providing per hunk stage/unstage and commit + --- gitg-0.0.5.orig/debian/gbp.conf +++ gitg-0.0.5/debian/gbp.conf @@ -0,0 +1,8 @@ +[DEFAULT] +debian-branch = debian +upstream-branch = upstream +pristine-tar = True + +[git-buildpackage] +tarball-dir = ../tarballs/ +export-dir = ../build-area/ --- gitg-0.0.5.orig/debian/copyright +++ gitg-0.0.5/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Jonny Lamb on +Sat, 14 Feb 2009 16:44:16 +0000. + +The original tarball was created from a Git snapshot from +git://git.gnome.org/gitg. + +Files: * +Copyright: Copyright (C) 2009 - Jesse van den Kieboom +License: GPL-2+ + On Debian systems, the complete text of the GNU General Public + License can be found in the file `/usr/share/common-licenses/GPL-2'. + +Files: gitg/sexy-icon-entry.* +Copyright: Copyright (C) 2004-2006 Christian Hammond +License: LGPL-2+ + On Debian systems, the complete text of the GNU LGPL-2 can be found + in the file `/usr/share/common-licenses/LGPL-2`. + +Files: debian/* +Copyright: 2009 Jonny Lamb +License: GPL-2 + On Debian systems, the complete text of the GNU General Public + License can be found in the file `/usr/share/common-licenses/GPL-2'. --- gitg-0.0.5.orig/debian/rules +++ gitg-0.0.5/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +configure_flags += --prefix=/usr \ + --sysconfdir=/usr/share \ + --build=$(DEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +include $(CURDIR)/debian/update-patches.mk +include /usr/share/quilt/quilt.make + +configure: patch + dh_testdir + CFLAGS="$(CFLAGS)" ./autogen.sh $(configure_flags) + +build: build-stamp + +build-stamp: configure + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/gitg install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_install + dh_installman + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gitg-0.0.5.orig/debian/compat +++ gitg-0.0.5/debian/compat @@ -0,0 +1 @@ +5 --- gitg-0.0.5.orig/debian/patches/series +++ gitg-0.0.5/debian/patches/series @@ -0,0 +1 @@ +0001-Change-Categories-to-Development-RevisionControl.patch --- gitg-0.0.5.orig/debian/patches/0001-Change-Categories-to-Development-RevisionControl.patch +++ gitg-0.0.5/debian/patches/0001-Change-Categories-to-Development-RevisionControl.patch @@ -0,0 +1,21 @@ +From 706e045c531b0b0e859029a3ffb985b12d043c75 Mon Sep 17 00:00:00 2001 +From: Jonny Lamb +Date: Mon, 23 Mar 2009 12:50:09 +0000 +Subject: [PATCH] Change Categories to Development;RevisionControl; + +Signed-off-by: Jonny Lamb +--- + data/gitg.desktop.in.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/data/gitg.desktop.in.in b/data/gitg.desktop.in.in +index 608ce86..4698e15 100644 +--- a/data/gitg.desktop.in.in ++++ b/data/gitg.desktop.in.in +@@ -7,5 +7,5 @@ TryExec=gitg + Terminal=false + Type=Application + Icon=gitg48x48.png +-Categories=GNOME;GTK;Development; ++Categories=GNOME;GTK;Development;RevisionControl; + #X-GNOME-DocPath=gitg/gitg.xml