Re: [Fink-devel] graphicsmagick

2008-10-04 Thread Ben Abbott


Alexander Hansen-2 wrote:
 
 
 On Sep 30, 2008, at 9:59 AM, Ben Abbott wrote:
 

 On Tuesday, September 30, 2008, at 09:54AM, Alexander Hansen
 [EMAIL PROTECTED] 
  wrote:

 On Sep 30, 2008, at 9:42 AM, Ben Abbott wrote:

 Sven Schwyn echo60 at delirium.ch writes:

 Hi

 snip

 Cheers, -sven

 Is there any continued effort on this. I'm interested in a Fink
 package for
 graphicsmagick to be used as a dependency for Octave.

 If no one is going to continue to work on a package, I can take
 a look,
 but would greatly appreciate it if I don't have to start from  
 scratch.

 Ben


 Is there any reason imagemagick wouldn't work for this?


 I'm not familiar with either, but at present graphicsmagick is a  
 dependency for a fully functional Octave.

 Any thought on how much effort would be needed to make such a
 change?

 Ben


 Graphicsmagick is a fork of  imagemagick.  My understanding is that  
 should build OK.  Is this for the current Octave release? 
 

(I noticed a reply I sent a few days ago did not show up on Nabble.
 So I'm trying again)

Apparently graphicsmagick was added as a optional dependency in 
July of this year. Although it was part of octave-forge for quite some 
time prior to that.

Regarding new dependencies, fltk-aqua has some problem with 
Octave's development sources. Any chance you/someone can get 
the x11 variant updated. I tried the maintainer some months ago, 
but didn't get a reply.

Ben
-- 
View this message in context: 
http://www.nabble.com/graphicsmagick-tp12417910p19768243.html
Sent from the fink-devel mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] graphicsmagick

2008-09-30 Thread Ben Abbott
Sven Schwyn echo60 at delirium.ch writes:
 
 Hi
 
snip
 
 Cheers, -sven

Is there any continued effort on this. I'm interested in a Fink package for 
graphicsmagick to be used as a dependency for Octave.

If no one is going to continue to work on a package, I can take a look,
but would greatly appreciate it if I don't have to start from scratch.

Ben







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] graphicsmagick

2008-09-30 Thread Ben Abbott
 
On Tuesday, September 30, 2008, at 09:54AM, Alexander Hansen [EMAIL 
PROTECTED] wrote:

On Sep 30, 2008, at 9:42 AM, Ben Abbott wrote:

 Sven Schwyn echo60 at delirium.ch writes:

 Hi

 snip

 Cheers, -sven

 Is there any continued effort on this. I'm interested in a Fink  
 package for
 graphicsmagick to be used as a dependency for Octave.

 If no one is going to continue to work on a package, I can take a  
 look,
 but would greatly appreciate it if I don't have to start from scratch.

 Ben


Is there any reason imagemagick wouldn't work for this?


I'm not familiar with either, but at present graphicsmagick is a dependency for 
a fully functional Octave.

Any thought on how much effort would be needed to make such a change?

Ben



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] graphicsmagick

2008-09-30 Thread Alexander Hansen

On Sep 30, 2008, at 9:42 AM, Ben Abbott wrote:

 Sven Schwyn echo60 at delirium.ch writes:

 Hi

 snip

 Cheers, -sven

 Is there any continued effort on this. I'm interested in a Fink  
 package for
 graphicsmagick to be used as a dependency for Octave.

 If no one is going to continue to work on a package, I can take a  
 look,
 but would greatly appreciate it if I don't have to start from scratch.

 Ben


Is there any reason imagemagick wouldn't work for this?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] graphicsmagick

2008-09-30 Thread Alexander Hansen

On Sep 30, 2008, at 9:59 AM, Ben Abbott wrote:


 On Tuesday, September 30, 2008, at 09:54AM, Alexander Hansen [EMAIL 
 PROTECTED] 
  wrote:

 On Sep 30, 2008, at 9:42 AM, Ben Abbott wrote:

 Sven Schwyn echo60 at delirium.ch writes:

 Hi

 snip

 Cheers, -sven

 Is there any continued effort on this. I'm interested in a Fink
 package for
 graphicsmagick to be used as a dependency for Octave.

 If no one is going to continue to work on a package, I can take a
 look,
 but would greatly appreciate it if I don't have to start from  
 scratch.

 Ben


 Is there any reason imagemagick wouldn't work for this?


 I'm not familiar with either, but at present graphicsmagick is a  
 dependency for a fully functional Octave.

 Any thought on how much effort would be needed to make such a change?

 Ben


Graphicsmagick is a fork of  imagemagick.  My understanding is that  
should build OK.  Is this for the current Octave release? 
   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] graphicsmagick

2008-09-30 Thread Ben Abbott
On Tuesday, September 30, 2008, at 12:58PM, Alexander Hansen [EMAIL 
PROTECTED] wrote:

On Sep 30, 2008, at 9:59 AM, Ben Abbott wrote:


 On Tuesday, September 30, 2008, at 09:54AM, Alexander Hansen [EMAIL 
 PROTECTED] 
  wrote:

 On Sep 30, 2008, at 9:42 AM, Ben Abbott wrote:

 Sven Schwyn echo60 at delirium.ch writes:

 Hi

 snip

 Cheers, -sven

 Is there any continued effort on this. I'm interested in a Fink
 package for
 graphicsmagick to be used as a dependency for Octave.

 If no one is going to continue to work on a package, I can take a
 look,
 but would greatly appreciate it if I don't have to start from  
 scratch.

 Ben


 Is there any reason imagemagick wouldn't work for this?


 I'm not familiar with either, but at present graphicsmagick is a  
 dependency for a fully functional Octave.

 Any thought on how much effort would be needed to make such a change?

 Ben


Graphicsmagick is a fork of  imagemagick.  My understanding is that  
should build OK.  Is this for the current Octave release? 
   

Apparently graphicsmagick was added as a optional dependency in July of this 
year. Although it was part of octave-forge for quite some time prior to that.

Regarding new dependencies, fltk-aqua has some problem with Octave's 
development sources. Any chance you/someone can get the x11 variant updated. I 
tried the maintainer some months ago, but didn't get a reply.

Ben





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


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 Alexander Hansen
On 8/31/07, Sven Schwyn [EMAIL PROTECTED] wrote:
 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.

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.

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

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.

Fink supports conditionals using the %m field to allow for
architecture-specific stuff.


 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


Try using fink -m rebuild graphicsmagick to see what the validator
says about your current packaging.
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

-
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 Paul Mitchum
 Date: Fri, 31 Aug 2007 00:46:31 +0200
 From: Sven Schwyn [EMAIL PROTECTED]

 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: [..]

I got a useful build this way, though it's far from optimal. I kept  
notes in DescPackaging. I got started on a -lib -bin splitoff  
version, but never finished, and that info file's not worth passing  
on. Presented for forensic purposes. :-)

HTH.

Package: graphicsmagick
Version: 1.1.7
Revision: 1
Architecture: powerpc, i386

Maintainer: Paul Mitchum [EMAIL PROTECTED]
HomePage: http://www.graphicsmagick.org/
License: GPL
Description: Graphics conversion and composite utility

Source: mirror:sourceforge:%n/GraphicsMagick-%v.tar.gz
Source-MD5: 9dec2209500b44c617a789b4072ed724

DescDetail: 
GraphicsMagick is the swiss army knife of image processing.
It provides a robust collection of tools and libraries which
support reading, writing, and manipulating an image in over
88 major formats.
GraphicsMagick is feature-compatible with ImageMagick, but can
be installed alongside it.


DescPackaging: 
This package builds GM as a stand-alone, no libraries, no-plugins, no
Magick++ binary. This is just to simplify things, and, frankly, because
I don't know how to do it otherwise (yet).

GraphicsMagick wants a lot of dependencies. Some are available under  
fink,
and, some aren't, but it will build just fine without the ones that  
don't
exist yet.
Capabilities which are missing because of lack of fink projects:
GCM (needs ralcgm package, unmaintained in fink),
camera RAW files (needs dcraw package),
rasterized HTML pages (html2ps package),
JBIG (jbig-kit package),
DICOM (unmodified libjpeg),
Radiance (ra_ppm utility),
RLE (Utah Raster Toolkit),
scanner support will be dicey at best (scanimage utility),
FlashPIX (libfpx package),
and PNG and MIFF, which don't work because there's no zlib. This
is a priority.

Support for the more secure TRIO package is pending.

PerlMagick support is missing in this revision. My kung fu is no good.


Depends: lcms-shlibs, freetype219-shlibs, ghostscript, hp2xx,  
gnuplot, libjasper1-shlibs, mpeg2vidcodec, libwmf-shlibs, libxml2- 
shlibs, transfig

# ConfigureParams only sets path stuff not likely to change with  
revision.
# Feature options set in CompileScript.
# some of the config files are stored in weird places by GM. these  
paths are
# difficult to re-engineer, but it will happen. :-)
ConfigureParams: --mandir=%p/share/man --datadir=%p/share/doc/%n

CompileScript: 
#! /bin/sh -ev
./configure %c --with-png=no --without-perl --disable-static -- 
without-magick-plus-plus
make
# make check


InstallScript: 
#! /bin/sh -ev
DESTDIR=%i make install


RuntimeVars: 
   MAGICK_CONFIGURE_PATH: %p/share/doc/%n/GraphicsMagick-1.1.7/config: 
%p/lib/GraphicsMagick-1.1.7/config/


DocFiles: AUTHORS ChangeLog Copyright.txt NEWS PLATFORMS.txt  
README.txt TODO.txt


-
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


Re: [Fink-devel] graphicsmagick

2007-08-31 Thread Alexander K. Hansen
Paul Mitchum wrote:
 Date: Fri, 31 Aug 2007 00:46:31 +0200
 From: Sven Schwyn [EMAIL PROTECTED]

 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: [..]
 

 I got a useful build this way, though it's far from optimal. I kept  
 notes in DescPackaging. I got started on a -lib -bin splitoff  
 version, but never finished, and that info file's not worth passing  
 on. Presented for forensic purposes. :-)

 HTH.

 Package: graphicsmagick
 Version: 1.1.7
 Revision: 1
 Architecture: powerpc, i386
   
The above is the same as not having any Architecture field. Until Apple 
puts out another arch, anyway.  :-)
 Maintainer: Paul Mitchum [EMAIL PROTECTED]
 HomePage: http://www.graphicsmagick.org/
 License: GPL
 Description: Graphics conversion and composite utility

 Source: mirror:sourceforge:%n/GraphicsMagick-%v.tar.gz
 Source-MD5: 9dec2209500b44c617a789b4072ed724

 DescDetail: 
 GraphicsMagick is the swiss army knife of image processing.
 It provides a robust collection of tools and libraries which
 support reading, writing, and manipulating an image in over
 88 major formats.
 GraphicsMagick is feature-compatible with ImageMagick, but can
 be installed alongside it.
 

 DescPackaging: 
 This package builds GM as a stand-alone, no libraries, no-plugins, no
 Magick++ binary. This is just to simplify things, and, frankly, because
 I don't know how to do it otherwise (yet).

 GraphicsMagick wants a lot of dependencies. Some are available under  
 fink,
 and, some aren't, but it will build just fine without the ones that  
 don't
 exist yet.
 Capabilities which are missing because of lack of fink projects:
 GCM (needs ralcgm package, unmaintained in fink),
 camera RAW files (needs dcraw package),
 rasterized HTML pages (html2ps package),
 JBIG (jbig-kit package),
 DICOM (unmodified libjpeg),
 Radiance (ra_ppm utility),
 RLE (Utah Raster Toolkit),
 scanner support will be dicey at best (scanimage utility),
 FlashPIX (libfpx package),
 and PNG and MIFF, which don't work because there's no zlib. This
 is a priority.

 Support for the more secure TRIO package is pending.

 PerlMagick support is missing in this revision. My kung fu is no good.
 

 Depends: lcms-shlibs, freetype219-shlibs, ghostscript, hp2xx,  
 gnuplot, libjasper1-shlibs, mpeg2vidcodec, libwmf-shlibs, libxml2- 
 shlibs, transfig

 # ConfigureParams only sets path stuff not likely to change with  
 revision.
 # Feature options set in CompileScript.
 # some of the config files are stored in weird places by GM. these  
 paths are
 # difficult to re-engineer, but it will happen. :-)
 ConfigureParams: --mandir=%p/share/man --datadir=%p/share/doc/%n

 CompileScript: 
 #! /bin/sh -ev
 ./configure %c --with-png=no --without-perl --disable-static -- 
 without-magick-plus-plus
 make
 # make check
 

 InstallScript: 
 #! /bin/sh -ev
 DESTDIR=%i make install
 

 RuntimeVars: 
MAGICK_CONFIGURE_PATH: %p/share/doc/%n/GraphicsMagick-1.1.7/config: 
 %p/lib/GraphicsMagick-1.1.7/config/
 

 DocFiles: AUTHORS ChangeLog Copyright.txt NEWS PLATFORMS.txt  
 README.txt TODO.txt


 -
 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
   


-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-
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 Alexander K. Hansen
Sven Schwyn wrote:
 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

   
You must not be using a current fink tool then. 

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-
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


Re: [Fink-devel] graphicsmagick

2007-08-30 Thread Alexander Hansen
On 8/30/07, Sven Schwyn [EMAIL PROTECTED] wrote:
 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.

You need a PatchScript which converts @FINKPREFIX@ to %p after any
patches are applied, but before the build.  Something to the effect of

Patchscript: sed 's|@FINKPREFIX@|%p|g' %a/%n.patch | patch -p1

is pretty standard


 2)
 The line which temporary sets a symbolic link (sudo ln -s /sw /
 Developer...) is needed for the GraphicsMagick to compile.

Why is this necessary?

However,
 sudo asks for the password - is there a way to prevent this?


This isn't generally acceptable in a Fink package:  we don't let
packages do anything outside of their build directories during the
build process.  You're going to need to come up with a different way
to do it.

 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?


There are separate trees for 10.3 and 10.4, so this doesn't have to be
added to 10.3.  If you tag it as Distribution: 10.4, then it won't be
visible on 10.3 or 10.5 in any case.

 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==


Moreover, I'm pretty sure that the package is going to need splitoffs
for libraries and headers, and you don't have any runtime dependencies
listed.
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

-
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-30 Thread Alexander Hansen
On 8/30/07, Alexander Hansen [EMAIL PROTECTED] wrote:
 On 8/30/07, Sven Schwyn [EMAIL PROTECTED] wrote:
  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.

 You need a PatchScript which converts @FINKPREFIX@ to %p after any
 patches are applied, but before the build.  Something to the effect of

 Patchscript: sed 's|@FINKPREFIX@|%p|g' %a/%n.patch | patch -p1

 is pretty standard

 
  2)
  The line which temporary sets a symbolic link (sudo ln -s /sw /
  Developer...) is needed for the GraphicsMagick to compile.

 Why is this necessary?

 However,
  sudo asks for the password - is there a way to prevent this?
 

 This isn't generally acceptable in a Fink package:  we don't let
 packages do anything outside of their build directories during the
 build process.  You're going to need to come up with a different way
 to do it.

  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?
 

 There are separate trees for 10.3 and 10.4, so this doesn't have to be
 added to 10.3.  If you tag it as Distribution: 10.4, then it won't be
 visible on 10.3 or 10.5 in any case.

  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==
 

 Moreover, I'm pretty sure that the package is going to need splitoffs
 for libraries and headers, and you don't have any runtime dependencies
 listed.
 --

Since you're passing flags pointing to
/Developer/SDKs/MacOSX10.4u.sdk/ it seems strange that you'd need to
symlink it.

Also, you can simplify your CompileScript by using ConfigureParams,
SetCFLAGS and SetLDFLAGS.  Check out the packaging manual:

http://www.finkproject.org/doc/packaging/index.php

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

-
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