mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #49] Cmake update causes error with barrier #37
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kenny-w1 on GitHub (May 26, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/49
Operating Systems
Server: Artix
Client: Artix & Devuan
Barrier Version
snapshot, latest
Steps to reproduce bug
Try to build barrier on arch-based distro with newest cmake from pacman package manager
qt5_use_modules is apparently deprecated but its back now? I don't know how to make this build now...
-- Full Barrier version string is '2.1.0-snapshot-snapshot.b1-773a0081'
-- Configuring directory /home/user/Compiles/Barrier-fresh/src/barrier/build/rpm
-- Configuring file barrier.spec
CMake Error at src/gui/CMakeLists.txt:25 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
I'm having a hard time trying to figure out how to make this build now... :(
QT_SELECT=5 / QT_SELECT=4 doesn't seem to have any effect...
@kenny-w1 commented on GitHub (May 26, 2018):
I think the problem is in the source-code of Barrier but maybe I'm wrong, I don't really know...
This is really confusing :/ I can't find any answers to this anywhere.... ugh...
@xantoz commented on GitHub (May 29, 2018):
Do the changes in the following patch resolve it: https://gitweb.gentoo.org/repo/gentoo.git/plain/x11-misc/synergy/files/synergy-1.9.1-qt-5.11.patch?id=5dd1f7a3908dec9ae6cf6773acd8ec3b33fc0b2c
You will need to change synergy to barrier in a few places to make it apply. Alternatively, it might just be easier to apply the changes by hand.
@Tblue commented on GitHub (May 29, 2018):
@xantoz, thanks -- the patch fixes the issue.
As a hotfix, I included the patch in the Arch Linux AUR package, see 0001-Handle-removal-of-cmake-macro-qt5_use_modules.patch. Of course, credit for the patch goes to whoever created it for Gentoo. :-)
@johnny-mac commented on GitHub (Jun 7, 2018):
Hey Tblue how do you make it skip the integrity check for the .patch file? It keeps wanting to do an integ check only when I include the .patch file, but even when I add
md5sums=('SKIP')
sha256sums=('SKIP')
sha512sums=('SKIP')
it won't validate the integrity, even when I add the md5sums for the .patch file it still tells me:
-> Found 0001-Handle-removal-of-cmake-macro-qt5_use_modules.patch
==> ERROR: Integrity checks (md5) differ in size from the source array.
@Tblue commented on GitHub (Jun 10, 2018):
@johnny-mac, as the error message suggests, each file in the
sourcearray needs to have a corresponding checksum (or the keywordSKIP) in the checksum arrays (md5sumsetc.).Try
makepkg -g >> PKGBUILDto have the checksums generated automatically. You could also use my Arch Linux AUR package as a base for your own modifications. :-)@walker0643 commented on GitHub (Jun 30, 2018):
Confirmation on fix and 3 weeks since activity. Closing for now but please reopen if I'm mistaken.
@walker0643 commented on GitHub (Jun 30, 2018):
I went ahead and added the patch. Seemed like a good idea ...