ChangeLog

# ChangeLog for app-pda/plucker
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/plucker/ChangeLog,v 1.12 2007/08/29 16:54:07 phreak Exp $

29 Aug 2007; Christian Heim metadata.xml:
Removing agriffis from metadata due to his retirement (see #182294 for
reference).

19 Apr 2007; Gustavo Zacarias plucker-1.8-r1.ebuild:
Keyworded ~sparc wrt #172309

09 Dec 2006; Ryan Hill
+files/plucker-1.8-gcc4.patch, plucker-1.8-r1.ebuild:
Added patch fixing compilation with GCC 4 (bug #138370). Note that building
with USE="gtk" is still broken (bug #121818).

23 Jun 2005; Aron Griffis plucker-1.8-r1.ebuild:
Plucker doesn't build with unicode wxGTK, so make sure we get the ansi
version instead #55716

02 Jan 2005; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

19 Jul 2004; Bryan Østergaard plucker-1.8-r1.ebuild,
plucker-1.8.ebuild:
dev-python/Imaging renamed to dev-python/imaging.

25 Jun 2004; Aron Griffis plucker-1.8-r1.ebuild:
Fix sed netpbm line; thanks to Chouser for the tip

23 Jun 2004; David Holm plucker-1.8-r1.ebuild:
Added to ~ppc.

*plucker-1.8-r1 (21 Jun 2004)

21 Jun 2004; Aron Griffis
+files/plucker-1.8-Makefile.in.patch, +plucker-1.8-r1.ebuild:
Fix warnings and Makefile errors. Enable building of gtk viewer and desktop if
USE=gtk

*plucker-1.8 (20 Jun 2004)

20 Jun 2004; Aron Griffis +plucker-1.8.ebuild:
Fix bug 36822: Add plucker to portage. Thanks to Till Maas for the ebuild

Manifest

AUX plucker-1.8-Makefile.in.patch 471 RMD160 4194daf96f45514e8d077ffd06535f9d4f34759f SHA1 4dfed47b8501bc05738fa41307a1b4fe5770fe2e SHA256 e338c47807d51b4ddfc192c46a1cf4962573044b637013b99e597e995b4304d0
AUX plucker-1.8-gcc4.patch 444 RMD160 9b1130bb17c8bc50817c592f704af06895dbbd70 SHA1 7169cab73f6bde18a3098da19270d82ff0a419d1 SHA256 b20f1ab8a6cfffa69b923da82b25a69e4e7203fc996793c37d66bdd244b502da
DIST plucker_src-1.8.tar.bz2 3134000 RMD160 74059c5f9e3625feabfbbd8f52471921d7213415 SHA1 90179143cba59f2b222325fb272a41352724ff06 SHA256 fc6c2007fdd0e6acaee426ec237b85ae637d2025b2e586f487c72a4f93b54717
EBUILD plucker-1.8-r1.ebuild 2918 RMD160 28ecece9c078b61edb745fc57c211953123a1976 SHA1 059934003f6bca79e491b6b9ffdebb61d50018a5 SHA256 081b552d33ee9ad76646b7817323c75f246f4db4f463c5eb096e0f7c433d6543
EBUILD plucker-1.8.ebuild 1514 RMD160 69472e07e923068244172ee669c6a7cf1c95a456 SHA1 53cb9efd846c489798eb105e5bf6431a6b721597 SHA256 5398a318bece7a14837f0082be6b38ab071e8db1e4031fdb568ead07041767cb
MISC ChangeLog 1751 RMD160 16d739fd9300ff8a4af5182bf66e77eb2f69a52d SHA1 1b9db6d8736516e7663e714267728f49de2f5d84 SHA256 6ea8ade1423815d6ab5c1ee95f60d4b2fcd87a517f658cf35af1ad0517bdab07
MISC metadata.xml 157 RMD160 6f2dbd604c5df2d67bf2f42b3b0449416fb3a92c SHA1 305c49b52c2d157fe44e640aaaded8de9ef7cf85 SHA256 56846545c7061ba6a21ebd55e593cc7082940b7bd9049024204fb7ae26943708

files

metadata.xml




pda

plucker-1.8-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/plucker/plucker-1.8-r1.ebuild,v 1.10 2007/04/19 20:03:53 gustavoz Exp $

IUSE="gtk"

inherit python eutils wxwidgets

DESCRIPTION="Distiller for Plucker -- offline ebook reader for Palm devices"
HOMEPAGE="http://www.plkr.org/"
SRC_URI="http://downloads.plkr.org/${PV}/${PN}_src-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/python-1.5.2
gtk? ( >=x11-libs/gtk+-2.2
=x11-libs/wxGTK-2.4* )
sys-devel/autoconf"
RDEPEND=">=dev-lang/python-1.5.2
gtk? ( >=x11-libs/gtk+-2.2
=x11-libs/wxGTK-2.4* )
|| (
>=media-gfx/imagemagick-5.4.4
>=dev-python/imaging-1.1
>=media-libs/netpbm-9.15
)"

src_unpack() {
unpack ${A}
cd ${S} || die

# Repair broken Makefile.in
epatch ${FILESDIR}/plucker-1.8-Makefile.in.patch

# GCC 4 - extra qualification - Bug #138370
epatch "${FILESDIR}"/${P}-gcc4.patch

# Repair documentation installation path
sed -i "/^DOCSDIR/s/packages/${PF}/" plucker_desktop/Makefile.in || die "sed 1 failed"

# Fix default path to netpbm files
sed -i "s:, '\(palm.*\.map\):, '/usr/share/netpbm/\1:p" \
parser/python/PyPlucker/ImageParser.py || die "sed 2 failed"

# Fix deprecation warnings for python-2.3
sed -i "s:0x\w\w\w\w\w\w\w\w:&L:" \
parser/python/PyPlucker/helper/gettext.py || die "sed 3 failed"

# Get the right version of wxGTK (note call to need-wxwidgets below)
find . -name Makefile.in | xargs sed -i 's/wx-config/$(WX_CONFIG)/g' \
|| die "sed 4 failed"
}

src_compile() {
# plucker-desktop doesn't build with the unicode version of wxGTK. Force
# the non-unicode version until plucker-desktop is fixed. #55716
if useq gtk; then
need-wxwidgets gtk2
fi

# --enable-desktopbuild and --disable-desktopbuild are equivalent for this
# package; either one will *disable* the desktopbuild. It is enabled only
# if the flags are lacking from the cmdline. (21 Jun 2004 agriffis)
econf \
$(useq gtk || echo --disable-desktopbuild --disable-gtkviewer) \
--disable-palmosbuild \
--disable-docbuild \
--with-docdir=/usr/share/doc/${PF} \
|| die "econf failed"

# breaks when built in parallel
emake -j1 || die "emake failed"

# "make install" will try to access this non-existent file
touch TODO
}

src_install() {
dodir /usr/share/doc/${PF}
make DESTDIR=${D} install || die

# Various symlinks normally created by unix/install-plucker.sh
python_version
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Spider.py \
/usr/bin/plucker-build
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Plucker-Docs.py \
/usr/bin/plucker-decode
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Decode.py \
/usr/bin/plucker-dump

# Extra symlink
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/pluck-comics.py /usr/bin/pluck-comics
}

plucker-1.8.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/plucker/plucker-1.8.ebuild,v 1.5 2005/01/01 15:47:17 eradicator Exp $

inherit python

DESCRIPTION="Distiller for Plucker -- offline ebook reader for Palm devices"
HOMEPAGE="http://www.plkr.org/"
SRC_URI="http://downloads.plkr.org/${PV}/${PN}_src-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-lang/python-1.5.2"
RDEPEND=">=dev-lang/python-1.5.2
|| (
>=media-gfx/imagemagick-5.4.4
>=dev-python/imaging-1.1
>=media-libs/netpbm-9.15
)"

src_compile() {
econf \
--disable-palmosbuild \
--disable-desktopbuild \
--disable-gtkviewer \
--disable-docbuild \
--with-docdir=/usr/share/doc/${PF} \
|| die "econf failed"

# breaks when built in parallel
emake -j1 || die "emake failed"

# "make install" will try to access this non-existent file
touch TODO
}

src_install() {
dodir /usr/share/doc/${PF}
make DESTDIR=${D} install || die

# Various symlinks normally created by unix/install-plucker.sh
python_version
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Spider.py \
/usr/bin/plucker-build
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Plucker-Docs.py \
/usr/bin/plucker-decode
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/Decode.py \
/usr/bin/plucker-dump

# Extra symlink
dosym /usr/lib/python${PYVER}/site-packages/PyPlucker/pluck-comics.py /usr/bin/pluck-comics
}