X Strike Force XOrg SVN commit: r67 - / xorg-template xorg-template/trunk xorg-template/trunk/debian
Author: fabbione
Date: 2004-10-20 03:11:37 -0500 (Wed, 20 Oct 2004)
New Revision: 67
Added:
xorg-template/
xorg-template/branches/
xorg-template/tags/
xorg-template/trunk/
xorg-template/trunk/debian/
xorg-template/trunk/debian/CHANGESETS
xorg-template/trunk/debian/MANIFEST.any
xorg-template/trunk/debian/TODO
xorg-template/trunk/debian/changelog
xorg-template/trunk/debian/compat
xorg-template/trunk/debian/control
xorg-template/trunk/debian/patches/
xorg-template/trunk/debian/rules
Log:
Create standard template for xorg projects/packages.
NOTE: do NOT set the Id keyword on these files!
Added: xorg-template/trunk/debian/CHANGESETS
===================================================================
--- xorg-template/trunk/debian/CHANGESETS 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/CHANGESETS 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1,14 @@
+Changeset Log
+=============
+
+$Id$
+
+This file identifies trunk revisions that should be handled (e.g., merged) as a
+unit. Standalone updates to the TODO or CHANGESETS files are not recorded here.
+(It should always be safe to merge the latest version of TODO or CHANGESETS
+files anywhere.)
+
+* Import initial debian/* files
+
+
+vim:set ai et sts=4 sw=4 tw=80:
Added: xorg-template/trunk/debian/MANIFEST.any
===================================================================
Added: xorg-template/trunk/debian/TODO
===================================================================
--- xorg-template/trunk/debian/TODO 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/TODO 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1,20 @@
+To-Do List
+==========
+
+$Id$
+
+As items are completed, move them to the CHANGESETS file. The release manager
+has discretion to identify items that must be fixed for the next package
+release.
+
+Items under actual package version headings are listed in descending order of
+priority; that is, the most important items come first.
+
+6.8.1-1
+-------
+
+* Add proper description to the package.
+* Add copyright file from xorg package (when ready).
+* debian/control needs a lot of love due to binary packages reorganization.
+
+vim:set ai et sts=4 sw=4 tw=80:
Added: xorg-template/trunk/debian/changelog
===================================================================
--- xorg-template/trunk/debian/changelog 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/changelog 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1,9 @@
+xorg-@NAME@ (6.8.1-0+SVN) unstable; urgency=low
+
+ * First release.
+
+ -- Fabio M. Di Nitto <fabbione@fabbione.net> Wed, 22 Sep 2004 13:51:39 +0200
+
+ $Id$
+
+ vim:set ai et sts=2 sw=2 tw=78:
Added: xorg-template/trunk/debian/compat
===================================================================
--- xorg-template/trunk/debian/compat 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/compat 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1 @@
+4
Added: xorg-template/trunk/debian/control
===================================================================
--- xorg-template/trunk/debian/control 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/control 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1,12 @@
+Source: xorg-@NAME@
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Uploaders: Branden Robinson <branden@debian.org>, Fabio M. Di Nitto <fabbione@fabbione.net>
+Standards-Version: 3.6.1
+Build-Depends-Indep: dpkg (>= 1.7.0), dbs, debhelper (>= 4.1.16), xutils-devel (>= 6.8.1-0+SVN)
+
+Package: @FOO@
+Architecture: all|any
+Description: @BAR@
+ @BAZ@
Added: xorg-template/trunk/debian/rules
===================================================================
--- xorg-template/trunk/debian/rules 2004-10-20 06:42:51 UTC (rev 66)
+++ xorg-template/trunk/debian/rules 2004-10-20 08:11:37 UTC (rev 67)
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# Original by Fabio M. Di Nitto <fabbione@fabbione.net>
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# $Id: rules 54 2004-10-19 08:45:53Z fabbione $
+
+# debhelper
+export DH_OPTIONS
+
+# Use the DBS archive/patch handling system.
+SCRIPT_DIR = /usr/share/dbs
+
+TAR_DIR = xc
+include $(SCRIPT_DIR)/dbs-build.mk
+
+SOURCE_TREE=build-tree/xc
+SOURCE_DIR=build-tree
+PROJECT_DIR=@DIRECTORY_TO_BUILD@
+
+# dpkg-arch rules
+ifeq (,$(DEB_BUILD_GNU_TYPE))
+ include $(SCRIPT_DIR)/dpkg-arch.mk
+endif
+
+# Determine our architecture.
+include /usr/share/xorg/dbuild-scripts/arch.mk
+
+# Import standard check-manifest.
+include /usr/share/xorg/dbuild-scripts/check-manifest.mk
+
+# Import anal patch-audit check.
+include /usr/share/xorg/dbuild-scripts/patch-audit.mk
+
+configure: $(STAMP_DIR)/configure
+$(STAMP_DIR)/configure: $(patched)
+ dh_testdir
+ abspath=`pwd` && \
+ cd $(SOURCE_TREE)/$(PROJECT_DIR) && \
+ imake -I/usr/share/xorg/config -DTOPDIR=$$abspath/$(SOURCE_TREE) -DCURDIR=$$abspath/$(SOURCE_TREE)/$(PROJECT_DIR) -DUseInstalled && \
+ $(MAKE) Makefiles
+ touch $@
+
+build: $(STAMP_DIR)/build
+$(STAMP_DIR)/build: patch-audit configure
+ dh_testdir
+ cd $(SOURCE_TREE)/$(PROJECT_DIR) && \
+ $(MAKE)
+ touch $@
+
+install: $(STAMP_DIR)/install
+$(STAMP_DIR)/install: build
+ dh_testdir
+ dh_testroot
+ abspath=`pwd` && \
+ cd $(SOURCE_TREE)/$(PROJECT_DIR) && \
+ $(MAKE) install install.man DESTDIR=$$abspath/debian/tmp
+ # Install lintian override.
+ #install -d -m 755 debian/tmp/usr/share/lintian/overrides/
+ #install -m 644 debian/@FOO@.lintian debian/tmp/usr/share/lintian/overrides/@FOO@
+ touch $@
+
+binary-arch: check-manifest
+ dh_testdir
+ dh_install --sourcedir=debian/tmp
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary-indep: check-manifest
+ dh_testdir
+ dh_install --sourcedir=debian/tmp
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary: binary-arch binary-indep
+
+clean:
+ dh_testdir
+ dh_clean
+ rm -rf debian/tmp debian/MANIFEST.$(ARCH) debian/MANIFEST.$(ARCH).new
+ rm -rf $(STAMP_DIR) $(SOURCE_DIR)
+ perl $(SCRIPT_DIR)/dbs_split clean
+
+# vim:set noet ai sts=8 sw=8 tw=0:
Property changes on: xorg-template/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Reply to: