Author: ceros-guest Date: 2007-11-16 06:16:21 +0000 (Fri, 16 Nov 2007) New Revision: 4695
Added: packages/trunk/ogreal/.pc/ packages/trunk/ogreal/.pc/.version packages/trunk/ogreal/debian/ packages/trunk/ogreal/debian/changelog packages/trunk/ogreal/debian/compat packages/trunk/ogreal/debian/control packages/trunk/ogreal/debian/copyright packages/trunk/ogreal/debian/libogreal-dev.README.Debian packages/trunk/ogreal/debian/libogreal-dev.examples packages/trunk/ogreal/debian/libogreal-dev.install packages/trunk/ogreal/debian/libogreal0.install packages/trunk/ogreal/debian/ogreal-tarball.sh packages/trunk/ogreal/debian/patches/ packages/trunk/ogreal/debian/patches/fix_typo.diff packages/trunk/ogreal/debian/patches/makefile_modifications.diff packages/trunk/ogreal/debian/patches/series packages/trunk/ogreal/debian/resources.cfg packages/trunk/ogreal/debian/rules Log: [svn-inject] Applying Debian modifications to trunk Added: packages/trunk/ogreal/.pc/.version =================================================================== --- packages/trunk/ogreal/.pc/.version (rev 0) +++ packages/trunk/ogreal/.pc/.version 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1 @@ +2 Property changes on: packages/trunk/ogreal/debian ___________________________________________________________________ Name: mergeWithUpstream + 1 Added: packages/trunk/ogreal/debian/changelog =================================================================== --- packages/trunk/ogreal/debian/changelog (rev 0) +++ packages/trunk/ogreal/debian/changelog 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,6 @@ +ogreal (0.2+svn20071115.84-1) unstable; urgency=low + + [ Andres Mejia ] + * Initial packaging. + + -- Andres Mejia <[EMAIL PROTECTED]> Thu, 15 Nov 2007 14:28:41 -0500 Added: packages/trunk/ogreal/debian/compat =================================================================== --- packages/trunk/ogreal/debian/compat (rev 0) +++ packages/trunk/ogreal/debian/compat 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1 @@ +5 Added: packages/trunk/ogreal/debian/control =================================================================== --- packages/trunk/ogreal/debian/control (rev 0) +++ packages/trunk/ogreal/debian/control 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,66 @@ +Source: ogreal +Priority: optional +Section: libs +Maintainer: Debian Games Team <[EMAIL PROTECTED]> +Uploaders: Andres Mejia <[EMAIL PROTECTED]>, Federico Di Gregorio <[EMAIL PROTECTED]> +Build-Depends: debhelper (>= 5), tofrodos, quilt, libtool, automake, pkg-config, chrpath, libogre-dev (>= 1.4), libvorbis-dev, libogg-dev, libalut-dev, libopenal-dev, libois-dev +Standards-Version: 3.7.2 +Homepage: http://sourceforge.net/projects/ogreal/ +XS-Vcs-Svn: svn+ssh://svn.debian.org/pkg-games/packages/trunk/ogreal +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/ogreal/?op=log + +Package: libogreal0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: OpenAL plugin for the Ogre Rendering Engine (libraries) + OgreAL an OpenAL plugin for the Ogre Rendering Engine. + . + At the moment OgreAL will allow you to load in wav and ogg files. The Sound + objects act like any other object in Ogre, you can attach it to SceneNodes and + move it around the scene. This allows you to place the sound source anywhere + in the scene and move it as needed, you can also have background music or + sounds. It allows some basic sound manipulation such as doppler effect and + directional sounds. + . + This package contains the OgreAL library. + . + Homepage: http://sourceforge.net/projects/ogreal/ + +Package: libogreal0-dbg +Section: libdevel +Architecture: any +Depends: libogreal0 (= ${binary:Version}) +Description: OpenAL plugin for the Ogre Rendering Engine (debugging libs) + OgreAL an OpenAL plugin for the Ogre Rendering Engine. + . + At the moment OgreAL will allow you to load in wav and ogg files. The Sound + objects act like any other object in Ogre, you can attach it to SceneNodes and + move it around the scene. This allows you to place the sound source anywhere + in the scene and move it as needed, you can also have background music or + sounds. It allows some basic sound manipulation such as doppler effect and + directional sounds. + . + This package contains the debugging version of the OgreAL library. + . + Homepage: http://sourceforge.net/projects/ogreal/ + +Package: libogreal-dev +Section: libdevel +Architecture: any +Depends: libogreal0 (= ${binary:Version}), libogre-dev (>= 1.4), libvorbis-dev, libogg-dev, libalut-dev, libopenal-dev +Description: OpenAL plugin for the Ogre Rendering Engine (development files) + OgreAL an OpenAL plugin for the Ogre Rendering Engine. + . + At the moment OgreAL will allow you to load in wav and ogg files. The Sound + objects act like any other object in Ogre, you can attach it to SceneNodes and + move it around the scene. This allows you to place the sound source anywhere + in the scene and move it as needed, you can also have background music or + sounds. It allows some basic sound manipulation such as doppler effect and + directional sounds. + . + This package contains the headers and static libraries needed to develop + with OgreAL. This package also contains the OgreAL demos along with its source + code to learn from. + . + Homepage: http://sourceforge.net/projects/ogreal/ Added: packages/trunk/ogreal/debian/copyright =================================================================== --- packages/trunk/ogreal/debian/copyright (rev 0) +++ packages/trunk/ogreal/debian/copyright 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,33 @@ +This package was debianized on Thu, 11 Oct 2007 12:00:46 -0400 by: + + Andres Mejia <[EMAIL PROTECTED]> + +Original sources were checked out from SVN from a specific revision: + + https://ogreal.svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL-Eihort + revision 84 + +Upstream Authors: + + Casey Borders + +Copyright: + + OgreAL, an OpenAL plugin for the Ogre Rendering Engine. + Copyright (C) 2006 Casey Borders + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, a copy of the LGPL can be found at /usr/share/common-licenses/LGPL. Added: packages/trunk/ogreal/debian/libogreal-dev.README.Debian =================================================================== --- packages/trunk/ogreal/debian/libogreal-dev.README.Debian (rev 0) +++ packages/trunk/ogreal/debian/libogreal-dev.README.Debian 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,7 @@ +OgreAL Demos +========================================================================== +Demos are included in the ogrealdemos.tar.gz tarball in the examples directory. +Source code for the demos is also provided in the examples directory. + +An added dependency of libois1 will need to be installed before the demos can +be run. Added: packages/trunk/ogreal/debian/libogreal-dev.examples =================================================================== --- packages/trunk/ogreal/debian/libogreal-dev.examples (rev 0) +++ packages/trunk/ogreal/debian/libogreal-dev.examples 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,5 @@ +Demos/Basic_Demo +Demos/Directional_Demo +Demos/Doppler_Demo +Demos/MultiChannel_Demo +debian/tmp/usr/lib/ogrealdemos.tar.gz Added: packages/trunk/ogreal/debian/libogreal-dev.install =================================================================== --- packages/trunk/ogreal/debian/libogreal-dev.install (rev 0) +++ packages/trunk/ogreal/debian/libogreal-dev.install 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*.so +usr/lib/*.la +usr/lib/pkgconfig/* Added: packages/trunk/ogreal/debian/libogreal0.install =================================================================== --- packages/trunk/ogreal/debian/libogreal0.install (rev 0) +++ packages/trunk/ogreal/debian/libogreal0.install 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1 @@ +usr/lib/*.so.* Added: packages/trunk/ogreal/debian/ogreal-tarball.sh =================================================================== --- packages/trunk/ogreal/debian/ogreal-tarball.sh (rev 0) +++ packages/trunk/ogreal/debian/ogreal-tarball.sh 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,29 @@ +#! /bin/sh + +# This script is used to generate the ogreal orig tarball that can be +# distributed through Debian. + +UPSTREAM_SVN=https://ogreal.svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL-Eihort +REVISION=84 +ORIGINAL_DATE=20071115 + +if [ ! -d ogreal-0.2+svn$ORIGINAL_DATE.$REVISION ] ; then +# Checkout from SVN + svn co -r $REVISION $UPSTREAM_SVN ogreal-0.2+svn$ORIGINAL_DATE.$REVISION + echo "Checked out ogreal revision $REVISION from SVN" +fi + +# Remove all SVN directories +echo "Removing all .svn directories" +for REMOVE_SVN in `find ogreal-0.2+svn$ORIGINAL_DATE.$REVISION -type d -name .svn`; do + rm -rf "$REMOVE_SVN" +done + +# Create the tarball +if [ ! -f ogreal-0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz ]; then + echo "Creating orig tarball." + tar -czf ogreal_0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz ogreal-0.2+svn$ORIGINAL_DATE.$REVISION/ +else + echo -e "Already found orig tarball. Please remove or move \n ogreal-0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz." + exit 0 +fi Added: packages/trunk/ogreal/debian/patches/fix_typo.diff =================================================================== --- packages/trunk/ogreal/debian/patches/fix_typo.diff (rev 0) +++ packages/trunk/ogreal/debian/patches/fix_typo.diff 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,45 @@ +--- ./Demos/Basic_Demo/Listener.cpp~ 2007-10-11 11:55:59.000000000 -0400 ++++ ./Demos/Basic_Demo/Listener.cpp 2007-10-10 14:58:38.000000000 -0400 +@@ -38,7 +38,7 @@ + mMouse = static_cast<OIS::Mouse*>(mInputManager->createInputObject(OIS::OISMouse, true)); + mMouse->setEventCallback(this); + } +- if(mInputManager->numKeyboards() > 0) ++ if(mInputManager->numKeyBoards() > 0) + { + mKeyboard = static_cast<OIS::Keyboard*>(mInputManager->createInputObject(OIS::OISKeyboard, true)); + mKeyboard->setEventCallback(this); + +--- ./Demos/Directional_Demo/Listener.cpp~ 2007-10-11 11:55:59.000000000 -0400 ++++ ./Demos/Directional_Demo/Listener.cpp 2007-10-10 14:58:05.000000000 -0400 +@@ -40,7 +40,7 @@ + mMouse = static_cast<OIS::Mouse*>(mInputManager->createInputObject(OIS::OISMouse, true)); + mMouse->setEventCallback(this); + } +- if(mInputManager->numKeyboards() > 0) ++ if(mInputManager->numKeyBoards() > 0) + { + mKeyboard = static_cast<OIS::Keyboard*>(mInputManager->createInputObject(OIS::OISKeyboard, true)); + mKeyboard->setEventCallback(this); +--- ./Demos/Doppler_Demo/Listener.cpp~ 2007-10-11 11:56:00.000000000 -0400 ++++ ./Demos/Doppler_Demo/Listener.cpp 2007-10-10 14:57:55.000000000 -0400 +@@ -123,7 +123,7 @@ + mMouse = static_cast<OIS::Mouse*>(mInputManager->createInputObject(OIS::OISMouse, true)); + mMouse->setEventCallback(this); + } +- if(mInputManager->numKeyboards() > 0) ++ if(mInputManager->numKeyBoards() > 0) + { + mKeyboard = static_cast<OIS::Keyboard*>(mInputManager->createInputObject(OIS::OISKeyboard, true)); + mKeyboard->setEventCallback(this); +--- ./Demos/MultiChannel_Demo/Listener.cpp~ 2007-10-11 11:56:00.000000000 -0400 ++++ ./Demos/MultiChannel_Demo/Listener.cpp 2007-10-10 14:57:39.000000000 -0400 +@@ -38,7 +38,7 @@ + mMouse = static_cast<OIS::Mouse*>(mInputManager->createInputObject(OIS::OISMouse, true)); + mMouse->setEventCallback(this); + } +- if(mInputManager->numKeyboards() > 0) ++ if(mInputManager->numKeyBoards() > 0) + { + mKeyboard = static_cast<OIS::Keyboard*>(mInputManager->createInputObject(OIS::OISKeyboard, true)); + mKeyboard->setEventCallback(this); Added: packages/trunk/ogreal/debian/patches/makefile_modifications.diff =================================================================== --- packages/trunk/ogreal/debian/patches/makefile_modifications.diff (rev 0) +++ packages/trunk/ogreal/debian/patches/makefile_modifications.diff 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,55 @@ +--- ./Demos/Basic_Demo/Makefile.am~ 2007-10-11 11:55:59.000000000 -0400 ++++ ./Demos/Basic_Demo/Makefile.am 2007-10-10 17:21:49.000000000 -0400 +@@ -1,5 +1,6 @@ + INCLUDES= -I$(top_srcdir)/include $(OGREAL_CFLAGS) +-demosdir= $(abs_top_builddir)/Demos/bin ++demosdir= $(prefix)/lib/ogrealdemos ++LIBS+=-lOIS + demos_PROGRAMS= Basic + Basic_SOURCES= Listener.cpp Listener.h main.cpp OgreApp.cpp OgreApp.h + Basic_LDFLAGS= -L$(top_builddir)/src +--- ./Demos/Directional_Demo/Makefile.am~ 2007-10-11 11:55:59.000000000 -0400 ++++ ./Demos/Directional_Demo/Makefile.am 2007-10-10 17:22:00.000000000 -0400 +@@ -1,5 +1,6 @@ + INCLUDES= -I$(top_srcdir)/include $(OGREAL_CFLAGS) +-demosdir= $(abs_top_builddir)/Demos/bin ++demosdir= $(prefix)/lib/ogrealdemos ++LIBS+=-lOIS + demos_PROGRAMS= Directional + Directional_SOURCES= Listener.cpp Listener.h main.cpp OgreApp.cpp OgreApp.h + Directional_LDFLAGS= -L$(top_builddir)/src +--- ./Demos/Doppler_Demo/Makefile.am~ 2007-10-11 11:56:00.000000000 -0400 ++++ ./Demos/Doppler_Demo/Makefile.am 2007-10-10 17:22:23.000000000 -0400 +@@ -1,5 +1,6 @@ + INCLUDES= -I$(top_srcdir)/include $(OGREAL_CFLAGS) +-demosdir= $(abs_top_builddir)/Demos/bin ++demosdir= $(prefix)/lib/ogrealdemos ++LIBS+=-lOIS + demos_PROGRAMS= Doppler + Doppler_SOURCES= Listener.cpp Listener.h main.cpp OgreApp.cpp OgreApp.h BetaGUI.h BetaGUI.cpp + Doppler_LDFLAGS= -L$(top_builddir)/src +--- ./Demos/MultiChannel_Demo/Makefile.am~ 2007-10-11 11:56:00.000000000 -0400 ++++ ./Demos/MultiChannel_Demo/Makefile.am 2007-10-10 17:23:24.000000000 -0400 +@@ -1,5 +1,6 @@ + INCLUDES= -I$(top_srcdir)/include $(OGREAL_CFLAGS) +-demosdir= $(abs_top_builddir)/Demos/bin ++demosdir= $(prefix)/lib/ogrealdemos ++LIBS+=-lOIS + demos_PROGRAMS= MultiChannel + MultiChannel_SOURCES= Listener.cpp Listener.h main.cpp OgreApp.cpp OgreApp.h + MultiChannel_LDFLAGS= -L$(top_builddir)/src +--- ./Demos/bin/Makefile.am~ 2007-10-11 11:56:00.000000000 -0400 ++++ ./Demos/bin/Makefile.am 2007-10-10 17:03:28.000000000 -0400 +@@ -6,9 +6,9 @@ + -e "s,@OGREAL_MEDIADIR\@,$(top_srcdir)/Demos/Media,g" + + install-data-local: +- for i in $(CONFIG_FILES) ; do \ +- $(edit) $(srcdir)/$$i.in > $$i.tmp && \ +- $(INSTALL_DATA) $$i.tmp $$i && \ ++ for i in $(CONFIG_FILES); do \ ++ $(edit) $(srcdir)/$$i.in > $$i.tmp; \ ++ $(INSTALL_DATA) $$i.tmp $$i; \ + rm -f $$i.tmp; \ + done + Added: packages/trunk/ogreal/debian/patches/series =================================================================== --- packages/trunk/ogreal/debian/patches/series (rev 0) +++ packages/trunk/ogreal/debian/patches/series 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,2 @@ +fix_typo.diff +makefile_modifications.diff Added: packages/trunk/ogreal/debian/resources.cfg =================================================================== --- packages/trunk/ogreal/debian/resources.cfg (rev 0) +++ packages/trunk/ogreal/debian/resources.cfg 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,11 @@ +# Resource locations to be added to the default path +[General] +FileSystem=Media +FileSystem=Media/Audio +FileSystem=Media/Gui +FileSystem=Media/Materials +FileSystem=Media/Materials/Scripts +FileSystem=Media/Materials/Textures +FileSystem=Media/Models +Zip=Media/Materials/bguires.zip +Zip=Media/Materials/Textures/cubemapsJS.zip Added: packages/trunk/ogreal/debian/rules =================================================================== --- packages/trunk/ogreal/debian/rules (rev 0) +++ packages/trunk/ogreal/debian/rules 2007-11-16 06:16:21 UTC (rev 4695) @@ -0,0 +1,116 @@ +#! /usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS += -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +from-dos: + dh_testdir + fromdos -e Demos/Basic_Demo/Listener.cpp + fromdos -e Demos/Directional_Demo/Listener.cpp + fromdos -e Demos/Doppler_Demo/Listener.cpp + fromdos -e Demos/MultiChannel_Demo/Listener.cpp + +patch: from-dos patch-stamp +patch-stamp: + dh_testdir + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + touch patch-stamp + +configure: patch configure-stamp +configure-stamp: + dh_testdir + # Modified bootstrapping from upstream, declares everything obsolete. + rm -rf autom4te.cache + libtoolize --force --copy + aclocal + autoheader -f + automake --add-missing --force-missing --copy --foreign + autoconf -f + ./configure --prefix=/usr + touch configure-stamp + +build: configure build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: clean-stamp unpatch to-dos +clean-stamp: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) clean distclean + rm -f configure-stamp build-stamp + dh_clean + +unpatch: + dh_testdir + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + rm -f patch-stamp + +to-dos: + dh_testdir + dh_testroot + todos -e Demos/Basic_Demo/Listener.cpp + todos -e Demos/Directional_Demo/Listener.cpp + todos -e Demos/Doppler_Demo/Listener.cpp + todos -e Demos/MultiChannel_Demo/Listener.cpp + +install: build + dh_testdir + dh_testroot + dh_clean -k + install -d debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + ldconfig -n debian/tmp/usr/lib + cd debian/tmp/usr/lib/ogrealdemos && \ + chrpath -d Basic Directional Doppler MultiChannel + ln -s /etc/OGRE/plugins.cfg debian/tmp/usr/lib/ogrealdemos/plugins.cfg + cp -r Demos/Media debian/tmp/usr/lib/ogrealdemos/Media + cp debian/resources.cfg debian/tmp/usr/lib/ogrealdemos/resources.cfg + cd debian/tmp/usr/lib && \ + tar -czf ogrealdemos.tar.gz ogrealdemos/ + +# Build architecture-independent files here. +binary-indep: +# Nothing to be done for binary-indep + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install --sourcedir=debian/tmp + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples -XDebug -XRelease -X.cbp -X.vcproj -X.o -XMakefile -X.deps -X.libs + # Remove binaries from examples directory + rm debian/libogreal-dev/usr/share/doc/libogreal-dev/examples/Basic_Demo/Basic + rm debian/libogreal-dev/usr/share/doc/libogreal-dev/examples/Directional_Demo/Directional + rm debian/libogreal-dev/usr/share/doc/libogreal-dev/examples/Doppler_Demo/Doppler + rm debian/libogreal-dev/usr/share/doc/libogreal-dev/examples/MultiChannel_Demo/MultiChannel + dh_strip -plibogreal0 --dbg-package=libogreal0-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: unpack configure build clean binary-indep binary-arch binary install Property changes on: packages/trunk/ogreal/debian/rules ___________________________________________________________________ Name: svn:executable + * _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

