Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 20:30:41 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35501: Update port: x11-toolkits/paragui to 1.0.0
Message-ID:  <200203030430.g234UfP58089@freefall.freebsd.org>

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

>Number:         35501
>Category:       ports
>Synopsis:       Update port: x11-toolkits/paragui to 1.0.0
>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:   Sat Mar 02 20:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.0

New file:
files/patch-ltmain.sh

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11-toolkits/paragui/Makefile x11-toolkits/paragui/Makefile
--- /usr/ports/x11-toolkits/paragui/Makefile	Sat Oct 13 13:31:41 2001
+++ x11-toolkits/paragui/Makefile	Sat Mar  2 08:46:35 2002
@@ -7,30 +7,34 @@
 #
 
 PORTNAME=	paragui
-PORTVERSION=	0.7.2
+PORTVERSION=	1.0.0
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	ftp://ftp.bms-austria.com/pub/paragui/release/
 
 MAINTAINER=	ports@FreeBSD.org
 
 LIB_DEPENDS=	SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
-		SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf
+		SDL_image.10:${PORTSDIR}/graphics/sdl_image \
+		SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
+		expat.2:${PORTSDIR}/textproc/expat2
 
 SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
 
 USE_X_PREFIX=	yes
-USE_FREETYPE=	yes
-USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" \
-		CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+		CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-USE_GMAKE=	yes
-
 INSTALLS_SHLIB=	yes
 
+SHLIB_VER=	3
+PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"
+
 post-patch:
-	@${PERL} -pi -e "s,\`sdl-config ,\`${SDL_CONFIG} ,g ; \
-		s,SDL/,SDL11/,g" ${WRKSRC}/configure
+	@${PERL} -pi -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \
+		 s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure
+	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+		's|\$$\(SDL_CFLAGS\)|\$$\(PARAGUI_CFLAGS\)|g ; \
+		 s|-release \$$\(LT_RELEASE\)||g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11-toolkits/paragui/distinfo x11-toolkits/paragui/distinfo
--- /usr/ports/x11-toolkits/paragui/distinfo	Sat Oct 13 13:31:42 2001
+++ x11-toolkits/paragui/distinfo	Fri Mar  1 05:58:50 2002
@@ -1 +1 @@
-MD5 (paragui-0.7.2.tar.gz) = c80c1b471a5edb140da00e4e1308501b
+MD5 (paragui-1.0.0.tar.gz) = 43b4e678a21bfe6ca75820d10a2b4289
diff -urN /usr/ports/x11-toolkits/paragui/files/patch-ltmain.sh x11-toolkits/paragui/files/patch-ltmain.sh
--- /usr/ports/x11-toolkits/paragui/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
+++ x11-toolkits/paragui/files/patch-ltmain.sh	Sat Mar  2 08:57:26 2002
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig	Mon Feb 11 17:35:31 2002
++++ ltmain.sh	Fri Mar  1 06:01:48 2002
+@@ -1056,14 +1056,14 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+ 	  esac
+ 	 elif test "X$arg" = "X-lc_r"; then
+ 	  case $host in
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc_r directly, use -pthread flag.
+ 	    continue
+ 	    ;;
+@@ -2494,7 +2494,7 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    ;;
+ 	  *)
+@@ -4281,10 +4281,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/x11-toolkits/paragui/pkg-plist x11-toolkits/paragui/pkg-plist
--- /usr/ports/x11-toolkits/paragui/pkg-plist	Sat Oct 13 13:31:42 2001
+++ x11-toolkits/paragui/pkg-plist	Fri Mar  1 19:16:55 2002
@@ -1,25 +1,32 @@
 bin/paragui-config
 include/paragui/paraconfig.h
+include/paragui/paraconfig_gnu.h
 include/paragui/paragui.h
-include/paragui/paragui_doc.h
 include/paragui/paragui_types.h
-include/paragui/parastretch.h
 include/paragui/pgapplication.h
 include/paragui/pgbutton.h
-include/paragui/pgbuttongroup.h
 include/paragui/pgcheckbutton.h
+include/paragui/pgcolors.h
 include/paragui/pgcolumnitem.h
-include/paragui/pgdrawline.h
-include/paragui/pgdrawobject.h
+include/paragui/pgcompat.h
+include/paragui/pgdatacontainer.h
+include/paragui/pgdraw.h
 include/paragui/pgdropdown.h
 include/paragui/pgeventobject.h
-include/paragui/pggradientwidget.h
+include/paragui/pgfile.h
+include/paragui/pgfilearchive.h
+include/paragui/pgfont.h
+include/paragui/pgimage.h
+include/paragui/pginfo.h
 include/paragui/pglabel.h
+include/paragui/pglayout.h
 include/paragui/pglineedit.h
 include/paragui/pglistbox.h
 include/paragui/pglistboxbaseitem.h
 include/paragui/pglistboxitem.h
+include/paragui/pglog.h
 include/paragui/pgmaskedit.h
+include/paragui/pgmenubar.h
 include/paragui/pgmessagebox.h
 include/paragui/pgmessageobject.h
 include/paragui/pgnavigator.h
@@ -28,23 +35,24 @@
 include/paragui/pgradiobutton.h
 include/paragui/pgrect.h
 include/paragui/pgrectlist.h
+include/paragui/pgrichedit.h
 include/paragui/pgscrollbar.h
 include/paragui/pgslider.h
 include/paragui/pgspinnerbox.h
-include/paragui/pgstaticframe.h
 include/paragui/pgsurfacecache.h
 include/paragui/pgtheme.h
+include/paragui/pgthemewidget.h
 include/paragui/pgwidget.h
 include/paragui/pgwidgetdnd.h
 include/paragui/pgwidgetlist.h
+include/paragui/pgwidgetlistex.h
 include/paragui/pgwindow.h
-include/paragui/rendertextrect.h
-@dirrm include/paragui
-lib/libparagui-0.7.so.2
 lib/libparagui.a
 lib/libparagui.so
+lib/libparagui.so.%%SHLIB_VER%%
+lib/pkgconfig/paragui.pc
 share/aclocal/paragui.m4
 share/paragui/default.zip
-share/paragui/qnx.zip
 share/paragui/simple.zip
 @dirrm share/paragui
+@dirrm include/paragui

>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?200203030430.g234UfP58089>