aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--MOVED2
-rw-r--r--misc/Makefile1
-rw-r--r--misc/copperspice-examples/Makefile38
-rw-r--r--misc/copperspice-examples/distinfo3
-rw-r--r--misc/copperspice-examples/files/patch-src_CMakeLists.txt62
-rw-r--r--misc/copperspice-examples/pkg-descr5
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/copperspice/Makefile46
-rw-r--r--x11-toolkits/copperspice/distinfo3
-rw-r--r--x11-toolkits/copperspice/files/patch-CMakeLists.txt29
-rw-r--r--x11-toolkits/copperspice/files/patch-src_core_CMakeLists.txt36
-rw-r--r--x11-toolkits/copperspice/files/patch-src_core_kernel_kernel.cmake17
-rw-r--r--x11-toolkits/copperspice/files/patch-src_core_kernel_qcoreapplication.cpp11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_declarative_CMakeLists.txt13
-rw-r--r--x11-toolkits/copperspice/files/patch-src_gui_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_multimedia_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_network_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_opengl_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_multimedia_mediaservices_gstreamer_gstreamer.cmake13
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_multimedia_playlistformats_playlistformats.cmake8
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_glx_xcb__glx.cmake9
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb.cmake10
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_platforms_xcb_xcb__support_xcb__support.cmake12
-rw-r--r--x11-toolkits/copperspice/files/patch-src_plugins_printerdrivers_cups_cupsprinter.cmake10
-rw-r--r--x11-toolkits/copperspice/files/patch-src_script_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_scripttools_CMakeLists.txt13
-rw-r--r--x11-toolkits/copperspice/files/patch-src_sql_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_svg_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_lconvert_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_linguist_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_lrelease_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_lupdate_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_rcc_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_tools_uic_CMakeLists.txt11
-rw-r--r--x11-toolkits/copperspice/files/patch-src_webkit_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_xml_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-src_xmlpatterns_CMakeLists.txt22
-rw-r--r--x11-toolkits/copperspice/files/patch-utilities_unicode_CMakeLists.txt15
-rw-r--r--x11-toolkits/copperspice/pkg-descr14
-rw-r--r--x11-toolkits/copperspice/pkg-plist2133
40 files changed, 2789 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 92be28289282..bd01e972fcb1 100644
--- a/MOVED
+++ b/MOVED
@@ -13107,7 +13107,6 @@ games/xscorch||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/aeskulap||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/agave||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/cbview||2019-10-16|Has expired: Unfetchable, unmaintained
-graphics/copperspice||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/cthumb||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/fujiplay||2019-10-16|Has expired: Unfetchable, unmaintained
graphics/gimp-ez-perspective-plugin||2019-10-16|Has expired: Unfetchable, unmaintained
@@ -16892,3 +16891,4 @@ security/php81-openssl||2022-02-12|php81-openssl module is a default module for
math/qhull8|math/qhull|2022-02-19|qhull as version 8 is the default from now on
print/tex-aleph||2022-02-19|tex-aleph has been removed from texlive-2021 system
sysutils/intel-pcm-devel||2022-02-19|intel-pcm-devel has been removed, encouraging users to use intel-pcm instead
+graphics/copperspice|x11-toolkits/copperspice|2022-02-20|Revive in more appropriate category
diff --git a/misc/Makefile b/misc/Makefile
index ba25cec91c41..39553d69e4e3 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -53,6 +53,7 @@
SUBDIR += compat8x
SUBDIR += compat9x
SUBDIR += concourse
+ SUBDIR += copperspice-examples
SUBDIR += countrycodes
SUBDIR += cpuid
SUBDIR += crosti
diff --git a/misc/copperspice-examples/Makefile b/misc/copperspice-examples/Makefile
new file mode 100644
index 000000000000..bc60c59707cc
--- /dev/null
+++ b/misc/copperspice-examples/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= copperspice-examples
+DISTVERSIONPREFIX= ks-
+DISTVERSION= 1.7.3
+CATEGORIES= misc
+
+MAINTAINER= adridg@FreeBSD.org
+COMMENT= Example programs for Copperspice
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libasound.so:audio/alsa-lib \
+ libpulse.so:audio/pulseaudio \
+ libgstreamer-1.0.so:multimedia/gstreamer1 \
+ libcups.so:print/cups \
+ libxcb-icccm.so:x11/xcb-util-wm \
+ libxcb-image.so:x11/xcb-util-image \
+ libxcb-keysyms.so:x11/xcb-util-keysyms \
+ libxcb-render-util.so:x11/xcb-util-renderutil \
+ libxcb.so:x11/libxcb \
+ libxkbcommon.so:x11/libxkbcommon \
+ libfontconfig.so:x11-fonts/fontconfig
+BUILD_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
+RUN_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
+
+USES= compiler:c++17-lang cmake gl gnome iconv jpeg pkgconfig ssl xorg
+USE_GL= gl
+USE_GNOME= cairo glib20 libxml2
+USE_GSTREAMER1= yes
+USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender
+
+USE_GITHUB= yes
+GH_ACCOUNT= copperspice
+GH_PROJECT= kitchensink
+
+PLIST_FILES= bin/kitchensink
+
+.include <bsd.port.mk>
diff --git a/misc/copperspice-examples/distinfo b/misc/copperspice-examples/distinfo
new file mode 100644
index 000000000000..19d156d76a68
--- /dev/null
+++ b/misc/copperspice-examples/distinfo
@@ -0,0 +1,3