Re: [Fink-devel] App bundles now in Fink?

2004-09-28 Thread Martin Costabel
Kevin Walzer wrote:
[]
Can someone point me to the additional/different steps one needs to take
with app bundles (how this process is different from the packaging
tutorial and other documentation at the Fink site)? I haven't seen any
of this stuff written down anywhere on the site or in the mailing list
archives. 
Since the discussion about this has not yet led to a definition of a 
clear "official" Fink policy, there is no written documentation. As with 
other emerging features of Fink, the "documentation" consists of mailing 
list archives and, mainly, examples in the form of existing packages. 
Besides texshop, there are aquaterm and freefem++. I have some others in 
my experimental directory on the cvs server.

If I can figure this out, I would be glad to take a shot at
packaging AquaEthereal (which has tons of downloads at Apple) or
AquaScribus and submitting it at the Fink site.
I would be interested in aquascribus, too, so maybe we can figure this 
out together. If you tell me what you have to do to build this and what 
you tried for making a Fink package, I think I could tell you how to 
finish it.

--
Martin

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] compilation problems pgplot

2004-09-28 Thread Torsten Boehm
Please help me!
I imported UNIX software on mi bipro G5 (OSX 10.3.5).
I get the following complaints:
g77 -o geometry geometry.o util.o spec.o earth.o ccdfit.o  
/Users/boehm/esprit/lib/libfile.a /Users/boehm/esprit/lib/libnr0.a  
/Users/boehm/esprit/lib/libmem.a -L/usr/X11R6/lib -lX11   
/Users/boehm/esprit/lib/libplot.a   -L/usr/lib/gcc/darwin/3.3  
-L/sw/lib/pgplot -lgcc -lcpgplot -lpgplot -lpng -lm
/usr/bin/ld: Undefined symbols:
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSBezierPath
.objc_class_name_NSBitmapImageRep
.objc_class_name_NSColor
.objc_class_name_NSConnection
.objc_class_name_NSObject
.objc_class_name_NSString
.objc_class_name_NSWorkspace
.objc_class_name_Protocol
_NSCalibratedRGBColorSpace
_NSLog
___CFConstantStringClassReference
_objc_msgSend
_objc_msgSendSuper
collect2: ld returned 1 exit status
make: *** [geometry] Error 1

Do you have any idea what to do?
(if I add -framework Foundation -framework AppKit it even get more  
errors)

I compile with the following makefile:
UTL=/Users/boehm/esprit/lib
MEM=$(UTL)/libmem.a
FIL=$(UTL)/libfile.a
NR0=$(UTL)/libnr0.a
PLT=$(UTL)/libplot.a
GRF=$(PLT)  -L/usr/lib/gcc/darwin/3.3 -L/sw/lib/pgplot -lgcc -lcpgplot  
-lpgplot
-lpng
LIBX= -L/usr/X11R6/lib -lX11

.c.o:
gcc -c -I$(UTL) $<
geometry: geometry.o util.o spec.o earth.o ccdfit.o $(FIL) $(NR0)  
$(MEM) $(PLT)
g77 -o geometry geometry.o util.o spec.o earth.o ccdfit.o  
$(FIL) $(NR0)
$(MEM) $(LIBX) $(GRF) -lm



Thanks a lot in advance!
cheers
Torsten
 
---
Dr Torsten Böhm
CNRS
Laboratoire Astrophysique de Toulouse
Observatoire Midi-Pyrénées
14 ave Edouard Belin
F - 31400 Toulouse

Tel: +33 5 61 33 28 32		Fax: +33 5 61 33 28 40
email: [EMAIL PROTECTED]
 
---


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] App bundles now in Fink?

2004-09-28 Thread Alexander K. Hansen
On Sep 28, 2004, at 5:26 PM, Kevin Walzer wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been away from Fink for awhile, but after downloading the latest
upgrade I noticed that TexShop is now a Fink package. Does this mean
that there is now a process for packaging app bundles? When Dave
Morrison asked me earlier this summer to think about packaging a couple
of my AppleScript Fink app launchers, I declined because I couldn't
translate the packaging instructions at the Fink site into an app 
bundle
(no one else had done it either). But now I see that TexShop installs 
in
/sw/Applications using the command-line version of pbxbuild; perhaps
something similar could be put together with osacompile for my app
launchers.

Can someone point me to the additional/different steps one needs to 
take
with app bundles (how this process is different from the packaging
tutorial and other documentation at the Fink site)? I haven't seen any
of this stuff written down anywhere on the site or in the mailing list
archives. If I can figure this out, I would be glad to take a shot at
packaging AquaEthereal (which has tons of downloads at Apple) or
AquaScribus and submitting it at the Fink site.

Thanks!
- --
Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.smallbizmac.com
http://www.kevin-walzer.com
mailto:[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBWdceJmdQs+6YVcoRAs3JAKCA67ltE6IYFRrdPqCT1tqtu980dwCeLdCp
FJ7bpLfxqC0JN3TXGdwIr2Y=
=D4AW
-END PGP SIGNATURE-

It's new.  My understanding is that
1)  The bundle should go in /sw/Applications.
2)  Apps that require resource fork stuff still aren't permitted.
--
Alexander K. Hansen
Fink Documentarian
Day Job:  Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] App bundles now in Fink?

2004-09-28 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been away from Fink for awhile, but after downloading the latest
upgrade I noticed that TexShop is now a Fink package. Does this mean
that there is now a process for packaging app bundles? When Dave
Morrison asked me earlier this summer to think about packaging a couple
of my AppleScript Fink app launchers, I declined because I couldn't
translate the packaging instructions at the Fink site into an app bundle
(no one else had done it either). But now I see that TexShop installs in
/sw/Applications using the command-line version of pbxbuild; perhaps
something similar could be put together with osacompile for my app
launchers.
Can someone point me to the additional/different steps one needs to take
with app bundles (how this process is different from the packaging
tutorial and other documentation at the Fink site)? I haven't seen any
of this stuff written down anywhere on the site or in the mailing list
archives. If I can figure this out, I would be glad to take a shot at
packaging AquaEthereal (which has tons of downloads at Apple) or
AquaScribus and submitting it at the Fink site.
Thanks!
- --
Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.smallbizmac.com
http://www.kevin-walzer.com
mailto:[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBWdceJmdQs+6YVcoRAs3JAKCA67ltE6IYFRrdPqCT1tqtu980dwCeLdCp
FJ7bpLfxqC0JN3TXGdwIr2Y=
=D4AW
-END PGP SIGNATURE-
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink using apt-get [with patch rev. 7 & 8]

2004-09-28 Thread Christian Schaffner
Hi Daniel
Thank you very much for your feedback. I try to comment, although most 
of what you are discussing comes from the decisions made by bbraun in 
the first revision of the patch. So we should wait for his comments 
too.

On 28.09.2004, at 18:36, Daniel Macks wrote:
Some thoughts on patch #5:
Our .deb repository is built with %p=/sw. If that is not how a user
has configured his fink, even a .deb present in apt-cache is not
usable.
That is a very good point and i didn't think of that problem. Both new 
patches at the end now check for $basepath and don't download .debs if 
it isn't '/sw'.

In PkgVersion::apt_fetch, you appear to download the .deb to
$basepath/fink/debs. Is our apt-get hacked to know to look there, does
one have to first run "scanpackages" or some such? Reason I ask is
that it feels confusing that one would use fink "to download the .deb
from the apt repository" but then apt doesn't automatically see
it.
You are right. I just discussed it with akh too. And apt-get does 
indeed not know about these debs. Also, 'fink scanpackages' doesn't 
help here, since this path is not in '/sw/etc/apt/sources.list'. Adding 
a extra line there doesn't seem wise either.

So, that means that 'fink -b install foo', 'fink remove foo' 'apt-get 
install foo' does download the foo.deb twice into two different 
locations, which seems stupid.

Also, that means you're mixing downloaded and locally-built
.deb. That could make it hard to debug user problems, since one could
not determine whose .deb-building broke. Would be better to download
to apt's location?
Yes, i (and akh too...) guess so. Especially since 'fink install foo' 
seems to look into '/sw/var/cache/apt/archives/' too. E.g. 'fink 
install foo' will generate a 'dpkg -i 
/sw/var/cache/apt/archives/foo.deb'.

So that seems like a valid option. Are we missing anything here?
Patch rev 8 does implement the downloading into 
/sw/var/cache/apt/archives.

Also in that method, you first try to download the .deb, and then if
that fails you symlink the one in apt's location.
No, i think you misread that. We only try to symlink if the download 
succeeded. These download methods have strange return codes in fink... 
;)

Why not look for the
already-downloaded file first, and only download if it's not already
present? The symlink call needs some error checking. But why symlink
at all, given that you also hack PkgVersion::find_debfile to look in
apt's cache?
The error checking was missing and is now added. Also, the symlinking 
was wrong completely. It is now fixed in path #7

That find_debfile check for an apt .deb should only happen
if user sets --use-binary-dist.
The whole sub where the check is happening is only executed when 
--use-binary-dist is enabled. Or am i missing something here? I am not 
sure what you mean.

Anyway, added to that mail are two patches:
#7 implements all enhancements described here and downloads the debs 
into /sw/fink/debs with a symlink to it in /sw/var/cache/apt/archives/.

#8 also has all changes but downloads the debs into 
/sw/var/cache/apt/archives/ directly, without any symlinking needed.

Both versions seem to work fine here. What shall we implement? I think 
we need some advice here... and testing, of cause!

Thanks for any help,
Chris.


fink_apt_get7.patch
Description: Binary data



fink_apt_get8.patch
Description: Binary data


Re: [Fink-devel] fink using apt-get

2004-09-28 Thread Christian Schaffner
On 08.09.2004, at 00:32, Rob Braun wrote:
On Mon, Sep 06, 2004 at 04:31:33PM -0700, Rob Braun wrote:
I've come up with a patch that does this.  I've been testing the
patch locally, but have not tested it extensively.  I'll test it with
larger dependency chains later, when I get access to better 
connectivity.
Known issues: it is not controllable by a switch (command line or
otherwise).  The plan is to not have this on by default, but use
a switch of some sort to enable it.  I'm open to suggestions on how
best to toggle this.  Also, it does not run apt-get update from
fink index, so you'll need to do that seperately.  It should update
apt-get's notion of reality.
I just tested this on larger sets, and it fails miserably.
I have some ideas on how to fix it though, so stay tuned.  Any
helpful comments/code would be appreciated.  ;-)
Here comes another version of the patch (rev. 6). It now does check for 
md5 checksums after the .deb is downloaded and also offers the chance 
to try to download it again.

Remaining issues:
On Mon, Sep 06, 2004 at 04:31:33PM -0700, Rob Braun wrote:
Also, it does not run apt-get update from
fink index, so you'll need to do that seperately.  It should update
apt-get's notion of reality.
Rob: I am not sure what you mean by that. But i definitely didn't work 
on it yet. Could you explain a bit more?

Also: I think the line 'Fink::Package->update_aptdb();' in Package.pm 
should probably only be called if UseBinaryDist is enabled. But i am 
not sure here.

Please: If any of the more experienced fink developers could have a 
look at the code that would be very nice!

Thanks,
Chris.



fink_apt_get6.patch
Description: Binary data


Re: [Fink-devel] fink using apt-get [with patch rev.5]

2004-09-28 Thread Daniel Macks
Some thoughts on patch #5:

Our .deb repository is built with %p=/sw. If that is not how a user
has configured his fink, even a .deb present in apt-cache is not
usable.

In PkgVersion::apt_fetch, you appear to download the .deb to
$basepath/fink/debs. Is our apt-get hacked to know to look there, does
one have to first run "scanpackages" or some such? Reason I ask is
that it feels confusing that one would use fink "to download the .deb
from the apt repository" but then apt doesn't automatically see
it. Also, that means you're mixing downloaded and locally-built
.deb. That could make it hard to debug user problems, since one could
not determine whose .deb-building broke. Would be better to download
to apt's location?

Also in that method, you first try to download the .deb, and then if
that fails you symlink the one in apt's location. Why not look for the
already-downloaded file first, and only download if it's not already
present? The symlink call needs some error checking. But why symlink
at all, given that you also hack PkgVersion::find_debfile to look in
apt's cache? That find_debfile check for an apt .deb should only happen 
if user sets --use-binary-dist.

dan

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



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel