aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2022-02-07 11:11:28 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2022-02-20 15:45:27 +0000
commit8de46b474536e33e8747d8e98f64ebe866c718a0 (patch)
tree2f50136893702a15103b80996d1ff89d7b867908 /x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake
parentfb02dbdb45b460fc5cad8376f0e3a562f8706f8d (diff)
downloadports-8de46b474536e33e8747d8e98f64ebe866c718a0.tar.gz
ports-8de46b474536e33e8747d8e98f64ebe866c718a0.zip
x11-toolkits/copperspice: resurrect CopperSpice
CopperSpice is a toolkit, forked from Qt and updated to use modern C++ and CMake in the Qt 5.something LGPL days. It was removed from the tree for being unfetchable in 2017, now restored. I didn't bother to look at the old ports files, so this is entirely new work. CS builds cleanly, except I patched in -pthread as a linker option; I think this ought to be part of the Threads package found by CMake, but it isn't (on FreeBSD at least). Some linkage options need to be PUBLIC to be carried through to consuming applications (this is a FreeBSD thing). While here, introduce the misc/copperspice-examples which is a demo application *kitchensink* that exercises the libraries. CopperSpice shares notional-filenames with Qt (e.g. binaries called "lupdate" for UI design) but the Qt ports are versioned ("lupdate-qt5"). CopperSpice gets "-cs" as a suffix. There's a bunch of patching to make things "behave" like a regularly packaged set of libraries and applications that consume those libraries. In particular using $(LOCALBASE)/share/ rather than putting everything in the same target directory.
Diffstat (limited to 'x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake')
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake b/x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake
new file mode 100644
index 000000000000..75e759f79e9e
--- /dev/null
+++ b/x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake
@@ -0,0 +1,10 @@
+--- src/plugins/platforms/xcb/xcb.cmake.orig 2022-02-17 11:13:33 UTC
++++ src/plugins/platforms/xcb/xcb.cmake
+@@ -28,6 +28,6 @@ if(BUILD_PLATFORMS_XCB_PLUGIN)
+ -DXCB_USE_XINPUT2
+ )
+
+- install(TARGETS CsGuiXcb DESTINATION ${CMAKE_INSTALL_LIBDIR})
++ install(TARGETS CsGuiXcb DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY}/platforms)
+ endif()
+