Portage is a package management system used by Gentoo Linux
# ChangeLog for app-mobilephone/bitpim
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/ChangeLog,v 1.26 2008/07/01 18:56:50 mrness Exp $
01 Jul 2008; Alin Năstac
+files/bitpim-1.0.5-gcc43.patch, bitpim-1.0.5.ebuild:
Depend unconditionally on dev-python/apsw (#230363). Fix broken build when
compiled with gcc-4.3 (#230043).
24 Jun 2008; Alin Năstac
-files/bitpim-0.9.10-gentoo.patch, -files/bitpim-0.9.13-gentoo.patch,
-bitpim-0.9.10.ebuild, -bitpim-0.9.13.ebuild, bitpim-1.0.5.ebuild:
Remove obsolete versions. Remove swig runtime dependency (#221455).
29 May 2008; Ali Polatel
bitpim-0.9.13.ebuild, bitpim-1.0.5.ebuild:
python_mod_{cleanup,optimize} are ROOT aware.
*bitpim-1.0.5 (09 Feb 2008)
09 Feb 2008; Steve Arnold
+files/bitpim-1.0.5-ffmpeg_quality.patch,
+files/bitpim-1.0.5-gentoo.patch, +bitpim-1.0.5.ebuild:
Updated to latest development release to go with latest wxPython; will
probably also add the official stable 1.0.0 release, which still works
with slightly older deps (the new one may have better exception support).
Needs some python deps updated for ppc arches.
03 Oct 2007; Ryan Hill
bitpim-0.9.13.ebuild:
Lock wxpython dependency.
14 Sep 2007; Daniel Black
bitpim-0.9.13.ebuild:
repository location inspired by bug #192493 thanks to ArtG
30 Mar 2007; Alin Năstac
Fix apsw dependency (#172630).
*bitpim-0.9.13 (26 Mar 2007)
26 Mar 2007; Alin Năstac
-files/bitpim-0.9.08-gentoo.patch, +files/bitpim-0.9.13-gentoo.patch,
-bitpim-0.9.08.ebuild, +bitpim-0.9.13.ebuild:
Version bump.
*bitpim-0.9.10 (16 Jan 2007)
16 Jan 2007; Alin Năstac
-files/bitpim-0.9.07-gentoo.patch, +files/bitpim-0.9.10-gentoo.patch,
-bitpim-0.9.07-r2.ebuild, +bitpim-0.9.10.ebuild:
Version bump. Remove obsolete versions.
*bitpim-0.9.08 (02 Dec 2006)
02 Dec 2006; Alin Năstac
+files/bitpim-0.9.08-gentoo.patch, +bitpim-0.9.08.ebuild:
Version bump.
*bitpim-0.9.07-r2 (12 Nov 2006)
12 Nov 2006; Alin Nastac
+bitpim-0.9.07-r2.ebuild:
Work with multilib-strict (#154839).
*bitpim-0.9.07-r1 (08 Nov 2006)
08 Nov 2006; Alin Nastac
-files/bitpim-0.9.00-gentoo.patch, files/bitpim-0.9.07-gentoo.patch,
-bitpim-0.9.00.ebuild, -bitpim-0.9.07.ebuild, +bitpim-0.9.07-r1.ebuild:
Remove obsolete version. Fix improper processing of the command line
arguments (#154078).
*bitpim-0.9.07 (15 Sep 2006)
15 Sep 2006; Alin Nastac
-files/bitpim-0.8.12-gentoo.patch, -files/bitpim-0.8.13-gentoo.patch,
+files/bitpim-0.9.07-gentoo.patch, -bitpim-0.8.08.ebuild,
-bitpim-0.8.13.ebuild, +bitpim-0.9.07.ebuild:
Remove obsolete versions, including the latest stable on x86 (#135321).
Version bump, which appears to also solve 'crash on exit' bug (#130914).
*bitpim-0.9.00 (02 Jun 2006)
02 Jun 2006; Alin Nastac
+files/bitpim-0.9.00-gentoo.patch, -bitpim-0.8.12.ebuild,
+bitpim-0.9.00.ebuild:
Version bump.
*bitpim-0.8.13 (26 Apr 2006)
26 Apr 2006; Alin Nastac
+files/bitpim-0.8.13-gentoo.patch, +bitpim-0.8.13.ebuild:
Version bump (#131331).
*bitpim-0.8.12 (22 Apr 2006)
22 Apr 2006; Alin Nastac
+files/bitpim-0.8.12-gentoo.patch, -bitpim-0.8.07.ebuild,
+bitpim-0.8.12.ebuild:
Remove obsolete version. Version bump - the new ebuild use custom made
(from upstream svn) source tarball instead the binary RPM (see bug 127966).
Special thanks goes to Pat Double
23 Mar 2006; Alin Nastac
-bitpim-0.7.34.ebuild, -bitpim-0.8.04.ebuild, bitpim-0.8.07.ebuild,
bitpim-0.8.08.ebuild:
Remove obsolete versions. Add =gtk+-2.8.8* dependency (#127079).
Mark 0.8.08 as stable on x86.
*bitpim-0.8.08 (25 Feb 2006)
25 Feb 2006; Alin Nastac
+bitpim-0.8.08.ebuild:
Stable on x86. Version bump.
*bitpim-0.8.07 (01 Feb 2006)
01 Feb 2006; Alin Nastac
Version bump. Correct access permissions on helpers, libraries and
resources (#121196).
12 Jan 2006; Luis Medinas
Fixed dependencies to run on amd64.
12 Jan 2006; Luis Medinas
Added ~amd64 keyword. Closes bug #118305.
*bitpim-0.8.04 (02 Jan 2006)
02 Jan 2006; Alin Nastac
Version bump.
*bitpim-0.7.34 (23 Jul 2005)
23 Jul 2005; Alin Nastac
-bitpim-0.7.32.ebuild, bitpim-0.7.33.ebuild, +bitpim-0.7.34.ebuild:
Mark version 0.7.33 stable on x86. Remove obsolete versions. Version bump
(#99986).
*bitpim-0.7.33 (05 Jun 2005)
05 Jun 2005; Alin Nastac
Version bump.
*bitpim-0.7.32 (15 May 2005)
15 May 2005; Alin Nastac
+bitpim-0.7.32.ebuild:
Moved from app-pda/bitpim to app-mobilephone/bitpim. Version bumped.
07 Mar 2005; Don Seiler
Adding nostrip after correspondence with author
*bitpim-0.7.27 (04 Mar 2005)
04 Mar 2005; Don Seiler
+bitpim-0.7.27.ebuild:
Initial add
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX bitpim-1.0.5-ffmpeg_quality.patch 697 RMD160 de30fce5943333ccfe3a013eca308ec196d68445 SHA1 e6d44e04ed34859904a89235263dd21f20db0e9c SHA256 4af3689f5eef2608f34e44c30b53c59507672375cd67e276268a8e8b5fc0f1cf
AUX bitpim-1.0.5-gcc43.patch 834 RMD160 c3bfbca9470752707e5bf352a80bd6399d5040c1 SHA1 2e2e11cda90ccfd11366c5b7890e911edcd37a58 SHA256 22abf3a9dd1c77777ddfa771bc6ed965e51c3fffffbb1864eb18fe9fa57b9a6e
AUX bitpim-1.0.5-gentoo.patch 3024 RMD160 28c49c3623279667fbddc32a499a28b28199a443 SHA1 e99066f60ed3980739d8cce30aac2ff716e55d97 SHA256 30031bed2470e5f9bf0782fddc9363e5d95da086053df37e49e9cdbfd96d3c00
DIST bitpim-1.0.5.tar.bz2 4526097 RMD160 5d078ebd419a729c8c15ce287529fbacd0386ed4 SHA1 abd3d6a2606c2a0fbc4b9fdf2ab21b246b21bb14 SHA256 f880ddfde79cb8bcf9d56b5c937af2c1548f11eaf00a5a690b14de18e1369826
EBUILD bitpim-1.0.5.ebuild 4668 RMD160 0a91d16b30f76e3f076684e1de104037695ecf8c SHA1 5838258a4fa9e71dc92256285f9257590e9d2ed6 SHA256 0b9200c4988f7e95051816b4b9a670a698c118e63a740301bf29b825a27e4a56
MISC ChangeLog 5701 RMD160 5543eb815f93110427d6f4a99aaec68a0debbb68 SHA1 542c9520d5b7b02f7458d01ff5376f51db489ae9 SHA256 9126f4a0a2f0f905e51c5ec7a3e912b4179f136f553bba351c5030e1435136ed
MISC metadata.xml 493 RMD160 758546fe05ba3b5b9baa62ab57daa9f91e186c4e SHA1 cb5fd4b63457236da8393aed4c04f390b5058bcc SHA256 916482535ef05b666d05b74cdec20cbeb764688ee0d31abd4b40ecc06bd530a2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhqff4ACgkQPrHvTlXvhtsfiwCfcOgtn/WHzOnmAkU/KwsTFoXz
j3IAn14mNBerxkZCh+bZYG3flukUjjCp
=XiFA
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-1.0.5.ebuild,v 1.5 2008/07/01 18:56:50 mrness Exp $
inherit distutils fdo-mime multilib
DESCRIPTION="Program to view and manipulate data on LG VX4400/VX6000 and many Sanyo Sprint mobile phones"
HOMEPAGE="http://www.bitpim.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# this needs fixing
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="crypt evo usb"
COMMON_DEPEND="=dev-python/wxpython-2.8.7.1*
>=dev-python/python-dsv-1.4.0
>=dev-python/pyserial-2.2
>=dev-python/apsw-3.3.13.1
crypt? ( >=dev-python/paramiko-1.7.1
>=dev-python/pycrypto-2.0.1 )
usb? ( >=dev-libs/libusb-0.1.10a )"
DEPEND="${COMMON_DEPEND}
usb? ( >=dev-lang/swig-1.3.21 )"
RDEPEND="${COMMON_DEPEND}
media-video/ffmpeg
media-libs/netpbm
>=dev-lang/python-2.5"
#For Gentoo devs only: uncomment this line when you want to make the tarball
#then COMMENT IT BACK!
#pkg_setup() { maketarball; }
maketarball() { #For building the tarball. To be used only by ebuild maintainers
local x svnrev
svnrev=$(svn log -q --limit 1 https://${PN}.svn.sourceforge.net/svnroot/${PN}/releases/${PV} | sed -r '/^[^r]/d;s/^r([0-9]+) .*$/\1/')
[ $? = 0 ] || return 1
#Fetch the source (only those directories that are needed)
cd "${DISTDIR}" && mkdir -p ${P} || return 1
for x in resources packaging src ; do
svn export https://${PN}.svn.sourceforge.net/svnroot/${PN}/releases/${PV}/${x} ${P}/${x} || return 1
done
#Remove unneeded stuff
rm ${P}/resources/*.chm ${P}/src/package.py
#Freeze version and set vendor name to Gentoo
sed -i -e 's/\(^__FROZEN__="[$]Id: \).*\( $"\)/\1'${svnrev}'\2/' \
-e 's/^vendor=".*"/vendor="Gentoo"/' \
${P}/src/version.py || return 1
#Make the tarball
tar -cjf ${P}.tar.bz2 ${P}
rm -r ${P}
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-ffmpeg_quality.patch"
epatch "${FILESDIR}/${P}-gcc43.patch"
sed -i "s/python2.3/${python}/" "${S}/src/native/usb/build.sh"
}
src_compile() {
# USB stuff
if use usb; then
cd "${S}/src/native/usb"
sh ./build.sh || die "compilation of native/usb failed"
fi
# strings
cd "${S}/src/native/strings"
${python} setup.py build || die "compilation of native/strings failed"
# bmp2avi
cd "${S}/src/native/av/bmp2avi"
PLATFORM=linux make || die "compilation of native/bmp2avi failed"
}
src_install() {
# Install files into right place
#
# BitPim is a self-contained app, so jamming it into
# Python's site-packages might not be worthwhile. We'll
# Put it in its own home, and add the PYTHONPATH in the
# wrapper executables below.
distutils_python_version
local RLOC=/usr/$(get_libdir)/${P}
# Main Python source
insinto ${RLOC}
doins src/*.py
# Phone specifics
insinto ${RLOC}/phones
doins src/phones/*.py
# Native products
insinto ${RLOC}/native
doins src/native/*.py
insinto ${RLOC}/native/qtopiadesktop
doins src/native/qtopiadesktop/*.py
insinto ${RLOC}/native/outlook
doins src/native/outlook/*.py
insinto ${RLOC}/native/egroupware
doins src/native/egroupware/*.py
if use evo ; then
insinto ${RLOC}/native/evolution
doins src/native/evolution/*.py
fi
# strings
cd "${S}/src/native/strings"
${python} setup.py install --root="${D}" --no-compile "$@" \
|| die "install of native/strings failed"
cd "${S}"
insinto $RLOC/native/strings
doins src/native/strings/__init__.py src/native/strings/jarowpy.py
# usb
if use usb; then
insinto ${RLOC}/native/usb
doins src/native/usb/*.py
doins src/native/usb/*.so
fi
# Helpers and resources
dobin src/native/av/bmp2avi/bmp2avi
insinto ${RLOC}/resources
doins resources/*
# Bitfling
if use crypt; then
FLINGDIR="${RLOC}/bitfling"
insinto $FLINGDIR
cd "${S}/src/bitfling"
doins *.py
cd "${S}"
fi
# Creating scripts
echo '#!/bin/sh' > "${T}/bitpim"
echo "exec ${python} ${RLOC}/bp.py \"\$@\"" >> "${T}/bitpim"
dobin "${T}/bitpim"
if use crypt; then
echo '#!/bin/sh' > "${T}/bitfling"
echo "exec ${python} ${RLOC}/bp.py \"\$@\" bitfling" >> "${T}/bitfling"
dobin "${T}/bitfling"
fi
# Desktop file
insinto /usr/share/applications
sed -i -e "s|%%INSTALLBINDIR%%|/usr/bin|" -e "s|%%INSTALLLIBDIR%%|${RLOC}|" \
packaging/bitpim.desktop
doins packaging/bitpim.desktop
}
pkg_postinst() {
# Optimize in installed directory
python_mod_optimize /usr/$(get_libdir)/${P}
fdo-mime_desktop_database_update
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/${P}
fdo-mime_desktop_database_update
}
BitPim is a program that allows you to view and manipulate data on LG
VX4400/VX6000 and many Sanyo Sprint cell phones. This includes the
PhoneBook, Calendar, WallPapers, RingTones (functionality varies by
phone) and the Filesystem for most Qualcomm CDMA chipset based phones.