From e82ada68b3a2108118c33828283a85b61f301cce Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 8 Nov 2007 19:52:36 +0000 Subject: Initial revision --- stardict/build/doinst.sh | 5 +++++ stardict/build/slack-required | 2 ++ stardict/build/stardict_desktop.patch | 19 +++++++++++++++++++ stardict/build/stardict_gtklabel.patch | 20 ++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 stardict/build/doinst.sh create mode 100644 stardict/build/slack-required create mode 100644 stardict/build/stardict_desktop.patch create mode 100644 stardict/build/stardict_gtklabel.patch (limited to 'stardict/build') diff --git a/stardict/build/doinst.sh b/stardict/build/doinst.sh new file mode 100644 index 00000000..8aeabc32 --- /dev/null +++ b/stardict/build/doinst.sh @@ -0,0 +1,5 @@ +# Update the desktop database: +if [ -x usr/bin/update-desktop-database ]; then + chroot . /usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 +fi + diff --git a/stardict/build/slack-required b/stardict/build/slack-required new file mode 100644 index 00000000..9b41fcb1 --- /dev/null +++ b/stardict/build/slack-required @@ -0,0 +1,2 @@ +enchant + diff --git a/stardict/build/stardict_desktop.patch b/stardict/build/stardict_desktop.patch new file mode 100644 index 00000000..ac626cfa --- /dev/null +++ b/stardict/build/stardict_desktop.patch @@ -0,0 +1,19 @@ +--- stardict.desktop.in.org 2007-07-10 09:16:05.000000000 +0200 ++++ stardict.desktop.in 2007-11-08 20:36:09.000000000 +0100 +@@ -1,11 +1,12 @@ + [Desktop Entry] + Encoding=UTF-8 +-_Name=StarDict +-_Comment=Lookup words ++Name=StarDict ++GenericName=StarDict ++Comment=Lookup words + Exec=stardict + Terminal=false + Type=Application +-Icon=stardict.png ++Icon=/usr/share/pixmaps/stardict.png + StartupNotify=true +-Categories=Utility;Dictionary; ++Categories=Office;Dictionary; + X-GNOME-DocPath=stardict/stardict.xml diff --git a/stardict/build/stardict_gtklabel.patch b/stardict/build/stardict_gtklabel.patch new file mode 100644 index 00000000..afe2cfe2 --- /dev/null +++ b/stardict/build/stardict_gtklabel.patch @@ -0,0 +1,20 @@ +diff -uarN stardict-3.0.0.orig/src/prefsdlg.cpp stardict-3.0.0/src/prefsdlg.cpp +--- stardict-3.0.0.orig/src/prefsdlg.cpp 2007-08-10 08:08:45.000000000 +0200 ++++ stardict-3.0.0/src/prefsdlg.cpp 2007-11-08 17:51:21.000000000 +0100 +@@ -727,6 +727,7 @@ + gtk_box_pack_start(GTK_BOX(vbox),vbox1,false,false, 0); + + GtkWidget *check_button; ++ GtkWidget *label; + check_button = gtk_check_button_new_with_mnemonic(_("_Enable sound event.")); + bool enable= + conf->get_bool_at("dictionary/enable_sound_event"); +@@ -748,7 +749,7 @@ + gtk_box_pack_start(GTK_BOX(vbox1), hbox2, FALSE, FALSE, 0); + #endif + +- GtkWidget *label = gtk_label_new(_("RealPeopleTTS search path:")); ++ label = gtk_label_new(_("RealPeopleTTS search path:")); + gtk_misc_set_alignment(GTK_MISC(label), 0, .5); + gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0); + tts_textview = gtk_text_view_new(); -- cgit v1.2.3-65-gdbad