diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-12-02 14:18:48 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-12-02 14:18:48 +0000 |
commit | 5841547437df4dc352a04ea94050b8295cdc4ae2 (patch) | |
tree | 07203d4a9b8d88080d638af915466fb494026440 /app-mobilephone | |
parent | Add version 21.4.19-r1 with new USE flags and several bugfixes. (diff) | |
download | historical-5841547437df4dc352a04ea94050b8295cdc4ae2.tar.gz historical-5841547437df4dc352a04ea94050b8295cdc4ae2.tar.bz2 historical-5841547437df4dc352a04ea94050b8295cdc4ae2.zip |
Version bump.
Package-Manager: portage-2.1.1-r1
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/bitpim/ChangeLog | 8 | ||||
-rw-r--r-- | app-mobilephone/bitpim/Manifest | 26 | ||||
-rw-r--r-- | app-mobilephone/bitpim/bitpim-0.9.08.ebuild | 163 | ||||
-rw-r--r-- | app-mobilephone/bitpim/files/bitpim-0.9.08-gentoo.patch | 75 | ||||
-rw-r--r-- | app-mobilephone/bitpim/files/digest-bitpim-0.9.08 | 3 |
5 files changed, 267 insertions, 8 deletions
diff --git a/app-mobilephone/bitpim/ChangeLog b/app-mobilephone/bitpim/ChangeLog index 65929d2b1be7..ec5b7bc7d671 100644 --- a/app-mobilephone/bitpim/ChangeLog +++ b/app-mobilephone/bitpim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-mobilephone/bitpim # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/ChangeLog,v 1.16 2006/11/12 10:49:04 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/ChangeLog,v 1.17 2006/12/02 14:18:48 mrness Exp $ + +*bitpim-0.9.08 (02 Dec 2006) + + 02 Dec 2006; Alin Năstac <mrness@gentoo.org> + +files/bitpim-0.9.08-gentoo.patch, +bitpim-0.9.08.ebuild: + Version bump. *bitpim-0.9.07-r2 (12 Nov 2006) diff --git a/app-mobilephone/bitpim/Manifest b/app-mobilephone/bitpim/Manifest index 0f4b4a13afa6..ba90a0faedce 100644 --- a/app-mobilephone/bitpim/Manifest +++ b/app-mobilephone/bitpim/Manifest @@ -5,15 +5,24 @@ AUX bitpim-0.9.07-gentoo.patch 3157 RMD160 ac5cc213338dec920d066791b6f2d874e582a MD5 00fe82c9e7c2843b3919e23fcbb92e57 files/bitpim-0.9.07-gentoo.patch 3157 RMD160 ac5cc213338dec920d066791b6f2d874e582adbe files/bitpim-0.9.07-gentoo.patch 3157 SHA256 57757f41e6dfaa51b8fcdc657ad33c1236adc595c28cd2e8bc16022cf51fb520 files/bitpim-0.9.07-gentoo.patch 3157 +AUX bitpim-0.9.08-gentoo.patch 3157 RMD160 ee02b5c82757a2a0166425eedce97740609a2929 SHA1 4538339b26de4d2589b57cc86fb4c80f9ce8400c SHA256 2cba9300ecba90411c11d6fa68043e65ffcf0d43524adf6778442ce2c0ce1e5e +MD5 f76d14ba2131365782566dcc778e1c6d files/bitpim-0.9.08-gentoo.patch 3157 +RMD160 ee02b5c82757a2a0166425eedce97740609a2929 files/bitpim-0.9.08-gentoo.patch 3157 +SHA256 2cba9300ecba90411c11d6fa68043e65ffcf0d43524adf6778442ce2c0ce1e5e files/bitpim-0.9.08-gentoo.patch 3157 DIST bitpim-0.9.07.tar.bz2 3833224 RMD160 fcee72015ada5623185e145f8b1703e29409c7fd SHA1 3fbbafb9353e3685be2969f667fb28ca06165740 SHA256 159faac3ebb0685a30207b592c631b53ad83843a6a8103d5dca9d95a78e5f0df +DIST bitpim-0.9.08.tar.bz2 3958117 RMD160 82d508db4551b8b865f85f2b0573939dce58057c SHA1 38174893706d8d75d644d7d29441eb7edc4c581d SHA256 f958a54372535447209bf015c017331e16a0aa2fc9bf7554211c47ed1bd8ab66 EBUILD bitpim-0.9.07-r2.ebuild 4366 RMD160 eb743ef384d133bfb69ef839a06d9498d6bb0918 SHA1 f8333b3b98daa6ba35a6529bdba0f90fefc7ad97 SHA256 0e51bae254b396eb4f0b352dcdea354acef3199931977c3d3f7d7960d0b19f8c MD5 7d3ac2c16bf6bf3785507089a243b54f bitpim-0.9.07-r2.ebuild 4366 RMD160 eb743ef384d133bfb69ef839a06d9498d6bb0918 bitpim-0.9.07-r2.ebuild 4366 SHA256 0e51bae254b396eb4f0b352dcdea354acef3199931977c3d3f7d7960d0b19f8c bitpim-0.9.07-r2.ebuild 4366 -MISC ChangeLog 3606 RMD160 b99c2783c41df87b73eb0d2a5ae4fc5c38d577d8 SHA1 2558f2297ac1a8179743bd2b334bddf6c24028e8 SHA256 c3d45139bda90a0d777b719c3b1c331b03c2ed35c0e7d6c0bd0fa1ca0a24b964 -MD5 f2aed64dfed4c365f174c27cd0ed46f4 ChangeLog 3606 -RMD160 b99c2783c41df87b73eb0d2a5ae4fc5c38d577d8 ChangeLog 3606 -SHA256 c3d45139bda90a0d777b719c3b1c331b03c2ed35c0e7d6c0bd0fa1ca0a24b964 ChangeLog 3606 +EBUILD bitpim-0.9.08.ebuild 4363 RMD160 129ecb0b228d0356e0a42242032d22b223185ef0 SHA1 c42ef7ae948d803e207e0e8bf643e68f8d8a3753 SHA256 c281341e42fd6c78e29e7ff0b61cdf60c5fe2861f86f5ce98f21420fddd414a7 +MD5 5476723e5c83e3c0ee18fdc64b7e234d bitpim-0.9.08.ebuild 4363 +RMD160 129ecb0b228d0356e0a42242032d22b223185ef0 bitpim-0.9.08.ebuild 4363 +SHA256 c281341e42fd6c78e29e7ff0b61cdf60c5fe2861f86f5ce98f21420fddd414a7 bitpim-0.9.08.ebuild 4363 +MISC ChangeLog 3761 RMD160 778bb91a105128ab50f6e5faafa06d69ed19d007 SHA1 94d1f937f90992654a6e84a9a8c09802d81475a6 SHA256 72a32bdd956fdc43c4bc36e79c770e6fa1d490a3962d65153ddb584ac1c70b34 +MD5 c0bab3c6382ecc0239919ba6dffb156d ChangeLog 3761 +RMD160 778bb91a105128ab50f6e5faafa06d69ed19d007 ChangeLog 3761 +SHA256 72a32bdd956fdc43c4bc36e79c770e6fa1d490a3962d65153ddb584ac1c70b34 ChangeLog 3761 MISC metadata.xml 493 RMD160 758546fe05ba3b5b9baa62ab57daa9f91e186c4e SHA1 cb5fd4b63457236da8393aed4c04f390b5058bcc SHA256 916482535ef05b666d05b74cdec20cbeb764688ee0d31abd4b40ecc06bd530a2 MD5 b05575cd16c40945a62bcfee6f1fce07 metadata.xml 493 RMD160 758546fe05ba3b5b9baa62ab57daa9f91e186c4e metadata.xml 493 @@ -21,10 +30,13 @@ SHA256 916482535ef05b666d05b74cdec20cbeb764688ee0d31abd4b40ecc06bd530a2 metadata MD5 087513d43c2cea84aebf1a95184562e1 files/digest-bitpim-0.9.07-r2 247 RMD160 4d2cf218f2cf7415fcc5e0bef85791bd7b8ee1fb files/digest-bitpim-0.9.07-r2 247 SHA256 3b1bd6599bd0b306914d4d79ebfd42958d2d55e9141f4a356635c28706ebef47 files/digest-bitpim-0.9.07-r2 247 +MD5 f6fed612e83bb3116f5cf76ccb0fce9c files/digest-bitpim-0.9.08 247 +RMD160 d125d6d9898d8f3f7661f9e8f49b9fefbe51743e files/digest-bitpim-0.9.08 247 +SHA256 1aec580305e575c18889da910ce49257806faea84e9fcfe08311088c38811b84 files/digest-bitpim-0.9.08 247 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFVvwt3sf9c6kjmR8RAtOiAKDCaws4BAXbhAD3hGWUuzN2mr2PIQCfZ++I -q+kRGoKKet5HUbA4hJxysDQ= -=Nl8q +iD8DBQFFcYtV3sf9c6kjmR8RAoOUAKCWEQk8nxYUJt9hPeEPV/qRJysIbACaAuwz +wLYCLssH58pPC1kdVbK1vaM= +=FUT6 -----END PGP SIGNATURE----- diff --git a/app-mobilephone/bitpim/bitpim-0.9.08.ebuild b/app-mobilephone/bitpim/bitpim-0.9.08.ebuild new file mode 100644 index 000000000000..27ca76d8b635 --- /dev/null +++ b/app-mobilephone/bitpim/bitpim-0.9.08.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-0.9.08.ebuild,v 1.1 2006/12/02 14:18:48 mrness Exp $ + +inherit distutils multilib + +DESCRIPTION="This program allows you 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" +IUSE="crypt usb evo" + +DEPEND=">=dev-python/wxpython-2.6.3.2 + >=dev-python/apsw-3 + >=dev-python/python-dsv-1.4.0 + >=dev-python/pyserial-2.0 + crypt? ( >=dev-python/paramiko-1.5.4 ) + usb? ( >=dev-lang/swig-1.3.21 >=dev-libs/libusb-0.1.10a )" +RDEPEND="${DEPEND} + media-video/ffmpeg + media-libs/netpbm" + +#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://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} || return 1 + for x in resources packaging src ; do + svn export https://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} + + epatch "${FILESDIR}/${P}-gentoo.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" || die "compilation of native/usb failed" + sh ./build.sh + 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() { + cd "${S}" + + # 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 bitpim \"\$@\"" >> "${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 "${ROOT}usr/$(get_libdir)/${P}" +} + +pkg_postrm() { + python_version + python_mod_cleanup "${ROOT}usr/$(get_libdir)/${P}" +} diff --git a/app-mobilephone/bitpim/files/bitpim-0.9.08-gentoo.patch b/app-mobilephone/bitpim/files/bitpim-0.9.08-gentoo.patch new file mode 100644 index 000000000000..db2b5ef5591f --- /dev/null +++ b/app-mobilephone/bitpim/files/bitpim-0.9.08-gentoo.patch @@ -0,0 +1,75 @@ +diff -Nru bitpim-0.9.08.orig/src/bp.py bitpim-0.9.08/src/bp.py +--- bitpim-0.9.08.orig/src/bp.py 2006-09-04 05:24:41.000000000 +0300 ++++ bitpim-0.9.08/src/bp.py 2006-12-02 16:13:01.552641919 +0200 +@@ -49,7 +49,7 @@ + if sys.platform=="darwin" and len(sys.argv)>1 and sys.argv[1].startswith("-psn_"): + # get rid of the process serial number on mac + sys.argv=sys.argv[:1]+sys.argv[2:] +- _options, _args=getopt.getopt(sys.argv[1:], 'c:d:') ++ _options, _args=getopt.gnu_getopt(sys.argv[1:], 'c:d:') + _kwargs={} + # check for debug flag + _debug=__debug__ or bool(_args and 'debug' in _args) +diff -Nru bitpim-0.9.08.orig/src/common.py bitpim-0.9.08/src/common.py +--- bitpim-0.9.08.orig/src/common.py 2006-08-27 01:44:28.000000000 +0300 ++++ bitpim-0.9.08/src/common.py 2006-12-02 16:13:01.552641919 +0200 +@@ -854,4 +854,4 @@ + # 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])) +diff -Nru bitpim-0.9.08.orig/src/conversions.py bitpim-0.9.08/src/conversions.py +--- bitpim-0.9.08.orig/src/conversions.py 2006-05-28 06:10:52.000000000 +0300 ++++ bitpim-0.9.08/src/conversions.py 2006-12-02 16:13:01.552641919 +0200 +@@ -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) +@@ -125,14 +125,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 -Nru bitpim-0.9.08.orig/src/native/av/bmp2avi/Makefile bitpim-0.9.08/src/native/av/bmp2avi/Makefile +--- bitpim-0.9.08.orig/src/native/av/bmp2avi/Makefile 2006-05-05 10:10:08.000000000 +0300 ++++ bitpim-0.9.08/src/native/av/bmp2avi/Makefile 2006-12-02 16:13:01.552641919 +0200 +@@ -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 -Nru bitpim-0.9.08.orig/src/native/usb/build.sh bitpim-0.9.08/src/native/usb/build.sh +--- bitpim-0.9.08.orig/src/native/usb/build.sh 2006-03-04 06:57:24.000000000 +0200 ++++ bitpim-0.9.08/src/native/usb/build.sh 2006-12-02 16:13:01.556642169 +0200 +@@ -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 --git a/app-mobilephone/bitpim/files/digest-bitpim-0.9.08 b/app-mobilephone/bitpim/files/digest-bitpim-0.9.08 new file mode 100644 index 000000000000..a7b8154334b9 --- /dev/null +++ b/app-mobilephone/bitpim/files/digest-bitpim-0.9.08 @@ -0,0 +1,3 @@ +MD5 b7c9c614419a4a571418f0c4a9ac7717 bitpim-0.9.08.tar.bz2 3958117 +RMD160 82d508db4551b8b865f85f2b0573939dce58057c bitpim-0.9.08.tar.bz2 3958117 +SHA256 f958a54372535447209bf015c017331e16a0aa2fc9bf7554211c47ed1bd8ab66 bitpim-0.9.08.tar.bz2 3958117 |