Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73027 Details for
Bug 17299
soikko-oo-linux-0.2.ebuild (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-office/oo2-soikko/oo2-soikko-1.0.1.ebuild
oo2-soikko-1.0.1.ebuild (text/plain), 3.60 KB, created by
Tuomas Suutari
on 2005-11-16 13:37:26 UTC
(
hide
)
Description:
app-office/oo2-soikko/oo2-soikko-1.0.1.ebuild
Filename:
MIME Type:
Creator:
Tuomas Suutari
Created:
2005-11-16 13:37:26 UTC
Size:
3.60 KB
patch
obsolete
>DESCRIPTION="Soikko - Finnish spell checking and hyphenation for OpenOffice" >HOMEPAGE="http://www.lemi.fi/oo2-soikko" >SRC_URI=" >http://www.lemi.fi/oo2-soikko/${P}.tar.gz >http://www.lemi.fi/oo2-soikko/${P}gcc3.3.tar.gz >" >#http://www.lemi.fi/oo2-soikko/${P}-src.tar.gz for sources > >LICENSE="SISSL-1.1 soikko GPL-2.0 LGPL-2.1" >SLOT="0" >KEYWORDS="~x86 ~amd64" > >DEPEND="|| (>=app-office/openoffice-bin-2.0 >=app-office/openoffice-2.0)" > >check_ooo_not_running() { > 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 >} > >src_unpack() { > check_ooo_not_running > > einfo "" > einfo "Soikko Binary Code License" > einfo "" > einfo "Copyright (C) 2002, Pasi Ryhänen <pry@iki.fi>" > einfo "" > einfo "Redistribution and use in binary form are permitted provided that the" > einfo "following conditions are met:" > einfo "" > einfo "1. Redistributions in binary form must reproduce the above copyright" > einfo " notice, this list of conditions and the following disclaimer in the" > einfo " documentation and/or other materials provided with the distribution." > einfo "" > einfo "THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED" > einfo "WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF" > einfo "MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." > einfo "" > > unpack ${A} >} > >src_install() { > dodoc ASENNUS.txt > insinto /usr/lib/openoffice/share/ > doins install-oo2-soikko ># insinto ${OODIR}/program ># doins ${S}/regcomp ># fperms 755 ${OODIR}/program/regcomp ># doins ${S}/libspellfi645li.so ># fperms 755 ${OODIR}/program/libspellfi645li.so ># doins ${S}/libhyphenfi645li.so ># fperms 755 ${OODIR}/program/libhyphenfi645li.so ># doins ${S}/libsoikko.so ># fperms 755 ${OODIR}/program/libsoikko.so > ># insinto ${OODIR}/share/dict ># doins ${S}/soikko-sp.fi_FI.dic ># doins ${S}/soikko-hy.fi_FI.dic >} > >find_unopkg() { > if has_version '>=app-office/openoffice-bin'; then > if [ "${ARCH}" = "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() { > check_ooo_not_running > find_unopkg > > # select right binary interface > if grep -U -q CXXABI_1.3 "$UNOPKG".bin > then > # use normal binary > COMPONENT="${S}/oo2-soikko-Linux_x86-${PV}.uno.pkg" > ABIVERSTR="" > else > # use gcc3.3 > COMPONENT="${MODULEDIR}/${WORKDIR}/${P}gcc3.3/oo2-soikko-Linux_x86-${PV}gcc3.3.uno.pkg" > ABIVERSTR=" for gcc-3.3 ABI" > fi > PKG=$(basename "${COMPONENT}") > > # use normal binary > # register() > if $UNOPKG add --shared "${COMPONENT}" &>/dev/null; > then > einfo "Soikko package (${PKG}) registered succesfully" > else > die "Couldn't register Soikko package (${PKG})" > fi > ># for i in libspellfi645li.so libhyphenfi645li.so; do ># LD_LIBRARY_PATH=${OODIR}/program \ ># ${OODIR}/program/regcomp -register \ ># -r ${OODIR}/program/services.rdb -c ${i} ># done >} > >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}" | grep -m1 "^Name: oo2-soikko-Linux_x86-${PV}" | sed -e "s/Name: //") > if [ "${PKG}" != "" ]; then > if $UNOPKG remove --shared ${PKG} &>/dev/null > then > einfo "Soikko package (${PKG}) unregistered succesfully" > else > die "Couldn't uninstall existing soikko packages" > fi > fi > ># for i in libspellfi645li.so libhyphenfi645li.so; do ># LD_LIBRARY_PATH=${OODIR}/program \ ># ${OODIR}/program/regcomp -revoke \ ># -r ${OODIR}/program/services.rdb -c ${i} ># done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 17299
:
9252
|
12548
|
13529
|
13530
|
44789
|
72196
|
72988
| 73027