summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-11 10:42:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-11 10:42:36 +0000
commit598362c3854f88caf8c6ff2bbc3f076a7a20165e (patch)
treed5e0bad977b5d2caa04bba993834938670ddead2 /app-mobilephone/bitpim
parentold (diff)
downloadgentoo-2-598362c3854f88caf8c6ff2bbc3f076a7a20165e.tar.gz
gentoo-2-598362c3854f88caf8c6ff2bbc3f076a7a20165e.tar.bz2
gentoo-2-598362c3854f88caf8c6ff2bbc3f076a7a20165e.zip
old
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'app-mobilephone/bitpim')
-rw-r--r--app-mobilephone/bitpim/Manifest15
-rw-r--r--app-mobilephone/bitpim/bitpim-1.0.5.ebuild173
-rw-r--r--app-mobilephone/bitpim/files/bitpim-1.0.5-ffmpeg_quality.patch11
-rw-r--r--app-mobilephone/bitpim/files/bitpim-1.0.5-gcc43.patch22
-rw-r--r--app-mobilephone/bitpim/files/bitpim-1.0.5-gentoo.patch90
5 files changed, 0 insertions, 311 deletions
diff --git a/app-mobilephone/bitpim/Manifest b/app-mobilephone/bitpim/Manifest
index 3c15c11caa74..f7759f94ea65 100644
--- a/app-mobilephone/bitpim/Manifest
+++ b/app-mobilephone/bitpim/Manifest
@@ -1,23 +1,8 @@
------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
AUX bitpim-1.0.6-ffmpeg_quality.patch 835 RMD160 2bf3223e46ee7523aa4fd935f6658eacea558d92 SHA1 2a6995791be7095d10aab4ad3be8cb68f9302f6a SHA256 e3ea845d3373ca70229dbc7281764fcc43655c96e5de2711b47ee1db4e12f357
AUX bitpim-1.0.6-gcc43.patch 836 RMD160 aaac3af0d3bebeab2d062a2cab18585f3607caf3 SHA1 ebcf58683306ca9a5628e6fea2afa92faf6418b4 SHA256 d40819fd5cd9b12628c3cd8a07d838384b1fef34cd231d12597dce5ae200a1ff
AUX bitpim-1.0.6-gentoo.patch 3342 RMD160 c819de9c04f0e450e761145278db66f2ce4621de SHA1 ebc1e1ee0be32333edb4cabfd671de69420562b2 SHA256 4b0e0d59da000a0450a1e7fc0124e8cdf58f1b7caebc193c0a4dbc3719ba55e3
AUX maketarball 916 RMD160 9b8c3bbf63f14d8270c70ca72a61ebe7f82519d8 SHA1 7e17e9dc31281a227967816bf986e744164ac1c5 SHA256 74e267ea8ca9d5375f52b5c47515a46bfea43d04ec309f4c4ff794c7cc20c800
-DIST bitpim-1.0.5.tar.bz2 4526097 RMD160 5d078ebd419a729c8c15ce287529fbacd0386ed4 SHA1 abd3d6a2606c2a0fbc4b9fdf2ab21b246b21bb14 SHA256 f880ddfde79cb8bcf9d56b5c937af2c1548f11eaf00a5a690b14de18e1369826
DIST bitpim-1.0.6.tar.bz2 4595216 RMD160 8b532bc412a6953196ea184f8a55911747b33943 SHA1 6975f456f80e5b4ff3173cf1893ef9f9af71b280 SHA256 9a46b965e505d5a25bb613cef887bf23871f7b1c20493786cd0b880e3ef6855d
-EBUILD bitpim-1.0.5.ebuild 4668 RMD160 0a91d16b30f76e3f076684e1de104037695ecf8c SHA1 5838258a4fa9e71dc92256285f9257590e9d2ed6 SHA256 0b9200c4988f7e95051816b4b9a670a698c118e63a740301bf29b825a27e4a56
EBUILD bitpim-1.0.6.ebuild 3647 RMD160 b155cbfa5c40d1aef7a5eddaafd79d75e2d460bb SHA1 e4fe544565da47430b6a4384212c69c78d5715ed SHA256 bb0656e3743cf54c342a3b1d41e36a6c71836fe5239243e0eb830afcf6a2043e
MISC ChangeLog 5952 RMD160 2bfed57bbd7b5e6c5f62d43a311f93d3d576038b SHA1 44652dd4ffd7ede3d0133f27f246234d2a295c1f SHA256 289db2cb62548a678f45e16bb227693d010de496a7c94267d7696569e7ed70a1
MISC metadata.xml 493 RMD160 758546fe05ba3b5b9baa62ab57daa9f91e186c4e SHA1 cb5fd4b63457236da8393aed4c04f390b5058bcc SHA256 916482535ef05b666d05b74cdec20cbeb764688ee0d31abd4b40ecc06bd530a2
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkN7dgACgkQPrHvTlXvhtvFLwCfeZ/8a5mbUKuhDsmkTd6mmBpF
-QgEAmwfxLY3+7xz5hwFznZmKIAXchOdJ
-=Gi/N
------END PGP SIGNATURE-----
diff --git a/app-mobilephone/bitpim/bitpim-1.0.5.ebuild b/app-mobilephone/bitpim/bitpim-1.0.5.ebuild
deleted file mode 100644
index 4ddddd7a8352..000000000000
--- a/app-mobilephone/bitpim/bitpim-1.0.5.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# 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
-}
diff --git a/app-mobilephone/bitpim/files/bitpim-1.0.5-ffmpeg_quality.patch b/app-mobilephone/bitpim/files/bitpim-1.0.5-ffmpeg_quality.patch
deleted file mode 100644
index d3077eeb95ad..000000000000
--- a/app-mobilephone/bitpim/files/bitpim-1.0.5-ffmpeg_quality.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/conversions.py.orig 2007-06-12 19:07:59.000000000 -0700
-+++ src/conversions.py 2007-06-12 19:09:12.000000000 -0700
-@@ -240,7 +240,7 @@
- mp3file=common.gettempfilename("mp3")
- try:
- try:
-- run(ffmpeg, "-i", shortfilename(inputfilename), "-hq", "-ab", `bitrate`, "-ar", `samplerate`, "-ac", `channels`, shortfilename(mp3file))
-+ run(ffmpeg, "-i", shortfilename(inputfilename), "-sameq", "-ab", `bitrate`, "-ar", `samplerate`, "-ac", `channels`, shortfilename(mp3file))
- except common.CommandExecutionFailed, e:
- # we get this exception on bad parameters, or any other
- # issue so we assume bad parameters for the moment.
diff --git a/app-mobilephone/bitpim/files/bitpim-1.0.5-gcc43.patch b/app-mobilephone/bitpim/files/bitpim-1.0.5-gcc43.patch
deleted file mode 100644
index ae77ba1e2bb3..000000000000
--- a/app-mobilephone/bitpim/files/bitpim-1.0.5-gcc43.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur bitpim-1.0.5.orig/src/native/av/bmp2avi/avi_file.cxx bitpim-1.0.5/src/native/av/bmp2avi/avi_file.cxx
---- bitpim-1.0.5.orig/src/native/av/bmp2avi/avi_file.cxx 2005-02-18 07:55:03.000000000 +0100
-+++ bitpim-1.0.5/src/native/av/bmp2avi/avi_file.cxx 2008-07-01 19:59:57.000000000 +0200
-@@ -9,6 +9,7 @@
-
- #include "avi_file.h"
- #include "byte_order.h"
-+#include <cstring>
-
- // endian conversion routines
-
-diff -ur bitpim-1.0.5.orig/src/native/av/bmp2avi/bmp_file.cxx bitpim-1.0.5/src/native/av/bmp2avi/bmp_file.cxx
---- bitpim-1.0.5.orig/src/native/av/bmp2avi/bmp_file.cxx 2005-02-18 07:55:03.000000000 +0100
-+++ bitpim-1.0.5/src/native/av/bmp2avi/bmp_file.cxx 2008-07-01 20:00:48.000000000 +0200
-@@ -11,6 +11,7 @@
- #include <string>
- #include "bmp_file.h"
- #include "byte_order.h"
-+#include <cstring>
-
- using namespace std;
-
diff --git a/app-mobilephone/bitpim/files/bitpim-1.0.5-gentoo.patch b/app-mobilephone/bitpim/files/bitpim-1.0.5-gentoo.patch
deleted file mode 100644
index 38edcf78c11d..000000000000
--- a/app-mobilephone/bitpim/files/bitpim-1.0.5-gentoo.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff -ur src.orig/common.py src/common.py
---- src.orig/common.py 2007-05-03 14:42:01.000000000 -0700
-+++ src/common.py 2007-06-09 19:22:00.000000000 -0700
-@@ -860,7 +860,7 @@
- # windows running from exe, return as is
- return os.path.abspath(os.path.dirname(sys.executable))
- # running from src, up one
-- return os.path.split(os.path.abspath(os.path.dirname(sys.argv[0])))[0]
-+ return os.path.abspath(os.path.dirname(sys.argv[0]))
-
- if sys.platform=='win32':
- # From Tim Golden's Win32 How Do I ...?
-diff -ur src.orig/conversions.py src/conversions.py
---- src.orig/conversions.py 2007-05-03 14:42:01.000000000 -0700
-+++ src/conversions.py 2007-06-09 19:22:00.000000000 -0700
-@@ -20,11 +20,11 @@
-
- class ConversionFailed(Exception): pass
-
--helperdir=os.path.join(common.get_main_dir(), "helpers")
-+helperdir="/usr/bin"
-
- osext={'win32': '.exe',
- 'darwin': '.mbin',
-- 'linux2': '.lbin'} \
-+ 'linux2': ''} \
- [sys.platform]
-
- # This shortname crap is needed because Windows programs (including ffmpeg)
-@@ -128,14 +128,14 @@
- p=sys.path[0]
- if os.path.isfile(p):
- p=os.path.dirname(p)
-- helpersdirectory=os.path.abspath(os.path.join(p, 'helpers'))
-+ helpersdirectory="/usr/bin"
- print "Helper Directory: "+helpersdirectory
- if sys.platform=='win32':
- osext=".exe"
- if sys.platform=='darwin':
- osext=".mbin"
- if sys.platform=='linux2':
-- osext=".lbin"
-+ osext=""
-
- pngtopnmbin=gethelperbinary('pngtopnm')
- ppmquantbin=gethelperbinary('ppmquant')
-diff -ur src.orig/importexport.py src/importexport.py
---- src.orig/importexport.py 2007-04-02 18:07:57.000000000 -0700
-+++ src/importexport.py 2007-06-09 19:22:00.000000000 -0700
-@@ -21,7 +21,7 @@
- import wx.html
-
- # Others
--from thirdparty import DSV
-+import DSV
-
- # My modules
- import common
-diff -ur src.orig/native/av/bmp2avi/Makefile src/native/av/bmp2avi/Makefile
---- src.orig/native/av/bmp2avi/Makefile 2006-05-05 00:10:08.000000000 -0700
-+++ src/native/av/bmp2avi/Makefile 2007-06-09 19:22:00.000000000 -0700
-@@ -13,6 +13,6 @@
-
- SRC=avi_file.cxx bmp_file.cxx b2a.cxx
-
--bmp2avi.lbin bmp2avi.mbin bmp2avi.exe: $(SRC)
-+bmp2avi bmp2avi.mbin bmp2avi.exe: $(SRC)
- $(CXX) $(EXTRADEFINES) -O2 -o $@ $(SRC)
-
-diff -ur src.orig/native/usb/build.sh src/native/usb/build.sh
---- src.orig/native/usb/build.sh 2007-06-09 19:21:30.000000000 -0700
-+++ src/native/usb/build.sh 2007-06-09 19:22:00.000000000 -0700
-@@ -4,4 +4,4 @@
- swig -python -I/usr/include libusb.i
-
- gcc -fPIC -Wall -fno-strict-aliasing -O2 -g -shared -I $INCLUDEDIR -o _libusb.so libusb_wrap.c -lusb
--strip _libusb.so
-+#strip _libusb.so
-diff -ur src.orig/phones/com_samsung.py src/phones/com_samsung.py
---- src.orig/phones/com_samsung.py 2007-01-09 14:28:37.000000000 -0800
-+++ src/phones/com_samsung.py 2007-06-09 19:22:00.000000000 -0700
-@@ -16,7 +16,7 @@
- import time
-
- # site-packages
--from thirdparty import DSV
-+import DSV
-
- # BitPim modules
- import bpcalendar