Bug#732735: performous: FTBFS: Required library Freetype NOT FOUND.

2013-12-22 Thread Roland Stigge
Hi,

I can also confirm that Markus' patch works.

Thanks,

Roland


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#732735: performous: FTBFS: Required library Freetype NOT FOUND.

2013-12-21 Thread Markus Koschany
Control: tags -1 confirmed patch

Hello,

performous currently FTBFS because the software ships a local cmake
module, FindFreeType.cmake, instead of using Debian's system default
module for cmake. However simply removing the local module did not help
(normally cmake falls back to the system's default then), thus I have
created a small patch to address this problem.

The debdiff is attached. I have also committed the changes to the svn
repository of the Debian Games Team.

Regards,

Markus

diff -Nru performous-0.7.0/debian/changelog performous-0.7.0/debian/changelog
--- performous-0.7.0/debian/changelog   2013-06-30 12:24:19.0 +0200
+++ performous-0.7.0/debian/changelog   2013-12-21 12:37:33.0 +0100
@@ -1,3 +1,12 @@
+performous (0.7.0-3) unstable; urgency=medium
+
+  * Team upload.
+  * Update the local FindFreeType.cmake file to detect the latest version of
+FreeType2 and make the software compile again. (Closes: #732735)
+  * Bump Standards-Version to 3.9.5, no changes.
+
+ -- Markus Koschany a...@gambaru.de  Sat, 21 Dec 2013 11:58:02 +0100
+
 performous (0.7.0-2) unstable; urgency=low
 
   * Team upload.
diff -Nru performous-0.7.0/debian/control performous-0.7.0/debian/control
--- performous-0.7.0/debian/control 2013-06-30 12:24:19.0 +0200
+++ performous-0.7.0/debian/control 2013-12-21 12:37:33.0 +0100
@@ -13,7 +13,7 @@
  libmagick++-dev, libsamplerate0-dev, libxml++2.6-dev,
  libasound2-dev, libjack-dev, libpulse-dev, portaudio19-dev,
  libgstreamer0.10-dev, libglew1.5-dev, libpango1.0-dev
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/performous/
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/performous/
 Homepage: http://performous.org/
diff -Nru performous-0.7.0/debian/patches/FindFreetype.patch 
performous-0.7.0/debian/patches/FindFreetype.patch
--- performous-0.7.0/debian/patches/FindFreetype.patch  1970-01-01 
01:00:00.0 +0100
+++ performous-0.7.0/debian/patches/FindFreetype.patch  2013-12-21 
12:37:33.0 +0100
@@ -0,0 +1,21 @@
+From: Markus Koschany a...@gambaru.de
+Date: Sat, 21 Dec 2013 11:48:00 +0100
+Subject: FindFreetype
+
+---
+ cmake/Modules/FindFreetype.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/Modules/FindFreetype.cmake 
b/cmake/Modules/FindFreetype.cmake
+index b4c1685..6511b90 100644
+--- a/cmake/Modules/FindFreetype.cmake
 b/cmake/Modules/FindFreetype.cmake
+@@ -12,7 +12,7 @@ libfind_pkg_check_modules(Freetype_PKGCONF freetype2)
+ 
+ # Include dir
+ find_path(Freetype_INCLUDE_DIR
+-  NAMES freetype/freetype.h
++  NAMES freetype2/freetype.h
+   PATHS ${Freetype_PKGCONF_INCLUDE_DIRS}
+   PATH_SUFFIXES freetype2
+ )
diff -Nru performous-0.7.0/debian/patches/series 
performous-0.7.0/debian/patches/series
--- performous-0.7.0/debian/patches/series  2013-06-30 12:24:19.0 
+0200
+++ performous-0.7.0/debian/patches/series  2013-12-21 12:37:33.0 
+0100
@@ -1,3 +1,4 @@
 desktop.patch
 libav0.8.patch
 use-Boost-TIME_UTC_-constant-unconditionally.patch
+FindFreetype.patch


signature.asc
Description: OpenPGP digital signature


Bug#732735: performous: FTBFS: Required library Freetype NOT FOUND.

2013-12-21 Thread Steve Cotton
On Sat, Dec 21, 2013 at 12:52 +0100, Markus Koschany wrote:
 performous currently FTBFS because the software ships a local cmake
 module, FindFreeType.cmake, instead of using Debian's system default
 module for cmake. However simply removing the local module did not help
 (normally cmake falls back to the system's default then), thus I have
 created a small patch to address this problem.

tl;dr : I think Markus's patch is good.
Sending this anyway to save other people from looking at #731089.

There's a very recent bugfix for FreeType in CMake:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731089
Source-Version: 2.8.12.1-1.1

But even when the system module works, Performous's other CMake
modules don't, they use a different capitalisation and sometimes
different names for variables set by FindFreetype.cmake.

Simply deleting all the local cmake modules isn't an easy option
either, not all of them have matching system-supplied ones.

 + find_path(Freetype_INCLUDE_DIR
 +-  NAMES freetype/freetype.h
 ++  NAMES freetype2/freetype.h

I don't think this one is perfect.  IIUC, according to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015#10
the only reliable header filename is ft2build.h.

But after writing the rest of this, I think it's the right fix.

Thanks,
Steve


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#732735: performous: FTBFS: Required library Freetype NOT FOUND.

2013-12-20 Thread Roland Stigge
Source: performous
Version: 0.7.0-2
Severity: serious

Hi,

performous FTBFS in current unstable like this:

...
-- Found Boost 1.54.0
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: 
/usr/lib/powerpc-linux-gnuspe/libboost_thread.so;/usr/lib/powerpc-linux-gnuspe/libboost_date_time.so;/usr/lib/powerpc-linux-gnuspe/libboost_program_options.so;/usr/lib/powerpc-linux-gnuspe/libboost_regex.so;/usr/lib/powerpc-linux-gnuspe/libboost_filesystem.so;optimized;/usr/lib/powerpc-linux-gnuspe/libboost_system.so;debug;/usr/lib/powerpc-linux-gnuspe/libboost_system.so;optimized;/usr/lib/powerpc-linux-gnuspe/libboost_system.so;debug;/usr/lib/powerpc-linux-gnuspe/libboost_system.so
-- checking for module 'sdl'
--   found sdl, version 1.2.15
-- Found SDL 
-- checking for module 'freetype2'
--   found freetype2, version 17.0.11
Freetype_INCLUDE_DIR=Freetype_INCLUDE_DIR-NOTFOUND
Freetype_LIBRARY=/usr/lib/powerpc-linux-gnuspe/libfreetype.so
CMake Error at cmake/Modules/LibFindMacros.cmake:71 (message):
  Required library Freetype NOT FOUND.

  Install the library (dev version) and try again.  If the library is already
  installed, use ccmake to set the missing variables manually.
Call Stack (most recent call first):
  cmake/Modules/FindFreetype.cmake:30 (libfind_process)
  cmake/Modules/LibFindMacros.cmake:10 (find_package)
  cmake/Modules/FindPango.cmake:11 (libfind_package)
  cmake/Modules/LibFindMacros.cmake:10 (find_package)
  cmake/Modules/FindPangoCairo.cmake:11 (libfind_package)
  game/CMakeLists.txt:75 (find_package)


-- Configuring incomplete, errors occurred!
See also /«PKGBUILDDIR»/build-tree/CMakeFiles/CMakeOutput.log.
make: *** [configure-stamp] Error 1
...


Please note that this happens with cmake 2.8.12.1-1.1 that fixes #731089, a
similar issue.

I also checked that the same happens on amd64.

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org