--- qcake-0.7.2.orig/debian/README.source +++ qcake-0.7.2/debian/README.source @@ -0,0 +1,2 @@ +This package uses quilt for its patch management, see +/usr/share/doc/quilt/README.source if you are unfamiliar with it. --- qcake-0.7.2.orig/debian/postinst +++ qcake-0.7.2/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh -e +# postinst script for qcake +# copyright 2008-2009 by Gerfried Fuchs +# Licenced under WTFPLv2 + +if [ "$1" != configure ]; then + exit 0 +fi + +if dpkg --compare-versions "$2" le-nl "0.7.0-2"; then + if [ -d /usr/share/doc/qcake ]; then + if rmdir /usr/share/doc/qcake; then + ln -s qcake-data /usr/share/doc/qcake + fi + fi +fi + +if [ -x /usr/bin/update-menus ]; then + update-menus +fi --- qcake-0.7.2.orig/debian/changelog +++ qcake-0.7.2/debian/changelog @@ -0,0 +1,98 @@ +qcake (0.7.2-2build1) natty; urgency=low + + * Rebuild with python 2.7 as the python default. + + -- Matthias Klose Thu, 09 Dec 2010 16:54:34 +0000 + +qcake (0.7.2-2) unstable; urgency=low + + [ Gerfried Fuchs ] + * Change Build-Depends from libreadline5-dev to libreadline-dev + (closes: #553834) + * Version Build-Depends on spl-dev which also contains above change. + * Bump Standards-Version to 3.9.0. + * Changed Vcs-* URLs to point to git.deb.at. + * Relicense packaging to WTFPLv2 as BSD is going to get removed from + common-licenses. + + [ Jakub Wilk ] + * Use default python version instead of hardcoded 2.5 (closes: #583238) + + -- Gerfried Fuchs Fri, 02 Jul 2010 01:42:00 +0200 + +qcake (0.7.2-1) unstable; urgency=low + + * New upstream release. + * Updated Upstream's main developer's last name in debian/copyright, he did + marry. Congratulations! + * Bump Standards-Version to 3.8.3. + * quilt refresh the patches. + * Explicitly use -qt4 binaries of qmake and lrelease instead of the + alternative handled links, thanks to Cyril Brulebois for mentioning. + * Apply patch from Cyril Brulebois to fix FTBFS on kFreeBSD, thanks + (closes: #543596) + + -- Gerfried Fuchs Thu, 27 Aug 2009 01:17:40 +0200 + +qcake (0.7.0-2) unstable; urgency=low + + * Change Build-Depends on libode0-dev to libode-dev (closes: #520733) + * Bump Standards-Version to 3.8.1. + * Update copyright informations about packaging. + * Split /usr/share into qcake-data package. + * chmod -x on /usr/share/qcake/data/python_stdlib.py script. + + -- Gerfried Fuchs Tue, 24 Mar 2009 13:49:08 +0100 + +qcake (0.7.0-1) unstable; urgency=low + + * New upstream release: + - Patch libode-fixup refreshed and qcweb3d/qcweb3d.pro also patched. + - Patch ssgLoad-setlocale-wrapper refreshed. + - Remove patch gcc-4.3-fix, applied upstream. + - New Build-Depends: libphonon-dev + * debian/rules: Upstream moved stdlib files from bin into bin/data. + * Also call lrelease qcake_qt4.pro in configure stage for the language files. + * Install *Script*System docs into doc directory. + * Put the packaging copyright under BSD license, for flexibility and clearer + understanding. + * Add copyright information for embedded quazip/* code. + * Add python2.5-dev to Build-Depends for new PythonScriptingSystem. + * Updated watch file to make it watch again. + * Really remove debian/qcake/ in debian/rules. + * Strip .comment and .note section from binaries, too. + * Updated debian/copyright to actually say Copyright and not only (C). + * Remove build/qcake_*.qm on clean as these files get generated on build + time. + + -- Gerfried Fuchs Fri, 06 Mar 2009 09:00:39 +0100 + +qcake (0.6.3-3) unstable; urgency=low + + * New patch: 03_ssgLoad-setlocale-wrapper. Explicitly set LC_NUMERIC around + ssgLoad calls to work around a bug in plib that was introduced by the + removal of the very same in QT 4.4. + + -- Gerfried Fuchs Mon, 07 Jul 2008 15:00:25 +0200 + +qcake (0.6.3-2) experimental; urgency=low + + * Install additional data files, and symlink them from the lib dir (search + path) + * Add menu file for qcake and qcakeplayer + * Add Vcs-* control fields + * Update debian/copyright with missing copyright informations for + src/ssgLocal.h and include/GLee*. + * Remove .svn directory from complete install tree. + + -- Gerfried Fuchs Fri, 27 Jun 2008 14:41:59 +0200 + +qcake (0.6.3-1) experimental; urgency=low + + * Initial release (Closes: #453448) + * Patches: + - libode-fixup: use -llibode instead of hardcoded path + - gcc-4.3-fix: Don't include and anymore but + and + + -- Gerfried Fuchs Sun, 15 Jun 2008 20:27:35 +0200 --- qcake-0.7.2.orig/debian/control +++ qcake-0.7.2/debian/control @@ -0,0 +1,50 @@ +Source: qcake +Section: games +Priority: optional +Maintainer: Gerfried Fuchs +Build-Depends: quilt, libqt4-dev, spl-dev (>= 1.0~pre6-2~), libpcre3-dev, libreadline-dev, + plib1.8.4-dev, libopenal-dev, libalut-dev, libode-dev, libqt4-opengl-dev, + python-dev, libphonon-dev +Standards-Version: 3.9.0 +Homepage: http://qcake.org/ +Vcs-Git: git://git.deb.at/pkg/qcake.git +Vcs-Browser: http://git.deb.at/w/pkg/qcake.git + +Package: qcake-data +Architecture: all +Replaces: qcake (<< 0.7.0-2) +Description: programming environment and scene editor for 3D games - data files + QCake is a programming environment as well as a scene editor for 3D + games based on PLIB. QCake will support almost all PLIB functions. + . + This package contains the architecture independent data files. + +Package: qcake +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, qcake-data (= ${source:Version}) +Description: programming environment and scene editor for 3D games + QCake is a programming environment as well as a scene editor for 3D + games based on PLIB. QCake will support almost all PLIB functions. + . + Currently implemented features: + * Hierarchical object tree + * Non-blocking scene display with PLIB + * Lens flare, fire and fog + * Particle and wave systems + * Cameras + * Project file using XML-OPML format + * Player controlled by keyboard, mouse and joystick + * Physics and Collision with ODE + * Barrier Object + * Body Object + * Player camera: TV, 2D, Ego modes + * Dynamic sky + * SPL scripting language + * JavaScript + * 3D sound with OpenAL + * Sound- and object catalogue + * GUI with PLIB user interface + * md2 bone-animation + * Pathfinding with AStar + * pixel and vertex shader with GLSL + * QCake-Player to release your project --- qcake-0.7.2.orig/debian/rules +++ qcake-0.7.2/debian/rules @@ -0,0 +1,142 @@ +#!/usr/bin/make -f +# rules file for qcake +# copyright 2008-2009 by Gerfried Fuchs +# Licenced under WTFPLv2 + +PKG = qcake +TMP1 = $(CURDIR)/debian/$(PKG) +TMP2 = $(CURDIR)/debian/$(PKG)-data + +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644 +INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755 +INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755 +INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + COPT += -O0 +else + COPT += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s + STRIP = true +endif + + +include /usr/share/quilt/quilt.make + + +clean: unpatch + $(checkdir) + $(checkroot) + + -rm -rf $(TMP1) $(TMP2) debian/substvars debian/files \ + build-stamp configure-stamp build/qcake_*.qm + [ ! -f Makefile ] || $(MAKE) distclean + + +configure: configure-stamp +configure-stamp: patch + $(checkdir) + qmake-qt4 qcake_qt4.pro + lrelease-qt4 qcake_qt4.pro + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + $(checkdir) + $(MAKE) + touch $@ + + +install: build + $(checkdir) + $(checkroot) + + -rm -rf $(TMP1) $(TMP2) debian/substvars + $(INSTALL_DIR) $(TMP1) $(TMP2) + cd $(TMP1) && $(INSTALL_DIR) usr/games usr/lib/$(PKG) usr/share/doc + cd $(TMP2) && $(INSTALL_DIR) usr/share/doc/$(PKG)-data usr/share/$(PKG) + + $(INSTALL_PROGRAM) bin/qcake_qt4 $(TMP1)/usr/lib/$(PKG) + $(INSTALL_PROGRAM) bin/qcakeplayer_qt4 $(TMP1)/usr/lib/$(PKG) + test "$(STRIP)" != true || strip \ + --remove-section=.comment --remove-section=.note \ + $(TMP1)/usr/lib/$(PKG)/qcake* + ln -s ../lib/$(PKG)/qcake_qt4 $(TMP1)/usr/games/qcake + ln -s ../lib/$(PKG)/qcakeplayer_qt4 $(TMP1)/usr/games/qcakeplayer + + cp -dR bin/data $(TMP2)/usr/share/$(PKG)/data + # not directly executed + chmod -x $(TMP2)/usr/share/qcake/data/python_stdlib.py + $(INSTALL_FILE) bin/new.xml bin/*.txf \ + $(TMP2)/usr/share/$(PKG) + # symlinks from binary install path required for the time being + cd $(TMP2)/usr/share/$(PKG) && for i in *; do \ + ln -s ../../share/$(PKG)/$$i $(TMP1)/usr/lib/$(PKG)/$$i; \ + done + + $(INSTALL_FILE) *Script*System $(TMP2)/usr/share/doc/$(PKG)-data + gzip -9 $(TMP2)/usr/share/doc/$(PKG)-data/*Script*System + + cp -dR bin/example $(TMP2)/usr/share/doc/$(PKG)-data/examples + find $(TMP1) $(TMP2) -type d -name .svn -print0 | xargs -0r rm -r + + $(INSTALL_FILE) README TODO \ + $(TMP2)/usr/share/doc/$(PKG)-data + $(INSTALL_FILE) ChangeLog \ + $(TMP2)/usr/share/doc/$(PKG)-data/changelog + gzip -9 $(TMP2)/usr/share/doc/$(PKG)-data/changelog + cd $(TMP1)/usr/share/doc && ln -s $(PKG)-data $(PKG) + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + + +# Build architecture-dependent files here. +binary-arch: build install + $(checkdir) + $(checkroot) + + $(INSTALL_DIR) $(TMP1)/DEBIAN $(TMP2)/DEBIAN $(TMP1)/usr/share/menu + + $(INSTALL_FILE) debian/menu $(TMP1)/usr/share/menu/$(PKG) + $(INSTALL_SCRIPT) debian/postinst debian/postrm \ + $(TMP1)/DEBIAN + + $(INSTALL_FILE) debian/copyright \ + $(TMP2)/usr/share/doc/$(PKG)-data + $(INSTALL_FILE) debian/changelog \ + $(TMP2)/usr/share/doc/$(PKG)-data/changelog.Debian + gzip -9 $(TMP2)/usr/share/doc/$(PKG)-data/changelog.Debian + + dpkg-shlibdeps -Tdebian/substvars -dDepends $(TMP1)/usr/games/* + dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars -p$(PKG) \ + -P$(TMP1) + cd $(TMP1) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \ + xargs -r0 md5sum > DEBIAN/md5sums + dpkg --build $(TMP1) .. + + dpkg-gencontrol -ldebian/changelog -isp -p$(PKG)-data \ + -P$(TMP2) + cd $(TMP2) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \ + xargs -r0 md5sum > DEBIAN/md5sums + dpkg --build $(TMP2) .. + + +binary: binary-indep binary-arch + + +define checkdir + test -f debian/rules +endef + +define checkroot + test root = "`whoami`" +endef + +.PHONY: clean configure build install binary-indep binary-arch binary --- qcake-0.7.2.orig/debian/copyright +++ qcake-0.7.2/debian/copyright @@ -0,0 +1,141 @@ +This package was debianized by Gerfried Fuchs on +Fri, 02 Nov 2007 17:23:08 +0100. + +It was downloaded from + +Upstream Authors: + Harald Pichler + Roland Schwartz + Clifford Wolf + Markus Lindner + +Copyright: + Copyright (C) 2002-2008 by Harald Pichler + Copyright (C) 2003-2007 by Roland Schwarz + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + -------------------------------------------------------------------- + + quazip/*: + Copyright (C) 2005-2007 Sergey A. Tachenov + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + Copyright (C) 1998-2005 Gilles Vollant + Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler + Copyright (C) 2004 Rolf Kalbermatter + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + -------------------------------------------------------------------- + + src/loadMD2.cpp: + Copyright (C) 1998,2002 Steve Baker + Copyright (C) 2000 by Jon Anderson + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + -------------------------------------------------------------------- + + src/ssgLocal.h: + Copyright (C) 1998,2002 Steve Baker + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + -------------------------------------------------------------------- + + include/GLee.c, include/GLee.h: + Copyright (c)2006 Ben Woodhouse + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer as + the first lines of this file unmodified. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY BEN WOODHOUSE ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL BEN WOODHOUSE BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + -------------------------------------------------------------------- + + qcweb3d/qcweb3d.cpp, + qcweb3d/src/qtbrowserplugin.cpp, + qcweb3d/src/qtbrowserplugin.h, + qcweb3d/src/qtbrowserplugin_mac.cpp, + qcweb3d/src/qtbrowserplugin_p.h, + qcweb3d/src/qtbrowserplugin_win.cpp, + qcweb3d/src/qtbrowserplugin_x11.cpp, + qcweb3d/src/qtnpapi.h, + src/interfaces.hpp, + src/plugindialog.cpp, + src/plugindialog.hpp: + Copyright (C) 2003-2007 Trolltech ASA + + This file may be used under the terms of the GNU General Public + License version 2.0 as published by the Free Software Foundation + and appearing in the file LICENSE.GPL included in the packaging of + this file. Please review the following information to ensure GNU + General Public Licensing requirements will be met: + http://www.trolltech.com/products/qt/opensource.html + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License version 2 can be found in `/usr/share/common-licenses/GPL-2', +the version 2 of the GNU Library General Public License in +`/usr/share/common-licenses/LGPL-2', +later versions of them can be found in the same directory. + + +The debianization of the package is licensed under the WTFPLv2: + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2007-2010 Gerfried Fuchs + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. --- qcake-0.7.2.orig/debian/postrm +++ qcake-0.7.2/debian/postrm @@ -0,0 +1,8 @@ +#!/bin/sh -e +# postrm script for qcake +# copyright 2008-2009 by Gerfried Fuchs +# Licenced under WTFPLv2 + +if [ -x /usr/bin/update-menus ]; then + update-menus +fi --- qcake-0.7.2.orig/debian/watch +++ qcake-0.7.2/debian/watch @@ -0,0 +1,6 @@ +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://www.qcake.the-develop.net/htm/datapage2.htm (?:.*/)?qcake-([\d.]+)\.tgz --- qcake-0.7.2.orig/debian/menu +++ qcake-0.7.2/debian/menu @@ -0,0 +1,12 @@ +?package(qcake): \ + needs="X11" \ + section="Games/Tools" \ + title="QCake Game Builder" \ + longtitle="Programming Environment and Scene Editor for 3D Games" \ + command="/usr/games/qcake" +?package(qcake): \ + needs="X11" \ + section="Games/Action" \ + title="QCake Player" \ + longtitle="Standalone Player for Games produced with the QCake Game Builder" \ + command="/usr/games/qcakeplayer" --- qcake-0.7.2.orig/debian/patches/01_libode-fixup +++ qcake-0.7.2/debian/patches/01_libode-fixup @@ -0,0 +1,95 @@ +Author: Gerfried Fuchs vim:ft=diff: +Description: use -llibode instead of hardcoded path + +Index: qcake-0.7.2/src/src_static.pro +=================================================================== +--- qcake-0.7.2.orig/src/src_static.pro ++++ qcake-0.7.2/src/src_static.pro +@@ -161,7 +161,7 @@ unix { + LIBS += /usr/lib/libopenal.a \ + # rem -lalut ,if target is debian sarge + /usr/lib/libalut.a \ +- /usr/local/lib/libode.a \ ++ /usr/lib/libode.a \ + /usr/lib/libplibpu.a \ + /usr/lib/libplibfnt.a \ + /usr/lib/libplibssg.a \ +@@ -185,7 +185,7 @@ macx { + LIBS += -framework Carbon \ + -framework OpenAL \ + -framework IOKit \ +- /usr/local/lib/libode.a \ ++ /usr/lib/libode.a \ + -lplibpu \ + -lplibfnt \ + -lplibssg \ +Index: qcake-0.7.2/qcakeplayer/qcakeplayer.pro +=================================================================== +--- qcake-0.7.2.orig/qcakeplayer/qcakeplayer.pro ++++ qcake-0.7.2/qcakeplayer/qcakeplayer.pro +@@ -126,7 +126,7 @@ macx{ + -framework Carbon \ + -framework OpenAL \ + -framework IOKit \ +- /usr/local/lib/libode.a ++ -lode + } + win32{ + LIBS += -lOpenAL32 \ +@@ -168,7 +168,7 @@ win32{ + -lalut \ + -lGL \ + -lGLU \ +-# /usr/local/lib/libode.a ++# /usr/lib/libode.a + -lode + } + } +Index: qcake-0.7.2/src/src.pro +=================================================================== +--- qcake-0.7.2.orig/src/src.pro ++++ qcake-0.7.2/src/src.pro +@@ -201,7 +201,7 @@ RESOURCES += dockwidgets.qrc + unix{ + LIBS += -lopenal \ + -lalut \ +-# /usr/local/lib/libode.a \ ++# /usr/lib/libode.a \ + -lode \ + -lplibpu \ + -lplibfnt \ +@@ -221,7 +221,7 @@ macx{ + LIBS += -framework Carbon \ + -framework OpenAL \ + -framework IOKit \ +- /usr/local/lib/libode.a \ ++ -lode \ + -lplibpu \ + -lplibfnt \ + -lplibssg \ +Index: qcake-0.7.2/qcweb3d/qcweb3d.pro +=================================================================== +--- qcake-0.7.2.orig/qcweb3d/qcweb3d.pro ++++ qcake-0.7.2/qcweb3d/qcweb3d.pro +@@ -140,7 +140,7 @@ macx{ + -framework Carbon \ + -framework OpenAL \ + -framework IOKit \ +- /usr/local/lib/libode.a \ ++ /usr/lib/libode.a \ + ../quazip/libquazip.a + } + win32{ +@@ -184,9 +184,9 @@ win32{ + -lalut \ + -lGL \ + -lGLU \ +-# /usr/local/lib/libode.a \ ++# /usr/lib/libode.a \ + -lode \ + ../quazip/libquazip.a + + } +-} +\ No newline at end of file ++} --- qcake-0.7.2.orig/debian/patches/series +++ qcake-0.7.2/debian/patches/series @@ -0,0 +1,4 @@ +01_libode-fixup +03_ssgLoad-setlocale-wrapper +04_kFreeBSD-fix +05_use-default-python --- qcake-0.7.2.orig/debian/patches/03_ssgLoad-setlocale-wrapper +++ qcake-0.7.2/debian/patches/03_ssgLoad-setlocale-wrapper @@ -0,0 +1,29 @@ +Author: Gerfried Fuchs vim:ft=diff: +Description: wrap ssgLoad into LC_NUMERIC=C wrapper calls to work around a plib bug + +Index: qcake-0.7.2/src/glcontrol.cpp +=================================================================== +--- qcake-0.7.2.orig/src/glcontrol.cpp ++++ qcake-0.7.2/src/glcontrol.cpp +@@ -1033,7 +1033,10 @@ int Glcontrol::loadObject(FolderListItem + + ssgModelPath ( tmpdir.path().toAscii().constData() ) ; + ssgTexturePath ( tmpdir.path().toAscii().constData() ) ; ++ // workaround: ssgLoad has a LC_NUMERIC bug ++ setlocale(LC_NUMERIC, "C"); + ssgEntity *nobj = ssgLoad ( tmpfile.toAscii().constData() ); ++ setlocale(LC_NUMERIC, ""); + + // nobj -> setCallback ( SSG_CALLBACK_PREDRAW , NULL ) ; + // nobj -> setCallback ( SSG_CALLBACK_POSTDRAW, NULL ) ; +@@ -1154,7 +1157,10 @@ ssgTransform* Glcontrol::loadObjectFile( + if(file.lastIndexOf( ".3ds" )!= -1 || file.lastIndexOf( ".ac" ) != -1){ + QString msg = "Load 3D file: " + path + "/" + file; + qWarning( msg.toAscii()); // debug ++ // workaround: ssgLoad has a LC_NUMERIC bug ++ setlocale(LC_NUMERIC, "C"); + nobj = ssgLoad ( file.toAscii().constData () ); ++ setlocale(LC_NUMERIC, ""); + if(nobj != NULL){ + // nobj -> setCallback ( SSG_CALLBACK_PREDRAW , NULL ) ; + // nobj -> setCallback ( SSG_CALLBACK_POSTDRAW, NULL ) ; --- qcake-0.7.2.orig/debian/patches/04_kFreeBSD-fix +++ qcake-0.7.2/debian/patches/04_kFreeBSD-fix @@ -0,0 +1,16 @@ +Author: Cyril Brulebois vim:ft=diff: +Description: fix for kFreeBSD (closes: #543596) + +Index: qcake-0.7.2/src/audioenv.hpp +=================================================================== +--- qcake-0.7.2.orig/src/audioenv.hpp ++++ qcake-0.7.2/src/audioenv.hpp +@@ -17,7 +17,7 @@ + #include + + +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_GLIBC) + #define LINUX + #include + #include --- qcake-0.7.2.orig/debian/patches/05_use-default-python +++ qcake-0.7.2/debian/patches/05_use-default-python @@ -0,0 +1,14 @@ +Author: Jakub Wilk vim:ft=diff: +Description: use default python version instead of hardcoded 2.5 + +--- a/build/python.prf ++++ b/build/python.prf +@@ -2,7 +2,7 @@ + + # Change this variable to your python version (2.3, 2.4, 2.5) + win32:PYTHON_VERSION=25 +- unix:PYTHON_VERSION=2.5 ++ unix:PYTHON_VERSION= + + macx { + # for macx you need to have Python development kit installed as framework