[SCM] Packaging the irrlicht game engine branch, master, updated. e1573c95f7e8214810b502f9005780bdfd9176cb

Christoph Egger Christoph.Egger at gmx.de
Sun Apr 19 13:57:12 UTC 2009


The following commit has been merged in the master branch:
commit e1573c95f7e8214810b502f9005780bdfd9176cb
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date:   Sun Apr 19 15:57:01 2009 +0200

    some initial debianization

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a8cf646
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+irrlicht (1.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Christoph Egger <debian at christoph-egger.org>  Fri, 10 Apr 2009 11:30:21 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..800ecc7
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+lib/Linux/libIrrlicht.a
+lib/Linux/libIrrlicht.so.1.5
+source/Irrlicht/libIrrlicht.so.1.5
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..631d206
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: irrlicht
+Priority: extra
+Maintainer: Christoph Egger <debian at christoph-egger.org>
+Build-Depends: quilt, debhelper (>= 7), libjpeg62-dev, libpng12-dev, zlib1g-dev
+  mesa-common-dev, perl, libglu1-mesa-dev, libsdl1.2-dev, libx11-dev,
+  libxrandr-dev, x11proto-xf86vidmode-dev, libxxf86vm-dev
+Standards-Version: 3.8.1
+Section: libs
+Homepage: http://irrlicht.sf.net
+
+Package: irrlicht-dev
+Section: libdevel
+Architecture: any
+Depends: irrlicht1.5 (= ${binary:Version})
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
+Package: libirrlicht1.5
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..565b26f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,233 @@
+This package was debianized by Christoph Egger <debian at christoph-egger.org> on
+Fri, 10 Apr 2009 11:30:21 +0200.
+
+It was downloaded from <url://example.com>
+
+TODO:
+	dmfsupport.h
+
+Copyright:
+
+    © 2002-2008 Nikolaus Gebhardt
+    © 2002-2008 Thomas Alten
+    © 2006-2008 Luke Hoschke
+    © 2002-2008 Christian Stehno
+    © 2005-2008 Etienne Petitjean
+    © 2006-2008 Michael Zeilfelder 
+    © 2006-2008 Kat'Oun
+    © 2002-2008 Saurav Mohapatra
+    © 2004-2005 Murphy McCauley
+    © 2002-2008 ZDimitor
+    © 2002-2008 Anders la Cour-Harbo
+    © 2002-2008 Salvatore Russo
+    © 2002-2008 Fabio Concas
+    © 2005      A. Buschhueter
+    © 2002-2008 Jonas Petersen
+    © 2002-2008 William Finlayson
+    © 2002-2008 Michael Zoech
+    © 2002-2008 Spintz
+    © 2007      Dean Wadsworth
+
+License:
+
+    This software is provided 'as-is', without any express or implied
+    warranty.  In no event will the authors be held liable for any damages
+    arising from the use of this software.
+  
+    Permission is granted to anyone to use this software for any purpose,
+    including commercial applications, and to alter it and redistribute it
+    freely, subject to the following restrictions:
+  
+    1. The origin of this software must not be misrepresented; you must not
+       claim that you wrote the original software. If you use this software
+       in a product, an acknowledgment in the product documentation would be
+       appreciated but is not required.
+    2. Altered source versions must be plainly marked as such, and must not be
+       misrepresented as being the original software.
+    3. This notice may not be removed or altered from any source distribution.
+
+source/Irrlicht/CDMFLoader.{cpp,h} has the additional term
+
+    You can use this software as you wish but you must not remove these notes about license nor
+    credits to others for parts of this code.
+
+The Debian packaging is:
+
+    © 2009 Christoph Egger <debian at christoph-egger.org>
+
+and is licensed under the same terms as Irrlicht, reproduced above.
+
+Shipped convenice libraries:
+
+source/Irrlicht/{glext.h,glxext.h,wglext.h}
+
+    Copyright (c) 2007 The Khronos Group Inc.
+ 
+    Permission is hereby granted, free of charge, to any person obtaining a
+    copy of this software and/or associated documentation files (the
+    "Materials"), to deal in the Materials without restriction, including
+    without limitation the rights to use, copy, modify, merge, publish,
+    distribute, sublicense, and/or sell copies of the Materials, and to 
+    permit persons to whom the Materials are furnished to do so, subject to
+    the following conditions:
+ 
+    The above copyright notice and this permission notice shall be included
+    in all copies or substantial portions of the Materials.
+ 
+    THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+    MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+
+
+libjpeg (source/Irrlicht/jpeglib)
+
+	Copyright © 1991-1998, Thomas G. Lane.
+
+source/Irrlicht/jpeglib/ansi2knr.c
+
+		    GHOSTSCRIPT GENERAL PUBLIC LICENSE
+		    (Clarified 11 Feb 1988)
+
+ Copyright (C) 1988 Richard M. Stallman
+ Everyone is permitted to copy and distribute verbatim copies of this
+ license, but changing it is not allowed.  You can also use this wording
+ to make the terms for other programs.
+
+  The license agreements of most software companies keep you at the
+mercy of those companies.  By contrast, our general public license is
+intended to give everyone the right to share Ghostscript.  To make sure
+that you get the rights we want you to have, we need to make
+restrictions that forbid anyone to deny you these rights or to ask you
+to surrender the rights.  Hence this license agreement.
+
+  Specifically, we want to make sure that you have the right to give
+away copies of Ghostscript, that you receive source code or else can get
+it if you want it, that you can change Ghostscript or use pieces of it
+in new free programs, and that you know you can do these things.
+
+  To make sure that everyone has such rights, we have to forbid you to
+deprive anyone else of these rights.  For example, if you distribute
+copies of Ghostscript, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must tell them their rights.
+
+  Also, for our own protection, we must make certain that everyone finds
+out that there is no warranty for Ghostscript.  If Ghostscript is
+modified by someone else and passed on, we want its recipients to know
+that what they have is not what we distributed, so that any problems
+introduced by others will not reflect on our reputation.
+
+  Therefore we (Richard M. Stallman and the Free Software Foundation,
+Inc.) make the following terms which say what you must do to be allowed
+to distribute or change Ghostscript.
+
+
+			COPYING POLICIES
+
+  1. You may copy and distribute verbatim copies of Ghostscript source
+code as you receive it, in any medium, provided that you conspicuously
+and appropriately publish on each copy a valid copyright and license
+notice "Copyright (C) 1989 Aladdin Enterprises.  All rights reserved.
+Distributed by Free Software Foundation, Inc." (or with whatever year is
+appropriate); keep intact the notices on all files that refer to this
+License Agreement and to the absence of any warranty; and give any other
+recipients of the Ghostscript program a copy of this License Agreement
+along with the program.  You may charge a distribution fee for the
+physical act of transferring a copy.
+
+  2. You may modify your copy or copies of Ghostscript or any portion of
+it, and copy and distribute such modifications under the terms of
+Paragraph 1 above, provided that you also do the following:
+
+    a) cause the modified files to carry prominent notices stating
+    that you changed the files and the date of any change; and
+
+    b) cause the whole of any work that you distribute or publish,
+    that in whole or in part contains or is a derivative of Ghostscript
+    or any part thereof, to be licensed at no charge to all third
+    parties on terms identical to those contained in this License
+    Agreement (except that you may choose to grant more extensive
+    warranty protection to some or all third parties, at your option).
+
+    c) You may charge a distribution fee for the physical act of
+    transferring a copy, and you may at your option offer warranty
+    protection in exchange for a fee.
+
+Mere aggregation of another unrelated program with this program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other program under the scope of these terms.
+
+  3. You may copy and distribute Ghostscript (or a portion or derivative
+of it, under Paragraph 2) in object code or executable form under the
+terms of Paragraphs 1 and 2 above provided that you also do one of the
+following:
+
+    a) accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    b) accompany it with a written offer, valid for at least three
+    years, to give any third party free (except for a nominal
+    shipping charge) a complete machine-readable copy of the
+    corresponding source code, to be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    c) accompany it with the information you received as to where the
+    corresponding source code may be obtained.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form alone.)
+
+For an executable file, complete source code means all the source code for
+all modules it contains; but, as a special exception, it need not include
+source code for modules which are standard libraries that accompany the
+operating system on which the executable file runs.
+
+  4. You may not copy, sublicense, distribute or transfer Ghostscript
+except as expressly provided under this License Agreement.  Any attempt
+otherwise to copy, sublicense, distribute or transfer Ghostscript is
+void and your rights to use the program under this License agreement
+shall be automatically terminated.  However, parties who have received
+computer software programs from you with this License Agreement will not
+have their licenses terminated so long as such parties remain in full
+compliance.
+
+  5. If you wish to incorporate parts of Ghostscript into other free
+programs whose distribution conditions are different, write to the Free
+Software Foundation at 675 Mass Ave, Cambridge, MA 02139.  We have not
+yet worked out a simple rule that can be stated here, but we will often
+permit this.  We will be guided by the two goals of preserving the free
+status of all derivatives of our free software and of promoting the
+sharing and reuse of software.
+
+Your comments and suggestions about our licensing policies and our
+software are welcome!  Please contact the Free Software Foundation,
+Inc., 675 Mass Ave, Cambridge, MA 02139, or call (617) 876-3296.
+
+		       NO WARRANTY
+
+  BECAUSE GHOSTSCRIPT IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
+NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW.  EXCEPT
+WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC, RICHARD
+M. STALLMAN, ALADDIN ENTERPRISES, L. PETER DEUTSCH, AND/OR OTHER PARTIES
+PROVIDE GHOSTSCRIPT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE
+ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF GHOSTSCRIPT IS WITH
+YOU.  SHOULD GHOSTSCRIPT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL RICHARD M.
+STALLMAN, THE FREE SOFTWARE FOUNDATION, INC., L. PETER DEUTSCH, ALADDIN
+ENTERPRISES, AND/OR ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE
+GHOSTSCRIPT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
+ANY LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
+(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
+INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A FAILURE OF THE
+PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) GHOSTSCRIPT, EVEN IF YOU
+HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM
+BY ANY OTHER PARTY.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b2b2a78
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+readme.txt
diff --git a/debian/irrlicht-dev.dirs b/debian/irrlicht-dev.dirs
new file mode 100644
index 0000000..192d207
--- /dev/null
+++ b/debian/irrlicht-dev.dirs
@@ -0,0 +1,4 @@
+usr/lib
+usr/include
+usr/include
+usr/include/Irrlicht
diff --git a/debian/irrlicht-dev.install b/debian/irrlicht-dev.install
new file mode 100644
index 0000000..12fc9a4
--- /dev/null
+++ b/debian/irrlicht-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+
diff --git a/debian/irrlicht1.5.dirs b/debian/irrlicht1.5.dirs
new file mode 100644
index 0000000..07c2980
--- /dev/null
+++ b/debian/irrlicht1.5.dirs
@@ -0,0 +1,2 @@
+usr/
+usr/lib
diff --git a/debian/irrlicht1.5.install b/debian/irrlicht1.5.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/irrlicht1.5.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..71a9ac9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,114 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+include /usr/share/quilt/quilt.make
+-include /usr/share/topgit/tg2quilt.mk
+
+# shared library versions, option 1
+version=1.5
+major=1
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+build-lib-%: $(QUILT_STAMPFN) move-away
+	dh_testdir
+
+	(cd source/Irrlicht; \
+		CFLAGS="$(CFLAGS)" LFLAGS="$(LFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) $*; \
+	);
+
+	touch $@
+
+move-away:
+	touch move-away
+	mkdir conveniencesources
+	mv source/Irrlicht/zlib conveniencesources
+	mv source/Irrlicht/libpng conveniencesources
+	mv source/Irrlicht/jpeglib conveniencesources
+
+build: build-lib-sharedlib build-lib-staticlib
+
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	-mv conveniencesources/* source/Irrlicht
+	rm -rf conveniencesources
+	rm -f move-away
+
+	# Add here commands to clean up after the build process.
+
+	(cd source/Irrlicht; \
+		$(MAKE) clean; \
+	)
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib
+	mkdir -p $(CURDIR)/debian/tmp/usr/include/Irrlicht
+
+	# Add here commands to install the package into debian/tmp
+	( cd source/Irrlicht; \
+		$(MAKE) DESTDIR=$(CURDIR)/debian/tmp INSTALL_DIR=$(CURDIR)/debian/tmp/usr/lib install; \
+	)
+	cp include/* $(CURDIR)/debian/tmp/usr/include/Irrlicht
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs changes.txt
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..cd89f11
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# Not used anyway
+irrlicht source: ancient-libtool source/Irrlicht/jpeglib/ltconfig
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a386cfb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+http://irrlicht.sourceforge.net.net/download.html irrlicht-(.*)\.zip
+
+# http://sf.net/irrlicht/irrlicht-([\.0-9]+)\.zip

-- 
Packaging the irrlicht game engine



More information about the Pkg-games-commits mailing list