--- taoframework-2.1.svn20090801.orig/debian/monodoc-taoframework-manual.prerm +++ taoframework-2.1.svn20090801/debian/monodoc-taoframework-manual.prerm @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +# Make sure the index is in exactly once +grep -v Tao /usr/lib/monodoc/monodoc.xml \ + > /usr/lib/monodoc/monodoc.xml.new +mv /usr/lib/monodoc/monodoc.xml.new \ + /usr/lib/monodoc/monodoc.xml + +#DEBHELPER# --- taoframework-2.1.svn20090801.orig/debian/monodoc-taoframework-manual.install +++ taoframework-2.1.svn20090801/debian/monodoc-taoframework-manual.install @@ -0,0 +1 @@ +/usr/lib/monodoc --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ffmpeg0.4-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-ffmpeg0.4-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-ffmpeg-0.4/Tao.FFmpeg.dll --- taoframework-2.1.svn20090801.orig/debian/taoframework-examples.examples +++ taoframework-2.1.svn20090801/debian/taoframework-examples.examples @@ -0,0 +1,2 @@ +debian/examples/* +debian/Makefile --- taoframework-2.1.svn20090801.orig/debian/copyright +++ taoframework-2.1.svn20090801/debian/copyright @@ -0,0 +1,64 @@ +This package was debianized by Dylan R. E. Moonfire on +Fri, 22 Feb 2006 15:48:04 -0600. + +It was downloaded from http://www.taoframework.com/ + +Upstream Authors: Tao Framework Team and others + + +Framework copyright: + Copyright (C) 2003-2007 Tao Framework Team + Copyright (C) 2004-2005 Vladimir Vukicevic + + +Examples copyright: + Copyright (c) 2002-2004 Marcus Geelnard + Copyright (c) 2003-2004 Randy Ridge + Copyright (c) 1993-1997, Silicon Graphics, Inc. + Copyright (c) Mark J. Kilgard, 1994. + Copyright (C) 2000-2002 by Denton Woods + Copyright (C) 2003 Will Weisser (ogl@9mm.com) + + +Framework licence: MIT Licence + Copyright (c) 2003-2007 Tao Framework Team + http://www.taoframework.com + All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + 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 Software. + + THE SOFTWARE IS 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 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + +SDL examples licence: + 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 St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-lua5.1-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-lua5.1-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-lua* +/usr/lib/pkgconfig/tao-lua* --- taoframework-2.1.svn20090801.orig/debian/Makefile +++ taoframework-2.1.svn20090801/debian/Makefile @@ -0,0 +1,141 @@ +# Very simple makefile to build the Tao examples + +CSC = gmcs -target:winexe -debug +RESGEN = resgen2 + +SYSTEM_LIBS = -r:System +DRAWING_LIBS = -r:System.Windows.Forms -r:System.Data -r:System.Drawing + +# unsupported: +# CgExamples (libCg is not in Debian) +# GlfwExamples (Glfw is Windows-only) +# NeHe (examples require Windows specific stuff) +SUBDIRS = OdeExamples SdlExamples DevIlExamples FtGlScrolling \ + FtGlSimple LuaFunctions LuaSimple OpenAlExamples \ + FFmpegExamples PhysFsExamples FreeGlutExamples \ + NateRobins Redbook GeWangExamples +TARGETS = $(addsuffix /Example.exe, $(SUBDIRS)) + +all: $(TARGETS) + +clean: + rm -f $(TARGETS) $(addsuffix /*.resources, $(SUBDIRS)) + +ODE_DIR = OdeExamples +ODE_SRC = Basic.cs +$(ODE_DIR)/Example.exe: $(addprefix $(ODE_DIR)/, $(ODE_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-ode $(SYSTEM_LIBS) + +SDL_DIR = SdlExamples +SDL_SRC = GfxPrimitives.cs Program.cs Rectangles.cs SdlExamples.cs \ + SdlExamples.Designer.cs SmpegPlayer.cs SdlExamples.resx +SDL_RES = SdlExamples.SdlExamples.resources +$(SDL_DIR)/$(SDL_RES): $(SDL_DIR)/$(filter %.resx, $(SDL_SRC)) + $(RESGEN) $^ $@ +$(SDL_DIR)/Example.exe: $(addprefix $(SDL_DIR)/, $(SDL_SRC) $(SDL_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) -pkg:tao-sdl \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + +DEVIL_DIR = DevIlExamples +DEVIL_SRC = SimpleExample.cs +$(DEVIL_DIR)/Example.exe: $(addprefix $(DEVIL_DIR)/, $(DEVIL_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-devil $(SYSTEM_LIBS) + +FTGL1_DIR = FtGlScrolling +FTGL1_SRC = FtGlScrolling.cs +$(FTGL1_DIR)/Example.exe: $(addprefix $(FTGL1_DIR)/, $(FTGL1_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-ftgl -pkg:tao-freetype -pkg:tao-freeglut \ + $(SYSTEM_LIBS) + +FTGL2_DIR = FtGlSimple +FTGL2_SRC = FtGlSimple.cs +$(FTGL2_DIR)/Example.exe: $(addprefix $(FTGL2_DIR)/, $(FTGL2_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-ftgl -pkg:tao-freetype -pkg:tao-freeglut \ + $(SYSTEM_LIBS) + +LUA1_DIR = LuaFunctions +LUA1_SRC = Functions.cs +$(LUA1_DIR)/Example.exe: $(addprefix $(LUA1_DIR)/, $(LUA1_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-lua $(SYSTEM_LIBS) + +LUA2_DIR = LuaSimple +LUA2_SRC = Simple.cs +$(LUA2_DIR)/Example.exe: $(addprefix $(LUA2_DIR)/, $(LUA2_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-lua $(SYSTEM_LIBS) + +OPENAL_DIR = OpenAlExamples +OPENAL_SRC = Boxes.cs Lesson01.cs Lesson02.cs Lesson03.cs Lesson05.cs \ + OpenAlExamples.cs OpenAlExamples.Designer.cs Program.cs \ + Sound.cs Waterfall.cs OpenAlExamples.resx +OPENAL_RES = OpenAlExamples.OpenAlExamples.resources +$(OPENAL_DIR)/$(OPENAL_RES): $(OPENAL_DIR)/$(filter %.resx, $(OPENAL_SRC)) + $(RESGEN) $^ $@ +$(OPENAL_DIR)/Example.exe: $(addprefix $(OPENAL_DIR)/, $(OPENAL_SRC) $(OPENAL_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) \ + -pkg:tao-openal -pkg:tao-freeglut -pkg:tao-opengl \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + +FFMPEG_DIR = FFmpegExamples +FFMPEG_SRC = AudioStream.cs Decoder.cs Player.cs Player.Designer.cs \ + Program.cs Player.resx +FFMPEG_RES = FFmpegExamples.Player.resources +$(FFMPEG_DIR)/$(FFMPEG_RES): $(FFMPEG_DIR)/$(filter %.resx, $(FFMPEG_SRC)) + $(RESGEN) $^ $@ +$(FFMPEG_DIR)/Example.exe: $(addprefix $(FFMPEG_DIR)/, $(FFMPEG_SRC) $(FFMPEG_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) -pkg:tao-openal -pkg:tao-ffmpeg \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + +PHYSFS_DIR = PhysFsExamples +PHYSFS_SRC = Simple.cs +$(PHYSFS_DIR)/Example.exe: $(addprefix $(PHYSFS_DIR)/, $(PHYSFS_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-physfs $(SYSTEM_LIBS) + +FREEGLUT_DIR = FreeGlutExamples +FREEGLUT_SRC = One.cs +$(FREEGLUT_DIR)/Example.exe: $(addprefix $(FREEGLUT_DIR)/, $(FREEGLUT_SRC)) + $(CSC) -out:$@ $^ -pkg:tao-freeglut $(SYSTEM_LIBS) + +OPENGL1_DIR = NateRobins +OPENGL1_SRC = Area.cs Maiden.cs MultiView.cs NateRobins.cs \ + NateRobins.Designer.cs Nii.cs Node.cs Null.cs Point.cs \ + Program.cs Qix.cs Rotate.cs Starfield.cs Strip.cs Texture.cs \ + Voronoi.cs NateRobins.resx +OPENGL1_RES = NateRobins.Naterobins.resources +$(OPENGL1_DIR)/$(OPENGL1_RES): $(OPENGL1_DIR)/$(filter %.resx, $(OPENGL1_SRC)) + $(RESGEN) $^ $@ +$(OPENGL1_DIR)/Example.exe: $(addprefix $(OPENGL1_DIR)/, $(OPENGL1_SRC) $(OPENGL1_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) -pkg:tao-freeglut \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + +OPENGL2_DIR = Redbook +OPENGL2_SRC = Aaindex.cs Aapoly.cs Aargb.cs Accanti.cs Accpersp.cs Alpha3d.cs \ + Alpha.cs Anti.cs Bezcurve.cs Bezmesh.cs Bezsurf.cs Checker.cs \ + CheckerOld.cs Clip.cs Colormat.cs Cube.cs DepthCue.cs Dof.cs \ + Double.cs Drawf.cs Feedback.cs Fog.cs FogIndex.cs FogIndexOld.cs \ + FogOld.cs Font.cs Hello.cs Image.cs Jitter.cs Light.cs Lines.cs \ + List.cs Material.cs Mipmap.cs Model.cs MoveLight.cs Nurbs.cs \ + PickDepth.cs PickSquare.cs Plane.cs Planet.cs PolyOff.cs \ + Polys.cs Program.cs Quadric.cs Redbook.cs Redbook.Designer.cs \ + Robot.cs SceneBlueAmbient.cs SceneColorLight.cs Scene.cs \ + SceneFlat.cs Select.cs Smooth.cs Stencil.cs Stroke.cs Surface.cs \ + SurfaceOld.cs TeaAmbient.cs Teapots.cs Tess.cs TessWind.cs \ + TexBind.cs TexGen.cs TexProx.cs TexSub.cs TextureSurf.cs \ + Torus.cs Trim.cs UnProject.cs Varray.cs Wrap.cs Redbook.resx +OPENGL2_RES = Redbook.Redbook.resources +$(OPENGL2_DIR)/$(OPENGL2_RES): $(OPENGL2_DIR)/$(filter %.resx, $(OPENGL2_SRC)) + $(RESGEN) $^ $@ +$(OPENGL2_DIR)/Example.exe: $(addprefix $(OPENGL2_DIR)/, $(OPENGL2_SRC) $(OPENGL2_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) -pkg:tao-freeglut \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + +OPENGL3_DIR = GeWangExamples +OPENGL3_SRC = ClippingPlanes.cs GeWangExamples.cs GeWangExamples.Designer.cs \ + Lorenz3d.cs Mirror.cs Program.cs Shadow.cs Starfield.cs \ + Xform.cs GeWangExamples.resx +OPENGL3_RES = GeWangExamples.GeWang.resources +$(OPENGL3_DIR)/$(OPENGL3_RES): $(OPENGL3_DIR)/$(filter %.resx, $(OPENGL3_SRC)) + $(RESGEN) $^ $@ +$(OPENGL3_DIR)/Example.exe: $(addprefix $(OPENGL3_DIR)/, $(OPENGL3_SRC) $(OPENGL3_RES)) + $(CSC) -out:$@ $(filter %.cs, $^) -pkg:tao-freeglut \ + -resource:$(filter %.resources, $^) $(SYSTEM_LIBS) $(DRAWING_LIBS) + --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-freetype2.3-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-freetype2.3-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-freetype* +/usr/lib/pkgconfig/tao-freetype* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ftgl2.1-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-ftgl2.1-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-ftgl-2.1/Tao.FtGl.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ode0.9-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-ode0.9-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-ode* +/usr/lib/pkgconfig/tao-ode* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ffmpeg0.4-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-ffmpeg0.4-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-ffmpeg* +/usr/lib/pkgconfig/tao-ffmpeg* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-lua5.1-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-lua5.1-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-lua-5.1/Tao.Lua.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ode0.9-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-ode0.9-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-ode-0.9/Tao.Ode.dll --- taoframework-2.1.svn20090801.orig/debian/compat +++ taoframework-2.1.svn20090801/debian/compat @@ -0,0 +1 @@ +5 --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-openal1.1-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-openal1.1-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-openal* +/usr/lib/pkgconfig/tao-openal* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-sdl1.2-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-sdl1.2-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-sdl* +/usr/lib/pkgconfig/tao-sdl* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-devil1.6-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-devil1.6-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-devil* +/usr/lib/pkgconfig/tao-devil* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-physfs1.0-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-physfs1.0-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-physfs-1.0/Tao.PhysFs.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-freeglut2.4-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-freeglut2.4-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-freeglut-2.4/Tao.FreeGlut.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-physfs1.0-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-physfs1.0-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-physfs* +/usr/lib/pkgconfig/tao-physfs* --- taoframework-2.1.svn20090801.orig/debian/watch +++ taoframework-2.1.svn20090801/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/taoframework/taoframework-(\d+.*)\.tar\.gz --- taoframework-2.1.svn20090801.orig/debian/changelog +++ taoframework-2.1.svn20090801/debian/changelog @@ -0,0 +1,100 @@ +taoframework (2.1.svn20090801-1) unstable; urgency=low + + * New upstream snapshot. + * Removed all Debian patches, they have been merged upstream. + * Fixed the example directory installation and build. + + * debian/control: + + Set package sections to cli-mono. + + Remove trailing "-1" from build dependencies. + + Build-depend on libmono-winforms2.0-cil (Closes: #534026). + + * debian/patches/200_libavcodec_update.diff: + + New patch. Reference libavcodec.so.52 instead of 51 (Closes: #516921). + + -- Sam Hocevar Sun, 15 Feb 2009 12:05:23 +0000 + +taoframework (2.1.svn20090213-1) UNRELEASED; urgency=low + + [ Sam Hocevar ] + * Made the build system work with the new upstream release. + * Add Tao.FreeType packages. + * Add Tao.FtGl packages. + + [ David Paleino ] + * Added debian/watch file + * debian/patches/: + + patches refreshed to cleanly apply to the new release. + + -- David Paleino Sat, 20 Sep 2008 13:27:52 +0200 + +taoframework (2.0.0.svn20071027-5) unstable; urgency=high + + * debian/patches/300_proper_dll_config.diff: + + A rebuild was not sufficient for the openal-soft transition. Fixed + the DLL dependencies manually (Closes: #492310). + * debian/control: + + libnunit2.2.6-cil is no longer in Debian; build-depend against + libnunit2.4-cil instead. + + -- Sam Hocevar (Debian packages) Fri, 05 Sep 2008 09:02:34 +0000 + +taoframework (2.0.0.svn20071027-4) unstable; urgency=high + + * debian/control: + + Build-depend on newer libavcodec-dev packages to cope with soname + bumps (Closes: #482739). + + Rebuild against openal for the openal-soft transition (Closes: #492310). + + Build-depend on the proper libgl{u,}1-mesa-dev packages. + * debian/patches/202_disable_parts_of_glu_doc.diff: + + Fix an old FTBFS by disabling a few documentation comments in the GLU + bindings. + + -- Sam Hocevar (Debian packages) Tue, 19 Aug 2008 09:44:09 +0000 + +taoframework (2.0.0.svn20071027-3) unstable; urgency=low + + * debian/control: + + Build-depend on libnunit2.2.6-cil and fix 100_nunit_pkg_config.diff to + use nunit.pc instead of the DLL (Closes: #456857). Reminder: using + nunit-2.2.pc triggers the following error: `NUnit.Framework.Assert' does + not contain a definition for `AreNotEqual'. + + -- Sam Hocevar (Debian packages) Tue, 18 Dec 2007 17:02:49 +0000 + +taoframework (2.0.0.svn20071027-2) unstable; urgency=low + + * debian/control: + + Set maintainer to Debian CLI Libraries Team. + + Set policy to 3.7.3. + + -- Sam Hocevar (Debian packages) Thu, 13 Dec 2007 18:09:12 +0000 + +taoframework (2.0.0.svn20071027-1) unstable; urgency=low + + [ Dylan R. E. Moonfire and Sebastian Dröge ] + + * Initial 1.3.0 package. (Closes: #344685) + + [ Sam Hocevar ] + + * New 2.0.x upstream snapshot. + * Use quilt for patch management. + * Added myself to the list of uploaders. + + * debian/patches/100_nunit_pkg_config.diff: + + New patch. Use the proper patch to nunit’s dll. + + * debian/patches/200_dllimport_attributes.diff: + + New patch. Add proper dllimport attributes here and there. + + * debian/patches/201_no_resources.diff: + + New patch. Icons and resources fail to load in examples. Just ignore + them. + + * debian/patches/300_proper_dll_config.diff: + + New patch. Fix .dll.config files that no longer match the Debian + versions of the libraries. + + -- Sam Hocevar (Debian packages) Sun, 28 Oct 2007 13:54:26 +0100 + --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-opengl3.0-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-opengl3.0-cil.installcligac @@ -0,0 +1,3 @@ +/usr/lib/cli/tao-opengl-3.0/Tao.OpenGl.dll +/usr/lib/cli/tao-platform-x11-1.0/Tao.Platform.X11.dll +/usr/lib/cli/tao-platform-windows-1.0/Tao.Platform.Windows.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-devil1.6-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-devil1.6-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-devil-1.6/Tao.DevIl.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-freetype2.3-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-freetype2.3-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-freetype-2.3/Tao.FreeType.dll --- taoframework-2.1.svn20090801.orig/debian/rules +++ taoframework-2.1.svn20090801/debian/rules @@ -0,0 +1,104 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export MONO_SHARED_DIR=$(CURDIR) + +UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2 | sed 's,-.*,,' | sed 's,+.*,,') +NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION)) + +configure: configure-stamp +configure-stamp: + dh_testdir + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + ./configure --prefix=/usr + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + + #for dir in $(shell find -maxdepth 2 -wholename './Tao.*/Tao.*' -type d | grep -v '\(Cg\|Glfw\|Tests\|Windows\)'); do \ + # base="$${dir##*/}"; \ + # cp $(CURDIR)/$$dir/$$base.dll \ + # $(CURDIR)/$$dir/$$base.dll.config \ + # $(CURDIR)/build/; \ + # /usr/bin/monodocer --assembly:$(CURDIR)/build/$$base.dll \ + # --path:$(CURDIR)/build/doc/tmp/$$base; \ + # pkg=$$(echo $$base | cut -f2 -d. | tr A-Z a-z); \ + # if [ "$$pkg" = "platform" ]; then continue; fi; \ + # version=$$(monodis --assembly $(CURDIR)/build/$$base.dll | sed -ne 's/Version:[[:space:]]*//p'); \ + # abi=$$(echo $$version | cut -f1,2 -d.); \ + # if [ ! -f debian/tao-$$pkg-$$abi.pc ]; then echo "Error: file debian/tao-$$pkg-$$abi.pc for tao.$$base (version $$version) not found"; exit 1; fi; \ + # pcversion=$$(sed -ne 's/Version:[[:space:]]*//p' debian/tao-$$pkg-$$abi.pc); \ + # if [ "$$version" != "$$pcversion" ]; then echo "Error: version $$pcversion in debian/tao-$$pkg-$$abi.pc does not match tao.$$base version $$version"; exit 1; fi; \ + # if [ ! -f debian/libtaoframework-$$pkg$$abi-cil.install ]; then echo "Error: file debian/libtaoframework-$$pkg$$abi-cil.install for tao.$$base (version $$version) not found"; exit 1; fi; \ + #done + +clean: + dh_testdir + dh_testroot + #rm -f debian/*.config + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf $(CURDIR)/debian/examples + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$$(pwd)/debian/tmp + + # Copy examples contents, then clean up unwanted files + mkdir -p $(CURDIR)/debian/examples + cp -r $(CURDIR)/examples/* $(CURDIR)/debian/examples + find $(CURDIR)/debian/examples '(' -name bin -o -name '*.exe' \ + -o -name '*.dll' -o -name '*.dll.config' -o -name 'Makefile*' \ + -o -name '*.csproj' -o -name COPYING ')' -exec rm -f '{}' ';' + + # On Debian, we want stuff in /usr/lib/cli instead of /usr/lib/mono + # and we manage the GAC ourselves. + mkdir debian/tmp/usr/lib/cli + find debian -path '*lib/mono/tao*' | while read src; do \ + dest=$$(echo "$$src" | sed s,/mono/,/cli/,); \ + [ -d "$$src" ] && mkdir "$$dest"; \ + [ -f "$$src" ] && cp "$$src" "$$dest" && rm -f "$$src"; \ + done + find debian -path '*lib/pkgconfig/*.pc' | while read pc; do \ + sed -i 's,/mono/,/cli/,' "$$pc"; \ + done + rm -Rf debian/tmp/usr/lib/mono/gac + + dh_install -si --list-missing --sourcedir=debian/tmp + dh_installdirs + +binary-arch: + # Do nothing + +binary-indep: build install + dh_testdir + dh_testroot + dh_installcligac + dh_installchangelogs + dh_installdocs + dh_clifixperms + dh_installexamples + dh_installman + dh_link + dh_strip + # please don't compress the examples, thanks + dh_compress -Xusr/share/doc/taoframework-examples/examples + dh_fixperms + dh_installdeb + dh_makeclilibs -m $(UPVERSION) -l $(NEXT_UPVERSION) + dh_clideps -d + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install configure --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-ftgl2.1-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-ftgl2.1-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-ftgl* +/usr/lib/pkgconfig/tao-ftgl* --- taoframework-2.1.svn20090801.orig/debian/monodoc-taoframework-manual.postinst +++ taoframework-2.1.svn20090801/debian/monodoc-taoframework-manual.postinst @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +# Add the Tao node entry +grep -v Tao /usr/lib/monodoc/monodoc.xml \ + | sed 's@^@ \n@' \ + > /usr/lib/monodoc/monodoc.xml.new +mv -f /usr/lib/monodoc/monodoc.xml.new \ + /usr/lib/monodoc/monodoc.xml + +# Rebuild the index +if [ -x /usr/lib/monodoc/browser.exe ]; then + echo "generating monodoc search index..." + monodoc --make-index > /dev/null +fi + +#DEBHELPER# --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-openal1.1-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-openal1.1-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-openal-1.1/Tao.OpenAl.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-sdl1.2-cil.installcligac +++ taoframework-2.1.svn20090801/debian/libtaoframework-sdl1.2-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/tao-sdl-1.2/Tao.Sdl.dll --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-opengl3.0-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-opengl3.0-cil.install @@ -0,0 +1,4 @@ +/usr/lib/cli/tao-opengl* +/usr/lib/pkgconfig/tao-opengl* +/usr/lib/cli/tao-platform* +/usr/lib/pkgconfig/tao-platform* --- taoframework-2.1.svn20090801.orig/debian/libtaoframework-freeglut2.4-cil.install +++ taoframework-2.1.svn20090801/debian/libtaoframework-freeglut2.4-cil.install @@ -0,0 +1,2 @@ +/usr/lib/cli/tao-freeglut* +/usr/lib/pkgconfig/tao-freeglut* --- taoframework-2.1.svn20090801.orig/debian/Tao.source +++ taoframework-2.1.svn20090801/debian/Tao.source @@ -0,0 +1,4 @@ + + + + --- taoframework-2.1.svn20090801.orig/debian/control +++ taoframework-2.1.svn20090801/debian/control @@ -0,0 +1,178 @@ +Source: taoframework +Section: cli-mono +Priority: optional +Maintainer: Debian CLI Libraries Team +Uploaders: Sebastian Dröge , Dylan R. E. Moonfire , Sam Hocevar +Build-Depends: debhelper (>= 5), quilt +Build-Depends-Indep: cli-common-dev (>= 0.4.4), mono-gac, mono-gmcs, mono-2.0-devel, mono-utils, libmono-dev, libopenal-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl1.2-dev, libsmpeg-dev, libode0-dev, libdevil-dev, libphysfs-dev, freeglut3-dev, libglu1-mesa-dev | libglu1-dev, libgl1-mesa-dev | libgl1-dev, monodoc-base, liblua5.1-0-dev, libavcodec-dev (>= 3:0.svn20090303), libavformat-dev (>= 3:0.svn20090303), libnunit2.4-cil, libftgl-dev, libfreetype6-dev, libmono-winforms2.0-cil +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-libs/packages/taoframework/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/taoframework/trunk?op=log +Homepage: http://www.taoframework.com/ + +Package: taoframework-examples +Architecture: all +Depends: ${cli:Depends} +Description: examples for all Tao libraries + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + This package contains some examples for all Tao libraries. + +Package: libtaoframework-opengl3.0-cil +Architecture: all +Depends: ${cli:Depends} +Conflicts: libtaoframework-opengl2.1-cil +Replaces: libtaoframework-opengl2.1-cil +Description: Tao CLI binding for OpenGL and GLU + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + OpenGL is a vendor-neutral, multi-platform standard for high performance + 2D/3D graphics on devices ranging from mobile phones to PCs to + Supercomputers. + GLU is the OpenGL Utility Library. This is a set of functions to create + texture mipmaps from a base image, map coordinates between screen and + object space, and draw quadric surfaces and NURBS. + +Package: libtaoframework-openal1.1-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for OpenAL + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + OpenAL, the Open Audio Library, is a joint effort to create an open, + vendor-neutral, cross-platform API for interactive, primarily spatialized + audio. OpenAL's primary audience are application developers and desktop + users that rely on portable standards like OpenGL, for games and other + multimedia applications. + +Package: libtaoframework-devil1.6-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for DevIL + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + Developer's Image Library (DevIL) is a programmer's library to develop + applications with very powerful image loading capabilities, yet is easy + for a developer to learn and use. Ultimate control of images is left to + the developer, so unnecessary conversions, etc. are not performed. DevIL + utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, + manipulate, filter and display a wide variety of image formats. + +Package: libtaoframework-ode0.9-cil +Architecture: all +Depends: ${cli:Depends} +Conflicts: libtaoframework-ode0.6-cil +Replaces: libtaoframework-ode0.6-cil +Description: Tao CLI binding for ODE + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + Open Dynamics Engine (ODE) is a free, industrial quality library for + simulating articulated rigid body dynamics - for example ground vehicles, + legged creatures, and moving objects in VR environments. It is fast, + flexible, robust and platform independent, with advanced joints, + contact with friction, and built-in collision detection. + +Package: libtaoframework-sdl1.2-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for SDL + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + Simple DirectMedia Layer (SDL) is a cross-platform multimedia library + designed to provide low level access to audio, keyboard, mouse, joystick, + 3D hardware via OpenGL, and 2D video framebuffer. + +Package: libtaoframework-freeglut2.4-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for freeglut + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + freeglut is a completely OpenSourced alternative to the OpenGL Utility + Toolkit (GLUT) library. GLUT (and hence freeglut) allows the user to + create and manage windows containing OpenGL contexts on a wide range of + platforms and also read the mouse, keyboard and joystick functions. + +Package: libtaoframework-physfs1.0-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for PhysicsFS + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + The PhysicsFS filesystem abstraction library provides a simple C + interface to aid game programmers in utilizing game assets packaged in + many different types of archive files. + +Package: libtaoframework-ffmpeg0.4-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for FFmpeg + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + The FFmpeg libraries support most existing file formats (AVI, MPEG, OGG, + Matroska, ASF...) and encoding formats (MPEG, DivX, MPEG4, AC3, DV...). + +Package: libtaoframework-freetype2.3-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for FreeType + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + The FreeType 2 library is a software font engine. It supports high quality, + anti-aliased rendering of TTF and other font formats. + +Package: libtaoframework-ftgl2.1-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for FTGL + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + The FTGL library binds OpenGL and FreeType together in order to offer an + easy to use and flexible text rendering library. It offers several + rendering modes: as polygons, outlines, bitmaps and textures. + +Package: libtaoframework-lua5.1-cil +Architecture: all +Depends: ${cli:Depends} +Description: Tao CLI binding for Lua + The Tao Framework is a collection of bindings and libraries to + facilitate cross-platform games-related development utilizing the Mono + and .NET platforms. + . + Lua is a programming language originally designed for extending + applications, but also frequently used as a general-purpose, + stand-alone language. + +Package: monodoc-taoframework-manual +Architecture: all +Section: doc +Depends: monodoc-manual +Description: compiled XML documentation for all the Tao libraries + The MonoDoc Project is the documentation framework of the Mono project which + provides detailed API documentation for all Mono components and the Mono CLI + implementation. + . + This package contains the compiled XML documentation for Tao. + --- taoframework-2.1.svn20090801.orig/debian/patches/200_libavcodec_update.diff +++ taoframework-2.1.svn20090801/debian/patches/200_libavcodec_update.diff @@ -0,0 +1,13 @@ +Index: taoframework-2.1.svn20090801/src/Tao.FFmpeg/Tao.FFmpeg.dll.config +=================================================================== +--- taoframework-2.1.svn20090801.orig/src/Tao.FFmpeg/Tao.FFmpeg.dll.config 2009-08-01 12:57:29.000000000 +0000 ++++ taoframework-2.1.svn20090801/src/Tao.FFmpeg/Tao.FFmpeg.dll.config 2009-08-01 13:05:04.000000000 +0000 +@@ -1,7 +1,7 @@ + + + +- ++ + + + --- taoframework-2.1.svn20090801.orig/debian/patches/series +++ taoframework-2.1.svn20090801/debian/patches/series @@ -0,0 +1 @@ +200_libavcodec_update.diff