Re: [Fink-devel] unison packages

2007-10-07 Thread Alexander K. Hansen
I'll use a modification of this;  since freeglut isn't drop-in
compatible with glut (and because we're trying to ditch glut, anyway),
let's just have it depend on freeglut.

LiKai Liu wrote:
> 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] 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] 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-02 Thread Daniel Macks
On Tue, Oct 02, 2007 at 08:42:15PM -0400, 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.

If switching labgl-x11 from glut to freeglut and labgl-x11 is
libtoolized, probably best to use a versioned dependency on freeglut
(and cascade it upwards). Our freeglut only recently got proper .la
support, so if libtooly labgl-x11 links the libtooly one and then
something libtooly linking against labgl-x11 does so with only the
unlibooly freeglut installed, libtool might puke when it tries to
resolve labgl-x11's dependency_libs entry for freeglut's .la. Or
not..."there's a chance" I don't completely and correctly understand
libtool.

dan

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


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-10-02 Thread Alexander K. Hansen
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-10-01 Thread Alexander Hansen
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.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-30 Thread Chris Dolan
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
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-28 Thread Alexander K. Hansen
Alexey Zakhlestin wrote:
> I think, that I read, somewhere, that 2.27 is protocol-compatible with
> 2.13… (though I may be wrong)
>
> On 9/28/07, Alexander Hansen <[EMAIL PROTECTED]> wrote:
>   
>> It is indeed still the case.  The existing unison package builds
>> executables for 2.9.1, 2.10.2, and 2.13.16; I believe at the time most
>> Linux distros included the first, the second was the upstream stable
>> release, and the third was the upstream "beta".
>>
>> A simple way to update the unstable packaging would be just to _add_
>> what is needed to build 2.27.x , though it would also be good to move
>> from lablgtk to lablgtk2.
>> 
>
>
>   
It hasn't worked for me--though there may be a switch that I'm not setting.

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


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-28 Thread Alexey Zakhlestin
I think, that I read, somewhere, that 2.27 is protocol-compatible with
2.13… (though I may be wrong)

On 9/28/07, Alexander Hansen <[EMAIL PROTECTED]> wrote:
>
> It is indeed still the case.  The existing unison package builds
> executables for 2.9.1, 2.10.2, and 2.13.16; I believe at the time most
> Linux distros included the first, the second was the upstream stable
> release, and the third was the upstream "beta".
>
> A simple way to update the unstable packaging would be just to _add_
> what is needed to build 2.27.x , though it would also be good to move
> from lablgtk to lablgtk2.


-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-28 Thread Alexander Hansen
On 9/28/07, Vincent Beffara <[EMAIL PROTECTED]> wrote:
> > > Is it possible to move current (2.13.16) version to stable branch of
> > > fink and update unstable to have 2.27.XX?
> >
> > It appears that the only missing dependency is lablgtk (unmaintained),
> > so if there aren't any objections, I can go ahead and move our
> > existing unison package to stable.
>
> Unison used to be violently incompatible across versions (both ways,
> there is AFAIK no way to have 2.09 talk to 2.13).  I'm not sure it's
> still the case, as their API might have converged since then, but some
> people who update-all without looking might get bitten by that ...
> Especially since recompiling on the opposite end is not trivial at all
> if OCaml is not present.
>
>   /v
>
> --
> Vincent Beffara
> UMPA - ENS-Lyon
> 46 allée d'Italie
> 69364 Lyon Cedex 07
> Tél : 04 72 72 85 25
>

It is indeed still the case.  The existing unison package builds
executables for 2.9.1, 2.10.2, and 2.13.16; I believe at the time most
Linux distros included the first, the second was the upstream stable
release, and the third was the upstream "beta".

A simple way to update the unstable packaging would be just to _add_
what is needed to build 2.27.x , though it would also be good to move
from lablgtk to lablgtk2.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-28 Thread Vincent Beffara
> > Is it possible to move current (2.13.16) version to stable branch of
> > fink and update unstable to have 2.27.XX?
> 
> It appears that the only missing dependency is lablgtk (unmaintained),
> so if there aren't any objections, I can go ahead and move our
> existing unison package to stable.

Unison used to be violently incompatible across versions (both ways, 
there is AFAIK no way to have 2.09 talk to 2.13).  I'm not sure it's 
still the case, as their API might have converged since then, but some 
people who update-all without looking might get bitten by that ... 
Especially since recompiling on the opposite end is not trivial at all 
if OCaml is not present.

  /v

-- 
Vincent Beffara
UMPA - ENS-Lyon
46 allée d'Italie
69364 Lyon Cedex 07
Tél : 04 72 72 85 25

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] unison packages

2007-09-28 Thread Alexander Hansen
On 9/21/07, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> I noticed, that unison-project now has a beta-version with some
> noticable updates.
>
> http://www.seas.upenn.edu/~bcpierce/unison//download/releases/beta/
>
> Is it possible to move current (2.13.16) version to stable branch of
> fink and update unstable to have 2.27.XX?
>
> (cc'ed maintainer)
>
> --
> Alexey Zakhlestin
> http://blog.milkfarmsoft.com/
>

It appears that the only missing dependency is lablgtk (unmaintained),
so if there aren't any objections, I can go ahead and move our
existing unison package to stable.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel