public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/subtitlecomposer/files/, media-video/subtitlecomposer/
Date: Wed,  5 Jun 2024 18:17:11 +0000 (UTC)	[thread overview]
Message-ID: <1717611414.385167e12770fc12d22dfb873619b54c5292af6a.asturm@gentoo> (raw)

commit:     385167e12770fc12d22dfb873619b54c5292af6a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 17:19:24 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 18:16:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385167e1

media-video/subtitlecomposer: Fix build w/ ICU-75

See also:
https://invent.kde.org/multimedia/subtitlecomposer/-/issues/100

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/subtitlecomposer-0.8.0-icu-75.patch      | 36 ++++++++++++++++++++++
 .../subtitlecomposer/subtitlecomposer-0.8.0.ebuild |  3 +-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.8.0-icu-75.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.8.0-icu-75.patch
new file mode 100644
index 000000000000..89cef9917dec
--- /dev/null
+++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.8.0-icu-75.patch
@@ -0,0 +1,36 @@
+From fe3cfc6455981cb6c7beae95713d22c431f3439e Mon Sep 17 00:00:00 2001
+From: Mladen Milinkovic <maxrd2@smoothware.net>
+Date: Wed, 22 May 2024 21:35:41 +0200
+Subject: [PATCH] Increased required std to C++17 #100
+
+C++17 is supported since gcc7 and ICU 75 headers require it.
+---
+ CMakeLists.txt | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e60e910a..fade001b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -7,17 +7,16 @@ if(QT_MAJOR_VERSION EQUAL 6)
+ 	set(QT_MIN_VERSION "6.0.0")
+ 	set(KF_MAJOR_VERSION "6")
+ 	set(KF_MIN_VERSION "5.240.0")
+-	set(CMAKE_CXX_STANDARD 17)
+ else()
+ 	set(QT_EXTRA_COMPONENTS)
+ 	set(QT_MAJOR_VERSION 5)
+ 	set(QT_MIN_VERSION "5.9.0")
+ 	set(KF_MAJOR_VERSION "5")
+ 	set(KF_MIN_VERSION "5.44.0")
+-	set(CMAKE_CXX_STANDARD 11)
+ endif()
+ 
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
++set(CMAKE_CXX_STANDARD 17)
+ 
+ find_package(ECM REQUIRED NO_MODULE)
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+-- 
+GitLab
+

diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.8.0.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.8.0.ebuild
index 68d991328aa7..662986e1833f 100644
--- a/media-video/subtitlecomposer/subtitlecomposer-0.8.0.ebuild
+++ b/media-video/subtitlecomposer/subtitlecomposer-0.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -51,6 +51,7 @@ BDEPEND="
 
 PATCHES=(
 	"${WORKDIR}/${PATCHSET}/${PN}-0.7.1-tests-optional.patch" # TODO: upstream
+	"${FILESDIR}/${P}-icu-75.patch" # git master
 )
 
 src_configure() {


             reply	other threads:[~2024-06-05 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 18:17 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-25 17:04 [gentoo-commits] repo/gentoo:master commit in: media-video/subtitlecomposer/files/, media-video/subtitlecomposer/ Andreas Sturmlechner
2021-11-09  7:20 Andreas Sturmlechner
2021-10-06 18:50 Andreas Sturmlechner
2019-07-04 19:40 Andreas Sturmlechner

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=1717611414.385167e12770fc12d22dfb873619b54c5292af6a.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