diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-09-12 06:56:26 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-09-12 06:56:26 +0000 |
commit | ce0e302ccdebf77ff6a44804d5d6900ad624b764 (patch) | |
tree | 936c96601ee00aeb77d9f38c75bc5bbf61b48da0 /app-text/stardict | |
parent | Add missing "sd2foldoc" to plugins handling in src_install() from "diff -u st... (diff) | |
download | historical-ce0e302ccdebf77ff6a44804d5d6900ad624b764.tar.gz historical-ce0e302ccdebf77ff6a44804d5d6900ad624b764.tar.bz2 historical-ce0e302ccdebf77ff6a44804d5d6900ad624b764.zip |
old
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'app-text/stardict')
-rw-r--r-- | app-text/stardict/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/stardict/Manifest | 24 | ||||
-rw-r--r-- | app-text/stardict/files/stardict-3.0.3-compositelookup_cpp.patch | 19 | ||||
-rw-r--r-- | app-text/stardict/files/stardict-3.0.3-correct-glib-include.patch | 13 | ||||
-rw-r--r-- | app-text/stardict/files/stardict-3.0.3-entry.patch | 20 | ||||
-rw-r--r-- | app-text/stardict/files/stardict-3.0.3-gcc46.patch | 13 | ||||
-rw-r--r-- | app-text/stardict/files/stardict-3.0.3-overflow.patch | 26 | ||||
-rw-r--r-- | app-text/stardict/stardict-3.0.3-r2.ebuild | 135 | ||||
-rw-r--r-- | app-text/stardict/stardict-3.0.4-r1.ebuild | 129 |
9 files changed, 17 insertions, 372 deletions
diff --git a/app-text/stardict/ChangeLog b/app-text/stardict/ChangeLog index 4830920735ca..7d8f614589b4 100644 --- a/app-text/stardict/ChangeLog +++ b/app-text/stardict/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-text/stardict # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.43 2014/09/12 06:48:35 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.44 2014/09/12 06:56:20 ssuominen Exp $ + + 12 Sep 2014; Samuli Suominen <ssuominen@gentoo.org> + -files/stardict-3.0.3-compositelookup_cpp.patch, + -files/stardict-3.0.3-correct-glib-include.patch, + -files/stardict-3.0.3-entry.patch, -files/stardict-3.0.3-gcc46.patch, + -files/stardict-3.0.3-overflow.patch, -stardict-3.0.3-r2.ebuild, + -stardict-3.0.4-r1.ebuild: + old 12 Sep 2014; Samuli Suominen <ssuominen@gentoo.org> stardict-3.0.5.ebuild: Add missing "sd2foldoc" to plugins handling in src_install() from "diff -u diff --git a/app-text/stardict/Manifest b/app-text/stardict/Manifest index 57ddc4022995..aa0454f6a816 100644 --- a/app-text/stardict/Manifest +++ b/app-text/stardict/Manifest @@ -1,31 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX stardict-3.0.3-compositelookup_cpp.patch 863 SHA256 7b1ef6e9730d7c5eb9b9ca530a4632e83e2c196be50f6d58c102c92712594b38 SHA512 83349757be18182bfc110c3219b3e0dc5419d824ca610dad70b9e306e02d0f98a2fa1e6782b44af19c1f7cd3b6a5d7d7e4293f7cf104d3895a9cc62cb34a7fc2 WHIRLPOOL 900392a898e4c959ad526e7cf23d2ee5293f2be608981b0161ad9dd6c325f0adf4aed3c0575d49e69801e4efd0caf0008677e6e2a60f8a2c30a3a0f84db0ade3 -AUX stardict-3.0.3-correct-glib-include.patch 243 SHA256 42b88cd040b53d0e9084829472b03502616d2b3f794c1190272391a6b072d9f3 SHA512 bc11ecfd6e435fd61dbd7e0bc62b3ed0b0439a716b4fa2be69b659e89124727932281b105ca47840039de16ae56a46b291190612f9988bf9fde79c8ce8ba0c62 WHIRLPOOL 70754c98ee772f1a4d23a66650a276292aa1be41352094c82c1303dc312fcb66d573f4c329ebede55296062f7f53135fe2fa03ed36312196c715e78effbf5cb4 -AUX stardict-3.0.3-entry.patch 741 SHA256 af4d049ee98b2eef865372dbda604fb8f896a09470d55088d61dd66f478d2fd6 SHA512 5fe5ee622906bb39513c3f7150e3cc394537d6005ec7cb4ffd269acbcb578982cadedd61aae440b2ad61744becacd2802a577c5b79c2252f9319a8e00cb77219 WHIRLPOOL 2f2639305d270142e1fad98af5f301213cc4bdb20376584524c4974552e719a6891516e1fdc67f2982ff34498b33edda25a1cf8eb76d2a6d7dad824dd926151d -AUX stardict-3.0.3-gcc46.patch 279 SHA256 fd1a102cc87b4c5cdb0256d75584ff012fa7c731a523bb2d8225bc8d3c2a26f3 SHA512 9c49c2e578156e5341faa3e182881eeed204a3a12121e56c074bb9a8b7301319975a76a762678c0a5e85316c127556bce1052f0b6a3729347b079aa5513ebfc3 WHIRLPOOL a1bf78cc8258dda4c70c812e36b64db103801943a40ddbd84e8c6b7d0cb181dab0d09e910b88fde808d511ff2831155c0a40d48b2830df362cdda3b04687f4f1 -AUX stardict-3.0.3-overflow.patch 942 SHA256 8d5a4831fa47f2a8862d36bc10bcca92356cb7f12e24e66351db2117f9f29f4b SHA512 ab058a9120e0b0cee5c823f46df07bd1b6a830594bca86238050580fe758ba7271c593cc7e6047ca7bb36a92b119605dbc7f7a9015830e50f935b34affb1dc1b WHIRLPOOL efbce05cf95f95fc77ea94904080462123fba6f79108c243b05044d166ea27dad84c8932e7f8f2600cbeb50ee66ec2fd67c0571f4af22f791659785d8547c373 AUX stardict-3.0.3-zlib-1.2.5.2.patch 1175 SHA256 4cf70114cbdb2f149890af4fc353e871fee34f3ef0a6529636efc7b1a3db82ad SHA512 80a984f25ebc44b8875a1ec618169c74227ca5188c35ab88ef7235de67ef485ea977623ce68f1678b148c7f3c508714cb2cc37c16fdc85a943529744807e7cfd WHIRLPOOL 2febc74342139e14900eb46157c4d6501e574a76bff4262b82ce60e98aeb096cb6ae80398720b29b8605612b746a6d6eba47e862d0c967f066d6dde4ec0a588a DIST QQWry.Dat.bz2 4114875 SHA256 3eda90ee8ea13ec88767336b078d2dfe2c971d6a31df60f409d526e3e29a4f83 SHA512 46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae WHIRLPOOL 456bab65658a8af76160f162fc66868c8a74653a88a1a115e2a20dd90ba9ae8a93b1aa1ee9856cc811d1b1229ca910868ea5db764a119ae9b31cbabf962cab5f DIST WyabdcRealPeopleTTS.tar.bz2 84329208 SHA256 96a398eaef3e84f6f23e61683e6439913a4d44055e695dd4a1936f9340d64870 SHA512 1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0 WHIRLPOOL 210c121c25c7726cee62c2f2beb3186f0799d68c5537442eda967694f176cbbbc6d09a8c3759de093226e283ae651348ed7173a9f93bbf776325fb656e19720c -DIST stardict-3.0.3.tar.bz2 9147947 SHA256 9ba10a5b3dcdd02b81c7a138dac15903a6bc2355856f60338f3775e371472b73 SHA512 de0f283659646fb1615e8de0e0b8f1ad431ee8d4f80778cab07436e7b8c981766e13c48e65d88715300fe2a6fcad0f344e6a832f65f94f197121796d8cf192b3 WHIRLPOOL 46d879b2699a8e35242947829901151a74acb5012c1f00144e8dac1b936f476fe1b667fd51e47e885ba7459c946ffd5b7e129f0af6e8f417dca0e3e7d08c6bc8 DIST stardict-3.0.4.tar.bz2 8961622 SHA256 c38b9d953fe0b2380a8aed4c98cb121ad83aff91a32af3c665198d8268b1dce8 SHA512 a1cbf58202b5430b0869955bfb7df961debab12abf55022f7c07537246c81dc182c3be50fa66273c13c289471c15afba74d15933cb202ae292f4388aa2fb6fd5 WHIRLPOOL b0476e5f38862e4c2a747206a8f1d8c55dc889d1138961390aa9f415ec310cabce242e7a4f484a4c260a004e3a8a152726cf936f0ec030586ddcd91979912aa0 DIST stardict-3.0.5.tar.bz2 9353864 SHA256 1e71fefd8637d6ae797347f771fbb44ff5cb925ad1dd5fa17c6e988c4a0bcce8 SHA512 6b4244b697c3496c50bee1dc455ee31920665052f7c562c6d882701a3660c761b22e802e0a72fdf2a8912838a3f0379c2dccccfb490c30e5f4f8eaba6d3e9adf WHIRLPOOL a1a75ce6bb39e66f18c3841f1287d990ebb3a94eb532f77622ca9e5537bab962a8c89f0ad536a46a5d5d77a3d0bc5ff99541f43a8ae967c52a7c622ffa9366e1 -EBUILD stardict-3.0.3-r2.ebuild 3978 SHA256 c7995cd0ac6a367ea559ab1566195e7216e90387740fe2b9a5e7ab9962b4ff82 SHA512 90030eb35894d6860d7737943a9d1cf1550512203b8877ccd4cf98eb39e4bb13c5b93502859e334946bd2f59eb82d0d7f0895d2bdfbd184786fab12f68e24529 WHIRLPOOL 980b72c0ca77429dd9eeef74583017828b6469c8fa4a5bcabe4da99966c3b5c3e01e308acc985e9c402232155adb5b257e8d8b06de9245388cf2f0bcf5052dea -EBUILD stardict-3.0.4-r1.ebuild 4079 SHA256 1432886a7994aa8b679dc3fa329033fc0a5b63d9b84f1903471999df0023c3f2 SHA512 593417d1786dc48b01e6a84a230598902d9e71396b9951298c955034ce3c17974899ed512667e70c3f95fe8aba1acb048231d9ef608d3f868f14df4ef9cd1010 WHIRLPOOL b23331b054a7f567fd6308397fdb457a445b298c6036702f6863345dbf771009ed4dadbe8e880c3bc9afc8f6902afb6e6fef2b3f2298d2e872237f8b1d25d08c EBUILD stardict-3.0.4.ebuild 3946 SHA256 87d48866fdec6517c952e2555d92eabe1806798dc3ba575d62531a127ea38af1 SHA512 3fa9735c375656d27cc4245c936e9d248b0207ad61844fa1186a0d6ac6f0c925e43f279ddaff25759f0e693cf1b962cd1333307f9fd859fda43307d84cf45f50 WHIRLPOOL 4e72e1f9cb3da039979d4875d04a2582ab4392226b8ae68a63177a697b4c87b99aa9a83936f77afc0883e8bc34c3a34c7ba762c172a846e292d36f313f12ac73 EBUILD stardict-3.0.5.ebuild 3825 SHA256 b0de927f73fd71b81f14d923d4e8759bd7186f187fd71a7a308e487f05bfb9b3 SHA512 e40018c4e160d95ed448c16034e694beaa6cfeccee4dccfcbaf9e7f8b496a92863ab5be86232bfeeee38c5c7f85145ef90276b27fb88d581c8f1f5cbf1effa43 WHIRLPOOL b1e5b28c47e1d57bc5cc17e55e76a2dac78eebef012fadf3a75e186eebdc470523b4d08584f4c8fe5e03892c4d022621730e259cba26e8a24c06400e9c7c632f -MISC ChangeLog 16360 SHA256 1f5ec808c08e9df5967ea1a714df6ca543693398b28f098a90c21586103e01bd SHA512 129e899399ca15ff5748cb8632aecc862c2ecad26392f72931888cbe2d5722438338b9fff51a5e05d3a635462735659d0f01fee371e76abf87e42485339c8c36 WHIRLPOOL 8c5588889f1cf3701376acd2d4efb5c7226529fed028ffe582897f8d59b45fc4d5bbe654323e70a954a7c7b6ff469af0b8c3afe5beffe4eaa9122a1265339d5a +MISC ChangeLog 16692 SHA256 6a53a360d56d5300533e66a7dd8ab84eba79b5c6a0cab2c7936ff27988f3c83e SHA512 ceb9798d52fc6014ba4fe33e2eeeaa37b7c89756e382e786b1373f736a78242a7d20a086b3fbf3e85cc2dc67152d559113e517b63976639dbae6fbc107725fc4 WHIRLPOOL 40862ac691d3be732ee27fd2c900e7f39173453edb69a948d43fefd7c8928fbf79f04fc36c861e19624d56c4affdcce88c50fe9b6e38ff4936acf1c24f70c00d MISC metadata.xml 1067 SHA256 1aec5c10f21c4ae03950a76dad888de6a173b65f13b0b3e7a596ea6ca1f3b9c0 SHA512 33168bec81b1eebcef6dca1b585e278fb7006c2d715cc8c6c107fc66b9a31a9fbaa760a5838a7d403f2e1c2bcad91b595b646e1a147e8fcabd6ac83214b3e3db WHIRLPOOL a5527a99b7f100e98924e1b4b8392b6f369e6502344f5be36a1d709675fa55497bd5c1cc9ec9c2e6167dcaeeb2f9a6119c100af4800f0b319430b88643878855 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQEcBAEBCAAGBQJUEpZqAAoJEEdUh39IaPFN5kwH/2rAnQ0jap6hayJRxmABNzpG -cr06eWHFisUWMx56XcaC5+kgO4MbGYj21F2Qq+rL7IwARo06MhMF+j4DzICNdlFc -s8CL30Y79WoDC1JJ8+Wa4J69F+8J48pbLv50ErDwYBeimmn+T7yM+MF/cQvPfMhu -v+6cTJvQ1VL8MxcXTJjcZmvfzIZTSHcGk74VOxDSVjVS6VPwCaoJpWiUu+BPsRAP -wmPPb3RJSUZ1e1cweorHpa0ZaIKHwmAdBjzIVBA5K9+AXNpCQC9WgJUAtsms4zL3 -5lYks7XxI4kBPmIgBHPNssX1gUfQOtVWtFLAjj/4xJY4VkMjR/S1ZhkJzQMtCv4= -=Eri7 +iQEcBAEBCAAGBQJUEpg6AAoJEEdUh39IaPFNaT8H/jHNxgMJLjlBsSuDxcOohRSm +74ETdvOMlwF+NuSrYYWdjG2U3lqTJ4tAcyvse7aj4OlBGfFkFUb0UxnaEhPd8GHP +4Fp8nNusMw5P9I83neR7SKe6i9zLKUf5KH13EPxfQISKrLwVdvjwC+a622hOtRcN +rqoHLWgcDSF87zJLlMOr80vbVmYM/i36rh8ljli9JkpywjY5ezhvZw9Ro4GG5P9i +YWYjWbPYTQAvFplpfCdMNuVGiJqIBfkfwx+4Pn59dD23/4b3l2dDgbu+oDdtM+8b +9jHs3HWb1lrvvc7hcxkjyzlkbybKC+95PlVuTLcAoXzNQEIyr9LmDrKlKBtwyLc= +=fIz1 -----END PGP SIGNATURE----- diff --git a/app-text/stardict/files/stardict-3.0.3-compositelookup_cpp.patch b/app-text/stardict/files/stardict-3.0.3-compositelookup_cpp.patch deleted file mode 100644 index 86825555d9cb..000000000000 --- a/app-text/stardict/files/stardict-3.0.3-compositelookup_cpp.patch +++ /dev/null @@ -1,19 +0,0 @@ -This patch is from OpenSUSE .src.rpm for the following crash on startup: - -ERROR:compositelookup.cpp:53:void CompositeLookup::send_net_dict_request(const string&, const string&): assertion failed: (NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request)) - ---- dict/src/lib/compositelookup.cpp -+++ dict/src/lib/compositelookup.cpp -@@ -50,8 +50,10 @@ - void CompositeLookup::send_net_dict_request(const std::string& dict_id, const std::string& key) - { - NetDictRequest request(dict_id, key); -- g_assert(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request)); -- NetDictRequests.push_back(request); -+ if(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request)) -+ { -+ NetDictRequests.push_back(request); -+ } - } - - /* returns true if got expected response */ diff --git a/app-text/stardict/files/stardict-3.0.3-correct-glib-include.patch b/app-text/stardict/files/stardict-3.0.3-correct-glib-include.patch deleted file mode 100644 index fd89243938eb..000000000000 --- a/app-text/stardict/files/stardict-3.0.3-correct-glib-include.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/396219 - ---- dict/src/tomboykeybinder.h -+++ dict/src/tomboykeybinder.h -@@ -21,7 +21,7 @@ - #ifndef __TOMBOY_KEY_BINDER_H__ - #define __TOMBOY_KEY_BINDER_H__ - --#include <glib/gtypes.h> -+#include <glib.h> - - G_BEGIN_DECLS - diff --git a/app-text/stardict/files/stardict-3.0.3-entry.patch b/app-text/stardict/files/stardict-3.0.3-entry.patch deleted file mode 100644 index 38182b0c8e0b..000000000000 --- a/app-text/stardict/files/stardict-3.0.3-entry.patch +++ /dev/null @@ -1,20 +0,0 @@ -warning: key "Encoding" in group "Desktop Entry" is deprecated -error: value "stardict.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension -error: value "Dictionary" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Office;TextTools - ---- dict/data/stardict.desktop.in -+++ dict/data/stardict.desktop.in -@@ -1,11 +1,10 @@ - [Desktop Entry] --Encoding=UTF-8 - _Name=StarDict - _Comment=Lookup words - Exec=stardict - Terminal=false - Type=Application --Icon=stardict.png -+Icon=stardict - StartupNotify=true --Categories=Utility;Dictionary; -+Categories=Utility;Office;TextTools;Dictionary; - X-GNOME-DocPath=stardict/stardict.xml diff --git a/app-text/stardict/files/stardict-3.0.3-gcc46.patch b/app-text/stardict/files/stardict-3.0.3-gcc46.patch deleted file mode 100644 index d85bc0de5ce0..000000000000 --- a/app-text/stardict/files/stardict-3.0.3-gcc46.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/362299 - ---- dict/stardict-plugins/stardict-wordnet-plugin/scene.h -+++ dict/stardict-plugins/stardict-wordnet-plugin/scene.h -@@ -25,6 +25,8 @@ - #ifndef __PHYSICS_H__ - #define __PHYSICS_H__ - -+#include <cstddef> -+ - #include "partic.h" - #include "spring.h" - diff --git a/app-text/stardict/files/stardict-3.0.3-overflow.patch b/app-text/stardict/files/stardict-3.0.3-overflow.patch deleted file mode 100644 index 482490105704..000000000000 --- a/app-text/stardict/files/stardict-3.0.3-overflow.patch +++ /dev/null @@ -1,26 +0,0 @@ -This patch is stardict-tools-3.0.3-destbufferoverflow.patch from OpenSUSE .src.rpm for: - -warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] - ---- tools/src/myspell2dic.c -+++ tools/src/myspell2dic.c -@@ -132,7 +132,7 @@ if (argc<3) - - fprintf(stderr, "Enter grammar language [Spanish]: "); - fflush(stderr); --fgets(lang, 100, stdin); -+fgets(lang, 50, stdin); - if ((p=strchr(lang, '\n'))!=NULL) *p=0; - if (*lang==0) strcpy(lang, "Spanish"); - ---- tools/src/ooo2dict.c -+++ tools/src/ooo2dict.c -@@ -71,7 +71,7 @@ current2=malloc(10000); - - fprintf(stderr, "Enter thesaurus language [WordNet_English]: "); - fflush(stderr); --fgets(lang, 100, stdin); -+fgets(lang, 50, stdin); - if ((p=strchr(lang, '\n'))!=NULL) *p=0; - if (*lang==0) strcpy(lang, "WordNet_English"); - F=fopen((argc>1)? argv[1]: "/usr/share/myspell/dicts/th_en_US_v2.dat", "rt"); diff --git a/app-text/stardict/stardict-3.0.3-r2.ebuild b/app-text/stardict/stardict-3.0.3-r2.ebuild deleted file mode 100644 index aa6454082f6c..000000000000 --- a/app-text/stardict/stardict-3.0.3-r2.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3-r2.ebuild,v 1.8 2012/07/29 16:45:05 armin76 Exp $ - -# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, -# their indexes seem to be in a different format. So we'll keep them -# seperate for now. - -# NOTE: Festival plugin crashes, bug 188684. Disable for now. - -EAPI=4 - -GNOME2_LA_PUNT=yes -GCONF_DEBUG=no - -inherit eutils gnome2 - -DESCRIPTION="A international dictionary supporting fuzzy and glob style matching" -HOMEPAGE="http://code.google.com/p/stardict-3/" -SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2 - pronounce? ( http://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 ) - qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )" - -LICENSE="CPL-1.0 GPL-3 LGPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 sparc x86" -IUSE="espeak gnome gucharmap qqwry pronounce spell tools" - -COMMON_DEPEND=">=dev-libs/glib-2.16 - dev-libs/libsigc++:2 - sys-libs/zlib - >=x11-libs/gtk+-2.20:2 - gnome? ( - >=gnome-base/libbonobo-2 - >=gnome-base/libgnome-2 - >=gnome-base/libgnomeui-2 - >=gnome-base/gconf-2 - >=gnome-base/orbit-2 - ) - gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 ) - spell? ( >=app-text/enchant-1.2 ) - tools? ( - dev-libs/libpcre - dev-libs/libxml2 - virtual/mysql - )" -RDEPEND="${COMMON_DEPEND} - espeak? ( >=app-accessibility/espeak-1.29 )" -DEPEND="${COMMON_DEPEND} - app-text/docbook-xml-dtd:4.3 - app-text/gnome-doc-utils - dev-libs/libxslt - dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" - -RESTRICT="test" - -pkg_setup() { - G2CONF="$(use_enable tools) - --disable-scrollkeeper - $(use_enable spell) - $(use_enable gucharmap) - --disable-festival - $(use_enable espeak) - $(use_enable qqwry) - --disable-updateinfo - $(use_enable gnome gnome-support) - --disable-gpe-support - --disable-schemas-install" -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-correct-glib-include.patch \ - "${FILESDIR}"/${P}-entry.patch \ - "${FILESDIR}"/${P}-gcc46.patch \ - "${FILESDIR}"/${P}-compositelookup_cpp.patch \ - "${FILESDIR}"/${P}-overflow.patch \ - "${FILESDIR}"/${P}-zlib-1.2.5.2.patch - - gnome2_src_prepare -} - -src_install() { - gnome2_src_install - - dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation} - - if use qqwry; then - insinto /usr/share/stardict/data - doins ../QQWry.Dat - fi - - if use pronounce; then - docinto WyabdcRealPeopleTTS - dodoc ../WyabdcRealPeopleTTS/{README,readme.txt} - rm -f ../WyabdcRealPeopleTTS/{README,readme.txt} - insinto /usr/share - doins -r ../WyabdcRealPeopleTTS - fi - - # noinst_PROGRAMS with stardict_ prefix from tools/src/Makefile.am wrt #292773 - if use tools; then - local app - local apps="pydict2dic olddic2newdic oxford2dic directory2dic dictd2dic - wquick2dic ec50 directory2treedic treedict2dir jdictionary mova - xmlinout soothill kanjidic2 powerword kdic 21tech 21shiji buddhist - tabfile cedict edict duden stardict-dict-update degb2utf frgb2utf - jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage babylon - stardict2txt stardict-verify fest2dict i2e2dict downloadwiki - ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql KangXi Unihan - xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb - resdatabase2dir dir2resdatabase stardict-index stardict-text2bin - stardict-bin2text stardict-repair" - - for app in ${apps}; do - newbin tools/src/${app} ${PN}_${app} - done - fi -} - -pkg_postinst() { - elog "Note: festival text to speech (TTS) plugin is not built. To use festival" - elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:' - elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:' - elog '"echo %s | festival --tts"' - elog - elog "You will now need to install stardict dictionary files. If" - elog "you have not, execute the below to get a list of dictionaries:" - elog - elog " emerge -s stardict-" - - gnome2_pkg_postinst -} diff --git a/app-text/stardict/stardict-3.0.4-r1.ebuild b/app-text/stardict/stardict-3.0.4-r1.ebuild deleted file mode 100644 index b22f1062b850..000000000000 --- a/app-text/stardict/stardict-3.0.4-r1.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.4-r1.ebuild,v 1.1 2014/08/03 15:41:27 ssuominen Exp $ - -EAPI=5 - -# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, -# their indexes seem to be in a different format. So we'll keep them -# seperate for now. - -# NOTE: Festival plugin crashes, bug 188684. Disable for now. - -GNOME2_LA_PUNT=yes -GCONF_DEBUG=no - -inherit eutils gnome2 - -DESCRIPTION="A international dictionary supporting fuzzy and glob style matching" -HOMEPAGE="http://code.google.com/p/stardict-3/" -SRC_URI="http://${PN}-3.googlecode.com/files/${P}.tar.bz2 - pronounce? ( http://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 ) - qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )" - -LICENSE="CPL-1.0 GPL-3 LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="espeak gucharmap qqwry pronounce spell tools" - -RESTRICT="test" - -COMMON_DEPEND=">=dev-libs/glib-2.16:2= - dev-libs/libsigc++:2= - sys-libs/zlib:= - >=x11-libs/gtk+-2.20:2= - gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 ) - spell? ( >=app-text/enchant-1.2 ) - tools? ( - dev-libs/libpcre:= - dev-libs/libxml2:= - virtual/mysql - )" -RDEPEND="${COMMON_DEPEND} - espeak? ( >=app-accessibility/espeak-1.29 )" -DEPEND="${COMMON_DEPEND} - app-text/docbook-xml-dtd:4.3 - app-text/gnome-doc-utils - dev-libs/libxslt - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - # These 2 fixes have been upstreamized for upcoming 3.0.5 differently, so drop 'em: - epatch "${FILESDIR}"/${PN}-3.0.3-zlib-1.2.5.2.patch - sed -i -e '/DEP_MODULES/s:glib-2.0:gmodule-2.0 &:' dict/configure || die - - gnome2_src_prepare -} - -src_configure() { - # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of - # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will - # give you GNOME 2.x support, that is otherwise considered deprecated - # because of the deep GNOME 2.x core library dependencies - gnome2_src_configure \ - $(use_enable tools) \ - --disable-scrollkeeper \ - $(use_enable spell) \ - $(use_enable gucharmap) \ - --disable-festival \ - $(use_enable espeak) \ - $(use_enable qqwry) \ - --disable-updateinfo \ - --disable-gnome-support \ - --disable-gpe-support \ - --disable-schemas-install -} - -src_install() { - gnome2_src_install - - dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation} - - if use qqwry; then - insinto /usr/share/${PN}/data - doins ../QQWry.Dat - fi - - if use pronounce; then - docinto WyabdcRealPeopleTTS - dodoc ../WyabdcRealPeopleTTS/{README,readme.txt} - rm -f ../WyabdcRealPeopleTTS/{README,readme.txt} - insinto /usr/share - doins -r ../WyabdcRealPeopleTTS - fi - - # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt #292773 - if use tools; then - local app - local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic directory2dic - dictd2dic wquick2dic ec50 directory2treedic treedict2dir jdictionary mova - xmlinout soothill kanjidic2 powerword kdic 21tech 21shiji buddhist - tabfile cedict edict duden ${PN}-dict-update degb2utf frgb2utf - jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage babylon - ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki - ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql KangXi Unihan - xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb - resdatabase2dir dir2resdatabase ${PN}-index ${PN}-text2bin - ${PN}-bin2text ${PN}-repair" - - for app in ${apps}; do - newbin tools/src/${app} ${PN}_${app} - done - fi -} - -pkg_postinst() { - elog "Note: festival text to speech (TTS) plugin is not built. To use festival" - elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:' - elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:' - elog '"echo %s | festival --tts"' - elog - elog "You will now need to install ${PN} dictionary files. If" - elog "you have not, execute the below to get a list of dictionaries:" - elog - elog " emerge -s ${PN}-" - - gnome2_pkg_postinst -} |