aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-08 06:43:08 +0800
committerpav <pav@FreeBSD.org>2004-06-08 06:43:08 +0800
commitbd92273a10f1a5ec98fc97c9dea8a69e074ab3e9 (patch)
tree723086f3ac23d1bb777792886997cba9d38de731
parent79e54ed376171e3c8e1ec6e1279bea120f8fdce0 (diff)
downloadfreebsd-ports-graphics-bd92273a10f1a5ec98fc97c9dea8a69e074ab3e9.tar.gz
freebsd-ports-graphics-bd92273a10f1a5ec98fc97c9dea8a69e074ab3e9.tar.zst
freebsd-ports-graphics-bd92273a10f1a5ec98fc97c9dea8a69e074ab3e9.zip
- Update to 2.0.5
PR: ports/67635 Submitted by: nsouch
-rw-r--r--graphics/libggi/Makefile102
-rw-r--r--graphics/libggi/distinfo4
-rw-r--r--graphics/libggi/files/patch-m4-gii_paths21
-rw-r--r--graphics/libggi/pkg-plist4
4 files changed, 77 insertions, 54 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index ce3bdd4c661..5c6ea5b3588 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libggi
-PORTVERSION= 2.0.4
-PORTREVISION= 1
+PORTVERSION= 2.0.5
PORTEPOCH= 1
CATEGORIES= graphics devel
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.0/ \
@@ -25,7 +24,7 @@ USE_XLIB= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-internal-dga #This is broken for now
+CONFIGURE_ARGS=
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.ifdef USE_THREADS
@@ -33,76 +32,75 @@ CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ARGS+= --enable-threads
.endif
-.if exists(/usr/include/kgi/kgi.h)
-CONFIGURE_ARGS+= --enable-kgi
+.if exists(/usr/include/dev/kgi/kgi.h)
+CONFIGURE_ARGS+= --enable-kgi --with-extra-includes=/usr/include/dev
.endif
MAN1= cube3d.1 ggiteleserver.1 monitest.1
-MAN3= ggiCopyBox.3 ggiCrossBlit.3 ggiDBGetBuffer.3 \
- ggiDrawBox.3 ggiDrawHLine.3 ggiDrawLine.3 \
- ggiDrawPixel.3 ggiDrawVLine.3 ggiEventPoll.3 \
- ggiFillscreen.3 ggiFlush.3 ggiGetPixelFormat.3 \
- ggiGetc.3 ggiInit.3 ggiMapColor.3 ggiOpen.3 \
- ggiPanic.3 ggiParseMode.3 \
- ggiPutc.3 ggiResourceAcquire.3 \
- ggiSetColorfulPalette.3 ggiSetDisplayFrame.3 \
- ggiSetFlags.3 ggiSetGCClipping.3 \
- ggiSetGCForeground.3 ggiSetGamma.3 \
- ggiSetGraphMode.3 ggiSetMode.3 ggiSetOrigin.3 \
- ggiSetPalette.3 \
- ggiDetachInput.3 ggiEventSelect.3 \
- ggiGammaMax.3 ggiGetCharSize.3 ggiGetInput.3 \
- ggi_color.3 ggi_coord.3 ggi_directbuffer.3 \
- ggi_graphtype.3 ggi_mode.3 ggi_pixel.3 \
- ggi_pixelformat.3 ggi_pixellinearbuffer.3 \
- ggi_pixelplanarbuffer.3 ggi_samplelinearbuffer.3 \
- ggi_sampleplanarbuffer.3
-MAN7= libggi.7 \
- display-aa.7 display-dga.7 display-directx.7 \
- display-directxnt.7 display-fbdev.7 display-file.7 \
- display-glide.7 display-memory.7 display-monotext.7 \
- display-multi.7 display-palemu.7 display-sub.7 \
- display-svgalib.7 display-tele.7 display-tile.7 \
- display-trueemu.7 display-vcsa.7 display-vgl.7 \
- display-x.7
-MLINKS= ggiDBGetBuffer.3 ggiDBGetNumBuffers.3 \
+MAN3= ggiCheckMode.3 ggiCopyBox.3 ggiCrossBlit.3 \
+ ggiDBGetNumBuffers.3 ggiDrawBox.3 ggiDrawHLine.3 \
+ ggiDrawLine.3 ggiDrawPixel.3 ggiDrawVLine.3 \
+ ggiEventSend.3 ggiFillscreen.3 ggiFlush.3 \
+ ggiGetGamma.3 ggiGetInput.3 ggiGetPixelFormat.3 \
+ ggiGetc.3 ggiInit.3 ggiJoinInputs.3 \
+ ggiMapColor.3 \
+ ggiOpen.3 ggiPanic.3 ggiParseMode.3 \
+ ggiPutc.3 ggiResourceAcquire.3 ggiSetColorfulPalette.3 \
+ ggiSetDisplayFrame.3 ggiSetFlags.3 ggiSetGCClipping.3 \
+ ggiSetGCForeground.3 ggiSetMode.3 ggiSetOrigin.3 \
+ ggiSetPalette.3 ggi_color.3 ggi_directbuffer.3 \
+ ggi_mode.3 ggi_pixelformat.3
+MAN7= libggi.7 display-aa.7 display-dga.7 display-directx.7 \
+ display-fbdev.7 display-file.7 display-glide.7 \
+ display-memory.7 display-monotext.7 display-multi.7 \
+ display-palemu.7 display-sub.7 display-svgalib.7 \
+ display-tele.7 display-tile.7 display-trueemu.7 \
+ display-vcsa.7 display-vgl.7 display-x.7
+MLINKS= display-directx.7 display-directxnt.7 \
+ ggiCheckMode.3 ggiCheckGraphMode.3 - ggiCheckSimpleMode.3 \
+ - ggiCheckTextMode.3 ggiDBGetNumBuffers.3 ggiDBGetBuffer.3 \
ggiDrawBox.3 ggiGetBox.3 - ggiPutBox.3 \
ggiDrawHLine.3 ggiGetHLine.3 - ggiPutHLine.3 \
ggiDrawPixel.3 ggiGetPixel.3 - ggiPutPixel.3 \
ggiDrawVLine.3 ggiGetVLine.3 - ggiPutVLine.3 \
- ggiEventPoll.3 ggiAddEventMask.3 - ggiEventRead.3 \
- - ggiEventSend.3 - ggiEventsQueued.3 \
- - ggiGetEventMask.3 - ggiJoinInputs.3 \
- - ggiRemoveEventMask.3 - ggiSetEventMask.3 \
- ggiFlush.3 ggiFlushRegion.3 ggiGetc.3 ggiKbhit.3 \
+ ggiFlush.3 ggiFlushRegion.3 \
+ ggiGetGamma.3 ggiGammaMax.3 - ggiGetGammaMap.3 \
+ - ggiSetGamma.3 - ggiSetGammaMap.3 \
+ ggiGetInput.3 ggiDetachInput.3 \
+ ggiGetc.3 ggiKbhit.3 \
ggiInit.3 ggiExit.3 \
+ ggiJoinInputs.3 ggiAddEventMask.3 - ggiEventPoll.3 \
+ - ggiEventRead.3 \
+ ggiJoinInputs.3 ggiEventSelect.3 - ggiEventsQueued.3 \
+ - ggiGetEventMask.3 - ggiRemoveEventMask.3 \
+ - ggiSetEventMask.3 \
ggiMapColor.3 ggiPackColors.3 - ggiUnmapPixel.3 \
- - ggiUnpackPixels.3 \
- ggiOpen.3 ggiClose.3 \
+ - ggiUnpackPixels.3 ggiOpen.3 ggiClose.3 \
ggiParseMode.3 ggiFPrintMode.3 - ggiPrintMode.3 \
- - ggiSPrintMode.3 ggiPutc.3 ggiPuts.3 \
- ggiResourceAcquire.3 ggiResourceMustAcquire.3 \
+ - ggiSPrintMode.3 ggiPutc.3 ggiGetCharSize.3 \
+ - ggiPuts.3 ggiResourceAcquire.3 ggiResourceMustAcquire.3 \
- ggiResourceRelease.3 \
- ggiSetDisplayFrame.3 ggiGetDisplayFrame.3 \
- - ggiGetReadFrame.3 - ggiGetWriteFrame.3 \
- - ggiSetReadFrame.3 - ggiSetWriteFrame.3 \
+ ggiSetDisplayFrame.3 ggiGetDisplayFrame.3 - ggiGetReadFrame.3 \
+ ggiSetDisplayFrame.3 ggiGetWriteFrame.3 - ggiSetReadFrame.3 \
+ - ggiSetWriteFrame.3 \
ggiSetFlags.3 ggiAddFlags.3 - ggiGetFlags.3 \
- ggiRemoveFlags.3 \
ggiSetGCClipping.3 ggiGetGCClipping.3 \
ggiSetGCForeground.3 ggiGetGCBackground.3 \
- ggiGetGCForeground.3 - ggiSetGCBackground.3 \
- ggiSetGamma.3 ggiGetGamma.3 - ggiGetGammaMap.3 \
- - ggiSetGammaMap.3 \
- ggiSetGraphMode.3 ggiCheckGraphMode.3 \
- - ggiCheckSimpleMode.3 - ggiCheckTextMode.3 \
+ ggiSetMode.3 ggiGetMode.3 - ggiSetGraphMode.3 \
- ggiSetSimpleMode.3 - ggiSetTextMode.3 \
- ggiSetMode.3 ggiCheckMode.3 - ggiGetMode.3 \
ggiSetOrigin.3 ggiGetOrigin.3 \
- ggiSetPalette.3 ggiGetPalette.3
+ ggiSetPalette.3 ggiGetPalette.3 \
+ ggi_color.3 ggi_pixel.3 \
+ ggi_directbuffer.3 ggi_pixellinearbuffer.3 \
+ - ggi_pixelplanarbuffer.3 - ggi_samplelinearbuffer.3 \
+ - ggi_sampleplanarbuffer.3 \
+ ggi_mode.3 ggi_coord.3 - ggi_graphtype.3
.include <bsd.port.pre.mk>
-.if !exists(/usr/include/vgl.h) || ${MACHINE_ARCH} != "i386"
+.if !exists(/usr/include/vgl.h) || ${ARCH} != "i386"
CONFIGURE_ARGS+= --disable-vgl
PLIST_SUB+= WITH_VGL="@comment "
.else
diff --git a/graphics/libggi/distinfo b/graphics/libggi/distinfo
index 6465f6c664e..d02064af2df 100644
--- a/graphics/libggi/distinfo
+++ b/graphics/libggi/distinfo
@@ -1,2 +1,2 @@
-MD5 (libggi-2.0.4.src.tar.bz2) = b1a68aba26e12cd164ea032ad3ad5556
-SIZE (libggi-2.0.4.src.tar.bz2) = 811176
+MD5 (libggi-2.0.5.src.tar.bz2) = 1d58f28a7718bf2840fac39cd3a0d6db
+SIZE (libggi-2.0.5.src.tar.bz2) = 826857
diff --git a/graphics/libggi/files/patch-m4-gii_paths b/graphics/libggi/files/patch-m4-gii_paths
new file mode 100644
index 00000000000..c8855afe522
--- /dev/null
+++ b/graphics/libggi/files/patch-m4-gii_paths
@@ -0,0 +1,21 @@
+--- m4/gii_paths.m4.orig Wed Nov 27 10:02:19 2002
++++ m4/gii_paths.m4 Sat Jun 5 22:00:41 2004
+@@ -31,13 +31,13 @@
+ fi
+ if test -d "$gii_top_builddir" -a -d "$gii_top_srcdir" ; then
+ if test "$gii_top_builddir" = "$gii_top_srcdir" ; then
+- CFLAGS="$CFLAGS -I$gii_top_builddir/include"
+- CPPFLAGS="$CPPFLAGS -I$gii_top_builddir/include"
++ CFLAGS="-I$gii_top_builddir/include $CFLAGS"
++ CPPFLAGS="-I$gii_top_builddir/include $CPPFLAGS"
+ else
+- CFLAGS="$CFLAGS -I$gii_top_srcdir/include -I$gii_top_builddir/include"
+- CPPFLAGS="$CPPFLAGS -I$gii_top_srcdir/include -I$gii_top_builddir/include"
++ CFLAGS="-I$gii_top_srcdir/include -I$gii_top_builddir/include $CFLAGS"
++ CPPFLAGS="-I$gii_top_srcdir/include -I$gii_top_builddir/include $CPPFLAGS"
+ fi
+- LDFLAGS="$LDFLAGS -L$gii_top_builddir/gg -L$gii_top_builddir/gii"
++ LDFLAGS="-L$gii_top_builddir/gg -L$gii_top_builddir/gii $LDFLAGS"
+ fi
+ ]])
+
diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist
index 6edb5942e52..4ca9b44a2ab 100644
--- a/graphics/libggi/pkg-plist
+++ b/graphics/libggi/pkg-plist
@@ -126,7 +126,11 @@ lib/ggi/helper/helper_x_vidmode.so
lib/libggi.la
lib/libggi.so
lib/libggi.so.2
+@dirrm etc/ggi
@dirrm include/ggi/display
+@dirrm include/ggi/internal
+@dirrm include/ggi
@dirrm lib/ggi/default
@dirrm lib/ggi/display
@dirrm lib/ggi/helper
+@dirrm lib/ggi