diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-25 11:37:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-25 11:37:29 +0800 |
commit | e934b106497f17545e236bb9644bed935cd118ad (patch) | |
tree | 29839e0cbcfadbf35eac8fc26b9ad2afe1301370 /chinese/srecite | |
parent | 14c9f603eb5d9868d374e46ac865925da109a838 (diff) | |
download | marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.gz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.bz2 marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.lz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.xz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.zst marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.zip |
Remove these now that they have been committed to the FreeBSD ports tree.
Next stop GNOME 2.21.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9875 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'chinese/srecite')
-rw-r--r-- | chinese/srecite/Makefile | 34 | ||||
-rw-r--r-- | chinese/srecite/distinfo | 6 | ||||
-rw-r--r-- | chinese/srecite/files/patch-minidict.c | 58 | ||||
-rw-r--r-- | chinese/srecite/files/patch-readword.c | 58 | ||||
-rw-r--r-- | chinese/srecite/files/patch-sentencewin.c | 12 | ||||
-rw-r--r-- | chinese/srecite/files/patch-testgame.c | 48 | ||||
-rw-r--r-- | chinese/srecite/files/patch-wordfile.c | 37 | ||||
-rw-r--r-- | chinese/srecite/files/srecite.desktop | 12 | ||||
-rw-r--r-- | chinese/srecite/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/srecite/pkg-plist | 125 |
10 files changed, 0 insertions, 397 deletions
diff --git a/chinese/srecite/Makefile b/chinese/srecite/Makefile deleted file mode 100644 index 6631dafe8..000000000 --- a/chinese/srecite/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Ports collection makefile for: srecite -# Date created: 28 Oct 2004 -# Whom: hamigua <hamigua@cuc.cn> -# -# $FreeBSD$ -# - -PORTNAME= srecite -PORTVERSION= 0.6.2 -PORTREVISION= 5 -CATEGORIES= chinese textproc -MASTER_SITES= SF -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - wordbooks-utf8.tar.gz -EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - wordbooks-utf8.tar.gz - -MAINTAINER= relaxbsd@gmail.com -COMMENT= A tool for the Chinese people to study foreign language - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" -USE_GMAKE= yes -USE_X_PREFIX= yes -USE_GNOME= gnomehack gnomeprefix libgnomeui - -WORDBOOKS_PATH= ${PREFIX}/share/${PORTNAME}/wordbooks - -post-install: - cd ${WRKDIR}/wordbooks && ${INSTALL_DATA} * ${WORDBOOKS_PATH} - ${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${PREFIX}/share/applications - -.include <bsd.port.mk> diff --git a/chinese/srecite/distinfo b/chinese/srecite/distinfo deleted file mode 100644 index 9770172ea..000000000 --- a/chinese/srecite/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (srecite-0.6.2.tar.gz) = 5b6a67b6bced25994f67f526be632991 -SHA256 (srecite-0.6.2.tar.gz) = ac1a94b1d2fb08173f5bcf22a3a62940818328f113eee5e1ce1151ceac6832dd -SIZE (srecite-0.6.2.tar.gz) = 424119 -MD5 (wordbooks-utf8.tar.gz) = 16b153d6cefc6fc6f2161ea2513d5184 -SHA256 (wordbooks-utf8.tar.gz) = 0da54659739a5a5deb1a328154a5e7f6e623708e66784d3cf340612cf84afb2a -SIZE (wordbooks-utf8.tar.gz) = 1562506 diff --git a/chinese/srecite/files/patch-minidict.c b/chinese/srecite/files/patch-minidict.c deleted file mode 100644 index d96b7e9b0..000000000 --- a/chinese/srecite/files/patch-minidict.c +++ /dev/null @@ -1,58 +0,0 @@ ---- src/minidict.c~ Sun Nov 21 20:58:43 2004 -+++ src/minidict.c Sun Nov 21 21:00:12 2004 -@@ -195,12 +195,12 @@ - int do_CH_search(gchar word[256],int begin,int end) - { - -- g_print("CH search \n"); - int i ; - int flag=0; - - //init 0 - CH_line_index = 0; -+ g_print("CH search \n"); - - for(i=begin;i<=end;i++) - { -@@ -228,12 +228,12 @@ - //search EN successfully,show result - void dict_show_EN_success() - { -- g_print("search successfully !\n"); - gchar result_str[256]; - gchar ps1_str[256]; - gchar ps2_str[256]; - gchar ps3_str[256]; - -+ g_print("search successfully !\n"); - strcpy(result_str,""); - strcpy(ps1_str,""); - strcpy(ps2_str,""); -@@ -260,13 +260,13 @@ - //search CH successfully,show result - void dict_show_CH_success() - { -- g_print("search successfully !\n"); - int i; - struct line_st myline; - - gchar result_str[256]; - gchar ps1_str[256]; - -+ g_print("search successfully !\n"); - strcpy(result_str,""); - strcpy(ps1_str,""); - -@@ -315,11 +315,10 @@ - //search dict - static void dict_search() - { -- g_print("dict search!!\n"); - gchar word[256]; - int flag; - -- -+ g_print("dict search!!\n"); - strcpy(word,gtk_entry_get_text(GTK_ENTRY(input_entry))); - - if( (word[0] & 0x80) == 0x80 ) diff --git a/chinese/srecite/files/patch-readword.c b/chinese/srecite/files/patch-readword.c deleted file mode 100644 index 0d1467af7..000000000 --- a/chinese/srecite/files/patch-readword.c +++ /dev/null @@ -1,58 +0,0 @@ ---- src/readword.c~ Sun Nov 21 20:55:42 2004 -+++ src/readword.c Sun Nov 21 20:58:22 2004 -@@ -26,13 +26,14 @@ - - gboolean return_val = 0; - -- int n,i; -+ int n=0,i; - - - if(have_data_file && word && g_ascii_isalpha(word[0])) - { -- n=strlen(word); - gchar *lowerword = (gchar *)g_malloc(n+1); -+ gchar *filename; -+ n=strlen(word); - - for (i=0;i < n;i++) - { -@@ -40,7 +41,7 @@ - } - lowerword[n] = '\0'; - -- gchar *filename = g_strdup_printf( -+ filename = g_strdup_printf( - RP_TTS_DIR"%c/%s.wav", - lowerword[0],lowerword); - -@@ -61,9 +62,11 @@ - int n,i; - if (word && g_ascii_isalpha(word[0])) - { -- n=strlen(word); - - gchar *lowerword = (gchar *)g_malloc(n+1); -+ gchar *filename; -+ int fd; -+ n=strlen(word); - - for (i=0;i < n;i++) - { -@@ -72,15 +75,12 @@ - - lowerword[n] = '\0'; - -- -- gchar *filename; -- - filename = g_strdup_printf( - RP_TTS_DIR"%c/%s.wav", - lowerword[0],lowerword); - - //gnome_sound_play(filename); -- int fd = esd_open_sound(NULL); -+ fd = esd_open_sound(NULL); - if (fd >= 0) - { - esd_play_file(NULL,filename, 0); diff --git a/chinese/srecite/files/patch-sentencewin.c b/chinese/srecite/files/patch-sentencewin.c deleted file mode 100644 index 9a6f4b3ed..000000000 --- a/chinese/srecite/files/patch-sentencewin.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/sentencewin.c~ Sun Nov 21 20:55:21 2004 -+++ src/sentencewin.c Sun Nov 21 20:55:28 2004 -@@ -114,8 +114,8 @@ - //sentence read aloudly - static void sentence_read() - { -- g_print("sentence read!!\n"); - gchar word[256]; -+ g_print("sentence read!!\n"); - - strcpy(word,gtk_entry_get_text(GTK_ENTRY(input_entry))); - diff --git a/chinese/srecite/files/patch-testgame.c b/chinese/srecite/files/patch-testgame.c deleted file mode 100644 index 84e0e3eab..000000000 --- a/chinese/srecite/files/patch-testgame.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/testgame.c~ Sun Nov 21 21:00:23 2004 -+++ src/testgame.c Sun Nov 21 21:01:21 2004 -@@ -42,14 +42,12 @@ - { - GtkWidget *vbox,*hbox,*h_line; - GtkWidget *text_label,*xpm_label; -+ gchar temp[10]; - - // init - r_num=0;w_num=0;t_num=0; - counter = S_conf.test_counter; - -- gchar temp[10]; -- -- - /* test window */ - test_win = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(test_win),"Test Game"); -@@ -262,7 +260,6 @@ - //test start - static void test_start() - { -- g_print("start button clicked!\n"); - - // clean up - //gtk_entry_set_text(GTK_ENTRY(input_entry),""); -@@ -271,6 +268,7 @@ - //gchar temp[10]; - gchar prompt_str[256]; - -+ g_print("start button clicked!\n"); - randnum = rand() % word_count;// 0< random num < word_count - S_state.word_index = randnum; - -@@ -391,12 +389,12 @@ - //test counter over,show result - static void test_over() - { -- g_print("counter over!\n"); - - gchar str[256]; - gchar temp[256]; - float percent; - -+ g_print("counter over!\n"); - if(t_num == 0) - percent = 0.0000; - else diff --git a/chinese/srecite/files/patch-wordfile.c b/chinese/srecite/files/patch-wordfile.c deleted file mode 100644 index 32e250610..000000000 --- a/chinese/srecite/files/patch-wordfile.c +++ /dev/null @@ -1,37 +0,0 @@ ---- src/wordfile.c~ Sun Nov 21 21:01:43 2004 -+++ src/wordfile.c Sun Nov 21 21:02:37 2004 -@@ -44,12 +44,11 @@ - //read wordfile to wordbook[][],10000 words limition - void init_wordbook() - { -+ gchar * strtemp;//temp string -+ gchar str[256];//temp string - word_count = 0; - S_state.word_index = 0; - -- gchar * strtemp;//temp string -- gchar str[256];//temp string -- - g_print("init wordbook!\n"); - - //open word file -@@ -91,16 +90,14 @@ - //get S_line from wordfile - void read_line() - { -+ gchar line[256],EN_word[256],TK_word[256],CH_word[256],*p; -+ gint n;// count for line -+ - if(S_state.word_index <= 0 ) - gtk_widget_set_sensitive(back_button,0); - else - gtk_widget_set_sensitive(back_button,1); - -- -- gchar line[256],EN_word[256],TK_word[256],CH_word[256],*p; -- -- gint n;// count for line -- - // '#' is special char defined by me,to show TK_word is end - TK_word[0]='#'; - diff --git a/chinese/srecite/files/srecite.desktop b/chinese/srecite/files/srecite.desktop deleted file mode 100644 index 6803c6453..000000000 --- a/chinese/srecite/files/srecite.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=SRecite -Name[zh_CN]=SRecite -Comment=SRecite -Comment[zh_CN]=SRecite -Exec=srecite -Terminal=0 -Type=Application -Icon=srecite.png -StartupNotify=true -Categories=GNOME;Application;Utility; diff --git a/chinese/srecite/pkg-descr b/chinese/srecite/pkg-descr deleted file mode 100644 index f9b1cc9b7..000000000 --- a/chinese/srecite/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -SRecite is a special and smart Tool for the Chinese people to study -foreign language, especially English.A little window displays on -top.You can recite words and increase your vocabulary at any moment. - -WWW: http://sourceforge.net/projects/srecite/ - http://mail.ustc.edu.cn/~lufang/SRecite/ - http://srecite.sourceforge.net diff --git a/chinese/srecite/pkg-plist b/chinese/srecite/pkg-plist deleted file mode 100644 index 922fd8106..000000000 --- a/chinese/srecite/pkg-plist +++ /dev/null @@ -1,125 +0,0 @@ -bin/srecite -share/applications/srecite.desktop -share/srecite/srecite.rc -share/srecite/icon/STAR_TRANSP.png -share/srecite/icon/about.png -share/srecite/icon/attach.png -share/srecite/icon/back.png -share/srecite/icon/check.png -share/srecite/icon/configure.png -share/srecite/icon/dict.png -share/srecite/icon/dot.png -share/srecite/icon/edit.png -share/srecite/icon/edit_add.png -share/srecite/icon/exit.png -share/srecite/icon/exits.png -share/srecite/icon/goto.png -share/srecite/icon/hide.png -share/srecite/icon/line.png -share/srecite/icon/load.png -share/srecite/icon/next.png -share/srecite/icon/open.png -share/srecite/icon/over.png -share/srecite/icon/pencil.png -share/srecite/icon/play.png -share/srecite/icon/random.png -share/srecite/icon/read.png -share/srecite/icon/reset.png -share/srecite/icon/right.png -share/srecite/icon/save.png -share/srecite/icon/search.png -share/srecite/icon/sound.png -share/srecite/icon/srecites.png -share/srecite/icon/stop.png -share/srecite/icon/style.png -share/srecite/icon/test.png -share/srecite/icon/wrong.png -share/srecite/wordbooks/0.wrd -share/srecite/wordbooks/1.wrd -share/srecite/wordbooks/10.wrd -share/srecite/wordbooks/11.wrd -share/srecite/wordbooks/12.wrd -share/srecite/wordbooks/13.wrd -share/srecite/wordbooks/14.wrd -share/srecite/wordbooks/15.wrd -share/srecite/wordbooks/16.wrd -share/srecite/wordbooks/17.wrd -share/srecite/wordbooks/18.wrd -share/srecite/wordbooks/19.wrd -share/srecite/wordbooks/2.wrd -share/srecite/wordbooks/20.wrd -share/srecite/wordbooks/21.wrd -share/srecite/wordbooks/22.wrd -share/srecite/wordbooks/23.wrd -share/srecite/wordbooks/24.wrd -share/srecite/wordbooks/25.wrd -share/srecite/wordbooks/26.wrd -share/srecite/wordbooks/27.wrd -share/srecite/wordbooks/28.wrd -share/srecite/wordbooks/29.wrd -share/srecite/wordbooks/3.wrd -share/srecite/wordbooks/30.wrd -share/srecite/wordbooks/31.wrd -share/srecite/wordbooks/32.wrd -share/srecite/wordbooks/33.wrd -share/srecite/wordbooks/34.wrd -share/srecite/wordbooks/35.wrd -share/srecite/wordbooks/36.wrd -share/srecite/wordbooks/37.wrd -share/srecite/wordbooks/38.wrd -share/srecite/wordbooks/39.wrd -share/srecite/wordbooks/4.wrd -share/srecite/wordbooks/40.wrd -share/srecite/wordbooks/41.wrd -share/srecite/wordbooks/42.wrd -share/srecite/wordbooks/43.wrd -share/srecite/wordbooks/44.wrd -share/srecite/wordbooks/45.wrd -share/srecite/wordbooks/46.wrd -share/srecite/wordbooks/47.wrd -share/srecite/wordbooks/48.wrd -share/srecite/wordbooks/49.wrd -share/srecite/wordbooks/5.wrd -share/srecite/wordbooks/50.wrd -share/srecite/wordbooks/51.wrd -share/srecite/wordbooks/52.wrd -share/srecite/wordbooks/53.wrd -share/srecite/wordbooks/54.wrd -share/srecite/wordbooks/55.wrd -share/srecite/wordbooks/56.wrd -share/srecite/wordbooks/57.wrd -share/srecite/wordbooks/58.wrd -share/srecite/wordbooks/59.wrd -share/srecite/wordbooks/6.wrd -share/srecite/wordbooks/60.wrd -share/srecite/wordbooks/61.wrd -share/srecite/wordbooks/62.wrd -share/srecite/wordbooks/63.wrd -share/srecite/wordbooks/64.wrd -share/srecite/wordbooks/65.wrd -share/srecite/wordbooks/66.wrd -share/srecite/wordbooks/67.wrd -share/srecite/wordbooks/68.wrd -share/srecite/wordbooks/69.wrd -share/srecite/wordbooks/7.wrd -share/srecite/wordbooks/70.wrd -share/srecite/wordbooks/71.wrd -share/srecite/wordbooks/72.wrd -share/srecite/wordbooks/73.wrd -share/srecite/wordbooks/74.wrd -share/srecite/wordbooks/75.wrd -share/srecite/wordbooks/76.wrd -share/srecite/wordbooks/77.wrd -share/srecite/wordbooks/78.wrd -share/srecite/wordbooks/8.wrd -share/srecite/wordbooks/9.wrd -share/srecite/wordbooks/README -share/srecite/wordbooks/com -share/srecite/wordbooks/index.txt -share/srecite/wordbooks/readme-book.txt -share/srecite/wordbooks/tf.wrd -share/icons/srecite.png -@dirrm share/srecite/icon -@dirrm share/srecite/wordbooks -@dirrm share/srecite -@dirrmtry share/applications |