You are not logged in.

#1 2010-02-22 14:26:13

Gianguido
Member
From: Italy, Caserta
Registered: 2010-02-22
Posts: 4
Website

making PKGBUILD for iPhoneEthernetDriver

Someone could make the PKGBUILD for these drivers? --> http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver
Thanks big_smile

Offline

#2 2010-02-22 19:56:59

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

Re: making PKGBUILD for iPhoneEthernetDriver

WOW, nice!!
well, i really really hope this week i will have time, if someone else won't make before i will.

OR! it might happen tonight (israel time, +2:00 GMT), depends on my "motivation mode" which is not quiet well at the moment tongue (sleepy)

well. i had some time and i created, works just fine smile, finally!

First you need this PKGBUILD of usbmuxd-git (the aur is outdated)

# Contributor: Erez Zarum <erez@erezzarum.com>

pkgname=usbmuxd-git
pkgver=20100223
pkgrel=1
pkgdesc="USB multiplexing daemon for iPhone or iPod touch"
arch=('i686' 'x86_64')
url="http://www.libimobiledevice.org/"
license=('GPL' 'GPL2' 'GPL3')
depends=('libusb1')
makedepends=('git' 'cmake' 'gcc' 'make' 'pkgconfig' 'libtool')
provides=("usbmuxd=$pkgver")
conflicts=('usbmud')
install=usbmuxd-git.install

_gitroot="git://git.marcansoft.com/usbmuxd.git"
_gitname="usbmuxd"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"
  mkdir build
  cd build
  cmake .. -DLIB_SUFFIX= -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
  make || return 1
  make DESTDIR="$pkgdir/" install || return 1
}

This is the usbmuxd-git.install (save it in the same dir of the PKGBUILD of usbmuxd-git)

post_install() {
 echo ">>> You should also create a 'usbmux' user that has access to USB devices on your"
 echo ">>> system. Alternatively, you can pass a different username after the -U argument. (/lib/udev/rules.d/85-usbmuxd.rules)"
}

then install libiphone-git from the AUR (it looks dated, though i created my own PKGBUILD without noticing there's one in the AUR)

then use this PKGBUILD from the AUR of the ipheth i created: http://aur.archlinux.org/packages.php?ID=34953

any question you can leave in the AUR comment or via my mail.

have fun smile

Last edited by Infin1ty (2010-02-22 22:57:04)

Offline

#3 2010-02-23 02:12:28

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: making PKGBUILD for iPhoneEthernetDriver

Infin1ty wrote:

WOW, nice!!First you need this PKGBUILD of usbmuxd-git (the aur is outdated)

don't forget to bump / update the AUR!

and thanks for your work big_smile


Arch i686 on Phenom X4 | GTX760

Offline

#4 2010-02-23 04:38:40

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

Re: making PKGBUILD for iPhoneEthernetDriver

stefanwilkens wrote:
Infin1ty wrote:

WOW, nice!!First you need this PKGBUILD of usbmuxd-git (the aur is outdated)

don't forget to bump / update the AUR!

and thanks for your work big_smile

I can't update the usbmuxd-git, i'm not owning it. so i just posted mine in here..
have fun smile

Offline

#5 2010-02-23 06:55:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: making PKGBUILD for iPhoneEthernetDriver

FYI - correctly formatted git PKGBUILDS don't go out of date. makepkg automatically check out the latest code during the build.

See man PKGBUILD and /usr/share/pacman/PKGBUILD-git.proto for details.

Offline

#6 2010-02-23 09:55:51

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

Re: making PKGBUILD for iPhoneEthernetDriver

tomk wrote:

FYI - correctly formatted git PKGBUILDS don't go out of date. makepkg automatically check out the latest code during the build.

See man PKGBUILD and /usr/share/pacman/PKGBUILD-git.proto for details.

yep, you are correct, that's why i made it like this smile

though you can use makepkg --holdver if you wish to. (SVN only i assume)

Offline

#7 2010-02-23 13:15:10

Gianguido
Member
From: Italy, Caserta
Registered: 2010-02-22
Posts: 4
Website

Re: making PKGBUILD for iPhoneEthernetDriver

OMG, really fast! big_smile thanks a lot, now I and my iphone are happy: D

Offline

#8 2010-02-23 14:57:42

Infin1ty
Member
From: Israel
Registered: 2009-10-09
Posts: 42

Re: making PKGBUILD for iPhoneEthernetDriver

You can also use it via bluetooth, first pair it with a usb cable then try using bluetooth.
for some reason you can't pair it via BT without it being attached with a usb cable.

Offline

#9 2010-02-23 18:57:08

Gianguido
Member
From: Italy, Caserta
Registered: 2010-02-22
Posts: 4
Website

Re: making PKGBUILD for iPhoneEthernetDriver

Infin1ty wrote:

You can also use it via bluetooth, first pair it with a usb cable then try using bluetooth.
for some reason you can't pair it via BT without it being attached with a usb cable.

mhmm, I do not think. The iPhone tethering via BT is also possible without the USB connection.
I have done many times smile

Offline

Board footer

Powered by FluxBB