summaryrefslogtreecommitdiffstats
path: root/stardict/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-11-08 19:52:36 +0000
committer Eric Hameleers <alien@slackware.com>2007-11-08 19:52:36 +0000
commite82ada68b3a2108118c33828283a85b61f301cce (patch)
tree9e1204c25a2f3942f673491d1b01afbba684110b /stardict/build
parentb2d2106943b775ddeed108b69971db6304e59c35 (diff)
downloadasb-e82ada68b3a2108118c33828283a85b61f301cce.tar.gz
asb-e82ada68b3a2108118c33828283a85b61f301cce.tar.xz
Initial revision
Diffstat (limited to 'stardict/build')
-rw-r--r--stardict/build/doinst.sh5
-rw-r--r--stardict/build/slack-required2
-rw-r--r--stardict/build/stardict_desktop.patch19
-rw-r--r--stardict/build/stardict_gtklabel.patch20
4 files changed, 46 insertions, 0 deletions
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();