diff options
author | Flammie Pirinen <flammie@gentoo.org> | 2007-02-13 01:20:39 +0000 |
---|---|---|
committer | Flammie Pirinen <flammie@gentoo.org> | 2007-02-13 01:20:39 +0000 |
commit | da6121bf20282163e9e389a20ff8948f4aad1c03 (patch) | |
tree | 1cf55b18859caf31e3224da5eed6528b7cf37504 | |
parent | retrying! (diff) | |
download | finnish-da6121bf20282163e9e389a20ff8948f4aad1c03.tar.gz finnish-da6121bf20282163e9e389a20ff8948f4aad1c03.tar.bz2 finnish-da6121bf20282163e9e389a20ff8948f4aad1c03.zip |
second take!
svn path=/; revision=3
98 files changed, 4212 insertions, 0 deletions
diff --git a/trunk/app-office/oo2-voikko/Manifest b/trunk/app-office/oo2-voikko/Manifest new file mode 100644 index 0000000..2fdcde8 --- /dev/null +++ b/trunk/app-office/oo2-voikko/Manifest @@ -0,0 +1,35 @@ +AUX ooo-2.0-homedir.tar.bz2 9966 RMD160 75e687e207d60291d32f6accaa526c74984b073c SHA1 d1495be0eaa1ce1394417d21f3b9db526d17b89e SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 +MD5 5f0a3f813a9ab90831a938fdfbf0875d files/ooo-2.0-homedir.tar.bz2 9966 +RMD160 75e687e207d60291d32f6accaa526c74984b073c files/ooo-2.0-homedir.tar.bz2 9966 +SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 files/ooo-2.0-homedir.tar.bz2 9966 +AUX ooo-bootstrap-decoy.tar.bz2 9966 RMD160 75e687e207d60291d32f6accaa526c74984b073c SHA1 d1495be0eaa1ce1394417d21f3b9db526d17b89e SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 +MD5 5f0a3f813a9ab90831a938fdfbf0875d files/ooo-bootstrap-decoy.tar.bz2 9966 +RMD160 75e687e207d60291d32f6accaa526c74984b073c files/ooo-bootstrap-decoy.tar.bz2 9966 +SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 files/ooo-bootstrap-decoy.tar.bz2 9966 +DIST OOo_2.0.3_LinuxIntel_sdk.sh 39845497 RMD160 fec7a01c81540394928036cdd88cba3d0d8ba96b SHA1 9a3b70fcd8b4574b0e586f26be86ea320801fe7f SHA256 b6848815c674ac65b58b49a65a487c801d8ed763dd1f2d82b27f52995b103a13 +DIST oo2-voikko-1.0-bin.tar.bz2 48218 RMD160 b63361dc4475e7e63f265674ac3d4606c515491a SHA1 2735260cb6e4ba4c56a38c65f88e491a72be13e0 SHA256 80c6fa34aafc157a73c7c34f48fdaaea246ba4cac49917e44eaf0f5e4349db14 +DIST oo2-voikko-1.0.tar.gz 53606 RMD160 8ff217f60753b32aff5bd38eb9a9350a1b018926 SHA1 f0a0325314a2027f9759898503904516b88e505d SHA256 c7de5adc6f3f1acebf4e569c6fab81f215cd8ca60121975ba192a050e3f2e5dc +DIST oo2-voikko-1.1.tar.gz 52682 RMD160 e5138b4143ff451fa69a69275bc280155169553f SHA1 0b538cc9cc75a052e890b0e883194a29528f6575 SHA256 2b70c1099615c67010b0705fb729e1dce506ec624032e9cd45bbecffb679f12b +DIST oo2-voikko-Linux_x86-0.4.tar.gz 59897 RMD160 1bca11c65c3b5e30b1f62630f1ed6873d6a83cff SHA256 8ee89e263fbe21ddb00c5b955403f6f8d8a0d08081e4336a3acf7ffe0cce6525 +DIST oo2-voikko-Linux_x86_64-0.4.tar.gz 62432 RMD160 bc67e4d92edd82500d715dfb9f087b9aa48f1acf SHA256 57af03db9102e0dde973c7365a781d795b91b703b80dc7325f3332a96703d2c3 +EBUILD oo2-voikko-0.4.ebuild 3137 RMD160 ffb3fff38e8e057462161cbfe4893f655e059e7d SHA1 e2768b988e781b68e30b15751586d43b6c82b1b1 SHA256 70a92503d65b50a4634a6304c86168e55547d92940b1b1a6b817721402adb865 +MD5 09f66abc7c1b12dba687f20e4ef5b268 oo2-voikko-0.4.ebuild 3137 +RMD160 ffb3fff38e8e057462161cbfe4893f655e059e7d oo2-voikko-0.4.ebuild 3137 +SHA256 70a92503d65b50a4634a6304c86168e55547d92940b1b1a6b817721402adb865 oo2-voikko-0.4.ebuild 3137 +EBUILD oo2-voikko-1.0.ebuild 6975 RMD160 cf09802042a2e8a4b21de79596474ebb2e58c6f5 SHA1 617ff0b19795de711b69290e332faf877d6bcc7e SHA256 3336729137fa056e2a88a61efdbd982897eb0ed73168b20e1b388280165b48f2 +MD5 8582dd8799fc14eba7b14ebc0c19e8e7 oo2-voikko-1.0.ebuild 6975 +RMD160 cf09802042a2e8a4b21de79596474ebb2e58c6f5 oo2-voikko-1.0.ebuild 6975 +SHA256 3336729137fa056e2a88a61efdbd982897eb0ed73168b20e1b388280165b48f2 oo2-voikko-1.0.ebuild 6975 +EBUILD oo2-voikko-1.1.ebuild 4676 RMD160 f4b35d2d5971ccdfa8450e4cf86f26d8e8e4b02f SHA1 65a412e03027161fd94675083f1e0201ef1b82c7 SHA256 9b56203c02a69395579f5d1b193a687c15d4a294360d9fea71139ecd0e91e6a5 +MD5 6bd57a180ebeb81ff78d9a8c5a2e8555 oo2-voikko-1.1.ebuild 4676 +RMD160 f4b35d2d5971ccdfa8450e4cf86f26d8e8e4b02f oo2-voikko-1.1.ebuild 4676 +SHA256 9b56203c02a69395579f5d1b193a687c15d4a294360d9fea71139ecd0e91e6a5 oo2-voikko-1.1.ebuild 4676 +MD5 78ba08fe0ea43575ff29545795d326bd files/digest-oo2-voikko-0.4 551 +RMD160 ef5cf72c2446a0ff3f9119818d413eb2e8a1ae7c files/digest-oo2-voikko-0.4 551 +SHA256 0f1ff54301ce4479fe80c87c0bba5495efcaca9582784962fb4d4f0a7d8b7a83 files/digest-oo2-voikko-0.4 551 +MD5 d1285b0bc88949a62e2dadb037174abc files/digest-oo2-voikko-1.0 765 +RMD160 8f6acab60c7b1bb3e30a4a008a26150ff34e94cf files/digest-oo2-voikko-1.0 765 +SHA256 5d3b8c2c9661b0972a81399a206da06e6334491ff1b8db0eecaac926230fe33c files/digest-oo2-voikko-1.0 765 +MD5 67926811dffb31efd8c84c6c20408a90 files/digest-oo2-voikko-1.1 241 +RMD160 d523826df957ee33a09ce13dc1f41beea8a827d1 files/digest-oo2-voikko-1.1 241 +SHA256 079e95f5d837133bbd8f23217e37a2bebdcddd32e3ef5d76437b192520865a68 files/digest-oo2-voikko-1.1 241 diff --git a/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-0.4 b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-0.4 new file mode 100644 index 0000000..1bdfe28 --- /dev/null +++ b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-0.4 @@ -0,0 +1,6 @@ +MD5 9a037936fcdd80d6c08e5837aa649cab oo2-voikko-Linux_x86-0.4.tar.gz 59897 +RMD160 1bca11c65c3b5e30b1f62630f1ed6873d6a83cff oo2-voikko-Linux_x86-0.4.tar.gz 59897 +SHA256 8ee89e263fbe21ddb00c5b955403f6f8d8a0d08081e4336a3acf7ffe0cce6525 oo2-voikko-Linux_x86-0.4.tar.gz 59897 +MD5 a98928fe4a299662f17a25532c1e97a0 oo2-voikko-Linux_x86_64-0.4.tar.gz 62432 +RMD160 bc67e4d92edd82500d715dfb9f087b9aa48f1acf oo2-voikko-Linux_x86_64-0.4.tar.gz 62432 +SHA256 57af03db9102e0dde973c7365a781d795b91b703b80dc7325f3332a96703d2c3 oo2-voikko-Linux_x86_64-0.4.tar.gz 62432 diff --git a/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.0 b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.0 new file mode 100644 index 0000000..0eb8eb7 --- /dev/null +++ b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.0 @@ -0,0 +1,9 @@ +MD5 f35f397dac358a054cd425b2348f258c OOo_2.0.3_LinuxIntel_sdk.sh 39845497 +RMD160 fec7a01c81540394928036cdd88cba3d0d8ba96b OOo_2.0.3_LinuxIntel_sdk.sh 39845497 +SHA256 b6848815c674ac65b58b49a65a487c801d8ed763dd1f2d82b27f52995b103a13 OOo_2.0.3_LinuxIntel_sdk.sh 39845497 +MD5 66e09b62868c2114324e52b52b391b10 oo2-voikko-1.0-bin.tar.bz2 48218 +RMD160 b63361dc4475e7e63f265674ac3d4606c515491a oo2-voikko-1.0-bin.tar.bz2 48218 +SHA256 80c6fa34aafc157a73c7c34f48fdaaea246ba4cac49917e44eaf0f5e4349db14 oo2-voikko-1.0-bin.tar.bz2 48218 +MD5 4b98fdfa46f7df7a26498cd8f0800249 oo2-voikko-1.0.tar.gz 53606 +RMD160 8ff217f60753b32aff5bd38eb9a9350a1b018926 oo2-voikko-1.0.tar.gz 53606 +SHA256 c7de5adc6f3f1acebf4e569c6fab81f215cd8ca60121975ba192a050e3f2e5dc oo2-voikko-1.0.tar.gz 53606 diff --git a/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.1 b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.1 new file mode 100644 index 0000000..e0f5918 --- /dev/null +++ b/trunk/app-office/oo2-voikko/files/digest-oo2-voikko-1.1 @@ -0,0 +1,3 @@ +MD5 3da94ad217ddc2bc33ae93595479c401 oo2-voikko-1.1.tar.gz 52682 +RMD160 e5138b4143ff451fa69a69275bc280155169553f oo2-voikko-1.1.tar.gz 52682 +SHA256 2b70c1099615c67010b0705fb729e1dce506ec624032e9cd45bbecffb679f12b oo2-voikko-1.1.tar.gz 52682 diff --git a/trunk/app-office/oo2-voikko/files/ooo-2.0-homedir.tar.bz2 b/trunk/app-office/oo2-voikko/files/ooo-2.0-homedir.tar.bz2 Binary files differnew file mode 100644 index 0000000..5ca0d5d --- /dev/null +++ b/trunk/app-office/oo2-voikko/files/ooo-2.0-homedir.tar.bz2 diff --git a/trunk/app-office/oo2-voikko/files/ooo-bootstrap-decoy.tar.bz2 b/trunk/app-office/oo2-voikko/files/ooo-bootstrap-decoy.tar.bz2 Binary files differnew file mode 100644 index 0000000..5ca0d5d --- /dev/null +++ b/trunk/app-office/oo2-voikko/files/ooo-bootstrap-decoy.tar.bz2 diff --git a/trunk/app-office/oo2-voikko/oo2-voikko-0.4.ebuild b/trunk/app-office/oo2-voikko/oo2-voikko-0.4.ebuild new file mode 100644 index 0000000..79cae10 --- /dev/null +++ b/trunk/app-office/oo2-voikko/oo2-voikko-0.4.ebuild @@ -0,0 +1,123 @@ +# copied from oo2-voikko.ebuild in +# http://bugs.gentoo.org/attachment.cgi?id=73027 +# Original ebuild script wasn’t marked GPL? + +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://www.hunspell-fi.org/" +SRC_URI=" +x86? ( http://www.hunspell-fi.org/files/${PN}-Linux_x86-${PV}.tar.gz ) +amd64? ( http://www.hunspell-fi.org/files/${PN}-Linux_x86_64-${PV}.tar.gz ) +" +#http://www.hunspell-fi.org/files/${P}.tgz + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="|| ( >=app-office/openoffice-bin-2.0 >=app-office/openoffice-2.0 ) + app-text/voikko + sys-apps/grep + sys-apps/sed" +# ! app-office/oo2-soikko +RDEPEND="|| ( >=app-office/openoffice-bin-2.0 >=app-office/openoffice-2.0 ) + app-text/voikko" +# FIXME: +if use amd64; then + S="${WORKDIR}/${PN}-Linux_x86_64-${PV}" +else + S="${WORKDIR}/${PN}-Linux_x86-${PV}" +fi + + +pkg_setup() { + if pidof soffice.bin >/dev/null; then + die "Soikko can't be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi + if use amd64; then + S="${WORKDIR}/${PN}-Linux_x86_64-${PV}" + else + S="${WORKDIR}/${PN}-Linux_x86-${PV}" + fi +} + +src_install() { + dodoc ASENNUS.txt + insinto /usr/lib/openoffice/share/ + doins install-oo2-voikko +} + +find_unopkg() { + if has_version '>=app-office/openoffice-bin'; then + if use amd64 ; then + UNOPKG="/usr/lib32/openoffice/program/unopkg" + else + UNOPKG="/usr/lib/openoffice/program/unopkg" + fi + else + UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! + fi +} + +pkg_postinst() { + find_unopkg + + # select component + if use amd64; then + COMPONENT="${S}/oo2-voikko-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${S}/oo2-voikko-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # verify binary interface + if grep -U -q CXXABI_1.3 "$UNOPKG".bin && echo "$COMPONENT" | grep -q gcc3.3 + then + die "g++ ABI mismatch or such" + fi + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # use normal binary + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + if "${UNOPKG}" add --shared "${COMPONENT}" &>/dev/null ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn't register Voikko package (${PKG})" + fi + +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + die "Couldn't list existing packages" + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: oo2-voikko-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "Voikko package (${PKG}) unregistered succesfully" + else + die "Couldn't uninstall existing Voikko packages" + fi + else + ewarn "Couldn't find existing Voikko packages." + ewarn "You may need to unopkg remove them manually." + fi + +} diff --git a/trunk/app-office/oo2-voikko/oo2-voikko-1.0.ebuild b/trunk/app-office/oo2-voikko/oo2-voikko-1.0.ebuild new file mode 100644 index 0000000..7e5bfee --- /dev/null +++ b/trunk/app-office/oo2-voikko/oo2-voikko-1.0.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +OO_PATCHLEVEL="OOC680" +OO_SRC="OOO_2_0_3" +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://www.lemi.fi/voikko/" +IUSE="unobuild" +SRC_URI="!unobuild? ( http://dev.gentoo.org/~flammie/${P}-bin.tar.bz2 ) + unobuild? ( http://www.hunspell-fi.org/files/${P}.tar.gz + http://mirrors.dotsrc.org/openoffice/stable/2.0.3_sdk/OOo_2.0.3_LinuxIntel_sdk.sh )" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko + sys-apps/grep + sys-apps/sed + unobuild? ( app-arch/zip + || ( app-arch/rpm2targz ) )" +# ! app-office/oo2-soikko" +RDEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko" + +pkg_setup() { + if pidof soffice.bin >/dev/null; then + die "Voikko can’t be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi +# if use unobuild ; then +# if ! built_with_use app-office/openoffice odk ; then +# ewarn "OpenOffice should be built with USE flag “odk”" +# ewarn "for building uno package from source to work" +# fi +# fi +} + +src_unpack() { + if use unobuild ; then + mkdir "${WORKDIR}/${OO_SRC}-SDK" + # From OOo...sdk.sh: + tail --lines=+88 "${DISTDIR}/OOo_2.0.3_LinuxIntel_sdk.sh" | \ + (cd "${WORKDIR}/${OO_SRC}-SDK"; tar xf -) + assert + cd "${WORKDIR}/${OO_SRC}-SDK/RPMS" + rpm2targz openoffice.org-sdk-2.0.3-?.i586.rpm || \ + die "Unable to unrpm SDK" + tar zxpf openoffice.org-sdk-2.0.3-?.i586.tar.gz || \ + die "Unable to untar SDK" + cd "${WORKDIR}" + unpack ${P}.tar.gz + else + unpack ${P}-bin.tar.bz2 + fi +} + +src_compile() { + if use unobuild ; then + # From setsdkenvunix.sh: + OO_SDK_NAME=odk + OO_SDK_HOME="${WORKDIR}/${OO_SRC}-SDK/RPMS/opt/openoffice.org2.0_sdk/" + OFFICE_HOME="${ROOT}/usr/lib/openoffice/" + OO_SDK_URE_HOME="${ROOT}/usr/lib/openoffice/" + OO_SDK_MAKE_HOME="${ROOT}/usr/bin" + OO_SDK_ZIP_HOME="${ROOT}/usr/bin" + OO_SDK_CPP_HOME="${ROOT}/usr/bin" + # OO_SDK_JAVA_HOME="${ROOT}/opt/sun-jdk..." + OO_SDK_OUTPUT_DIR=`pwd` + SDK_AUTO_DEPLOYMENT=YES + OFFICE_PROGRAM_PATH=${OFFICE_HOME}/program + UNO_PATH=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_LIB_DIR=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_JAVA_DIR=${OFFICE_PROGRAM_PATH}/classes + OO_EXAMPLE_OUT=$OO_SDK_OUTPUT_DIR/$OO_SDK_HOME + sd_platform=`${OO_SDK_HOME}/config.guess | cut -d"-" -f3,4` + #case $sd_platform in + # linux-gnu) + SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | $OO_SDK_CPP_HOME/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + directoryname=linux + comid=gcc3 + pltfrm=gcc + soext=so + exampleout=LINUXexample.out + platform=Linux + LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_EXAMPLE_OUT/$exampleout/lib:${OO_SDK_URE_LIB_DIR}:.:$LD_LIBRARY_PATH + # esac + PATH=$OO_SDK_HOME/$directoryname/bin:$OO_EXAMPLE_OUT/$exampleout/bin:${OO_SDK_URE_BIN_DIR}:.:$PATH + CLASSPATH=${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar${OFFICE_PROGRAM_PATH+:${OFFICE_PROGRAM_PATH}/classes/unoil.jar}${CLASSPATH+:${CLASSPATH}} + PATH=$OO_SDK_MAKE_HOME:$PATH + PATH=$OO_SDK_ZIP_HOME:$PATH + PATH=$OO_SDK_CPP_HOME:$PATH + PATH=$OO_SDK_JAVA_HOME/bin:$PATH + echo " * SDK environment is prepared for ${platform}" + echo " *" + echo " * SDK = $OO_SDK_HOME" + echo " * Office = $OFFICE_HOME" + echo " * URE = $OO_SDK_URE_HOME" + echo " * Make = $OO_SDK_MAKE_HOME" + echo " * Zip = $OO_SDK_ZIP_HOME" + echo " * C++ Compiler = $OO_SDK_CPP_HOME" + echo " * Java = $OO_SDK_JAVA_HOME" + echo " * Special Output directory = $OO_SDK_OUTPUT_DIR" + echo " * Auto deployment = $SDK_AUTO_DEPLOYMENT" + cd "${WORKDIR}/unopkg" + # Variables needed to "export" are used in the *.mk files included + OO_SDK_HOME=${OO_SDK_HOME} OFFICE_HOME=${OFFICE_HOME} \ + OO_SDK_NAME=${OO_SDK_NAME} \ + OO_SDK_MAKE_HOME=${OO_SDK_MAKE_HOME} \ + OO_SDK_ZIP_HOME=${OO_SDK_ZIP_HOME} \ + OO_SDK_CPP_HOME=${OO_SDK_CPP_HOME} \ + OO_SDK_OUTPUT_DIR=${OO_SDK_OUTPUT_DIR} \ + SDK_AUTO_DEPLOYMENT=${SDK_AUTO_DEPLOYMENT} \ + LD_LIBRARY_PATH=${LD_LIBRARY_PATH} PATH=${PATH} \ + OFFICE_PROGRAM_PATH=${OFFICE_PROGRAM_PATH} \ + SDK_GXX_INCLUDE_PATH=${SDK_GXX_INCLUDE_PATH} \ + emake || die "make uno package failed" + mkdir "${WORKDIR}/${P}" + cp build/oo2-voikko-*uno.pkg impl/doc/Linux_*/ASENNUS.txt \ + linux-installer "${WORKDIR}/${P}" + fi +} + +src_install() { + dodoc ASENNUS.txt + insinto /usr/lib/openoffice/share/ + doins linux-installer + dodir /usr/lib/${P} + insinto /usr/lib/${P} + if use amd64 ; then + doins oo2-voikko-Linux_x86_64-${PV}.uno.pkg + else + doins oo2-voikko-Linux_x86-${PV}.uno.pkg + fi +} + +find_unopkg() { + if has_version '>=app-office/openoffice-bin'; then + if use amd64 ; then + UNOPKG="/usr/lib32/openoffice/program/unopkg" + else + UNOPKG="/usr/lib/openoffice/program/unopkg" + fi + else + UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! + fi +} + +pkg_postinst() { + # N.B.: uno packages meddle with $HOME, let's fool it + HOME="${S}" + find_unopkg + + # select component + if use amd64; then + COMPONENT="${ROOT}/usr/lib/${P}/oo2-voikko-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${ROOT}/usr/lib/${P}/oo2-voikko-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + "${UNOPKG}" add --shared "${COMPONENT}" + if [[ $? == 0 ]] ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn't register Voikko package (${PKG})" + fi + elog "Please note that oo2-voikko is very dependent on ABI compatible " + elog "version of OpenOffice.org to exist on system when removing voikko!" + elog "Before incompatible update or removal of OpenOffice you must" + elog "unmerge oo2-voikko!" +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + die "Couldn't list existing packages" + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: oo2-voikko-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "Voikko package (${PKG}) unregistered succesfully" + else + die "Couldn't uninstall existing Voikko packages" + fi + else + ewarn "Couldn't find existing Voikko packages." + ewarn "You may need to unopkg remove them manually." + fi +} diff --git a/trunk/app-office/oo2-voikko/oo2-voikko-1.1.ebuild b/trunk/app-office/oo2-voikko/oo2-voikko-1.1.ebuild new file mode 100644 index 0000000..28ee72a --- /dev/null +++ b/trunk/app-office/oo2-voikko/oo2-voikko-1.1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +OO_PATCHLEVEL="OOC680" +OO_SRC="OOO_2_0_3" +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="http://www.hunspell-fi.org/files/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko + sys-apps/grep + sys-apps/sed + app-office/openoffice-sdk + !app-office/openoffice-voikko" +# ! app-office/oo2-soikko" +RDEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko" + +pkg_setup() { + ewarn "oo2-voikko is deprecated in favor of openoffice-voikko" + if pidof soffice.bin >/dev/null; then + die "Voikko can’t be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi + if [[ ! -x "${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" ]] ; then + die "Couldn’t find open office SDK settings from \ + ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" + fi + + if has_version app-office/openoffice ; then + if ! built_with_use app-office/openoffice odk ; then + ewarn "OpenOffice should be built with USE flag “odk”" + ewarn "for building uno package from source to work" + fi + fi +} + +src_compile() { + source ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh + echo "OO_SDK_HOME=${OO_SDK_HOME}" + cd "${WORKDIR}/unopkg" + # Variables needed to "export" are used in the *.mk files included +# OO_SDK_HOME=${OO_SDK_HOME} OFFICE_HOME=${OFFICE_HOME} \ +# OO_SDK_NAME=${OO_SDK_NAME} \ +# OO_SDK_MAKE_HOME=${OO_SDK_MAKE_HOME} \ +# OO_SDK_ZIP_HOME=${OO_SDK_ZIP_HOME} \ +# OO_SDK_CPP_HOME=${OO_SDK_CPP_HOME} \ +# OO_SDK_JAVA_HOME=${OO_SDK_JAVA_HOME} \ +# OO_SDK_OUTPUT_DIR=${OO_SDK_OUTPUT_DIR} \ +# SDK_AUTO_DEPLOYMENT=${SDK_AUTO_DEPLOYMENT} \ +# LD_LIBRARY_PATH=${LD_LIBRARY_PATH} PATH=${PATH} \ +# OFFICE_PROGRAM_PATH=${OFFICE_PROGRAM_PATH} \ +# SDK_GXX_INCLUDE_PATH=${SDK_GXX_INCLUDE_PATH} \ + emake || die "make uno package failed" + mkdir "${S}" + cp build/oo2-voikko-*uno.pkg impl/doc/Linux_*/ASENNUS.txt \ + linux-installer "${S}" +} + +src_install() { + cd "${S}" + dodoc ASENNUS.txt + insinto /usr/lib/openoffice/share/ + doins linux-installer + dodir /usr/lib/${P} + insinto /usr/lib/${P} + doins oo2-voikko-Linux*-${PV}.uno.pkg +} + +find_unopkg() { + if has_version '>=app-office/openoffice-bin'; then + if use amd64 ; then + UNOPKG="/usr/lib32/openoffice/program/unopkg" + else + UNOPKG="/usr/lib/openoffice/program/unopkg" + fi + else + UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! + fi +} + +pkg_postinst() { + # N.B.: uno packages meddle with $HOME, let's fool it + HOME="${S}" + cd "${S}" + # Yay, OO.o package installation requires .ooo-2.0 directory from once + # started instance of the program. How fun! + tar jxf "${FILESDIR}/ooo-bootstrap-decoy.tar.bz2" + + find_unopkg + + # select component + if use amd64; then + COMPONENT="${ROOT}/usr/lib/${P}/oo2-voikko-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${ROOT}/usr/lib/${P}/oo2-voikko-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + HOME=${HOME} "${UNOPKG}" add --shared "${COMPONENT}" + if [[ $? == 0 ]] ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn't register Voikko package (${PKG})" + fi + elog "Please note that oo2-voikko is very dependent on ABI compatible " + elog "version of OpenOffice.org to exist on system when removing voikko!" + elog "Before incompatible update or removal of OpenOffice you must" + elog "unmerge oo2-voikko!" +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + ewarn "Couldn't list existing packages..." + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: oo2-voikko-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "Voikko package (${PKG}) unregistered succesfully" + else + die "Couldn't uninstall existing Voikko packages" + fi + else + ewarn "Couldn't find existing Voikko packages." + ewarn "You may need to unopkg remove them manually." + fi +} diff --git a/trunk/app-office/openoffice-sdk/Manifest b/trunk/app-office/openoffice-sdk/Manifest new file mode 100644 index 0000000..e4270f1 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/Manifest @@ -0,0 +1,24 @@ +AUX setsdkenv_unix.csh.gentoo 9617 RMD160 2aee7fa2961828fe90e9f47a5909a55e6d2c35d5 SHA1 b451d28cbab3c9b16e955872d0c0db53cc90b920 SHA256 432e5ca94b6f17a0fee2aee0d39e377e1c3cda1bdbda5ad18ffb52694977d2a3 +MD5 85a15e9501b3452caddb21da6ec587a3 files/setsdkenv_unix.csh.gentoo 9617 +RMD160 2aee7fa2961828fe90e9f47a5909a55e6d2c35d5 files/setsdkenv_unix.csh.gentoo 9617 +SHA256 432e5ca94b6f17a0fee2aee0d39e377e1c3cda1bdbda5ad18ffb52694977d2a3 files/setsdkenv_unix.csh.gentoo 9617 +AUX setsdkenv_unix.sh.gentoo 9221 RMD160 c4950444f0a8d4fd681bf8086b2d1ca9b83ebfd5 SHA1 284f6529244841bcc38bc93aebae5e1d67adc4d8 SHA256 8f8db808429c6a628c46c2d46c504176b4500bd630233b8f41679be685aefab2 +MD5 7eb1daa44a793066d81dc539a82f0335 files/setsdkenv_unix.sh.gentoo 9221 +RMD160 c4950444f0a8d4fd681bf8086b2d1ca9b83ebfd5 files/setsdkenv_unix.sh.gentoo 9221 +SHA256 8f8db808429c6a628c46c2d46c504176b4500bd630233b8f41679be685aefab2 files/setsdkenv_unix.sh.gentoo 9221 +DIST OOo-SDK_2.0_linux_install_en-US.sh 40101497 RMD160 0d7a8480d0c377ee79fd91b650eeef36bd1659b8 SHA1 67b409e16b525aa34f8111bca267791e54dac92c SHA256 e1037ceebccad2ba28c3c7354e1f84da441caad7dca75400c0050b9d8bbf4752 +DIST OOo_2.0.3_LinuxIntel_sdk.sh 39845497 RMD160 fec7a01c81540394928036cdd88cba3d0d8ba96b SHA1 9a3b70fcd8b4574b0e586f26be86ea320801fe7f SHA256 b6848815c674ac65b58b49a65a487c801d8ed763dd1f2d82b27f52995b103a13 +EBUILD openoffice-sdk-2.0.3.ebuild 2698 RMD160 7da50b06f392736ea079e3c1ad05630146344237 SHA1 794723f9ffda81d90b99feb285cf9370760a7122 SHA256 3edcfb3ce111933f5b879b82a82a0d93fa8d0f0dad1c3a00bae6e88425b86aa6 +MD5 6ce9f2b771cfc9601eb5eeff60317f8d openoffice-sdk-2.0.3.ebuild 2698 +RMD160 7da50b06f392736ea079e3c1ad05630146344237 openoffice-sdk-2.0.3.ebuild 2698 +SHA256 3edcfb3ce111933f5b879b82a82a0d93fa8d0f0dad1c3a00bae6e88425b86aa6 openoffice-sdk-2.0.3.ebuild 2698 +EBUILD openoffice-sdk-2.0.4.ebuild 2618 RMD160 258e90393cb246980f4db19c89ae68ff020ff1a2 SHA1 5f82afe642c4f41729d0205afd46ce269d1cf522 SHA256 4a49a644ad1926607adcab8a4fe1284b6a5335a8a310f6076e919a7c342ad793 +MD5 c07f58bf4dd6fbfa27e4191185fec90b openoffice-sdk-2.0.4.ebuild 2618 +RMD160 258e90393cb246980f4db19c89ae68ff020ff1a2 openoffice-sdk-2.0.4.ebuild 2618 +SHA256 4a49a644ad1926607adcab8a4fe1284b6a5335a8a310f6076e919a7c342ad793 openoffice-sdk-2.0.4.ebuild 2618 +MD5 9020d216d63b907ba0564a128717d5f7 files/digest-openoffice-sdk-2.0.3 268 +RMD160 de8ae5b94f256bf620e2b1adb75f3eb75d42fb7e files/digest-openoffice-sdk-2.0.3 268 +SHA256 a3b5134b7f6d9b761015d7f9f176d39dae665e2fa0ab9fcb09b873de0d1e15b9 files/digest-openoffice-sdk-2.0.3 268 +MD5 69f107677b4b2deecdbbb0c46adc17d4 files/digest-openoffice-sdk-2.0.4 289 +RMD160 ce89f6da3d9a3df35e91512439439e9f9d93ade7 files/digest-openoffice-sdk-2.0.4 289 +SHA256 4fb7efa55d28a9344da4d363af460548fe3ca5849271516659fb970d234c5d44 files/digest-openoffice-sdk-2.0.4 289 diff --git a/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.3 b/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.3 new file mode 100644 index 0000000..82b8007 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.3 @@ -0,0 +1,3 @@ +MD5 f35f397dac358a054cd425b2348f258c OOo_2.0.3_LinuxIntel_sdk.sh 39845497 +RMD160 fec7a01c81540394928036cdd88cba3d0d8ba96b OOo_2.0.3_LinuxIntel_sdk.sh 39845497 +SHA256 b6848815c674ac65b58b49a65a487c801d8ed763dd1f2d82b27f52995b103a13 OOo_2.0.3_LinuxIntel_sdk.sh 39845497 diff --git a/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.4 b/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.4 new file mode 100644 index 0000000..ae80502 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/files/digest-openoffice-sdk-2.0.4 @@ -0,0 +1,3 @@ +MD5 ab1e16c666e7063a2c94c430320c7b2a OOo-SDK_2.0_linux_install_en-US.sh 40101497 +RMD160 0d7a8480d0c377ee79fd91b650eeef36bd1659b8 OOo-SDK_2.0_linux_install_en-US.sh 40101497 +SHA256 e1037ceebccad2ba28c3c7354e1f84da441caad7dca75400c0050b9d8bbf4752 OOo-SDK_2.0_linux_install_en-US.sh 40101497 diff --git a/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.csh.gentoo b/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.csh.gentoo new file mode 100644 index 0000000..48b2b58 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.csh.gentoo @@ -0,0 +1,269 @@ +#! /usr/bin/csh + +# This script sets all enviroment variables, which are necessary for building +# the examples of the Office Development Kit. +# The Script was developed for the operating systems Solaris and Linux. +set setscript=`history 1 | sed "s/.*source //"` +set sdkdir=`dirname ${bla}` +unset setscript + +# The SDK name +setenv OO_SDK_NAME odk + +# Installation directory of the Software Development Kit. +# Example: setenv OO_SDK_HOME /work/StarOffice_SDK +setenv OO_SDK_HOME @OO_SDK_HOME@ + +# Office installation directory. +# Example: setenv OFFICE_HOME /opt/staroffice +set OFFICE_HOME=@OFFICE_HOME@ + +# URE installation directory. +# Example: setenv OO_SDK_URE_HOME /opt/openoffice.org/ure +setenv OO_SDK_URE_HOME @OO_SDK_URE_HOME@ + +# Directory of the make command. +# Example: setenv OO_SDK_MAKE_HOME /usr/bin +setenv OO_SDK_MAKE_HOME @OO_SDK_MAKE_HOME@ + +# Directory of the zip command. +# Example: setenv OO_SDK_ZIP_HOME /usr/bin +setenv OO_SDK_ZIP_HOME @OO_SDK_ZIP_HOME@ + +# Directory of the C++ compiler. +# Example: setenv OO_SDK_CPP_HOME /usr/bin +setenv OO_SDK_CPP_HOME @OO_SDK_CPP_HOME@ + +# Solaris only +#setenv OO_SDK_CC_55_OR_HIGHER @OO_SDK_CC_55_OR_HIGHER@ + +# Directory of the Java SDK. +# Example: setenv OO_SDK_JAVA_HOME "/usr/local/j2sdk1.4.1_01" +setenv OO_SDK_JAVA_HOME @OO_SDK_JAVA_HOME@ + +# Special output directory +# Example: setenv OO_SDK_OUTPUT_DIR "$HOME" +setenv OO_SDK_OUTPUT_DIR . + +# Environment variable to enable auto deployment of example components +# Example: set SDK_AUTO_DEPLOYMENT=YES +setenv SDK_AUTO_DEPLOYMENT YES + +# Set office program path. +if ( "${OFFICE_HOME}" != "" ) then + setenv OFFICE_PROGRAM_PATH "${OFFICE_HOME}/program" +endif + +# Set UNO path, necessary to ensure that the cpp examples using the +# new UNO bootstrap mechanism use the configured office installation. +if ( ${?OFFICE_PROGRAM_PATH} ) then + setenv UNO_PATH "${OFFICE_PROGRAM_PATH}" +endif + +if ( "${OO_SDK_URE_HOME}" != "" ) then + setenv OO_SDK_URE_BIN_DIR "${OO_SDK_URE_HOME}/bin" + setenv OO_SDK_URE_LIB_DIR "${OO_SDK_URE_HOME}/lib" + setenv OO_SDK_URE_JAVA_DIR "${OO_SDK_URE_HOME}/share/java" +else + setenv OO_SDK_URE_BIN_DIR "${OFFICE_PROGRAM_PATH}" + setenv OO_SDK_URE_LIB_DIR "${OFFICE_PROGRAM_PATH}" + setenv OO_SDK_URE_JAVA_DIR "${OFFICE_PROGRAM_PATH}/classes" +endif + +# Set SDK example output directory +setenv OO_EXAMPLE_OUT ${OO_SDK_HOME} +if ( $?OO_SDK_OUTPUT_DIR ) then + setenv OO_EXAMPLE_OUT ${OO_SDK_OUTPUT_DIR}/${OO_SDK_NAME} +endif + +# check platform and set appropriate variables +switch (`/usr/share/automake/config.guess | cut -d"-" -f3,4`) + case "solaris*": + if ( `/usr/share/automake/config.guess | cut -d"-" -f1` == "sparc" ) then + set directoryname=solsparc + set platform=Solaris Sparc + else + set directoryname=solintel + set platform=Solaris Intel + endif + set comid=C52 + set pltfrm=sunpro + set soext=so + set exampleout=SOLARISexample.out + + # set LD_LIBRARY_PATH + if ( $?LD_LIBARY_PATH == 0) then + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:. + else + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} + endif + breaksw + + case "linux-gnu": + if ( $?OO_SDK_CPP_HOME == 0) then + set sdk_gxx_include_path=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + setenv SDK_GXX_INCLUDE_PATH ${sdk_gxx_include_path} + endif + + set directoryname=linux + set comid=gcc3 + set pltfrm=gcc + set soext=dylib + set exampleout=LINUXexample.out + set platform=Linux + + # set LD_LIBRARY_PATH + if ( $?LD_LIBARY_PATH == 0) then + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:. + else + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} + endif + breaksw + + case "darwin*": + if ( $?OO_SDK_CPP_HOME == 0) then + set sdk_gxx_include_path=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + setenv SDK_GXX_INCLUDE_PATH ${sdk_gxx_include_path} + endif + + set directoryname=macosx + set comid=gcc3 + set pltfrm=gcc + set soext=so + set exampleout=MACOSXexample.out + set platform=MacOSX + + # set DYLD_LIBRARY_PATH + if ( $?DYLD_LIBRARY_PATH == 0) then + setenv DYLD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:. + else + setenv DYLD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${DYLD_LIBRARY_PATH} + endif + breaksw + + case "freebsd*": + if ( $?OO_SDK_CPP_HOME == 0) then + set sdk_gxx_include_path=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + setenv SDK_GXX_INCLUDE_PATH ${sdk_gxx_include_path} + endif + + set directoryname=freebsd + set comid=gcc3 + set pltfrm=gcc + set soext=so + set exampleout=FREEBSDexample.out + set platform=FreeBSD + + # set LD_LIBRARY_PATH + if ( $?LD_LIBARY_PATH == 0) then + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:. + else + setenv LD_LIBRARY_PATH ${OO_SDK_HOME}/${directoryname}/lib:${OO_EXAMPLE_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} + endif + + if ( -e "/sbin/sysctl" ) then + set OSVERSION=`/sbin/sysctl -n kern.osreldate` + else + set OSVERSION=`/usr/sbin/sysctl -n kern.osreldate` + endif + + if ( ${OSVERSION} < 500016 ) then + setenv PTHREAD_CFLAGS -D_THREAD_SAFE + setenv PTHREAD_LIBS -pthread + else if ( ${OSVERSION} < 502102 ) then + setenv PTHREAD_CFLAGS -D_THREAD_SAFE + setenv PTHREAD_LIBS -lc_r + else + setenv PTHREAD_LIBS -pthread + endif + breaksw +endsw + +# set PATH +if ( $?PATH == 0) then + setenv PATH ${OO_SDK_ZIP_HOME}:${OO_SDK_MAKE_HOME}:${OO_SDK_HOME}/${directoryname}/bin:${OO_EXAMPLE_OUT}/${exampleout}:${OO_SDK_URE_BIN_DIR}:. +else + setenv PATH ${OO_SDK_ZIP_HOME}:${OO_SDK_MAKE_HOME}:${OO_SDK_HOME}/${directoryname}/bin:${OO_EXAMPLE_OUT}/${exampleout}:${OO_SDK_URE_BIN_DIR}:.:${PATH} +endif + +# Set CLASSPATH +if ( ${?OFFICE_PROGRAM_PATH} ) then + if ( $[?CLASSPATH} == 0 ) then + setenv CLASSPATH "${OFFICE_PROGRAM_PATH}/classes/unoil.jar" + else + setenv CLASSPATH "${OFFICE_PROGRAM_PATH}/classes/unoil.jar:${CLASSPATH}" + endif +endif +if ( $?CLASSPATH == 0) then + setenv CLASSPATH "${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar" +else + setenv CLASSPATH "${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar:${CLASSPATH}" +endif + +if ( $?OO_SDK_CPP_HOME == 0) then + setenv PATH ${OO_SDK_CPP_HOME}:${PATH} +endif + +if ( $?OO_SDK_JAVA_HOME == 0) then + setenv PATH ${OO_SDK_JAVA_HOME}:${PATH} +# setenv UNO_JAVA_JFW_JREHOME `sp2bv $OO_SDK_JAVA_HOME` +# setenv UNO_JAVA_JFW_ENV_CLASSPATH true +# setenv UNO_JAVA_JFW_VENDOR_SETTINGS `sp2bv $OFFICE_HOME/share/config/javavendors.xml` +endif + +# For URE, prepare symbolic links for libraries: +#rm -f "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppu.so" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_sal.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libstlport_${pltfrm}.${soext}" +#if ( "${OO_SDK_URE_HOME}" != "" ) then +# mkdir -p "${OO_SDK_HOME}/${directoryname}/lib" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppu.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_sal.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libstlport_${pltfrm}.${soext}" +#endif + +echo +echo " ************************************************************************" +echo " *" +echo " * SDK environment is prepared for ${platform}" +echo " *" +echo " * SDK = ${OO_SDK_HOME}" +echo " * Office = ${OFFICE_HOME}" +echo " * URE = ${OO_SDK_URE_HOME}" +echo " * Make = ${OO_SDK_MAKE_HOME}" +echo " * Zip = ${OO_SDK_ZIP_HOME}" +if ( $?OO_SDK_CPP_HOME == 0) then +echo " * C++ Compiler = " +else +echo " * C++ Compiler = ${OO_SDK_CPP_HOME}" +endif +if ( $?OO_SDK_JAVA_HOME == 0) then +echo " * Java = " +else +echo " * Java = ${OO_SDK_JAVA_HOME}" +endif +if ( $?OO_SDK_OUTPUT_DIR == 0) then +echo " * Special Output directory = " +else +echo " * Special Output directory = ${OO_SDK_OUTPUT_DIR}" +endif +echo " * Auto deployment = ${SDK_AUTO_DEPLOYMENT}" +echo " *" +echo " ************************************************************************" + +unset sdkdir +unset directoryname +unset comid +unset exampleout +unset platform + +echo "]2;Shell prepared with the SDK environment" diff --git a/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.sh.gentoo b/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.sh.gentoo new file mode 100644 index 0000000..b8a0b86 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/files/setsdkenv_unix.sh.gentoo @@ -0,0 +1,304 @@ +#! /bin/sh + +# This script starts a new shell and sets all enviroment variables, which +# are necessary for building the examples of the Office Development Kit. +# The Script was developed for the operating systems Solaris and Linux. +sdkscript=`echo $0 | grep setsdkenv_unix` +if [ "$sdkscript" = "" ] +then +sdkscript=`history 1 | sed "s/.*\. //"` +fi +sdkdir=`dirname $sdkscript` + +# The SDK name +OO_SDK_NAME=odk +export OO_SDK_NAME + +# Installation directory of the Software Development Kit. +# Example: OO_SDK_HOME=/work/StarOffice_SDK +OO_SDK_HOME=@OO_SDK_HOME@ + +# Office installation directory. +# Example: OFFICE_HOME=/opt/staroffice +OFFICE_HOME=@OFFICE_HOME@ + +# URE installation directory. +# Example: OO_SDK_URE_HOME=/opt/openoffice.org/ure +#OO_SDK_URE_HOME= +#export OO_SDK_URE_HOME + +# Directory of the make command. +# Example: OO_SDK_MAKE_HOME=/usr/bin +OO_SDK_MAKE_HOME=@OO_SDK_MAKE_HOME@ + +# Directory of the zip command. +# Example: OO_SDK_ZIP_HOME=/usr/bin +OO_SDK_ZIP_HOME=@OO_SDK_ZIP_HOME@ + +# Directory of the C++ compiler. +# Example: OO_SDK_CPP_HOME=/usr/bin +OO_SDK_CPP_HOME=@OO_SDK_CPP_HOME@ + +# Solaris only +#OO_SDK_CC_55_OR_HIGHER=@OO_SDK_CC_55_OR_HIGHER@ + +# Directory of the Java SDK. +# Example: OO_SDK_JAVA_HOME=/usr/local/j2sdk1.4.1_01 +OO_SDK_JAVA_HOME=@OO_SDK_JAVA_HOME@ + +# Special output directory +# Example: OO_SDK_OUTPUT_DIR=$HOME +OO_SDK_OUTPUT_DIR=. + +# Environment variable to enable auto deployment of example components +# Example: SDK_AUTO_DEPLOYMENT=YES +SDK_AUTO_DEPLOYMENT=YES +export SDK_AUTO_DEPLOYMENT + +# Check installation path for the StarOffice Development Kit. +if [ -z "$OO_SDK_HOME" ] +then + echo Error: Please insert a correct value for the variable OO_SDK_HOME. + exit 0 +fi + +export OO_SDK_HOME + +# Check installation path for the office. +if [ -z "${OFFICE_HOME}" ] && [ -z "${OO_SDK_URE_HOME}" ] +then + echo 'Error: Please set either the environment variable OFFICE_HOME or the' + echo 'environment variable OO_SDK_URE_HOME.' + exit 0 +fi + +# Set office program path (only set when using an Office). +if [ "${OFFICE_HOME}" ] +then + OFFICE_PROGRAM_PATH=${OFFICE_HOME}/program + export OFFICE_PROGRAM_PATH +fi + +# Set UNO path, necessary to ensure that the cpp examples using the +# new UNO bootstrap mechanism use the configured office installation (only set +# when using an Office). +if [ "${OFFICE_HOME}" ] +then + UNO_PATH=${OFFICE_PROGRAM_PATH} + export UNO_PATH +fi + +if [ "${OO_SDK_URE_HOME}" ] +then + OO_SDK_URE_BIN_DIR=${OO_SDK_URE_HOME}/bin + OO_SDK_URE_LIB_DIR=${OO_SDK_URE_HOME}/lib + OO_SDK_URE_JAVA_DIR=${OO_SDK_URE_HOME}/share/java +else + OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_LIB_DIR=${OFFICE_PROGRAM_PATH} + OO_SDK_URE_JAVA_DIR=${OFFICE_PROGRAM_PATH}/classes +fi +export OO_SDK_URE_BIN_DIR +export OO_SDK_URE_LIB_DIR +export OO_SDK_URE_JAVA_DIR + +OO_EXAMPLE_OUT=$OO_SDK_HOME +# Prepare appropriate output directory. +if [ -n "$OO_SDK_OUTPUT_DIR" ] +then + OO_EXAMPLE_OUT=$OO_SDK_OUTPUT_DIR/$OO_SDK_NAME + export OO_SDK_OUTPUT_DIR +fi + +# Get the operating system. +sd_platform=`/usr/share/automake/config.guess | cut -d"-" -f3,4` + +# Set the directory name. +case $sd_platform in + solaris*) + sd_proctype=`/usr/share/automake/config.guess | cut -d"-" -f1` + if [ "$sd_proctype" = "sparc" ] + then + directoryname=solsparc + platform='Solaris Sparc' + else + directoryname=solintel + platform='Solaris x86' + fi + comid=C52 + pltfrm=sunpro + soext=so + exampleout=SOLARISexample.out + LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_EXAMPLE_OUT/$exampleout/lib:${OO_SDK_URE_LIB_DIR}:.:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + ;; + + darwin*) + if [ -n "$OO_SDK_CPP_HOME" ] + then + SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | $OO_SDK_CPP_HOME/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + export SDK_GXX_INCLUDE_PATH + fi + + directoryname=macosx + comid=gcc3 + pltfrm=gcc + soext=dylib + exampleout=MACOSXexample.out + platform=MacOSX + DYLD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_EXAMPLE_OUT/$exampleout/lib:${OO_SDK_URE_LIB_DIR}:.:$DYLD_LIBRARY_PATH + export DYLD_LIBRARY_PATH + ;; + + linux-gnu) + if [ -n "$OO_SDK_CPP_HOME" ] + then + SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | $OO_SDK_CPP_HOME/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + export SDK_GXX_INCLUDE_PATH + fi + + directoryname=linux + comid=gcc3 + pltfrm=gcc + soext=so + exampleout=LINUXexample.out + platform=Linux + LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_EXAMPLE_OUT/$exampleout/lib:${OO_SDK_URE_LIB_DIR}:.:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + ;; + + freebsd*) + if [ -n "$OO_SDK_CPP_HOME" ] + then + SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | $OO_SDK_CPP_HOME/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` + export SDK_GXX_INCLUDE_PATH + fi + + directoryname=freebsd + comid=gcc3 + pltfrm=gcc + soext=so + exampleout=FREEBSDexample.out + platform=FreeBSD + LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_EXAMPLE_OUT/$exampleout/lib:${OO_SDK_URE_LIB_DIR}:.:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH + + if [ -e "/sbin/sysctl" ] + then + OSVERSION=`/sbin/sysctl -n kern.osreldate` + else + OSVERSION=`/usr/sbin/sysctl -n kern.osreldate` + fi + if [ $OSVERSION -lt 500016 ] + then + PTHREAD_CFLAGS=-D_THREAD_SAFE + PTHREAD_LIBS=-pthread + export PTHREAD_CFLAGS + export PTHREAD_LIBS + elif [ $OSVERSION -lt 502102 ] + then + PTHREAD_CFLAGS=-D_THREAD_SAFE + PTHREAD_LIBS=-lc_r + export PTHREAD_CFLAGS + export PTHREAD_LIBS + else + PTHREAD_LIBS=-pthread + export PTHREAD_LIBS + fi + ;; +esac + +# Add directory of the SDK tools to the path. +PATH=$OO_SDK_HOME/$directoryname/bin:$OO_EXAMPLE_OUT/$exampleout/bin:${OO_SDK_URE_BIN_DIR}:.:$PATH + +# Set the classpath +CLASSPATH=${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar${OFFICE_PROGRAM_PATH+:${OFFICE_PROGRAM_PATH}/classes/unoil.jar}${CLASSPATH+:${CLASSPATH}} +export CLASSPATH + + +# Add directory of the command make to the path, if necessary. +if [ -n "$OO_SDK_MAKE_HOME" ] +then + PATH=$OO_SDK_MAKE_HOME:$PATH + export OO_SDK_MAKE_HOME +fi + +# Add directory of the zip tool to the path, if necessary. +if [ -n "$OO_SDK_ZIP_HOME" ] +then + PATH=$OO_SDK_ZIP_HOME:$PATH + export OO_SDK_ZIP_HOME +fi + +# Add directory of the C++ tools to the path, if necessary. +if [ -n "$OO_SDK_CPP_HOME" ] +then + PATH=$OO_SDK_CPP_HOME:$PATH + export OO_SDK_CPP_HOME + + if [ -n "$OO_SDK_CC_55_OR_HIGHER" ] + then + export OO_SDK_CC_55_OR_HIGHER + fi +fi + +# Add directory of the Java tools to the path, if necessary. +if [ -n "$OO_SDK_JAVA_HOME" ] +then + PATH=$OO_SDK_JAVA_HOME/bin:$PATH +# JAVA_HOME=$OO_SDK_JAVA_HOME +# export JAVA_HOME + export OO_SDK_JAVA_HOME + + export PATH +# UNO_JAVA_JFW_JREHOME=`sp2bv $OO_SDK_JAVA_HOME` +# UNO_JAVA_JFW_ENV_CLASSPATH=true +# UNO_JAVA_JFW_VENDOR_SETTINGS=`sp2bv $OFFICE_HOME/share/config/javavendors.xml` +# export UNO_JAVA_JFW_JREHOME +# export UNO_JAVA_JFW_ENV_CLASSPATH +# export UNO_JAVA_JFW_VENDOR_SETTINGS +fi + +export PATH + +# For URE, prepare symbolic links for libraries: +#rm -f "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppu.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_sal.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libstlport_${pltfrm}.${soext}" +#if [ "${OO_SDK_URE_HOME}" ] +#then +# mkdir -p "${OO_SDK_HOME}/${directoryname}/lib" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppu.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_sal.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" +# ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}.${soext}" \ +# "${OO_SDK_HOME}/${directoryname}/lib/libstlport_${pltfrm}.${soext}" +#fi + +# Prepare shell with all necessary environment variables. +echo +echo " ************************************************************************" +echo " *" +echo " * SDK environment is prepared for ${platform}" +echo " *" +echo " * SDK = $OO_SDK_HOME" +echo " * Office = $OFFICE_HOME" +echo " * URE = $OO_SDK_URE_HOME" +echo " * Make = $OO_SDK_MAKE_HOME" +echo " * Zip = $OO_SDK_ZIP_HOME" +echo " * C++ Compiler = $OO_SDK_CPP_HOME" +echo " * Java = $OO_SDK_JAVA_HOME" +echo " * Special Output directory = $OO_SDK_OUTPUT_DIR" +echo " * Auto deployment = $SDK_AUTO_DEPLOYMENT" +echo " *" +echo " ************************************************************************" + +echo "]2;Shell prepared with the SDK environment" + diff --git a/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.3.ebuild b/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.3.ebuild new file mode 100644 index 0000000..be2f8fb --- /dev/null +++ b/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Software Development Kit addition to OpenOffice.Org" +HOMEPAGE="http://download.openoffice.org/2.0.3/sdk.html" +SRC_URI="http://mirrors.dotsrc.org/openoffice/stable/${PV}_sdk/OOo_${PV}_LinuxIntel_sdk.sh" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="java" + +DEPEND="|| ( >app-office/openoffice-2 >app-office/openoffice-bin-2 ) + sys-apps/sed + >app-arch/zip-2.3 + || ( app-arch/rpm2targz ) + java? ( >dev-java/sun-jdk-1.4.1.01 ) + " +RDEPEND="|| ( >app-office/openoffice-2 >app-office/openoffice-bin-2 ) + >app-arch/zip-2.3 + " + +src_unpack() { + mkdir "${S}" + cd "${S}" + # check line number from sh on update + tail --lines=+88 "${DISTDIR}/OOo_${PV}_LinuxIntel_sdk.sh" | tar xf - + assert + cd RPMS + rpm2targz openoffice.org-sdk-${PV}-?.i586.rpm || \ + die "Unable to unrpm" + tar zxpf openoffice.org-sdk-${PV}-?.i586.tar.gz || \ + die "Unable to untar" + cd opt/openoffice.org2.0_sdk + OO_SDK_JAVA_HOME="" + if has_version dev-java/sun-jdk && use java ; then + jdk_version=$(best_version dev-java/sun-jdk) + OO_SDK_JAVA_HOME="${ROOT}/opt/sun-jdk-${jdk_version/-r?/}" + fi + sed -e "s:@OO_SDK_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OFFICE_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OO_SDK_ZIP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_CPP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_MAKE_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_JAVA_HOME@:${OO_SDK_JAVA_HOME}:g" \ + -e "s:/usr/share/automake:${ROOT}/usr/share/automake:g" \ + "${FILESDIR}/setsdkenv_unix.sh.gentoo" > setsdkenv_unix.sh + sed -e "s:@OO_SDK_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OFFICE_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OO_SDK_ZIP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_CPP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_MAKE_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_JAVA_HOME@:${OO_SDK_JAVA_HOME}:g" \ + -e "s:/usr/share/automake:${ROOT}/usr/share/automake:g" \ + "${FILESDIR}/setsdkenv_unix.csh.gentoo" > setsdkenv_unix.csh +} + +src_install() { + dodir /usr/lib/openoffice + insinto /usr/lib/openoffice + cd "${S}/RPMS/opt/openoffice.org2.0_sdk/" + doins -r classes examples idl linux settings xml include + doins config.* + dodoc index.html README{,.html} + dodir /usr/share/doc/${PF} + insinto /usr/share/doc/${PF} + doins -r docs + insinto /usr/lib/openoffice/program/ + doins setsdkenv_unix* configure.pl + fperms a+x /usr/lib/openoffice/program/setsdkenv_unix.{c,}sh + fperms a+x /usr/lib/openoffice/config.* + fperms a+x /usr/lib/openoffice/linux/bin/* +} + +src_postinst() { + elog "SDK environment variable setup scripts were installed in: " + elog " ${ROOT}/usr/lib/openoffice/program" +} diff --git a/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.4.ebuild b/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.4.ebuild new file mode 100644 index 0000000..92eb674 --- /dev/null +++ b/trunk/app-office/openoffice-sdk/openoffice-sdk-2.0.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit java-pkg-opt-2 + +OOI_SCRIPT="OOo-SDK_2.0_linux_install_en-US.sh" +DESCRIPTION="Software Development Kit addition to OpenOffice.Org" +HOMEPAGE="http://download.openoffice.org/2.0.3/sdk.html" +SRC_URI="http://mirrors.dotsrc.org/openoffice/stable/${PV}_sdk/${OOI_SCRIPT}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="|| ( >app-office/openoffice-2 >app-office/openoffice-bin-2 ) + sys-apps/sed + >app-arch/zip-2.3 + || ( app-arch/rpm2targz ) + " +RDEPEND="|| ( >app-office/openoffice-2 >app-office/openoffice-bin-2 ) + >app-arch/zip-2.3 + " + +src_unpack() { + mkdir "${S}" + cd "${S}" + # check line number from sh on update + tail --lines=+88 "${DISTDIR}/${OOI_SCRIPT}" | tar xf - + assert + cd RPMS + rpm2targz openoffice.org-sdk-${PV}-?.i586.rpm || \ + die "Unable to unrpm" + tar zxpf openoffice.org-sdk-${PV}-?.i586.tar.gz || \ + die "Unable to untar" + cd opt/openoffice.org2.0_sdk + sed -e "s:@OO_SDK_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OFFICE_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OO_SDK_ZIP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_CPP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_MAKE_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_JAVA_HOME@:${JAVA_HOME}:g" \ + -e "s:/usr/share/automake:${ROOT}/usr/share/automake:g" \ + "${FILESDIR}/setsdkenv_unix.sh.gentoo" > setsdkenv_unix.sh + sed -e "s:@OO_SDK_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OFFICE_HOME@:${ROOT}/usr/lib/openoffice:g" \ + -e "s:@OO_SDK_ZIP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_CPP_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_MAKE_HOME@:${ROOT}/usr/bin:g" \ + -e "s:@OO_SDK_JAVA_HOME@:${JAVA_HOME}:g" \ + -e "s:/usr/share/automake:${ROOT}/usr/share/automake:g" \ + "${FILESDIR}/setsdkenv_unix.csh.gentoo" > setsdkenv_unix.csh +} + +src_install() { + # tools, examples & api docs + dodir /usr/lib/openoffice + insinto /usr/lib/openoffice + cd "${S}/RPMS/opt/openoffice.org2.0_sdk/" + doins -r classes examples idl linux settings xml include + doins config.* + for f in config.* linux/bin/* ; do + fperms a+x /usr/lib/openoffice/${f} || die "fperms failed" + done + + # docs + dodoc index.html README{,.html} + dodir /usr/share/doc/${PF} + insinto /usr/share/doc/${PF} + doins -r docs + + # SDK env. + insinto /usr/lib/openoffice/program/ + doins setsdkenv_unix* configure.pl + for f in setsdkenv_unix{,.sh,.csh} ; do + fperms a+x /usr/lib/openoffice/program/${f} || die "fperms failed" + done +} + +src_postinst() { + elog "SDK environment variable setup scripts were installed in: " + elog " ${ROOT}/usr/lib/openoffice/program" +} diff --git a/trunk/app-office/openoffice-voikko/Manifest b/trunk/app-office/openoffice-voikko/Manifest new file mode 100644 index 0000000..c19cd1c --- /dev/null +++ b/trunk/app-office/openoffice-voikko/Manifest @@ -0,0 +1,31 @@ +AUX ooo-2.0-home.tar.bz2 9966 RMD160 75e687e207d60291d32f6accaa526c74984b073c SHA1 d1495be0eaa1ce1394417d21f3b9db526d17b89e SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 +MD5 5f0a3f813a9ab90831a938fdfbf0875d files/ooo-2.0-home.tar.bz2 9966 +RMD160 75e687e207d60291d32f6accaa526c74984b073c files/ooo-2.0-home.tar.bz2 9966 +SHA256 f5c716bf2bd2b31be84dcdcd2f7d05ca4df560dbbe7f1a4f1ceab645d69600a7 files/ooo-2.0-home.tar.bz2 9966 +AUX openoffice-voikko-1.1-r1-stlport.patch 400 RMD160 03f7cf433424fd600c84ffc9bc5b1095757abaae SHA1 87b3ce7065150c5749c940dd34fa353f0b2b3f38 SHA256 e460eb62e259737848df90e19b9a7242fe84b692b1dd7513abb95a750b44b481 +MD5 b535ac6b02726b8fe919c02e0b039bb7 files/openoffice-voikko-1.1-r1-stlport.patch 400 +RMD160 03f7cf433424fd600c84ffc9bc5b1095757abaae files/openoffice-voikko-1.1-r1-stlport.patch 400 +SHA256 e460eb62e259737848df90e19b9a7242fe84b692b1dd7513abb95a750b44b481 files/openoffice-voikko-1.1-r1-stlport.patch 400 +DIST oo2-voikko-1.1.tar.gz 52682 RMD160 e5138b4143ff451fa69a69275bc280155169553f SHA1 0b538cc9cc75a052e890b0e883194a29528f6575 SHA256 2b70c1099615c67010b0705fb729e1dce506ec624032e9cd45bbecffb679f12b +DIST openoffice.org-voikko-1.2.tar.gz 53091 RMD160 8b6043d1ef65a20da6a83afc107f42b805ebfeb5 SHA1 19c487031be89a702d9f6d47ca57ff3609defc2a SHA256 0b6d97e4ad3da2bd5c7388231365dbc71e9c6a8a8c71904ccde447de0aae07c1 +EBUILD openoffice-voikko-1.1-r1.ebuild 4721 RMD160 7abd103479db12c4843df24347af692548c9f343 SHA1 33652fbca4882d59c29972a311e01f64bf34b710 SHA256 dfa2e752da6dea504e75a3581089dfba1f552de89137b152db8b651c4bbd95ad +MD5 42ab035866af83ed9603878b4637b201 openoffice-voikko-1.1-r1.ebuild 4721 +RMD160 7abd103479db12c4843df24347af692548c9f343 openoffice-voikko-1.1-r1.ebuild 4721 +SHA256 dfa2e752da6dea504e75a3581089dfba1f552de89137b152db8b651c4bbd95ad openoffice-voikko-1.1-r1.ebuild 4721 +EBUILD openoffice-voikko-1.2.ebuild 4509 RMD160 16148fb3af4aa15ca7d55565fddd3a47f41b4574 SHA1 49f0fa09eca998ab5b2eded88c481f7325c65b6d SHA256 641beed992e1dd13e7b4de58372291c37dd8f8ec7229d9bc328b9a003aa80465 +MD5 95e5eb56358d3d0975c80623174d80ba openoffice-voikko-1.2.ebuild 4509 +RMD160 16148fb3af4aa15ca7d55565fddd3a47f41b4574 openoffice-voikko-1.2.ebuild 4509 +SHA256 641beed992e1dd13e7b4de58372291c37dd8f8ec7229d9bc328b9a003aa80465 openoffice-voikko-1.2.ebuild 4509 +EBUILD openoffice-voikko-9999.ebuild 4681 RMD160 4bc67ee30edb5983e5733587e78ab11fc4c0e51b SHA1 017dbc437dde110599f474f189c725556a4d590b SHA256 86f5558312c6648a4e2cffb745a4998a08d124fe80196c53ac75c9eec0dad28c +MD5 f0cb2663bd0e8ae4b9ec457d52d242a8 openoffice-voikko-9999.ebuild 4681 +RMD160 4bc67ee30edb5983e5733587e78ab11fc4c0e51b openoffice-voikko-9999.ebuild 4681 +SHA256 86f5558312c6648a4e2cffb745a4998a08d124fe80196c53ac75c9eec0dad28c openoffice-voikko-9999.ebuild 4681 +MD5 67926811dffb31efd8c84c6c20408a90 files/digest-openoffice-voikko-1.1-r1 241 +RMD160 d523826df957ee33a09ce13dc1f41beea8a827d1 files/digest-openoffice-voikko-1.1-r1 241 +SHA256 079e95f5d837133bbd8f23217e37a2bebdcddd32e3ef5d76437b192520865a68 files/digest-openoffice-voikko-1.1-r1 241 +MD5 cb14a32dd8fec164c1f1fc20b911fc2a files/digest-openoffice-voikko-1.2 274 +RMD160 6fd637df0b25786e6d6f180be7a2d99016f0f917 files/digest-openoffice-voikko-1.2 274 +SHA256 00bdba7ead53314543d801675f2199e91bd1fc8ade696588064a491b8ce7d3f2 files/digest-openoffice-voikko-1.2 274 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-openoffice-voikko-9999 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-openoffice-voikko-9999 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-openoffice-voikko-9999 1 diff --git a/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.1-r1 b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.1-r1 new file mode 100644 index 0000000..e0f5918 --- /dev/null +++ b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.1-r1 @@ -0,0 +1,3 @@ +MD5 3da94ad217ddc2bc33ae93595479c401 oo2-voikko-1.1.tar.gz 52682 +RMD160 e5138b4143ff451fa69a69275bc280155169553f oo2-voikko-1.1.tar.gz 52682 +SHA256 2b70c1099615c67010b0705fb729e1dce506ec624032e9cd45bbecffb679f12b oo2-voikko-1.1.tar.gz 52682 diff --git a/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.2 b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.2 new file mode 100644 index 0000000..6719b6b --- /dev/null +++ b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-1.2 @@ -0,0 +1,3 @@ +MD5 c3e92e028cbb84327cbf40e84004d9e1 openoffice.org-voikko-1.2.tar.gz 53091 +RMD160 8b6043d1ef65a20da6a83afc107f42b805ebfeb5 openoffice.org-voikko-1.2.tar.gz 53091 +SHA256 0b6d97e4ad3da2bd5c7388231365dbc71e9c6a8a8c71904ccde447de0aae07c1 openoffice.org-voikko-1.2.tar.gz 53091 diff --git a/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-9999 b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-9999 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/trunk/app-office/openoffice-voikko/files/digest-openoffice-voikko-9999 @@ -0,0 +1 @@ + diff --git a/trunk/app-office/openoffice-voikko/files/ooo-2.0-home.tar.bz2 b/trunk/app-office/openoffice-voikko/files/ooo-2.0-home.tar.bz2 Binary files differnew file mode 100644 index 0000000..5ca0d5d --- /dev/null +++ b/trunk/app-office/openoffice-voikko/files/ooo-2.0-home.tar.bz2 diff --git a/trunk/app-office/openoffice-voikko/files/openoffice-voikko-1.1-r1-stlport.patch b/trunk/app-office/openoffice-voikko/files/openoffice-voikko-1.1-r1-stlport.patch new file mode 100644 index 0000000..7e09091 --- /dev/null +++ b/trunk/app-office/openoffice-voikko/files/openoffice-voikko-1.1-r1-stlport.patch @@ -0,0 +1,11 @@ +--- trunk/unopkg/Makefile (revision 483) ++++ trunk/unopkg/Makefile (working copy) +@@ -142,7 +142,7 @@ + $(LF_SLO) : $(LF_SLOFILES) + -$(MKDIR) $(subst /,$(PS),$(@D)) + $(LINK) $(COMP_LINK_FLAGS) $(LINK_LIBS) -o $@ $^ \ +- $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB) $(STLPORTLIB) ++ $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB) + endif + + $(LF_OUTDIR)/pkg/META-INF/manifest.xml : diff --git a/trunk/app-office/openoffice-voikko/openoffice-voikko-1.1-r1.ebuild b/trunk/app-office/openoffice-voikko/openoffice-voikko-1.1-r1.ebuild new file mode 100644 index 0000000..f41ce97 --- /dev/null +++ b/trunk/app-office/openoffice-voikko/openoffice-voikko-1.1-r1.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://www.lemi.fi/voikko/" +#SRC_URI="http://www.hunspell-fi.org/files/${P}.tar.gz" +SRC_URI="http://www.hunspell-fi.org/files/oo2-voikko-1.1.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko + sys-apps/grep + sys-apps/sed + app-office/openoffice-sdk + !app-office/oo2-voikko" +# ! app-office/oo2-soikko" +RDEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko" + +#UNONAME=${PN/office-voikko/office.org-voikko} +UNONAME=oo2-voikko + +pkg_setup() { + if pidof soffice.bin >/dev/null; then + die "Voikko can’t be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi + if [[ ! -x "${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" ]] ; then + die "Couldn’t find open office SDK settings from \ + ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" + fi + + if has_version app-office/openoffice ; then + if ! built_with_use app-office/openoffice odk ; then + ewarn "OpenOffice should be built with USE flag “odk”" + ewarn "for building uno package from source to work" + fi + fi +} + +src_compile() { + source ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh + echo "OO_SDK_HOME=${OO_SDK_HOME}" + cd "${WORKDIR}/unopkg" + sed -i s/\\\$\(STLPORTLIB\)//g Makefile + # Variables needed to "export" are used in the *.mk files included +# OO_SDK_HOME=${OO_SDK_HOME} OFFICE_HOME=${OFFICE_HOME} \ +# OO_SDK_NAME=${OO_SDK_NAME} \ +# OO_SDK_MAKE_HOME=${OO_SDK_MAKE_HOME} \ +# OO_SDK_ZIP_HOME=${OO_SDK_ZIP_HOME} \ +# OO_SDK_CPP_HOME=${OO_SDK_CPP_HOME} \ +# OO_SDK_JAVA_HOME=${OO_SDK_JAVA_HOME} \ +# OO_SDK_OUTPUT_DIR=${OO_SDK_OUTPUT_DIR} \ +# SDK_AUTO_DEPLOYMENT=${SDK_AUTO_DEPLOYMENT} \ +# LD_LIBRARY_PATH=${LD_LIBRARY_PATH} PATH=${PATH} \ +# OFFICE_PROGRAM_PATH=${OFFICE_PROGRAM_PATH} \ +# SDK_GXX_INCLUDE_PATH=${SDK_GXX_INCLUDE_PATH} \ + emake || die "make uno package failed" + mkdir "${S}" + cp build/${UNONAME}-*uno.pkg impl/doc/Linux_*/ASENNUS.txt \ + linux-installer "${S}" +} + +src_install() { + cd "${S}" + dodoc ASENNUS.txt + insinto /usr/lib/openoffice/share/ + doins linux-installer + dodir /usr/lib/${P} + insinto /usr/lib/${P} + doins oo2-voikko-Linux*-${PV}.uno.pkg +} + +find_unopkg() { + if has_version '>=app-office/openoffice-bin'; then + if use amd64 ; then + UNOPKG="/usr/lib32/openoffice/program/unopkg" + else + UNOPKG="/usr/lib/openoffice/program/unopkg" + fi + else + UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! + fi +} + +pkg_postinst() { + # N.B.: uno packages meddle with $HOME, let's fool it + HOME="${S}" + cd "${S}" + # Yay, OO.o package installation requires .ooo-2.0 directory from once + # started instance of the program. How fun! + tar jxf "${FILESDIR}/ooo-2.0-home.tar.bz2" + + find_unopkg + + # select component + if use amd64; then + COMPONENT="${ROOT}/usr/lib/${P}/${UNONAME}-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${ROOT}/usr/lib/${P}/${UNONAME}-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + HOME=${HOME} "${UNOPKG}" add --shared "${COMPONENT}" + if [[ $? == 0 ]] ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn't register ${PN} package (${PKG})" + fi + elog "Please note that ${PN} is very dependent on ABI compatible " + elog "version of OpenOffice.org to exist on system when removing voikko!" + elog "Before incompatible update or removal of OpenOffice you must" + elog "unmerge ${PN}!" +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + ewarn "Couldn't list existing packages..." + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: ${UNONAME}-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "${PN} package (${PKG}) unregistered succesfully" + else + die "Couldn't uninstall existing ${PN} packages" + fi + else + ewarn "Couldn't find existing ${PN} packages." + ewarn "You may need to \`unopkg remove\` them manually." + fi +} + diff --git a/trunk/app-office/openoffice-voikko/openoffice-voikko-1.2.ebuild b/trunk/app-office/openoffice-voikko/openoffice-voikko-1.2.ebuild new file mode 100644 index 0000000..951baac --- /dev/null +++ b/trunk/app-office/openoffice-voikko/openoffice-voikko-1.2.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator multilib + +MY_P="${P/office-voikko/office.org-voikko}" +MY_PN="${PN/office-voikko/office.org-voikko}" + +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://voikko.sf.net/" +SRC_URI="mirror://sourceforge/voikko/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +#DEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) +DEPEND=">=app-office/openoffice-2 + app-text/voikko + sys-apps/grep + sys-apps/sed + app-office/openoffice-sdk + !app-office/oo2-voikko" +# ! app-office/oo2-soikko" +#RDEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) +RDEPEND=">=app-office/openoffice-2 + app-text/voikko" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + # This check originates from soikko times I think... + # Also, pidof belongs to sysvinit, dep? + if pidof soffice.bin >/dev/null; then + die "${PN} can’t be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi + # We need OpenOffice SDK initialisation sh script executable + if [[ ! -x "${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" ]] ; then + die "Couldn’t find open office SDK settings from \ + ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" + fi + + # Open Office must be installed with SDK + if has_version app-office/openoffice ; then + if ! built_with_use app-office/openoffice odk ; then + ewarn "OpenOffice should be built with USE flag “odk”" + ewarn "for building uno package from source to work" + fi + fi +} + +src_compile() { + einfo "Searching OpenOffice.org SDK environment..." + source ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh + einfo "SDK set to: OO_SDK_HOME=${OO_SDK_HOME}" + emake || die "make uno package failed" +} + +src_install() { + dodoc impl/doc/Linux_*/ASENNUS.txt + insinto /usr/lib/openoffice/share/ + newins linux-installer ${PN}-installer + dodir /usr/lib/${P} + insinto /usr/lib/${P} + doins build/${MY_PN}-Linux*-${PV}.uno.pkg +} + +find_unopkg() { + UNOPKG="${ROOT}/usr/$(get_libdir)/openoffice/program/unopkg" +# if has_version '>=app-office/openoffice-bin'; then +# if use amd64 ; then +# UNOPKG="/usr/lib32/openoffice/program/unopkg" +# else +# UNOPKG="/usr/lib/openoffice/program/unopkg" +# fi +# else +# UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! +# fi +} + +# FIXME: installation of an unopkg is troublesome, move to src_install when +# OO.o supports it somehow sanely +pkg_postinst() { + # N.B.: uno packages meddle with $HOME, let's fool it + HOME="${S}" + cd "${S}" + # Yay, OO.o package installation requires .ooo-2.0 directory from once + # started instance of the program. How fun! + tar jxf "${FILESDIR}/ooo-2.0-home.tar.bz2" + + find_unopkg + + # select component + if use amd64; then + COMPONENT="${ROOT}/usr/lib/${P}/${MY_PN}-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${ROOT}/usr/lib/${P}/${MY_PN}-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + HOME=${HOME} "${UNOPKG}" add --shared "${COMPONENT}" + if [[ $? == 0 ]] ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn’t register ${PN} package (${PKG})" + fi + elog "Please note that ${PN} is very dependent on ABI compatible " + elog "version of OpenOffice.org to exist on system when removing voikko!" + elog "Before incompatible update or removal of OpenOffice you must" + elog "unmerge ${PN}!" +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + ewarn "Couldn’t list existing packages..." + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: ${UNONAME}-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "${PN} package (${PKG}) unregistered succesfully" + else + die "Couldn’t uninstall existing ${PN} packages" + fi + else + ewarn "Couldn’t find existing ${PN} packages." + ewarn "You may need to \`unopkg remove\` them manually." + fi +} + diff --git a/trunk/app-office/openoffice-voikko/openoffice-voikko-9999.ebuild b/trunk/app-office/openoffice-voikko/openoffice-voikko-9999.ebuild new file mode 100644 index 0000000..6f59189 --- /dev/null +++ b/trunk/app-office/openoffice-voikko/openoffice-voikko-9999.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator subversion + +DESCRIPTION="Voikko—Free Finnish spell checking and hyphenation for OpenOffice" +HOMEPAGE="http://www.lemi.fi/voikko/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="-x86" # Live SVN not for public consumption +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/voikko/trunk/openoffice.org-voikko" + +DEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko + sys-apps/grep + sys-apps/sed + app-office/openoffice-sdk + !app-office/oo2-voikko" +# ! app-office/oo2-soikko" +RDEPEND="|| ( >=app-office/openoffice-2 >=app-office/openoffice-bin-2 ) + app-text/voikko" + +UNONAME=${PN/office-voikko/office.org-voikko} + +pkg_setup() { + if pidof soffice.bin >/dev/null; then + die "${PN} can’t be installed while OpenOffice.org is running." + # Or use the force + #killall soffice.bin || killall -9 soffice.bin + fi + if [[ ! -x "${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" ]] ; then + die "Couldn’t find open office SDK settings from \ + ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh" + fi + + if has_version app-office/openoffice ; then + if ! built_with_use app-office/openoffice odk ; then + ewarn "OpenOffice should be built with USE flag “odk”" + ewarn "for building uno package from source to work" + fi + fi +} + +src_compile() { + source ${ROOT}/usr/lib/openoffice/program/setsdkenv_unix.sh + echo "OO_SDK_HOME=${OO_SDK_HOME}" + cd "${WORKDIR}/unopkg" + # Variables needed to "export" are used in the *.mk files included +# OO_SDK_HOME=${OO_SDK_HOME} OFFICE_HOME=${OFFICE_HOME} \ +# OO_SDK_NAME=${OO_SDK_NAME} \ +# OO_SDK_MAKE_HOME=${OO_SDK_MAKE_HOME} \ +# OO_SDK_ZIP_HOME=${OO_SDK_ZIP_HOME} \ +# OO_SDK_CPP_HOME=${OO_SDK_CPP_HOME} \ +# OO_SDK_JAVA_HOME=${OO_SDK_JAVA_HOME} \ +# OO_SDK_OUTPUT_DIR=${OO_SDK_OUTPUT_DIR} \ +# SDK_AUTO_DEPLOYMENT=${SDK_AUTO_DEPLOYMENT} \ +# LD_LIBRARY_PATH=${LD_LIBRARY_PATH} PATH=${PATH} \ +# OFFICE_PROGRAM_PATH=${OFFICE_PROGRAM_PATH} \ +# SDK_GXX_INCLUDE_PATH=${SDK_GXX_INCLUDE_PATH} \ + emake || die "make uno package failed" + mkdir "${S}" + cp build/${UNONAME}-*uno.pkg impl/doc/Linux_*/ASENNUS.txt \ + linux-installer "${S}" +} + +src_install() { + cd "${S}" + dodoc ASENNUS.txt + insinto /usr/lib/openoffice/share/ + doins linux-installer + dodir /usr/lib/${P} + insinto /usr/lib/${P} + doins oo2-voikko-Linux*-${PV}.uno.pkg +} + +find_unopkg() { + if has_version '>=app-office/openoffice-bin'; then + if use amd64 ; then + UNOPKG="/usr/lib32/openoffice/program/unopkg" + else + UNOPKG="/usr/lib/openoffice/program/unopkg" + fi + else + UNOPKG="/usr/lib/openoffice/program/unopkg" #verify! + fi +} + +pkg_postinst() { + # N.B.: uno packages meddle with $HOME, let's fool it + HOME="${S}" + cd "${S}" + # Yay, OO.o package installation requires .ooo-2.0 directory from once + # started instance of the program. How fun! + tar jxf "${FILESDIR}/ooo-bootstrap-decoy.tar.bz2" + + find_unopkg + + # select component + if use amd64; then + COMPONENT="${ROOT}/usr/lib/${P}/${UNONAME}-Linux_x86_64-${PV}.uno.pkg" + else + COMPONENT="${ROOT}/usr/lib/${P}/${UNONAME}-Linux_x86-${PV}.uno.pkg" + fi + PKG=$(basename "${COMPONENT}") + + # Global scope in install-oo2-voikko + if [[ -e "${HOME}/.openoffice.org2/.lock" ]] ; + then + die "lockfile from previous failed installation attempt found in \ + ${HOME}/.openoffice.org2/.lock, please clean and retry" + fi + # register() + if [[ "${COMPONENT}" == "" ]] ; + then + die "UNO component not found" + fi + einfo "Trying to register uno package ${COMPONENT}..." + HOME=${HOME} "${UNOPKG}" add --shared "${COMPONENT}" + if [[ $? == 0 ]] ; + then + einfo "Voikko package (${PKG}) registered succesfully" + else + die "Couldn't register ${PN} package (${PKG})" + fi + elog "Please note that ${PN} is very dependent on ABI compatible " + elog "version of OpenOffice.org to exist on system when removing voikko!" + elog "Before incompatible update or removal of OpenOffice you must" + elog "unmerge ${PN}!" +} + +pkg_prerm() { + find_unopkg + #unregister() + UNOPKG_LIST="$(${UNOPKG} list --shared 2> /dev/null)" + if [[ $? != 0 ]] ; then + ewarn "Couldn't list existing packages..." + fi + PKG=$(echo "${UNOPKG_LIST}" | egrep -m1 "^Name: ${UNONAME}-Linux_x86(_64)?-${PV}" | sed -e "s/Name: //") + if [ "${PKG}" != "" ]; then + einfo "Removing uno package ${PKG}..." + if "${UNOPKG}" remove --shared ${PKG} &>/dev/null + then + einfo "${PN} package (${PKG}) unregistered succesfully" + else + die "Couldn't uninstall existing ${PN} packages" + fi + else + ewarn "Couldn't find existing ${PN} packages." + ewarn "You may need to \`unopkg remove\` them manually." + fi +} + diff --git a/trunk/app-text/ispell/Manifest b/trunk/app-text/ispell/Manifest new file mode 100644 index 0000000..bc893a0 --- /dev/null +++ b/trunk/app-text/ispell/Manifest @@ -0,0 +1,17 @@ +AUX ispell-3.2.06-patch.diff 7112 RMD160 e65f0bdd0928e6e22472d2489837f9c47d2a48b0 SHA1 c6523dfc9abd591d42375cb826b4680695307353 SHA256 7dbaa324e58e0655db69c67fdd19680a29dffa7c2c06cd7e2c2c2ae4159648c1 +MD5 968d9a6f9d7e309c232f22b4e72f4a9d files/ispell-3.2.06-patch.diff 7112 +RMD160 e65f0bdd0928e6e22472d2489837f9c47d2a48b0 files/ispell-3.2.06-patch.diff 7112 +SHA256 7dbaa324e58e0655db69c67fdd19680a29dffa7c2c06cd7e2c2c2ae4159648c1 files/ispell-3.2.06-patch.diff 7112 +AUX local.h.gentoo 6015 RMD160 9953b4d51e71d52378528960d4677ff9054bff13 SHA1 7347541ff822cbb91ddbb2e3b5f27834da2bcd1e SHA256 f919ac4220a7f7859e89141eb62eb7c4eca092a9be0f55a660ba61f697a8770d +MD5 912424a0edd789568666782416a410a2 files/local.h.gentoo 6015 +RMD160 9953b4d51e71d52378528960d4677ff9054bff13 files/local.h.gentoo 6015 +SHA256 f919ac4220a7f7859e89141eb62eb7c4eca092a9be0f55a660ba61f697a8770d files/local.h.gentoo 6015 +DIST ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 RMD160 d821b99da52ed9d326d653d0bf01b277c30c18ab SHA1 46472cdb0d59efea3dc438fd098d6de7345ce9b5 SHA256 e577e996cb465222ae3c12f53e0a712d97a1c5f3786eaab51d28769f3a9af114 +DIST ispell-3.2.06.tar.gz 580742 RMD160 3f6a3840540ebc753146c427da8ce2d54317b46e SHA1 35f496322cda172d56610417e4e1c7b962f734d7 SHA256 34a27fc4a2089bd5074aacf69323731770e5b605a2fc9a053d389f45b01c7966 +EBUILD ispell-3.2.06-r7.ebuild 2859 RMD160 76de669ab5ab2bed9e0e6e580eeafb46b4225f5f SHA1 14039ba1baf321226c63ad2e96b55f0d1b3152be SHA256 19b9d589140d7d73a6e4e3f3dc7980a9d6b521b223c8ba18bdcedad80217343d +MD5 cee658ec1b45d3730b1b5f35ab509f43 ispell-3.2.06-r7.ebuild 2859 +RMD160 76de669ab5ab2bed9e0e6e580eeafb46b4225f5f ispell-3.2.06-r7.ebuild 2859 +SHA256 19b9d589140d7d73a6e4e3f3dc7980a9d6b521b223c8ba18bdcedad80217343d ispell-3.2.06-r7.ebuild 2859 +MD5 1807d88fc35553dcc67ef87a044d744c files/digest-ispell-3.2.06-r7 524 +RMD160 ad71651e16693b5f28d9269f00fd0777388f32c3 files/digest-ispell-3.2.06-r7 524 +SHA256 a40a394c389a994a40614f782c25212556308adfb2450bcf97184b6818a1b13b files/digest-ispell-3.2.06-r7 524 diff --git a/trunk/app-text/ispell/files/digest-ispell-3.2.06-r7 b/trunk/app-text/ispell/files/digest-ispell-3.2.06-r7 new file mode 100644 index 0000000..557aa2a --- /dev/null +++ b/trunk/app-text/ispell/files/digest-ispell-3.2.06-r7 @@ -0,0 +1,6 @@ +MD5 65a80f2542e0680409035fb0fac44f8e ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +RMD160 d821b99da52ed9d326d653d0bf01b277c30c18ab ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +SHA256 e577e996cb465222ae3c12f53e0a712d97a1c5f3786eaab51d28769f3a9af114 ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +MD5 d434e1aef1a815294d5012c60c4c414a ispell-3.2.06.tar.gz 580742 +RMD160 3f6a3840540ebc753146c427da8ce2d54317b46e ispell-3.2.06.tar.gz 580742 +SHA256 34a27fc4a2089bd5074aacf69323731770e5b605a2fc9a053d389f45b01c7966 ispell-3.2.06.tar.gz 580742 diff --git a/trunk/app-text/ispell/files/ispell-3.2.06-patch.diff b/trunk/app-text/ispell/files/ispell-3.2.06-patch.diff new file mode 100644 index 0000000..5a641f8 --- /dev/null +++ b/trunk/app-text/ispell/files/ispell-3.2.06-patch.diff @@ -0,0 +1,190 @@ +diff -Naur ispell-3.2.06-old/Makefile ispell-3.2.06/Makefile +--- ispell-3.2.06-old/Makefile 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/Makefile 2003-12-13 23:59:23.000000000 +0000 +@@ -415,7 +415,7 @@ + cat config.X local.h \ + | sed -n -e "s/^#define[ ]*$$var[ ]*"'"'"/$$var=/p" \ + | sed -e 's/".*$$/'"'/" -e "s/=/='/" \ +- | tail -1; \ ++ | tail -n 1; \ + done > config.sh; \ + echo 'case "$$MAKE_SORTTMP" in "") \ + SORTTMP="-e /!!SORTTMP!!/s/=.*$$/=/";; *) SORTTMP=;; esac' \ +diff -Naur ispell-3.2.06-old/Makepatch ispell-3.2.06/Makepatch +--- ispell-3.2.06-old/Makepatch 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/Makepatch 2003-12-13 23:59:23.000000000 +0000 +@@ -141,7 +141,7 @@ + + if [ -r "$destdir/Patch${baserelease}.01" ] + then +- lastpatch=`ls $destdir/Patch${baserelease}.?? | tail -1 \ ++ lastpatch=`ls $destdir/Patch${baserelease}.?? | tail -n 1 \ + | sed "s;$destdir/Patch${baserelease}.;;"` + else + lastpatch=00 +diff -Naur ispell-3.2.06-old/findaffix.X ispell-3.2.06/findaffix.X +--- ispell-3.2.06-old/findaffix.X 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/findaffix.X 2003-12-13 23:59:23.000000000 +0000 +@@ -152,7 +152,7 @@ + elimlen=1 + lowcount=10 + cleanout=no +-finalsortopts='+3rn -4 +2rn -3 +1 -2 +0 -1' ++finalsortopts='-k 4rn,5 -k 3rn,4 -k 2,3 -k 1,2' + tabch=/ + while : + do +@@ -177,7 +177,7 @@ + shift + ;; + -f) +- finalsortopts='+2rn -3 +3rn -4 +1 -2 +0 -1' ++ finalsortopts='-k 3rn,4 -k 4rn,5 -k 2,3 -k 1,2' + shift + ;; + -c) +@@ -256,10 +256,10 @@ + next + '"$LOOP"' + }' < ${TMP}a \ +- | sort "-t$tabch" +0 -1 +1 $SORTTMP -o ${TMP}a ++ | sort "-t$tabch" -k 1,2 -k 2 $SORTTMP -o ${TMP}a + join "-t$tabch" -o 1.2 2.2 2.3 ${TMP}a ${TMP}a \ + | awk "-F$tabch" "BEGIN{elimlen=$elimlen}$ELIM" \ +- | sort "-t$tabch" +1 -2 +0 -1 $SORTTMP \ ++ | sort "-t$tabch" -k 2,3 -k 1,2 $SORTTMP \ + | awk "-F$tabch" 'BEGIN{tabch="'"$tabch"'"; lowcount='"$lowcount"'} + { + if ($1 == last1 && $2 == last2) +diff -Naur ispell-3.2.06-old/languages/english/Makefile ispell-3.2.06/languages/english/Makefile +--- ispell-3.2.06-old/languages/english/Makefile 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/languages/english/Makefile 2003-12-14 00:01:15.000000000 +0000 +@@ -336,7 +336,7 @@ + done; \ + trap "rm -f english.sml" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.sml $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.sml $$dicts + + $(DBUILD)english.sml+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.sml+: english.0 +@@ -376,7 +376,7 @@ + done; \ + trap "rm -f english.med" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.med $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.med $$dicts + + $(DBUILD)english.med+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.med+: english.0 +@@ -424,7 +424,7 @@ + done; \ + trap "rm -f english.lrg" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.lrg $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.lrg $$dicts + + $(DBUILD)english.lrg+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.lrg+: english.0 +@@ -477,7 +477,7 @@ + done; \ + trap "rm -f english.xlg" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.xlg $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.xlg $$dicts + + $(DBUILD)english.xlg+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.xlg+: english.0 +diff -Naur ispell-3.2.06-old/munchlist.X ispell-3.2.06/munchlist.X +--- ispell-3.2.06-old/munchlist.X 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/munchlist.X 2003-12-13 23:59:23.000000000 +0000 +@@ -422,7 +422,7 @@ + cat "$@" | $ISPELL "$wchars" -e1 -d $FAKEHASH -p /dev/null | tr " " ' + ' + fi \ +- | sort $SORTTMP -u +0f -1 +0 \ ++ | sort $SORTTMP -u -k 1f,2 -k 1 \ + | $COMBINE $icflags $langtabs \ + | sort $SORTTMP -u > $EXPANDEDINPUT + # +@@ -482,7 +482,7 @@ + $ISPELL "$wchars" -c -W0 -d $FAKEHASH -p /dev/null < $STRIPPEDINPUT \ + | tr " " ' + ' \ +- | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" +0 -1 +1 \ ++ | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" -k 1,2 -k 2 \ + | $JOIN $SIGNED "-t$flagmarker" - $EXPANDEDINPUT > $CRUNCHEDINPUT + # + # We now have a list of legal roots, and of affixes that apply to the +@@ -508,7 +508,7 @@ + # + $verbose && echo 'Expanding dictionary into EXPANDEDPAIRS.' 1>&2 + $ISPELL "$wchars" -e3 -d $FAKEHASH -p /dev/null < $CRUNCHEDINPUT \ +- | sort $SORTTMP +1 > $EXPANDEDPAIRS ++ | sort $SORTTMP -k 2 > $EXPANDEDPAIRS + # + # Now we want to extract the lines in EXPANDEDPAIRS in which the second field + # is *not* listed in the original dictionary EXPANDEDINPUT; these illegal +@@ -536,7 +536,7 @@ + | (sed -e 's; .*$;;' ; /bin/rm -f $JOINEDPAIRS $EXPANDEDPAIRS) \ + | uniq \ + | (comm -13 - $CRUNCHEDINPUT ; /bin/rm -f $CRUNCHEDINPUT) \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 \ ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 \ + | $COMBINE $langtabs > $LEGALFLAGLIST + + # +@@ -566,7 +566,7 @@ + | sort $SORTTMP \ + | uniq -c \ + | tr ' ' ' ' \ +- | sort $SORTTMP +0rn -1 +2 > $PRODUCTLIST ++ | sort $SORTTMP -k 1rn,2 -k 3 > $PRODUCTLIST + + if [ `egrep ' p ' $PRODUCTLIST | wc -l` -gt 0 \ + -a `egrep ' s ' $PRODUCTLIST | wc -l` -gt 0 ] +@@ -681,7 +681,7 @@ + # + $verbose && echo "Creating cross expansions (pass $dbnum)." 1>&2 + $ISPELL "$wchars" -e3 -d $FAKEHASH -p /dev/null < $CROSSROOTS \ +- | sort $SORTTMP +1 > $CROSSEXPANDED ++ | sort $SORTTMP -k 2 > $CROSSEXPANDED + # + # Now we join CROSSEXPANDED against EXPANDEDINPUT to produce + # CROSSPAIRS, and then comm that against CROSSEXPANDED to +@@ -765,7 +765,7 @@ + D + }' \ + | comm -23 - $ILLEGALCOMBOS \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 \ ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 \ + | $COMBINE $langtabs > $CROSSROOTS + mv $CROSSROOTS $LEGALFLAGLIST + if [ "$debug" = yes ] +@@ -801,10 +801,10 @@ + # + $verbose && echo 'Eliminating non-optimal affixes.' 1>&2 + $ISPELL "$wchars" -e4 -d $FAKEHASH -p /dev/null < $LEGALFLAGLIST \ +- | sort $SORTTMP +1 -2 +2rn -3 +0 -1 \ +- | sort $SORTTMP -um +1 -2 \ ++ | sort $SORTTMP -k 2,3 -k 3rn,4 -k 1,2 \ ++ | sort $SORTTMP -um -k 2,3 \ + | sed -e 's; .*$;;' \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 > $MINIMALAFFIXES ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 > $MINIMALAFFIXES + /bin/rm -f $LEGALFLAGLIST + # + # Now we're almost done. MINIMALAFFIXES covers some (with luck, most) +@@ -832,10 +832,10 @@ + fi + ($ISPELL "$wchars" -l -d $FAKEHASH -p /dev/null < $STRIPPEDINPUT; \ + $COMBINE $langtabs < $MINIMALAFFIXES) \ +- | sort $SORTTMP "-t$flagmarker" -u +0f -1 +0 ++ | sort $SORTTMP "-t$flagmarker" -u -k 1f,2 -k 1 + else + # MINIMALAFFIXES is empty; just produce a sorted version of STRIPPEDINPUT +- sort $SORTTMP "-t$flagmarker" -u +0f -1 +0 $STRIPPEDINPUT ++ sort $SORTTMP "-t$flagmarker" -u -k 1f,2 -k 1 $STRIPPEDINPUT + fi + /bin/rm -f ${TMP}* + if [ "X$MUNCHMAIL" != X ] diff --git a/trunk/app-text/ispell/files/local.h.gentoo b/trunk/app-text/ispell/files/local.h.gentoo new file mode 100644 index 0000000..e3ece06 --- /dev/null +++ b/trunk/app-text/ispell/files/local.h.gentoo @@ -0,0 +1,156 @@ +/* + * $Id: local.h.gentoo,v 1.1 2002/03/15 05:37:36 tod Exp $ + */ + +/* + * Copyright 1992, 1993, 1999, 2001, Geoff Kuenning, Claremont, CA + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All modifications to the source code must be clearly marked as + * such. Binary redistributions based on modified source code + * must be clearly marked as modified versions in the documentation + * and/or other materials provided with the distribution. + * 4. Any web site or other electronic service that offers ispell for + * download or other electronic transfer as a separate entity, in + * either source or binary form, must also include a prominent statement + * indicating that information about ispell can be obtained from the + * following Web site URL: + * http://fmg-www.cs.ucla.edu/geoff/ispell.html + * If the offering service supports hyperlinks, the aforementioned + * Web site must also be offered as a hyperlink. Condition #4 does + * not apply if ispell is offered only as part of a larger, aggregated + * product such as a word processor or packaged operating system. + * 5. The name of Geoff Kuenning may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* + * This file is a sample local.h file. It shows what I believe nearly every + * site will want to include in their local.h. You will probably want to + * expand this file; see "config.X" to learn of #defines that you might + * like to add to. + */ + +/* + * $Log: local.h.gentoo,v $ + * Revision 1.1 2002/03/15 05:37:36 tod + * + * New version. Hopefully this helps resolve the last of the *spell issues. Gnome-spell or bust :) Thanks to seemant for his help with the *spells. + * + * Revision 1.20 2001/07/25 21:51:47 geoff + * Minor license update. + * + * Revision 1.19 2001/07/23 20:24:04 geoff + * Update the copyright and the license. + * + * Revision 1.18 2001/05/30 21:14:47 geoff + * Invert the fcntl/mkstemp options so they will default to being used. + * + * Revision 1.17 2001/05/30 21:04:25 geoff + * Add HAS_FCNTL_H and HAS_MKSTEMP. Also give better comments on the USG + * option. + * + * Revision 1.16 1999/01/08 04:34:43 geoff + * Get rid of ELISPDIR and TEXINFODIR + * + * Revision 1.15 1999/01/07 01:57:57 geoff + * Update the copyright. + * + * Revision 1.14 1995/01/08 23:23:56 geoff + * Do some minor clarification of the instructional comments. + * + * Revision 1.13 1994/05/17 06:37:25 geoff + * Add one more item of warning advice to the comments. + * + * Revision 1.12 1994/02/07 06:00:00 geoff + * Add a warning about shell processing restrictions + * + * Revision 1.11 1994/01/25 07:11:50 geoff + * Get rid of all old RCS log lines in preparation for the 3.1 release. + * + */ + +/* + * WARNING WARNING WARNING + * + * This file is *NOT* a normal C header file! Although it uses C + * syntax and is included in C programs, it is also processed by shell + * scripts that are very stupid about format. + * + * Do not try to use #if constructs to configure this file for more + * than one configuration. Do not place whitespace after the "#" in + * "#define". Do not attempt to disable lines by commenting them out. + * Do not use backslashes to reduce the length of long lines. + * None of these things will work the way you expect them to. + * + * WARNING WARNING WARNING + */ + +#define MINIMENU /* Display a mini-menu at the bottom of the screen */ +#undef NO8BIT /* Remove this if you use ISO character sets */ +#define USG /* Define on System V or if term.c won't compile */ +#undef NO_FCNTL_H /* Define if you get compile errors on fcntl.h */ +#undef NO_MKSTEMP /* Define if you get compile or link errors */ +#define HAS_RENAME +#define INSTALL "cp" + +/* + * Important directory paths + */ +#define BINDIR "/usr/bin" +#define LIBDIR "/usr/lib/ispell" +#define TEXINFODIR "/usr/share/info" +#define WORDS "/usr/share/dict/words" +#define MAN1DIR "/usr/share/man/man1" +#define MAN4DIR "/usr/share/man/man5" +#define MAN4EXT ".5" + +/* + * Place any locally-required #include statements here + */ +#define CC "gcc" +#define YACC "bison -y" +#define TERMLIB "-lncurses" +#define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash,EXTRADICT=} {british,MASTERDICTS=british.med,HASHFILES=britishmed.hash,EXTRADICT=}" +/* + * Settings + */ + +#define MASKBITS 64 +#define INPUTWORDLEN 128 +#define MAXAFFIXLEN 32 +#define MAXSTRINGCHARS 128 +#define MASTERHASH "americanmed.hash" +#define HAS_RENAME +#define DEFNOBACKUPFLAG 0 +#define BAKEXT "~" +#define DEFTEXFLAG 1 +#define EGREPCMD "/usr/bin/grep -E" +#define LOOK "/usr/bin/look -df" +#define MAKE_SORTTMP "-T ${TMPDIR-/tmp}" +#define SORTPERSONAL 2000 +#define USESH +#define COMMANDFORSPACE + diff --git a/trunk/app-text/ispell/ispell-3.2.06-r7.ebuild b/trunk/app-text/ispell/ispell-3.2.06-r7.ebuild new file mode 100644 index 0000000..b83484b --- /dev/null +++ b/trunk/app-text/ispell/ispell-3.2.06-r7.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ispell/ispell-3.2.06-r6.ebuild,v 1.16 2006/03/25 06:38:14 grobian Exp $ + +inherit eutils + +PATCH_VER="0.1" +DESCRIPTION="fast screen-oriented spelling checker" +HOMEPAGE="http://fmg-www.cs.ucla.edu/geoff/ispell.html" +SRC_URI="http://fmg-www.cs.ucla.edu/geoff/tars/${P}.tar.gz + mirror://gentoo/${P}-r6-gentoo-${PATCH_VER}.diff.bz2" + +SLOT="0" +LICENSE="as-is" +#KEYWORDS="alpha amd64 hppa mips ppc ppc-macos sparc x86" +KEYWORDS="~x86 ~amd64" +IUSE="" +LINGUAS="bg cs da de es et fi fr ga hu it lt nl no pl pt pt-BR ru sl sv" +for X in ${LINGUAS} ; do # is this correct? + IUSE="${IUSE} linguas_${X}" +done + +DEPEND="sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND="" +PDEPEND="linguas_bg? ( app-dicts/ispell-bg ) + linguas_cs? ( app-dicts/ispell-cs ) + linguas_da? ( app-dicts/ispell-da ) + linguas_de? ( app-dicts/ispell-de ) + linguas_es? ( app-dicts/ispell-es ) + linguas_et? ( app-dicts/ispell-et ) + linguas_fi? ( || ( app-text/tmispell app-dicts/ispell-fi ) ) + linguas_fr? ( app-dicts/ispell-fr ) + linguas_ga? ( app-dicts/ispell-ga ) + linguas_hu? ( app-dicts/ispell-hu ) + linguas_it? ( app-dicts/ispell-it ) + linguas_lt? ( app-dicts/ispell-lt ) + linguas_nl? ( app-dicts/ispell-nl ) + linguas_no? ( app-dicts/ispell-no ) + linguas_pl? ( app-dicts/ispell-pl ) + linguas_pt? ( app-dicts/ispell-pt ) + linguas_pt_BR? ( app-dicts/ispell-pt ) + linguas_ru? ( app-dicts/ispell-ru ) + linguas_sl? ( app-dicts/ispell-sl ) + linguas_sv? ( app-dicts/ispell-sv )" + +src_unpack() { + unpack ${A} + epatch "${WORKDIR}"/${P}-r6-gentoo-${PATCH_VER}.diff + epatch "${FILESDIR}"/${P}-patch.diff +} + +src_compile() { + make config.sh || die + + #Fix config.sh to install to ${D} + cp -p config.sh config.sh.orig + sed \ + -e "s:^\(BINDIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(LIBDIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(MAN1DIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(MAN4DIR='\)\(.*\):\1${D}\2:" \ + < config.sh > config.sh.install + + make || die +} + +src_install() { + cp -p config.sh.install config.sh + + #Need to create the directories to install into + #before 'make install'. Build environment **doesn't** + #check for existence and create if not already there. + dodir /usr/bin /usr/lib/ispell /usr/share/info \ + /usr/share/man/man1 /usr/share/man/man5 + + make \ + install || die "install failed" + + if use linguas_fi && has_version app-text/tmispell ; then + mv ${D}/usr/bin/ispell ${D}/usr/bin/ispell.real + fi + + rmdir ${D}/usr/share/man/man5 + rmdir ${D}/usr/share/info + + dodoc Contributors README WISHES + + dosed ${D}/usr/share/man/man1/ispell.1 +} + +pkg_postinst() { + if use linguas_fi && has_version app-text/tmispell ; then + elog "because linguas_fi was requested:" + elog "ispell was installed under ${ROOT}/usr/bin/ispell.real" + fi +} diff --git a/trunk/app-text/tmispell/Manifest b/trunk/app-text/tmispell/Manifest new file mode 100644 index 0000000..7d69721 --- /dev/null +++ b/trunk/app-text/tmispell/Manifest @@ -0,0 +1,61 @@ +AUX ispell-3.2.06-patch.diff 7112 RMD160 e65f0bdd0928e6e22472d2489837f9c47d2a48b0 SHA1 c6523dfc9abd591d42375cb826b4680695307353 SHA256 7dbaa324e58e0655db69c67fdd19680a29dffa7c2c06cd7e2c2c2ae4159648c1 +MD5 968d9a6f9d7e309c232f22b4e72f4a9d files/ispell-3.2.06-patch.diff 7112 +RMD160 e65f0bdd0928e6e22472d2489837f9c47d2a48b0 files/ispell-3.2.06-patch.diff 7112 +SHA256 7dbaa324e58e0655db69c67fdd19680a29dffa7c2c06cd7e2c2c2ae4159648c1 files/ispell-3.2.06-patch.diff 7112 +AUX tmispell-svn-autoconf-autopoint.patch 267 RMD160 ea881a2d4e5854550877f383258a6deef90398db SHA1 57bdabdc35647755c8dc14d6b9f9a03ae8e63703 SHA256 f0fdf46ad18145bc8891e8cb22882f0f88f268ae320e1988dfeddc625be76ffa +MD5 4adb1ae2dcbcdc5b29b5ae9e35ba41c4 files/tmispell-svn-autoconf-autopoint.patch 267 +RMD160 ea881a2d4e5854550877f383258a6deef90398db files/tmispell-svn-autoconf-autopoint.patch 267 +SHA256 f0fdf46ad18145bc8891e8cb22882f0f88f268ae320e1988dfeddc625be76ffa files/tmispell-svn-autoconf-autopoint.patch 267 +AUX tmispell-svn-autogen.sh-automake.patch 512 RMD160 8a4dd3183414349608f9139f2d98e944b9dfcbc9 SHA1 81083b93e807eb7f2786764158388d9c53480e93 SHA256 64e66f30fba2a9268f9dd4b92316cc03d1f4f6231fad91cd2aa48f36af6df52d +MD5 77e3204ba1749fded3961c5c76d3bb7f files/tmispell-svn-autogen.sh-automake.patch 512 +RMD160 8a4dd3183414349608f9139f2d98e944b9dfcbc9 files/tmispell-svn-autogen.sh-automake.patch 512 +SHA256 64e66f30fba2a9268f9dd4b92316cc03d1f4f6231fad91cd2aa48f36af6df52d files/tmispell-svn-autogen.sh-automake.patch 512 +AUX tmispell-svn-autogen.sh-undoc.patch 466 RMD160 aa8d46597be18ac9f4c346d5ed41ba5f42e7df7e SHA1 851299f4b4549fc5b26bfdbe857cf72d7aec5415 SHA256 73299a75cd63eae7f909d6465ce9c29d8d4f358fe24a3e7a95b4b5e1a39b25a2 +MD5 90e4b753c18017241d6263f6085b4292 files/tmispell-svn-autogen.sh-undoc.patch 466 +RMD160 aa8d46597be18ac9f4c346d5ed41ba5f42e7df7e files/tmispell-svn-autogen.sh-undoc.patch 466 +SHA256 73299a75cd63eae7f909d6465ce9c29d8d4f358fe24a3e7a95b4b5e1a39b25a2 files/tmispell-svn-autogen.sh-undoc.patch 466 +AUX tmispell.conf.gentoo 2001 RMD160 90f913b2e0ad48a63171c62fb07d99c1e5724ec6 SHA1 4c8a940252584c8a9316689751ded0e70159f1b4 SHA256 3f2e4c0775216fa25087d1fddbefa82c8dd6ce5d8a72766510f274f566d3b9e0 +MD5 c2756fe4cb09f08c29e0d784eaa7d736 files/tmispell.conf.gentoo 2001 +RMD160 90f913b2e0ad48a63171c62fb07d99c1e5724ec6 files/tmispell.conf.gentoo 2001 +SHA256 3f2e4c0775216fa25087d1fddbefa82c8dd6ce5d8a72766510f274f566d3b9e0 files/tmispell.conf.gentoo 2001 +DIST ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 RMD160 d821b99da52ed9d326d653d0bf01b277c30c18ab SHA1 46472cdb0d59efea3dc438fd098d6de7345ce9b5 SHA256 e577e996cb465222ae3c12f53e0a712d97a1c5f3786eaab51d28769f3a9af114 +DIST ispell-3.2.06.tar.gz 580742 RMD160 3f6a3840540ebc753146c427da8ce2d54317b46e SHA1 35f496322cda172d56610417e4e1c7b962f734d7 SHA256 34a27fc4a2089bd5074aacf69323731770e5b605a2fc9a053d389f45b01c7966 +DIST tmispell-voikko-0.4.3.tar.gz 447162 RMD160 67b946f135c9cec509d576e023644bb7b49df53e SHA1 8cfd873acb3edcf22dc3062d1f8da9ee89d8b62f SHA256 9b05b8fce809e383ca4fb1fb8533ef2af658004495413664dc88c4f79d0dadcc +DIST tmispell-voikko-0.5.0.tar.gz 423157 RMD160 fe642a0c97197907c555acfdcf834da8ab15826b SHA1 3bc277b3bf50e0e81a2f8872ce7f6e8188a7b4a2 SHA256 6368efad9585b53caf3ee2aa8e454ee4cacdbf22d65efde69da0a50859cc146d +DIST tmispell-voikko-0.6.1.tar.gz 440365 RMD160 057f4b9b1c7cd939aeaf666f5e1b319b33e7b7d9 SHA1 522a47af5c618efdb204fe9eea51e32ecfced096 SHA256 06b8e1ce093a3582488254e5af6759beebf1d02baafa7ea133aa04544c67ffbc +DIST tmispell-voikko-0.6.tar.gz 440563 RMD160 88c5b26399d29bee6dbbeae4bc6dd2d4593fa77b SHA1 6226e051e33414b6e8b5b861a42d4801eba9451f SHA256 29c8a6d3365ad843b7e59d8d89b8eb014de44f8f817cd3d470dd904ccc1b36aa +EBUILD tmispell-0.4.3.ebuild 3082 RMD160 50590c4e69f49a002ddbd03768a768763f86db0b SHA1 0bd6e508c4f38426c8278724c1e857f236e1f94f SHA256 7858713ec2e4325dbd5c9823bda486a19d1f71ae817258e27a4d77fcd880db3f +MD5 788034b76dcccf9922f4a00cf5b42ca2 tmispell-0.4.3.ebuild 3082 +RMD160 50590c4e69f49a002ddbd03768a768763f86db0b tmispell-0.4.3.ebuild 3082 +SHA256 7858713ec2e4325dbd5c9823bda486a19d1f71ae817258e27a4d77fcd880db3f tmispell-0.4.3.ebuild 3082 +EBUILD tmispell-0.5.0.ebuild 1648 RMD160 4cde5eedb4d47672d5cb3e12037ea105507abb5b SHA1 67a408153ea7fd1bc3f421c12b4febeaf741c60b SHA256 61c83a8b28b0b60d235d5b0e1aa5c06ad91046ea266abf0c536bc53f017f5f73 +MD5 95307d20112ef5b973815def0e94cf26 tmispell-0.5.0.ebuild 1648 +RMD160 4cde5eedb4d47672d5cb3e12037ea105507abb5b tmispell-0.5.0.ebuild 1648 +SHA256 61c83a8b28b0b60d235d5b0e1aa5c06ad91046ea266abf0c536bc53f017f5f73 tmispell-0.5.0.ebuild 1648 +EBUILD tmispell-0.6.1.ebuild 1972 RMD160 4f0b9b1475e0457620dd9c58e75b0623f523f72c SHA1 a750af4cd551052937e599b86d5d0b79c7e76951 SHA256 321e6006326d05085c730ef6614ded7fb23181f6cf001d8bb2f87d2ea20177ae +MD5 1ae2d5af771ed5a6e298c61ad575c2c3 tmispell-0.6.1.ebuild 1972 +RMD160 4f0b9b1475e0457620dd9c58e75b0623f523f72c tmispell-0.6.1.ebuild 1972 +SHA256 321e6006326d05085c730ef6614ded7fb23181f6cf001d8bb2f87d2ea20177ae tmispell-0.6.1.ebuild 1972 +EBUILD tmispell-0.6.ebuild 1685 RMD160 1b4e5144da6c19549ecb77814e94a6ac93b88c47 SHA1 51cd7b16f413c84106530651f07b8425922c2144 SHA256 dedb05589a4d7f6fdb640fbf9f9948a76746316d5d79d303962061ea6bb36abd +MD5 b8e3f0cac4b9db094e9c730faa7c455d tmispell-0.6.ebuild 1685 +RMD160 1b4e5144da6c19549ecb77814e94a6ac93b88c47 tmispell-0.6.ebuild 1685 +SHA256 dedb05589a4d7f6fdb640fbf9f9948a76746316d5d79d303962061ea6bb36abd tmispell-0.6.ebuild 1685 +EBUILD tmispell-9999.ebuild 2080 RMD160 4e904d05f8e8252ff38bf82d1b626350912175ad SHA1 97d26a9fdaae5bcaf099a79b1f604c437635800d SHA256 5f255eb9af4149e3c79138f0955a867926381a343dd63a2d82b64db3409aecca +MD5 3886e9118a9e169e079d44b03607f3af tmispell-9999.ebuild 2080 +RMD160 4e904d05f8e8252ff38bf82d1b626350912175ad tmispell-9999.ebuild 2080 +SHA256 5f255eb9af4149e3c79138f0955a867926381a343dd63a2d82b64db3409aecca tmispell-9999.ebuild 2080 +MD5 fad4a2258c00fae8efdf4952e87a82ea files/digest-tmispell-0.4.3 789 +RMD160 d437721979f337ad76897e326d1386bd24d59d5f files/digest-tmispell-0.4.3 789 +SHA256 8313b7d775d7b9d1d084bdd0bbe2373badb3d8d79ebe71bbdedb0df0ccd71769 files/digest-tmispell-0.4.3 789 +MD5 04a81c913baeb685eb206500ef451d93 files/digest-tmispell-0.5.0 265 +RMD160 cc179e06a96d6d4830aa3b43f9ae6f200087e86d files/digest-tmispell-0.5.0 265 +SHA256 c6b7c7f804efa7b1cc68c779058a4ed4827ad29750ffe674af6d453ba36ac1ef files/digest-tmispell-0.5.0 265 +MD5 ec973d7ee4fc4627ee4ee421792f5525 files/digest-tmispell-0.6 259 +RMD160 14fbedf5a85190a296777014a15be4a2e38aee93 files/digest-tmispell-0.6 259 +SHA256 3d0ce7764776038face2d4233dd92f4ef45978f4f51ee078e73e5726acd3db8f files/digest-tmispell-0.6 259 +MD5 08f519ae393cf703e3d1b45eaec37ddd files/digest-tmispell-0.6.1 265 +RMD160 7bbb2060f88393c648e8dd3436daf7050adc2b63 files/digest-tmispell-0.6.1 265 +SHA256 12aa120b7a958741308d563cae536afb6aa7015db73034ff6e69aca5418f2812 files/digest-tmispell-0.6.1 265 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-tmispell-9999 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-tmispell-9999 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-tmispell-9999 1 diff --git a/trunk/app-text/tmispell/files/digest-tmispell-0.4.3 b/trunk/app-text/tmispell/files/digest-tmispell-0.4.3 new file mode 100644 index 0000000..8e8c9e2 --- /dev/null +++ b/trunk/app-text/tmispell/files/digest-tmispell-0.4.3 @@ -0,0 +1,9 @@ +MD5 65a80f2542e0680409035fb0fac44f8e ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +RMD160 d821b99da52ed9d326d653d0bf01b277c30c18ab ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +SHA256 e577e996cb465222ae3c12f53e0a712d97a1c5f3786eaab51d28769f3a9af114 ispell-3.2.06-r6-gentoo-0.1.diff.bz2 8787 +MD5 d434e1aef1a815294d5012c60c4c414a ispell-3.2.06.tar.gz 580742 +RMD160 3f6a3840540ebc753146c427da8ce2d54317b46e ispell-3.2.06.tar.gz 580742 +SHA256 34a27fc4a2089bd5074aacf69323731770e5b605a2fc9a053d389f45b01c7966 ispell-3.2.06.tar.gz 580742 +MD5 30a955cc813f8962c4e4b8abde6bc258 tmispell-voikko-0.4.3.tar.gz 447162 +RMD160 67b946f135c9cec509d576e023644bb7b49df53e tmispell-voikko-0.4.3.tar.gz 447162 +SHA256 9b05b8fce809e383ca4fb1fb8533ef2af658004495413664dc88c4f79d0dadcc tmispell-voikko-0.4.3.tar.gz 447162 diff --git a/trunk/app-text/tmispell/files/digest-tmispell-0.5.0 b/trunk/app-text/tmispell/files/digest-tmispell-0.5.0 new file mode 100644 index 0000000..9acb281 --- /dev/null +++ b/trunk/app-text/tmispell/files/digest-tmispell-0.5.0 @@ -0,0 +1,3 @@ +MD5 782c4e5d00bdfa7ca125662829a49024 tmispell-voikko-0.5.0.tar.gz 423157 +RMD160 fe642a0c97197907c555acfdcf834da8ab15826b tmispell-voikko-0.5.0.tar.gz 423157 +SHA256 6368efad9585b53caf3ee2aa8e454ee4cacdbf22d65efde69da0a50859cc146d tmispell-voikko-0.5.0.tar.gz 423157 diff --git a/trunk/app-text/tmispell/files/digest-tmispell-0.6 b/trunk/app-text/tmispell/files/digest-tmispell-0.6 new file mode 100644 index 0000000..819f96d --- /dev/null +++ b/trunk/app-text/tmispell/files/digest-tmispell-0.6 @@ -0,0 +1,3 @@ +MD5 67d992e8e9d7e38f02c1ccd63193d82c tmispell-voikko-0.6.tar.gz 440563 +RMD160 88c5b26399d29bee6dbbeae4bc6dd2d4593fa77b tmispell-voikko-0.6.tar.gz 440563 +SHA256 29c8a6d3365ad843b7e59d8d89b8eb014de44f8f817cd3d470dd904ccc1b36aa tmispell-voikko-0.6.tar.gz 440563 diff --git a/trunk/app-text/tmispell/files/digest-tmispell-0.6.1 b/trunk/app-text/tmispell/files/digest-tmispell-0.6.1 new file mode 100644 index 0000000..73ece93 --- /dev/null +++ b/trunk/app-text/tmispell/files/digest-tmispell-0.6.1 @@ -0,0 +1,3 @@ +MD5 06ccb2bf53485e1d2d933d6cb0b63bb7 tmispell-voikko-0.6.1.tar.gz 440365 +RMD160 057f4b9b1c7cd939aeaf666f5e1b319b33e7b7d9 tmispell-voikko-0.6.1.tar.gz 440365 +SHA256 06b8e1ce093a3582488254e5af6759beebf1d02baafa7ea133aa04544c67ffbc tmispell-voikko-0.6.1.tar.gz 440365 diff --git a/trunk/app-text/tmispell/files/digest-tmispell-9999 b/trunk/app-text/tmispell/files/digest-tmispell-9999 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/trunk/app-text/tmispell/files/digest-tmispell-9999 @@ -0,0 +1 @@ + diff --git a/trunk/app-text/tmispell/files/ispell-3.2.06-patch.diff b/trunk/app-text/tmispell/files/ispell-3.2.06-patch.diff new file mode 100644 index 0000000..5a641f8 --- /dev/null +++ b/trunk/app-text/tmispell/files/ispell-3.2.06-patch.diff @@ -0,0 +1,190 @@ +diff -Naur ispell-3.2.06-old/Makefile ispell-3.2.06/Makefile +--- ispell-3.2.06-old/Makefile 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/Makefile 2003-12-13 23:59:23.000000000 +0000 +@@ -415,7 +415,7 @@ + cat config.X local.h \ + | sed -n -e "s/^#define[ ]*$$var[ ]*"'"'"/$$var=/p" \ + | sed -e 's/".*$$/'"'/" -e "s/=/='/" \ +- | tail -1; \ ++ | tail -n 1; \ + done > config.sh; \ + echo 'case "$$MAKE_SORTTMP" in "") \ + SORTTMP="-e /!!SORTTMP!!/s/=.*$$/=/";; *) SORTTMP=;; esac' \ +diff -Naur ispell-3.2.06-old/Makepatch ispell-3.2.06/Makepatch +--- ispell-3.2.06-old/Makepatch 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/Makepatch 2003-12-13 23:59:23.000000000 +0000 +@@ -141,7 +141,7 @@ + + if [ -r "$destdir/Patch${baserelease}.01" ] + then +- lastpatch=`ls $destdir/Patch${baserelease}.?? | tail -1 \ ++ lastpatch=`ls $destdir/Patch${baserelease}.?? | tail -n 1 \ + | sed "s;$destdir/Patch${baserelease}.;;"` + else + lastpatch=00 +diff -Naur ispell-3.2.06-old/findaffix.X ispell-3.2.06/findaffix.X +--- ispell-3.2.06-old/findaffix.X 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/findaffix.X 2003-12-13 23:59:23.000000000 +0000 +@@ -152,7 +152,7 @@ + elimlen=1 + lowcount=10 + cleanout=no +-finalsortopts='+3rn -4 +2rn -3 +1 -2 +0 -1' ++finalsortopts='-k 4rn,5 -k 3rn,4 -k 2,3 -k 1,2' + tabch=/ + while : + do +@@ -177,7 +177,7 @@ + shift + ;; + -f) +- finalsortopts='+2rn -3 +3rn -4 +1 -2 +0 -1' ++ finalsortopts='-k 3rn,4 -k 4rn,5 -k 2,3 -k 1,2' + shift + ;; + -c) +@@ -256,10 +256,10 @@ + next + '"$LOOP"' + }' < ${TMP}a \ +- | sort "-t$tabch" +0 -1 +1 $SORTTMP -o ${TMP}a ++ | sort "-t$tabch" -k 1,2 -k 2 $SORTTMP -o ${TMP}a + join "-t$tabch" -o 1.2 2.2 2.3 ${TMP}a ${TMP}a \ + | awk "-F$tabch" "BEGIN{elimlen=$elimlen}$ELIM" \ +- | sort "-t$tabch" +1 -2 +0 -1 $SORTTMP \ ++ | sort "-t$tabch" -k 2,3 -k 1,2 $SORTTMP \ + | awk "-F$tabch" 'BEGIN{tabch="'"$tabch"'"; lowcount='"$lowcount"'} + { + if ($1 == last1 && $2 == last2) +diff -Naur ispell-3.2.06-old/languages/english/Makefile ispell-3.2.06/languages/english/Makefile +--- ispell-3.2.06-old/languages/english/Makefile 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/languages/english/Makefile 2003-12-14 00:01:15.000000000 +0000 +@@ -336,7 +336,7 @@ + done; \ + trap "rm -f english.sml" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.sml $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.sml $$dicts + + $(DBUILD)english.sml+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.sml+: english.0 +@@ -376,7 +376,7 @@ + done; \ + trap "rm -f english.med" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.med $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.med $$dicts + + $(DBUILD)english.med+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.med+: english.0 +@@ -424,7 +424,7 @@ + done; \ + trap "rm -f english.lrg" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.lrg $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.lrg $$dicts + + $(DBUILD)english.lrg+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.lrg+: english.0 +@@ -477,7 +477,7 @@ + done; \ + trap "rm -f english.xlg" 1 2 15; \ + set -x; \ +- eval sort -u -t/ +0f -1 +0 $$MAKE_SORTTMP -o english.xlg $$dicts ++ eval sort -u -t/ -k 1f,2 -k 1 $$MAKE_SORTTMP -o english.xlg $$dicts + + $(DBUILD)english.xlg+: $(CONFIG) $(EXTRADICT) + $(DBUILD)english.xlg+: english.0 +diff -Naur ispell-3.2.06-old/munchlist.X ispell-3.2.06/munchlist.X +--- ispell-3.2.06-old/munchlist.X 2003-12-13 23:59:07.000000000 +0000 ++++ ispell-3.2.06/munchlist.X 2003-12-13 23:59:23.000000000 +0000 +@@ -422,7 +422,7 @@ + cat "$@" | $ISPELL "$wchars" -e1 -d $FAKEHASH -p /dev/null | tr " " ' + ' + fi \ +- | sort $SORTTMP -u +0f -1 +0 \ ++ | sort $SORTTMP -u -k 1f,2 -k 1 \ + | $COMBINE $icflags $langtabs \ + | sort $SORTTMP -u > $EXPANDEDINPUT + # +@@ -482,7 +482,7 @@ + $ISPELL "$wchars" -c -W0 -d $FAKEHASH -p /dev/null < $STRIPPEDINPUT \ + | tr " " ' + ' \ +- | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" +0 -1 +1 \ ++ | egrep "$flagmarker" | sort $SORTTMP -u "-t$flagmarker" -k 1,2 -k 2 \ + | $JOIN $SIGNED "-t$flagmarker" - $EXPANDEDINPUT > $CRUNCHEDINPUT + # + # We now have a list of legal roots, and of affixes that apply to the +@@ -508,7 +508,7 @@ + # + $verbose && echo 'Expanding dictionary into EXPANDEDPAIRS.' 1>&2 + $ISPELL "$wchars" -e3 -d $FAKEHASH -p /dev/null < $CRUNCHEDINPUT \ +- | sort $SORTTMP +1 > $EXPANDEDPAIRS ++ | sort $SORTTMP -k 2 > $EXPANDEDPAIRS + # + # Now we want to extract the lines in EXPANDEDPAIRS in which the second field + # is *not* listed in the original dictionary EXPANDEDINPUT; these illegal +@@ -536,7 +536,7 @@ + | (sed -e 's; .*$;;' ; /bin/rm -f $JOINEDPAIRS $EXPANDEDPAIRS) \ + | uniq \ + | (comm -13 - $CRUNCHEDINPUT ; /bin/rm -f $CRUNCHEDINPUT) \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 \ ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 \ + | $COMBINE $langtabs > $LEGALFLAGLIST + + # +@@ -566,7 +566,7 @@ + | sort $SORTTMP \ + | uniq -c \ + | tr ' ' ' ' \ +- | sort $SORTTMP +0rn -1 +2 > $PRODUCTLIST ++ | sort $SORTTMP -k 1rn,2 -k 3 > $PRODUCTLIST + + if [ `egrep ' p ' $PRODUCTLIST | wc -l` -gt 0 \ + -a `egrep ' s ' $PRODUCTLIST | wc -l` -gt 0 ] +@@ -681,7 +681,7 @@ + # + $verbose && echo "Creating cross expansions (pass $dbnum)." 1>&2 + $ISPELL "$wchars" -e3 -d $FAKEHASH -p /dev/null < $CROSSROOTS \ +- | sort $SORTTMP +1 > $CROSSEXPANDED ++ | sort $SORTTMP -k 2 > $CROSSEXPANDED + # + # Now we join CROSSEXPANDED against EXPANDEDINPUT to produce + # CROSSPAIRS, and then comm that against CROSSEXPANDED to +@@ -765,7 +765,7 @@ + D + }' \ + | comm -23 - $ILLEGALCOMBOS \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 \ ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 \ + | $COMBINE $langtabs > $CROSSROOTS + mv $CROSSROOTS $LEGALFLAGLIST + if [ "$debug" = yes ] +@@ -801,10 +801,10 @@ + # + $verbose && echo 'Eliminating non-optimal affixes.' 1>&2 + $ISPELL "$wchars" -e4 -d $FAKEHASH -p /dev/null < $LEGALFLAGLIST \ +- | sort $SORTTMP +1 -2 +2rn -3 +0 -1 \ +- | sort $SORTTMP -um +1 -2 \ ++ | sort $SORTTMP -k 2,3 -k 3rn,4 -k 1,2 \ ++ | sort $SORTTMP -um -k 2,3 \ + | sed -e 's; .*$;;' \ +- | sort $SORTTMP -u "-t$flagmarker" +0f -1 +0 > $MINIMALAFFIXES ++ | sort $SORTTMP -u "-t$flagmarker" -k 1f,2 -k 1 > $MINIMALAFFIXES + /bin/rm -f $LEGALFLAGLIST + # + # Now we're almost done. MINIMALAFFIXES covers some (with luck, most) +@@ -832,10 +832,10 @@ + fi + ($ISPELL "$wchars" -l -d $FAKEHASH -p /dev/null < $STRIPPEDINPUT; \ + $COMBINE $langtabs < $MINIMALAFFIXES) \ +- | sort $SORTTMP "-t$flagmarker" -u +0f -1 +0 ++ | sort $SORTTMP "-t$flagmarker" -u -k 1f,2 -k 1 + else + # MINIMALAFFIXES is empty; just produce a sorted version of STRIPPEDINPUT +- sort $SORTTMP "-t$flagmarker" -u +0f -1 +0 $STRIPPEDINPUT ++ sort $SORTTMP "-t$flagmarker" -u -k 1f,2 -k 1 $STRIPPEDINPUT + fi + /bin/rm -f ${TMP}* + if [ "X$MUNCHMAIL" != X ] diff --git a/trunk/app-text/tmispell/files/tmispell-svn-autoconf-autopoint.patch b/trunk/app-text/tmispell/files/tmispell-svn-autoconf-autopoint.patch new file mode 100644 index 0000000..6d1f262 --- /dev/null +++ b/trunk/app-text/tmispell/files/tmispell-svn-autoconf-autopoint.patch @@ -0,0 +1,11 @@ +--- configure.ac 2006-11-15 22:38:50.000000000 +0200 ++++ configure.ac.autopoint 2006-11-15 22:45:10.000000000 +0200 +@@ -79,7 +79,7 @@ + + dnl ## Gettext + AM_GNU_GETTEXT([external]) +- ++AM_GNU_GETTEXT_VERSION(0.15) + GETTEXT_PACKAGE=$PACKAGE + AC_SUBST(GETTEXT_PACKAGE) + diff --git a/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-automake.patch b/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-automake.patch new file mode 100644 index 0000000..d6aa858 --- /dev/null +++ b/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-automake.patch @@ -0,0 +1,14 @@ +diff -Naur tmispell-0.4.3.9999/autogen.sh tmispell-0.4.3.9999-g/autogen.sh +--- tmispell-0.4.3.9999/autogen.sh 2006-07-06 20:08:24.000000000 +0000 ++++ tmispell-0.4.3.9999-g/autogen.sh 2006-07-06 20:16:30.000000000 +0000 +@@ -8,8 +8,8 @@ + -o -name Makefile.in \) -print0 | xargs -0 rm -f + + rm -f config.sub config.guess +-cp /usr/share/misc/config.sub . +-cp /usr/share/misc/config.guess . ++cp /usr/share/automake/config.sub . ++cp /usr/share/automake/config.guess . + cp /usr/share/gettext/config.rpath . + + diff --git a/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-undoc.patch b/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-undoc.patch new file mode 100644 index 0000000..4aded52 --- /dev/null +++ b/trunk/app-text/tmispell/files/tmispell-svn-autogen.sh-undoc.patch @@ -0,0 +1,12 @@ +diff -Naur tmispell-0.4.3.9999/autogen.sh tmispell-0.4.3.9999-g/autogen.sh +--- tmispell-0.4.3.9999/autogen.sh 2006-07-06 20:21:43.000000000 +0000 ++++ tmispell-0.4.3.9999-g/autogen.sh 2006-07-06 20:29:45.000000000 +0000 +@@ -14,7 +14,7 @@ + + + ## Generate documentation +-make -C doc/sgml -f Makefile.am generate ++#make -C doc/sgml -f Makefile.am generate + cp -f doc/tmispell.en.txt README + cp -f doc/tmispell.fi.txt LUEMINUT + ln -fs tmispell.en.1.in doc/tmispell.1.in diff --git a/trunk/app-text/tmispell/files/tmispell.conf.gentoo b/trunk/app-text/tmispell/files/tmispell.conf.gentoo new file mode 100644 index 0000000..14153a1 --- /dev/null +++ b/trunk/app-text/tmispell/files/tmispell.conf.gentoo @@ -0,0 +1,64 @@ +### The ispell program to use +ispell = /usr/bin/ispell.real + + +### TeX filtering: + +# Command filter. Syntax is: +# <command_name> <parameters>, ... +# where <parameters> is a string of letters 'o', 'O', 'p' and 'P' which have +# meanings +# 'o': an optional parameter not to be spell checked +# 'O': an optional parameter to be spell checked +# 'p': an obligatory parameter not to be spell checked +# 'P': an obligatory parameter to be spell checked +tex-command-filter = " + addtocounter pp, addtolength pp, alpha p, arabic p, fnsymbol p, roman p, + stepcounter p, setcounter pp, usecounter p, value p, newcounter po, + refstepcounter p, + + label p, pageref p, ref p, + + newcommand poOP, renewcommand poOP, newenvironment poOPP, + renewenvironment poOPP, newtheorem poPo, newfont pp, + floatname pP, + + documentclass op, usepackage op, + + begin po, end p, + + setlength pp, addtolength pp, settowidth pp, settodepth pp, settoheight pp, + + enlargethispage p, hyphenation p, + + pagenumbering p, pagestyle p, + + addvspace p, framebox ooP, hspace p, vspace p, makebox ooP, parbox ooopP, + raisebox pooP, rule opp, sbox pO, savebox pooP, usebox p, + + include p, includeonly p, input p, + + addcontentsline ppP, addtocontents pP, + + fontencoding p, fontfamily p, fontseries p, fontshape p, fontsize pp, + usefont pppp, + + documentstyle op, cite p, nocite p, psfig p, selectlanguage p, + includegraphics op, bibitem op, + + geometry p," + +# TeX environments to skip. +tex-environment-filter = "equation $ eqnarray displaymath picture + thebibliography math" + +### SGML filtering +sgml-attributes-to-check = "alt" + +### Spell checker entries +# <identifier> <library> <dictionary> <encoding> <locale> <word_c> <boundary_c> +suomi "/usr/lib/libvoikko.so.1" "/dev/null" "UTF-8" "fi_FI@euro" "." "-':" +finnish "/usr/lib/libvoikko.so.1" "/dev/null" "UTF-8" "fi_FI@euro" "." "-':" + +# Note that for Finnish you might also need the second entry "finnish", +# in case some program uses it. diff --git a/trunk/app-text/tmispell/tmispell-0.4.3.ebuild b/trunk/app-text/tmispell/tmispell-0.4.3.ebuild new file mode 100644 index 0000000..b3b34b2 --- /dev/null +++ b/trunk/app-text/tmispell/tmispell-0.4.3.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_P=${PN}-voikko-${PV} +# ISPELL build is copypasted from in tree version ebuild defined below! +ISPELL_PF=ispell-3.2.06-r6 +ISPELL_P=ispell-3.2.06 +ISPELL_PATCH_VER=0.1 + +DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers. +(This is a voikko patched version)" +SRC_URI="http://www.hunspell-fi.org/files/${MY_P}.tar.gz + http://fmg-www.cs.ucla.edu/geoff/tars/${ISPELL_P}.tar.gz + mirror://gentoo/${ISPELL_PF}-gentoo-${ISPELL_PATCH_VER}.diff.bz2" +HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" + +SLOT="0" +LICENSE="GPL-2 as-is" #GPL=tmispell as-is=ispell +KEYWORDS="-x86" # -x86 until I figure how to hack the ispell and all +#KEYWORDS="alpha amd64 hppa mips ppc ppc-macos sparc x86" # ← ispell has this + +DEPEND="!app-text/ispell + !app-dicts/ispell-fi + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext ) + sys-apps/coreutils + sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND="!app-text/ispell + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" +ISPELL_S="${WORKDIR}/${ISPELL_P}/" + +src_unpack() { + # ispell + unpack ${A} + cd "${ISPELL_S}" + epatch "${WORKDIR}/${ISPELL_PF}-gentoo-${ISPELL_PATCH_VER}.diff" + epatch "${FILESDIR}/${ISPELL_P}-patch.diff" +} + +src_compile() { + # ispell + einfo "compiling ispell..." + cd "${ISPELL_S}" # ? + make config.sh || die "make config.sh failed" + cp -p config.sh config.sh.org + sed \ + -e "s:^\(BINDIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(LIBDIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(MAN1DIR='\)\(.*\):\1${D}\2:" \ + -e "s:^\(MAN4DIR='\)\(.*\):\1${D}\2:" \ + < config.sh > config.sh.install + emake -j1 || die "emake ispell failed" + + # tmispell + einfo "compiling tmispell..." + cd ${S} + econf || die "econf tmispell failed" + emake || die "emake tmispell failed" +} + +src_install() { + # ispell + cd ${ISPELL_S} + einfo "installing ispell" + cp -p config.sh.install config.sh + dodir /usr/bin /usr/lib/ispell /usr/share/info \ + /usr/share/man/man1 /usr/share/man/man5 + emake install || die "install ispell failed" + rmdir ${D}/usr/share/man/man5 + rmdir ${D}/usr/share/info + dodir /usr/share/doc/${ISPELL_P} + insinto /usr/share/doc/${ISPELL_P} + doins Contributors README WISHES + dosed ${D}/usr/share/man/man1/ispell.1 + # tmispell + cd ${S} + einfo "installing tmispell" + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog LUEMINUT NEWS NEWS.fi README tmispell.conf.example + touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" + touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" + # FIXME: configuration needs sedding for ${ROOT} != / ? + insinto /etc/ + newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf + mv "${D}/usr/bin/ispell" "${D}/usr/bin/ispell.real" + dosym /usr/bin/tmispell /usr/bin/ispell +} + +pkg_postinst() { + elog "ispell was installed as /usr/bin/ispell.real," + elog "and tmispell as symlink /usr/bin/ispell→/usr/bin/tmispell" +} + diff --git a/trunk/app-text/tmispell/tmispell-0.5.0.ebuild b/trunk/app-text/tmispell/tmispell-0.5.0.ebuild new file mode 100644 index 0000000..c983e45 --- /dev/null +++ b/trunk/app-text/tmispell/tmispell-0.5.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_P=${PN}-voikko-${PV} + +DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers. +(This is a voikko patched version)" +SRC_URI="http://www.hunspell-fi.org/files/${MY_P}.tar.gz" +HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND=">=app-text/ispell-3.2.06-r7 + !app-dicts/ispell-fi + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext ) + sys-apps/coreutils + sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND=">=app-text/ispell-3.2.06-r7 + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog LUEMINUT NEWS NEWS.fi README tmispell.conf.example + if [[ -d "${ROOT}/usr/lib/ispell" ]] ; then + dodir /usr/lib/ispell + touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" + touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" + elif [[ -d "${ROOT}/usr/share/ispell" ]] ; then + dodir /usr/share/ispell + touch "${D}/usr/share/ispell/suomi.hash" "${D}/usr/share/ispell/suomi.aff" + touch "${D}/usr/share/ispell/finnish.hash" "${D}/usr/share/ispell/suomi.aff" + fi + insinto /etc/ + newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf + sed -i "s:/usr/bin:${ROOT}/usr/bin:g" "${D}/etc/tmispell.conf" + dosym /usr/bin/tmispell /usr/bin/ispell +} diff --git a/trunk/app-text/tmispell/tmispell-0.6.1.ebuild b/trunk/app-text/tmispell/tmispell-0.6.1.ebuild new file mode 100644 index 0000000..b90630c --- /dev/null +++ b/trunk/app-text/tmispell/tmispell-0.6.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_P=${PN}-voikko-${PV} + +DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers." +SRC_URI="http://www.hunspell-fi.org/files/${MY_P}.tar.gz" +HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" +IUSE="enchant nls" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +DEPEND=">=app-text/ispell-3.2.06-r7 + !app-dicts/ispell-fi + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext ) + sys-apps/coreutils + sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND=">=app-text/ispell-3.2.06-r7 + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf $(use_enable enchant ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog LUEMINUT NEWS README tmispell.conf.example + if [[ -d "${ROOT}/usr/lib/ispell" ]] ; then + dodir /usr/lib/ispell + touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" + touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" + elif [[ -d "${ROOT}/usr/share/ispell" ]] ; then + dodir /usr/share/ispell + touch "${D}/usr/share/ispell/suomi.hash" "${D}/usr/share/ispell/suomi.aff" + touch "${D}/usr/share/ispell/finnish.hash" "${D}/usr/share/ispell/suomi.aff" + fi + insinto /etc/ + newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf + sed -i "s:/usr/bin:${ROOT}/usr/bin:g" "${D}/etc/tmispell.conf" + dosym /usr/bin/tmispell /usr/bin/ispell +} + +pkg_postrm() { + # FIXME: a bit bogus, because it warns on upgrades and whatnot + if has_version app-text/ispell ; then + elog "If you are removing tmispell AND leaving ispell you must" + elog "remerge ispell or do:" + elog " ln -s ${ROOT}/usr/bin/ispell.real ${ROOT}/usr/bin/ispell " + elog "for ispell to work" + fi +} diff --git a/trunk/app-text/tmispell/tmispell-0.6.ebuild b/trunk/app-text/tmispell/tmispell-0.6.ebuild new file mode 100644 index 0000000..9d7f447 --- /dev/null +++ b/trunk/app-text/tmispell/tmispell-0.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_P=${PN}-voikko-${PV} + +DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers. +(This is a voikko patched version)" +SRC_URI="http://www.hunspell-fi.org/files/${MY_P}.tar.gz" +HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" +IUSE="enchant" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" + +DEPEND=">=app-text/ispell-3.2.06-r7 + !app-dicts/ispell-fi + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext ) + sys-apps/coreutils + sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND=">=app-text/ispell-3.2.06-r7 + app-text/voikko + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf $(use_enable enchant ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog LUEMINUT NEWS README tmispell.conf.example + if [[ -d "${ROOT}/usr/lib/ispell" ]] ; then + dodir /usr/lib/ispell + touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" + touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" + elif [[ -d "${ROOT}/usr/share/ispell" ]] ; then + dodir /usr/share/ispell + touch "${D}/usr/share/ispell/suomi.hash" "${D}/usr/share/ispell/suomi.aff" + touch "${D}/usr/share/ispell/finnish.hash" "${D}/usr/share/ispell/suomi.aff" + fi + insinto /etc/ + newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf + sed -i "s:/usr/bin:${ROOT}/usr/bin:g" "${D}/etc/tmispell.conf" + dosym /usr/bin/tmispell /usr/bin/ispell +} diff --git a/trunk/app-text/tmispell/tmispell-9999.ebuild b/trunk/app-text/tmispell/tmispell-9999.ebuild new file mode 100644 index 0000000..a3c1d61 --- /dev/null +++ b/trunk/app-text/tmispell/tmispell-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +WANT_AUTOCONF="2.5" +WANT_AUTOMAKE="1.9" +AT_M4DIR="src/glibmm/m4" +inherit eutils subversion autotools + +DESCRIPTION="Tmispell is interface between ispell OO.o Finnish spellcheckers. +(This is a voikko patched version)" +HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/voikko/trunk/tmispell" +ESVN_PATCHES="tmispell-svn-autoconf-autopoint.patch" +IUSE="enchant" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-x86 -amd64" # Live SVN build not for general consumption + +DEPEND=">=app-text/ispell-3.2.06-r7 + !app-dicts/ispell-fi + =app-text/voikko-9999 + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext ) + sys-apps/coreutils + sys-apps/sed + sys-devel/bison + sys-apps/miscfiles + >=sys-libs/ncurses-5.2" +RDEPEND=">=app-text/ispell-3.2.06-r7 + =app-text/voikko-9999 + >=dev-libs/glib-2.0.0 + nls? ( sys-devel/gettext )" + +src_unpack() { + subversion_src_unpack + cd "${S}" + # autogen.sh is b0rken, let’s just: + find src -name '*.cc' -o -name '*.hh' | sort > po/POTFILES.in + libtoolize --force + eaclocal + eautoheader + eautomake + eautoconf + eautoheader + autopoint +} + +src_compile() { + econf $(use_enable enchant ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog LUEMINUT NEWS README tmispell.conf.example + if [[ -d "${ROOT}/usr/lib/ispell" ]] ; then + dodir /usr/lib/ispell + touch "${D}/usr/lib/ispell/suomi.hash" "${D}/usr/lib/ispell/suomi.aff" + touch "${D}/usr/lib/ispell/finnish.hash" "${D}/usr/lib/ispell/finnish.aff" + elif [[ -d "${ROOT}/usr/share/ispell" ]] ; then + dodir /usr/share/ispell + touch "${D}/usr/share/ispell/suomi.hash" "${D}/usr/share/ispell/suomi.aff" + touch "${D}/usr/share/ispell/finnish.hash" "${D}/usr/share/ispell/suomi.aff" + fi + insinto /etc/ + newins "${FILESDIR}/tmispell.conf.gentoo" tmispell.conf + sed -i "s:/usr/bin:${ROOT}/usr/bin:g" "${D}/etc/tmispell.conf" + dosym /usr/bin/tmispell /usr/bin/ispell +} diff --git a/trunk/app-text/voikko/Manifest b/trunk/app-text/voikko/Manifest new file mode 100644 index 0000000..00c022a --- /dev/null +++ b/trunk/app-text/voikko/Manifest @@ -0,0 +1,55 @@ +DIST libvoikko-0.9.tar.gz 345484 RMD160 fa93eab3e9a0b24e21acdc6721bd444cd23d6088 SHA1 c8486f500cdda0b34d73854e05ed813ee267450f SHA256 880ff66385dd367827d98d4e770fc94afc5c3d772ade2b71fadf81b85bcb923f +DIST libvoikko-1.0.tar.gz 347429 RMD160 d9852847063e009f4eb21ac46f8b388ebe097afa SHA1 10f54b41a754765a6ee824418288efb6b7ce3656 SHA256 e73f518d4641d8ab24e823125e7511ecc165e4dd1afbd9532e507e19f445fec6 +DIST libvoikko-1.1.tar.gz 352569 RMD160 5964d89c5cf9890ba4da9db088ef5cfd31885f5e SHA1 af8532d7f69c4fe751830adcf4b29f20b50ea9ad SHA256 2eb2db6691c0ff75db213835a2b17b8c7b9d080dad04704ddc39cbc6fe9e7b40 +DIST libvoikko-1.2.tar.gz 353402 RMD160 f5ec4cd906b514083ac68e090ed8baca3afb659c SHA1 91d16e10e475daaf4e0e7c900d7fa1b85be6688e SHA256 36733a63497d62d4a008ed509d731a5439cbc9af25c63ba1521b65695d1adbd0 +DIST libvoikko-1.3.1.tar.gz 357497 RMD160 ec00dc5cc27cefdc600b9c4eba925f44de443bba SHA1 0bcea56c450ef8437943b7a3902b4e8b799d2c29 SHA256 970a7af255078d265858416a6909a11313d870709c4c0f4d757e23c9c2ea326d +DIST libvoikko-20060901.tar.gz 352576 RMD160 eabc06ba0f75512222deb671948c7bc3acd30f13 SHA1 21c764bb533b7b218f3242f61e7164a0f4371129 SHA256 6eaa9b6fb1008db7d4098ddb9e98bfb902d16b515f79bb4ee03efc2762874989 +EBUILD voikko-0.9.ebuild 723 RMD160 ef015d9f30e01436368b0ae3718b597dfe41e530 SHA1 53a3ece52bac71af735bc2668d4b10f56dc5b563 SHA256 316a98a57d6fbf01d78fe9dfab3ffc38c445345b465e4a228b8b3d4a6464d62e +MD5 ed1cf782959413cc325f208c31f236be voikko-0.9.ebuild 723 +RMD160 ef015d9f30e01436368b0ae3718b597dfe41e530 voikko-0.9.ebuild 723 +SHA256 316a98a57d6fbf01d78fe9dfab3ffc38c445345b465e4a228b8b3d4a6464d62e voikko-0.9.ebuild 723 +EBUILD voikko-1.0.ebuild 722 RMD160 7f50ca459d1e69a0c8fdd4759322801e41d944b7 SHA1 d70f9ec55fcc25b362ca102959f42b76944cb176 SHA256 552edd090fb6b1987e571043df437ecca1cb576931bb6d03ad4bcafc3dd3887e +MD5 556c0ffbed841c5dd04fbfff6cabc21e voikko-1.0.ebuild 722 +RMD160 7f50ca459d1e69a0c8fdd4759322801e41d944b7 voikko-1.0.ebuild 722 +SHA256 552edd090fb6b1987e571043df437ecca1cb576931bb6d03ad4bcafc3dd3887e voikko-1.0.ebuild 722 +EBUILD voikko-1.1.ebuild 729 RMD160 1dc80122d1e34380b02fe62ac0f92a1dd1c1c041 SHA1 7daa15495ce1c0b9f950abfa9ffc13f4a27fdd5b SHA256 7ebf23f0067fd96209cccf9b293e6c385d7523d3277d46382cb8cc1db070e086 +MD5 62c51a22fc19f220cb0b543279d42276 voikko-1.1.ebuild 729 +RMD160 1dc80122d1e34380b02fe62ac0f92a1dd1c1c041 voikko-1.1.ebuild 729 +SHA256 7ebf23f0067fd96209cccf9b293e6c385d7523d3277d46382cb8cc1db070e086 voikko-1.1.ebuild 729 +EBUILD voikko-1.2.ebuild 693 RMD160 dee6b2f0d2b210df10adef01c8fe012972b305d2 SHA1 83f656ab7c32e6e145b6a0395297afa2948d4928 SHA256 ccf23c1ba640278861a34d48c559da03875ef2327e725102a4824c4e6303390a +MD5 8f637d26531bd5c2e96001515d38b12e voikko-1.2.ebuild 693 +RMD160 dee6b2f0d2b210df10adef01c8fe012972b305d2 voikko-1.2.ebuild 693 +SHA256 ccf23c1ba640278861a34d48c559da03875ef2327e725102a4824c4e6303390a voikko-1.2.ebuild 693 +EBUILD voikko-1.3.1.ebuild 762 RMD160 85562473941f079a4900611a9b56cfc80e966ec4 SHA1 6aa0df7825065fc22764d973fa800d3b9d3441f1 SHA256 c04225c05ea17c3ff0319e117fe1e4f68e74b7141724561992dd2d6d6a1fac43 +MD5 f3a706f9b1b046eabd97d20988d1ba2b voikko-1.3.1.ebuild 762 +RMD160 85562473941f079a4900611a9b56cfc80e966ec4 voikko-1.3.1.ebuild 762 +SHA256 c04225c05ea17c3ff0319e117fe1e4f68e74b7141724561992dd2d6d6a1fac43 voikko-1.3.1.ebuild 762 +EBUILD voikko-99.20060901.ebuild 742 RMD160 27481028c2bca4be2994a834144d526f1ed9e560 SHA1 30f444a4bdef30072f056e63348f32e56b7c9b23 SHA256 1d1f76694df4a50e4efa4aa8dbbeea1964071502367167835369890d6ffb42bc +MD5 8faf533770fc905b6c871e4b52f74777 voikko-99.20060901.ebuild 742 +RMD160 27481028c2bca4be2994a834144d526f1ed9e560 voikko-99.20060901.ebuild 742 +SHA256 1d1f76694df4a50e4efa4aa8dbbeea1964071502367167835369890d6ffb42bc voikko-99.20060901.ebuild 742 +EBUILD voikko-9999.ebuild 913 RMD160 cf12765b25b241cf09f391136c9d8cff198dc841 SHA1 b253f0afc50971648ebfd3e5b0cdde4839f3c58b SHA256 3679a2c2d4f64f80f69e908fcf3877910b8a7ba17790e4807f282040330fb7de +MD5 e596faa565991b35e4214e31cce31b26 voikko-9999.ebuild 913 +RMD160 cf12765b25b241cf09f391136c9d8cff198dc841 voikko-9999.ebuild 913 +SHA256 3679a2c2d4f64f80f69e908fcf3877910b8a7ba17790e4807f282040330fb7de voikko-9999.ebuild 913 +MD5 dd3ca91e05c4748295c2d97a1d8ae876 files/digest-voikko-0.9 241 +RMD160 dd1cf037bd14f1e16f1a479d1800e91b66a6e17c files/digest-voikko-0.9 241 +SHA256 54402b188d56d5da5a6475300e0307f8882e99a0c454914f7238b092cda12f3f files/digest-voikko-0.9 241 +MD5 b119cb9118c1ed5150fc7588d73ac76f files/digest-voikko-1.0 241 +RMD160 65a8c830e35cf33fdedcac3970bb8f9e68d0c653 files/digest-voikko-1.0 241 +SHA256 dd74999e290a07da838927823c00e4f9c9343cdfc2f6f0fe3f6ef06745c0fc07 files/digest-voikko-1.0 241 +MD5 743464e054de6464c1cde473c55c5f5b files/digest-voikko-1.1 241 +RMD160 cdb92ce5e37c1123a948b34ac08b5d318c6a1413 files/digest-voikko-1.1 241 +SHA256 1ce3f2ec2b3ee3b3b05c5fdc50b12caf6090a6dc8ce5f2fb53d8ee6d97f85d30 files/digest-voikko-1.1 241 +MD5 a22c80b3dbfff1c9b11cf9ce5b5e76ab files/digest-voikko-1.2 241 +RMD160 7fb3121bcf3297c54044a9a9cae6b2f392ff64c0 files/digest-voikko-1.2 241 +SHA256 9590e489eb5ddae0ea3a9c680a5c0bcb1640c0211f4e2a7c096ffdecfcfeb90a files/digest-voikko-1.2 241 +MD5 7b43b5c45dff0bdf5a51a52921c1166a files/digest-voikko-1.3.1 247 +RMD160 06901c1e9a08e5db50cdc6d0e6d8a8656336d1ff files/digest-voikko-1.3.1 247 +SHA256 a38c070d5433f06b571db06759aa3f5f873dbe6805d79b862f0a4e189346b326 files/digest-voikko-1.3.1 247 +MD5 ea9bb0dae4d289c33ed0969e4002e927 files/digest-voikko-99.20060901 256 +RMD160 2d1d648ebbc0f3972f4ddc60560576dd46cae3ae files/digest-voikko-99.20060901 256 +SHA256 3ddd3312755cbf42d422ef39aad39e95f1ca3fe6bc7044618c7a1fc132946149 files/digest-voikko-99.20060901 256 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-voikko-9999 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-voikko-9999 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-voikko-9999 1 diff --git a/trunk/app-text/voikko/files/digest-voikko-0.9 b/trunk/app-text/voikko/files/digest-voikko-0.9 new file mode 100644 index 0000000..6d837d7 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-0.9 @@ -0,0 +1,3 @@ +MD5 880e4a2dd8be893c500cb80719974cea libvoikko-0.9.tar.gz 345484 +RMD160 fa93eab3e9a0b24e21acdc6721bd444cd23d6088 libvoikko-0.9.tar.gz 345484 +SHA256 880ff66385dd367827d98d4e770fc94afc5c3d772ade2b71fadf81b85bcb923f libvoikko-0.9.tar.gz 345484 diff --git a/trunk/app-text/voikko/files/digest-voikko-1.0 b/trunk/app-text/voikko/files/digest-voikko-1.0 new file mode 100644 index 0000000..a21c912 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-1.0 @@ -0,0 +1,3 @@ +MD5 9f69cfb20366dd96db10e7bb1bca4ae4 libvoikko-1.0.tar.gz 347429 +RMD160 d9852847063e009f4eb21ac46f8b388ebe097afa libvoikko-1.0.tar.gz 347429 +SHA256 e73f518d4641d8ab24e823125e7511ecc165e4dd1afbd9532e507e19f445fec6 libvoikko-1.0.tar.gz 347429 diff --git a/trunk/app-text/voikko/files/digest-voikko-1.1 b/trunk/app-text/voikko/files/digest-voikko-1.1 new file mode 100644 index 0000000..1a15791 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-1.1 @@ -0,0 +1,3 @@ +MD5 85729e8f4cbc12066b4fe9e16cb9bfb4 libvoikko-1.1.tar.gz 352569 +RMD160 5964d89c5cf9890ba4da9db088ef5cfd31885f5e libvoikko-1.1.tar.gz 352569 +SHA256 2eb2db6691c0ff75db213835a2b17b8c7b9d080dad04704ddc39cbc6fe9e7b40 libvoikko-1.1.tar.gz 352569 diff --git a/trunk/app-text/voikko/files/digest-voikko-1.2 b/trunk/app-text/voikko/files/digest-voikko-1.2 new file mode 100644 index 0000000..8129d92 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-1.2 @@ -0,0 +1,3 @@ +MD5 6013d7b0957169b44cf2760c34fb58c2 libvoikko-1.2.tar.gz 353402 +RMD160 f5ec4cd906b514083ac68e090ed8baca3afb659c libvoikko-1.2.tar.gz 353402 +SHA256 36733a63497d62d4a008ed509d731a5439cbc9af25c63ba1521b65695d1adbd0 libvoikko-1.2.tar.gz 353402 diff --git a/trunk/app-text/voikko/files/digest-voikko-1.3.1 b/trunk/app-text/voikko/files/digest-voikko-1.3.1 new file mode 100644 index 0000000..767c8bf --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-1.3.1 @@ -0,0 +1,3 @@ +MD5 03a36ef080f45a742ed72ec793df1983 libvoikko-1.3.1.tar.gz 357497 +RMD160 ec00dc5cc27cefdc600b9c4eba925f44de443bba libvoikko-1.3.1.tar.gz 357497 +SHA256 970a7af255078d265858416a6909a11313d870709c4c0f4d757e23c9c2ea326d libvoikko-1.3.1.tar.gz 357497 diff --git a/trunk/app-text/voikko/files/digest-voikko-99.20060901 b/trunk/app-text/voikko/files/digest-voikko-99.20060901 new file mode 100644 index 0000000..47d0705 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-99.20060901 @@ -0,0 +1,3 @@ +MD5 a00e3787bdb39c4fcbbd4fe102e7a582 libvoikko-20060901.tar.gz 352576 +RMD160 eabc06ba0f75512222deb671948c7bc3acd30f13 libvoikko-20060901.tar.gz 352576 +SHA256 6eaa9b6fb1008db7d4098ddb9e98bfb902d16b515f79bb4ee03efc2762874989 libvoikko-20060901.tar.gz 352576 diff --git a/trunk/app-text/voikko/files/digest-voikko-9999 b/trunk/app-text/voikko/files/digest-voikko-9999 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/trunk/app-text/voikko/files/digest-voikko-9999 @@ -0,0 +1 @@ + diff --git a/trunk/app-text/voikko/voikko-0.9.ebuild b/trunk/app-text/voikko/voikko-0.9.ebuild new file mode 100644 index 0000000..5b59b9f --- /dev/null +++ b/trunk/app-text/voikko/voikko-0.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="lib${P}" +DESCRIPTION="Free Finnish spellchecking and huphenation library" +HOMEPAGE="http://www.hunspell-fi.org/" +SRC_URI="http://www.hunspell-fi.org/files/${MY_PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sci-misc/malaga + sci-misc/suomi-malaga + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} +src_compile() { + econf --with-malaga-path=${ROOT}/usr/ \ + --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-1.0.ebuild b/trunk/app-text/voikko/voikko-1.0.ebuild new file mode 100644 index 0000000..6d3dd73 --- /dev/null +++ b/trunk/app-text/voikko/voikko-1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="lib${P}" +DESCRIPTION="Free Finnish spellchecking and hyphenation library" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="http://www.hunspell-fi.org/files/${MY_PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sci-misc/malaga + sci-misc/suomi-malaga + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} +src_compile() { + econf --with-malaga-path=${ROOT}/usr/ \ + --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-1.1.ebuild b/trunk/app-text/voikko/voikko-1.1.ebuild new file mode 100644 index 0000000..38d41d9 --- /dev/null +++ b/trunk/app-text/voikko/voikko-1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="lib${P}" +DESCRIPTION="Free Finnish spellchecking and hyphenation library" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="http://www.hunspell-fi.org/files/${MY_PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="sci-misc/malaga + sci-misc/suomi-malaga + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} +src_compile() { + econf --with-malaga-path=${ROOT}/usr/ \ + --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-1.2.ebuild b/trunk/app-text/voikko/voikko-1.2.ebuild new file mode 100644 index 0000000..f11a48b --- /dev/null +++ b/trunk/app-text/voikko/voikko-1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="lib${P}" +DESCRIPTION="Free Finnish spellchecking and hyphenation library" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="http://www.hunspell-fi.org/files/${MY_PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="sci-misc/malaga + sci-misc/suomi-malaga + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} +src_compile() { + econf --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-1.3.1.ebuild b/trunk/app-text/voikko/voikko-1.3.1.ebuild new file mode 100644 index 0000000..6edd39f --- /dev/null +++ b/trunk/app-text/voikko/voikko-1.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="lib${P}" +DESCRIPTION="Free Finnish spellchecking and hyphenation library" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="mirror://sourceforge/voikko/${MY_PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="sci-misc/malaga + || ( =sci-misc/suomi-malaga-1.0* =sci-misc/suomi-malaga-0.7* + =sci-misc/suomi-malaga-9999 ) + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} + +src_compile() { + econf --with-dictionary-path="${ROOT}/usr/lib/suomi-malaga/" \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-99.20060901.ebuild b/trunk/app-text/voikko/voikko-99.20060901.ebuild new file mode 100644 index 0000000..6e02e7d --- /dev/null +++ b/trunk/app-text/voikko/voikko-99.20060901.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="libvoikko-1.1" +DESCRIPTION="Free Finnish spellchecking and hyphenation library" +HOMEPAGE="http://www.lemi.fi/voikko/" +SRC_URI="http://www.hunspell-fi.org/voikkotmp/libvoikko-20060901.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-x86" +IUSE="" + +DEPEND="sci-misc/malaga + sci-misc/suomi-malaga + virtual/libiconv" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_PN} +src_compile() { + econf --with-malaga-path=${ROOT}/usr/ \ + --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} diff --git a/trunk/app-text/voikko/voikko-9999.ebuild b/trunk/app-text/voikko/voikko-9999.ebuild new file mode 100644 index 0000000..89ae7da --- /dev/null +++ b/trunk/app-text/voikko/voikko-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +WANT_AUTOCONF="2.5" +WANT_AUTOMAKE="1.9" +inherit subversion autotools + +DESCRIPTION="Free Finnish spellchecking and huphenation library" +HOMEPAGE="http://www.hunspell-fi.org/" +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/voikko/trunk/libvoikko" +#ESVN_BOOTSTRAP="autogen.sh" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-x86 -amd64" # Live SVN not for public consumption +IUSE="" + +DEPEND="sci-misc/malaga + =sci-misc/suomi-malaga-9999 + virtual/libiconv" +RDEPEND="${DEPEND}" + +src_unpack() { + subversion_src_unpack + cd ${S} + eautoreconf +} + +src_compile() { + econf --with-malaga-path=${ROOT}/usr/ \ + --with-dictionary-path=${ROOT}/usr/lib/suomi-malaga/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README TODO +} + diff --git a/trunk/sci-misc/malaga/Manifest b/trunk/sci-misc/malaga/Manifest new file mode 100644 index 0000000..322413f --- /dev/null +++ b/trunk/sci-misc/malaga/Manifest @@ -0,0 +1,36 @@ +AUX malaga-7.5-makefile-destdir-debian-readline-libs.patch 3612 RMD160 0b509b418b2973baa7d8a1d687498446693b45db SHA1 a79fd7c45e9d5df5fa71dfe68e46da2746290e9e SHA256 bb081cf4be0bd4c59b8f9f713e132d4e4812f6f389b9a0ea0ffecafb51846c60 +MD5 dfb730e2ca74b44d99a5f42bc3c533e0 files/malaga-7.5-makefile-destdir-debian-readline-libs.patch 3612 +RMD160 0b509b418b2973baa7d8a1d687498446693b45db files/malaga-7.5-makefile-destdir-debian-readline-libs.patch 3612 +SHA256 bb081cf4be0bd4c59b8f9f713e132d4e4812f6f389b9a0ea0ffecafb51846c60 files/malaga-7.5-makefile-destdir-debian-readline-libs.patch 3612 +DIST malaga-7.5.tgz 495080 RMD160 d7cb057d617fa8dd04de340f84597115b596c3e6 SHA1 d91f35b78dc761052f4bf20a35e5b86e8ada6858 SHA256 919ae450548b48d1db9cd0b9d3ef73b271c144f193878cf26e4d262fc63e4ec4 +DIST malaga-7.6.tgz 522501 RMD160 415f8f44c85eb9cb73b96d53e3eb93d2c3379fcb SHA1 084567564bc4e6a50e88b093bcf08cec6c8075ca SHA256 b036ccc5c0da7d08299723ca18ea7d03776257ce97624172af51d0a2bff739fe +DIST malaga-7.7.tgz 564935 RMD160 b28e7a718cac5d5e92d26daccc2d2d470d6b8d74 SHA1 b23d8dff41503ce2a792fc51421ed202eb6d5c4f SHA256 89aa5e00b239acdabf1183b85d6164948695e4b97ea5a5f703b86be95c962149 +DIST malaga-7.8.tgz 565494 RMD160 c426c257f3d5bbc5e949f09aa6a56e81f7c1a10e SHA1 12b6c6090817875430b45b61e18af6eca8b6781f SHA256 8b9e834d7df9a4c025aa527a20716d87fc44b6e19f31e2a0841a4b593d0619e0 +EBUILD malaga-7.5.ebuild 1267 RMD160 370249dafc3643c7a50b27b49753400f9e95fbca SHA1 9a68a57ceda567b3acbb442806ab2dcfff1bafdb SHA256 eb719df3efb614a0bbfda159843064dc731247b0348a71e01fac8db6da6f5a2d +MD5 0401e1f4389ff4c130426de48ed03ccf malaga-7.5.ebuild 1267 +RMD160 370249dafc3643c7a50b27b49753400f9e95fbca malaga-7.5.ebuild 1267 +SHA256 eb719df3efb614a0bbfda159843064dc731247b0348a71e01fac8db6da6f5a2d malaga-7.5.ebuild 1267 +EBUILD malaga-7.6.ebuild 1094 RMD160 0b659e7df32b0fca646fcd153f9eddf4fac8aaed SHA1 990265fe7febc90a6e436b28120b06b0c450fabd SHA256 2543e09ca581d199b1c1baf7cba0611de0a21ff0d09e8542265b56827d8292cc +MD5 360dadb15097fe8d6857a8e7d86524ad malaga-7.6.ebuild 1094 +RMD160 0b659e7df32b0fca646fcd153f9eddf4fac8aaed malaga-7.6.ebuild 1094 +SHA256 2543e09ca581d199b1c1baf7cba0611de0a21ff0d09e8542265b56827d8292cc malaga-7.6.ebuild 1094 +EBUILD malaga-7.7.ebuild 1094 RMD160 0b659e7df32b0fca646fcd153f9eddf4fac8aaed SHA1 990265fe7febc90a6e436b28120b06b0c450fabd SHA256 2543e09ca581d199b1c1baf7cba0611de0a21ff0d09e8542265b56827d8292cc +MD5 360dadb15097fe8d6857a8e7d86524ad malaga-7.7.ebuild 1094 +RMD160 0b659e7df32b0fca646fcd153f9eddf4fac8aaed malaga-7.7.ebuild 1094 +SHA256 2543e09ca581d199b1c1baf7cba0611de0a21ff0d09e8542265b56827d8292cc malaga-7.7.ebuild 1094 +EBUILD malaga-7.8.ebuild 1083 RMD160 394133d2e8b1f671c3a68a5c687d2b37f78018df SHA1 abf79c87d56439453a385be167d50e0c5e6db8b7 SHA256 6ce6baeecfabc4b1582510b4b54d4509eb3e6614c316ec231e49c1baf5f5e5af +MD5 0e225c356d3d26ed73b603d655738536 malaga-7.8.ebuild 1083 +RMD160 394133d2e8b1f671c3a68a5c687d2b37f78018df malaga-7.8.ebuild 1083 +SHA256 6ce6baeecfabc4b1582510b4b54d4509eb3e6614c316ec231e49c1baf5f5e5af malaga-7.8.ebuild 1083 +MD5 65cc7c364959d85ea415057b90851cca files/digest-malaga-7.5 223 +RMD160 d52805d79e383e6d1f4e41d1797f278cee1ee635 files/digest-malaga-7.5 223 +SHA256 427822faa23c669a76d61832bd91e4eb48674de0a02c5227620aa9f327a2801a files/digest-malaga-7.5 223 +MD5 f937ddc241ecc1649c53f66db1e73259 files/digest-malaga-7.6 223 +RMD160 3a5621f7d5e54cff784fc673b412185c96b0c39f files/digest-malaga-7.6 223 +SHA256 6020a5f9264d67d00c5ee4991529d84daccebd5284be7f302e2451b50d173257 files/digest-malaga-7.6 223 +MD5 0a861bf902fdc00c11106fe06d074078 files/digest-malaga-7.7 223 +RMD160 e5d5863e03436080d76d95b006a00c19ae3269d8 files/digest-malaga-7.7 223 +SHA256 5b540ab05a4f3f192d90645a7cfd4e5f0e3808106d42f17bc5888f3e3642f3a7 files/digest-malaga-7.7 223 +MD5 ea764b2a5a84fb44778a1c53d4f32ab9 files/digest-malaga-7.8 223 +RMD160 a1cf9606ed763e63d40623ddc941c6c141208587 files/digest-malaga-7.8 223 +SHA256 8857ffdb2df5f0794689d8af4b43a8b9de52f990df9e72bd159cef7fe2721f9a files/digest-malaga-7.8 223 diff --git a/trunk/sci-misc/malaga/files/digest-malaga-7.5 b/trunk/sci-misc/malaga/files/digest-malaga-7.5 new file mode 100644 index 0000000..b16efae --- /dev/null +++ b/trunk/sci-misc/malaga/files/digest-malaga-7.5 @@ -0,0 +1,3 @@ +MD5 1ab3bb1ad2aafb4509cebdac7358172b malaga-7.5.tgz 495080 +RMD160 d7cb057d617fa8dd04de340f84597115b596c3e6 malaga-7.5.tgz 495080 +SHA256 919ae450548b48d1db9cd0b9d3ef73b271c144f193878cf26e4d262fc63e4ec4 malaga-7.5.tgz 495080 diff --git a/trunk/sci-misc/malaga/files/digest-malaga-7.6 b/trunk/sci-misc/malaga/files/digest-malaga-7.6 new file mode 100644 index 0000000..b7ecf40 --- /dev/null +++ b/trunk/sci-misc/malaga/files/digest-malaga-7.6 @@ -0,0 +1,3 @@ +MD5 e8b8ddb6853577db09a62b751fcfde32 malaga-7.6.tgz 522501 +RMD160 415f8f44c85eb9cb73b96d53e3eb93d2c3379fcb malaga-7.6.tgz 522501 +SHA256 b036ccc5c0da7d08299723ca18ea7d03776257ce97624172af51d0a2bff739fe malaga-7.6.tgz 522501 diff --git a/trunk/sci-misc/malaga/files/digest-malaga-7.7 b/trunk/sci-misc/malaga/files/digest-malaga-7.7 new file mode 100644 index 0000000..4df6880 --- /dev/null +++ b/trunk/sci-misc/malaga/files/digest-malaga-7.7 @@ -0,0 +1,3 @@ +MD5 117bb2b26c82068bbedc45c05c5ed593 malaga-7.7.tgz 564935 +RMD160 b28e7a718cac5d5e92d26daccc2d2d470d6b8d74 malaga-7.7.tgz 564935 +SHA256 89aa5e00b239acdabf1183b85d6164948695e4b97ea5a5f703b86be95c962149 malaga-7.7.tgz 564935 diff --git a/trunk/sci-misc/malaga/files/digest-malaga-7.8 b/trunk/sci-misc/malaga/files/digest-malaga-7.8 new file mode 100644 index 0000000..795d69c --- /dev/null +++ b/trunk/sci-misc/malaga/files/digest-malaga-7.8 @@ -0,0 +1,3 @@ +MD5 2430f92e00cd9fa3a1ae0ff58d42c222 malaga-7.8.tgz 565494 +RMD160 c426c257f3d5bbc5e949f09aa6a56e81f7c1a10e malaga-7.8.tgz 565494 +SHA256 8b9e834d7df9a4c025aa527a20716d87fc44b6e19f31e2a0841a4b593d0619e0 malaga-7.8.tgz 565494 diff --git a/trunk/sci-misc/malaga/files/malaga-7.5-makefile-destdir-debian-readline-libs.patch b/trunk/sci-misc/malaga/files/malaga-7.5-makefile-destdir-debian-readline-libs.patch new file mode 100644 index 0000000..59a3fdc --- /dev/null +++ b/trunk/sci-misc/malaga/files/malaga-7.5-makefile-destdir-debian-readline-libs.patch @@ -0,0 +1,84 @@ +diff -ru malaga-7.5/Makefile.in malaga-7.5-fixed/Makefile.in +--- malaga-7.5/Makefile.in 2006-07-01 14:36:02.000000000 +0300 ++++ malaga-7.5-fixed/Makefile.in 2006-08-25 10:30:11.000000000 +0300 +@@ -92,36 +92,36 @@ + info: malaga.info + + install: all info +- $(INSTALL_DIR) $(bindir) +- $(INSTALL_PROGRAM) -s malaga $(bindir)/malaga +- $(INSTALL_PROGRAM) -s mallex $(bindir)/mallex +- $(INSTALL_PROGRAM) -s malmake $(bindir)/malmake +- $(INSTALL_PROGRAM) -s malrul $(bindir)/malrul ++ $(INSTALL_DIR) ${DESTDIR}$(bindir) ++ $(INSTALL_PROGRAM) -s malaga ${DESTDIR}$(bindir)/malaga ++ $(INSTALL_PROGRAM) -s mallex ${DESTDIR}$(bindir)/mallex ++ $(INSTALL_PROGRAM) -s malmake ${DESTDIR}$(bindir)/malmake ++ $(INSTALL_PROGRAM) -s malrul ${DESTDIR}$(bindir)/malrul + if test -n "$(MALSHOW)" ;\ +- then $(INSTALL_PROGRAM) -s malshow $(bindir)/malshow; fi +- $(INSTALL_PROGRAM) -s malsym $(bindir)/malsym +- $(INSTALL_DIR) $(includedir) +- $(INSTALL_DATA) $(srcdir)/malaga.h $(includedir)/malaga.h +- $(INSTALL_DIR) $(libdir) +- $(LIBTOOL) $(INSTALL_DATA) -s libmalaga.la $(libdir)/libmalaga.la +- $(INSTALL_DIR) $(datadir)/malaga +- $(INSTALL_DATA) $(srcdir)/malaga.el $(datadir)/malaga/malaga.el +- $(INSTALL_DIR) $(infodir) +- for f in malaga.info*; do $(INSTALL_DATA) $$f $(infodir)/$$f; done +- $(INSTALL_INFO) --info-dir=$(infodir) malaga.info ++ then $(INSTALL_PROGRAM) -s malshow ${DESTDIR}$(bindir)/malshow; fi ++ $(INSTALL_PROGRAM) -s malsym ${DESTDIR}$(bindir)/malsym ++ $(INSTALL_DIR) ${DESTDIR}$(includedir) ++ $(INSTALL_DATA) $(srcdir)/malaga.h ${DESTDIR}$(includedir)/malaga.h ++ $(INSTALL_DIR) ${DESTDIR}$(libdir) ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) -s libmalaga.la ${DESTDIR}$(libdir)/libmalaga.la ++ $(INSTALL_DIR) ${DESTDIR}$(datadir)/malaga ++ $(INSTALL_DATA) $(srcdir)/malaga.el ${DESTDIR}$(datadir)/malaga/malaga.el ++ $(INSTALL_DIR) ${DESTDIR}$(infodir) ++ for f in malaga.info*; do $(INSTALL_DATA) $$f ${DESTDIR}$(infodir)/$$f; done ++ $(INSTALL_INFO) --info-dir=${DESTDIR}$(infodir) malaga.info + + uninstall: +- rm -f $(bindir)/malaga +- rm -f $(bindir)/mallex +- rm -f $(bindir)/malmake +- rm -f $(bindir)/malrul +- rm -f $(bindir)/malshow +- rm -f $(bindir)/malsym +- rm -f $(includedir)/malaga.h +- rm -Rf $(datadir)/malaga +- $(LIBTOOL) rm -f $(libdir)/libmalaga.la +- $(INSTALL_INFO) --remove --info-dir=$(infodir) malaga.info +- rm -f $(infodir)/malaga.info* ++ rm -f ${DESTDIR}$(bindir)/malaga ++ rm -f ${DESTDIR}$(bindir)/mallex ++ rm -f ${DESTDIR}$(bindir)/malmake ++ rm -f ${DESTDIR}$(bindir)/malrul ++ rm -f ${DESTDIR}$(bindir)/malshow ++ rm -f ${DESTDIR}$(bindir)/malsym ++ rm -f ${DESTDIR}$(includedir)/malaga.h ++ rm -Rf ${DESTDIR}$(datadir)/malaga ++ $(LIBTOOL) --mode=uninstall rm -f ${DESTDIR}$(libdir)/libmalaga.la ++ $(INSTALL_INFO) --remove --info-dir=${DESTDIR}$(infodir) malaga.info ++ rm -f ${DESTDIR}$(infodir)/malaga.info* + + # Private goals for the maintainer. ------------------------------------------- + +@@ -204,12 +204,12 @@ + LIBMALAGA_OBJS = $(COMMON_OBJS) libmalaga.o + + $(LIBMALAGA_OBJS): +- $(LIBTOOL) $(COMPILE) $(GLIB_CFLAGS) $(READLINE_CFLAGS) $(srcdir)/$*.c ++ $(LIBTOOL) --mode=compile $(COMPILE) $(GLIB_CFLAGS) $(READLINE_CFLAGS) $(srcdir)/$*.c + + libmalaga.la: $(LIBMALAGA_OBJS) +- $(LIBTOOL) $(LINK) $(LIBMALAGA_OBJS:.o=.lo) \ +- $(GLIB_LIBS) $(READLINE_LIBS) -lm -o libmalaga.la \ +- -version-info $(LIBMALAGA_VERSION) -rpath $(libdir) ++ $(LIBTOOL) --mode=link $(LINK) $(LIBMALAGA_OBJS:.o=.lo) $(GLIB_LIBS) \ ++ $(READLINE_LIBS) -lm \ ++ -o libmalaga.la -version-info $(LIBMALAGA_VERSION) -rpath $(libdir) + + # malaga ---------------------------------------------------------------------- + diff --git a/trunk/sci-misc/malaga/malaga-7.5.ebuild b/trunk/sci-misc/malaga/malaga-7.5.ebuild new file mode 100644 index 0000000..4a97e12 --- /dev/null +++ b/trunk/sci-misc/malaga/malaga-7.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Linguistic morphological programming language and toolset" +HOMEPAGE="http://home.arcor.de/bjoern-beutel/malaga/" +SRC_URI="http://home.arcor.de/bjoern-beutel/malaga/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk doc readline emacs" + +DEPEND=">=dev-libs/glib-2.0 + gtk? ( >=x11-libs/gtk+-2.0 ) + doc? ( >=sys-apps/texinfo-4.0 ) + readline? ( sys-libs/readline )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -f config.sub config.guess missing ltmain.sh + epatch ${FILESDIR}/${P}-makefile-destdir-debian-readline-libs.patch + autoreconf -i +} + +src_compile() { + econf $(use_with readline ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc CHANGES.txt INSTALL.txt README.txt +} + +pkg_postinst() { + einfo "If you are using Emacs, add the line" + einfo " (require 'malaga \".../malaga-7.5/malaga.el\")" + einfo "to the file \".emacs\" in your home directory, " + einfo "so the Malaga extensions will be loaded automatically " + einfo "if you are starting Emacs." + einfo " (Use the absolute path for \".../malaga-7.5\".)" +} diff --git a/trunk/sci-misc/malaga/malaga-7.6.ebuild b/trunk/sci-misc/malaga/malaga-7.6.ebuild new file mode 100644 index 0000000..b5985da --- /dev/null +++ b/trunk/sci-misc/malaga/malaga-7.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Linguistic morphological programming language and toolset" +HOMEPAGE="http://home.arcor.de/bjoern-beutel/malaga/" +SRC_URI="http://home.arcor.de/bjoern-beutel/malaga/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk doc readline emacs" + +DEPEND=">=dev-libs/glib-2.0 + gtk? ( >=x11-libs/gtk+-2.0 ) + doc? ( >=sys-apps/texinfo-4.0 ) + readline? ( sys-libs/readline )" +RDEPEND="${DEPEND}" + +src_compile() { + econf $(use_with readline ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc CHANGES.txt INSTALL.txt README.txt +} + +pkg_postinst() { + einfo "If you are using Emacs, add the line" + einfo " (require 'malaga \".../malaga-7.5/malaga.el\")" + einfo "to the file \".emacs\" in your home directory, " + einfo "so the Malaga extensions will be loaded automatically " + einfo "if you are starting Emacs." + einfo " (Use the absolute path for \".../malaga-7.5\".)" +} diff --git a/trunk/sci-misc/malaga/malaga-7.7.ebuild b/trunk/sci-misc/malaga/malaga-7.7.ebuild new file mode 100644 index 0000000..b5985da --- /dev/null +++ b/trunk/sci-misc/malaga/malaga-7.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Linguistic morphological programming language and toolset" +HOMEPAGE="http://home.arcor.de/bjoern-beutel/malaga/" +SRC_URI="http://home.arcor.de/bjoern-beutel/malaga/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk doc readline emacs" + +DEPEND=">=dev-libs/glib-2.0 + gtk? ( >=x11-libs/gtk+-2.0 ) + doc? ( >=sys-apps/texinfo-4.0 ) + readline? ( sys-libs/readline )" +RDEPEND="${DEPEND}" + +src_compile() { + econf $(use_with readline ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc CHANGES.txt INSTALL.txt README.txt +} + +pkg_postinst() { + einfo "If you are using Emacs, add the line" + einfo " (require 'malaga \".../malaga-7.5/malaga.el\")" + einfo "to the file \".emacs\" in your home directory, " + einfo "so the Malaga extensions will be loaded automatically " + einfo "if you are starting Emacs." + einfo " (Use the absolute path for \".../malaga-7.5\".)" +} diff --git a/trunk/sci-misc/malaga/malaga-7.8.ebuild b/trunk/sci-misc/malaga/malaga-7.8.ebuild new file mode 100644 index 0000000..a97c277 --- /dev/null +++ b/trunk/sci-misc/malaga/malaga-7.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Linguistic morphological programming language and toolset" +HOMEPAGE="http://home.arcor.de/bjoern-beutel/malaga/" +SRC_URI="http://home.arcor.de/bjoern-beutel/malaga/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="gtk doc readline emacs" + +DEPEND=">=dev-libs/glib-2.0 + gtk? ( >=x11-libs/gtk+-2.0 ) + doc? ( >=sys-apps/texinfo-4.0 ) + readline? ( sys-libs/readline )" +RDEPEND="${DEPEND}" + +src_compile() { + econf $(use_with readline ) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc CHANGES.txt INSTALL.txt README.txt +} + +pkg_postinst() { + if use emacs ; then + einfo "If you are using Emacs, add the line" + einfo " (require 'malaga \"${ROOT}/usr/share/malaga/malaga.el\")" + einfo "to the file \".emacs\" in your home directory, " + einfo "so the Malaga extensions will be loaded automatically " + einfo "if you are starting Emacs." + fi +} diff --git a/trunk/sci-misc/suomi-malaga/Manifest b/trunk/sci-misc/suomi-malaga/Manifest new file mode 100644 index 0000000..a1bf108 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/Manifest @@ -0,0 +1,102 @@ +AUX malaga-7.7-pruning.patch 746 RMD160 33b2b199c15d85c9eb2780bfdde17963e62a0db6 SHA1 563dbf3875718d25170d01c083d4a3d344128761 SHA256 e31eaf192ee01717556c9cc14c111693ac931be51ce47c195e4455a13a3941db +MD5 0a49e4bb94c819558f6718eeab21fb93 files/malaga-7.7-pruning.patch 746 +RMD160 33b2b199c15d85c9eb2780bfdde17963e62a0db6 files/malaga-7.7-pruning.patch 746 +SHA256 e31eaf192ee01717556c9cc14c111693ac931be51ce47c195e4455a13a3941db files/malaga-7.7-pruning.patch 746 +AUX malaga-7.8-pruning.patch 745 RMD160 9235fdcd41322a10a1264d553798075fe81aca8c SHA1 6fe8bd7fb1d24c6d6f540aabbb98a014c17a603a SHA256 440bc4071057660874d3622542c61c7c2331aff40774f2bf8afdf9eb3dc39a34 +MD5 c7d45ddb5d43853d2a684fbfb402ad98 files/malaga-7.8-pruning.patch 745 +RMD160 9235fdcd41322a10a1264d553798075fe81aca8c files/malaga-7.8-pruning.patch 745 +SHA256 440bc4071057660874d3622542c61c7c2331aff40774f2bf8afdf9eb3dc39a34 files/malaga-7.8-pruning.patch 745 +DIST suomi-malaga-0.7.1.tar.gz 391480 RMD160 74fb0292a753eb97ce1e1fdc3b120f8dc52c118e SHA1 744db12581b87f93fdc3d0d2fc9ca0972d6b3b42 SHA256 1188805252c3af445cdec196c503942feff5eda40e8797ba900754bf3829eea7 +DIST suomi-malaga-0.7.2.tar.gz 391645 RMD160 e118f5644bbc4064176a5282a78d2b73dc344579 SHA1 afe37c27a2782d9a6da3a5b386cd0008413f9623 SHA256 3ad46af998b5de93833f27e7bf348054c48498817ecd5fb3b030a483ebb1f442 +DIST suomi-malaga-0.7.3.tar.gz 412616 RMD160 bef99df9c5043777214fc0aced0c9892382becea SHA1 401fe01874de9733c85b863ecccdf48882c10378 SHA256 db085df2e6a7b2ffa8620bf0b8cd1c8ce1808fd8770f1c27cfc9e9086df50e8f +DIST suomi-malaga-0.7.tar.bz2 305395 RMD160 748f2dba1993a67fefee09b2defbdac10e9b3627 SHA1 922adc25fef8d7b2a0893567c206b0b7365bcdb6 SHA256 23bb9edb50fbb45666f1be560074cb2ba7ab45da4cf2beb35d2a3d6994d6a61e +DIST suomi-malaga-0.9.0.tar.bz2 387792 RMD160 955ee20ebb3a6c2dde2df8e453938cb5278e9d56 SHA1 ddfc680c0daea0d1cbd24007bc212796b5459cb6 SHA256 43f77f60ab9d62ef0665e9b73bc009788831700f5cc7541ee3dd02346b87df17 +DIST suomi-malaga-0.9.3.tar.bz2 686393 RMD160 078ca239d9830f5b474494252da2f0c04393ee71 SHA1 7d0f2da502977e848f61e27567213bf7225c013a SHA256 f61a4a2baa948f7ad066451b8dce5a2f1657f0c4b65387e1a55709384fb07dc4 +DIST suomi-malaga-0.9.4.tar.bz2 668396 RMD160 819d0aa06cf337f18abe75b89eb334cc522bf4c8 SHA1 baf5bd90e0208853e4b6aa261225f1d2e43690a2 SHA256 86c41f0e505f684523a9677663fee10e872b296ac3289ec20e8f8e7824f7d46e +DIST suomi-malaga-0.9.5.tar.bz2 653935 RMD160 a1ce4c694e8e228941345d6e829b43dcbf57588f SHA1 82aea6bad775442ef0cd52a74abbd1fc5ab3e7fc SHA256 e753a2e5d78a3b903b9db3665925c2788566c8cf862c2e24a1d05f762ed29e27 +DIST suomi-malaga-0.9.7.tar.bz2 475822 RMD160 84c7fee1befa8c5a5692651a4a59003c0fb1f146 SHA1 2e54fdfc53baaa45491bfb595b52ee6fd15af924 SHA256 db53e0f41096bc3220b68aafd672f2c2d735bc15f55bd72a0890f069ed3d9310 +DIST suomi-malaga-voikko-20060901.tar.gz 391725 RMD160 c5dedda96890f391456612544d878df7220331b8 SHA1 363338d87d2f6056655cc171d2f99b5bf5eae62d SHA256 cc78ceed2b875ed8d7d95e3ef2f9b6577c8e5f2d89f04a12265c02e22efcfa96 +EBUILD suomi-malaga-0.7.1.ebuild 666 RMD160 3dfbe2a4e93bdc9a5ed7fa0116ea87ea0923d133 SHA1 8ae6cd347b41cc3e266580d5977ecc7505416f38 SHA256 be360b1c2d5fcded54220f8fbac927c4f5d3df08dda7c76138923ac67c45e8ec +MD5 bea07543bf7dcbc041fbfb36be7b686d suomi-malaga-0.7.1.ebuild 666 +RMD160 3dfbe2a4e93bdc9a5ed7fa0116ea87ea0923d133 suomi-malaga-0.7.1.ebuild 666 +SHA256 be360b1c2d5fcded54220f8fbac927c4f5d3df08dda7c76138923ac67c45e8ec suomi-malaga-0.7.1.ebuild 666 +EBUILD suomi-malaga-0.7.2.ebuild 815 RMD160 77d486b826c9145c5de2cc1c9763f1289c750225 SHA1 5045017700a3765581bb21cd256bec8da989ff8c SHA256 9a76efdc6713697ead9cf30ba5e45af6af593144567cbb5334714263d01768b4 +MD5 896af4cfb7c81f3cc6a96d1359b4b13e suomi-malaga-0.7.2.ebuild 815 +RMD160 77d486b826c9145c5de2cc1c9763f1289c750225 suomi-malaga-0.7.2.ebuild 815 +SHA256 9a76efdc6713697ead9cf30ba5e45af6af593144567cbb5334714263d01768b4 suomi-malaga-0.7.2.ebuild 815 +EBUILD suomi-malaga-0.7.2_p1.ebuild 993 RMD160 2c4f8ea3b3960849af91a9482819e661a3e9ca53 SHA1 aea17008bbf6d1b7dd7ec438f23518d2d0c9aa80 SHA256 ea085d82dd3aa4b1db0b88e11f1c5a5367bf61988c3539f99ed40c9c0908e03c +MD5 78d1b8f38dd649112cd05d18af2212b4 suomi-malaga-0.7.2_p1.ebuild 993 +RMD160 2c4f8ea3b3960849af91a9482819e661a3e9ca53 suomi-malaga-0.7.2_p1.ebuild 993 +SHA256 ea085d82dd3aa4b1db0b88e11f1c5a5367bf61988c3539f99ed40c9c0908e03c suomi-malaga-0.7.2_p1.ebuild 993 +EBUILD suomi-malaga-0.7.3.ebuild 924 RMD160 3d450b7f053a04f03b4daece6d91a47adb1f2703 SHA1 07956186edf6216c7ac74fb0ecbdb84723250a7e SHA256 fe130a2ad421623e2be33761b9f38ca331ce6aa035c795017e876969e879fe59 +MD5 b13be75b8deedc11d057b5afcffdf341 suomi-malaga-0.7.3.ebuild 924 +RMD160 3d450b7f053a04f03b4daece6d91a47adb1f2703 suomi-malaga-0.7.3.ebuild 924 +SHA256 fe130a2ad421623e2be33761b9f38ca331ce6aa035c795017e876969e879fe59 suomi-malaga-0.7.3.ebuild 924 +EBUILD suomi-malaga-0.7.ebuild 666 RMD160 7f3a0a3ecd2cc447998ff2e1507e68c39d22d6e6 SHA1 1f980802683b2ba35b9571319e7333bd06a3bfd8 SHA256 6c155858a8bf86c6668757121c48a11c3f4efa4f6438da41285bd70751c03ddd +MD5 c3b8e3f5d0104a8fb934bb85bb374701 suomi-malaga-0.7.ebuild 666 +RMD160 7f3a0a3ecd2cc447998ff2e1507e68c39d22d6e6 suomi-malaga-0.7.ebuild 666 +SHA256 6c155858a8bf86c6668757121c48a11c3f4efa4f6438da41285bd70751c03ddd suomi-malaga-0.7.ebuild 666 +EBUILD suomi-malaga-0.9.0.ebuild 930 RMD160 bfa453539f488a0ff0e2d77b5c906e82e3cc7ead SHA1 8b60ae6053b2d579382de7047d0d4fb117503834 SHA256 7c994ffc1d23e8292d7c96978d172db6b401f8a3b4c431544381d2f03812d549 +MD5 1d4261c7bd325560740f803cc283162c suomi-malaga-0.9.0.ebuild 930 +RMD160 bfa453539f488a0ff0e2d77b5c906e82e3cc7ead suomi-malaga-0.9.0.ebuild 930 +SHA256 7c994ffc1d23e8292d7c96978d172db6b401f8a3b4c431544381d2f03812d549 suomi-malaga-0.9.0.ebuild 930 +EBUILD suomi-malaga-0.9.3.ebuild 893 RMD160 89079d1a1932f7c917f56cac663e65a600a31122 SHA1 8f90dc3a37e952d144d8d578d0fe8dc5eb349eab SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 +MD5 251909a6c00994ef7739089a7367c737 suomi-malaga-0.9.3.ebuild 893 +RMD160 89079d1a1932f7c917f56cac663e65a600a31122 suomi-malaga-0.9.3.ebuild 893 +SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 suomi-malaga-0.9.3.ebuild 893 +EBUILD suomi-malaga-0.9.4.ebuild 893 RMD160 89079d1a1932f7c917f56cac663e65a600a31122 SHA1 8f90dc3a37e952d144d8d578d0fe8dc5eb349eab SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 +MD5 251909a6c00994ef7739089a7367c737 suomi-malaga-0.9.4.ebuild 893 +RMD160 89079d1a1932f7c917f56cac663e65a600a31122 suomi-malaga-0.9.4.ebuild 893 +SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 suomi-malaga-0.9.4.ebuild 893 +EBUILD suomi-malaga-0.9.5.ebuild 893 RMD160 89079d1a1932f7c917f56cac663e65a600a31122 SHA1 8f90dc3a37e952d144d8d578d0fe8dc5eb349eab SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 +MD5 251909a6c00994ef7739089a7367c737 suomi-malaga-0.9.5.ebuild 893 +RMD160 89079d1a1932f7c917f56cac663e65a600a31122 suomi-malaga-0.9.5.ebuild 893 +SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 suomi-malaga-0.9.5.ebuild 893 +EBUILD suomi-malaga-0.9.7.ebuild 893 RMD160 89079d1a1932f7c917f56cac663e65a600a31122 SHA1 8f90dc3a37e952d144d8d578d0fe8dc5eb349eab SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 +MD5 251909a6c00994ef7739089a7367c737 suomi-malaga-0.9.7.ebuild 893 +RMD160 89079d1a1932f7c917f56cac663e65a600a31122 suomi-malaga-0.9.7.ebuild 893 +SHA256 da45b27372d74b484bb6aa6c0b604505eaee18750440c759131585a4e1ceb534 suomi-malaga-0.9.7.ebuild 893 +EBUILD suomi-malaga-99.20060901.ebuild 830 RMD160 8d936446e11c20a07dd7c6e5f230be663394b21c SHA1 74aff6e6828293ee5b4aa7469fddf8628ce07c51 SHA256 2ed89b7bb96e48efc35fd18186d4919f42bb549cc2d60884d64837656e4ce75e +MD5 6ec945f48879a162bec837555c45081f suomi-malaga-99.20060901.ebuild 830 +RMD160 8d936446e11c20a07dd7c6e5f230be663394b21c suomi-malaga-99.20060901.ebuild 830 +SHA256 2ed89b7bb96e48efc35fd18186d4919f42bb549cc2d60884d64837656e4ce75e suomi-malaga-99.20060901.ebuild 830 +EBUILD suomi-malaga-9999.ebuild 942 RMD160 f7b87e30dcb1ccb5382402b4d6ec554e592caa61 SHA1 137e2389696c11c736f7514fdd8c34a676343dc8 SHA256 d4080156f4e0ffef7b1aa6dce2b79e8fb351597c7d9c508174c29eac67a257b4 +MD5 48e0ccd3ef317d3eea66de90004dfd29 suomi-malaga-9999.ebuild 942 +RMD160 f7b87e30dcb1ccb5382402b4d6ec554e592caa61 suomi-malaga-9999.ebuild 942 +SHA256 d4080156f4e0ffef7b1aa6dce2b79e8fb351597c7d9c508174c29eac67a257b4 suomi-malaga-9999.ebuild 942 +MD5 c5ed06a5b54ebe479c520d4a0540a125 files/digest-suomi-malaga-0.7 253 +RMD160 398da816e0557bd31f59fc1584e5602b8198ee6a files/digest-suomi-malaga-0.7 253 +SHA256 a059ffe1a0e6d5523984b0860325d370bfb0da134d5ba0fc01e26c85f2ca683b files/digest-suomi-malaga-0.7 253 +MD5 18730279a84c3e45ef66ac596dc9702c files/digest-suomi-malaga-0.7.1 256 +RMD160 52612ffaaccd66fd0afe8246947d797c1a01c849 files/digest-suomi-malaga-0.7.1 256 +SHA256 3470a55077f0b9577f5dedb72c6cad757b96d0faefaf7799834f66b67cb78ba0 files/digest-suomi-malaga-0.7.1 256 +MD5 d0558774a859ff0f7922256ce71f56ed files/digest-suomi-malaga-0.7.2 256 +RMD160 40a36c458729322cfe576271e70501fabfd4b227 files/digest-suomi-malaga-0.7.2 256 +SHA256 8fd47bd3c875cc422a6549c516188513eec860e73ba47a36835455dc556e9840 files/digest-suomi-malaga-0.7.2 256 +MD5 d0558774a859ff0f7922256ce71f56ed files/digest-suomi-malaga-0.7.2_p1 256 +RMD160 40a36c458729322cfe576271e70501fabfd4b227 files/digest-suomi-malaga-0.7.2_p1 256 +SHA256 8fd47bd3c875cc422a6549c516188513eec860e73ba47a36835455dc556e9840 files/digest-suomi-malaga-0.7.2_p1 256 +MD5 6af48856e6bd97a0b31d7a18d767a347 files/digest-suomi-malaga-0.7.3 256 +RMD160 ae4d826bdced9e00e60d55bedf6626e6bcbfaaba files/digest-suomi-malaga-0.7.3 256 +SHA256 0d217defa06755dc76a91018e797b6c71709468d30e6967789f90001182048d9 files/digest-suomi-malaga-0.7.3 256 +MD5 278be9b9276eb065ba4135be6091081a files/digest-suomi-malaga-0.9.0 259 +RMD160 5f5371f2d2f1e5b17a145d3562e618761c788e33 files/digest-suomi-malaga-0.9.0 259 +SHA256 1cfe99f78b49affd089bb0ddc5a2dd5c31770aea31243d39f0ab3b49a758a184 files/digest-suomi-malaga-0.9.0 259 +MD5 66fa32c400229fe7568399f1ee73122c files/digest-suomi-malaga-0.9.3 259 +RMD160 97066c7e4418baea07ae9cbe4319679205034030 files/digest-suomi-malaga-0.9.3 259 +SHA256 8484c4f6780fb76ce22992f268d4cfb27e35cf7c24ac1a5cd468f63bdc91c42e files/digest-suomi-malaga-0.9.3 259 +MD5 ade4eb58740a9c6ccb4b04cc53a97255 files/digest-suomi-malaga-0.9.4 259 +RMD160 d634923cdbcdedd4d7dfac2896f711e0fa047ad9 files/digest-suomi-malaga-0.9.4 259 +SHA256 9134cd0d5c1ddf99dcc8bffb40e9c86cab76dc4838c677eeea24e4a5c27e371c files/digest-suomi-malaga-0.9.4 259 +MD5 0ecb2f50ccd710c41e4043415dd1428c files/digest-suomi-malaga-0.9.5 259 +RMD160 997c06bcd69b5a1b0ca93de67490ae398fd09ffe files/digest-suomi-malaga-0.9.5 259 +SHA256 adfe26446e40399758e9196b0be9f74a803c0e7c75bce04b62bcee67f486ff52 files/digest-suomi-malaga-0.9.5 259 +MD5 53753f44acc50340dd8661264e0838eb files/digest-suomi-malaga-0.9.7 259 +RMD160 daf88485b0d59cd43e776a3ea07bcba986526cfb files/digest-suomi-malaga-0.9.7 259 +SHA256 89433d3db5e18eb5202aafd2d93825cb1eac6ea6e93998a8d1002f14e085aa4a files/digest-suomi-malaga-0.9.7 259 +MD5 c8a4838f660ed736e1a98e219d47eef9 files/digest-suomi-malaga-99.20060901 286 +RMD160 ee9340a3ddd90496d34ae7d32cd63bdbe918ed2d files/digest-suomi-malaga-99.20060901 286 +SHA256 da73f534ba46a4e7858c4711d1205454718ce0931d5e12cfd2ee777b705baab6 files/digest-suomi-malaga-99.20060901 286 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-suomi-malaga-9999 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-suomi-malaga-9999 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-suomi-malaga-9999 1 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7 new file mode 100644 index 0000000..db94531 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7 @@ -0,0 +1,3 @@ +MD5 7d2f0f695d2d16b168daa1fede9afb08 suomi-malaga-0.7.tar.bz2 305395 +RMD160 748f2dba1993a67fefee09b2defbdac10e9b3627 suomi-malaga-0.7.tar.bz2 305395 +SHA256 23bb9edb50fbb45666f1be560074cb2ba7ab45da4cf2beb35d2a3d6994d6a61e suomi-malaga-0.7.tar.bz2 305395 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.1 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.1 new file mode 100644 index 0000000..8a92348 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.1 @@ -0,0 +1,3 @@ +MD5 819229db739995ed8eea1573d33c15df suomi-malaga-0.7.1.tar.gz 391480 +RMD160 74fb0292a753eb97ce1e1fdc3b120f8dc52c118e suomi-malaga-0.7.1.tar.gz 391480 +SHA256 1188805252c3af445cdec196c503942feff5eda40e8797ba900754bf3829eea7 suomi-malaga-0.7.1.tar.gz 391480 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2 new file mode 100644 index 0000000..328d2c1 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2 @@ -0,0 +1,3 @@ +MD5 03ff6bb3fde28c3546937ba3b14a409f suomi-malaga-0.7.2.tar.gz 391645 +RMD160 e118f5644bbc4064176a5282a78d2b73dc344579 suomi-malaga-0.7.2.tar.gz 391645 +SHA256 3ad46af998b5de93833f27e7bf348054c48498817ecd5fb3b030a483ebb1f442 suomi-malaga-0.7.2.tar.gz 391645 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2_p1 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2_p1 new file mode 100644 index 0000000..328d2c1 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.2_p1 @@ -0,0 +1,3 @@ +MD5 03ff6bb3fde28c3546937ba3b14a409f suomi-malaga-0.7.2.tar.gz 391645 +RMD160 e118f5644bbc4064176a5282a78d2b73dc344579 suomi-malaga-0.7.2.tar.gz 391645 +SHA256 3ad46af998b5de93833f27e7bf348054c48498817ecd5fb3b030a483ebb1f442 suomi-malaga-0.7.2.tar.gz 391645 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.3 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.3 new file mode 100644 index 0000000..2182c8a --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.7.3 @@ -0,0 +1,3 @@ +MD5 5dc38ccffad2ddd1844ad3ff325bcd15 suomi-malaga-0.7.3.tar.gz 412616 +RMD160 bef99df9c5043777214fc0aced0c9892382becea suomi-malaga-0.7.3.tar.gz 412616 +SHA256 db085df2e6a7b2ffa8620bf0b8cd1c8ce1808fd8770f1c27cfc9e9086df50e8f suomi-malaga-0.7.3.tar.gz 412616 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.0 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.0 new file mode 100644 index 0000000..ff6e863 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.0 @@ -0,0 +1,3 @@ +MD5 6a92c4335ac3dd8c1e8dbf546b487e10 suomi-malaga-0.9.0.tar.bz2 387792 +RMD160 955ee20ebb3a6c2dde2df8e453938cb5278e9d56 suomi-malaga-0.9.0.tar.bz2 387792 +SHA256 43f77f60ab9d62ef0665e9b73bc009788831700f5cc7541ee3dd02346b87df17 suomi-malaga-0.9.0.tar.bz2 387792 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.3 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.3 new file mode 100644 index 0000000..e4e60f0 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.3 @@ -0,0 +1,3 @@ +MD5 bfe30d227fe2cc0503684cac34151bbf suomi-malaga-0.9.3.tar.bz2 686393 +RMD160 078ca239d9830f5b474494252da2f0c04393ee71 suomi-malaga-0.9.3.tar.bz2 686393 +SHA256 f61a4a2baa948f7ad066451b8dce5a2f1657f0c4b65387e1a55709384fb07dc4 suomi-malaga-0.9.3.tar.bz2 686393 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.4 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.4 new file mode 100644 index 0000000..7179fc6 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.4 @@ -0,0 +1,3 @@ +MD5 ecdfade61afffa6dc63037898cc5ebc4 suomi-malaga-0.9.4.tar.bz2 668396 +RMD160 819d0aa06cf337f18abe75b89eb334cc522bf4c8 suomi-malaga-0.9.4.tar.bz2 668396 +SHA256 86c41f0e505f684523a9677663fee10e872b296ac3289ec20e8f8e7824f7d46e suomi-malaga-0.9.4.tar.bz2 668396 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.5 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.5 new file mode 100644 index 0000000..acf0ba5 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.5 @@ -0,0 +1,3 @@ +MD5 db550c6129859a42838524565f6389bd suomi-malaga-0.9.5.tar.bz2 653935 +RMD160 a1ce4c694e8e228941345d6e829b43dcbf57588f suomi-malaga-0.9.5.tar.bz2 653935 +SHA256 e753a2e5d78a3b903b9db3665925c2788566c8cf862c2e24a1d05f762ed29e27 suomi-malaga-0.9.5.tar.bz2 653935 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.7 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.7 new file mode 100644 index 0000000..b7559ea --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-0.9.7 @@ -0,0 +1,3 @@ +MD5 3c24de23945be582b28f2210c173e493 suomi-malaga-0.9.7.tar.bz2 475822 +RMD160 84c7fee1befa8c5a5692651a4a59003c0fb1f146 suomi-malaga-0.9.7.tar.bz2 475822 +SHA256 db53e0f41096bc3220b68aafd672f2c2d735bc15f55bd72a0890f069ed3d9310 suomi-malaga-0.9.7.tar.bz2 475822 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-99.20060901 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-99.20060901 new file mode 100644 index 0000000..1b24f8b --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-99.20060901 @@ -0,0 +1,3 @@ +MD5 78ea07f3f35a2b896e6f13e7355fa156 suomi-malaga-voikko-20060901.tar.gz 391725 +RMD160 c5dedda96890f391456612544d878df7220331b8 suomi-malaga-voikko-20060901.tar.gz 391725 +SHA256 cc78ceed2b875ed8d7d95e3ef2f9b6577c8e5f2d89f04a12265c02e22efcfa96 suomi-malaga-voikko-20060901.tar.gz 391725 diff --git a/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-9999 b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-9999 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/digest-suomi-malaga-9999 @@ -0,0 +1 @@ + diff --git a/trunk/sci-misc/suomi-malaga/files/malaga-7.7-pruning.patch b/trunk/sci-misc/suomi-malaga/files/malaga-7.7-pruning.patch new file mode 100644 index 0000000..903a562 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/malaga-7.7-pruning.patch @@ -0,0 +1,29 @@ +Index: suomi.mor +=================================================================== +--- suomi.mor (revision 509) ++++ suomi.mor (working copy) +@@ -1491,3 +1491,12 @@ + ! $string matches ".": $first, ".*"; + return $first; + end; ++ ++pruning_rule prune ($list): ++ define $filter := <>; ++ foreach $i in length($list): ++ $filter :=+ <($i less_equal 20)>; ++ end; ++ return $filter; ++end; ++ +Index: voikko-fi_FI.pro +=================================================================== +--- voikko-fi_FI.pro (revision 509) ++++ voikko-fi_FI.pro (working copy) +@@ -87,6 +87,7 @@ + mallex: set use-display yes + malaga: set use-display yes + ++malaga: set mor-pruning yes + + + # Lipuilla malli ja tulostus voidaan säätää suomi-malagan toimintaa. diff --git a/trunk/sci-misc/suomi-malaga/files/malaga-7.8-pruning.patch b/trunk/sci-misc/suomi-malaga/files/malaga-7.8-pruning.patch new file mode 100644 index 0000000..c6ca37d --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/files/malaga-7.8-pruning.patch @@ -0,0 +1,29 @@ +Index: suomi.mor +=================================================================== +--- suomi.mor (revision 509) ++++ suomi.mor (working copy) +@@ -1491,3 +1491,12 @@ + ! $string matches ".": $first, ".*"; + return $first; + end; ++ ++pruning_rule prune ($list): ++ define $filter := <>; ++ foreach $i in length($list): ++ $filter :=+ <($i less_equal 20)>; ++ end; ++ return $filter; ++end; ++ +Index: voikko-fi_FI.pro +=================================================================== +--- voikko-fi_FI.pro (revision 509) ++++ voikko-fi_FI.pro (working copy) +@@ -87,6 +87,7 @@ + mallex: set use-display yes + malaga: set use-display yes + ++malaga: set mor-pruning 20 + + + # Lipuilla malli ja tulostus voidaan säätää suomi-malagan toimintaa. diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.1.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.1.ebuild new file mode 100644 index 0000000..f9eadc8 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://www.hunspell-fi.org/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins suomi.pro suomi.all_l suomi.lex_l suomi.mor_l suomi.sym_l + dodoc ChangeLog LUE.MINUT README +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2.ebuild new file mode 100644 index 0000000..fcf89e1 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://www.hunspell-fi.org/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +S="${WORKDIR}/suomimalaga-${PV}" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2_p1.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2_p1.ebuild new file mode 100644 index 0000000..bca679d --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.2_p1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +MY_PV=${PV/_p?/} +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://www.hunspell-fi.org/files/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # a test version +IUSE="doc" + +DEPEND=">=sci-misc/malaga-7.8 + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +S="${WORKDIR}/suomimalaga-${MY_PV}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/malaga-7.8-pruning.patch" || die "patch failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.3.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.3.ebuild new file mode 100644 index 0000000..2a0eba0 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="mirror://sourceforge/voikko/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # a test version +IUSE="doc" + +DEPEND=">=sci-misc/malaga-7.8 + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +S="${WORKDIR}/suomimalaga-${PV}" + +src_compile() { + einfo "Making only voikko, sukija is broken for gentoo in ${PV}" + emake voikko || die "emake failed" +} + + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.ebuild new file mode 100644 index 0000000..e424aea --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://joyds1.joensuu.fi/sukija/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins suomi.pro suomi.all_l suomi.lex_l suomi.mor_l suomi.sym_l + dodoc ChangeLog LUE.MINUT README +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.0.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.0.ebuild new file mode 100644 index 0000000..8ef4149 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://joyds1.joensuu.fi/sukija/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # This is not a voikko version +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +S="${WORKDIR}/suomimalaga-${PV}" + +src_compile() { + emake all voikko || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + +pkg_postinst() { + einfo "This is not voikko version of suomi-malaga." +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.3.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.3.ebuild new file mode 100644 index 0000000..a3f40fe --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/suomi-malaga/suomi.html" +SRC_URI="http://joyds1.joensuu.fi/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # This is not a voikko version +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake all || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + +pkg_postinst() { + einfo "This is not voikko version of suomi-malaga." +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.4.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.4.ebuild new file mode 100644 index 0000000..a3f40fe --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/suomi-malaga/suomi.html" +SRC_URI="http://joyds1.joensuu.fi/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # This is not a voikko version +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake all || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + +pkg_postinst() { + einfo "This is not voikko version of suomi-malaga." +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.5.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.5.ebuild new file mode 100644 index 0000000..a3f40fe --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/suomi-malaga/suomi.html" +SRC_URI="http://joyds1.joensuu.fi/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # This is not a voikko version +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake all || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + +pkg_postinst() { + einfo "This is not voikko version of suomi-malaga." +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.7.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.7.ebuild new file mode 100644 index 0000000..a3f40fe --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-0.9.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/suomi-malaga/suomi.html" +SRC_URI="http://joyds1.joensuu.fi/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" # This is not a voikko version +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake all || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} + +pkg_postinst() { + einfo "This is not voikko version of suomi-malaga." +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-99.20060901.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-99.20060901.ebuild new file mode 100644 index 0000000..2c43f95 --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-99.20060901.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit subversion + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +SRC_URI="http://www.hunspell-fi.org/voikkotmp/${PN}-voikko-20060901.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-x86" # temp SVN dump +IUSE="doc" + +DEPEND="sci-misc/malaga + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} diff --git a/trunk/sci-misc/suomi-malaga/suomi-malaga-9999.ebuild b/trunk/sci-misc/suomi-malaga/suomi-malaga-9999.ebuild new file mode 100644 index 0000000..f03347f --- /dev/null +++ b/trunk/sci-misc/suomi-malaga/suomi-malaga-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit subversion + +DESCRIPTION="Finnish wordform patterns for malaga" +HOMEPAGE="http://joyds1.joensuu.fi/sukija/sukija.html" +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/voikko/trunk/suomimalaga" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-x86 -amd64" # Live SVN is not for general consumption +IUSE="doc" + +DEPEND=">=sci-misc/malaga-7.8 + doc? ( dev-tex/hevea ) + sys-apps/grep + sys-apps/sed" +RDEPEND="sci-misc/malaga" + +src_compile() { + einfo "Making only voikko, sukija is broken in SVN 2006-10-17" + emake voikko || die "emake failed" +} + +src_install() { + dodir /usr/lib/suomi-malaga + insinto /usr/lib/suomi-malaga + doins voikko-fi_FI.pro voikko-fi_FI.all_l voikko-fi_FI.sym_l \ + voikko-fi_FI.lex_l voikko-fi_FI.mor_l \ + suomi-sukija.pro suomi.all_l suomi.sym_l suomi.mor_l suomi.lex_l + dodoc ChangeLog LUE.MINUT README +} |