Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122255 Details for
Bug 182249
bitpim 1.0.2 is now current, but needs updated wxGTK and wxpython
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated bitpim 0.9.15 ebuild
bitpim-0.9.15.ebuild (text/plain), 4.32 KB, created by
Steve Arnold
on 2007-06-16 19:20:41 UTC
(
hide
)
Description:
updated bitpim 0.9.15 ebuild
Filename:
MIME Type:
Creator:
Steve Arnold
Created:
2007-06-16 19:20:41 UTC
Size:
4.32 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-0.9.13.ebuild,v 1.2 2007/03/30 08:12: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.3.10.1 > >=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} > cd ${S} > epatch "${FILESDIR}/${P}-gentoo.patch" > epatch "${FILESDIR}/${P}-ffmpeg_quality.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 \"\$@\"" >> "${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}" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 182249
:
122255
|
122256
|
122258
|
122260
|
122261
|
122262
|
136839
|
136841
|
136843
|
136845