You are not logged in.

#1 2006-07-20 14:38:53

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Building (lib)gphoto2 from abs

Question 1 is about how to edit/choose "source=()" line ?
I want to update (lib)gphoto2 PKGBUILDs from ~2.1.6 to newer ~2.2.x as they support 300 new cameras like Canon Powershot 430, and I can't get the download running & working :
source=(http://dl.sourceforge.net/gphoto/$pkgname-$pkgver.tar.gz) or ~.bz2 won't get it.
Maybe it's me beeing unexperimented or maybe is it dl.sourceforge.net issue 2day ? If first, may someone explain how to choose the "source=()" line in one's PKGBUILD ?
Even if that issue comes back regularily on AUR, I found nothing about it in Arch ABS Wiki.

Since http://dl.sourceforge.net did not work, I downloaded the tarballs from http://sourceforge.net/project/showfile … _id=425235, made the 2 packages, then add them to my local mirror (& runned gensync . myrepo.tar.gz).

Now Question 2 : how to edit pkgver & pkgrel (pliz see below be4 shouting at me lol )
Despite I changed pkgver (to 2.2.0 & 2.2.1) & pkgrel to 1, but pacman -Sy libgphoto2 still shows (lib)gphoto2-2.1.6 ?
pacman -Ss gphoto2 shows
kozaki_repo/gphoto2 2.2.0-1 & libgphoto2 2.2.1-1.

Note : I checked AUR wether (lib)gphoto2-2.2.x were ported to Arch & no. AFAIK there were some issues back in April/May this year when digikam still depended on libgphoto-2.1.6 & an udev rules/events issues in Arch


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2006-07-20 18:09:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Building (lib)gphoto2 from abs

1) To fix the dl.sourceforge.net  mirror redirecting problem, add to your /etc/hosts file:

<IP>  dl.sourceforge.net

where <IP> is the IP of your favorite sourceforge mirror.

2) To install your package use:
pacman -Sy kozaki_repo/gphoto2
or list your repo before the current/extra ones in pacman.conf

PS. I've splitted it from the tutorial thread as it was unrelated. I want to keep the tutorial thread clean.

Offline

Board footer

Powered by FluxBB