From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/scribus/files/, app-office/scribus/
Date: Fri, 05 Sep 2025 18:59:09 +0000 (UTC) [thread overview]
Message-ID: <1757097935.2df43625e3e98910f0e1fc6329fe6f13a3286d60.asturm@gentoo> (raw)
commit: 2df43625e3e98910f0e1fc6329fe6f13a3286d60
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 5 18:23:16 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep 5 18:45:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df43625
app-office/scribus: Build with -DBUILD_STATIC (only libqt6advanceddocking)
Bug: https://bugs.gentoo.org/961290
Closes: https://bugs.gentoo.org/960017
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...ibus-1.7.0-dont-install-qtadvanceddocking.patch | 86 ++++++++++++++++++++++
...scribus-9999.ebuild => scribus-1.7.0-r3.ebuild} | 8 +-
app-office/scribus/scribus-9999.ebuild | 4 +-
3 files changed, 93 insertions(+), 5 deletions(-)
diff --git a/app-office/scribus/files/scribus-1.7.0-dont-install-qtadvanceddocking.patch b/app-office/scribus/files/scribus-1.7.0-dont-install-qtadvanceddocking.patch
new file mode 100644
index 000000000000..9c0105e72be3
--- /dev/null
+++ b/app-office/scribus/files/scribus-1.7.0-dont-install-qtadvanceddocking.patch
@@ -0,0 +1,86 @@
+--- a/scribus/third_party/Qt-Advanced-Docking-System/src/CMakeLists.txt
++++ b/scribus/third_party/Qt-Advanced-Docking-System/src/CMakeLists.txt
+@@ -71,13 +71,13 @@
+ endif()
+
+ set(library_name "qt${QT_VERSION_MAJOR}advanceddocking")
+-if(BUILD_STATIC)
++#if(BUILD_STATIC)
+ add_library(${library_name} STATIC ${ads_SRCS} ${ads_HEADERS})
+ target_compile_definitions( ${library_name} PUBLIC ADS_STATIC)
+-else()
+- add_library( ${library_name} SHARED ${ads_SRCS} ${ads_HEADERS})
+- target_compile_definitions( ${library_name} PRIVATE ADS_SHARED_EXPORT)
+-endif()
++#else()
++# add_library( ${library_name} SHARED ${ads_SRCS} ${ads_HEADERS})
++# target_compile_definitions( ${library_name} PRIVATE ADS_SHARED_EXPORT)
++#endif()
+
+ add_library(ads::${library_name} ALIAS ${library_name})
+
+@@ -119,35 +119,35 @@
+ VERSION ${VERSION_SHORT}
+ COMPATIBILITY SameMajorVersion
+ )
+-install(FILES ${ads_HEADERS}
+- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${library_name}
+- COMPONENT headers
+-)
+-install(FILES
+- "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE"
+- "${CMAKE_CURRENT_SOURCE_DIR}/../gnu-lgpl-v2.1.md"
+- DESTINATION license/ads
+- COMPONENT license
+-)
+-install(TARGETS ${library_name}
+- EXPORT adsTargets
+- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+- INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${library_name}
+-)
+-
+-install(EXPORT adsTargets
+- FILE adsTargets.cmake
+- NAMESPACE ads::
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
+-)
+-install(FILES qtadvanceddockingConfig.cmake RENAME ${library_name}Config.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
+-)
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${library_name}ConfigVersion.cmake"
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
+-)
++#install(FILES ${ads_HEADERS}
++# DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${library_name}
++# COMPONENT headers
++#)
++#install(FILES
++# "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE"
++# "${CMAKE_CURRENT_SOURCE_DIR}/../gnu-lgpl-v2.1.md"
++# DESTINATION license/ads
++# COMPONENT license
++#)
++#install(TARGETS ${library_name}
++# EXPORT adsTargets
++# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++# INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${library_name}
++#)
++#
++#install(EXPORT adsTargets
++# FILE adsTargets.cmake
++# NAMESPACE ads::
++# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
++#)
++#install(FILES qtadvanceddockingConfig.cmake RENAME ${library_name}Config.cmake
++# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
++#)
++#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${library_name}ConfigVersion.cmake"
++# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${library_name}
++#)
+
+ target_include_directories(${library_name} PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-1.7.0-r3.ebuild
similarity index 91%
copy from app-office/scribus/scribus-9999.ebuild
copy to app-office/scribus/scribus-1.7.0-r3.ebuild
index f92697f36fd7..d9786c75028c 100644
--- a/app-office/scribus/scribus-9999.ebuild
+++ b/app-office/scribus/scribus-1.7.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="tk?"
inherit cmake desktop flag-o-matic optfeature python-single-r1 xdg
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]] ; then
EGIT_REPO_URI="https://github.com/scribusproject/scribus"
inherit git-r3
else
- SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.xz"
+ SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}-devel/${PV}/${P}.tar.xz"
S="${WORKDIR}/${P}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
fi
@@ -78,8 +78,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.5.8-cmake.patch # bug 886251
"${FILESDIR}"/${PN}-1.5.3-fpic.patch
"${FILESDIR}"/${PN}-1.7.0-findhyphen.patch
- "${FILESDIR}"/${PN}-1.7.0-dont-install-thirdparty-license.patch
+ "${FILESDIR}"/${PN}-1.7.0-dont-install-qtadvanceddocking.patch # bugs 961290, 960017
"${FILESDIR}"/${PN}-1.7.0-fix-icon-version.patch
+ "${FILESDIR}"/${P}-poppler-25.0{2,6,7,9}.0.patch # from trunk
+ "${FILESDIR}"/${PN}-1.7.0-fix-compiling-with-qt-6.9.0.patch # bug 957695
)
src_prepare() {
diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-9999.ebuild
index f92697f36fd7..b88ccc44884f 100644
--- a/app-office/scribus/scribus-9999.ebuild
+++ b/app-office/scribus/scribus-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{10..14} )
PYTHON_REQ_USE="tk?"
inherit cmake desktop flag-o-matic optfeature python-single-r1 xdg
@@ -78,7 +78,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.5.8-cmake.patch # bug 886251
"${FILESDIR}"/${PN}-1.5.3-fpic.patch
"${FILESDIR}"/${PN}-1.7.0-findhyphen.patch
- "${FILESDIR}"/${PN}-1.7.0-dont-install-thirdparty-license.patch
+ "${FILESDIR}"/${PN}-1.7.0-dont-install-qtadvanceddocking.patch # bugs 961290, 960017
"${FILESDIR}"/${PN}-1.7.0-fix-icon-version.patch
)
next reply other threads:[~2025-09-05 18:59 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 18:59 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-03 16:15 [gentoo-commits] repo/gentoo:master commit in: app-office/scribus/files/, app-office/scribus/ Andreas Sturmlechner
2025-07-08 16:03 Andreas Sturmlechner
2025-03-07 13:16 Andreas Sturmlechner
2024-11-03 20:36 Andreas Sturmlechner
2024-06-03 17:36 Miroslav Šulc
2024-05-22 7:39 Miroslav Šulc
2024-05-14 17:25 Andreas Sturmlechner
2024-03-04 22:18 Andreas Sturmlechner
2024-01-14 10:24 Miroslav Šulc
2024-01-14 9:38 Miroslav Šulc
2024-01-01 9:30 Miroslav Šulc
2023-03-17 6:52 Miroslav Šulc
2023-02-06 10:36 Andreas Sturmlechner
2022-03-27 6:05 Miroslav Šulc
2022-02-10 19:38 Miroslav Šulc
2021-10-09 19:38 Sam James
2021-05-30 10:45 Miroslav Šulc
2021-03-07 1:30 Andreas Sturmlechner
2020-07-18 8:41 Andreas Sturmlechner
2020-05-30 9:31 Andreas Sturmlechner
2020-04-07 7:49 Andreas Sturmlechner
2019-12-29 11:54 Andreas Sturmlechner
2019-11-08 20:13 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-08-16 8:52 Miroslav Šulc
2019-06-23 16:44 Miroslav Šulc
2018-06-20 16:31 Andreas Sturmlechner
2018-05-10 15:55 Andreas Sturmlechner
2018-03-13 22:50 Andreas Sturmlechner
2018-01-09 13:46 Andreas Sturmlechner
2017-12-20 21:34 Justin Lecher
2016-11-06 8:25 Justin Lecher
2016-10-23 20:25 Justin Lecher
2016-09-27 18:50 Michael Weber
2015-10-19 12:06 Justin Lecher
2015-10-16 13:04 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1757097935.2df43625e3e98910f0e1fc6329fe6f13a3286d60.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox