debian/0000755000000000000000000000000012213147736007174 5ustar debian/fp-units-castle-game-engine.docs0000644000000000000000000000002412213037267015227 0ustar packages/README.txt debian/control0000644000000000000000000000464012213141237010571 0ustar Source: castle-game-engine Section: misc Priority: optional Maintainer: Abou Al Montacir Uploaders: Paul Gevers Standards-Version: 3.9.4 Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-units-gfx, fp-units-gtk2, fp-units-multimedia, fp-units-net, fp-utils (>= 2.6.2), quilt Vcs-Git: http://code.google.com/p/pascal-for-debian.castle-game-engine Vcs-Browser: http://code.google.com/p/pascal-for-debian/source/browse/?repo=castle-game-engine Homepage: http://castle-engine.sourceforge.net/engine.php Package: fp-units-castle-game-engine Architecture: amd64 i386 Depends: ${fpc-abi:Depends}, ${misc:Depends}, ${shlibs:Depends} Recommends: castle-game-engine-doc, fpc, lazarus Suggests: castle-game-engine-src Description: Castle Game Engine - 3D game engine for FreePascal / Lazarus Castle Game Engine is a set of LGPL licenced libraries that are inteded to ease developing 3D games with FreePascal / Lazarus. . It provides an excellent support for the VRML / X3D 3D data format. Other 3D formats are also supported. . It features many advanced graphic effects and easy to use API on top of OpenGL. . This package contains the FPC units. Package: castle-game-engine-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: castle-game-engine-src, fp-units-castle-game-engine Description: Castle Game Engine - Developer's Documentation Castle Game Engine is a set of LGPL licenced libraries that are inteded to ease developing 3D games with FreePascal / Lazarus. . It provides an excellent support for the VRML / X3D 3D data format. Other 3D formats are also supported. . It features many advanced graphic effects and easy to use API on top of OpenGL. . This package contains documentation. Package: castle-game-engine-src Section: doc Architecture: all Depends: ${misc:Depends} Recommends: castle-game-engine-doc, fpc, lazarus Suggests: fp-units-castle-game-engine Description: Castle Game Engine - Source code for Lazarus integration Castle Game Engine is a set of LGPL licenced libraries that are inteded to ease developing 3D games with FreePascal / Lazarus. . It provides an excellent support for the VRML / X3D 3D data format. Other 3D formats are also supported. . It features many advanced graphic effects and easy to use API on top of OpenGL. . This package contains source code for integration with Lazarus RAD IDE. debian/README.Debian0000644000000000000000000000036312212642767011242 0ustar castle-game-engine for Debian ----------------------------- In order to integrate with lazarus, you need to install source package called castle-game-engine-src. -- Abou Al Montacir Sat, 27 Apr 2013 18:06:40 +0100 debian/compat0000644000000000000000000000000212212642767010375 0ustar 7 debian/fp-units-castle-game-engine.install0000644000000000000000000000001112212642767015747 0ustar /usr/lib debian/castle-game-engine-src.install0000644000000000000000000000003512212642767014777 0ustar /usr/src/castle-game-engine* debian/castle-game-engine-doc.docs0000644000000000000000000000004512213141354014223 0ustar doc/*.txt doc/pasdoc/html README.txt debian/watch0000644000000000000000000000043112212642767010226 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ http://qa.debian.org/watch/sf.php/castle-engine/castle_game_engine-(\d.*)-src\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Wed, 06 Mar 2013 05:12:44 +0000 debian/rules0000755000000000000000000001427512213145442010255 0ustar #!/usr/bin/make -f # debian/rules for Castle Game Engine DEB_PACKAGE_NAME=castle-game-engine DEB_DH_BUILDDEB_ARGS := -- -Z bzip2 export DH_ALWAYS_EXCLUDE := COPYING:LICENSE export LANG:=C # Documentation type to use chm/html ifeq (${DEBDOCTYPE},) DOCTYPE=html # HTML Converter chmdocs or htmldocs for (default) CONVERTER=${DOCTYPE}docs else DOCTYPE=${DEBDOCTYPE} CONVERTER=${DOCTYPE}docs endif # Define FPC ifndef FPC FPC=/usr/bin/fpc endif # Set FPCVER FPCVER=$(shell ${FPC} -iV) CPU_TARGET?=$(shell ${FPC} -iTP) OS_TARGET?=$(shell ${FPC} -iTO) FPCTARGET=${CPU_TARGET}-${OS_TARGET} # Get version information from changelog file DEB_VERSION:=$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ') DEB_UPSTREAM_VERSION:=$(shell echo $(DEB_VERSION) | cut -f 1 -d -) DEB_UPSTREAM_MAIN_VERSION:=$(shell echo ${DEB_UPSTREAM_VERSION} | sed -e 's/^\([0-9\.]*\).*/\1/') DEB_BUILD=$(lastword $(subst -, ,${DEB_VERSION})) ifndef PACKAGESUFFIX PACKAGESUFFIX=-${DEB_UPSTREAM_MAIN_VERSION} endif DEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # Get directories CURDIR:=$(shell pwd) INSTALL_DIR=$(CURDIR)/debian/tmp LIB_DIR=${INSTALL_DIR}/usr/lib/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION} SRC_DIR=${INSTALL_DIR}/usr/src/${DEB_PACKAGE_NAME}-${DEB_UPSTREAM_MAIN_VERSION} UNITS_DIR=${INSTALL_DIR}/usr/lib/${DEB_HOST_MULTIARCH}/fp-units-${FPCVER}/${DEB_PACKAGE_NAME}-${DEB_UPSTREAM_MAIN_VERSION} # Get utils ifndef MKDIR MKDIR=mkdir -p endif ifndef CP CP=cp -Rfpl endif RM:=rm -rf # Get fpcmake from path if none is specified. ifndef FPCMAKE FPCMAKE=fpcmake endif # Define FPCDIR if it was not set ifndef FPCDIR export FPCDIR=/usr/lib/fpc/${FPCVER} endif ifndef LAZBUILD LAZBUILD=lazbuild endif # Set default compilation options BUILDOPTS= # Configure patch system include /usr/share/quilt/quilt.make #export DH_VERBOSE=1 ################### # Clean # clean: patch configure clean-patched unpatch # Remove auto-generated make files. find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';' # dh_clean gets a list of files from the debian/clean file dh_clean clean-patched: @echo "--- Cleaning" dh_testdir $(MAKE) clean dh_prep ################### # Arch packages # configure: patch configure-stamp configure-stamp: dh_testdir # Remove auto-generated make files. find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';' # # Regenrate make files using fpcmake. # ${FPCMAKE} -r -Tall # # Remove auto-generated version file. # ${RM} ide/version.inc # # Add version.inc: # echo \'$(DEB_VERSION)\' > version.inc touch configure-stamp build-arch: configure build-arch-stamp build-arch-stamp: @echo "--- Building" dh_testdir ${MAKE} all touch build-arch-stamp install-arch: build-arch install-arch-stamp install-arch-stamp: @echo "--- Installing" dh_testdir dh_testroot dh_installdirs # Install units ${MKDIR} ${UNITS_DIR} ${CP} -t ${UNITS_DIR} units/${FPCTARGET}/* # copy images, sounds, icons and menu entries for the GNOME menu #${MKDIR} $(INSTALL_DIR)/usr/share #${CP} -t $(INSTALL_DIR)/usr/share \ # build/share/applications \ # build/share/icons \ # build/share/images \ # build/share/locale \ # build/share/man \ # build/share/sounds # Mark package as manually compilable and install them for package in $$(find * -name '*.lpk') ; \ do \ pkgDir=$$(dirname "${LIB_DIR}/$${package}") ; \ ${MKDIR} "$${pkgDir}" ; \ sed -e 's@\(\W*\).*@\1\n&@' \ -e "s@\.\./src/@$$(relpath ${SRC_DIR} $${pkgDir})/@g" \ -e "s@\(\W*\)@" \ "$${package}" > "${LIB_DIR}/$${package}" ; \ done find ${INSTALL_DIR} -empty -delete touch install-arch-stamp build-indep: configure build-doc install-indep: install-doc install-source ################### # Documentation # build-doc: patch build-doc-stamp build-doc-stamp: @echo "--- Building Documentation" dh_testdir # Need to active the next line when pasdoc is packaged for Debian # ${MAKE} -C doc/pasdoc ${CONVERTER} ${BUILDOPTS} touch build-doc-stamp install-doc: build-doc install-doc-stamp install-doc-stamp: @echo "--- Installing Documentation" dh_testdir dh_testroot # No need to do anything now as we take specific docs straight # from the source dir with dh_installdocs in the binary-indep target touch install-doc-stamp ################### # Source # install-source: install-source-stamp install-source-stamp: @echo "--- Cleaning the tree and copying the source code" dh_testdir dh_testroot ${MKDIR} ${SRC_DIR} ${CP} -t ${SRC_DIR} \ $(CURDIR)/src/* find $(INSTALL_DIR) -name '*.bmp' -exec chmod 644 '{}' ';' find ${SRC_DIR} -empty -delete touch install-source-stamp ################### # Generic # build: build-arch build-indep install: install-arch install-indep binary: binary-arch binary-indep ################### # Deb building # binary-indep: install-indep @echo "--- Building: arch-indep packages" dh_testdir dh_testroot dh_installdocs -i -X.in dh_installchangelogs -i dh_install -i --list-missing dh_lintian ifeq (${DEB_BUILD},0) # We are building upstream debs, install override files for build = 0 set -x -e ; cd debian ; for PACKAGE in `sed -n -e 's/Package: \(.*\)/\1/p' control` ; do \ if [ -d $${PACKAGE} ] ; \ then \ ${MKDIR} $${PACKAGE}/usr/share/lintian/overrides ; \ echo "$${PACKAGE}: debian-revision-should-not-be-zero" >> $${PACKAGE}/usr/share/lintian/overrides/$${PACKAGE} ; \ fi ; \ done endif dh_compress -i -X.pdf dh_fixperms dh_installdebconf -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS) binary-arch: install-arch @echo "--- Building: arch packages" dh_testdir dh_testroot dh_link dh_installdocs -a -X.in dh_installchangelogs -a dh_installexamples -a dh_install -a --list-missing dh_lintian dh_installmenu fpc-depends dh_installman -s dh_strip -s dh_compress -a dh_fixperms dh_installdebconf -a dh_installdeb -a dh_shlibdeps -s dh_gencontrol -s dh_md5sums -s dh_builddeb -s $(DEB_DH_BUILDDEB_ARGS) .PHONY: build clean binary binary-arch \ binary-indep build-arch \ install install-indep install-arch \ configure get-orig-source: -uscan --upstream-version=0 --rename debian/clean0000644000000000000000000000005712213141354010171 0ustar # auto-generated version file. ide/version.inc debian/changelog0000644000000000000000000000073512213146711011043 0ustar castle-game-engine (4.1.1-1) unstable; urgency=low * New upstream release - Drop all patches, applied upstream - Add fp-units-net to Build-depends * Add myself to uploaders * Reorganize d/rules -- Paul Gevers Sun, 08 Sep 2013 21:18:46 +0200 castle-game-engine (4.0.1-1) unstable; urgency=low * Packaged Castle Game Engine for Debian. (Closes: Bug#706408) -- Abou Al Montacir Sat, 27 Apr 2013 18:06:40 +0100 debian/source/0000755000000000000000000000000012212642767010477 5ustar debian/source/format0000644000000000000000000000001412212642767011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000456312212642767011142 0ustar This package was debianized by Abou Al Montacir on Sat, 27 Apr 2013 18:06:40 +0100. It was downloaded from http://castle-engine.sourceforge.net. Upstream Authors: Michalis Kamburelis Copyright: (C) 1999-2013 Michalis Kamburelis The core of "Castle Game Engine" (almost everything that can be found in the original sources archive) may be used on the terms of: 1. GNU General Public License (version 2 or above, whichever you like), see COPYING.GPL2.txt for GPL 2 text, see http://www.gnu.org/copyleft/gpl.html for current version, FAQs etc. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. 2. Or on a more permissive GNU Lesser General Public License (again version 2 or above, whichever you like), (also called "Library General Public License" in earlier versions), see COPYING.LGPL2.txt for LGPL 2 text, see http://www.gnu.org/copyleft/lesser.html for current version, FAQs etc. Please note that if you want to use LGPL: - You *have* to modify src/base/castleconf.inc to make symbol CASTLE_ENGINE_LGPL defined. This will avoid pulling any GPL-only (strict) dependencies into the engine --- currently this concerns NURBS implementatiopn. - Also, we add the so-called "static linking exception" to LGPL. The idea is that you can statically link closed-source code with the engine, the exact legal text follows: As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. On Debian systems, the complete text of the GNU Lesser General Public License, version 2, can be found in /usr/share/common-licenses/LGPL-2. debian/castle-game-engine-doc.doc-base0000644000000000000000000000045512213141354014755 0ustar Document: castle-game-engine-doc Title: Castle Game Engine Documentation Author: Abou Al Montacir Abstract: Documentation for the Castle Game Engine. . Section: Programming Format: html Files: /usr/share/doc/castle-game-engine-doc/html/* Index: /usr/share/doc/castle-game-engine-doc/html/index.html