You are not logged in.
Pages: 1
I just wanted to ask whether arch linux provides a search function/service to get the name of a package that provides a particular object/...
In my case I was using lxdvdrip which is provided by AUR. It obviously uses libdvdread.so.3
So I was cheking on debian.org which package provides it.
http://packages.debian.org/lenny/libdvdread3
So I installed it via http://www.schlunix.org/archlinux/extra … pkg.tar.gz
I'm just wondering if I could have done that another way using arch linux resourses.
thanx in advance
Offline
you can use pkgfile to find which package provide a file. that is in pkgtools which is in community
> pkgfile libdvdread.so
extra/libdvdread
Give what you have. To someone, it may be better than you dare to think.
Offline
well, but:
pkgfile libdvdread.so.3
does not give me any output, as libdvdread.so.3 is outdated and replaced by libdvdread.so.4
Offline
well, but:
pkgfile libdvdread.so.3
does not give me any output, as libdvdread.so.3 is outdated and replaced by libdvdread.so.4
pkgfile libdvdread.so will do the trick. This works because normally <some_package>.so is a symlink to whatever the current version is.
Offline
Ok. I tried that. But if I'm looking for an outdated package (obviously as I looked for libdvdread and saw that it was at version 4 on my system) I wanted to find the apropriate version of it on schlunix.
debian.org packaging search function gave me:
Package: libdvdread3 (0.9.7-11)
So Installed that one from the schlunix site. The problem in the first place was that there is no package libdvdread with a version 3 number ... so I was confused and the debian site told me ok there's no such version number - pick 0.9.7 ....
Understand? Or is it me who is slow on the uptake (auf der leitung stehen ....)
Offline
why don't you want to rebuild lxdvdrip to linking agaisnt libdvdread.so.4?
Give what you have. To someone, it may be better than you dare to think.
Offline
interesting question ...
would that work? and how would I do that?
I have to say that I'm an "intermediate" linux user.
Offline
How is it obvious that It uses libdvdread.so.3 ?
Assuming you didn't do this already :
Look for AUR,ABS,makepkg in the wiki to get some information about building packages in Arch. It's simple so don't worry . makepkg man page would be useful too .
English is not my native language .
Offline
interesting question ...
would that work? and how would I do that?I have to say that I'm an "intermediate" linux user.
it will work. in the same way you did installed in the first place. i supposed you used yaourt -S lxdvdrip
Give what you have. To someone, it may be better than you dare to think.
Offline
Worth noting that lxdvdrip is flagged out-of-date, because there's a newer upstream release. So you should change pkgver in the PKGBUILD before rebuilding.
Offline
So you should change pkgver in the PKGBUILD before rebuilding.
To any number? I don't understand.
The thing is, that I'm still able to use my previously installed lxdvdrip with:
LD_PRELOAD=/home/fourreux/oldpackages/libdvdread-0.9.7-2-i686.pkg/usr/lib/libdvdread.so.3
simply using the old libdvdread shared object.
If I, on the other hand, try to rebulid it by downloading the tarball, extracting it and doing
makepkg -s
it fails with:
dvdbackup.c: In function 'DVDGetFileSet':
dvdbackup.c:1360: error: 'dvd_stat_t' undeclared (first use in this function)
dvdbackup.c:1360: error: (Each undeclared identifier is reported only once
dvdbackup.c:1360: error: for each function it appears in.)
dvdbackup.c:1360: error: expected ';' before 'statbuf'
dvdbackup.c:1398: warning: implicit declaration of function 'DVDFileStat'
dvdbackup.c:1398: error: 'statbuf' undeclared (first use in this function)
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/fourreux/builds/lxdvdrip/src/lxdvdrip/dvdbackup'
make: *** [all] Error 2
Offline
well, well.
I just saw that the version I got installed is 1.71 and there's the version 1.74 from march 09 ...
So I'd probably should see how to fix this makepkg install error. Might open a new thread for that, buit untill doing so I'd apreciate any help in this one :-)
thanx
Offline
Use 1.75, released in May.
Offline
ok. I'll try this another day. looking around in the wiki and simply trial and error didn't get me very far ;-)
What you are suggesting is that I should or could take the source files from the developers homepage and build my own PKGBUILD, make.patch and maybe, if all goes well, upload that to the AUR page .... ?
Simply getting PKGBUILD, switching the version number to 1.75 and using the old make.patch doesn't work. it results in:
==> Making package: lxdvdrip 1.75-1 i686 (Die Okt 27 23:26:06 CET 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading lxdvdrip-1.75.tar.gz...
--2009-10-27 23:26:06-- http://download.berlios.de/lxdvdrip/lxdvdrip-1.75.tar.gz
Resolving download.berlios.de... 195.37.77.141
Connecting to download.berlios.de|195.37.77.141|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.berlios.de/error/HTTP_NOT_FOUND.html.var [following]
--2009-10-27 23:26:06-- http://download.berlios.de/error/HTTP_NOT_FOUND.html.var
Connecting to download.berlios.de|195.37.77.141|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: "lxdvdrip-1.75.tar.gz.part"
[ <=> ] 1.031 --.-K/s in 0s
2009-10-27 23:26:06 (154 MB/s) - "lxdvdrip-1.75.tar.gz.part" saved [1031]
-> Found make.patch in build dir
==> Validating source files with md5sums...
lxdvdrip-1.75.tar.gz ... FAILED
make.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
Offline
ok. I'll try this another day. looking around in the wiki and simply trial and error didn't get me very far ;-)
Simply getting PKGBUILD, switching the version number to 1.75 and using the old make.patch doesn't work. it results in:
==> Making package: lxdvdrip 1.75-1 i686 (Die Okt 27 23:26:06 CET 2009) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... -> Downloading lxdvdrip-1.75.tar.gz... --2009-10-27 23:26:06-- http://download.berlios.de/lxdvdrip/lxdvdrip-1.75.tar.gz Resolving download.berlios.de... 195.37.77.141 Connecting to download.berlios.de|195.37.77.141|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://download.berlios.de/error/HTTP_NOT_FOUND.html.var [following] --2009-10-27 23:26:06-- http://download.berlios.de/error/HTTP_NOT_FOUND.html.var
Reading the output help to solve a lot of obviously problems. Read, *think*, and try again.
You need to correct the link from the source variable to the correct address of source code, if you follow the page of official site you can find the address (the correct one is http://download.berlios.de/lxdvdrip/lxdvdrip-1.75.tgz)
EDIT: And dont forget to updade the md5 array with the news md5 (you can use makepkg -g)
Last edited by kazuo (2009-10-27 22:44:59)
Offline
Edit: Yeah, think. Kazuo beat me to it.
If you get stuck, don't be afraid to ask.
Last edited by fsckd (2009-10-27 22:47:12)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
I'll heed your advice and will soon start to *think* again :-)
the makepkg -g was a valulable advice though. thanx for that!
cu soon - have to go to bed now - so sweet dreams!
Offline
I'm a bit lost here. I'm running into errors that I don't understand at all.
for instance there's this make.patch file here: http://aur.archlinux.org/packages/lxdvd … make.patch
I don't understand this syntax - never seen that before .... and I couldn't find some introduction or howto to it in the wiki.
In the PKGBUILD that is provided on AUR (http://aur.archlinux.org/packages/lxdvdrip/lxdvdrip/PKGBUILD ) the first build command is:
cd $startdir/src/$pkgname
With my adapted PKGBUILD I end up after "makepkg -s" with the msg:
.../lxdvdrip/src/lxdvdrip: No such file or directory
And indeed there is no src directory. BUT: with the tarball downloaded from AUR (version 1.74) it doesn't complain about that ...
So there are many basic things I don't understand at all.
So if someone could point me to where I can read documentation about how that works, that would be great!
thanx
Offline
$startdir/src is not right. $srcdir is.
Offline
$startdir/src is not right. $srcdir is.
They both work.
Offline
Pages: 1