Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168884 Details for
Bug 181283
app-text/writer2latex (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text/writer2latex/writer2latex-0.9.1.ebuild
writer2latex-0.9.1.ebuild (text/plain), 3.24 KB, created by
Dmitry S. Kulyabov
on 2008-10-18 07:24:48 UTC
(
hide
)
Description:
app-text/writer2latex/writer2latex-0.9.1.ebuild
Filename:
MIME Type:
Creator:
Dmitry S. Kulyabov
Created:
2008-10-18 07:24:48 UTC
Size:
3.24 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils latex-package java-pkg-2 java-ant-2 multilib > >MY_PV=${PV//./} >MY_PV=${MY_PV/_/} >MY_P=${PN}${MY_PV}source > >DESCRIPTION="Writer2Latex (w2l) - converter from OpenDocument .odt format" >HOMEPAGE="http://www.hj-gym.dk/~hj/writer2latex" >SRC_URI="http://www.hj-gym.dk/~hj/${PN}/${MY_P}.zip > http://fc.hj-gym.dk/~hj/${MY_P}.zip" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 amd64" >IUSE="doc examples" > >DEPEND=">=virtual/jdk-1.5 > virtual/latex-base" >RDEPEND=">=virtual/jre-1.5" > >S=${WORKDIR}/${PN}09 > >OOO_EXTENSIONS="writer2latex writer2xhtml xhtml-config-sample" >OOO_EXTENSIONS_DA="writer2latex writer2xhtml writer2latex.xhtml-config-sample" > >add_extension() { > echo -n "Adding extension $1..." > INSTDIR=`mktemp -d` > /usr/lib/openoffice/program/unopkg add --shared $1 \ > "-env:UserInstallation=file:///$INSTDIR" \ > "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" ># '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ > if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi > echo " done." >} > >flush_unopkg_cache() { > /usr/lib/openoffice/program/unopkg list --shared > /dev/null 2>&1 >} > >remove_extension() { > if /usr/lib/openoffice/program/unopkg list --shared $1 >/dev/null; then > echo -n "Removing extension $1..." > INSTDIR=`mktemp -d` > /usr/lib/openoffice/program/unopkg remove --shared $1 \ > "-env:UserInstallation=file://$INSTDIR" \ > "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" ># '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ > if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi > echo " done." > flush_unopkg_cache > fi >} > > >src_unpack(){ > unpack ${A} > cd "${S}" > > # Hack for OOo-3 > mkdir -p openoffice/program/classes > cd openoffice/program/classes > find /usr/lib/openoffice -name "*.jar" -exec ln -snf {} . \; > > sed -i -e "s:W2LPATH=.*:W2LPATH=/usr/$(get_libdir)/${PN}:" "${S}"/source/distro/w2l || die "Sed failed" >} > ># EANT_EXTRA_ARGS="-DOFFICE_HOME=/usr/lib/openoffice" >EANT_EXTRA_ARGS="-DOFFICE_HOME=${S}/openoffice" >EANT_BUILD_TARGET="all" > > >src_install() { > > java-pkg_jarinto /usr/lib/${PN} > java-pkg_dojar "${S}/target/$(get_libdir)/${PN}.jar" > > cd ${S}/source/distro > > dobin w2l > > insinto /usr/$(get_libdir)/${PN} > cd ${S}/source/distro/xslt > doins *.xml > doins *.xsl > > cd "${S}"/source/distro/latex > latex-package_src_install > > > cd ${S}/source/distro > dodoc History.txt Readme.txt changelog.txt COPYING.TXT > dodoc source/oxt/xhtml-config-sample/config/* > > insinto /usr/$(get_libdir)/openoffice/share/extension/install > for i in ${OOO_EXTENSIONS} > do > doins "${S}"/target/$(get_libdir)/${i}.oxt > done > > if use doc > then > # dohtml -r doc > cd ${S}/source/distro > cp doc/* "${D}"/usr/share/doc/${PF} || die "Failed to copy .odts" > > java-pkg_dojavadoc ${S}/target/javadoc > > fi > > if use examples > then > cd ${S}/source/distro > cp -R samples "${D}"/usr/share/doc/${PF} || die "Failed to copy samples" > fi > >} > >pkg_postinst() { > for i in ${OOO_EXTENSIONS} > do > add_extension /usr/$(get_libdir)/openoffice/share/extension/install/${i}.oxt > done > >} > >pkg_prerm() { > for i in ${OOO_EXTENSIONS_DA} > do > remove_extension org.openoffice.da.${i}.oxt > 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 181283
:
121475
|
121476
|
126709
|
138377
|
168884
|
170509
|
170511
|
170513
|
170608