--- cegui-mk2-0.6.2.orig/cegui_mk2-source-0.6.2.tar.bz2.cdbs-config_list +++ cegui-mk2-0.6.2/cegui_mk2-source-0.6.2.tar.bz2.cdbs-config_list @@ -0,0 +1,4 @@ +cegui_mk2/include/config.h.in +cegui_mk2/makefiles/premake/config.lua +cegui_mk2/config.sub +cegui_mk2/config.guess --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-dev.dirs +++ cegui-mk2-0.6.2/debian/libcegui-mk2-dev.dirs @@ -0,0 +1,2 @@ +usr/include/CEGUI +usr/lib/pkgconfig --- cegui-mk2-0.6.2.orig/debian/README.source +++ cegui-mk2-0.6.2/debian/README.source @@ -0,0 +1,7 @@ +dpatch: +====== +The source package itself uses a mixture of dpatch and .diff.gz for the +modifications of the upstream source. If you want to change something it is +best to use the dpatch approach as documented in + + /usr/share/doc/dpatch/README.source.gz --- cegui-mk2-0.6.2.orig/debian/rules +++ cegui-mk2-0.6.2/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f + +LDFLAGS+=-llua5.1 -ldl + +include /usr/share/cdbs/1/rules/debhelper.mk +DEB_TAR_SRCDIR := cegui_mk2 +include /usr/share/cdbs/1/rules/tarball.mk + +common-configure-arch common-configure-indep:: + cd $(DEB_SRCDIR) && \ + if ! test -f aclocal.m4 ; then touch aclocal.m4 ; fi + +clean:: + rm -rf debian/patched + rm -f cegui_mk2-source-0.6.2.tar.bz2.cdbs-config_list + +install/libcegui-mk2-doc:: + cp $(DEB_SRCDIR)/documentation/api_reference/*.html \ + debian/libcegui-mk2-doc/usr/share/doc/libcegui-mk2-1/html/api_reference/ + cp $(DEB_SRCDIR)/documentation/api_reference/*.png \ + debian/libcegui-mk2-doc/usr/share/doc/libcegui-mk2-1/html/api_reference/ + cp $(DEB_SRCDIR)/documentation/FalagardSkinning.pdf \ + debian/libcegui-mk2-doc/usr/share/doc/libcegui-mk2-1/ + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +common-install-arch:: + for file in debian/tmp/usr/lib/*.la; do \ + sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ + done + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-lua-module=yes --enable-toluacegui=yes --with-default-xml-parser=TinyXMLParser +DEB_DH_INSTALL_SOURCEDIR := debian/tmp +DEB_INSTALL_CHANGELOGS_ALL := $(DEB_SRCDIR)/ChangeLog + +DEB_AUTO_UPDATE_LIBTOOL := pre +DEB_AUTO_UPDATE_ACLOCAL := 1.9 +DEB_AUTO_UPDATE_AUTOMAKE := 1.9 -a --foreign +DEB_AUTO_UPDATE_AUTOCONF := 2.59 +DEB_AUTO_UPDATE_AUTOHEADER := 1.9 --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-doc.dirs +++ cegui-mk2-0.6.2/debian/libcegui-mk2-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/libcegui-mk2-1/html/api_reference --- cegui-mk2-0.6.2.orig/debian/changelog +++ cegui-mk2-0.6.2/debian/changelog @@ -0,0 +1,255 @@ +cegui-mk2 (0.6.2-5ubuntu3) natty; urgency=low + + * whoops, define this rule *after* the autotools cdbs include. + + -- Steve Langasek Sat, 02 Apr 2011 17:38:00 -0700 + +cegui-mk2 (0.6.2-5ubuntu2) natty; urgency=low + + * debian/rules: clean the dependency_libs out of .la files at build + time, per Policy 10.2 + + -- Steve Langasek Sat, 02 Apr 2011 14:50:51 -0700 + +cegui-mk2 (0.6.2-5ubuntu1) natty; urgency=low + + * link against -llua5.1 -ldl to fix FTBFS + + -- Bhavani Shankar Tue, 16 Nov 2010 12:17:30 +0530 + +cegui-mk2 (0.6.2-5) unstable; urgency=low + + * Fix the build on kFreeBSD + - debian/patches/01_cegui-mk2_kfreebsd.dpatch + - Do not build-depend on libois-dev on kFreeBSD. (Closes: #592952) + - Thanks to Gonéri Le Bouder for providing the patch to fix this issue. + * Change of maintainer's mail. + + -- Muammar El Khatib Thu, 11 Nov 2010 00:06:34 +0200 + +cegui-mk2 (0.6.2-4) unstable; urgency=low + + * Bump Standards-Version to 3.8.4. No changes were needed. + * debian/control: libpcre3-dev, libfreetype6-dev and libfreeimage-dev were + added in libcegui-mk2-dev Depends field. (Closes: #560280) + * debian/watch: uversionmangle option has been added in order to make uscan + report the right version of CEGUI. + + -- Muammar El Khatib Sun, 21 Feb 2010 19:29:55 -0430 + +cegui-mk2 (0.6.2-3) unstable; urgency=low + + * Bug: FTBFS compilation error ('class OIS::InputManager’ has no member named + ‘numKeyboards') has been fixed in this revision. A patch has been applied + to CEGuiOgreBaseApplication.cpp. (Closes: #557767) + * Some improvements to the packaging were done thanks to the collaboration + from Ubuntu. Thanks to Alessio Treglia for providing a patch. + (Closes: #558136) + + -- Muammar El Khatib Tue, 01 Dec 2009 15:26:11 -0430 + +cegui-mk2 (0.6.2-2) unstable; urgency=low + + * Bump Standards-Version to 3.8.3. No changes were needed. + * debian/control: Build-Depends field has been updated to now use: + - libboost-signals-dev + - libboost-regex-dev + With the update shown above we can ensure that CEGUI is built with the + newest boost versions. (Closes: #550018) + * debian/patches: 09_addingheaderforgcc4.4.dpatch has been added to make + CEGUI compile with gcc-4.4. (Closes: #528919) + * CEGUI does not FTBFS anymore, this bug was fixed by upstream. + (Closes: #457626) + + -- Muammar El Khatib Wed, 07 Oct 2009 11:06:38 -0430 + +cegui-mk2 (0.6.2-1) unstable; urgency=low + + * Bump Standards-Version to 3.8.1 + * debian/control: libcegui-mk2-1-dbg's section has been changed from libdevel + to debug. libcegui-mk2-1's section has been removed because it was a + duplicated field. + * debian/patches: 06_patching_CEGUIDevILImageCodec.dpatch has been added in + order to make CEGUI compile correctly. + * CEGUI is now built with TinyXML. (Closes: #502477, #502478) + * New upstream version. + * FTBFS due to ‘ILvoid’ not declared in the scope has been fixed. + (Closes: #525412) + * The module loading depended on .so links, which are only found in the -dev + package has been changed in order to make it use *.so.* directly. Thanks to + Vincent Fourmond for providing a patch. + (Closes: #425983, #524933) + + -- Muammar El Khatib Thu, 09 Apr 2009 12:07:37 -0430 + +cegui-mk2 (0.6.1-1) unstable; urgency=low + + * Bump Standards-Version to 3.8.0 + * New upstream version. + * SILLY ImageCodec is now supported. (Closes: #491075) + + -- Muammar El Khatib Sun, 07 Sep 2008 17:35:47 -0430 + +cegui-mk2 (0.5.0-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Added dependencies into -dev package for all libs + used in .la files, closes: #496320 + + -- Riku Voipio Fri, 05 Sep 2008 12:12:53 +0300 + +cegui-mk2 (0.5.0-4) unstable; urgency=low + + * The version of debhelper was change from >= 5 to >= 6. + * CEGUI now Build-depends on libxerces-c2-dev instead of libxerces27-dev. + (Closes: #479190) + * Lua scripting is now enabled in this new revision of CEGUI. (Closes: + #456244) + + -- Muammar El Khatib Fri, 09 May 2008 13:24:16 -0430 + +cegui-mk2 (0.5.0-3) unstable; urgency=low + + * Bump Standards-Version to 3.7.3. + * Webpage was moved from cegui-mk2's description to control tag. + * Added to Build-depends: dpatch, liblua50, liblua50-dev, liblualib50, lua50 + * Bug 'FTBFS on GNU/kFreeBSD' has been fixed in this revision. Thanks to + Cyril Brulebois for providing a patch.(Closes: #413896) + * Bug 'Not detecting Lua at configure time' has been fixed in this revision. + Thanks to Erick Vresnev Castellanos Hernández + (Closes: #456244) + + -- Muammar El Khatib Thu, 17 Jan 2008 11:23:53 -0430 + +cegui-mk2 (0.5.0-2) unstable; urgency=low + + * The problem related to soname change without package name bump has been + fixed (Closes: #423502 ) + + -- Muammar El Khatib Sun, 17 Jun 2007 19:40:45 +0100 + +cegui-mk2 (0.5.0-1) unstable; urgency=low + + * New upstream release. (Closes: #402445) + * Fix Depends: libpcre3-dev was added. + * The version of debhelper was changed to >= 5 instead of > 4.0.0, + so linda does not complaint. + * New maintainer. (Closes: #398108) + + -- Muammar El Khatib Tue, 26 Dec 2006 01:02:08 -0400 + +cegui-mk2 (0.4.1-2) unstable; urgency=low + + * QA upload. + * Build depend on libgl1-mesa-dev, libglu1-mesa-dev, libdevil-dev for + the OpenGL renderer. Closes: #341795, #370541. + + -- Matej Vela Fri, 15 Dec 2006 19:10:20 +0100 + +cegui-mk2 (0.4.1-1.3) unstable; urgency=low + + * QA upload. + * Set Maintainer to Debian QA Group. + * Acknowledge NMUs (Closes: #368356). + * Fix spelling mistakes in description (Closes: #343157). + + -- Luk Claes Tue, 5 Dec 2006 20:11:06 +0100 + +cegui-mk2 (0.4.1-1.2) unstable; urgency=low + + * Non-maintainer upload. + * (Build-)Depends upon xerces27 instead of xerces26 (Closes: #368913). + * Bump Standards-Version to 3.7.2. + + -- Pierre Habouzit Sun, 2 Jul 2006 17:04:02 +0200 + +cegui-mk2 (0.4.1-1.1) unstable; urgency=low + + * Non-Maintainer Upload. + * Fix Depends: for libcegui-mk2-0c2a-dbg, thanks to Robert Luberda + and Matt Kraai for the fix + (Closes: #356491) + + -- Frederik Schüler Sat, 20 May 2006 16:41:33 +0000 + +cegui-mk2 (0.4.1-1) unstable; urgency=low + + * New upstream release. + * Added back documentation to -doc package (Closes: #319000). + * Added patch 02_cegui-mk2-kfreebsd.diff (Closes: #335686). + * Changed library package name into libcegui-mk2-0c2a because + of the libstdc++ allocator change (Closes: #339156). + + -- Federico Di Gregorio Tue, 29 Nov 2005 12:23:21 +0100 + +cegui-mk2 (0.3.0-3) unstable; urgency=low + + * Added to Build-depends: pkg-config (Closes: #321842). + * Added explicit versions of autotools in debian/rules + (Closes: #303079, #303072). + + -- Federico Di Gregorio Sun, 21 Aug 2005 12:56:25 +0200 + +cegui-mk2 (0.3.0-2) unstable; urgency=low + + * Rebuilt with c2 versions of libboost-xxx and libxerces26. + * Added to Build-depends: libtiff4-dev, liblcms1-dev. + + -- Federico Di Gregorio Sun, 24 Jul 2005 23:10:03 +0200 + +cegui-mk2 (0.3.0-1) unstable; urgency=low + + * New upstream release. + * Building with gcc 4. + * Source package does not include API documentation anymore (will be + fixed by generating documentation in a future release.) + + -- Federico Di Gregorio Mon, 11 Jul 2005 11:05:56 +0200 + +cegui-mk2 (0.2.0-1) unstable; urgency=low + + * New upstream release. + * Removed Build-Depends on Ogre. + * Changed description in control to correctly describe this package + to support only the OpenGL target. Ogre rendering will be in Ogre + packages >= 1.0.0. + + -- Federico Di Gregorio Sat, 12 Mar 2005 14:51:02 +0100 + +cegui-mk2 (0.1.1-1) unstable; urgency=low + + * New upstream release. + * Removed 10fix-pc-version patch (fixed upstream.) + * Switched to libxerces26. + + -- Federico Di Gregorio Sun, 23 Jan 2005 23:09:56 +0100 + +cegui-mk2 (0.1.0-4) unstable; urgency=low + + * Now the API documentation is really included in the -doc package. + * Added Suggests: libcegui-mk2-doc to libcegui-mk2-dev package. + + -- Federico Di Gregorio Sun, 9 Jan 2005 16:39:26 +0100 + +cegui-mk2 (0.1.0-3) unstable; urgency=low + + * Added debug package (libcegui-mk2-0-dbg). + * Better sections in debian/control. + * Fixed problem with wrong version in configure.ac (and CEGUI-OGRE.pc). + * Added Build-depends on libxerces25-dev. + + -- Federico Di Gregorio Sun, 2 Jan 2005 18:47:44 +0100 + +cegui-mk2 (0.1.0-2) unstable; urgency=low + + * Upstream started versioning releases the Right Way (TM). + * First stable release to follow ogre packages in Debian. + * Added to Build-depends: libxerces27-dev. + + -- Federico Di Gregorio Fri, 31 Dec 2004 01:44:19 +0100 + +cegui-mk2 (0.0.mk2-1) unstable; urgency=low + + * Initial release. + + -- Federico Di Gregorio Mon, 9 Nov 2004 23:12:34 +0200 --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-doc.doc-base +++ cegui-mk2-0.6.2/debian/libcegui-mk2-doc.doc-base @@ -0,0 +1,11 @@ +Document: libcegui-mk2-doc +Title: CEGUI's API reference +Abstract: Developer documentation for Crazy Eddie's GUI System Mk-2. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libcegui-mk2-1/html/api_reference/index.html +Files: /usr/share/doc/libcegui-mk2-1/html/api_reference/* + +Format: PDF +Files: /usr/share/doc/libcegui-mk2-1/FalagardSkinning.pdf.gz --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-1.dirs +++ cegui-mk2-0.6.2/debian/libcegui-mk2-1.dirs @@ -0,0 +1 @@ +usr/lib --- cegui-mk2-0.6.2.orig/debian/control +++ cegui-mk2-0.6.2/debian/control @@ -0,0 +1,67 @@ +Source: cegui-mk2 +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Muammar El Khatib +Build-Depends: debhelper (>= 6), cdbs, dbs, libtool, automake1.9, autoconf, pkg-config, libxerces-c2-dev, libboost-signals-dev, libboost-regex-dev, libfreetype6-dev, liblcms1-dev, libtiff4-dev, libgl1-mesa-dev, libglu1-mesa-dev, libdevil-dev, libpcre3-dev, dpatch, liblua5.1-dev, lua5.1, libois-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libfreeimage-dev +Standards-Version: 3.8.4 +Homepage: http://www.cegui.org.uk/ + +Package: libcegui-mk2-1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libcegui-mk2-0c2a +Replaces: libcegui-mk2-0c2a +Description: Crazy Eddie's GUI (libraries) + CEGUI is a free library providing windowing and widgets for graphics + APIs and engines where such functionality is not natively available + or is severely lacking. The library is written in C++, is object + oriented, and is primarily targeted at games developers who should be + spending their time creating great games, not building GUI sub-systems + . + This version of CEGUI natively supports the OpenGL rendering target. + +Package: libcegui-mk2-1-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, libcegui-mk2-1 (= ${binary:Version}), ${misc:Depends} +Conflicts: libcegui-mk2-0-dbg +Replaces: libcegui-mk2-0c2a-dbg +Description: Crazy Eddie's GUI (debugging libraries) + CEGUI is a free library providing windowing and widgets for graphics + APIs and engines where such functionality is not natively available + or is severely lacking. The library is written in C++, is object + oriented, and is primarily targeted at games developers who should be + spending their time creating great games, not building GUI sub-systems + . + This version of CEGUI natively supports the OpenGL rendering target + and provides debugging libraries for it. + +Package: libcegui-mk2-dev +Section: libdevel +Architecture: any +Suggests: libcegui-mk2-doc +Depends: ${misc:Depends}, libcegui-mk2-1 (= ${binary:Version}), libdevil-dev, libxerces-c2-dev, libpng12-dev | libpng-dev, libtiff4-dev | libtiff-dev, libjpeg62-dev | libjpeg-dev, libmng-dev, zlib1g-dev | libz-dev, libfreetype6-dev, liblualib50-dev, liblcms1-dev, libpcre3-dev, libfreetype6-dev, libfreeimage-dev +Description: Crazy Eddie's GUI (development files) + CEGUI is a free library providing windowing and widgets for graphics + APIs and engines where such functionality is not natively available + or is severely lacking. The library is written in C++, is object + oriented, and is primarily targeted at games developers who should be + spending their time creating great games, not building GUI sub-systems + . + This version of CEGUI natively supports the OpenGL rendering target + and contains the development files for CEGUI. + +Package: libcegui-mk2-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Crazy Eddie's GUI (documentation) + CEGUI is a free library providing windowing and widgets for graphics + APIs and engines where such functionality is not natively available + or is severely lacking. The library is written in C++, is object + oriented, and is primarily targeted at games developers who should be + spending their time creating great games, not building GUI sub-systems + . + This package contains the documentation for CEGUI. --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-dev.install +++ cegui-mk2-0.6.2/debian/libcegui-mk2-dev.install @@ -0,0 +1,4 @@ +usr/include/CEGUI/* +usr/lib/pkgconfig/* +usr/lib/libCEGUI*.so +usr/lib/libCEGUI*.la --- cegui-mk2-0.6.2.orig/debian/compat +++ cegui-mk2-0.6.2/debian/compat @@ -0,0 +1 @@ +6 --- cegui-mk2-0.6.2.orig/debian/copyright +++ cegui-mk2-0.6.2/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized on Wed, 17 Nov 2004 23:04:34 +0200 by: + + Federico Di Gregorio + +Original sources were downloaded from: + + http://crazyedsgui.sourceforge.net/. + +Upstream Authors: + + Paul D. Turner + Lars Rinde + (See README for a complete list of all contributors) + +License: + + CEGUI 0.5 is licensed under the terms of MIT. + +Copyright (C) 2006 Paul D. Turner (crayzed@users.sourceforge.net) + + 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. --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-1-dbg.dirs +++ cegui-mk2-0.6.2/debian/libcegui-mk2-1-dbg.dirs @@ -0,0 +1 @@ +usr/lib/debug --- cegui-mk2-0.6.2.orig/debian/libcegui-mk2-1.install +++ cegui-mk2-0.6.2/debian/libcegui-mk2-1.install @@ -0,0 +1 @@ +usr/lib/libCEGUI*.so.* --- cegui-mk2-0.6.2.orig/debian/watch +++ cegui-mk2-0.6.2/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 +opts="uversionmangle=s/DOCS-//" \ +http://sf.net/crayzedsgui/CEGUI-(.*)\.tar\.gz --- cegui-mk2-0.6.2.orig/debian/patches/00list +++ cegui-mk2-0.6.2/debian/patches/00list @@ -0,0 +1,7 @@ +01_cegui-mk2_kfreebsd +05_cegui_parser +06_patching_CEGUIDevILImageCodec +07_patching_directfb-renderer +08_CEGUI_Dynamic +09_addingheaderforgcc4.4 +10_patching_CEGuiOgreBaseApplication --- cegui-mk2-0.6.2.orig/debian/patches/04_changing_makefile_tolua.dpatch +++ cegui-mk2-0.6.2/debian/patches/04_changing_makefile_tolua.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_changing_makefile_tolua.dpatch by Erick Vresnev Castellanos Hernández +## +## DP: A patch to change Makefile Tolua + +@DPATCH@ + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/ScriptingModules/CEGUILua/tolua++bin/Makefile.am 2006-10-17 07:58:04.000000000 -0400 ++++ Makefile.am 2008-01-18 09:36:59.000000000 -0430 +@@ -1,4 +1,4 @@ +-INCLUDES = -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++ ++INCLUDES = $(Lua_CFLAGS) -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++ + + bin_PROGRAMS = tolua++cegui + tolua__cegui_SOURCES = tolua.c toluabind.c toluabind.h --- cegui-mk2-0.6.2.orig/debian/patches/06_patching_CEGUIDevILImageCodec.dpatch +++ cegui-mk2-0.6.2/debian/patches/06_patching_CEGUIDevILImageCodec.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_patching_CEGUIDevILImageCodec.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: A patch to make CEGUIDevILImageCodec.cpp compile + +@DPATCH@ + +--- cegui-mk2-0.6.2/build-tree/cegui_mk2/ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp 2008-06-14 13:47:47.000000000 -0430 ++++ CEGUIDevILImageCodec.cpp 2009-04-19 18:39:41.000000000 -0430 +@@ -58,7 +58,7 @@ + ilGenImages(1, &imgName); + ilBindImage(imgName); + +- if (ilLoadL(IL_TYPE_UNKNOWN, (ILvoid*)data.getDataPtr(), data.getSize()) != IL_FALSE) ++ if (ilLoadL(IL_TYPE_UNKNOWN, (void*)data.getDataPtr(), data.getSize()) != IL_FALSE) + { + // get details about size of loaded image + ILinfo imgInfo; +@@ -85,7 +85,7 @@ + cefmt = Texture::PF_RGB; + break; + }; +- ilCopyPixels(0, 0, 0, width, height, 1, ilfmt, IL_UNSIGNED_BYTE, (ILvoid*)tmpBuff); ++ ilCopyPixels(0, 0, 0, width, height, 1, ilfmt, IL_UNSIGNED_BYTE, (void*)tmpBuff); + + // delete DevIL image + ilDeleteImages(1, &imgName); --- cegui-mk2-0.6.2.orig/debian/patches/08_CEGUI_Dynamic.dpatch +++ cegui-mk2-0.6.2/debian/patches/08_CEGUI_Dynamic.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_CEGUI_Dynamic.dpatch by Vincent Fourmond +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: A patch for CEGUIDynamicModule.cpp + +@DPATCH@ + +--- cegui-mk2-0.6.2/build-tree/cegui_mk2/src/CEGUIDynamicModule.cpp 2009-04-29 00:05:28.000000000 -0430 ++++ CEGUIDynamicModule.cpp 2009-04-29 00:06:57.000000000 -0430 +@@ -89,7 +89,17 @@ + d_moduleName.insert(0, "lib"); + d_handle = DYNLIB_LOAD(d_moduleName.c_str()); + } +- } ++ // We try looking for ".soversion" suffix ++ if(!d_handle) { ++ char buf[10]; ++ for(int i = 0; i < 10; i++) { // The 10 is arbitrary and must be changed ++ snprintf(buf, sizeof(buf),".%d", i); ++ d_handle = DYNLIB_LOAD((d_moduleName + buf).c_str()); ++ if(d_handle) ++ break; ++ } ++ } ++ } + #endif + + // check for library load failure --- cegui-mk2-0.6.2.orig/debian/patches/02_changing_acinclude.dpatch +++ cegui-mk2-0.6.2/debian/patches/02_changing_acinclude.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_changing_acinclude.dpatch by Erick Vresnev Castellanos Hernández +## +## DP: A patch to change acinclude.m4 + +@DPATCH@ + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/acinclude.m4 2006-10-25 06:54:43.000000000 -0400 ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/acinclude.m4 2008-01-17 17:43:06.000000000 -0430 +@@ -537,7 +537,13 @@ + ]) + + AC_DEFUN([CEGUI_CHECK_LUA],[ +- PKG_CHECK_MODULES(Lua, lua >= 5.0 lua < 5.1, [cegui_found_lua=yes], [cegui_found_lua=no]) ++ PKG_CHECK_MODULES(Lua, lua >= 5.0 lua < 5.1, [cegui_found_lua=yes], ++ [ ++ PKG_CHECK_MODULES(Lua, lua50 >= 5.0 lua50 < 5.1 lualib50 >= 5.0 lualib50 < 5.1, [cegui_found_lua=yes], ++ [ ++ [cegui_found_lua=no] ++ ]) ++ ]) + + AC_ARG_ENABLE([lua-module], AC_HELP_STRING([--disable-lua-module], [Disables building of the Lua scripting module.]), + [cegui_with_lua=$enableval], [cegui_with_lua=yes]) --- cegui-mk2-0.6.2.orig/debian/patches/10_patching_CEGuiOgreBaseApplication.dpatch +++ cegui-mk2-0.6.2/debian/patches/10_patching_CEGuiOgreBaseApplication.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_patching_CEGuiOgreBaseApplication.dpatch by Muammar El Khatib +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch is applied to make CEGUI compile with OGRE. Some changes were +## DP: made to CEGuiOgreBaseApplication.cpp. + +@DPATCH@ + +--- cegui-mk2-0.6.2/build-tree/cegui_mk2/Samples/common/src/CEGuiOgreBaseApplication.cpp 2008-06-05 07:32:57.000000000 -0430 ++++ CEGuiOgreBaseApplication.cpp 2009-12-01 15:19:48.000000000 -0430 +@@ -223,16 +223,16 @@ + d_inputManager = OIS::InputManager::createInputSystem(paramList); + + // create buffered keyboard +- //if (d_inputManager->getNumberOfDevices(OIS::OISKeyboard) > 0) +- if (d_inputManager->numKeyboards() > 0) ++ if (d_inputManager->getNumberOfDevices(OIS::OISKeyboard) > 0) ++ //if (d_inputManager->numKeyboards() > 0) + { + d_keyboard = static_cast(d_inputManager->createInputObject(OIS::OISKeyboard, true)); + d_keyboard->setEventCallback(this); + } + + // create buffered mouse +- //if (d_inputManager->getNumberOfDevices(OIS::OISMouse) > 0) +- if (d_inputManager->numMice() > 0) ++ if (d_inputManager->getNumberOfDevices(OIS::OISMouse) > 0) ++ //if (d_inputManager->numMice() > 0) + { + d_mouse = static_cast(d_inputManager->createInputObject(OIS::OISMouse, true)); + d_mouse->setEventCallback(this); --- cegui-mk2-0.6.2.orig/debian/patches/09_addingheaderforgcc4.4.dpatch +++ cegui-mk2-0.6.2/debian/patches/09_addingheaderforgcc4.4.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_addingheaderforgcc4.4 by Martin Michlmayr +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: A patch for adding #include and make CEGUI compile using GCC-4.4 + +@DPATCH@ + +--- cegui-mk2-0.6.2/build-tree/cegui_mk2/src/CEGUIDynamicModule.cpp 2009-05-16 11:20:28.000000000 +0000 ++++ CEGUIDynamicModule.cpp 2009-05-16 11:21:15.000000000 +0000 +@@ -34,6 +34,8 @@ + #include "CEGUIString.h" + #include "CEGUIExceptions.h" + ++#include ++ + #if defined(__WIN32__) || defined(_WIN32) + # if defined(_MSC_VER) + # pragma warning(disable : 4552) // warning: operator has no effect; expected operator with side-effect + --- cegui-mk2-0.6.2.orig/debian/patches/03_changing_makefile.dpatch +++ cegui-mk2-0.6.2/debian/patches/03_changing_makefile.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_changing_makefile.dpatch by Erick Vresnev Castellanos Hernández +## +## DP: A patch to change Makefile.am + +@DPATCH@ + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am 2006-07-25 04:34:51.000000000 -0400 ++++ Makefile.am 2008-01-18 09:24:52.000000000 -0430 +@@ -1,4 +1,5 @@ +-INCLUDES = -I$(top_srcdir)/include \ ++INCLUDES = $(Lua_CFLAGS) \ ++ -I$(top_srcdir)/include \ + -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++ \ + -I$(top_srcdir)/ScriptingModules/CEGUILua/LuaScriptModule/include + lib_LTLIBRARIES = libCEGUILuaScriptModule.la --- cegui-mk2-0.6.2.orig/debian/patches/01_cegui-mk2_kfreebsd.dpatch +++ cegui-mk2-0.6.2/debian/patches/01_cegui-mk2_kfreebsd.dpatch @@ -0,0 +1,125 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_cegui-mk2_kfreebsd.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: A patch for KFreeBSD + +@DPATCH@ + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiIrrlichtBaseApplication.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiIrrlichtBaseApplication.cpp +@@ -29,7 +29,7 @@ + # include "config.h" + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD_kernel__) + # include + #endif + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiOgreBaseApplication.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiOgreBaseApplication.cpp +@@ -29,7 +29,7 @@ + # include "config.h" + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD_kernel__) + # include + #endif + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiOpenGLBaseApplication.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiOpenGLBaseApplication.cpp +@@ -29,7 +29,7 @@ + # include "config.h" + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD_kernel__) + # include + #endif + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiSample.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/Samples/common/src/CEGuiSample.cpp +@@ -35,7 +35,7 @@ + // includes for renderer selector classes + #if defined( __WIN32__ ) || defined( _WIN32 ) + # include "Win32CEGuiRendererSelector.h" +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD_kernel__) + # ifdef CEGUI_SAMPLES_USE_GTK2 + # include "GTK2CEGuiRendererSelector.h" + # else +@@ -162,7 +162,7 @@ bool CEGuiSample::initialise() + d_rendererSelector->setRendererAvailability(Direct3D10GuiRendererType); + #endif + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD_kernel__) + // decide which method to use for renderer selection + # ifdef CEGUI_SAMPLES_USE_GTK2 + d_rendererSelector = new GTK2CEGuiRendererSelector(); +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/include/CEGUIDynamicModule.h ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/include/CEGUIDynamicModule.h +@@ -42,7 +42,7 @@ + struct HINSTANCE__; + typedef struct HINSTANCE__* hInstance; + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD_kernel__) + # define DYNLIB_HANDLE void* + # define DYNLIB_LOAD( a ) dlopen( a, RTLD_LAZY ) + # define DYNLIB_GETSYM( a, b ) dlsym( a, b ) +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/src/CEGUIDynamicModule.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/src/CEGUIDynamicModule.cpp +@@ -46,7 +46,7 @@ + # include "macPlugins.h" + #endif + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD_kernel__) + # include "dlfcn.h" + #endif + +@@ -64,7 +64,7 @@ DynamicModule::DynamicModule(const String& name) : + return; + } // if(name.empty()) + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD_kernel__) + // dlopen() does not add .so to the filename, like windows does for .dll + if (d_moduleName.substr(d_moduleName.length() - 3, 3) != ".so") + d_moduleName += ".so"; +@@ -80,7 +80,7 @@ DynamicModule::DynamicModule(const String& name) : + + d_handle = DYNLIB_LOAD(d_moduleName.c_str()); + +-#if defined(__linux__) || defined(__MINGW32__) ++#if defined(__linux__) || defined(__MINGW32__) || defined(__FreeBSD_kernel__) + if (!d_handle) + { + // see if we need to add the leading 'lib' +@@ -121,7 +121,8 @@ void* DynamicModule::getSymbolAddress(const String& symbol) const + String DynamicModule::getFailureString() const + { + String retMsg; +-#if defined(__linux__) || defined (__APPLE_CC__) ++#if defined(__linux__) || defined (__APPLE_CC__) || defined(__FreeBSD_kernel__) ++ + retMsg = DYNLIB_ERROR(); + #elif defined(__WIN32__) || defined(_WIN32) + LPVOID msgBuffer; +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/src/CEGUISystem.cpp ++++ cegui-mk2-0.5.0/build-tree/cegui_mk2/src/CEGUISystem.cpp +@@ -100,7 +100,7 @@ double SimpleTimer::currentTime() + return timeGetTime() / 1000.0; + } + +-#elif defined(__linux__) || defined(__APPLE__) ++#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD_kernel__) + #include + double SimpleTimer::currentTime() + { +-- +1.7.1 + --- cegui-mk2-0.6.2.orig/debian/patches/07_patching_directfb-renderer.dpatch +++ cegui-mk2-0.6.2/debian/patches/07_patching_directfb-renderer.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 07_patching_directfb-renderer.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: A patch to change directfb-renderer.cpp + +@DPATCH@ + +--- cegui-mk2-0.6.2/build-tree/cegui_mk2/RendererModules/directfbRenderer/directfb-renderer.cpp 2008-11-12 07:18:04.000000000 -0430 ++++ directfb-renderer.cpp 2009-04-20 08:43:24.000000000 -0430 +@@ -32,6 +32,7 @@ + #include "CEGUILogger.h" + #include "CEGUIImageCodec.h" + #include "CEGUIDynamicModule.h" ++#include + + //Include the default codec for static builds + #if defined(CEGUI_STATIC) --- cegui-mk2-0.6.2.orig/debian/patches/05_cegui_parser.dpatch +++ cegui-mk2-0.6.2/debian/patches/05_cegui_parser.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_cegui_parser.dpatch by +## +## DP: A patch to make cegui compile against new xerces version + +@DPATCH@ + +--- cegui-mk2-0.5.0/build-tree/cegui_mk2/XMLParserModules/XercesParser/CEGUIXercesParser.cpp 2006-05-12 15:42:23.000000000 -0400 ++++ CEGUIXercesParser.cpp 2008-05-09 13:04:57.000000000 -0430 +@@ -34,6 +34,7 @@ + #include "CEGUIXMLHandler.h" + #include "CEGUIXMLAttributes.h" + #include "CEGUIPropertyHelper.h" ++#include + + #include // Debug + // Start of CEGUI namespace section --- cegui-mk2-0.6.2.orig/debian/source/format +++ cegui-mk2-0.6.2/debian/source/format @@ -0,0 +1 @@ +1.0