diff options
Diffstat (limited to 'graphics/gliv')
-rw-r--r-- | graphics/gliv/Makefile | 43 | ||||
-rw-r--r-- | graphics/gliv/distinfo | 3 | ||||
-rw-r--r-- | graphics/gliv/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | graphics/gliv/files/patch-lib__getdelim.c | 17 | ||||
-rw-r--r-- | graphics/gliv/files/patch-src__matrix.c | 14 | ||||
-rw-r--r-- | graphics/gliv/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/gliv/pkg-plist | 23 |
7 files changed, 114 insertions, 0 deletions
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile new file mode 100644 index 000000000..7adcf93ee --- /dev/null +++ b/graphics/gliv/Makefile @@ -0,0 +1,43 @@ +# ports collection makefile for: gliv +# Date created: 16 March 2001 +# Whom: Jeremy Norris <ishmael27@home.com> +# +# $FreeBSD$ +# + +PORTNAME= gliv +PORTVERSION= 1.9.6 +PORTREVISION= 2 +CATEGORIES= graphics +MASTER_SITES= http://guichaz.free.fr/gliv/files/ + +MAINTAINER= araujo@FreeBSD.org +COMMENT= An image viewer that uses Gdk-Pixbuf and OpenGL + +LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnometarget gtk20 +USE_GL= yes +USE_GETOPT_LONG= yes +USE_GETTEXT= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ + AUTOHEADER="${TRUE}" + +MAN1= gliv.1 +MANLANG= "" de fr ru + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +post-install: + ${INSTALL_DATA} ${WRKSRC}/gliv.desktop \ + ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/gliv.png \ + ${PREFIX}/share/pixmaps + +.include <bsd.port.mk> diff --git a/graphics/gliv/distinfo b/graphics/gliv/distinfo new file mode 100644 index 000000000..fd977e4b2 --- /dev/null +++ b/graphics/gliv/distinfo @@ -0,0 +1,3 @@ +MD5 (gliv-1.9.6.tar.bz2) = e51838ed643f3af5143a20a12f432b9d +SHA256 (gliv-1.9.6.tar.bz2) = aa0f3c780d5fca1eb393deaa5289c024bf3aba5b4f980fc90d4b444906534830 +SIZE (gliv-1.9.6.tar.bz2) = 518971 diff --git a/graphics/gliv/files/patch-Makefile.in b/graphics/gliv/files/patch-Makefile.in new file mode 100644 index 000000000..db0f202eb --- /dev/null +++ b/graphics/gliv/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Dec 20 03:20:43 2004 ++++ Makefile.in Sat Dec 25 23:00:57 2004 +@@ -582,8 +582,6 @@ + info-am: + + install-data-am: +- @$(NORMAL_INSTALL) +- $(MAKE) $(AM_MAKEFLAGS) install-data-hook + + install-exec-am: + diff --git a/graphics/gliv/files/patch-lib__getdelim.c b/graphics/gliv/files/patch-lib__getdelim.c new file mode 100644 index 000000000..c9609ecdd --- /dev/null +++ b/graphics/gliv/files/patch-lib__getdelim.c @@ -0,0 +1,17 @@ +--- lib/getdelim.c.orig Thu Jul 7 03:46:17 2005 ++++ lib/getdelim.c Mon Mar 20 12:42:53 2006 +@@ -7,8 +7,12 @@ + * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details. + */ + +-#include "stdio.h" +-#include "stdlib.h" ++#include <stdio.h> ++#include <stdlib.h> ++ ++#ifndef HAVE_GETDELIM ++#include "getdelim.h" ++#endif + + /* Note: There is a defect in this function. (size_t vs ssize_t). */ + diff --git a/graphics/gliv/files/patch-src__matrix.c b/graphics/gliv/files/patch-src__matrix.c new file mode 100644 index 000000000..8b9eb5f7c --- /dev/null +++ b/graphics/gliv/files/patch-src__matrix.c @@ -0,0 +1,14 @@ +--- src/matrix.c.orig Tue Nov 22 07:30:44 2005 ++++ src/matrix.c Mon Mar 20 14:13:22 2006 +@@ -35,6 +35,11 @@ + extern options_struct *options; + extern GlivImage *current_image; + ++#if !defined(INFINITY) ++#define HUGE_VALF (float)HUGE_VAL ++#define INFINITY HUGE_VALF ++#endif ++ + /* + * OpenGL uses a transposed matrix, we use a 'normal' one, + * we transpose it just before glLoadMatrix(). diff --git a/graphics/gliv/pkg-descr b/graphics/gliv/pkg-descr new file mode 100644 index 000000000..060a05f9f --- /dev/null +++ b/graphics/gliv/pkg-descr @@ -0,0 +1,3 @@ +An Image viewer that uses Gdk-Pixbuf to load images, and OpenGL to render them. + +WWW: http://guichaz.free.fr/gliv/ diff --git a/graphics/gliv/pkg-plist b/graphics/gliv/pkg-plist new file mode 100644 index 000000000..d6724a58d --- /dev/null +++ b/graphics/gliv/pkg-plist @@ -0,0 +1,23 @@ +bin/gliv +share/applications/gliv.desktop +share/pixmaps/gliv.png +share/locale/bg/LC_MESSAGES/gliv.mo +share/locale/de/LC_MESSAGES/gliv.mo +share/locale/fr/LC_MESSAGES/gliv.mo +share/locale/nl/LC_MESSAGES/gliv.mo +share/locale/pt_BR/LC_MESSAGES/gliv.mo +share/locale/ro/LC_MESSAGES/gliv.mo +share/locale/ru/LC_MESSAGES/gliv.mo +share/locale/rw/LC_MESSAGES/gliv.mo +share/locale/sk/LC_MESSAGES/gliv.mo +share/locale/sv/LC_MESSAGES/gliv.mo +share/locale/tr/LC_MESSAGES/gliv.mo +share/locale/vi/LC_MESSAGES/gliv.mo +@dirrmtry man/ru/man1 +@dirrmtry man/ru +@dirrmtry man/fr/man1 +@dirrmtry man/fr +@dirrmtry man/de/man1 +@dirrmtry man/de +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw |