[Fink-devel] Update for package glob2 : help with scons required

2008-03-31 Thread Alexandre Vial

Hello,

I am curently trying to build the new glob2 version 0.9.2. Since version 
0.9.1, the build process is managed by scons, and it was already tricky 
to find how to deal with it.
For version 0.9.2, I tried the same trick (mainly defining DATADIR in 
addition to INSTALLDIR and BINDIR), but it looks like something was 
changed again. After succesfully compiling, trying glob2 gives :


Fatal error : while loading data/texts.list.txt
src/GlobalContainer.cpp:436: failed assertion `false'
Abort trap

So it appears that glob2 is not looking at the right place, ie 
/sw/share/glob2, as the files are there but not found.


I had a look on the macport page 
http://trac.macports.org/projects/macports/browser/trunk/dports/games/glob2

where they patch FileManager.cpp, but I did not succeed using this method.

I attach my current glob2.info and glob2.patch.

Scons is still a long way to go.

Thanks for any help,

Alexandre
Package: glob2
Version: 0.9.2
Revision: 1
GCC: 4.0
Architecture: powerpc, i386
Maintainer: Alexandre Vial [EMAIL PROTECTED]
Depends: libvorbis0-shlibs, sdl-image-shlibs, sdl-ttf-shlibs, sdl-net-shlibs, 
speex3-shlibs, boost1.34.nopython-shlibs, fribidi-shlibs, x11-shlibs
BuildDepends: scons, vorbis-tools, libvorbis0, libogg, sdl, sdl-image, sdl-ttf, 
sdl-net, speex3, boost1.34.nopython, fribidi, fribidi-dev, x11-dev
Conflicts:
Source: http://dl.sv.nongnu.org/releases/%n/%v/%n-%v_withSound.tar.gz
Source-MD5: 946673cfb31dfbb54b4c768fc97aef14
SourceDirectory: glob2-%v
Patch: %n.patch
CompileScript: 
  scons osx=1 release=1 INSTALLDIR=%i/share BINDIR=%i/bin 
DATADIR=%p/share/glob2/ FINKPREFIX=%p

InstallScript: 
  scons install

DocFiles: AUTHORS COPYING README README.hg INSTALL
InfoDocs: 
Description: Innovative Real-Time Strategy (RTS) game
DescDetail: 
Globulation 2 brings a new type of gameplay to RTS games. The player chooses
the number of units to assign to various tasks, and the units do their best
to satisfy the requests. This allows players to manage more units and focus on
strategy rather than individual unit's jobs. Globulation 2 also features AI
allowing single-player games or any possible combination of human-computer
teams. Also included is a scripting language for versatile gameplay or
tutorials and an integrated map editor. Globulation2 can be played in single
player mode, through your local network, or over the Internet with
Ysagoon Online Gaming (or YOG for short).
To play, type glob2 in Terminal.app.

DescPort: 
To do...

Homepage: http://www.globulation2.org/
License: GPL
--- glob2-0.9.2/SConstruct.orig 2008-03-22 12:08:31.0 +0100
+++ glob2-0.9.2/SConstruct  2008-03-22 14:09:42.0 +0100
@@ -14,6 +14,8 @@
 opts.Add(LINKFLAGS, Manually add to the LINKFLAGS, -g)
 opts.Add(INSTALLDIR, Installation Directory, /usr/local/share)
 opts.Add(BINDIR, Binary Installation Directory, /usr/local/bin)
+opts.Add(DATADIR, Final destination of data files, /usr/local/share)
+opts.Add(FINKPREFIX, Fink directory, /sw)
 opts.Add(BoolOption(release, Build for release, 0))
 opts.Add(BoolOption(profile, 'Build with profiling on', 0))
 opts.Add(BoolOption(mingw, Build with mingw enabled if not 
auto-detected, 0))
@@ -21,6 +23,10 @@
 Help(opts.GenerateHelpText(env))
 opts.Update(env)
 opts.Save('options_cache.py', env)
+env.Append(CPPPATH = [ env[FINKPREFIX] + /include ])
+env.Append(CPPPATH = [ /usr/X11R6/include ])
+env.Append(LIBPATH = [ env[FINKPREFIX] + /lib])
+env.Append(LIBPATH = [ /usr/X11R6/lib ])
 
 
 class Configuration:
@@ -40,7 +46,8 @@
 configfile = Configuration()
 configfile.add(PACKAGE, Name of package, \glob2\)
 configfile.add(PACKAGE_BUGREPORT, Define to the address where bug 
reports for this package should be sent., \[EMAIL PROTECTED])
-configfile.add(PACKAGE_DATA_DIR, data directory, \ + 
env[INSTALLDIR] + \)
+#configfile.add(PACKAGE_DATA_DIR, data directory, \ + 
env[INSTALLDIR] + \)
+configfile.add(PACKAGE_DATA_DIR, data directory, \ + env[DATADIR] 
+ \)
 configfile.add(PACKAGE_SOURCE_DIR, source directory, \ 
+env.Dir(#).abspath.replace(\\, ) + \)
 configfile.add(PACKAGE_NAME, Define to the full name of this package., 
\Globulation 2\)
 configfile.add(PACKAGE_TARNAME, Define to the one symbol short name of 
this package., \glob2\)
@@ -176,8 +183,6 @@
 else:
 env.ParseConfig(sdl-config --cflags)
 env.ParseConfig(sdl-config --libs)
-if isDarwinPlatform:
-env.Append(CXXFLAGS= -framework OpenGL )
 env.Append(LIBS=['vorbisfile', 'SDL_ttf', 'SDL_image', 'SDL_net', 'speex'])
 
 env[TARFILE] = env.Dir(#).abspath + /glob2- + env[VERSION] + 
.tar.gz
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.

[Fink-devel] python24 on Leopard missing resource module

2008-03-31 Thread Simon Blanchard
The current python24 version based on python-2.4.3 builds but is 
missing at least one module ('resource') when it is installed. I 
believe switching to python-2.4.5 will fix this.

http://www.python.org/download/releases/2.4.5/

Simon


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] zope-2.6.3-1104

2008-03-31 Thread Pascal Staccini
hello
could it be possible to use python 2.4.4 to compile this release of  
Zope ?
this package has been structured to use python 2.4.3 and this seems  
the wrong version.
no error during the compiling, but when starting zope, the error is  
related to python 2.4.3
see : http://www.opensubscriber.com/message/[EMAIL PROTECTED]/8672607.html 
  for details
I already posted a similar message one month ago, but no answer
thank you
pascal

--
Package manager version: 0.28.1
Distribution version: selfupdate-rsync Sun Mar 30 21:25:59 2008, 10.5,  
i386
Mac OS X version: 10.5.2
Xcode version: 3.0
gcc version: 4.0.1 (Apple Inc. build 5465)
make version: 3.81
Feedback Courtesy of FinkCommander




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] zope-2.6.3-1104

2008-03-31 Thread Alexander Hansen
Pascal Staccini wrote:
 hello
 could it be possible to use python 2.4.4 to compile this release of  
 Zope ?
 this package has been structured to use python 2.4.3 and this seems  
 the wrong version.
 no error during the compiling, but when starting zope, the error is  
 related to python 2.4.3
 see : http://www.opensubscriber.com/message/[EMAIL PROTECTED]/8672607.html 
   for details
 I already posted a similar message one month ago, but no answer
 thank you
 pascal

 --
 Package manager version: 0.28.1
 Distribution version: selfupdate-rsync Sun Mar 30 21:25:59 2008, 10.5,  
 i386
 Mac OS X version: 10.5.2
 Xcode version: 3.0
 gcc version: 4.0.1 (Apple Inc. build 5465)
 make version: 3.81
 Feedback Courtesy of FinkCommander
   
The issue is really can python24 be updated to  Python-2.4.4?  You'll 
be best served emailing the maintainer of python24 about this. 
Also, you're dealing with an all-volunteer project that's a bit 
short-staffed, so expect delays.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] zope-2.6.3-1104

2008-03-31 Thread Daniel Macks
On Mon, Mar 31, 2008 at 01:54:10PM -0400, Alexander Hansen wrote:
 Pascal Staccini wrote:
  hello
  could it be possible to use python 2.4.4 to compile this release of  
  Zope ?
  this package has been structured to use python 2.4.3 and this seems  
  the wrong version.
  no error during the compiling, but when starting zope, the error is  
  related to python 2.4.3
  see : http://www.opensubscriber.com/message/[EMAIL PROTECTED]/8672607.html 
for details
  I already posted a similar message one month ago, but no answer
  thank you
  pascal
 
  --
  Package manager version: 0.28.1
  Distribution version: selfupdate-rsync Sun Mar 30 21:25:59 2008, 10.5,  
  i386
  Mac OS X version: 10.5.2
  Xcode version: 3.0
  gcc version: 4.0.1 (Apple Inc. build 5465)
  make version: 3.81
  Feedback Courtesy of FinkCommander

 The issue is really can python24 be updated to  Python-2.4.4?  You'll 
 be best served emailing the maintainer of python24 about this. 
 Also, you're dealing with an all-volunteer project that's a bit 
 short-staffed, so expect delays.

*Long* delays, since there is no maintainer for python  25. Wonder if
zope can be shifted to use python25, which is the only actively
maintained python either in fink or from upstream?

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel