Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-embedded/ponyprog
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ChangeLog,v 1.14 2008/06/20 20:24:44 calchan Exp $
20 Jun 2008; Denis Dupeyron
+files/ponyprog-2.07a-gcc43.patch, ponyprog-2.07a.ebuild:
Fixed compilation with gcc 4.3, thanks to Peter Alfredsen (bug #227503).
29 Feb 2008; Carsten Lohrke
Remove icon extension from desktop entry to match Icon Theme Specification.
27 Aug 2007; Christoph Mende
Added ~amd64 wrt bug #187146
22 Jul 2007; Denis Dupeyron
Removed virtual/x11 (obsolete) and sys-libs/glibc (implicit) dependencies.
*ponyprog-2.07a (19 May 2007)
19 May 2007; Denis Dupeyron
Version bump. Fixes bug #147457 (thanks to Daniel Glaser). Now builds from
source.
13 Apr 2007; Denis Dupeyron
Fixed bug #173884.
28 Jan 2007; Marius Mauch
Replacing einfo with elog
16 Mar 2006; Caleb Tennis
Migrate to modular X dep
29 Jun 2004; Aron Griffis
trim trailing whitespace
07 May 2004; Daniel Black
Addex x86 Keyword
30 Mar 2004; Donnie Berkholz
Change x11-base/xfree dependency to virtual/x11.
*ponyprog-2.06c (16 Mar 2004)
16 Mar 2004; Daniel Black
Initial ebuild by Marco Testarmata
AUX ponyprog-2.07a-gcc43.patch 949 RMD160 905033654df469475f976d0366b8d1df541aaff5 SHA1 18ae54a7792f3aad059254750d0f342d0ee9d123 SHA256 f0410adc013cd416eb5167d6dbe69149599928965107d17bdc89e1a9dea8c2e3
DIST PonyProg2000-2.07a.tar.gz 680770 RMD160 b9604e23c5e7dd703a80688dff425b59e72e6e14 SHA1 60094c996c7956bee81e5dec06445e8760bb4e35 SHA256 6398fcbe15a0ea93f6f38a3ad7299f5b46ba09d2f97050f386e27f19a3283436
DIST ponyprog-2.06c-rh70.tar.gz 325807 RMD160 3332b34504d04dd2f3ae7cda3df2db7d81e9f078 SHA1 3e6a139e5c7e9b1ba8e8d63828dbeacdad182b98 SHA256 7c19a95820a5ca95125e57b83cd81efb9219eadcaa87506ec16de0b1a7de805e
EBUILD ponyprog-2.06c.ebuild 1392 RMD160 e5584106a032a0186c29be0c7462875dfc6bc650 SHA1 012c5fedaa0136ff5b558a96698d521e72fddff7 SHA256 773a9fddc8b7151cc70fcb437c757da48f2a59014fbd633dc7f99374e42d3fdb
EBUILD ponyprog-2.07a.ebuild 2261 RMD160 4b65db3008a958d9d67571d159fbdc32e8586550 SHA1 c052786c9f0ae18fef9d41454decfacf90869f2b SHA256 0d6e6d93480c490ff357c263364c43627978f7b0b5245eff77c8d1ecc14b6dd4
MISC ChangeLog 1819 RMD160 708a8566739bdbc029b4cef6e706dc3acf397b14 SHA1 98d70f62687f6cb3b81bfbfd49dbc6e1b115459e SHA256 55a467cac61041f97fc2ad9a2174168dcc76625a1fc9451630963586c0557a45
MISC metadata.xml 283 RMD160 47f7877ddc89bb621ec4b68b2b9bc9dfb1715d6a SHA1 cfa5d3dd2138b02277b89ac78eef3ffd862306ef SHA256 69cfda14b4b1d7f27fbd3cd7c412e620ef1118df2a4debecee49bf94d24f70bf
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ponyprog-2.06c.ebuild,v 1.12 2008/06/20 20:24:44 calchan Exp $
S=${WORKDIR}
DESCRIPTION="EEprom e Pic Programmer"
HOMEPAGE="http://www.lancos.com/ppwin95.html"
SRC_URI="http://www.lancos.com/e2p/V2_06/${P}-rh70.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
RDEPEND="x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXext
x11-libs/libXt
x11-libs/libXmu
x11-libs/libXaw
x11-libs/libXpm
sys-libs/lib-compat"
src_install () {
dodir /etc/env.d
echo "LDPATH='/opt/ponyprog/lib'" > ${D}/etc/env.d/40ponyprog || die
doenvd etc/env.d/40ponyprog
einfo "Installing binaries"
into /opt/${PN}
dobin "${S}"/usr/local/bin/ponyprog2000
dodir /opt/${PN}/lib
dolib "${S}"/usr/lib/*
dodir /opt/bin
dosym /opt/${PN}/bin/ponyprog2000 /opt/bin/ponyprog
}
pkg_postinst() {
elog "To use the COM port in user mode (not as root) you need"
elog "make sure you have the rights to write /dev/ttyS? devices "
elog "and /var/lock directory."
elog
elog "To use the LPT port in user mode (not as root) you need a 2.4.x kernel "
elog "with ppdev, parport and parport_pc compiled in as modules. You need the "
elog "rights to write /dev/parport? devices."
elog
elog "You can use /opt/bin/ponyprog"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ponyprog-2.07a.ebuild,v 1.4 2008/06/20 20:24:44 calchan Exp $
inherit eutils
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="epiphany firefox seamonkey"
RDEPEND="x11-libs/libXaw
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXext
x11-libs/libX11
epiphany? ( www-client/epiphany )
firefox? ( || ( www-client/mozilla-firefox www-client/mozilla-firefox-bin ) )
seamonkey? ( || ( www-client/seamonkey www-client/seamonkey-bin ) )"
DEPEND="${RDEPEND}
media-gfx/imagemagick"
S="${WORKDIR}/PonyProg2000-${PV}"
pkg_setup() {
if (use epiphany && use firefox) || (use epiphany && use seamonkey) || (use firefox && use seamonkey) ; then
die "Only one of epiphany, firefox or seamonkey can be in USE."
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "s:\$(HOME)/Progetti/PonyProg_Sourceforge/v:${S}/v:" \
-e 's/\-O2//' \
v/Config.mk || die "sed failed"
sed -i -e 's/
if use epiphany ; then
sed -i -e 's/netscape/epiphany/' e2cmdw.cpp
fi
if use firefox ; then
sed -i -e 's/netscape/firefox/' e2cmdw.cpp
fi
if use seamonkey ; then
sed -i -e 's/netscape/seamonkey/' e2cmdw.cpp
fi
convert ponyprog.ico ponyprog.png
# Fix compilation with gcc-4.3, bug #227503
epatch "${FILESDIR}/${P}-gcc43.patch"
}
src_compile() {
emake || die "Compilation failed"
}
src_install () {
dobin bin/ponyprog2000
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 "make sure you have the rights to write to /dev/ttyS? devices"
elog "and /var/lock directory."
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."
}