From delphij@frontfree.net  Sat May 15 01:56:56 2004
Return-Path: <delphij@frontfree.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9BC8E16A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2004 01:56:56 -0700 (PDT)
Received: from avgw.bjut.edu.cn (avgw.bjut.edu.cn [202.112.78.85])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2B7DE43D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2004 01:56:54 -0700 (PDT)
	(envelope-from delphij@frontfree.net)
Received: from beastie.frontfree.net ([218.107.145.7])
 by avgw.bjut.edu.cn (SAVSMTP 3.1.5.43) with SMTP id M2004051516564420769
 ; Sat, 15 May 2004 16:56:44 +0800
Received: from localhost (localhost [127.0.0.1])
	by beastie.frontfree.net (Postfix) with ESMTP id 4BF7C11AC1;
	Sat, 15 May 2004 16:56:25 +0800 (CST)
Received: from beastie.frontfree.net ([127.0.0.1])
 by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 00667-08; Sat, 15 May 2004 16:56:24 +0800 (CST)
Received: by beastie.frontfree.net (Postfix, from userid 1001)
	id 549DB11AAC; Sat, 15 May 2004 16:56:23 +0800 (CST)
Message-Id: <20040515085623.549DB11AAC@beastie.frontfree.net>
Date: Sat, 15 May 2004 16:56:23 +0800 (CST)
From: Xin LI <delphij@frontfree.net>
Reply-To: Xin LI <delphij@frontfree.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Dong LI <ld@FreeBSD.org.cn>
Subject: [UPDATE AND UNBREAK] ports/textproc/stardict2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66655
>Category:       ports
>Synopsis:       [UPDATE AND UNBREAK] ports/textproc/stardict2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 15 02:00:38 PDT 2004
>Closed-Date:    Sat May 15 08:23:24 PDT 2004
>Last-Modified:  Sat May 15 08:23:24 PDT 2004
>Originator:     Xin LI
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD beastie.frontfree.net 5.2-CURRENT FreeBSD 5.2-CURRENT #33: Mon Apr 26 15:10:21 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386

>Description:
	- Update the port to 2.4.3
	- Add a workaround to GNOME 2.6.x interface deprecation, which unbreaks the port.
	- Pet portlint
	- Get maintainership (discussed with maintainer several weeks ago)
>How-To-Repeat:
>Fix:

	Apply the attached patch:

--- patch-stardict2 begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	19 Apr 2004 04:45:39 -0000	1.13
+++ Makefile	15 May 2004 08:51:04 -0000
@@ -6,18 +6,15 @@
 #
 
 PORTNAME=	stardict
-PORTVERSION=	2.4.2
-PORTREVISION=	1
+PORTVERSION=	2.4.3
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTFILES=	stardict-${PORTVERSION}.tar.bz2
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	stardict
 
-MAINTAINER=	ld@FreeBSD.org.cn
+MAINTAINER=	delphij@FreeBSD.org.cn
 COMMENT=	A cross-platform and international dictionary written in Gtk2
-
-BROKEN=		"Does not compile"
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	29 Feb 2004 11:49:22 -0000	1.6
+++ distinfo	15 May 2004 08:51:04 -0000
@@ -1,2 +1,2 @@
-MD5 (stardict/stardict-2.4.2.tar.bz2) = ed4b56fe446564dd377b577287048c6a
-SIZE (stardict/stardict-2.4.2.tar.bz2) = 702901
+MD5 (stardict/stardict-2.4.3.tar.bz2) = a578782c9df8e985a32069d19bae0960
+SIZE (stardict/stardict-2.4.3.tar.bz2) = 773769
Index: files/patch-am
===================================================================
RCS file: files/patch-am
diff -N files/patch-am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-am	15 May 2004 08:51:04 -0000
@@ -0,0 +1,32 @@
+--- src/Makefile.am.orig	Sat May 15 16:24:42 2004
++++ src/Makefile.am	Sat May 15 16:25:29 2004
+@@ -8,12 +8,7 @@
+ 	-DDATADIR=\""$(datadir)"\"				\
+ 	-DGNOME_ICONDIR=\""$(datadir)/pixmaps"\"		\
+ 	-DSTARDICT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"		\
+-	-DSTARDICT_DATA_DIR=\""$(datadir)/stardict"\"		\
+-	-DG_DISABLE_DEPRECATED					\
+-	-DGDK_DISABLE_DEPRECATED				\
+-	-DGTK_DISABLE_DEPRECATED				\
+-	-DGDK_PIXBUF_DISABLE_DEPRECATED				\
+-	-DGNOME_DISABLE_DEPRECATED
++	-DSTARDICT_DATA_DIR=\""$(datadir)/stardict"\"
+ 
+ 
+ stardict_LDFLAGS = 
+--- src/Makefile.in.orig	Sat May 15 16:24:26 2004
++++ src/Makefile.in	Sat May 15 16:25:14 2004
+@@ -193,12 +193,7 @@
+ 	-DDATADIR=\""$(datadir)"\"				\
+ 	-DGNOME_ICONDIR=\""$(datadir)/pixmaps"\"		\
+ 	-DSTARDICT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"		\
+-	-DSTARDICT_DATA_DIR=\""$(datadir)/stardict"\"		\
+-	-DG_DISABLE_DEPRECATED					\
+-	-DGDK_DISABLE_DEPRECATED				\
+-	-DGTK_DISABLE_DEPRECATED				\
+-	-DGDK_PIXBUF_DISABLE_DEPRECATED				\
+-	-DGNOME_DISABLE_DEPRECATED
++	-DSTARDICT_DATA_DIR=\""$(datadir)/stardict"\"
+ 
+ 
+ stardict_LDFLAGS = 
--- patch-stardict2 ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Sat May 15 08:22:39 PDT 2004 
State-Changed-Why:  

Committed, thanks! 
(Note: with a single patch) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=66655 
>Unformatted:
