Re: [Fink-devel] unison packages

2007-10-04 Thread LiKai Liu
For lablgl, I think it's fine to say glut | freeglut for the dependency,
but I also notice a problem with O'Caml binaries. If you fink update ocaml
from 3.09 to 3.10, for example, then all O'Caml packages (lablgl included)
will break because of binary incompatibility. For example, they could
disagree over an interface of a standard module. I don't think any O'Caml
package is ready to be put into stable yet. It's just not that stable.

liulk

On Tue, 2 Oct 2007, Alexander K. Hansen wrote:

 Alexander Hansen wrote:
  On 9/30/07, Chris Dolan [EMAIL PROTECTED] wrote:

  On Sep 28, 2007, at 2:04 PM, Alexey Zakhlestin wrote:
 
  
  I think, that I read, somewhere, that 2.27 is protocol-compatible with
  2.13… (though I may be wrong)

  The changelog is here:
 http://www.seas.upenn.edu/~bcpierce/unison//download/releases/beta/
  unison-2.27.29-manual.html#news
  and does not mention anything protocol-related.
 
  FWIW, I've been using Fink's 2.13.16-1004 daily with many different
  configs and have had no problems.  I endorse a move to stable.
 
  Chris
  
 
  I've moved lablgtk and unison to stable.
 

 
 oops, it needed lablgtk2, which itself requires lablgl-x11 (maintainer
 cc'ed).   One issue with the latter package is that it still depends on
 glut, rather than freeglut.  I've tried out an update to that effect,
 which seems OK.
 
 If there are no objections, I'd like to commit the updated lablgl,
 lablgtk2, and unison to stable this weekend.
 

-
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] unison packages

2007-10-04 Thread LiKai Liu
Here is an update to lablgl.info. If you can put it in, that will save the
time going through the package submission tracker.

The most notable change is that I simplified package provide, replaces, 
and conflicts.

liulk

On Tue, 2 Oct 2007, Alexander K. Hansen wrote:

 oops, it needed lablgtk2, which itself requires lablgl-x11 (maintainer
 cc'ed).   One issue with the latter package is that it still depends on
 glut, rather than freeglut.  I've tried out an update to that effect,
 which seems OK.
 
 If there are no objections, I'd like to commit the updated lablgl,
 lablgtk2, and unison to stable this weekend.Info2: 
Package: lablgl%type_pkg[-x11]
Version: 1.02
Revision: 2
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%v.tar.gz
Source-MD5: b50e4e7d856c26bc4449151e4307b37b
SourceDirectory: lablgl-%v
DocFiles: CHANGES README COPYRIGHT
License: BSD
Description: OpenGL binding for Objective Caml
Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
Maintainer: Likai Liu [EMAIL PROTECTED]

Type: -x11 (boolean)

DescDetail: 
LablGL is an OpenGL interface for Objective Caml. It includes support for both
Togl widget and GLUT, which you can comfortably use with LablTk and LablGlut.
Specific support for LablGL is also included in LablGTK.

Two variants, lablgl and lablgl-x11, are supported. Please see DescPort for
details.

DescPort: 
Two variants of lablgl are supplied here, lablgl and lablgl-x11. Native lablgl
is linked against Mac OS X OpenGL and GLUT frameworks, which is aqua-based, but
compiles without tcltk support; lablgl-x11 uses GL facility provided by x11 and
a glut library based on xlib and supports tcl/tk GL wrapper widget.

DescPackaging: 
The patch file consists of Makefile.config that allows the CompileScript to
adjust compilation flags to the appropriate variant, and to allow installation
to DESTDIR.


BuildDepends: 
ocaml (= 3.05-1),
(%type_raw[-x11] = -x11) x11-dev, (%type_raw[-x11] = -x11) tcltk-dev,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut | (%type_raw[-x11] = -x11) glut

Depends: 
ocaml (= 3.05-1),
(%type_raw[-x11] = .) macosx,
(%type_raw[-x11] = -x11) x11, (%type_raw[-x11] = -x11) tcltk,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut-shlibs | (%type_raw[-x11] = -x11) glut-shlibs

Provides: (%type_raw[-x11] = -x11) lablgl-togl
Replaces: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11
Conflicts: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11

PatchScript: patch -p1  %a/lablgl.patch
CompileScript: 
#!/bin/sh -ev
if [ %type_raw[-x11] == -x11 ]; then
  make \
PREFIX=%p \
XINCLUDES=-I/usr/X11R6/include \
XLIBS=-L/usr/X11R6/lib -lXext -lXmu -lX11 \
TKINCLUDES=-I%p/include \
TKLIBS=-L%p/lib -L/usr/X11R6/lib -lGL -lXmu \
GLLIBS=-lGL -lGLU \
GLUTLIBS=-L%p/lib -lglut \
all opt
else
  make \
PREFIX=%p \
GLLIBS=-framework OpenGL \
GLUTLIBS=-framework GLUT \
lib glut libopt glutopt
fi

InstallScript: 
#!/bin/sh -ev
  mkdir -p %i/lib/ocaml/stublibs
  make install PREFIX=%p DESTDIR=%d


-
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] bootstrap process

2004-01-25 Thread Likai Liu
Unfortunately Solaris' mv is too brain dead such that it won't work 
unless I use another mv.

Actually, more fiddling reveals that fink probably needs to be 
rewritten to port to another platform at all (and I'm not going to 
advocate this, at least not on fink's own mailing list :-] ). There is 
a lot of hard coded assumptions (in fink's perlmod) about a system that 
I ended up vandalizing a lot of code just to try on Solaris. These 
assumptions probably deserve to be abstracted away from the code.

That said, on a Mac OS X system, I'm perfectly happy with the way Fink 
is. I only wish it would be a drop in package management solution for 
commercial *nix not limited to Mac OS X if Fink can be more generic.

liulk

On Jan 24, 2004, at 8:21 PM, David R. Morrison wrote:

It's true: during bootstrap, fink moves files to the same place they
already are, when there is a splitoff.  The /bin/mv available on OS X
tolerates this; apparently the /bin/mv on Solaris does not.  Look at
man mv: is there any flag you could pass to mv to let it do this?
  -- Dave



---
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] bootstrap process

2004-01-24 Thread Likai Liu
Hello,

I'm currently (playfully) porting fink to Solaris 2.6 platform. While I
obtained gcc 3.3 and setup various gnu tools to best match the 10.3
environment (and even created a special sun4u distribution), phase two of
the bootstrap process bails out. It happens right after successfully
compiling gettext (bootstrap) and during the installation of the first
split-off package.

The transcript is the following (where the middle tedious parts have been
eliminated).

 8 
Bootstrapping a base system via /sw/bootstrap.
mkdir -p /sw/bootstrap
mkdir -p /sw/bootstrap/bin
mkdir -p /sw/bootstrap/sbin
mkdir -p /sw/bootstrap/lib
mkdir -p /sw/var/lib/dpkg
touch /sw/var/lib/dpkg/status
touch /sw/var/lib/dpkg/available
touch /sw/var/lib/dpkg/diversions
Reading package info...
Updating package index... done.
Information about 39 packages read in 1 seconds.

BOOTSTRAP PHASE ONE: download tarballs.


BOOTSTRAP PHASE TWO: installing neccessary packages to /sw/bootstrap
without
package management.

rm -rf gettext-0.10.40-17
mkdir -p /sw/src/gettext-0.10.40-17
gzip -dc /sw/src/gettext-0.10.40.tar.gz |
/home/church2/liulk/local/bin/gnutar -xf - 
patch -p1 /sw/fink/dists/local/bootstrap/finkinfo/gettext.patch
patching file configure
patching file ltmain.sh
./configure --prefix=/sw/bootstrap --infodir=/sw/bootstrap/share/info
--mandir=/sw/bootstrap/share/man --with-included-gettext

 .. snip .. 

make[1]: Entering directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[2]: Entering directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ./mkinstalldirs /sw/bootstrap/share/gettext
 /usr/local/gnu/bin/install -c -m 644 ./ABOUT-NLS
/sw/bootstrap/share/gettext/ABOUT-NLS
make[2]: Leaving directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[1]: Leaving directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
 sed 's;-L/sw/src/gettext-0.10.40-17/gettext-0.10.40/intl/.libs;;'
/sw/bootstrap/lib/libintl.la /sw/bootstrap/lib/libintl.la.tmp
 mv -f /sw/bootstrap/lib/libintl.la.tmp /sw/bootstrap/lib/libintl.la
 rm -f /sw/bootstrap/lib/charset.alias
install -d -m 755 /sw/bootstrap/share/doc/gettext
install -c -p -m 644 README* AUTHORS BUGS COPYING* NEWS THANKS TODO
/sw/bootstrap/share/doc/gettext/
rm -f /sw/bootstrap/info/dir /sw/bootstrap/info/dir.old
/sw/bootstrap/share/info/dir /sw/bootstrap/share/info/dir.old
mkdir -p /sw/bootstrap
install -d -m 755 /sw/bootstrap
mv /sw/bootstrap/bin /sw/bootstrap/
mv: `/sw/bootstrap/bin' and `/sw/bootstrap/bin' are the same file
### execution of mv failed, exit code 1
installing gettext-bin-0.10.40-17 failed
 8 

To my utmost curiousity, the failure happens because gettext's first split
off file is bin, and /sw/bootstrap/bin is already there.

Anyone can enlighten me of this?

liulk

ps. Please cc me a copy of responses, as I'm not on the list.
Unfortunately I cannot devote much attention to read all discussions on
fink-devel, as much as I would like to.

pps. I did a search on the mailing list of the keyword bootstrap but
nothing relevant turned up.



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