Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: RIA77 on 07 April 2021, 15:16:16

Title: Peerguardian
Post by: RIA77 on 07 April 2021, 15:16:16
Hello,
and thank you for this beautiful distribution.
 I need some old application, but it has been very important to me.
 I tried to compile peerguardian from AUR, without sucess. It depends on qt4, qt4 compiled without problems.
 
Quote
checking for rcc... rcc
checking for lupdate... no
checking for lupdate5... no
checking for lupdate-qt5... no
configure: error: Qt lupdate Compiler not found!
==> ERROR: A failure occurred in build().

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:554: pgld] Error 1
make[2]: Leaving directory '/home/linux/.cache/yay/pgl/src/pgl-2.3.1/pgld'
make[1]: *** [Makefile:549: all-recursive] Error 1
make[1]: Leaving directory '/home/linux/.cache/yay/pgl/src/pgl-2.3.1'
make: *** [Makefile:460: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: pgl
Please, I need this app, it's very unique and valuable to me. Thank you.
Title: Re: Peerguardian
Post by: alium on 07 April 2021, 15:48:25
https://wiki.archlinux.org/index.php/KDE_package_guidelines#Force_Qt4 <-- set properly your qt version

"peerguardian" package does not exist in AUR.  But maybe you men pgl package -> https://wiki.archlinux.org/index.php/PeerGuardian_Linux

but is much better use this newest version, which was convert to qt5 https://aur.archlinux.org/packages/pgl-git/
Title: Re: Peerguardian
Post by: RIA77 on 07 April 2021, 17:47:05
In AUR there are

https://aur.archlinux.org/packages/pgl/

as well as

https://aur.archlinux.org/packages/pgl-git/

Tried both.

Errors that I pasted are from each one.

Title: Re: Peerguardian
Post by: alium on 07 April 2021, 20:46:23
did you read  the comments? second comment contains link for fixed version ( PKGBUILD)
Title: Re: Peerguardian
Post by: RIA77 on 07 April 2021, 22:20:19
This is the patch
https://github.com/eserlxl/pgl-git-AUR-Patches

 Can you provide any detailed instruction, it's very hard for me to patch ?
I red this
https://wiki.archlinux.org/index.php/Patching_packages
It's very hard to understand.
Title: Re: Peerguardian
Post by: alium on 07 April 2021, 22:36:50
but you need nothing patching, you should just use this PKGBUILD https://github.com/eserlxl/pgl-git-AUR-Patches/blob/main/PKGBUILD-fixed

edit2: whoever wrote the PKGBUILD, he really can not write PKGBUILD as well as he can not assemble patch

working PKGBUILD and patch:

https://raw.githubusercontent.com/alium/share/master/pgl/PKGBUILD
https://raw.githubusercontent.com/alium/share/master/pgl/pgld-gcc10fix.patch
Title: Re: Peerguardian
Post by: RIA77 on 10 April 2021, 17:17:09
configure: error: Qt lupdate Compiler not found!

Thank you.
Title: Re: Peerguardian
Post by: alium on 10 April 2021, 19:09:28
but you need nothing patching, you should just use this PKGBUILD https://github.com/eserlxl/pgl-git-AUR-Patches/blob/main/PKGBUILD-fixed

edit2: whoever wrote the PKGBUILD, he really can not write PKGBUILD as well as he can not assemble patch

working PKGBUILD and patch:

https://raw.githubusercontent.com/alium/share/master/pgl/PKGBUILD
https://raw.githubusercontent.com/alium/share/master/pgl/pgld-gcc10fix.patch

my PKGBUILD works without error with qt5, tested by myself.
if you have something wrong set up in the system or a mess in the settings, I am not responsible for that  8)  ;)
Title: Re: Peerguardian
Post by: Artist on 11 April 2021, 20:00:57
I normally do not do this - so consider this a rare exception - but I have added the pgl-git package to the Ominverse repo, which can be added as per https://wiki.artixlinux.org/Main/UnofficialUserRepositories
I have not tested it, so use it at your own risk.
Title: Re: Peerguardian
Post by: RIA77 on 13 April 2021, 09:33:36
I normally do not do this - so consider this a rare exception - but I have added the pgl-git package to the Ominverse repo, which can be added as per https://wiki.artixlinux.org/Main/UnofficialUserRepositories
I have not tested it, so use it at your own risk.

Thank you very much. It seems that it works.

Be sure to add usr/bin/pkexec as sudo front-end.
Title: Re: Peerguardian
Post by: RIA77 on 21 December 2021, 22:32:26
I normally do not do this - so consider this a rare exception - but I have added the pgl-git package to the Ominverse repo, which can be added as per https://wiki.artixlinux.org/Main/UnofficialUserRepositories
I have not tested it, so use it at your own risk.
Any chance for getting back Peerguardian to your repository ? Thank you.
Title: Re: Peerguardian
Post by: RIA77 on 25 December 2021, 16:40:14
but you need nothing patching, you should just use this PKGBUILD https://github.com/eserlxl/pgl-git-AUR-Patches/blob/main/PKGBUILD-fixed

edit2: whoever wrote the PKGBUILD, he really can not write PKGBUILD as well as he can not assemble patch

working PKGBUILD and patch:

https://raw.githubusercontent.com/alium/share/master/pgl/PKGBUILD
https://raw.githubusercontent.com/alium/share/master/pgl/pgld-gcc10fix.patch

 In case some is interested, after installing of qt5-tools, everything is working as it should.
Title: Re: Peerguardian
Post by: RIA77 on 05 February 2022, 13:40:06
I normally do not do this - so consider this a rare exception - but I have added the pgl-git package to the Ominverse repo, which can be added as per https://wiki.artixlinux.org/Main/UnofficialUserRepositories
I have not tested it, so use it at your own risk.
I have trouble installing PGL from Aur.
 If you are not interested in re-upload of Peerguardian in your repo, can you upload it somewhere else, so I can keep that file ?
Title: Re: Peerguardian
Post by: strajder on 05 February 2022, 13:52:47
@RIA77, we already answered to you regarding Peerguardian here: https://forum.artixlinux.org/index.php/topic,3609.0.html

That software is unmaintained for a long time and won't be added until it is maintained. Ask the original author if he would like to maintain it. If he refuses or doesn't answer, we unfortunately can't help you.