Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26793 - ppower4 (new package)
Summary: ppower4 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-17 04:17 UTC by Thomas Buntrock
Modified: 2004-02-23 09:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild file (ppower4-0.9.4.ebuild,1.18 KB, text/plain)
2003-08-17 04:19 UTC, Thomas Buntrock
Details
script patch (ppower4.patch,411 bytes, patch)
2003-08-17 04:21 UTC, Thomas Buntrock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Buntrock 2003-08-17 04:17:05 UTC
ppower4 is a post processer for pdfs to create dynaimc pdfs for presentations. Perfect for (La)TeX.

can you add it to portage

Reproducible: Always
Steps to Reproduce:

1.
2.
3.
Comment 1 Thomas Buntrock 2003-08-17 04:19:18 UTC
Created attachment 16209 [details]
ebuild file
Comment 2 Thomas Buntrock 2003-08-17 04:21:12 UTC
Created attachment 16210 [details, diff]
script patch

patch for the executable script with correct path to the jar file
Comment 3 Thomas Buntrock 2003-11-06 08:06:07 UTC
Comment on attachment 16209 [details]
ebuild file

># Copyright 2003 Thomas Buntrock
># Distributed under the terms of the GNU General Public License, v2 or later
>
>S=${WORKDIR}
>DESCRIPTION="PPower4 is used to post process presentations in PDF format
which were prepared using (La)TeX to add dynamic effects."
>
>SRC_URI="http://www.tex.ac.uk/tex-archive/support/ppower4/pp4sty.zip 
>    http://www.tex.ac.uk/tex-archive/support/ppower4/pp4p.jar 
>    http://www.tex.ac.uk/tex-archive/support/ppower4/ppower4
>    http://www.tex.ac.uk/tex-archive/support/ppower4/manual.pdf"
>
>HOMEPAGE="http://www.tex.ac.uk/tex-archive/support/ppower4/index.html"
>
>SLOT="0"
>LICENCE="GPL-2"
>KEYWORDS="x86"
>
>DEPEND=">app-text/tetex-1.0.7"
>
>RDEPEND="${DEPEND}
>    virtual/jre"
>
>src_unpack() {
>	unpack pp4sty.zip 
>	cp ${DISTDIR}/pp4p.jar ${S}
>	cp ${DISTDIR}/ppower4 ${S}
>	cp ${DISTDIR}/manual.pdf ${S}
>
>	cd ${S}
>
>	patch -p0 < ${FILESDIR}/ppower4.patch
>}
>
>src_install() {
>	dobin ppower4
>
>	install -d ${D}/usr/lib/ppower4
>	install -m 644 pp4p.jar ${D}/usr/lib/ppower4 
>
>	install -d ${D}/usr/share/texmf/source/latex/ppower4
>	install -m 644 *.sty ${D}/usr/share/texmf/source/latex/ppower4
>
>	install -d ${D}/usr/share/doc/ppower4/
>	install -m 644 ${D}/usr/share/doc/ppower4/manual.pdf
>
>}

pkg_postinst() {
	texhash
}
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-21 08:36:55 UTC
Hi, sorry for the delay. I was just going to add your ebuild
to CVS tree, but found your Copyright at the top of it.
Could we replace it with Gentoo Technologies, Inc. as other
ebuilds? (I wrote your name to ChangeLog of the ebuild instead
of writing your name directly to it) Right now, we don't allow
dual copyright for ebuilds.  To know how we treat copyright issue,
please refer to http://www.gentoo.org/proj/en/devrel/copyright/index.xml

Also, from stylistic point of view, you would write something like

insinto /usr/lib/${PN}
doins pp4p.jar

insinto /usr/share/texmf/source/latex/${PN}
doins *.sty

insinto /usr/share/doc/${PF}
doins manual.pdf

in src_install() section. In this way, you can avoid writing ${D}
around in your ebuild. We'll mirror the source tarball with versioning
since the file from master site's MD5 may change and then break
ebuilds in the future.
Comment 5 Thomas Buntrock 2004-02-21 09:30:56 UTC
Comment on attachment 16209 [details]
ebuild file

Feel free to make all the changes you have make. I gladly give up the
copyright, the style is awful, as you noticed.
Comment 6 Thomas Buntrock 2004-02-21 09:30:57 UTC
Comment on attachment 16209 [details]
ebuild file

Feel free to make all the changes you have make. I gladly give up the
copyright, the style is awful, as you noticed.
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-23 09:22:20 UTC
I've just committed ppower4-0.9.6.ebuild to Portage tree.
Thanks for the contribution.