diff options
author | Iskren Slavov <iskren.s@gmail.com> | 2010-04-13 23:11:51 +0300 |
---|---|---|
committer | Iskren Slavov <iskren.s@gmail.com> | 2010-04-13 23:11:51 +0300 |
commit | 0b57c85a8a1fcdea5f1325dc08b476d3020a945d (patch) | |
tree | 5b61f5c3fa5a7648fa0e4a8a994d8a91dc04aee0 /app-dicts | |
parent | Added fixed ebuild of acetoneiso. Fixed googsystray digest. (diff) | |
download | wish-0b57c85a8a1fcdea5f1325dc08b476d3020a945d.tar.gz wish-0b57c85a8a1fcdea5f1325dc08b476d3020a945d.tar.bz2 wish-0b57c85a8a1fcdea5f1325dc08b476d3020a945d.zip |
Separated gbgoffice from dictionaries, so I can later add kbgoffice later.
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/bgoffice-dictfiles/ChangeLog | 8 | ||||
-rw-r--r-- | app-dicts/bgoffice-dictfiles/Manifest | 4 | ||||
-rw-r--r-- | app-dicts/bgoffice-dictfiles/bgoffice-dictfiles-1.0.ebuild | 22 | ||||
-rw-r--r-- | app-dicts/bgoffice-dictfiles/metadata.xml | 11 | ||||
-rw-r--r-- | app-dicts/gbgoffice/Manifest | 3 | ||||
-rw-r--r-- | app-dicts/gbgoffice/gbgoffice-1.4-r1.ebuild | 59 |
6 files changed, 105 insertions, 2 deletions
diff --git a/app-dicts/bgoffice-dictfiles/ChangeLog b/app-dicts/bgoffice-dictfiles/ChangeLog new file mode 100644 index 0000000..5a810f7 --- /dev/null +++ b/app-dicts/bgoffice-dictfiles/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-dicts/gbgoffice +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 + +*bgoffice-dictfiles-1.0 (13 Apr 2010) + 13 Apr 2010; Iskren Slavov <iskren.s@gmail.com> + +bgoffice-dictfiles-1.0.ebuild: + Initial version to separate dictionary files from the dictionary + itself. diff --git a/app-dicts/bgoffice-dictfiles/Manifest b/app-dicts/bgoffice-dictfiles/Manifest new file mode 100644 index 0000000..3712c9d --- /dev/null +++ b/app-dicts/bgoffice-dictfiles/Manifest @@ -0,0 +1,4 @@ +DIST full-pack.tar.bz2 5706835 RMD160 78feecafb98b33b88608467c00304b76eb93f666 SHA1 3656d58e255b57bcc2ac31b92cb425119267409f SHA256 6d51cc921f2f0b943be7e0aa4a9f16283066b0341782999d55346f2609f28eac +EBUILD bgoffice-dictfiles-1.0.ebuild 615 RMD160 ba884ad676b7108bd3c3b093ab567395e97bb78d SHA1 14faadda5f19b75fa5c0e8f441222fcb86b5e1bf SHA256 86d489fca3714b4c32116a6c3b340976d5622ddc8a803729fb9753bc8ad5091a +MISC ChangeLog 307 RMD160 36d2ff74d9026a499019a61c861eead68e7c2e8b SHA1 dc756f97956c186b0fb17112e5ba2c69b3103d09 SHA256 dd85ebee19f1e6736924195c55b72fc7222b7e2829388e029767945d2174b468 +MISC metadata.xml 349 RMD160 c1d7395426b86a472fb4fa48ca4ab349980cebc7 SHA1 a851d29d0f058da516110d099751116571fd4bf9 SHA256 c615b5746a5ba4e2b1d75f3b731d6f27a5012cf909243ef5cddbadb00af86925 diff --git a/app-dicts/bgoffice-dictfiles/bgoffice-dictfiles-1.0.ebuild b/app-dicts/bgoffice-dictfiles/bgoffice-dictfiles-1.0.ebuild new file mode 100644 index 0000000..f3860cb --- /dev/null +++ b/app-dicts/bgoffice-dictfiles/bgoffice-dictfiles-1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Various Bulgarian <=> English dictionary files, needed for gbgoffice and kbgoffice" +HOMEPAGE="http://gbgoffice.info" +SRC_URI="mirror://sourceforge/bgoffice/Full%20Pack%20of%20Dictionaries/1.0/full-pack.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +# TODO: depend on kbgoffice or gbgoffice +DEPEND="" + +src_install() { + einfo "Installing full dictionary pack..." + insinto "/usr/share/bgoffice" + for file in ${WORKDIR}/full-pack/data/*; + do + doins ${file} + done +} diff --git a/app-dicts/bgoffice-dictfiles/metadata.xml b/app-dicts/bgoffice-dictfiles/metadata.xml new file mode 100644 index 0000000..0c211b0 --- /dev/null +++ b/app-dicts/bgoffice-dictfiles/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>app-dicts</herd> +<maintainer> + <email>iskren.s@gmail.com</email> +</maintainer> +<longdescription>These are the dictionary files that are needed for +kBGoffice or gBGoffice dictionaries. +</longdescription> +</pkgmetadata> diff --git a/app-dicts/gbgoffice/Manifest b/app-dicts/gbgoffice/Manifest index 655eccd..9883f44 100644 --- a/app-dicts/gbgoffice/Manifest +++ b/app-dicts/gbgoffice/Manifest @@ -5,8 +5,7 @@ AUX 1.4-04_sigc-deprecated-fix.patch 1391 RMD160 c97b881691982a58b2a161f87da679d AUX 1.4-05_convert-const.patch 479 RMD160 ba0f0a27029e6baeac2017431ea63cfe6a89fdb9 SHA1 79555c784c3e303b011bf1657309df10b400eaed SHA256 64dbe77b3f8c9a61e79a036cead0899304c92e10d34ad9224c7fba62cce4b3be AUX 1.4-06_fsf-address-fix.patch 1132 RMD160 519659a677983d5dd95b60585d983233f93ef778 SHA1 d75d632679b0f711a5cfc3613f6b6f4ba214ee92 SHA256 de389af7a7ff86c63c9a464d26f5653fd9550bc2af2fac098a184c20a32d8c3c AUX gbgoffice.desktop 338 RMD160 8f39baacc69b88e41f51db703f66c8450d204512 SHA1 fe301bcd66148c9af9dd9aa3243738770c4c957f SHA256 19870305999f0bcc373ddbef297854f328513c83a6ffb84aafa6c19e4e120e78 -DIST full-pack.tar.bz2 5706835 RMD160 78feecafb98b33b88608467c00304b76eb93f666 SHA1 3656d58e255b57bcc2ac31b92cb425119267409f SHA256 6d51cc921f2f0b943be7e0aa4a9f16283066b0341782999d55346f2609f28eac DIST gbgoffice-1.4.tar.gz 206048 RMD160 c86c1e8f053e09b5a90a16ad856562c7578814b9 SHA1 5e75c52d0aafc04a8564a98cc29e7809c8df9479 SHA256 2c575112c0284c27e0180da0de6144841d202d42c58b78a8104ffc580f9624ef -EBUILD gbgoffice-1.4.ebuild 1888 RMD160 2d6a282283fc85b2c252efff2dc2b26fb02dc44d SHA1 5b2670f9ccbd54fa3c349c870ac71788b3068aea SHA256 352df9c94078c37b50f1f81673f0163debb335ced8ad4dad9425ec344670211f +EBUILD gbgoffice-1.4-r1.ebuild 1648 RMD160 6de254645b8bee22740fca0fbe56e80c641a4160 SHA1 130bd7d2e81a945135850106fe2d3bcbc1c26a23 SHA256 6f32296f530a29237db552443060817c69714db65c5669a72925bd2a5bb6a601 MISC ChangeLog 489 RMD160 f41041527574d030dd5eb8b20632204c744162e0 SHA1 d0a5a16596495abd4870bc08b023b1f335d80fd7 SHA256 fc0a5cb40a61b27f6151fb323ed7b93bb5e2146ea772ccd4d055d8447d10709b MISC metadata.xml 506 RMD160 a781102fce48373a98ab5c5e82438e2d52129b2e SHA1 f08f4045b8d357fe60ef1ee86f2d22d286ded69f SHA256 5c335ccc0e9719589fef5ada99d5836d28564a1cdd85af087c87794cc324dd17 diff --git a/app-dicts/gbgoffice/gbgoffice-1.4-r1.ebuild b/app-dicts/gbgoffice/gbgoffice-1.4-r1.ebuild new file mode 100644 index 0000000..759a4e6 --- /dev/null +++ b/app-dicts/gbgoffice/gbgoffice-1.4-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils gnome2 + +DESCRIPTION="A very nice GTK based Bulgarian <=> English dictionary" +HOMEPAGE="http://gbgoffice.info" +SRC_URI="http://openfmi.net/frs/download.php/341/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="light" + +DEPEND=">=dev-libs/libsigc++-2.2.3 + >=dev-cpp/gtkmm-2.16.0 + >=dev-cpp/glibmm-2.20.1 + >=app-dicts/bgoffice-dictfiles-1.0" + +src_unpack() { + einfo "Source unpacking..." + if [ "${A}" != "" ]; then + unpack ${A} || die "Failed to unpack needed sources!" + fi + cd ${S} + + # The app is unsupported, so lot's of patches should be applied + epatch "${FILESDIR}"/${PV}-01_re-autogen.patch + epatch "${FILESDIR}"/${PV}-02_gcc-4.3.patch + epatch "${FILESDIR}"/${PV}-03_gcc-4.3-const-chars.patch + epatch "${FILESDIR}"/${PV}-04_sigc-deprecated-fix.patch + epatch "${FILESDIR}"/${PV}-05_convert-const.patch + epatch "${FILESDIR}"/${PV}-06_fsf-address-fix.patch +} + +src_compile() { + local myconf + if use light; then + myconf="${myconf} --enable-light-version" + fi + einfo "Configuring..." + if [ -x ./configure ]; then + econf ${myconf} || die "Configuring failed!" + fi + einfo "Building..." + if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then + emake || die "Building failed!" + fi +} + +src_install() { + # Installing dict + einfo "Installing gbgoffice..." + emake DESTDIR="${D}" install || die "Install failed!" + + # Install GNOME icon + insinto "/usr/share/applications" + doins "${FILESDIR}"/gbgoffice.desktop +} |