Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 03:00:17 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115393: Update port: net/gq to 1.2.2
Message-ID:  <20070811030017.f50f4cdc.tkato432@yahoo.com>
Resent-Message-ID: <200708101810.l7AIA3fr027017@freefall.freebsd.org>

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

>Number:         115393
>Category:       ports
>Synopsis:       Update port: net/gq to 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 10 18:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.2

Remove file:
files/patch-icons-Makefile.in
files/patch-src-xmlparse.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/gq/Makefile net/gq/Makefile
--- /usr/ports/net/gq/Makefile	Sun May 20 13:54:55 2007
+++ net/gq/Makefile	Thu Aug  9 16:31:48 2007
@@ -6,43 +6,33 @@
 #
 
 PORTNAME=	gq
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.2.2
 PORTEPOCH=	1
 CATEGORIES=	net
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
-		http://dryice.name/computer/FreeBSD/distfiles/
-MASTER_SITE_SUBDIR=	gqclient
-DISTNAME=	gq-${PORTVERSION:S/r/rc/}
+MASTER_SITES=	SF/gqclient
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GTK-based LDAP client
 
 LIB_DEPENDS=	gnome-keyring:${PORTSDIR}/security/gnome-keyring
 
-USE_GCC=	3.4+
-USE_GMAKE=	yes
-USE_ICONV=	yes
-USE_GETTEXT=	yes
-USE_OPENLDAP=	yes
-USE_OPENSSL=	yes
+OPTIONS=	DND	"Enable Drag and drop support in browse mode" On \
+		CACHE	"Support the OpenLDAP experimental client cache" On
+
+USE_GNOME=	gnomehier gnometarget libglade2
 USE_XLIB=	yes
-USE_GNOME=	gnomehier gtk20 libxml2 libglade2 intltool
+USE_OPENSSL=	yes
+USE_OPENLDAP=	yes
+USE_GETTEXT=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-ldap-prefix=${LOCALBASE}
 
-OPTIONS=	JPEG	"Enable jpegPhoto attr. handling" On \
-		DND	"Enable Drag and drop support in browse mode" On \
-		CACHE	"Support the OpenLDAP experimental client cache" On
-
-CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
-	       	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
 .include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_JPEG)
-USE_GNOME+=	gdkpixbuf
-.endif
 
 .if !defined(WITHOUT_DND)
 CONFIGURE_ARGS+=	--enable-browser-dnd
diff -urN /usr/ports/net/gq/distinfo net/gq/distinfo
--- /usr/ports/net/gq/distinfo	Tue Dec  5 03:49:09 2006
+++ net/gq/distinfo	Thu Aug  2 00:34:23 2007
@@ -1,3 +1,3 @@
-MD5 (gq-1.2.1.tar.gz) = e56613c81e70727c20ffe9974cdc6df0
-SHA256 (gq-1.2.1.tar.gz) = d99956fff7cd9762fd1a264c65f70f8ce2cb966bafe951a53146539e90311113
-SIZE (gq-1.2.1.tar.gz) = 395701
+MD5 (gq-1.2.2.tar.gz) = 107d8a971c14b52b2bedbf3944840bea
+SHA256 (gq-1.2.2.tar.gz) = 4a5dc43346d2d3b0e9a791ea92cfe3b1dbb787d69dd59eb1645e77e104ff801a
+SIZE (gq-1.2.2.tar.gz) = 396277
diff -urN /usr/ports/net/gq/files/patch-icons-Makefile.in net/gq/files/patch-icons-Makefile.in
--- /usr/ports/net/gq/files/patch-icons-Makefile.in	Mon May 15 01:20:53 2006
+++ net/gq/files/patch-icons-Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- icons/Makefile.in.orig	Mon Apr 10 19:22:45 2006
-+++ icons/Makefile.in	Wed Apr 19 10:26:21 2006
-@@ -193,7 +193,7 @@
- 	warning.xpm
- 
- EXTRA_DIST = $(PIXMAPS)
--pixmapdir = $(datadir)/pixmaps/gq
-+pixmapdir = $(datadir)/gq
- pixmap_DATA = $(PIXMAPS)
- all: all-am
- 
diff -urN /usr/ports/net/gq/files/patch-src-xmlparse.c net/gq/files/patch-src-xmlparse.c
--- /usr/ports/net/gq/files/patch-src-xmlparse.c	Mon May 15 01:20:53 2006
+++ net/gq/files/patch-src-xmlparse.c	Thu Jan  1 09:00:00 1970
@@ -1,24 +0,0 @@
---- src/xmlparse.c.orig	Wed Apr  5 08:53:55 2006
-+++ src/xmlparse.c	Wed Apr 19 10:35:15 2006
-@@ -51,7 +51,7 @@
- #include "xmlparse.h"
- 
- #define malloc g_malloc
--#define calloc(n,s) g_malloc0(n * s)
-+#define calloc(n,s) g_malloc0((n) * (s))
- 
- #define TAGSTACK_INCR 20
- 
-@@ -162,10 +162,11 @@
-     e->attrs = NULL;
-     if (attrs) {
- 	for (i = 0 ; attrs[i] ; i++) ;
--	e->attrs = calloc(i, sizeof(xmlChar *));
-+	e->attrs = calloc(i+1, sizeof(xmlChar *));
- 	for (i = 0 ; attrs[i] ; i++) {
- 	    e->attrs[i] = (guchar*)strdup((gchar*)attrs[i]);
- 	}
-+	e->attrs[i] = NULL;
-     }
-     
-     /* lookup handler */
diff -urN /usr/ports/net/gq/pkg-descr net/gq/pkg-descr
--- /usr/ports/net/gq/pkg-descr	Mon Jul 10 12:46:36 2000
+++ net/gq/pkg-descr	Thu Aug  2 01:22:32 2007
@@ -9,4 +9,4 @@
   - use any number of servers
   - search based on single argument or LDAP filter
 
-WWW: http://biot.com/gq/
+WWW: http://www.gq-project.org/
diff -urN /usr/ports/net/gq/pkg-plist net/gq/pkg-plist
--- /usr/ports/net/gq/pkg-plist	Sun May 20 13:54:56 2007
+++ net/gq/pkg-plist	Thu Aug  2 01:30:24 2007
@@ -1,16 +1,16 @@
 bin/gq
 share/applications/gq.desktop
 %%DATADIR%%/gq.glade
-%%DATADIR%%/hide.xpm
-%%DATADIR%%/new.xpm
 share/mime/packages/gq-ldif.xml
-share/mime/text/x-ldif.xml
 share/pixmaps/gq/bomb.xpm
 share/pixmaps/gq/entry.png
 share/pixmaps/gq/gq.xpm
+share/pixmaps/gq/hide.xpm
+share/pixmaps/gq/new.xpm
 share/pixmaps/gq/textview.png
 share/pixmaps/gq/warning.xpm
 @dirrm share/pixmaps/gq
 @dirrm %%DATADIR%%
 @dirrmtry share/applications
+@exec %%PREFIX%%/bin/update-mime-database %%PREFIX%%/share/mime
 @unexec %%PREFIX%%/bin/update-mime-database %%PREFIX%%/share/mime
>Release-Note:
>Audit-Trail:
>Unformatted:



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