Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73329 Details for
Bug 91559
package request: OmegaT, a GPL Java Computer Assisted Translation tool
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
omegat-1.4.5.04.ebuild
omegat-1.4.5.04.ebuild (text/plain), 1.79 KB, created by
Magnus Lind
on 2005-11-21 14:31:09 UTC
(
hide
)
Description:
omegat-1.4.5.04.ebuild
Filename:
MIME Type:
Creator:
Magnus Lind
Created:
2005-11-21 14:31:09 UTC
Size:
1.79 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >MY_PV=${PV:0:5} >MY_P=${PN}-${MY_PV} > >DESCRIPTION="Open source computer assisted translation (CAT) tool written in Java." >HOMEPAGE="http://www.omegat.org/" >SRC_URI="mirror://sourceforge/omegat/OmegaT_src_${PV}.zip" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND=">=virtual/jdk-1.4" >RDEPEND=">=virtual/jre-1.4" > >MY_INSTALL_DIR="/opt/${MY_P}" > >src_unpack() { > cd ${WORKDIR} > unpack ${A} > > # Fix the path for help documents > # It's statically set to the user's home directory in the source. > local helpPath="\/usr\/share\/doc\/${PF}\/html" > sed -i "s/\(.*HELP_DIR.*=.*\"\)docs\(\".*\)/\1$helpPath\2/g" \ > src/org/omegat/util/OConsts.java > epatch ${FILESDIR}/1.4.5.04-helppath.patch >} > >src_compile() { > cd ${WORKDIR} > # If javadoc.additionalparam isn't there, we get an error > ant "jar" "-Djavadoc.additionalparam=" >} > >src_install() { > cd ${WORKDIR} > mv dist/OmegaT.jar dist/omegat.jar > insinto ${MY_INSTALL_DIR} > doins -r dist/* > > # Startup script > exeinto /usr/bin > make_startup_script > > # Docs > rm -r release/OmegaT* release/win32* > dodoc release/* > dohtml -r docs/* > > # Icons and stuff > insinto ${MY_INSTALL_DIR}/share > doins images/* > > # Desktop entry > insinto /usr/share/applications > make_desktop_file >} > >function make_startup_script() { > local file="${PN}" > cat > $file <<EOD >#!/bin/bash > >JAVA=\$(java-config -J) >\$JAVA -jar ${MY_INSTALL_DIR}/omegat.jar >EOD > doexe $file >} > >function make_desktop_file() { > local file="${MY_P}.desktop" > cat > $file <<EOD >[Desktop Entry] >Name=OmegaT ${MY_PV} >Comment=A translator tool >Icon=${MY_INSTALL_DIR}/share/OmegaT.ico >Exec=/usr/bin/omegat >Terminal=false >Type=Application >Categories=Application;Office >StartupNotify=false >EOD > doins $file >} > >
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 91559
:
73327
|
73328
|
73329
|
73366
|
73375
|
73497
|
73498
|
73601
|
100642
|
100643
|
101450
|
101451
|
101453
|
102379
|
104994
|
104995
|
325896