You are not logged in.

#1 2017-06-08 13:46:59

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

[Solved] Using ABS to build package without qt5 support

Hi,

Trying to install:

community/cutegram 2.7.1-3
    A different telegram client from Aseman team

Pulls:

Packages (13) libqtelegram-ae-3:6.1-5  qt5-declarative-5.8.0-2  qt5-graphicaleffects-5.8.0-1
              qt5-imageformats-5.8.0-2  qt5-location-5.8.0-1  qt5-multimedia-5.8.0-1
              qt5-quickcontrols-5.8.0-1  qt5-sensors-5.8.0-1  qt5-webchannel-5.8.0-1
              qt5-webkit-5.8.0-3  qt5-xmlpatterns-5.8.0-1  telegramqml-0.9.2-2
              cutegram-2.7.1-3

Would it be possible to build this package without qt5 support by adding USE="-qt5" in make.conf to ensure it remains Gtk application? I am not a programmer so please pity my ignorance.

Thanks

Sources:
https://wiki.archlinux.org/index.php/Ma … figuration
https://wiki.gentoo.org/wiki/Handbook:A … E_variable

Last edited by jackpot (2017-06-08 16:30:33)


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#2 2017-06-08 13:50:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [Solved] Using ABS to build package without qt5 support

No. A program(mer) decides with which toolkit it intends to be built with, this happens to be qt5 in this case. There are programs that have multiple GUI toolkits with potentially varying degrees of functionality, these don't pop up out of thin air but have had dedicated people work on it.

And Gentoos package management system is different from Arch the USE flags and it's possibilities only apply to gentoo. (And even then, as said,  this will only work with programs that explicitly have support for multiple different UIs and not generally to every package)

Offline

#3 2017-06-08 14:14:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Solved] Using ABS to build package without qt5 support

The official telegram binary is gtk-only.  Cutegram is made specifically as a qt version.  If you want a gtk client use one of the several gtk clients.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2017-06-08 16:30:06

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: [Solved] Using ABS to build package without qt5 support

Official Telegram for desktop lacks encryption (or support for secret chats) feature and the same goes with telepathy-purple/morse add-ons for empathy. Only cutegram supports this feature at the moment.

Thank you for responses, and in short, ABS does not support USE flags +'are Gentoo specific' as I understand now.

Solved.

EDIT:
Cutegram does not support channels/distribution lists.

Last edited by jackpot (2017-06-08 17:09:05)


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#5 2017-06-08 16:51:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Solved] Using ABS to build package without qt5 support

This really has nothing to do with the ABS, no matter how you built the software you could not remove qt.  It also hase nothing to do with USE flags as those are a gentoo-specific concept.

The problem is you chose a piece of software that can only be built with qt regardless of the build tools and distro you run.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2017-06-08 17:10:23

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: [Solved] Using ABS to build package without qt5 support

Got it, concept of USE flags and building packages is clear now.


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

Board footer

Powered by FluxBB