FreeBSD Bugzilla – Attachment 68886 Details for
Bug 101144
[PATCH] x11-toolkits/ocaml-lablgtk: update to 1.2.7, misc fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ocaml-lablgtk-nognome-noglade-1.2.7.patch
ocaml-lablgtk-nognome-noglade-1.2.7.patch (text/plain), 9.20 KB, created by
Stanislav Sedov
on 2006-08-01 09:20:05 UTC
(
hide
)
Description:
ocaml-lablgtk-nognome-noglade-1.2.7.patch
Filename:
MIME Type:
Creator:
Stanislav Sedov
Created:
2006-08-01 09:20:05 UTC
Size:
9.20 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/x11-toolkits/ocaml-lablgtk/Makefile /var/tmp/ocaml-lablgtk/Makefile >--- /usr/ports/x11-toolkits/ocaml-lablgtk/Makefile Tue Mar 7 11:28:01 2006 >+++ /var/tmp/ocaml-lablgtk/Makefile Tue Aug 1 11:58:19 2006 >@@ -6,8 +6,8 @@ > # > > PORTNAME= lablgtk >-PORTVERSION= 1.2.5 >-PORTREVISION= 3 >+PORTVERSION= 1.2.7 >+PORTREVISION= 0 > CATEGORIES= x11-toolkits > MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \ > ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/ >@@ -17,8 +17,28 @@ > MAINTAINER= rk@ronald.org > COMMENT= An Objective Caml interface to gtk+ > >-BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml >-RUN_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml >+USE_GMAKE= yes >+USE_GNOME= gtk12 >+USE_OCAML= yes >+ALL_TARGET= all opt >+CONFIGURE_ENV= USE_DOTOPT=1 GTK_CONFIG=${GTK_CONFIG} \ >+ LIBDIR=${LOCALBASE}/lib/ocaml BINDIR=${PREFIX}/bin \ >+ INSTALLDIR=${PREFIX}/lib/ocaml/${PORTNAME} \ >+ DLLDIR=${PREFIX}/lib/ocaml/stublibs >+ >+OPTIONS= GL "Enable OpenGL support" on \ >+ GNOME "Enable GNOME support" off \ >+ GLADE "Enable Glade support" off >+ >+EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} >+DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} >+ >+MASTERPORT= ${PORTSDIR}/devel/ocaml-camlidl >+PATTERN= [[:space:]]*(do|then)?[[:space:]]*)cp([[:space:]] >+ >+.include <bsd.port.pre.mk> >+.include "${MASTERPORT}/bsd.ocaml.mk" >+ > .if defined(WITHOUT_GL) > PLIST_SUB+= GL="@comment " > SFXGL= -nogl >@@ -29,36 +49,41 @@ > LIB_DEPENDS+= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea > CONFIGURE_ENV+= USE_GL=1 > .endif >-.if defined(WITHOUT_GNOME) >-PLIST_SUB+= GNOME="@comment " >-SFXGNOME= -nognome >-.else >+ >+.if defined(WITH_GNOME) > PLIST_SUB+= GNOME="" > USE_GNOME= gdkpixbuf > CONFIGURE_ENV+= USE_GNOME=1 >-.endif >-.if defined(WITHOUT_GLADE) >-PLIST_SUB+= GLADE="@comment " >-SFXGLADE= -noglade > .else >+PLIST_SUB+= GNOME="@comment " >+SFXGNOME= -nognome >+.endif >+ >+.if defined(WITH_GLADE) > PLIST_SUB+= GLADE="" >-.if defined(WITHOUT_GNOME) >+.if defined(WITH_GNOME) >+USE_GNOME+= libglade >+.else > LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade > BUILD_DEPENDS+= libglade-config:${PORTSDIR}/devel/libglade >-.else >-USE_GNOME+= libglade > .endif > CONFIGURE_ENV+= USE_GLADE=1 >+.else >+PLIST_SUB+= GLADE="@comment " >+SFXGLADE= -noglade > .endif > >-USE_GMAKE= yes >-USE_GNOME+= gtk12 >-ALL_TARGET= all opt >-EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} >-DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} >-CONFIGURE_ENV+= USE_DOTOPT=1 GTK_CONFIG=${GTK_CONFIG} >-CONFIGURE_ENV+= LIBDIR=${PREFIX}/lib/ocaml BINDIR=${PREFIX}/bin >-CONFIGURE_ENV+= INSTALLDIR=${PREFIX}/lib/ocaml/lablgtk >+post-extract: >+ @${REINPLACE_CMD} -E \ >+ -e 's,(${PATTERN}+.*lablgtkto),\1\$${BSD_INSTALL_SCRIPT} \3,' \ >+ -e 's,(${PATTERN}+.*INSTALLDIR),\1\$${BSD_INSTALL_DATA} \3,' \ >+ -e 's,(${PATTERN}+.*BINDIR),\1\$${BSD_INSTALL_SCRIPT} \3,' \ >+ -e 's,(${PATTERN}+.*LIBDIR),\1\$${BSD_INSTALL_DATA} \3,' \ >+ -e 's,(${PATTERN}+.*DLLDIR),\1\$${BSD_INSTALL_DATA} \3,' \ >+ ${WRKSRC}/src/Makefile >+ >+ @${REINPLACE_CMD} -E -e '/^DLLDIR[[:space:]]*=[[:space:]]*.*/d' \ >+ ${WRKSRC}/Makefile > > do-configure: > @(cd ${WRKSRC} && ${GMAKE} configure ${CONFIGURE_ENV}) >@@ -71,11 +96,11 @@ > @${MKDIR} ${EXAMPLESDIR}/GL > @${INSTALL_DATA} ${WRKSRC}/examples/GL/* ${EXAMPLESDIR}/GL > .endif >-.if !defined(WITHOUT_GNOME) >+.if defined(WITH_GNOME) > @${MKDIR} ${EXAMPLESDIR}/xmhtml > @${INSTALL_DATA} ${WRKSRC}/examples/xmhtml/* ${EXAMPLESDIR}/xmhtml > .endif >-.if !defined(WITHOUT_GLADE) >+.if defined(WITH_GLADE) > @${MKDIR} ${EXAMPLESDIR}/glade > @${INSTALL_DATA} ${WRKSRC}/examples/glade/* ${EXAMPLESDIR}/glade > .endif >@@ -84,4 +109,6 @@ > @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README > .endif > >-.include <bsd.port.mk> >+ @${INSTALL_DATA} ${WRKSRC}/META ${PREFIX}/lib/ocaml/${PORTNAME} >+ >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/x11-toolkits/ocaml-lablgtk/distinfo /var/tmp/ocaml-lablgtk/distinfo >--- /usr/ports/x11-toolkits/ocaml-lablgtk/distinfo Tue Jan 24 06:16:42 2006 >+++ /var/tmp/ocaml-lablgtk/distinfo Tue Aug 1 11:25:28 2006 >@@ -1,3 +1,3 @@ >-MD5 (lablgtk-1.2.5.tar.gz) = 92628c756d2d3e2706b59d0382f23c19 >-SHA256 (lablgtk-1.2.5.tar.gz) = bfc8dd0ede2bc418e2ddf110619dd8cbf3e75443ae5f4f27bca7f765521d6e6b >-SIZE (lablgtk-1.2.5.tar.gz) = 463565 >+MD5 (lablgtk-1.2.7.tar.gz) = 73a797e3a459190fdcaa8288935f6fb9 >+SHA256 (lablgtk-1.2.7.tar.gz) = a83939042872397b1c14715c778566249775aaa16d2d24af4832ec13bebf3d3e >+SIZE (lablgtk-1.2.7.tar.gz) = 468443 >diff -ruN --exclude=CVS /usr/ports/x11-toolkits/ocaml-lablgtk/pkg-plist /var/tmp/ocaml-lablgtk/pkg-plist >--- /usr/ports/x11-toolkits/ocaml-lablgtk/pkg-plist Mon Apr 4 20:41:39 2005 >+++ /var/tmp/ocaml-lablgtk/pkg-plist Tue Aug 1 11:44:37 2006 >@@ -4,6 +4,7 @@ > %%GNOME%%lib/ocaml/stublibs/dlllablgnome.so > lib/ocaml/stublibs/dlllablgtk.so > %%GL%%lib/ocaml/stublibs/dlllablgtkgl.so >+lib/ocaml/lablgtk/META > lib/ocaml/lablgtk/gBin.cmi > lib/ocaml/lablgtk/gBin.cmx > lib/ocaml/lablgtk/gBin.ml >@@ -207,60 +208,62 @@ > lib/ocaml/lablgtk/varcc > lib/ocaml/lablgtk/wrappers.h > lib/ocaml/lablgtk/xml_lexer.mli >-%%GL%%share/examples/ocaml/lablgtk/GL/gears.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/morph3d.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/planet.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/scene.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/simple.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-2.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-3.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-4.ml >-%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-5.ml >-%%GLADE%%share/examples/ocaml/lablgtk/glade/glade_demo.ml >-%%GLADE%%share/examples/ocaml/lablgtk/glade/gladecalc.ml >-%%GLADE%%share/examples/ocaml/lablgtk/glade/project1.glade >-%%GLADE%%share/examples/ocaml/lablgtk/glade/project2.glade >-%%GNOME%%share/examples/ocaml/lablgtk/xmhtml/test.ml >-share/examples/ocaml/lablgtk/image256x256.rgb >-share/examples/ocaml/lablgtk/buttons.ml >-share/examples/ocaml/lablgtk/calc.ml >-share/examples/ocaml/lablgtk/calendar.ml >-share/examples/ocaml/lablgtk/clist.ml >-share/examples/ocaml/lablgtk/combo.ml >-share/examples/ocaml/lablgtk/counter.ml >-share/examples/ocaml/lablgtk/csview.ml >-share/examples/ocaml/lablgtk/dcalendar.ml >-share/examples/ocaml/lablgtk/drawing.ml >-share/examples/ocaml/lablgtk/editor.ml >-share/examples/ocaml/lablgtk/entry.ml >-share/examples/ocaml/lablgtk/events.ml >-share/examples/ocaml/lablgtk/fifteen.ml >-share/examples/ocaml/lablgtk/fixed_editor.ml >-share/examples/ocaml/lablgtk/fixpoint.ml >-share/examples/ocaml/lablgtk/giotest.ml >-share/examples/ocaml/lablgtk/hello.ml >-share/examples/ocaml/lablgtk/image.ml >-share/examples/ocaml/lablgtk/kaimono.ml >-share/examples/ocaml/lablgtk/label.ml >-share/examples/ocaml/lablgtk/lissajous.ml >-share/examples/ocaml/lablgtk/nihongo.ml >-share/examples/ocaml/lablgtk/pousse.ml >-share/examples/ocaml/lablgtk/progressbar.ml >-share/examples/ocaml/lablgtk/radiobuttons.ml >-share/examples/ocaml/lablgtk/rpn.ml >-share/examples/ocaml/lablgtk/scrolledwin.ml >-share/examples/ocaml/lablgtk/socket.ml >-share/examples/ocaml/lablgtk/testdnd.ml >-share/examples/ocaml/lablgtk/testgtk.ml >-share/examples/ocaml/lablgtk/testinput.ml >-share/examples/ocaml/lablgtk/tictactoe.ml >-share/examples/ocaml/lablgtk/tron.ml >-share/examples/ocaml/lablgtk/test.xpm >-%%PORTDOCS%%share/doc/ocaml/lablgtk/README >+%%GL%%%%EXAMPLESDIR%%/GL/gears.ml >+%%GL%%%%EXAMPLESDIR%%/GL/morph3d.ml >+%%GL%%%%EXAMPLESDIR%%/GL/planet.ml >+%%GL%%%%EXAMPLESDIR%%/GL/scene.ml >+%%GL%%%%EXAMPLESDIR%%/GL/simple.ml >+%%GL%%%%EXAMPLESDIR%%/GL/tutorial-2.ml >+%%GL%%%%EXAMPLESDIR%%/GL/tutorial-3.ml >+%%GL%%%%EXAMPLESDIR%%/GL/tutorial-4.ml >+%%GL%%%%EXAMPLESDIR%%/GL/tutorial-5.ml >+%%GLADE%%%%EXAMPLESDIR%%/glade/glade_demo.ml >+%%GLADE%%%%EXAMPLESDIR%%/glade/gladecalc.ml >+%%GLADE%%%%EXAMPLESDIR%%/glade/project1.glade >+%%GLADE%%%%EXAMPLESDIR%%/glade/project2.glade >+%%GNOME%%%%EXAMPLESDIR%%/xmhtml/test.ml >+%%EXAMPLESDIR%%/image256x256.rgb >+%%EXAMPLESDIR%%/buttons.ml >+%%EXAMPLESDIR%%/calc.ml >+%%EXAMPLESDIR%%/calendar.ml >+%%EXAMPLESDIR%%/clist.ml >+%%EXAMPLESDIR%%/combo.ml >+%%EXAMPLESDIR%%/counter.ml >+%%EXAMPLESDIR%%/csview.ml >+%%EXAMPLESDIR%%/dcalendar.ml >+%%EXAMPLESDIR%%/drawing.ml >+%%EXAMPLESDIR%%/editor.ml >+%%EXAMPLESDIR%%/entry.ml >+%%EXAMPLESDIR%%/events.ml >+%%EXAMPLESDIR%%/fifteen.ml >+%%EXAMPLESDIR%%/fixed_editor.ml >+%%EXAMPLESDIR%%/fixpoint.ml >+%%EXAMPLESDIR%%/giotest.ml >+%%EXAMPLESDIR%%/hello.ml >+%%EXAMPLESDIR%%/image.ml >+%%EXAMPLESDIR%%/kaimono.ml >+%%EXAMPLESDIR%%/label.ml >+%%EXAMPLESDIR%%/lissajous.ml >+%%EXAMPLESDIR%%/nihongo.ml >+%%EXAMPLESDIR%%/pixview.ml >+%%EXAMPLESDIR%%/pousse.ml >+%%EXAMPLESDIR%%/progressbar.ml >+%%EXAMPLESDIR%%/radiobuttons.ml >+%%EXAMPLESDIR%%/rpn.ml >+%%EXAMPLESDIR%%/scrolledwin.ml >+%%EXAMPLESDIR%%/socket.ml >+%%EXAMPLESDIR%%/testdnd.ml >+%%EXAMPLESDIR%%/testgtk.ml >+%%EXAMPLESDIR%%/testinput.ml >+%%EXAMPLESDIR%%/tictactoe.ml >+%%EXAMPLESDIR%%/tron.ml >+%%EXAMPLESDIR%%/test.xpm >+%%PORTDOCS%%%%DOCSDIR%%/README > @dirrm lib/ocaml/lablgtk >-%%GL%%@dirrm share/examples/ocaml/lablgtk/GL >-%%GNOME%%@dirrm share/examples/ocaml/lablgtk/xmhtml >-%%GLADE%%@dirrm share/examples/ocaml/lablgtk/glade >-@dirrm share/examples/ocaml/lablgtk >-%%PORTDOCS%%@dirrm share/doc/ocaml/lablgtk >-%%PORTDOCS%%@dirrm share/doc/ocaml >+%%GL%%@dirrm %%EXAMPLESDIR%%/GL >+%%GNOME%%@dirrm %%EXAMPLESDIR%%/xmhtml >+%%GLADE%%@dirrm %%EXAMPLESDIR%%/glade >+@dirrm %%EXAMPLESDIR%% >+@dirrmtry share/examples/ocaml >+%%PORTDOCS%%@dirrm %%DOCSDIR%% >+%%PORTDOCS%%@dirrmtry share/doc/ocaml
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 101144
: 68886