summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-20 13:35:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-20 13:35:25 +0000
commit5685987abe1e13b41dabe24966eb12415e9a5ecd (patch)
tree6bf1a21f19c625377f465e8b75c614652cffb1a3 /dev-embedded/ponyprog
parentRemoving postgresql-{base,server} and xen-sources masks (diff)
downloadhistorical-5685987abe1e13b41dabe24966eb12415e9a5ecd.tar.gz
historical-5685987abe1e13b41dabe24966eb12415e9a5ecd.tar.bz2
historical-5685987abe1e13b41dabe24966eb12415e9a5ecd.zip
Use xdg-open instead of hardcoding netscape, firefox or epiphany for $BROWSER.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded/ponyprog')
-rw-r--r--dev-embedded/ponyprog/ChangeLog9
-rw-r--r--dev-embedded/ponyprog/Manifest3
-rw-r--r--dev-embedded/ponyprog/ponyprog-2.07a-r2.ebuild68
3 files changed, 78 insertions, 2 deletions
diff --git a/dev-embedded/ponyprog/ChangeLog b/dev-embedded/ponyprog/ChangeLog
index 710d95265665..ea7bfd9bb59f 100644
--- a/dev-embedded/ponyprog/ChangeLog
+++ b/dev-embedded/ponyprog/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-embedded/ponyprog
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ChangeLog,v 1.24 2010/06/17 18:29:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ChangeLog,v 1.25 2010/06/20 13:35:25 ssuominen Exp $
+
+*ponyprog-2.07a-r2 (20 Jun 2010)
+
+ 20 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +ponyprog-2.07a-r2.ebuild:
+ Use xdg-open instead of hardcoding netscape, firefox or epiphany for
+ $BROWSER.
17 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
ponyprog-2.07a-r1.ebuild, +files/ponyprog-2.07a-build.patch:
diff --git a/dev-embedded/ponyprog/Manifest b/dev-embedded/ponyprog/Manifest
index 0c408c2244fc..000e0b1c5b78 100644
--- a/dev-embedded/ponyprog/Manifest
+++ b/dev-embedded/ponyprog/Manifest
@@ -2,5 +2,6 @@ AUX ponyprog-2.07a-build.patch 882 RMD160 874f16d0f34711acae8a204d061c11302b76ea
AUX ponyprog-2.07a-gcc43.patch 1428 RMD160 f4f87baa1e816f37016c12413cf4cf1bc6511c90 SHA1 ed4d76a2008fa0fab395689eba88f4516f50ac8e SHA256 01e2bfbada45eff447dd1d8fcbcf2605cd30570da08df372a5af99db7659bea4
DIST PonyProg2000-2.07a.tar.gz 680770 RMD160 b9604e23c5e7dd703a80688dff425b59e72e6e14 SHA1 60094c996c7956bee81e5dec06445e8760bb4e35 SHA256 6398fcbe15a0ea93f6f38a3ad7299f5b46ba09d2f97050f386e27f19a3283436
EBUILD ponyprog-2.07a-r1.ebuild 1813 RMD160 245bae6c94e7f685b8011acb1ade9e899a3a56f3 SHA1 9090063651a61e34f7871ff613b1bd95516b0fc7 SHA256 b76c9318d67c04ea0c153a8b44e192ddbc3aeb28cdce140aa08590ebf10e36d8
-MISC ChangeLog 3262 RMD160 20f349b085993b81a3b556bc3b77252313739a12 SHA1 f3cb03d7f7333a654fa9a439cd939e304e656a7b SHA256 bbd5e25fb3b7713bbaf35cfc8def5bc23015dd40b3308cc8d7dd5b8761330b66
+EBUILD ponyprog-2.07a-r2.ebuild 1706 RMD160 5184192ecca573457ceee4d101c4cd4efdf93b29 SHA1 39ba8d04a3c7a8c5b8c25ff50beeb85e9ba672a4 SHA256 b1198fcb914ef921379d231b2e46982243da4795161fca8863c5e1204503143e
+MISC ChangeLog 3463 RMD160 e60e0244724438207c153e69b211dddbe69ae1f6 SHA1 e19dd7d8c3a34640bb8af63734b5bb164b071907 SHA256 0d82a0e2c1529a913249fc18cfb249983e7cf676532af374b0c1400042e95c63
MISC metadata.xml 382 RMD160 e6bbce500b6f5e7d4476a6abae45403275e7a20b SHA1 eb550361c0bf337db4074b5f44c9fd463bcaec59 SHA256 aaedb0b1e1bb1093f7e221f35e25af1d263cbfb16d8cf108568902119ba9e22c
diff --git a/dev-embedded/ponyprog/ponyprog-2.07a-r2.ebuild b/dev-embedded/ponyprog/ponyprog-2.07a-r2.ebuild
new file mode 100644
index 000000000000..b9f39f7f6922
--- /dev/null
+++ b/dev-embedded/ponyprog/ponyprog-2.07a-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ponyprog-2.07a-r2.ebuild,v 1.1 2010/06/20 13:35:25 ssuominen Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Serial device programmer"
+HOMEPAGE="http://www.lancos.com/ppwin95.html"
+SRC_URI="mirror://sourceforge/${PN}/PonyProg2000-${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-misc/xdg-utils"
+DEPEND="${RDEPEND}
+ || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )"
+
+S="${WORKDIR}/PonyProg2000-${PV}"
+
+src_prepare() {
+ sed -i \
+ -e "s:\$(HOME)/Progetti/PonyProg_Sourceforge/v:${S}/v:" \
+ -e 's/\-O2//' \
+ v/Config.mk || die "sed failed"
+
+ sed -i -e 's/<asm\/io.h>/<sys\/io.h>/' *.cpp || die
+
+ sed -i -e 's/netscape/xdg-open/' e2cmdw.cpp || die
+
+ convert ponyprog.ico ponyprog.png
+
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ tc-export CC CXX
+
+ # bug #282244
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ dobin bin/ponyprog2000 || die
+ keepdir /var/lock/uucp
+ fowners uucp:uucp /var/lock/uucp
+ fperms 755 /var/lock/uucp
+ doicon ponyprog.png
+ make_desktop_entry ponyprog2000 PonyProg2000 ponyprog
+}
+
+pkg_postinst() {
+ elog "To use the COM port in user mode (not as root), you need to"
+ elog "be in the 'uucp' group."
+ elog
+ elog "To use the LPT port in user mode (not as root) you need a kernel with"
+ elog "ppdev, parport and parport_pc compiled in or as modules. You need the"
+ elog "rights to write to /dev/parport? devices."
+}