From nobody Thu Mar 03 16:24:13 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9A6511A00EDD; Thu, 3 Mar 2022 16:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K8bsT3sW1z4S8C; Thu, 3 Mar 2022 16:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646324653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WcDAYwMEML4q/c1yUiDPJ4fIp6VxGTwrD3Z5bb2U65g=; b=B5f9lPLk5u+MxP+ERQL71zEeUWAovtYiWfjum++fU3oEnJmgDi3tR4fvrRTv6tITGh6n9M hhgVfOU8beYCzF8Kmp74wE742H6uvMAneLqdFzldit5N6AEuyqbH5o6gazLfHK8PYOHivb 67BgbcF4JpsV0l93z92y1V0PwuUxhL587eHQhzE0S9JSXvxY4RgWdUtKraOrgU+6oADYRj 1wJ9FBKVDPfL7XS3GoIJJa6k1fc6IrGCZRVW/fuC0ML9tnZq4iyc9XmupPgzazhs9tBKIe Vbbz4tSH+YJtACIAhQupCT+6DtKIwRPBJNzXATJVSBQT88tRhkhaA0jo89Hsqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59AA71ADD2; Thu, 3 Mar 2022 16:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 223GOD1u060299; Thu, 3 Mar 2022 16:24:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 223GODlB060298; Thu, 3 Mar 2022 16:24:13 GMT (envelope-from git) Date: Thu, 3 Mar 2022 16:24:13 GMT Message-Id: <202203031624.223GODlB060298@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: a7d32d7eb6a0 - main - x11-toolkits/copperspice: use distributed tarballs, not for i386 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a7d32d7eb6a0f53b5ab4d4d4675edc5ff6fb5d78 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646324653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WcDAYwMEML4q/c1yUiDPJ4fIp6VxGTwrD3Z5bb2U65g=; b=OpaKi2U2DBId3NMAu2i/1XZp3Kd4vKU6IIwTullyD+NbaZVgh8bnRhYOfpG6rm+uPGpnjR jZET7xs08AgWyknh2N4fhE02hWW5iqvoeEFx64GnHprqsH1H3WW6KraKubiMhDKqxjDmB3 GfgDFRtlyT2OhmxuZyLmt19ffq57OsW2VKEm/LCb17GZEk9W6oOaL0dGqGE2J6UCngik+V kzmyz2arwbLmA2lyx6xHjE1Ug+9Qea2JICblcXrMqe18+w1X9PkrTFyktE3UdAOEXwiTj7 hMYtRG7Wv6QP2VyTAEOkvehV9mGFjmuLYGApJlBhSgcsbBHpm/+ht++GHberHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646324653; a=rsa-sha256; cv=none; b=LhQklzj98dY1PUqNLjCYRJOzDFFVCtgF214oJhMYkVsMK7NVoCQ1F+mYq1xZygsO1Bky+Y XyKTEuSYTkmfa6D+N2llMO8tg5qCI33I/8nSAA8qFkI0H/jVy8NG1ZsySIt/CqGW4curk9 22+/g0TYSdTCJ7P38UK8fjlxvuIfloWKxRm9Z09mjp1bWGxGFux/D8fD7FcLtct5PdafcV YV95SUfVK4yKFQgqBsx/4AukAA355t+RibYc8QkkHjWBomKRrYxiZ4dxUMffkWTb9L6GVe 78bj9o81LcN78NTVcRNVgDrxepEYSsQyvrbTeI/04ZhwdlZACP93QXkvjgh0Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7d32d7eb6a0f53b5ab4d4d4675edc5ff6fb5d78 commit a7d32d7eb6a0f53b5ab4d4d4675edc5ff6fb5d78 Author: Adriaan de Groot AuthorDate: 2022-03-03 15:50:32 +0000 Commit: Adriaan de Groot CommitDate: 2022-03-03 16:24:11 +0000 x11-toolkits/copperspice: use distributed tarballs, not for i386 - Switch to the distributed tarballs, rather than pulling from github. This means NO_WRKSUBDIR, dos2unix, and removing the patches that apply to sources in GH but that are not in the released source tarballs. - Set NOT_FOR_ARCHS to i386, since there's issues in WebKit like ld: error: relocation R_386_PC32 cannot be used against symbol cti_vm_throw; recompile with -fPIC and I'm insufficiently interested in chasing this. --- editors/diamond/Makefile | 6 ++++-- misc/copperspice-examples/Makefile | 14 +++++++++----- misc/copperspice-examples/distinfo | 6 +++--- x11-toolkits/copperspice/Makefile | 21 ++++++++++++--------- x11-toolkits/copperspice/distinfo | 6 +++--- .../files/patch-src_declarative_CMakeLists.txt | 13 ------------- .../files/patch-src_scripttools_CMakeLists.txt | 13 ------------- .../files/patch-src_tools_lconvert_CMakeLists.txt | 18 +++++++++--------- .../files/patch-utilities_unicode_CMakeLists.txt | 15 --------------- 9 files changed, 40 insertions(+), 72 deletions(-) diff --git a/editors/diamond/Makefile b/editors/diamond/Makefile index e36385cee66a..460e476cae86 100644 --- a/editors/diamond/Makefile +++ b/editors/diamond/Makefile @@ -1,9 +1,9 @@ PORTNAME= diamond DISTVERSION= 1.3.7 -DISTNAME= Diamond-${DISTVERSION} CATEGORIES= editors -PKGNAMESUFFIX= -cs MASTER_SITES= https://download.copperspice.com/${PORTNAME}/source/ +PKGNAMESUFFIX= -cs +DISTNAME= Diamond-${DISTVERSION} MAINTAINER= adridg@FreeBSD.org COMMENT= Compact programmers editor @@ -11,6 +11,8 @@ COMMENT= Compact programmers editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE +NOT_FOR_ARCHS= i386 + LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell BUILD_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice RUN_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice diff --git a/misc/copperspice-examples/Makefile b/misc/copperspice-examples/Makefile index bc60c59707cc..d392accee2e3 100644 --- a/misc/copperspice-examples/Makefile +++ b/misc/copperspice-examples/Makefile @@ -1,7 +1,10 @@ PORTNAME= copperspice-examples DISTVERSIONPREFIX= ks- DISTVERSION= 1.7.3 +PORTREVISION= 1 CATEGORIES= misc +MASTER_SITES= https://download.copperspice.com/kitchensink/source/ +DISTNAME= KitchenSink-${DISTVERSION} MAINTAINER= adridg@FreeBSD.org COMMENT= Example programs for Copperspice @@ -9,6 +12,8 @@ COMMENT= Example programs for Copperspice LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +NOT_FOR_ARCHS= i386 + LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio \ libgstreamer-1.0.so:multimedia/gstreamer1 \ @@ -23,16 +28,15 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \ 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 +USES= compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 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 +NO_WRKSUBDIR= yes +DOS2UNIX_FILES= src/CMakeLists.txt + .include diff --git a/misc/copperspice-examples/distinfo b/misc/copperspice-examples/distinfo index 19d156d76a68..ca8968101ddc 100644 --- a/misc/copperspice-examples/distinfo +++ b/misc/copperspice-examples/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644188375 -SHA256 (copperspice-kitchensink-ks-1.7.3_GH0.tar.gz) = 5e7f8cab97e6260ad6dc7e1195ef7983bb4ecf88c47047196ad48e8bf7690c3d -SIZE (copperspice-kitchensink-ks-1.7.3_GH0.tar.gz) = 626928 +TIMESTAMP = 1646305585 +SHA256 (KitchenSink-1.7.3.tar.bz2) = 4de9d0cf9da42dc07daca442c4177ee485bd7dfc23fa1a5eeb303d7affa947cc +SIZE (KitchenSink-1.7.3.tar.bz2) = 581145 diff --git a/x11-toolkits/copperspice/Makefile b/x11-toolkits/copperspice/Makefile index ca28ea864e5d..a475ef38b1a1 100644 --- a/x11-toolkits/copperspice/Makefile +++ b/x11-toolkits/copperspice/Makefile @@ -1,7 +1,8 @@ PORTNAME= copperspice -DISTVERSIONPREFIX= cs- DISTVERSION= 1.7.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits +MASTER_SITES= https://download.copperspice.com/${PORTNAME}/source/ MAINTAINER= adridg@FreeBSD.org COMMENT= First class GUI library to unite the C++ community @@ -9,6 +10,8 @@ COMMENT= First class GUI library to unite the C++ community LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/license/LICENSE.LGPL +NOT_FOR_ARCHS= i386 + LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio \ libgstreamer-1.0.so:multimedia/gstreamer1 \ @@ -21,25 +24,25 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \ libxkbcommon.so:x11/libxkbcommon \ libfontconfig.so:x11-fonts/fontconfig -USES= compiler:c++17-lang cmake gl gnome iconv jpeg pkgconfig ssl xorg +USES= compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 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 - -CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH='$(LOCALBASE)/lib/copperspice/bin' \ - -DCMAKE_INSTALL_INCLUDEDIR:PATH='$(LOCALBASE)/include/copperspice' \ - -DCMAKE_INSTALL_PREFIX:PATH='$(LOCALBASE)' \ +CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH='${LOCALBASE}/lib/copperspice/bin' \ + -DCMAKE_INSTALL_INCLUDEDIR:PATH='${LOCALBASE}/include/copperspice' \ + -DCMAKE_INSTALL_PREFIX:PATH='${LOCALBASE}' \ -DTOOLS_SUFFIX:STRING=-cs +NO_WRKSUBDIR= yes + # There is a notional conflict with the Qt ports: those have **versioned** # tool names, like designer-qt5, lupdate-qt5, to allow co-installation # of Qt[456] (when we had / have more than one current-version in ports). # -# Since CopperSpice doesn't version the binaries, it doesn't conflict -# with the Qt ports, but does "rudely" occupy the unversioned name. +# We use -cs for the Copperspice suffix to distinguish from -qt5, and +# the executables go in a separate directory anyway. # # CONFLICTS= qt5-core diff --git a/x11-toolkits/copperspice/distinfo b/x11-toolkits/copperspice/distinfo index 4e65f5d36c6b..0d85b285a09b 100644 --- a/x11-toolkits/copperspice/distinfo +++ b/x11-toolkits/copperspice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644180687 -SHA256 (copperspice-copperspice-cs-1.7.3_GH0.tar.gz) = c1c1318f04aae0e4af10fffa6d20267768c2b1acc4c339f41609629584f81c39 -SIZE (copperspice-copperspice-cs-1.7.3_GH0.tar.gz) = 35455780 +TIMESTAMP = 1646305690 +SHA256 (copperspice-1.7.3.tar.bz2) = 9aed04de6bd522c84953a03d68107df7aebba7516e5add3520e48b412589cd28 +SIZE (copperspice-1.7.3.tar.bz2) = 18041796 diff --git a/x11-toolkits/copperspice/files/patch-src_declarative_CMakeLists.txt b/x11-toolkits/copperspice/files/patch-src_declarative_CMakeLists.txt deleted file mode 100644 index 472eedf70715..000000000000 --- a/x11-toolkits/copperspice/files/patch-src_declarative_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- src/declarative/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC -+++ src/declarative/CMakeLists.txt -@@ -73,8 +73,8 @@ macro_generate_package( - install(TARGETS CsDeclarative - EXPORT CopperSpiceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} - ) - - install( diff --git a/x11-toolkits/copperspice/files/patch-src_scripttools_CMakeLists.txt b/x11-toolkits/copperspice/files/patch-src_scripttools_CMakeLists.txt deleted file mode 100644 index fef284348123..000000000000 --- a/x11-toolkits/copperspice/files/patch-src_scripttools_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- src/scripttools/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC -+++ src/scripttools/CMakeLists.txt -@@ -62,8 +62,8 @@ install( - TARGETS CsScriptTools - EXPORT CopperSpiceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} - ) - - install( diff --git a/x11-toolkits/copperspice/files/patch-src_tools_lconvert_CMakeLists.txt b/x11-toolkits/copperspice/files/patch-src_tools_lconvert_CMakeLists.txt index 77752954f979..4581871f73c8 100644 --- a/x11-toolkits/copperspice/files/patch-src_tools_lconvert_CMakeLists.txt +++ b/x11-toolkits/copperspice/files/patch-src_tools_lconvert_CMakeLists.txt @@ -1,11 +1,11 @@ --- src/tools/lconvert/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC +++ src/tools/lconvert/CMakeLists.txt -@@ -39,7 +39,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "DARWIN") - endif() - - if(CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|FreeBSD|NetBSD)") -- list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,$ORIGIN/../lib') -+ list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,${CS_FULL_LIBDIR}') - endif() - - if(CMAKE_SYSTEM_NAME MATCHES "Linux") +@@ -39,7 +39,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "DARWIN") + endif() + + if(CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|FreeBSD|NetBSD)") +- list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,$ORIGIN/../lib') ++ list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,${CS_FULL_LIBDIR}') + endif() + + if(CMAKE_SYSTEM_NAME MATCHES "Linux") diff --git a/x11-toolkits/copperspice/files/patch-utilities_unicode_CMakeLists.txt b/x11-toolkits/copperspice/files/patch-utilities_unicode_CMakeLists.txt deleted file mode 100644 index e12f670492fe..000000000000 --- a/x11-toolkits/copperspice/files/patch-utilities_unicode_CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ ---- utilities/unicode/CMakeLists.txt.orig 2022-02-18 10:42:10 UTC -+++ utilities/unicode/CMakeLists.txt -@@ -34,12 +34,6 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") - elseif (CMAKE_SYSTEM_NAME MATCHES "(Linux|OpenBSD|FreeBSD|NetBSD|DragonFly)") - include(GNUInstallDirs) - -- # rpath used for rcc and uic when compiling a user application -- file(RELATIVE_PATH CS_BIN_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}" -- "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") -- -- set(CMAKE_INSTALL_RPATH "$ORIGIN/${CS_BIN_RPATH}") -- - elseif (CMAKE_SYSTEM_NAME MATCHES "Windows") - set(CMAKE_INSTALL_BINDIR bin) - set(CMAKE_INSTALL_LIBDIR lib)