That's a good point. However, mucking about with it a little, it seems to me it should then be enough to set both Plugins = /usr/lib/qt/plugins
and Libraries = /usr/lib
without the need to touch any other files at all. This doesn't work, do you know why? I'm not familiar with how Qt handles loading at large.
Search Criteria
Package Details: ripcord 0.4.29-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ripcord.git (read-only, click to copy) |
---|---|
Package Base: | ripcord |
Description: | Qt-based Discord and Slack client |
Upstream URL: | https://cancel.fm/ripcord/ |
Licenses: | LicenseRef-ripcord |
Submitter: | 2xsaiko |
Maintainer: | Aanok (rasputin, txtsd) |
Last Packager: | txtsd |
Votes: | 43 |
Popularity: | 0.000004 |
First Submitted: | 2018-04-12 13:36 (UTC) |
Last Updated: | 2024-11-08 17:03 (UTC) |
Dependencies (11)
- expat (expat-gitAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- harfbuzz (harfbuzz-gitAUR)
- libdrm (libdrm-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
Required by (0)
Sources (3)
Aanok commented on 2019-06-27 07:25 (UTC)
madmalkav commented on 2019-06-24 17:26 (UTC)
On the wiki, as an alternative to setting the env variable, you can also mention you can edit qt.conf in the ripcord folder and change the plugins path entry.
Aanok commented on 2019-05-15 13:16 (UTC)
Yup, I've been able to replicate. I've added a few notes on the wiki page, thanks :)
madmalkav commented on 2019-05-12 21:02 (UTC)
Cinnamon DE, fcitx , Mozc
Aanok commented on 2019-05-12 19:34 (UTC)
That's interesting, what is your setup? I've been using ibus and libkkc with the bundled libs without issue.
madmalkav commented on 2019-05-12 13:25 (UTC)
For reference: you also need to use system QT if you want to use an IME.
raku-cat commented on 2019-05-06 03:20 (UTC)
I did rather extensive testing, libsodium doesn't need to be linked at all from what I can tell, it was resolved simply by using only system qt libraries. Regardless, the comment may be useful for future viewers, I have no interest in maintaining a package as I'm not regularly on my computer :P
Aanok commented on 2019-05-05 09:33 (UTC)
Actually, the only library you need to simlink is libsodium (just to create an alias to circumvent a naming mismatch), you can just delete all others and the dependencies will be resolved anyways. You can also simply delete the plugins folder if you set QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins
.
Sorry, but I will not integrate this workaround in the package. Qt has a record of suddenly breaking ABI compatibility and I am not willing to do the work necessary to maintain ripcord working against arbitrary versions of the library. It works easily now, but at a certain point it will not anymore.
I do invite you to make a second package either patching this or in conflict with it that uses system libs :) But please do make sure you can maintain it for a while if you do.
raku-cat commented on 2019-05-05 02:57 (UTC)
So there's a bug if you use certain emoji sets with the font rendering. https://dev.cancel.fm/tktview?name=d2dc78360c This can be fixed by just using the system QT, it's worked fine for me and was suggested to me by the dev. Basically you softlink
libQt5Concurrent.so.5
libQt5Core.so.5
libQt5DBus.so.5
libQt5Gui.so.5
libQt5Multimedia.so.5
libQt5MultimediaWidgets.so.5
libQt5Network.so.5
libQt5OpenGL.so.5
libQt5Svg.so.5
libQt5WebSockets.so.5
libQt5Widgets.so.5
libQt5X11Extras.so.5
libQt5XcbQpa.so.5
in /usr/lib/ripcord/lib
to the system ones, then replace the plugins
dir in /usr/lib/ripcord
with a softlink to /usr/lib/qt/plugins
, this would require adding a few qt packages to the depends. I did actually have a patch for the PKGBUILD but lost it unfortunately.
CounterPillow commented on 2018-12-24 16:24 (UTC)
Would be nice if we could somehow hack this to use KDE's File Open dialog instead of the barebones Qt one.
And while you're at it, devendoring all the libraries from the AppImage may be a good idea too.
Pinned Comments
Aanok commented on 2020-03-17 09:15 (UTC) (edited on 2021-02-28 13:59 (UTC) by Aanok)
I'd like to ask everyone to please refrain from discussing Discord TOS in the comments.
There is nothing in the Discord TOS mentioning (never mind forbidding) third-party clients like Ripcord, while there is wording against hacks of the official ones, like BetterDiscord. Some Discord employees have made off-hand remarks in fora, tweets and support email chains asserting otherwise but have always either failed to follow up with exact information when pressed or retracted their statements. We believe they mistook Ripcord for the likes of BD in good faith.
That said, while Discord Inc. isn't intent on preventing the use of Ripcord, accessing the service through it may increase your likelihood to get flagged for automatic bans in certain conditions. As of early 2021, there is anecdotal evidence of increased false positives for all users of the service, including Ripcord users. If your account is particularly valuable, you may wish to stick to the official clients for extra precaution.
Please allow this comment section to remain dedicated to technical issues with the package.
Aanok commented on 2019-06-29 19:46 (UTC) (edited on 2020-02-01 07:59 (UTC) by Aanok)
PGP KEY
The SKS infrastructure should not be considered secure and it is strongly advised to refrain from using it to retrieve any kind of information.
Instead of importing the PGP key for the package as usual by
gpg --recv-keys
, new users should access the developer's profile on Keybase, check his identity and follow the instructions shown by clicking on the key signature.(the final command is omitted from this comment on purpose)