head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.56 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.54 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.52 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.50 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.48 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.46 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.44 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.42 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.40 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.38 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.36 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.34 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.32 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.30 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.28 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.26 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.24 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.22 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.20 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.18 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.16 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.14 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.12 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.10 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.6 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.8 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.4 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.2 pkgsrc-2019Q2-base:1.2; locks; strict; comment @# @; 1.2 date 2019.05.27.16.07.30; author maya; state Exp; branches; next 1.1; commitid 3wq632WgKUTJnRoB; 1.1 date 2019.05.12.06.17.30; author triaxx; state Exp; branches; next ; commitid pxKRB1tRBminBSmB; desc @@ 1.2 log @pingus: use pkgconfig to find libGL. Results in adding /usr/X11R7/lib to RPATH on netbsd, meaning this program can run. Avoid accidental expansion of DATADIR in pingus_main.cpp. This now runs for me. Bump PKGREVISION. @ text @$NetBSD: patch-SConscript,v 1.1 2019/05/12 06:17:30 triaxx Exp $ * Python 3.x support. * Boost does not maintain Signals anymore (Signals2 does not require linkage). --- SConscript.orig 2011-12-24 21:46:47.000000000 +0000 +++ SConscript @@@@ -77,7 +77,6 @@@@ class Project: self.configure_linuxevdev() self.configure_wiimote() self.configure_xinput() - self.configure_boost() self.configure_png() self.configure_sdl() self.configure_iconv() @@@@ -126,12 +125,12 @@@@ class Project: def configure_end(self): self.env = self.conf.Finish() - print "Reports:" - print self.reports + print("Reports:") + print(self.reports) if not self.fatal_error == "": - print "Fatal Errors:" - print self.fatal_error + print("Fatal Errors:") + print(self.fatal_error) Exit(1) def configure_gxx(self): @@@@ -151,7 +150,10 @@@@ class Project: if sys.platform == "darwin": self.conf.env.Append(LINKFLAGS = [ '-framework', 'OpenGL' ]) else: - self.conf.env.Append(LIBS = ['GL']) + if self.conf.CheckMyProgram('pkg-config'): + self.conf.env.ParseConfig("pkg-config --cflags --libs gl") + else: + self.conf.env.Append(LIBS = ['GL']) def configure_linuxevdev(self): if not self.env['with_linuxevdev']: @@@@ -186,11 +188,6 @@@@ class Project: self.conf.env.Append(optional_sources = ['src/engine/input/xinput/xinput_driver.cpp', 'src/engine/input/xinput/xinput_device.cpp']) - def configure_boost(self): - if not self.conf.CheckLibWithHeader('boost_signals', 'boost/signals.hpp', 'c++'): - if not self.conf.CheckLibWithHeader('boost_signals-mt', 'boost/signals.hpp', 'c++'): - self.fatal_error += " * library 'boost_signals' not found\n" - def configure_png(self): if self.conf.CheckMyProgram('pkg-config'): self.conf.env.ParseConfig("pkg-config --cflags --libs libpng | sed 's/-I/-isystem/g'") @ 1.1 log @pingus: update to 0.7.6 pkgsrc changes: * Disable configure target (SCons seems not to provide it) * Remove explicit use of SCons: use Makefile instead * Port deprecated Boost.Signals to Boost.Signals2 * Take MAINTENERship Changes: Pingus 0.7.6 (24/Dec/2011) ========================== * added new SVG icons for Pingus * added 10 new xmas themed levels * added ability to sort levelsets by priority Pingus 0.7.5 (25/Oct/2011) ========================== * fixed memory leak in OpenGL renderer * added support for Win32 cross-compilation with mingw32 * added gamespeed adjustments via KPPlus, KPMinus, KPEnter * added single-stepping the game with 'S' * added better application icon * added access to all levelsets in developer-mode (Ctrl-m) * added 10 new Halloween levels Pingus 0.7.4 (10/Oct/2011) ========================== * fixed game not starting when no soundcard is present * all halloween and tutorial levels have been converted to a minimum size of 1920x1200 so they can be played in fullscreen without letterboxing * new --userdir command line switch to set the directory where savegames are saved * menu getting confused by fast succedding clicks fixed * level-demo recording and playback are back (files not compatible between x86 and x86-64) * window resize support throughout the whole game * dirty-rectangles drawing for improved performance with software rendering * OpenGL rendering * new blackboard graphic * Unicode support * two new levelsets, "Desert" and "Factory Campaign", with 27 new levels * added a man-page * deadly fall height has been increased * support for prefab objects and groups in the editor * cleaned up digger, miner and basher paths * added an option menu * lots of minor bug fixes * bitmap fonts have been generated with anti-aliasing @ text @d1 1 a1 1 $NetBSD$ d33 13 a45 1 @@@@ -186,11 +185,6 @@@@ class Project: @