You are not logged in.

#1 2014-08-18 22:30:51

liochan
Member
Registered: 2013-04-17
Posts: 10

[solved] libqtxdg and git clone

Hello,

I had a problem with libqtxdg-qt5-git package and the whole family of lxqt-git packages.

I manualy changed the git repo address to get the source in PKGBUILD.
But after I got an error with pkgver() command.

==> Lancement de pkgver()...
/home/ioo/libqtxdg-qt5-git/PKGBUILD: ligne 19 : cd: /home/ioo/libqtxdg-qt5-git/src/libqtxdg: Aucun fichier ou dossier de ce type

The problem is src/libqtxdg do not exists. In place I have a symlink which is linking itself. And the repo is not cloned.

[ioo@shikoku ~/libqtxdg-qt5-git]$ ls -la src/
lrwxrwxrwx 1 ioo ioo 84 18 août 23:48 libqtxdg.git -> /home/ioo/libqtxdg-qt5-git/libqtxdg.git

I solved the problem this way

[ioo@shikoku ~/libqtxdg-qt5-git]$ rm -rf src
[ioo@shikoku ~/libqtxdg-qt5-git]$ git clone https://github.com/lxde/libqtxdg src/libqtxdg

After that, makepkg was successful and I installed the package.

The question is not about how to install the package, but how I solve the cloning issue and contribute to fix it in PKGBUILD or makepkg process ?
As I said, this issue is in this package but also in all lxqt package.

Thank you.

Last edited by liochan (2014-08-19 17:38:26)

Offline

#2 2014-08-19 17:45:09

liochan
Member
Registered: 2013-04-17
Posts: 10

Re: [solved] libqtxdg and git clone

RTFM PKGBUILD

I apologize, I was so tired and I do not read it very well.

Due to a problem with the original mirror I change the source to github.com

But I didn't read that in source var you need to use VCS name as protocol, here in place of :

https://github.com/lxde/libqtxdg.git

I had to write
git://github.com/lxde/libqtxdg.git

I think when using only https, PKGBUILD was not trying to clone repo.

Packager change all the urls and everything is fine, a big thank you.

I will go to sleep less stupid tonight and probably more soon than yesterday smile

Offline

Board footer

Powered by FluxBB