Re: [Fink-devel] graphicsmagick

2007-08-31 Thread Sven Schwyn
Hi

Thanks for your input, I've taken the time to read most of the  
documentation meanwhile. It may seem lazy not doing so before posting  
- and it probably is. Guess I've spent too much lifetime over the  
Gentoo Ebuild documentations :-)

 The dependency on the /Developer/SDKs/MacOSX10.4u.sdk stuff is more  
 problematic, but I am not convinced you really want to do this.

I've dropped it and it works without, dito for the symlink.  
Streamlined the rest of the file as well. I'm not sure about the  
Splitoffs, but I've moved the BuildDependenies to Dependencies which  
- if I understood right - should make these obsolete.

I can't try it on PowerPC, so I set the arch to i386.

The remaining package file is kinda slim:

==BEGIN==
Package: graphicsmagick
Version: 1.1.8
Revision: 1000
Architecture: i386
GCC: 4.0
Source: ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/ 
GraphicsMagick-%v.tar.gz
Source-MD5: 437e7b6bac2e75695b3482c0b9b8c275
Depends: libjpeg, libpng3, libtiff
ConfigureParams: --prefix=%p --with-quantum-depth=16 --disable- 
dependency-tracking --with-x=yes --x-includes=/usr/X11R6/include --x- 
libraries=/usr/X11R6/lib/ --without-perl
Description: Image manipulation tools like ImageMagick
InstallScript: 
#!/bin/sh -ev
make install DESTDIR=%d

DescDetail: 
GraphicsMagick is doing very much the same as ImageMagick, however,
the interface is undergoing less changes which made it popular with
frameworks and CMS such as TYPO3.

DocFiles: README.txt ChangeLog NEWS
License: GraphicsMagick License
Maintainer: Sven Schwyn [EMAIL PROTECTED]
Homepage: http://www.graphicsmagick.org
==END==

Cheers, -sven

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] graphicsmagick

2007-08-31 Thread Sven Schwyn
Hi Alexander

 Nope.  What you're depending on now are header packages, which are
 explicitly marked as BuildDependsOnly.  You need both a BuildDepend on
 these, and a Depend on the corresponding -shlibs (shared library)
 packages.

Okay, get it.

 That makes it impossible for anybody to try it on a PowerPC without
 having to edit that out.  It's better not to set the Architecture
 until it is verified that a package doesn't work there.

That's the Gentoo influence where you never allow an architecture  
without having tried it on. I've remove that directive.

 Try using fink -m rebuild graphicsmagick to see what the validator
 says about your current packaging.

The manual sais that, too, but my Fink means: fink: unknown option :-)

Cheers, -sven



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] graphicsmagick

2007-08-30 Thread Sven Schwyn
Hi folks

I'm very new to Fink and need GraphicsMagick to work with TYPO3 on a  
Mac. I've therefore converted the installation guide into an .info  
for Fink. However, it's surely far from perfect I guess, so hints on  
how to improve it are very much apprechiated, particularly:

1)
I've got /sw hardcoded which causes Fink to nag. Replacing it with  
@FINKPREFIX@ does not work as this is not being replaced by /sw at  
build time. There seems to be missing something.

2)
The line which temporary sets a symbolic link (sudo ln -s /sw / 
Developer...) is needed for the GraphicsMagick to compile. However,  
sudo asks for the password - is there a way to prevent this?

3)
The package is very OS version dependent, 10.4 in this case. Setting  
the symbolic link will fail on other releases or if the Developer  
Tools are not installed. Is this enough or should there be another  
statement in the .info file to enforce the dependency to a specific  
Mac OS X release?

Many thanks for your help,  -sven


==BEGIN==
Info2: 
Package: graphicsmagick
Version: 1.1.8
Revision: 1000
GCC: 4.0
Source: ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/ 
GraphicsMagick-%v.tar.gz
Source-MD5: 437e7b6bac2e75695b3482c0b9b8c275
SourceDirectory: GraphicsMagick-%v
BuildDepends: libjpeg, libpng3, libtiff
CompileScript: 
#!/bin/sh -ev
sudo ln -s /sw /Developer/SDKs/MacOSX10.4u.sdk/
export CFLAGS=-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -arch  
i386 -I/sw/include/
export LDFLAGS=-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/ 
sw/lib/
./configure --prefix=/sw --with-quantum-depth=16 --disable-dependency- 
tracking --with-x=yes --x-includes=/usr/X11R6/include --x-libraries=/ 
usr/X11R6/lib/ --without-perl
sudo /Developer/SDKs/MacOSX10.4u.sdk/sw
make

Description: Image manipulation tools like ImageMagick
InstallScript: 
#!/bin/sh -ev
make install DESTDIR=%d

DescDetail: 
GraphicsMagick is doing very much the same as ImageMagick, however,
the interface is undergoing less changes which made it popular with
frameworks and CMS such as TYPO3.

DocFiles: README.txt ChangeLog NEWS
License: GraphicsMagick License
Maintainer: Sven Schwyn [EMAIL PROTECTED]
Homepage: http://www.graphicsmagick.org
#end of Info2

==END==


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel