r6613 - in packages/trunk/gimp-dds/debian: . patches

Vincent Fourmond fourmond at alioth.debian.org
Thu Apr 17 19:25:50 UTC 2008


Author: fourmond
Date: 2008-04-17 19:25:49 +0000 (Thu, 17 Apr 2008)
New Revision: 6613

Added:
   packages/trunk/gimp-dds/debian/gimp-dds.docs
   packages/trunk/gimp-dds/debian/gimp-dds.install
   packages/trunk/gimp-dds/debian/patches/
   packages/trunk/gimp-dds/debian/patches/makefile.diff
   packages/trunk/gimp-dds/debian/patches/series
Removed:
   packages/trunk/gimp-dds/debian/watch
Modified:
   packages/trunk/gimp-dds/debian/changelog
   packages/trunk/gimp-dds/debian/control
   packages/trunk/gimp-dds/debian/copyright
   packages/trunk/gimp-dds/debian/rules
Log:
[gimp-dds] Initial packaging

Modified: packages/trunk/gimp-dds/debian/changelog
===================================================================
--- packages/trunk/gimp-dds/debian/changelog	2008-04-17 18:20:30 UTC (rev 6612)
+++ packages/trunk/gimp-dds/debian/changelog	2008-04-17 19:25:49 UTC (rev 6613)
@@ -1,6 +1,9 @@
 gimp-dds (2.0.3-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release (Closes: #476189)
+  * No watch file, as it does not seem easy to guess the upstream
+    version number from the download link (well, impossible, that is)
+  * makefile.diff to pass the -Wl,--as-needed flag to gcc to drastically
+    reduce the number of dependencies
 
- -- Vincent Fourmond <fourmond at debian.org>  Thu, 17 Apr 2008 20:13:37 +0200
-
+ -- Vincent Fourmond <fourmond at debian.org>  Thu, 17 Apr 2008 21:22:59 +0200

Modified: packages/trunk/gimp-dds/debian/control
===================================================================
--- packages/trunk/gimp-dds/debian/control	2008-04-17 18:20:30 UTC (rev 6612)
+++ packages/trunk/gimp-dds/debian/control	2008-04-17 19:25:49 UTC (rev 6613)
@@ -1,12 +1,17 @@
 Source: gimp-dds
-Section: unknown
-Priority: extra
+Section: graphics
+Priority: optional
 Maintainer: Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>= 5)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), libgimp2.0-dev, pkg-config, quilt
+Standards-Version: 3.7.3
+Homepage: http://nifelheim.dyndns.org/~cocidius/dds/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gimp-dds
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/gimp-dds/?op=log
 
 Package: gimp-dds
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: DDS (DirectDraw Surface) plugin for the gimp
+ gimp-dds is a plugin for the gimp that lets you manipulate Microsoft
+ DirectDraw surfaces. These kind of files are widely used in 3D games for
+ textures and the like.

Modified: packages/trunk/gimp-dds/debian/copyright
===================================================================
--- packages/trunk/gimp-dds/debian/copyright	2008-04-17 18:20:30 UTC (rev 6612)
+++ packages/trunk/gimp-dds/debian/copyright	2008-04-17 19:25:49 UTC (rev 6613)
@@ -1,24 +1,29 @@
 This package was debianized by Vincent Fourmond <fourmond at debian.org> on
-Thu, 17 Apr 2008 20:13:37 +0200.
+Thu Apr 17 20:23:44 CEST 2008.
 
-It was downloaded from <url://example.com>
+It was downloaded from http://nifelheim.dyndns.org/~cocidius/dds/
 
-Upstream Author(s): 
+Files: *
+Copyright: Copyright: 2004-2008 Shawn Kirst <skirst at insightbb.com>
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-    <put author's name and email here>
-    <likewise for another author>
+Files: debian/*
+Copyright: 2008 Vincent Fourmond <fourmond at debian.org>
+License: GPL-2+
 
-Copyright: 
+On Debian systems, the complete text of the GNU General Public License
+version 2 (GPL-2+) can be found in  `/usr/share/common-licenses/GPL-2.'
 
-    <Copyright (C) YYYY Name OfAuthor>
-    <likewise for another author>
-
-License:
-
-    <Put the license of the package here indented by 4 spaces>
-
-The Debian packaging is (C) 2008, Vincent Fourmond <fourmond at debian.org> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.

Added: packages/trunk/gimp-dds/debian/gimp-dds.docs
===================================================================
--- packages/trunk/gimp-dds/debian/gimp-dds.docs	                        (rev 0)
+++ packages/trunk/gimp-dds/debian/gimp-dds.docs	2008-04-17 19:25:49 UTC (rev 6613)
@@ -0,0 +1 @@
+README* 
\ No newline at end of file

Added: packages/trunk/gimp-dds/debian/gimp-dds.install
===================================================================
--- packages/trunk/gimp-dds/debian/gimp-dds.install	                        (rev 0)
+++ packages/trunk/gimp-dds/debian/gimp-dds.install	2008-04-17 19:25:49 UTC (rev 6613)
@@ -0,0 +1 @@
+dds /usr/lib/gimp/2.0/plug-ins/
\ No newline at end of file

Added: packages/trunk/gimp-dds/debian/patches/makefile.diff
===================================================================
--- packages/trunk/gimp-dds/debian/patches/makefile.diff	                        (rev 0)
+++ packages/trunk/gimp-dds/debian/patches/makefile.diff	2008-04-17 19:25:49 UTC (rev 6613)
@@ -0,0 +1,16 @@
+Add the --as-needed flag to take down the number of libraries linked
+against this package
+
+Index: gimp-dds-2.0.3/Makefile.linux
+===================================================================
+--- gimp-dds-2.0.3.orig/Makefile.linux	2008-04-17 21:12:11.000000000 +0200
++++ gimp-dds-2.0.3/Makefile.linux	2008-04-17 21:12:40.000000000 +0200
+@@ -4,7 +4,7 @@
+ CC=gcc
+ CFLAGS=-pipe -O2 -Wall `pkg-config --cflags gtk+-2.0 gimp-2.0`
+ LD=gcc
+-LDFLAGS=
++LDFLAGS=-Wl,--as-needed
+ 
+ TARGET=dds
+ 

Added: packages/trunk/gimp-dds/debian/patches/series
===================================================================
--- packages/trunk/gimp-dds/debian/patches/series	                        (rev 0)
+++ packages/trunk/gimp-dds/debian/patches/series	2008-04-17 19:25:49 UTC (rev 6613)
@@ -0,0 +1 @@
+makefile.diff

Modified: packages/trunk/gimp-dds/debian/rules
===================================================================
--- packages/trunk/gimp-dds/debian/rules	2008-04-17 18:20:30 UTC (rev 6612)
+++ packages/trunk/gimp-dds/debian/rules	2008-04-17 19:25:49 UTC (rev 6613)
@@ -10,25 +10,17 @@
 #export DH_VERBOSE=1
 
 
-
-
 configure: configure-stamp
+
 configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	touch $@
 
-	touch configure-stamp
-
-
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp: configure-stamp
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(MAKE)
-	#docbook-to-man debian/gimp-dds.sgml > gimp-dds.1
-
 	touch $@
 
 clean:
@@ -36,50 +28,27 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	# Add here commands to clean up after the build process.
 	$(MAKE) clean
 
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	dh_clean 
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/gimp-dds.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/gimp-dds install
-
-
 # Build architecture-independent files here.
-binary-indep: build install
+binary-indep: build
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
+	dh_install
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol

Deleted: packages/trunk/gimp-dds/debian/watch
===================================================================
--- packages/trunk/gimp-dds/debian/watch	2008-04-17 18:20:30 UTC (rev 6612)
+++ packages/trunk/gimp-dds/debian/watch	2008-04-17 19:25:49 UTC (rev 6613)
@@ -1,22 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
-version=3
-
-# Uncomment to examine a Webpage 
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php gimp-dds-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/gimp-dds-(.*)\.tar\.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/gimp-dds-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge, for debscripts >= 2.9
-# http://sf.net/gimp-dds/gimp-dds-(.*)\.tar\.gz
-
-




More information about the Pkg-games-commits mailing list