Re: [Fink-devel] libfreeglut

2006-11-03 Thread Bertrand LUPART
  Too bad because it seems to contain what i need:
  
  8888
  $ lsbom /Volumes/X11\ Update\
  2006/X11Update2006.pkg/Contents/Archive.bom |grep 86vm
  ./usr/X11R6/lib/libXxf86vm.1.0.dylib100644  0/0 51392
  4293245590
  ./usr/X11R6/lib/libXxf86vm.1.dylib  120755  0/0 20
  1067801161 libXxf86vm.1.0.dylib
  ./usr/X11R6/lib/libXxf86vm.dylib120755  0/0 20
  1067801161 libXxf86vm.1.0.dylib
  8888
  
  Any way to force X11Update to install?
 
 Had you already run the SoftwareUpdate from 2 days ago that installed
 this update?

Didn't showed up for me on software update.

 If so, you can perhaps get away with first removing the 
 receipt, that is the directory
 /Library/Receipts/X11Update2006.pkg
 and then try the update again.
 
 There are a couple of other ways to get these dylibs: You can, for 
 example, unpack the X11Update2006.pkg somewhere else, like (2 lines)
 
 mkdir /tmp/TMP
 zcat X11Update2006.pkg/Contents/Archive.pax.gz | (cd /tmp/TMP ; pax -r)
 
 You will then find the dylibs in /tmp/TMP/usr/X11R6/lib/
 and you can copy them over to /usr/X11R6/lib/

I didn't want to do such workarounds, because i didn't knew at which
point the package was broken :)
Installed X11 again from the original CDs, ran software update,
installed X11Update2006.

Then, i had to reinstall X11SDK from XCode because Fink was complaining
about system-xfree86 even if fink list -i system-xfree86 output was
correct.

Everything (freeglut, pymol-py25 and pike7.6) has been rebuilt and works
perfectly.

Thank you for your help,

-- 
Bertrand


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] libfreeglut

2006-11-02 Thread Bertrand LUPART
Hello,

I'm trying to link a program to freeglut in Fink, and it fails at
runtime:

8888
 indices(GLUT);
/sw/lib/pike/pike7.6/modules/GLUT.so:-: Warning: Failed to load library:
dlopen(/sw/lib/pike/pike7.6/modules/GLUT.so, 2): Symbol not found:
_XF86VidModeGetViewPort
  Referenced from: /sw/lib/libfreeglut.3.dylib
  Expected in: flat namespace
Compiler Error: 1:Undefined identifier GLUT.
8888

While googling around, i found out there was the same errors with pymol
about one year ago, but without any solution. I just compiled pymol-py25
for figuring myself, and i ran into the same problem:

8888
$ pymol
Traceback (most recent call last):
  File /sw/lib/pymol-py25/modules/pymol/__init__.py, line 109, in
module
import pymol
  File /sw/lib/pymol-py25/modules/pymol/__init__.py, line 353, in
module
import _cmd
ImportError: dlopen(/sw/lib/pymol-py25/modules/pymol/_cmd.so, 2): Symbol
not found: _XF86VidModeGetViewPort
  Referenced from: /sw/lib/libfreeglut.3.dylib
  Expected in: flat namespace
8888

Since the same problem occur with two different programs, i guess it's
located in my GLUT setup, be it Fink's freeglut or MacOS X GLUT
framework.

_XF86VidModeGetViewPort is defined in
/usr/X11R6/include/X11/extensions/xf86vmode.h, whose library is
/usr/X11R6/lib/libXxf86vm.a

I tried to recompile freeglut from Fink, and it gives the following
warning:

8888
*** Warning: linker path does not have real file for library -lXxf86vm.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libXxf86vm and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/X11R6/lib/libXxf86vm.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
8888

I don't really get this message, except that freeglut would like
libXxf86vm to be a shared library.
Is there a solution?


8888
$ sudo dpkg -l |grep freeglut
ii  freeglut   2.4.0-1Opengl utility toolkit
ii  freeglut-shlib 2.4.0-1Opengl utility toolkit

$ sudo dpkg -l |grep pymol   
ii  pymol-py25 0.99-1003  Molecular graphics system

$ fink --version
Package manager version: 0.25.1
Distribution version: 0.8.1.rsync powerpc

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2006 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
8888

I'm using X11SDK 3.2 and Xcode 2.4.

Thanx,

-- 
Bertrand


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] libfreeglut

2006-11-02 Thread Bertrand LUPART
  _XF86VidModeGetViewPort is defined in
  /usr/X11R6/include/X11/extensions/xf86vmode.h, whose library is
  /usr/X11R6/lib/libXxf86vm.a
 
 Don't you have the dynamic libXxf86vm? I see the following:
 
 % ll /usr/X11R6/lib/libXxf86vm*
 -rw-r--r--   1 root  wheel  51392 Oct 25 22:22 
 /usr/X11R6/lib/libXxf86vm.1.0.dylib
 lrwxr-xr-x   1 root  wheel 20 Nov  2 08:28 
 /usr/X11R6/lib/libXxf86vm.1.dylib - libXxf86vm.1.0.dylib
 -rw-r--r--   1 root  wheel  36056 Sep 12 14:44 /usr/X11R6/lib/libXxf86vm.a
 lrwxr-xr-x   1 root  wheel 20 Nov  2 08:28 
 /usr/X11R6/lib/libXxf86vm.dylib - libXxf86vm.1.0.dylib

No, i don't.

 The dylib files and symlinks are installed by the X11User.pkg (and also
 by the recent X11Update2006.pkg).

8888
$ lsbom /Library/Receipts/X11User.pkg/Contents/Archive.bom |grep 86vm
8888

- nothing.

  I tried to recompile freeglut from Fink, and it gives the following
  warning:
  
  8888
  *** Warning: linker path does not have real file for library -lXxf86vm.
  *** I have the capability to make that library automatically link in
  when
  *** you link to this library.  But I can only do this if you have a
  *** shared version of the library, which you do not appear to have
  *** because I did check the linker path looking for a file starting
  *** with libXxf86vm and none of the candidates passed a file format test
  *** using a file magic. Last file checked: /usr/X11R6/lib/libXxf86vm.a
  *** The inter-library dependencies that have been dropped here will be
  *** automatically added whenever a program is linked with this library
  *** or is declared to -dlopen it.
  8888
 
 This is further evidence that you don't have the libXxf86vm dylib.
 Maybe this is another case of installer braindamage.
 You should reinstall X11User.pkg and/or X11Update2006.pkg.

I just downloaded X11Update2006 and it aborts at the start saying this
system does not need this update.

Too bad because it seems to contain what i need:

8888
$ lsbom /Volumes/X11\ Update\
2006/X11Update2006.pkg/Contents/Archive.bom |grep 86vm
./usr/X11R6/lib/libXxf86vm.1.0.dylib100644  0/0 51392
4293245590
./usr/X11R6/lib/libXxf86vm.1.dylib  120755  0/0 20
1067801161 libXxf86vm.1.0.dylib
./usr/X11R6/lib/libXxf86vm.dylib120755  0/0 20
1067801161 libXxf86vm.1.0.dylib
8888

Any way to force X11Update to install?

Thanx,

-- 
Bertrand


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Library packaging policy

2004-03-02 Thread Bertrand Lupart
 In the case you're packaging libfoo, and you split it in 3 (libfoo-dev,
 libfoo-shlibs, libfoo-doc), you end up with an empty libfoo package.
 
 What's the good policy for this? Is there a way to tell fink libfoo
 package don't exists (only the splitoff are instalable) or is it better
 not to split libfoo-dev and keep its data into libfoo?
 
 One possibility would be to just call the main package libfoo-dev and 
 not have an extra -dev splittoff.

Didn't even thought about that :)

That would work, but as RangerRick said, it would be more consistent not
to make a libfoo-dev splitoff.

Thanx.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Translating man page?

2004-02-04 Thread Bertrand Lupart
 Just install a more recent man (fink's one for example) and it will
 display localised man pages, following your environment settings.
 
 Worked for me with fink's man 1.5k.

 I've found no fink's man, sorry, just manconf which is for Jaguar 
 update and manedit, a graphical editor.

Saw that.

According to http://fink.sourceforge.net/pdb/package.php/man, the man
package is on 0.4.1 and 10.1 only.
But i got this on 10.2/unstable on my machine.

Dunno why the man package seems to have been discontinued. But if 10.3's
man is unable to deal with localized man page, it would be good to
reintegrate it :)

You could try to pick up the man info file from 10.2/unstable and put it
in your local repository. If it works, you could submit it, the hard
part may already be done :)
I can't do that myself since i'm stuck with 10.2 for now.

 I cannot 
 demand the user to install a Fink's man package I cannot even find for 
 that purpose.

Since the problem is beyond your package, it may be added in the FAQ for
example.

 Moreover it should work also on other systems (RPM and 
 Linux at the moment, but BSD is on its way too).

It's totally independant from the packaging system and the OS. It will
work until you have a recent man that handle it.

 I know theoretically how to do it, but I lack dramatically knowledge on 
 languages used in Makefike.
[snip]

All that is pretty application-specific.

 It works but it's very inelegant, and I'm not sure how to parameterize 
 it with a MANLANGDIRS = . fr es array for example. Something along 
 this:
 
 for d in $(MANLANGDIRS);
 do mandir=$(mandir)/$(MANLANGDIRS)/man1
 

8888
#!/bin/sh

MANLANGDIRS=. fr es

for d in ($MANLANGDIRS); do
  echo $d;
done
8888

That should do the trick.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Translating man page?

2004-02-02 Thread Bertrand Lupart
 He shouldn't need to. From the man man page:
 ...
 More, its man page seems to require the charset in the path:
 ...in the order of precedence:
 
 lang_country.charset
 lang.charset
 en.charset
 Have a look at fink's man or 10.3's, they should handle this better.

 Same man page as on 10.2.8, rather old (1991). What I understood (I may 
 be wrong) from Linux man pages (sorry for the reference, but they seem 
 to be more advanced in localization), the scheme you mentioned is one 
 of the recommended way to name man pages that ensured correct 
 association of lang/country/charset in the event of country with more 
 than one language and more than one charset per language. That's not 
 the scheme used on Fink, see the dpkg-dev French man pages, it's on the 
 /sw/share/man/fr/man1, it's based on LANG. I don't know how it 
 determines the correct charset. Nevertheless I tend to follow the Fink 
 way of doing it.

There is no fink way of doing it nor a Linux way of doing it,
just a man way of handling locales.

The sybpath for localized man pages are (like mentioned in recent linux
man man page):

8888
language[_territory[.character-set[,version]]]
8888

Since territory, character-set and version are optional, the path used
by fink and linux are the same.

 Then even if the LC-xxx and LANG are set up, the loaded man pages are 
 the rooted ones, i.e. the english ones on /sw/share/man/ (default 
 proposed MANPATH)

That's because apple's man is too old or buggy and don't support that,
even if its man page mention it.

Just install a more recent man (fink's one for example) and it will
display localised man pages, following your environment settings.

Worked for me with fink's man 1.5k.

 So you have to prepend /sw/share/man/fr/ to the man path, 
 to get the French man pages. This way you'll have the French man pages, 
 if any, then the English ones.

Sure, it will work. But that's a hack :)

The way to go is to have a recent man that behaves correctly.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Translating man page?

2004-01-31 Thread Bertrand Lupart
 This package should install the translated man pages into
 %p/share/man/{lang}/man[1-8]
 Oh; so simple. Sorry I'm always looking for something not so obvious.
 
 Then I just need to put a notice in the info file for the user so that 
 he prepends the path to his locale man pages to MANPATH.

He shouldn't need to. From the man man page: 

8888
By default, man searches for a localized manpage in a set of
locale subdirectories of each manpath(1) component.

Locale name is taken from the first of three environment
variables with a nonempty value: LC_ALL, LC_CTYPE, or LANG,
in the specified order.
8888

Your user should only need to set its environment variables to the correct
locales he uses for getting localized man pages.

That's the theory, but it seems it doen't work on 10.2.

A quick test and ktrace shows up 10.2.8's man don't give a fuck about that. 
More, its man page seems to require the charset in the path:

8888
Otherwise, man will search in the following subdirectories,
in the order of precedence:

lang_country.charset
lang.charset
en.charset
8888

Have a look at fink's man or 10.3's, they should handle this better.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Translating man page?

2004-01-30 Thread Bertrand Lupart
 Is there a way to install translated man pages?
 
 I've seen this is done for dpkg-deb. Is there a way for a package (via 
 Fink) to install say es,fr,... man pages?

This package should install the translated man pages into
%p/share/man/{lang}/man[1-8]

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Colorizing info files in vim (was: Re: [Fink-devel] Colorizing info files in emacs.)

2004-01-23 Thread Bertrand Lupart
Hey,

I was wondering the same thing but for vim :)

I did something very basic for my own convenience (comments and
keywords). If someone else is interrested, i'd be glad to share and
improve it.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Creating a user

2004-01-13 Thread Bertrand Lupart
Hey list,

I can't find the procedure to follow in case of a daemon that require an extra user to 
run.

Is updating the %p/etc/passwd-fink and %p/etc/group-fink files then running 
update-passwd safe?

I didn't find any example in the info files.

Thanx.

-- 
Bertrand
Pike Language - http://pike.ida.liu.se/
Caudium WebServer - http://caudium.net/
CAMAS WebMail - http://caudium.net/camas/


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] CVS commit rules

2002-03-19 Thread Bertrand Lupart

  Just to clarify things... A couple of minutes ago, I updated the download
  URL for qcad (in unstable), due to a report from a user that the previous
  URL no longer worked. I assume this is OK, as no recompilation of the
  package is necessary?
 
 Yes, that's another instance where you don't have to change the revision
 number.  

Correct me if i'm wrong, but if a user has a foo version of a package
that has obsolete download url, a fink update won't bring him back the
correct download url since the version hasn't been bump versionned.

So he might come in and complain, even if the issue is corrected?

-- 
Bertrand

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] Creating a package

2002-03-06 Thread Bertrand Lupart

Hi all,

 Also, just look at the *.info files for packages that are already in fink.
 A lot of ports have the same issues, and you will be able to see how 
 they are solved within Fink's system the right way.

I'm doing such investingations as Eric does.

In my case, the packages i'd like to port are allready debian ones.
Isn't it possible to reuse all the debian/ stuff in the sources? Because
this piece of software can be configured with dialogs during the
installation.

Since i know well the debian package maintainer, this code can be
modified for darwin if needed. 

-- 
Bertrand

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] Creating a package

2002-03-06 Thread Bertrand Lupart

 Fink isn't a port of Debian to Darwin. It just happens to use the Debian
 package manager as part of its toolchain.

OK, i missed that point.

 If you want to make packages for Fink, yoiu'll need to use the .info file
 format. Please read the documentation on the Fink site (http://fink.sf.net),
 especially the FAQ and the Packaging Manual.

That's what i was doing, but i didn't see anything related to debian
files.

I don't have any packaging experience, neither on darwin neither on
debian so please forgive me if i ask stupid questions.

I'm working on the pike language http://pike.roxen.com/

I'm looking for splitting the package into several one like on debian ie
the debian/pike7.2-mysql.files contains the names of the files to be put
in the package pike7.2-mysql, since the mysql pike module can't be made
without making pike (but pike can be made without its mysql module).
This way pike core is separated from pike modules, and it is good
because each module requires lots of dependencies.

I don't find something related on the packaging manual, nor in the
packages.

Is that what we call a metapackage? Is there a way to do this? 

-- 
Bertrand

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel