Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 26793
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Buntrock <bunti@bunti-home.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ppower4-0.9.4.ebuild ebuild file text/plain Thomas Buntrock 2003-08-17 04:19 0000 1.18 KB Details
ppower4.patch script patch patch Thomas Buntrock 2003-08-17 04:21 0000 411 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26793 depends on: Show dependency tree
Bug 26793 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-17 04:17 0000
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 From Thomas Buntrock 2003-08-17 04:19:18 0000 -------
Created an attachment (id=16209) [details]
ebuild file

------- Comment #2 From Thomas Buntrock 2003-08-17 04:21:12 0000 -------
Created an attachment (id=16210) [details]
script patch

patch for the executable script with correct path to the jar file

------- Comment #3 From Thomas Buntrock 2003-11-06 08:06:07 0000 -------
(From update of attachment 16209 [details])
># 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 From Mamoru KOMACHI (RETIRED) 2004-02-21 08:36:55 0000 -------
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 From Thomas Buntrock 2004-02-21 09:30:56 0000 -------
(From update of attachment 16209 [details])
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 From Thomas Buntrock 2004-02-21 09:30:57 0000 -------
(From update of attachment 16209 [details])
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 From Mamoru KOMACHI (RETIRED) 2004-02-23 09:22:20 0000 -------
I've just committed ppower4-0.9.6.ebuild to Portage tree.
Thanks for the contribution.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug