On Mon, 16 Dec 2013, Hanspeter Niederstrasser wrote:

On 12/16/2013 4:55 PM, Viv Kendon wrote:
Apologies if this has already been reported.  Doesn't seem
to be a maintainer to Cc, not Cc'ing fink-devel as I'm not
subscribed.

cd Togl && make togl.o CC="ocamlc.opt -verbose" CFLAGS='-c
-ccopt "-c -O -I../../src -ITogl -I/sw/include -I.
-I/usr/X11R6/include "'
make[2]: Entering directory
`/sw/src/fink.build/lablgl-x11-1.04-1/lablGL-1.04/Togl/src/Togl'
ocamlc.opt -verbose -c -ccopt "-c -O -I../../src -ITogl
-I/sw/include -I.  -I/usr/X11R6/include " togl.c
+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64
-D_REENTRANT  -c -c -O -I../../src -ITogl -I/sw/include -I.
-I/usr/X11R6/include   -I'/sw/lib/ocaml' 'togl.c'
clang: warning: argument unused during compilation:
'-fno-defer-pop'
togl.c:162:2: error: "Sorry, you will have to edit togl.c to
include the right
        tkInt.h file"
#error "Sorry, you will have to edit togl.c to include the
right tkInt.h file"
   ^
togl.c:1260:4: error: unknown type name 'TkWindow'; did you
mean 'Tk_Window'?
     TkWindow *winPtr = (TkWindow *) togl->TkWin;
     ^~~~~~~~
     Tk_Window

Can you confirm that the package 'lablgl' builds (or fails) on 10.9?

Hanspeter


It builds for me on 10.9. I substituted lablgl for lablgl-x11 in the dependencies in lablgtk2.info, which is what I'm trying to install (as a dependency of unison). It built fine like this, and so did unison (yay!) Still need to test it, but it starts up with the X11 gui OK.

I have attached the info file for lablgtk2.info, because I think I had to change a few other deps as well. And since it now works for me, unison.info also attached.

many thanks,
-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds
Package: lablgtk2
Version: 2.14.2
Revision: 4
Maintainer: Corey Halpin <chal...@cs.wisc.edu>
BuildDepends: <<
  aspell-dev,
  atk1 (>= 1.20.0-1),
  audiofile,
  cairo (>= 1.6-1),
  esound,
  expat1,
  fink (>= 0.24.12),
  fontconfig2-dev (>= 2.4.1-1),
  freetype219 (>= 2.3.5-1),
  gconf2-dev (>= 2.20.0-1),
  gettext-tools,
  glib2-dev (>= 2.14.0-1),
  glitz,
  gnome-keyring-dev,
  gnome-panel-dev (>= 2.20.0-1),
  gnome-vfs2-unified-dev (>= 1:2.20.0-1),
  gtk+2-dev (>= 2.12.0-1),
  gtkglarea2,
  gtksourceview2-dev,
  gtkspell2-dev (>= 2.0.11-1004),
  libart2,
  libbonobo2-dev (>= 2.20.0-1),
  libbonoboui2-dev (>= 2.20.0-1),
  libgettext8-dev,
  libglade2 (>= 2.6.2-1),
  libgnome2-dev (>= 2.20.0-1),
  libgnomecanvas2-dev (>= 2.20.0-1),
  libgnomeprint2.2-dev,
  libgnomeui2-dev (>= 2.20.0-1),
  libiconv-dev,
  libpng16,
  librsvg2 (>= 2.20.0-1),
  libxml2 (>= 2.6.30-1),
  ocaml (>=3.08),
  orbit2-dev (>= 2.14.9-1),
  pango1-xft2-ft219-dev (>= 1.18.4-4),
  pixman (>= 0.10.0-1),
  pkgconfig (>= 0.21-1),
  popt,
  x11-dev,
  xft2-dev
<<
Depends: <<
  aspell-shlibs,
  atk1-shlibs (>= 1.20.0-1),
  audiofile-shlibs,
  cairo-shlibs,
  esound-shlibs,
  fontconfig2-shlibs,
  freetype219-shlibs,
  gconf2-shlibs (>= 2.20.0-1),
  gconf2-shlibs,
  glib2-shlibs (>= 2.14.0-1),
  gnome-keyring,
  gnome-panel-shlibs (>= 2.20.0-1),
  gnome-vfs2-unified-shlibs (>= 1:2.20.0-1),
  gtk+2-shlibs (>= 2.12.0-1),
  gtkglarea2-shlibs,
  gtksourceview2-shlibs,
  gtkspell2-shlibs (>= 2.0.11-1004),
  lablgl,
  libart2-shlibs,
  libbonobo2-shlibs (>= 2.20.0-1),
  libbonoboui2-shlibs (>= 2.20.0-1),
  libgettext8-shlibs,
  libglade2-shlibs (>= 2.6.2-1),
  libgnome2-shlibs (>= 2.20.0-1),
  libgnomecanvas2-shlibs (>= 2.20.0-1),
  libgnomeprint2.2-shlibs,
  libgnomeui2-shlibs (>= 2.20.0-1),
  libiconv,
  librsvg2-shlibs (>= 2.20.0-1),
  libxml2-shlibs (>= 2.6.30-1),
  ocaml (>=3.08),
  orbit2-shlibs (>= 2.14.9-1),
  pango1-xft2-ft219-shlibs (>= 1.18.4-4),
  popt-shlibs,
  x11,
  x11-shlibs
<<
CompileScript:<<
#!/bin/bash -ev
  ./configure %c
  make world
<<
InstallScript: make install DESTDIR=%d
Source: http://forge.ocamlcore.org/frs/download.php/561/lablgtk-%v.tar.gz
Source-MD5: bad77680a72dab8b915cae99d1ec9b1f
#PatchFile: %n.patch
#PatchFile-MD5: cb193aa8f99656d78aecc90e1188c2f1
ConfigureParams: --with-gnomecanvas --disable-dependency-tracking 
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
 FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
SetLIBRARY_PATH: %b/src
DocFiles: CHANGES COPYING README
DescPackaging:<<
  Between 2.6.0-2 and 2.6.0-3 it was necessary to change one of the
dependancies of this package from labl to lablgl-x11.
Unfortunately, because of this change, the upgrade between lablgtk2
2.6.0-2 and lablgtk2 2.6.0-3 is a bit bumpy.  You'll need to run
'fink remove lablgtk2 lablgl' and then 'fink install lablgtk2'.

  If your build dies with an error complaining about a particular file
ending in .gmx not being a compilation unit, this can probably be
fixed by running 'fink rebuild lablgl-x11 lablgtk2'.  This situation
sometimes happens after ocaml has been upgraded, but ocaml-built
libraries have not.
<<
Description: Objective Caml interface to gtk+2
Homepage: http://lablgtk.forge.ocamlcore.org/
License: LGPL
Info2: <<
Package: unison%type_pkg[uitype]
Version: 2.45.4
Revision: 1
Type: uitype (. -nox)
Description: File synchronization tool
License: GPL
Homepage: http://www.cis.upenn.edu/~bcpierce/unison/
Maintainer: Monic Polynomial <moni...@users.sourceforge.net>

Source: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/%{ni}-%v/%{ni}-%v.tar.gz
Source-MD5: b345bff33a6fa21a9733904facd9fca6

UseMaxBuildJobs: false

BuildDepends: <<
  (%type_raw[uitype] = .) aspell-dev,
  (%type_raw[uitype] = .) atk1 (>= 1.20.0-1),
  (%type_raw[uitype] = .) audiofile,
  (%type_raw[uitype] = .) cairo (>= 1.6-1),
  (%type_raw[uitype] = .) esound,
  (%type_raw[uitype] = .) expat1,
  fink (>= 0.24.12),
  (%type_raw[uitype] = .) fontconfig2-dev (>= 2.4.1-1),
  (%type_raw[uitype] = .) freetype219 (>= 2.3.5-1),
  (%type_raw[uitype] = .) gconf2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) gettext-tools,
  (%type_raw[uitype] = .) glib2-dev (>= 2.14.0-1),
  (%type_raw[uitype] = .) glitz,
  (%type_raw[uitype] = .) gnome-keyring-dev,
  (%type_raw[uitype] = .) gnome-panel-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) gnome-vfs2-unified-dev (>= 1:2.20.0-1),
  (%type_raw[uitype] = .) gtk+2-dev (>= 2.12.0-1),
  (%type_raw[uitype] = .) gtkglarea2,
  (%type_raw[uitype] = .) gtksourceview-dev,
  (%type_raw[uitype] = .) gtkspell2-dev (>= 2.0.11-1004),
  (%type_raw[uitype] = .) lablgtk2 (>= 2.10.1-1),
  (%type_raw[uitype] = .) libart2,
  (%type_raw[uitype] = .) libbonobo2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) libbonoboui2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) libgettext8-dev,
  (%type_raw[uitype] = .) libglade2 (>= 2.6.2-1),
  (%type_raw[uitype] = .) libgnome2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) libgnomecanvas2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) libgnomeprint2.2-dev,
  (%type_raw[uitype] = .) libgnomeui2-dev (>= 2.20.0-1),
  (%type_raw[uitype] = .) libiconv-dev,
  (%type_raw[uitype] = .) libpng16,
  (%type_raw[uitype] = .) librsvg2 (>= 2.20.0-1),
  (%type_raw[uitype] = .) libxml2 (>= 2.6.30-1),
  ocaml (>=3.08),
  (%type_raw[uitype] = .) orbit2-dev (>= 2.14.9-1),
  (%type_raw[uitype] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
  (%type_raw[uitype] = .) pixman (>= 0.10.0-1),
  (%type_raw[uitype] = .) pkgconfig (>= 0.21-1),
  (%type_raw[uitype] = .) popt,
  (%type_raw[uitype] = .) x11-dev,
  (%type_raw[uitype] = .) xft2-dev
<<

Depends: <<
  (%type_raw[uitype] = .) atk1-shlibs (>= 1.20.0-1),
  (%type_raw[uitype] = .) cairo-shlibs (>= 1.6-1),
  (%type_raw[uitype] = .) fontconfig2-shlibs (>= 2.4.1-1),
  (%type_raw[uitype] = .) freetype219-shlibs (>= 2.3.5-1),
  (%type_raw[uitype] = .) glib2-shlibs (>= 2.14.0-1),
  (%type_raw[uitype] = .) gtk+2-shlibs (>= 2.12.0-1),
  (%type_raw[uitype] = .) libgettext8-shlibs,
  (%type_raw[uitype] = .) pango1-xft2-ft219-shlibs (>= 1.18.4-4)
<<

CompileScript: <<
#!/bin/bash -ev
  case %type_raw[uitype] in
    -nox) UISTYLE=text;;
    .)    UISTYLE=gtk2;;
  esac
  make UISTYLE=$UISTYLE THREADS=true
<<

InstallScript: <<
#!/bin/bash -ev
  case %type_raw[uitype] in
    -nox) BINNAME=unison-nox;;
    .)    BINNAME=unison;;
  esac

  /bin/mkdir -p %i/bin
  /usr/bin/install unison %i/bin/$BINNAME
<<

DocFiles: BUGS.txt CONTRIB COPYING NEWS README ROADMAP.txt TODO.txt

DescDetail: <<
  Unison is a file-synchronization tool for Unix and Windows. It allows two
  replicas of a collection of files and directories to be stored on different
  hosts (or different disks on the same host), modified separately, and then
  brought up to date by propagating the changes in each replica to the other.

  Unison shares a number of features with tools such as configuration
  management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.)
  uni-directional mirroring utilities (rsync, etc.) and other synchronizers
  (Intellisync, Reconcile, etc).

  The unison package installs a program called unison which is the console-
  only version. The unison-gtk package installs a program called unison-gtk 
  with the GTK2 graphical user interface.
<<

DescPackaging: <<
  I've disabled the native GUI for the moment because it does not build.
  I have to look more carefully at the OCaml native binary mechanism.
<<
<<
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to