diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2010-02-16 02:25:34 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2010-02-16 02:25:34 +0000 |
commit | 5e2b1c84526ddce18d8247d20c9936e3c2351e2b (patch) | |
tree | 183f02cd186ebec7668f546f2f73d952c1a2d980 /app-pda/qtopia-desktop-bin | |
parent | Removed legacy code, moved checks to pkg_setup, and removed addpredict. (diff) | |
download | gentoo-2-5e2b1c84526ddce18d8247d20c9936e3c2351e2b.tar.gz gentoo-2-5e2b1c84526ddce18d8247d20c9936e3c2351e2b.tar.bz2 gentoo-2-5e2b1c84526ddce18d8247d20c9936e3c2351e2b.zip |
Removed due to total lack of upstream support and no more valid package
location. Unknown if it will ever come back again.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/qtopia-desktop-bin')
-rw-r--r-- | app-pda/qtopia-desktop-bin/ChangeLog | 9 | ||||
-rw-r--r-- | app-pda/qtopia-desktop-bin/files/usb0.conf | 32 | ||||
-rw-r--r-- | app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild | 66 | ||||
-rw-r--r-- | app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0.ebuild | 89 |
4 files changed, 7 insertions, 189 deletions
diff --git a/app-pda/qtopia-desktop-bin/ChangeLog b/app-pda/qtopia-desktop-bin/ChangeLog index 9a6e6c298191..472226f5c217 100644 --- a/app-pda/qtopia-desktop-bin/ChangeLog +++ b/app-pda/qtopia-desktop-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/qtopia-desktop-bin -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/ChangeLog,v 1.18 2009/09/23 16:12:47 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/ChangeLog,v 1.19 2010/02/16 02:25:28 nerdboy Exp $ + + 16 Feb 2010; Steve Arnold <nerdboy@gentoo.org> -files/usb0.conf, + -qtopia-desktop-bin-2.2.0.ebuild, -qtopia-desktop-bin-2.2.0-r1.ebuild: + Removed due to total lack of upstream support and no more valid package + location. Unknown if it will ever come back again. 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> qtopia-desktop-bin-2.2.0.ebuild: diff --git a/app-pda/qtopia-desktop-bin/files/usb0.conf b/app-pda/qtopia-desktop-bin/files/usb0.conf deleted file mode 100644 index b04fb48e347b..000000000000 --- a/app-pda/qtopia-desktop-bin/files/usb0.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Add this stanza to /etc/conf.d/net to configure the Zaurus cradle -# with the standard static IP address. You may need to set the MTU -# on the Zaurus side to match the usb0 interface here. If the MTU -# shows as MTU:1494 then add the following line to /etc/network/interfaces -# on the Zaurus in the 'iface usbd0' section: -# up ifconfig usbd0 mtu 1494 - -config_usb0=( "null" ) - -postup() { - local iface=${1} - if [ ${iface} == usb0 ] ; then - ifconfig usb0 192.168.129.200 netmask 255.255.255.0 up - route add -net 192.168.129.0 usb0 - if interface_exists "eth0" ; then - iptables -t nat -F - ip=`ifconfig eth0 | grep 'inet addr'|cut -d: -f2|cut -d' ' -f1` - # where ${ip} is your desktop ethernet address - iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to ${ip} - echo 1 > /proc/sys/net/ipv4/ip_forward - fi - fi - return 0 -} -postdown() { - local iface=${1} - if [ ${iface} == usb0 ] ; then - iptables -t nat -F - echo 0 > /proc/sys/net/ipv4/ip_forward - fi - return 0 -} diff --git a/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild b/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild deleted file mode 100644 index fb31ffbcc1ba..000000000000 --- a/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild,v 1.1 2008/09/06 05:17:14 vapier Exp $ - -inherit eutils fdo-mime rpm - -REV="1" -QD="/opt/QtopiaDesktop" - -DESCRIPTION="Qtopia Deskyop sync application (for use with Qtopia 2)" -HOMEPAGE="http://www.trolltech.com/developer/downloads/qtopia/desktopdownloads" -SRC_URI="ftp://ftp.trolltech.com/qtopia/desktop/RedHat9.0/qtopia-desktop-${PV}-${REV}-redhat9.i386.rpm" - -LICENSE="trolltech_PUL-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="mirror strip" - -DEPEND="" -RDEPEND="sys-libs/glibc - x11-libs/libX11 - amd64? ( app-emulation/emul-linux-x86-xlibs )" - -S=${WORKDIR} - -src_compile() { :; } - -src_install() { - # keep before `into ${QD}` below - make_wrapper qtopiadesktop "${QD}/bin/qtopiadesktop" - make_desktop_entry \ - "qtopiadesktop" \ - "Qtopia Desktop" \ - "/opt/QtopiaDesktop/qtopiadesktop/pics/qtopia.png" \ - "Application;Office;ContactManagement;" - - dodir ${QD} - # Too many subdirs and files for individual ebuild commands - # Isn't there a better way? - cp -a "${S}/${QD}"/qtopiadesktop "${D}${QD}" || die - - into ${QD} - dolib.so "${S}/${QD}"/lib/lib* || die - rm -f "${S}/${QD}"/lib/*.prl - - dobin "${S}/${QD}"/bin/* || die - - dohtml "${S}/${QD}"/README.html - dodoc "${FILESDIR}"/usb0.conf -} - -pkg_postinst() { - fdo-mime_desktop_database_update - - elog "See the usb0.conf file for a static network configuration for the" - elog "Zaurus cradle interface (it works with an SL-5x00). Note the old" - elog "way of adding a config script to /etc/hotplug/usb also works, but" - elog "depends on the desktop kernel version and module name, since the" - elog "latest 2.6.16 module is cdc_ether for older models of the Zaurus" - elog "(such as above) running OZ with kernel 2.4.x." -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0.ebuild b/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0.ebuild deleted file mode 100644 index e1079c9b46f4..000000000000 --- a/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0.ebuild,v 1.8 2009/09/23 16:12:47 patrick Exp $ - -inherit eutils fdo-mime rpm multilib - -REV="1" -QD="/opt/QtopiaDesktop" -S="${WORKDIR}" - -DESCRIPTION="Qtopia Deskyop sync application for Zaurus PDA's" -SRC_URI="ftp://ftp.trolltech.com/qtopia/desktop/RedHat9.0/qtopia-desktop-${PV}-${REV}-redhat9.i386.rpm" -HOMEPAGE="http://www.trolltech.com/developer/downloads/qtopia/desktopdownloads" - -LICENSE="trolltech_PUL-1.0" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="" - -DEPEND="" -RDEPEND="x11-libs/libX11 - amd64? ( app-emulation/emul-linux-x86-xlibs )" - -RESTRICT="mirror strip" - -pkg_setup() { - # This is a binary x86 package => ABI=x86 - has_multilib_profile && ABI="x86" -} - -pkg_unpack() { - rpm_src_unpack -} - -src_compile() { :; } - -src_install() { - dodir ${QD} - # Too many subdirs and files for individual ebuild commands - # Isn't there a better way? - cp -a "${S}/${QD}"/qtopiadesktop "${D}${QD}" - local libdir="lib32" - if has_multilib_profile ; then - libdir=$(get_abi_LIBDIR x86) - fi - - into ${QD} - dolib.so "${S}/${QD}"/lib/lib* - rm -f "${S}/${QD}"/lib/*.prl - exeinto ${QD}/bin - doexe "${S}/${QD}"/bin/* - docinto /usr/share/doc/${P} - dodoc "${S}/${QD}"/LICENSE.US - dodoc "${S}/${QD}"/README.html - dodoc "${FILESDIR}"/usb0.conf - rm -f "${S}/${QD}"/LICENSE* - - echo "PATH=${QD}/bin" > 37qtopia-desktop-bin - echo "LDPATH=${QD}/${libdir}" >> 37qtopia-desktop-bin - doenvd 37qtopia-desktop-bin - - make_desktop_entry \ - /opt/QtopiaDesktop/bin/qtopiadesktop \ - "Qtopia Desktop ${PV}" \ - "/opt/QtopiaDesktop/qtopiadesktop/pics/qtopia.png" \ - "Application;Office;ContactManagement;" -} - -pkg_postinst() { - fdo-mime_desktop_database_update - - elog " Finished installing Qtopia Desktop ${PV}-${REV} into ${QD}" - elog - elog " To start Qtopia Desktop, use the new desktop menu, or run" - elog " qtopiadesktop from a terminal prompt." - elog - elog "See the usb0.conf file for a static network configuration for the" - elog "Zaurus cradle interface (it works with an SL-5x00). Note the old" - elog "way of adding a config script to /etc/hotplug/usb also works, but" - elog "depends on the desktop kernel version and module name, since the" - elog "latest 2.6.16 module is cdc_ether for older models of the Zaurus" - elog "(such as above) running OZ with kernel 2.4.x." - elog -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} |