Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 17:14:26 +0800 (CST)
From:      Xin LI <delphij@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84541: [MAINTAINER UPDATE] Update textproc/stardict2 to 2.4.5
Message-ID:  <200508040914.j749EQji037382@tarsier.delphij.net>
Resent-Message-ID: <200508040920.j749KJgC056852@freefall.freebsd.org>

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

>Number:         84541
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Update textproc/stardict2 to 2.4.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 04 09:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD tarsier.delphij.net 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #8: Fri Jul 29 12:25:52 CST 2005 delphij@tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386


>Description:
	The attached patchset updates the stardict2 port to the latest.

>How-To-Repeat:
>Fix:


--- patch-stardict begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	12 Mar 2005 10:53:25 -0000	1.21
+++ Makefile	4 Aug 2005 08:39:34 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	stardict
-PORTVERSION=	2.4.4
-PORTREVISION=	1
+PORTVERSION=	2.4.5
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	20 Jan 2005 19:20:46 -0000	1.8
+++ distinfo	4 Aug 2005 08:40:36 -0000
@@ -1,2 +1,2 @@
-MD5 (stardict/stardict-2.4.4.tar.bz2) = e1c2df19fc854f81bdec4b3409eb95e1
-SIZE (stardict/stardict-2.4.4.tar.bz2) = 1051468
+MD5 (stardict/stardict-2.4.5.tar.bz2) = 78543ca107bf7a70a96ba41313de8883
+SIZE (stardict/stardict-2.4.5.tar.bz2) = 1021685
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/pkg-plist,v
retrieving revision 1.8
diff -u -r1.8 pkg-plist
--- pkg-plist	20 Jan 2005 19:20:46 -0000	1.8
+++ pkg-plist	4 Aug 2005 09:09:42 -0000
@@ -11,6 +11,11 @@
 share/gnome/help/stardict/mk/figures/stardict_notification_area.png
 share/gnome/help/stardict/mk/legal.xml
 share/gnome/help/stardict/mk/stardict.xml
+share/gnome/help/stardict/nl/figures/stardict_float_window.png
+share/gnome/help/stardict/nl/figures/stardict_main_window.png
+share/gnome/help/stardict/nl/figures/stardict_notification_area.png
+share/gnome/help/stardict/nl/legal.xml
+share/gnome/help/stardict/nl/stardict.xml
 share/gnome/help/stardict/ru/figures/stardict_float_window.png
 share/gnome/help/stardict/ru/figures/stardict_main_window.png
 share/gnome/help/stardict/ru/figures/stardict_notification_area.png
@@ -34,6 +39,7 @@
 share/gnome/idl/GNOME_Stardict.idl
 share/gnome/omf/stardict/stardict-C.omf
 share/gnome/omf/stardict/stardict-mk.omf
+share/gnome/omf/stardict/stardict-nl.omf
 share/gnome/omf/stardict/stardict-ru.omf
 share/gnome/omf/stardict/stardict-uk.omf
 share/gnome/omf/stardict/stardict-zh_CN.omf
@@ -51,6 +57,7 @@
 share/locale/de/LC_MESSAGES/stardict.mo
 share/locale/hu/LC_MESSAGES/stardict.mo
 share/locale/mk/LC_MESSAGES/stardict.mo
+share/locale/nl/LC_MESSAGES/stardict.mo
 share/locale/ru/LC_MESSAGES/stardict.mo
 share/locale/sk/LC_MESSAGES/stardict.mo
 share/locale/uk/LC_MESSAGES/stardict.mo
@@ -69,6 +76,8 @@
 @dirrm share/gnome/help/stardict/uk
 @dirrm share/gnome/help/stardict/ru/figures
 @dirrm share/gnome/help/stardict/ru
+@dirrm share/gnome/help/stardict/nl/figures
+@dirrm share/gnome/help/stardict/nl
 @dirrm share/gnome/help/stardict/mk/figures
 @dirrm share/gnome/help/stardict/mk
 @dirrm share/gnome/help/stardict/C/figures
Index: files/patch-src::readword.cpp
===================================================================
RCS file: /home/ncvs/ports/textproc/stardict2/files/patch-src::readword.cpp,v
retrieving revision 1.1
diff -u -r1.1 patch-src::readword.cpp
--- files/patch-src::readword.cpp	11 Dec 2004 04:21:02 -0000	1.1
+++ files/patch-src::readword.cpp	4 Aug 2005 08:42:43 -0000
@@ -1,29 +1,29 @@
---- src/readword.cpp.orig	Sat Nov 27 22:35:44 2004
-+++ src/readword.cpp	Sat Nov 27 22:36:00 2004
-@@ -18,7 +18,7 @@
- 	have_data_file = g_file_test(filename, G_FILE_TEST_EXISTS);
- 	g_free(filename);
+--- src/readword.cpp.orig	Mon Jul 18 21:06:15 2005
++++ src/readword.cpp	Thu Aug  4 16:42:21 2005
+@@ -17,7 +17,7 @@
+ 	  g_file_test((gStarDictDataDir+G_DIR_SEPARATOR+"WyabdcRealPeopleTTS").c_str(), 
+ 		      G_FILE_TEST_EXISTS);
  #else
 -	have_data_file = g_file_test("/usr/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
 +	have_data_file = g_file_test("/usr/local/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
  #endif
  }
  
-@@ -34,7 +34,7 @@
- #ifdef _WIN32
- 		gchar *filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
+@@ -35,7 +35,7 @@
+     filename = gStarDictDataDir+"/WyabdcRealPeopleTTS/"+
+       lowerword[0]+"/"+lowerword+".wav";
  #else
--		gchar *filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
-+		gchar *filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
+-    filename = std::string("/usr/share/WyabdcRealPeopleTTS/")+lowerword[0]+"/"+
++    filename = std::string("/usr/local/share/WyabdcRealPeopleTTS/")+lowerword[0]+"/"+
+       lowerword+".wav";
  #endif
- 		return_val = g_file_test(filename, G_FILE_TEST_EXISTS);
- 		g_free(filename);
-@@ -56,7 +56,7 @@
- 		filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
- 		PlaySound(filename, 0, SND_ASYNC | SND_FILENAME);
+     return_val = g_file_test(filename.c_str(), G_FILE_TEST_EXISTS);
+@@ -58,7 +58,7 @@
+     filename = gStarDictDataDir+"/WyabdcRealPeopleTTS/"+
+       lowerword[0]+"/"+lowerword+".wav";
  #else
--		filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
-+		filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
- 		gnome_sound_play(filename);
+-    filename = std::string("/usr/share/WyabdcRealPeopleTTS/")+
++    filename = std::string("/usr/local/share/WyabdcRealPeopleTTS/")+
+       lowerword[0]+"/"+lowerword+".wav";
  #endif
- 		g_free(filename);
+     play_wav_file(filename.c_str());
--- patch-stardict ends here ---


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



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