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.
Created attachment 16209 [details] ebuild file
Created attachment 16210 [details, diff] script patch patch for the executable script with correct path to the jar file
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 }
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 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.
I've just committed ppower4-0.9.6.ebuild to Portage tree. Thanks for the contribution.