diff options
author | 2012-05-18 09:23:42 +0200 | |
---|---|---|
committer | 2012-05-18 09:23:42 +0200 | |
commit | a1a965d71ac10f88b63d054f74713e0d71ffa0ef (patch) | |
tree | 833adcc06116bcd11128293f3005c4b1d465ded1 | |
parent | weston: Add weston-launch useflag (diff) | |
download | benf-a1a965d71ac10f88b63d054f74713e0d71ffa0ef.tar.gz benf-a1a965d71ac10f88b63d054f74713e0d71ffa0ef.tar.bz2 benf-a1a965d71ac10f88b63d054f74713e0d71ffa0ef.zip |
dblatex: Make it usable for a2x pdf-output
-rw-r--r-- | app-text/dblatex/Manifest | 2 | ||||
-rw-r--r-- | app-text/dblatex/dblatex-0.3.ebuild | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/app-text/dblatex/Manifest b/app-text/dblatex/Manifest index 70ce7bf..c113f1e 100644 --- a/app-text/dblatex/Manifest +++ b/app-text/dblatex/Manifest @@ -1,2 +1,2 @@ DIST dblatex-0.3.tar.bz2 1129409 RMD160 987090d2282b8ff802f6e806f788d9fdc42187e2 SHA1 60a853354de23a44c2f32bca812909e3a5dd76ba SHA256 e1b69a4503918bda50179be331849c5b00e1927c071e53d8ae709c2791d271c7 -EBUILD dblatex-0.3.ebuild 1201 RMD160 5b0cec4c25cdb9bbcaca9b7a3b701cc783b5bd9b SHA1 ab9bc121fcfe2c3c6dd5c6ebca992d548c81fb78 SHA256 697dba5e031a38e6ae80aced2c18f8f138b268bd928158c0059ecc89a8c87dd2 +EBUILD dblatex-0.3.ebuild 1067 RMD160 6184c1f4868ae0000e99cf98040856f9b357bcdd SHA1 0a7ebf9bc61f08f6f1306d30ddddde6d4f245ae3 SHA256 3ede00a6c9ca18feab3115cda176f8417d40f34bddd96824a138f13edb740bff diff --git a/app-text/dblatex/dblatex-0.3.ebuild b/app-text/dblatex/dblatex-0.3.ebuild index c501945..ba4bfae 100644 --- a/app-text/dblatex/dblatex-0.3.ebuild +++ b/app-text/dblatex/dblatex-0.3.ebuild @@ -25,11 +25,16 @@ DEPEND="app-text/texlive dev-texlive/texlive-mathextra dev-texlive/texlive-xetex dev-libs/libxslt + gnome-base/librsvg app-text/docbook-xml-dtd dev-texlive/texlive-pictures" RDEPEND="${DEPEND}" src_prepare() { + sed -i -e "s:base=package_base:base='/usr/share/dblatex/':" scripts/dblatex + sed -i -e 's/"inkscape.*" % /"rsvg-convert -f %s %s -o %s" % /' \ + lib/dbtexmf/core/imagedata.py + distutils_src_prepare } @@ -39,13 +44,6 @@ src_compile() { src_install() { distutils_src_install - newbin "${S}"/scripts/dblatex docbook2latex || die "newbin failed" - mv "${D}"/usr/share/man/man1/dblatex.1.gz \ - "${D}"/usr/share/man/man1/docbook2latex.1.gz || die "mv dblatex.1.gz" - mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF} || die "mv doc" - - einfo "This package installs its main binary as" - einfo " docbook2latex" - einfo "to avoid collisions with other latex packages." + newbin "${S}"/scripts/dblatex dblatex || die "newbin failed" } |