[Fink-devel] libnc-dap3 updated

2007-08-31 Thread Alexander K. Hansen
I've finally gone ahead and committed nco and its updated versioned 
dependencies to 10.4/unstable.  Because libnc-dap3 didn't have an 
install_name change, I didn't create a new package name for the updated 
version.  However, I did leave the prior version (3.5.2-1001) available, 
in case of upgrade issues. 

-
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


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 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 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 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] Update to daemonic to handle launchd?

2007-08-31 Thread Alexander Hansen
On 8/31/07, Philip Lamb <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Given that 10.5 is quite close, and SystemStarter is deprecated, has
> there been any discussion about how to modify daemonic to create
> config for launchd rather than SystemStarter?
>
> Regards,
> Phil.

There have been some discussions on IRC--no formal resolution proposal
as of yet.

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


[Fink-devel] Update to daemonic to handle launchd?

2007-08-31 Thread Philip Lamb

Hi all,

Given that 10.5 is quite close, and SystemStarter is deprecated, has  
there been any discussion about how to modify daemonic to create  
config for launchd rather than SystemStarter?


Regards,
Phil.

smime.p7s
Description: S/MIME cryptographic signature
-
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 Martin Costabel
Sven Schwyn 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.

Yes, %p. As Alex said: Check out the packaging manual:

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

Using an existing package as model is a very good idea, but you really 
*need* to read the packaging documentation, too.

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

Fink runs its CompileScript as root already. There is no sudo needed here.

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

The OS version dependency is no problem, because every Fink package is 
in a tree that concerns only one OS version (this is supposed to change 
with 10.5, but then there is a new "Distribution" field that takes care 
of this).

The dependency on the /Developer/SDKs/MacOSX10.4u.sdk stuff is more 
problematic, but I am not convinced you really want to do this. This is 
usually only needed if you build universal binaries or binaries for a 
different architecture from what you are building on, and this won't 
work in Fink.
[]
> ==BEGIN==
> Info2: <<

Your package description does not need Info2. (Read the packaging 
documentation about this.)

> 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

You don't need SourceDirectory here.

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

I see that the -isysroot stuff is suggested by the GM developers. But 
this does not mean that they are right. Did you try to compile this 
without these CFLAGS and LDFLAGS?

-- 
Martin


-
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