Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 17:43:46 -0600 (CST)
From:      ishmael27@home.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25861: New port: gliv-1.0b6 <synopsis of the problem (one line)>
Message-ID:  <200103162343.f2GNhkg76993@babylon.merseine.nu>

next in thread | raw e-mail | index | archive | help

>Number:         25861
>Category:       ports
>Synopsis:       New port: gliv-1.0b6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 16 15:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Norris
>Release:        FreeBSD 4.3-BETA i386
>Organization:
>Environment:
System: FreeBSD babylon.merseine.nu 4.3-BETA FreeBSD 4.3-BETA #0: Tue Mar 6 20:09:07 CST 2001 ishmael@babylon.merseine.nu:/usr/obj/usr/src/sys/BABYLON i386


	
>Description:
New port for gliv-1.0b6.
GLiv is an image viewer that uses Imlib2 and OpenGL.
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gliv
#	gliv/files
#	gliv/files/patch-configure
#	gliv/Makefile
#	gliv/pkg-descr
#	gliv/pkg-comment
#	gliv/pkg-plist
#	gliv/distinfo
#
echo c - gliv
mkdir -p gliv > /dev/null 2>&1
echo c - gliv/files
mkdir -p gliv/files > /dev/null 2>&1
echo x - gliv/files/patch-configure
sed 's/^X//' >gliv/files/patch-configure << 'END-of-gliv/files/patch-configure'
X--- configure.orig	Thu Mar 15 14:09:08 2001
X+++ configure	Fri Mar 16 07:44:44 2001
X@@ -1067,8 +1067,8 @@
X 
X echo -n checking for Imlib2...
X if imlib2-config --version &> /dev/null;then
X-CFLAGS="-pipe -O3 -funroll-loops -fforce-addr -fomit-frame-pointer -Wall $CFLAGS `imlib2-config --cflags`"
X-LDFLAGS="-Wl,-O1 $LDFLAGS `imlib2-config --libs`"
X+CFLAGS="$CFLAGS `imlib2-config --cflags`"
X+LDFLAGS="$LDFLAGS `imlib2-config --libs`"
X echo " found (version `imlib2-config --version`)"
X else
X echo " not found"
X@@ -1081,14 +1081,14 @@
X exit 1
X fi
X 
X-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
X-echo "configure:1086: checking for pthread_create in -lpthread" >&5
X+echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
X+echo "configure:1086: checking for pthread_create in -pthread" >&5
X ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X   echo $ac_n "(cached) $ac_c" 1>&6
X else
X   ac_save_LIBS="$LIBS"
X-LIBS="-lpthread  $LIBS"
X+LIBS="-pthread  $LIBS"
X cat > conftest.$ac_ext <<EOF
X #line 1094 "configure"
X #include "confdefs.h"
X@@ -1122,7 +1122,7 @@
X #define $ac_tr_lib 1
X EOF
X 
X-  LIBS="-lpthread $LIBS"
X+  LIBS="-pthread $LIBS"
X 
X else
X   echo "$ac_t""no" 1>&6
X@@ -1132,7 +1132,7 @@
X echo It seems you do not have libpthread or it does not work.
X exit 1
X fi
X-LDFLAGS="$LDFLAGS -lpthread"
X+LDFLAGS="$LDFLAGS -pthread"
X 
X unset mdl_cv_have_OpenGL
X echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
END-of-gliv/files/patch-configure
echo x - gliv/Makefile
sed 's/^X//' >gliv/Makefile << 'END-of-gliv/Makefile'
X# ports collection makefile for:	gliv
X# Date created:				16 March 2001
X# Whom:					Jeremy Norris <ishmael27@home.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gliv
XPORTVERSION=	1.0b6
XCATEGORIES=	graphics
XMASTER_SITES=	http://gliv.tuxfamily.org/
XDISTNAME=	GLiv-1.0beta6
X
XMAINTAINER=	ishmael27@home.com
X
XLIB_DEPENDS=	Imlib2.1:${PORTSDIR}/graphics/imlib2 \
X		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_MESA=	yes
XGNU_CONFIGURE=	yes
XUSE_X_PREFIX=	yes
XCONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib -lgnugetopt"
X
XMAN1=		GLiv.1
X
X.include <bsd.port.mk>
END-of-gliv/Makefile
echo x - gliv/pkg-descr
sed 's/^X//' >gliv/pkg-descr << 'END-of-gliv/pkg-descr'
XAn Image viewer that uses Imlib2 to load images, and OpenGL to render them.
X
XWWW: http://glive.tuxfamily.org/
END-of-gliv/pkg-descr
echo x - gliv/pkg-comment
sed 's/^X//' >gliv/pkg-comment << 'END-of-gliv/pkg-comment'
XAn image viewer that uses Imlib2 and OpenGL
END-of-gliv/pkg-comment
echo x - gliv/pkg-plist
sed 's/^X//' >gliv/pkg-plist << 'END-of-gliv/pkg-plist'
Xbin/GLiv
END-of-gliv/pkg-plist
echo x - gliv/distinfo
sed 's/^X//' >gliv/distinfo << 'END-of-gliv/distinfo'
XMD5 (GLiv-1.0beta6.tar.bz2) = e4ce6703f70b7d41e1eb42ee7f206424
END-of-gliv/distinfo
exit

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103162343.f2GNhkg76993>