Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update openshot and its libraries
@ 2025-04-16 18:58 meator
  2025-08-15  2:14 ` github-actions
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: meator @ 2025-04-16 18:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

There is a new pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages openshot
https://github.com/void-linux/void-packages/pull/55085

Update openshot and its libraries
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/55085.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openshot-55085.patch --]
[-- Type: text/x-diff, Size: 9536 bytes --]

From b1aec87349041df3a160623b9a58930fd1d43fca Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:51:35 +0200
Subject: [PATCH 1/4] libopenshot-audio: update to 0.4.0

---
 common/shlibs                                 |  2 +-
 .../libopenshot-audio/patches/fix-musl.patch  | 63 ++++++++++---------
 srcpkgs/libopenshot-audio/template            |  4 +-
 3 files changed, 38 insertions(+), 31 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index bec2f470613330..df747c27329a1f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2669,7 +2669,7 @@ libax25io.so.0 libax25-0.0.12rc4_1
 libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
-libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
+libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
 libopenshot.so.25 libopenshot-0.3.2_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
diff --git a/srcpkgs/libopenshot-audio/patches/fix-musl.patch b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
index 532248c86217dc..c25386f364a640 100644
--- a/srcpkgs/libopenshot-audio/patches/fix-musl.patch
+++ b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
@@ -1,46 +1,53 @@
-diff --git a/JuceLibraryCode/modules/juce_core/juce_core.cpp b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-index 8bac812..e23b422 100644
+This patch disables some glibc-specific features on musl. Upstream appears to support
+many different platforms, some of which also lack the features musl lacks, but
+upstream provides no musl specific checks. This means that no extra code has to be
+added to support musl, only some of the preprocessor conditional statements have to
+be altered to also take musl into consideration.
+
+This patch only fixes compilation errors, there may still be some musl-related
+runtime errors.
+
+This patch is inspired by
+void-linux/void-packages@da8876faa6fc1792f4d2ea2d4b667d3bbe46d868.
 --- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
 +++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
   #include <net/if.h>
   #include <sys/ioctl.h>
  
-- #if ! JUCE_ANDROID
-+ #if ! JUCE_ANDROID && defined(__GLIBC__)
+- #if ! (JUCE_ANDROID || JUCE_WASM)
++ #if ! (JUCE_ANDROID || JUCE_WASM) && defined(__GLIBC__)
    #include <execinfo.h>
   #endif
  #endif
-diff --git a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-index 2d7faa3..f132405 100644
---- a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-+++ b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-@@ -139,8 +139,15 @@ static String getLocaleValue (nl_item key)
-     return result;
- }
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
+@@ -198,7 +198,7 @@
  
-+#if defined(__GLIBC__)
- String SystemStats::getUserLanguage()     { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
- String SystemStats::getUserRegion()       { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
-+#else
-+// The identifiers _NL_INDENTIFICATION_LANGUAGE and _TERRIRTORY are not defined in musl libc.
-+// TODO: Find a better fix than just returning nonsense. Inspect env("LANG") perhaps?
-+String SystemStats::getUserLanguage()     { return String("en"); }
-+String SystemStats::getUserRegion()       { return String("US"); }
-+#endif
- String SystemStats::getDisplayLanguage()  { return getUserLanguage() + "-" + getUserRegion(); }
+ String SystemStats::getUserLanguage()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     if (auto langEnv = getenv ("LANG"))
+         return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+ 
+@@ -210,7 +210,7 @@
  
- //==============================================================================
-diff --git a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-index 757ea24..6b61e16 100644
+ String SystemStats::getUserRegion()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     return {};
+    #else
+     return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
 --- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
 +++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-@@ -138,7 +138,7 @@ String SystemStats::getStackBacktrace()
+@@ -178,7 +178,7 @@
  {
      String result;
  
--   #if JUCE_ANDROID || JUCE_MINGW
-+   #if JUCE_ANDROID || JUCE_MINGW || !defined(__GLIBC__)
+-   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM || !defined(__GLIBC__)
      jassertfalse; // sorry, not implemented yet!
  
     #elif JUCE_WINDOWS
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 7398853c612b19..545b64ed4b93b9 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -1,6 +1,6 @@
 # Template file for 'libopenshot-audio'
 pkgname=libopenshot-audio
-version=0.3.2
+version=0.4.0
 revision=1
 build_style=cmake
 hostmakedepends="doxygen"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot-audio"
 distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
-checksum=f09d5251c934e6c14d98217b44574c508318c8575e47f5c48ffaf54d9bbce3e9
+checksum=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704
 
 libopenshot-audio-devel_package() {
 	short_desc+=" - development files"

From 58311e918f0863030f4ff9f591f5416cf43e4e68 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:52:50 +0200
Subject: [PATCH 2/4] libopenshot-audio: add doc subpackage

---
 srcpkgs/libopenshot-audio-doc      | 1 +
 srcpkgs/libopenshot-audio/template | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 120000 srcpkgs/libopenshot-audio-doc

diff --git a/srcpkgs/libopenshot-audio-doc b/srcpkgs/libopenshot-audio-doc
new file mode 120000
index 00000000000000..9574f3d5bbe95b
--- /dev/null
+++ b/srcpkgs/libopenshot-audio-doc
@@ -0,0 +1 @@
+libopenshot-audio
\ No newline at end of file
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 545b64ed4b93b9..45f442eb03aded 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -22,3 +22,10 @@ libopenshot-audio-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+libopenshot-audio-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

From 5c73c3ae9de97e69ac79713cee30f642faa64e63 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:09 +0200
Subject: [PATCH 3/4] libopenshot: update to 0.4.0.

---
 common/shlibs                | 2 +-
 srcpkgs/libopenshot/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index df747c27329a1f..601f27be6485b1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2670,7 +2670,7 @@ libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
 libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
-libopenshot.so.25 libopenshot-0.3.2_1
+libopenshot.so.27 libopenshot-0.4.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 44c013d00863bf..2734fbf5bc2fa2 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenshot'
 pkgname=libopenshot
-version=0.3.2
-revision=3
+version=0.4.0
+revision=1
 build_style=cmake
 # Builds fail with Ruby-2.4.1
 configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot"
 distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
-checksum=58765cfc8aec199814346e97ce31a5618a261260b380670a6fb2bf6f68733638
+checksum=be0e760d81275543f7fbbf87863645748c3fe8aa8f4b5b771ff45a5d026bc9cc
 
 libopenshot-devel_package() {
 	short_desc+=" - development files"

From eed37bdd6866a4b4fdbaae54d847409ebe76f314 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:25 +0200
Subject: [PATCH 4/4] openshot: update to 3.3.0.

---
 srcpkgs/openshot/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template
index c2da71db404731..56f188f569c199 100644
--- a/srcpkgs/openshot/template
+++ b/srcpkgs/openshot/template
@@ -1,7 +1,7 @@
 # Template file for 'openshot'
 pkgname=openshot
-version=3.1.1
-revision=3
+version=3.3.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3 python3-setuptools"
 makedepends="ffmpeg6-devel python3-PyQt5"
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.openshot.org"
 distfiles="https://github.com/OpenShot/openshot-qt/archive/v${version}.tar.gz"
-checksum=2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91
+checksum=f5471eec94d59830ea58351b93e69d4c56b42874d927fbd6482f83b9bb545d4f
 make_check=no # tests are broken

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
@ 2025-08-15  2:14 ` github-actions
  2025-08-15  7:47 ` [PR PATCH] [Updated] " meator
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2025-08-15  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/55085#issuecomment-3190413420

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
  2025-08-15  2:14 ` github-actions
@ 2025-08-15  7:47 ` meator
  2025-08-15 10:22 ` meator
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2025-08-15  7:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages openshot
https://github.com/void-linux/void-packages/pull/55085

Update openshot and its libraries
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/55085.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openshot-55085.patch --]
[-- Type: text/x-diff, Size: 9536 bytes --]

From dc75d9de6a6fd8d980335809dcd947fd4be8cfc6 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:51:35 +0200
Subject: [PATCH 1/4] libopenshot-audio: update to 0.4.0

---
 common/shlibs                                 |  2 +-
 .../libopenshot-audio/patches/fix-musl.patch  | 63 ++++++++++---------
 srcpkgs/libopenshot-audio/template            |  4 +-
 3 files changed, 38 insertions(+), 31 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 4977889f73b990..09a1e877ab14a4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2665,7 +2665,7 @@ libax25io.so.0 libax25-0.0.12rc4_1
 libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
-libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
+libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
 libopenshot.so.25 libopenshot-0.3.2_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
diff --git a/srcpkgs/libopenshot-audio/patches/fix-musl.patch b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
index 532248c86217dc..c25386f364a640 100644
--- a/srcpkgs/libopenshot-audio/patches/fix-musl.patch
+++ b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
@@ -1,46 +1,53 @@
-diff --git a/JuceLibraryCode/modules/juce_core/juce_core.cpp b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-index 8bac812..e23b422 100644
+This patch disables some glibc-specific features on musl. Upstream appears to support
+many different platforms, some of which also lack the features musl lacks, but
+upstream provides no musl specific checks. This means that no extra code has to be
+added to support musl, only some of the preprocessor conditional statements have to
+be altered to also take musl into consideration.
+
+This patch only fixes compilation errors, there may still be some musl-related
+runtime errors.
+
+This patch is inspired by
+void-linux/void-packages@da8876faa6fc1792f4d2ea2d4b667d3bbe46d868.
 --- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
 +++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
   #include <net/if.h>
   #include <sys/ioctl.h>
  
-- #if ! JUCE_ANDROID
-+ #if ! JUCE_ANDROID && defined(__GLIBC__)
+- #if ! (JUCE_ANDROID || JUCE_WASM)
++ #if ! (JUCE_ANDROID || JUCE_WASM) && defined(__GLIBC__)
    #include <execinfo.h>
   #endif
  #endif
-diff --git a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-index 2d7faa3..f132405 100644
---- a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-+++ b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-@@ -139,8 +139,15 @@ static String getLocaleValue (nl_item key)
-     return result;
- }
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
+@@ -198,7 +198,7 @@
  
-+#if defined(__GLIBC__)
- String SystemStats::getUserLanguage()     { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
- String SystemStats::getUserRegion()       { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
-+#else
-+// The identifiers _NL_INDENTIFICATION_LANGUAGE and _TERRIRTORY are not defined in musl libc.
-+// TODO: Find a better fix than just returning nonsense. Inspect env("LANG") perhaps?
-+String SystemStats::getUserLanguage()     { return String("en"); }
-+String SystemStats::getUserRegion()       { return String("US"); }
-+#endif
- String SystemStats::getDisplayLanguage()  { return getUserLanguage() + "-" + getUserRegion(); }
+ String SystemStats::getUserLanguage()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     if (auto langEnv = getenv ("LANG"))
+         return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+ 
+@@ -210,7 +210,7 @@
  
- //==============================================================================
-diff --git a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-index 757ea24..6b61e16 100644
+ String SystemStats::getUserRegion()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     return {};
+    #else
+     return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
 --- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
 +++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-@@ -138,7 +138,7 @@ String SystemStats::getStackBacktrace()
+@@ -178,7 +178,7 @@
  {
      String result;
  
--   #if JUCE_ANDROID || JUCE_MINGW
-+   #if JUCE_ANDROID || JUCE_MINGW || !defined(__GLIBC__)
+-   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM || !defined(__GLIBC__)
      jassertfalse; // sorry, not implemented yet!
  
     #elif JUCE_WINDOWS
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 7398853c612b19..545b64ed4b93b9 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -1,6 +1,6 @@
 # Template file for 'libopenshot-audio'
 pkgname=libopenshot-audio
-version=0.3.2
+version=0.4.0
 revision=1
 build_style=cmake
 hostmakedepends="doxygen"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot-audio"
 distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
-checksum=f09d5251c934e6c14d98217b44574c508318c8575e47f5c48ffaf54d9bbce3e9
+checksum=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704
 
 libopenshot-audio-devel_package() {
 	short_desc+=" - development files"

From b09da57c961d4186458d77046e3e044ac62a967b Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:52:50 +0200
Subject: [PATCH 2/4] libopenshot-audio: add doc subpackage

---
 srcpkgs/libopenshot-audio-doc      | 1 +
 srcpkgs/libopenshot-audio/template | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 120000 srcpkgs/libopenshot-audio-doc

diff --git a/srcpkgs/libopenshot-audio-doc b/srcpkgs/libopenshot-audio-doc
new file mode 120000
index 00000000000000..9574f3d5bbe95b
--- /dev/null
+++ b/srcpkgs/libopenshot-audio-doc
@@ -0,0 +1 @@
+libopenshot-audio
\ No newline at end of file
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 545b64ed4b93b9..45f442eb03aded 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -22,3 +22,10 @@ libopenshot-audio-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+libopenshot-audio-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

From f5ff8fe319e0b48347a275c07b28fce545ff3ceb Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:09 +0200
Subject: [PATCH 3/4] libopenshot: update to 0.4.0.

---
 common/shlibs                | 2 +-
 srcpkgs/libopenshot/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 09a1e877ab14a4..56a32235d0aad5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2666,7 +2666,7 @@ libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
 libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
-libopenshot.so.25 libopenshot-0.3.2_1
+libopenshot.so.27 libopenshot-0.4.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 44c013d00863bf..2734fbf5bc2fa2 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenshot'
 pkgname=libopenshot
-version=0.3.2
-revision=3
+version=0.4.0
+revision=1
 build_style=cmake
 # Builds fail with Ruby-2.4.1
 configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot"
 distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
-checksum=58765cfc8aec199814346e97ce31a5618a261260b380670a6fb2bf6f68733638
+checksum=be0e760d81275543f7fbbf87863645748c3fe8aa8f4b5b771ff45a5d026bc9cc
 
 libopenshot-devel_package() {
 	short_desc+=" - development files"

From d0b9761862b459fb86a3c2313fff83336dbb0a86 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:25 +0200
Subject: [PATCH 4/4] openshot: update to 3.3.0.

---
 srcpkgs/openshot/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template
index c2da71db404731..56f188f569c199 100644
--- a/srcpkgs/openshot/template
+++ b/srcpkgs/openshot/template
@@ -1,7 +1,7 @@
 # Template file for 'openshot'
 pkgname=openshot
-version=3.1.1
-revision=3
+version=3.3.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3 python3-setuptools"
 makedepends="ffmpeg6-devel python3-PyQt5"
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.openshot.org"
 distfiles="https://github.com/OpenShot/openshot-qt/archive/v${version}.tar.gz"
-checksum=2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91
+checksum=f5471eec94d59830ea58351b93e69d4c56b42874d927fbd6482f83b9bb545d4f
 make_check=no # tests are broken

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
  2025-08-15  2:14 ` github-actions
  2025-08-15  7:47 ` [PR PATCH] [Updated] " meator
@ 2025-08-15 10:22 ` meator
  2025-08-15 10:29 ` meator
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2025-08-15 10:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages openshot
https://github.com/void-linux/void-packages/pull/55085

Update openshot and its libraries
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/55085.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openshot-55085.patch --]
[-- Type: text/x-diff, Size: 12132 bytes --]

From ac64c135c39aaeb7e59eb5becde048250579b922 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:51:35 +0200
Subject: [PATCH 1/4] libopenshot-audio: update to 0.4.0

---
 common/shlibs                                 |  2 +-
 ...l-compilation-error-related-to-LFS64.patch | 45 +++++++++++++
 .../libopenshot-audio/patches/fix-musl.patch  | 63 ++++++++++---------
 srcpkgs/libopenshot-audio/template            |  4 +-
 4 files changed, 83 insertions(+), 31 deletions(-)
 create mode 100644 srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch

diff --git a/common/shlibs b/common/shlibs
index 4977889f73b990..09a1e877ab14a4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2665,7 +2665,7 @@ libax25io.so.0 libax25-0.0.12rc4_1
 libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
-libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
+libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
 libopenshot.so.25 libopenshot-0.3.2_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
diff --git a/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
new file mode 100644
index 00000000000000..7c3e45682604f5
--- /dev/null
+++ b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
@@ -0,0 +1,45 @@
+From 35c6b259de5f4d4b47c850f0a33a37e8faac693d Mon Sep 17 00:00:00 2001
+From: meator <meator.dev@gmail.com>
+Date: Fri, 15 Aug 2025 10:54:13 +0200
+Subject: [PATCH] Fix musl compilation error related to LFS64
+
+Source: https://github.com/OpenShot/libopenshot-audio/pull/167
+
+LFS64 interfaces are deprecated in musl, since they are not needed
+there. See notes for musl-1.2.4.tar.gz in
+https://musl.libc.org/releases.html and also
+https://wiki.gentoo.org/wiki/Musl_porting_notes#error:_LFS64_interfaces_.28.2A64_undeclared_here.2C_ex._pread64.29
+---
+ CMakeLists.txt                                               | 5 +++++
+ .../modules/juce_core/native/juce_SharedCode_posix.h         | 2 +-
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index baefd119..9fbf6ee1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -254,6 +254,11 @@ if(APPLE)
+     -flax-vector-conversions)
+ endif()
+ 
++# Enforce LFS64 in glibc.
++if(UNIX AND NOT APPLE)
++  target_compile_definitions(openshot-audio PUBLIC _FILE_OFFSET_BITS=64)
++endif()
++
+ # ALSA (Linux only)
+ if(UNIX AND NOT APPLE)
+   set(NEED_ALSA TRUE)
+diff --git a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+index d61c4de3..87e8edc8 100644
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+@@ -166,7 +166,7 @@ int juce_siginterrupt ([[maybe_unused]] int sig, [[maybe_unused]] int flag)
+ //==============================================================================
+ namespace
+ {
+-   #if JUCE_LINUX || (JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T)) // (this iOS stuff is to avoid a simulator bug)
++   #if JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS stuff is to avoid a simulator bug)
+     using juce_statStruct = struct stat64;
+     #define JUCE_STAT  stat64
+    #else
diff --git a/srcpkgs/libopenshot-audio/patches/fix-musl.patch b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
index 532248c86217dc..c25386f364a640 100644
--- a/srcpkgs/libopenshot-audio/patches/fix-musl.patch
+++ b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
@@ -1,46 +1,53 @@
-diff --git a/JuceLibraryCode/modules/juce_core/juce_core.cpp b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-index 8bac812..e23b422 100644
+This patch disables some glibc-specific features on musl. Upstream appears to support
+many different platforms, some of which also lack the features musl lacks, but
+upstream provides no musl specific checks. This means that no extra code has to be
+added to support musl, only some of the preprocessor conditional statements have to
+be altered to also take musl into consideration.
+
+This patch only fixes compilation errors, there may still be some musl-related
+runtime errors.
+
+This patch is inspired by
+void-linux/void-packages@da8876faa6fc1792f4d2ea2d4b667d3bbe46d868.
 --- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
 +++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
   #include <net/if.h>
   #include <sys/ioctl.h>
  
-- #if ! JUCE_ANDROID
-+ #if ! JUCE_ANDROID && defined(__GLIBC__)
+- #if ! (JUCE_ANDROID || JUCE_WASM)
++ #if ! (JUCE_ANDROID || JUCE_WASM) && defined(__GLIBC__)
    #include <execinfo.h>
   #endif
  #endif
-diff --git a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-index 2d7faa3..f132405 100644
---- a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-+++ b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-@@ -139,8 +139,15 @@ static String getLocaleValue (nl_item key)
-     return result;
- }
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
+@@ -198,7 +198,7 @@
  
-+#if defined(__GLIBC__)
- String SystemStats::getUserLanguage()     { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
- String SystemStats::getUserRegion()       { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
-+#else
-+// The identifiers _NL_INDENTIFICATION_LANGUAGE and _TERRIRTORY are not defined in musl libc.
-+// TODO: Find a better fix than just returning nonsense. Inspect env("LANG") perhaps?
-+String SystemStats::getUserLanguage()     { return String("en"); }
-+String SystemStats::getUserRegion()       { return String("US"); }
-+#endif
- String SystemStats::getDisplayLanguage()  { return getUserLanguage() + "-" + getUserRegion(); }
+ String SystemStats::getUserLanguage()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     if (auto langEnv = getenv ("LANG"))
+         return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+ 
+@@ -210,7 +210,7 @@
  
- //==============================================================================
-diff --git a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-index 757ea24..6b61e16 100644
+ String SystemStats::getUserRegion()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     return {};
+    #else
+     return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
 --- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
 +++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-@@ -138,7 +138,7 @@ String SystemStats::getStackBacktrace()
+@@ -178,7 +178,7 @@
  {
      String result;
  
--   #if JUCE_ANDROID || JUCE_MINGW
-+   #if JUCE_ANDROID || JUCE_MINGW || !defined(__GLIBC__)
+-   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM || !defined(__GLIBC__)
      jassertfalse; // sorry, not implemented yet!
  
     #elif JUCE_WINDOWS
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 7398853c612b19..545b64ed4b93b9 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -1,6 +1,6 @@
 # Template file for 'libopenshot-audio'
 pkgname=libopenshot-audio
-version=0.3.2
+version=0.4.0
 revision=1
 build_style=cmake
 hostmakedepends="doxygen"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot-audio"
 distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
-checksum=f09d5251c934e6c14d98217b44574c508318c8575e47f5c48ffaf54d9bbce3e9
+checksum=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704
 
 libopenshot-audio-devel_package() {
 	short_desc+=" - development files"

From e81ddb7c6ce95f9765872e7a7ed4c93a6bed6f23 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:52:50 +0200
Subject: [PATCH 2/4] libopenshot-audio: add doc subpackage

---
 srcpkgs/libopenshot-audio-doc      | 1 +
 srcpkgs/libopenshot-audio/template | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 120000 srcpkgs/libopenshot-audio-doc

diff --git a/srcpkgs/libopenshot-audio-doc b/srcpkgs/libopenshot-audio-doc
new file mode 120000
index 00000000000000..9574f3d5bbe95b
--- /dev/null
+++ b/srcpkgs/libopenshot-audio-doc
@@ -0,0 +1 @@
+libopenshot-audio
\ No newline at end of file
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 545b64ed4b93b9..45f442eb03aded 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -22,3 +22,10 @@ libopenshot-audio-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+libopenshot-audio-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

From 531a186b29db097b1acdbedee4f74f52bc14e811 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:09 +0200
Subject: [PATCH 3/4] libopenshot: update to 0.4.0.

---
 common/shlibs                | 2 +-
 srcpkgs/libopenshot/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 09a1e877ab14a4..56a32235d0aad5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2666,7 +2666,7 @@ libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
 libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
-libopenshot.so.25 libopenshot-0.3.2_1
+libopenshot.so.27 libopenshot-0.4.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 44c013d00863bf..2734fbf5bc2fa2 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenshot'
 pkgname=libopenshot
-version=0.3.2
-revision=3
+version=0.4.0
+revision=1
 build_style=cmake
 # Builds fail with Ruby-2.4.1
 configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot"
 distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
-checksum=58765cfc8aec199814346e97ce31a5618a261260b380670a6fb2bf6f68733638
+checksum=be0e760d81275543f7fbbf87863645748c3fe8aa8f4b5b771ff45a5d026bc9cc
 
 libopenshot-devel_package() {
 	short_desc+=" - development files"

From 381ead691395e0cec15faf6cb9e7902114d87435 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:25 +0200
Subject: [PATCH 4/4] openshot: update to 3.3.0.

---
 srcpkgs/openshot/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template
index c2da71db404731..56f188f569c199 100644
--- a/srcpkgs/openshot/template
+++ b/srcpkgs/openshot/template
@@ -1,7 +1,7 @@
 # Template file for 'openshot'
 pkgname=openshot
-version=3.1.1
-revision=3
+version=3.3.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3 python3-setuptools"
 makedepends="ffmpeg6-devel python3-PyQt5"
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.openshot.org"
 distfiles="https://github.com/OpenShot/openshot-qt/archive/v${version}.tar.gz"
-checksum=2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91
+checksum=f5471eec94d59830ea58351b93e69d4c56b42874d927fbd6482f83b9bb545d4f
 make_check=no # tests are broken

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (2 preceding siblings ...)
  2025-08-15 10:22 ` meator
@ 2025-08-15 10:29 ` meator
  2025-08-15 10:46 ` meator
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2025-08-15 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages openshot
https://github.com/void-linux/void-packages/pull/55085

Update openshot and its libraries
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/55085.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openshot-55085.patch --]
[-- Type: text/x-diff, Size: 12132 bytes --]

From ac64c135c39aaeb7e59eb5becde048250579b922 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:51:35 +0200
Subject: [PATCH 1/4] libopenshot-audio: update to 0.4.0

---
 common/shlibs                                 |  2 +-
 ...l-compilation-error-related-to-LFS64.patch | 45 +++++++++++++
 .../libopenshot-audio/patches/fix-musl.patch  | 63 ++++++++++---------
 srcpkgs/libopenshot-audio/template            |  4 +-
 4 files changed, 83 insertions(+), 31 deletions(-)
 create mode 100644 srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch

diff --git a/common/shlibs b/common/shlibs
index 4977889f73b990..09a1e877ab14a4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2665,7 +2665,7 @@ libax25io.so.0 libax25-0.0.12rc4_1
 libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
-libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
+libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
 libopenshot.so.25 libopenshot-0.3.2_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
diff --git a/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
new file mode 100644
index 00000000000000..7c3e45682604f5
--- /dev/null
+++ b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
@@ -0,0 +1,45 @@
+From 35c6b259de5f4d4b47c850f0a33a37e8faac693d Mon Sep 17 00:00:00 2001
+From: meator <meator.dev@gmail.com>
+Date: Fri, 15 Aug 2025 10:54:13 +0200
+Subject: [PATCH] Fix musl compilation error related to LFS64
+
+Source: https://github.com/OpenShot/libopenshot-audio/pull/167
+
+LFS64 interfaces are deprecated in musl, since they are not needed
+there. See notes for musl-1.2.4.tar.gz in
+https://musl.libc.org/releases.html and also
+https://wiki.gentoo.org/wiki/Musl_porting_notes#error:_LFS64_interfaces_.28.2A64_undeclared_here.2C_ex._pread64.29
+---
+ CMakeLists.txt                                               | 5 +++++
+ .../modules/juce_core/native/juce_SharedCode_posix.h         | 2 +-
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index baefd119..9fbf6ee1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -254,6 +254,11 @@ if(APPLE)
+     -flax-vector-conversions)
+ endif()
+ 
++# Enforce LFS64 in glibc.
++if(UNIX AND NOT APPLE)
++  target_compile_definitions(openshot-audio PUBLIC _FILE_OFFSET_BITS=64)
++endif()
++
+ # ALSA (Linux only)
+ if(UNIX AND NOT APPLE)
+   set(NEED_ALSA TRUE)
+diff --git a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+index d61c4de3..87e8edc8 100644
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+@@ -166,7 +166,7 @@ int juce_siginterrupt ([[maybe_unused]] int sig, [[maybe_unused]] int flag)
+ //==============================================================================
+ namespace
+ {
+-   #if JUCE_LINUX || (JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T)) // (this iOS stuff is to avoid a simulator bug)
++   #if JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS stuff is to avoid a simulator bug)
+     using juce_statStruct = struct stat64;
+     #define JUCE_STAT  stat64
+    #else
diff --git a/srcpkgs/libopenshot-audio/patches/fix-musl.patch b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
index 532248c86217dc..c25386f364a640 100644
--- a/srcpkgs/libopenshot-audio/patches/fix-musl.patch
+++ b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
@@ -1,46 +1,53 @@
-diff --git a/JuceLibraryCode/modules/juce_core/juce_core.cpp b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-index 8bac812..e23b422 100644
+This patch disables some glibc-specific features on musl. Upstream appears to support
+many different platforms, some of which also lack the features musl lacks, but
+upstream provides no musl specific checks. This means that no extra code has to be
+added to support musl, only some of the preprocessor conditional statements have to
+be altered to also take musl into consideration.
+
+This patch only fixes compilation errors, there may still be some musl-related
+runtime errors.
+
+This patch is inspired by
+void-linux/void-packages@da8876faa6fc1792f4d2ea2d4b667d3bbe46d868.
 --- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
 +++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
   #include <net/if.h>
   #include <sys/ioctl.h>
  
-- #if ! JUCE_ANDROID
-+ #if ! JUCE_ANDROID && defined(__GLIBC__)
+- #if ! (JUCE_ANDROID || JUCE_WASM)
++ #if ! (JUCE_ANDROID || JUCE_WASM) && defined(__GLIBC__)
    #include <execinfo.h>
   #endif
  #endif
-diff --git a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-index 2d7faa3..f132405 100644
---- a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-+++ b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-@@ -139,8 +139,15 @@ static String getLocaleValue (nl_item key)
-     return result;
- }
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
+@@ -198,7 +198,7 @@
  
-+#if defined(__GLIBC__)
- String SystemStats::getUserLanguage()     { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
- String SystemStats::getUserRegion()       { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
-+#else
-+// The identifiers _NL_INDENTIFICATION_LANGUAGE and _TERRIRTORY are not defined in musl libc.
-+// TODO: Find a better fix than just returning nonsense. Inspect env("LANG") perhaps?
-+String SystemStats::getUserLanguage()     { return String("en"); }
-+String SystemStats::getUserRegion()       { return String("US"); }
-+#endif
- String SystemStats::getDisplayLanguage()  { return getUserLanguage() + "-" + getUserRegion(); }
+ String SystemStats::getUserLanguage()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     if (auto langEnv = getenv ("LANG"))
+         return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+ 
+@@ -210,7 +210,7 @@
  
- //==============================================================================
-diff --git a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-index 757ea24..6b61e16 100644
+ String SystemStats::getUserRegion()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     return {};
+    #else
+     return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
 --- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
 +++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-@@ -138,7 +138,7 @@ String SystemStats::getStackBacktrace()
+@@ -178,7 +178,7 @@
  {
      String result;
  
--   #if JUCE_ANDROID || JUCE_MINGW
-+   #if JUCE_ANDROID || JUCE_MINGW || !defined(__GLIBC__)
+-   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM || !defined(__GLIBC__)
      jassertfalse; // sorry, not implemented yet!
  
     #elif JUCE_WINDOWS
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 7398853c612b19..545b64ed4b93b9 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -1,6 +1,6 @@
 # Template file for 'libopenshot-audio'
 pkgname=libopenshot-audio
-version=0.3.2
+version=0.4.0
 revision=1
 build_style=cmake
 hostmakedepends="doxygen"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot-audio"
 distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
-checksum=f09d5251c934e6c14d98217b44574c508318c8575e47f5c48ffaf54d9bbce3e9
+checksum=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704
 
 libopenshot-audio-devel_package() {
 	short_desc+=" - development files"

From e81ddb7c6ce95f9765872e7a7ed4c93a6bed6f23 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:52:50 +0200
Subject: [PATCH 2/4] libopenshot-audio: add doc subpackage

---
 srcpkgs/libopenshot-audio-doc      | 1 +
 srcpkgs/libopenshot-audio/template | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 120000 srcpkgs/libopenshot-audio-doc

diff --git a/srcpkgs/libopenshot-audio-doc b/srcpkgs/libopenshot-audio-doc
new file mode 120000
index 00000000000000..9574f3d5bbe95b
--- /dev/null
+++ b/srcpkgs/libopenshot-audio-doc
@@ -0,0 +1 @@
+libopenshot-audio
\ No newline at end of file
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 545b64ed4b93b9..45f442eb03aded 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -22,3 +22,10 @@ libopenshot-audio-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+libopenshot-audio-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

From 531a186b29db097b1acdbedee4f74f52bc14e811 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:09 +0200
Subject: [PATCH 3/4] libopenshot: update to 0.4.0.

---
 common/shlibs                | 2 +-
 srcpkgs/libopenshot/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 09a1e877ab14a4..56a32235d0aad5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2666,7 +2666,7 @@ libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
 libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
-libopenshot.so.25 libopenshot-0.3.2_1
+libopenshot.so.27 libopenshot-0.4.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index 44c013d00863bf..2734fbf5bc2fa2 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenshot'
 pkgname=libopenshot
-version=0.3.2
-revision=3
+version=0.4.0
+revision=1
 build_style=cmake
 # Builds fail with Ruby-2.4.1
 configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot"
 distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
-checksum=58765cfc8aec199814346e97ce31a5618a261260b380670a6fb2bf6f68733638
+checksum=be0e760d81275543f7fbbf87863645748c3fe8aa8f4b5b771ff45a5d026bc9cc
 
 libopenshot-devel_package() {
 	short_desc+=" - development files"

From eb1657a92f3607a6fec03959713fa284f9d08f86 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:25 +0200
Subject: [PATCH 4/4] openshot: update to 3.3.0.

---
 srcpkgs/openshot/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template
index c2da71db404731..56f188f569c199 100644
--- a/srcpkgs/openshot/template
+++ b/srcpkgs/openshot/template
@@ -1,7 +1,7 @@
 # Template file for 'openshot'
 pkgname=openshot
-version=3.1.1
-revision=3
+version=3.3.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3 python3-setuptools"
 makedepends="ffmpeg6-devel python3-PyQt5"
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.openshot.org"
 distfiles="https://github.com/OpenShot/openshot-qt/archive/v${version}.tar.gz"
-checksum=2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91
+checksum=f5471eec94d59830ea58351b93e69d4c56b42874d927fbd6482f83b9bb545d4f
 make_check=no # tests are broken

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (3 preceding siblings ...)
  2025-08-15 10:29 ` meator
@ 2025-08-15 10:46 ` meator
  2025-11-15  2:08 ` github-actions
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2025-08-15 10:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/pull/55085#issuecomment-3191233309

Comment:
I have added a patch (sourced from a PR I made to upstream) that fixes musl compilation errors.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (4 preceding siblings ...)
  2025-08-15 10:46 ` meator
@ 2025-11-15  2:08 ` github-actions
  2025-11-16 18:15 ` meator
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2025-11-15  2:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/55085#issuecomment-3535404961

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (5 preceding siblings ...)
  2025-11-15  2:08 ` github-actions
@ 2025-11-16 18:15 ` meator
  2026-02-15  2:16 ` github-actions
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2025-11-16 18:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/pull/55085#issuecomment-3539084534

Comment:
bump

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (6 preceding siblings ...)
  2025-11-16 18:15 ` meator
@ 2026-02-15  2:16 ` github-actions
  2026-02-15 13:07 ` [PR PATCH] [Updated] " meator
  2026-02-15 20:18 ` [PR PATCH] [Merged]: " Johnnynator
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2026-02-15  2:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/55085#issuecomment-3903037079

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (7 preceding siblings ...)
  2026-02-15  2:16 ` github-actions
@ 2026-02-15 13:07 ` meator
  2026-02-15 20:18 ` [PR PATCH] [Merged]: " Johnnynator
  9 siblings, 0 replies; 11+ messages in thread
From: meator @ 2026-02-15 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages openshot
https://github.com/void-linux/void-packages/pull/55085

Update openshot and its libraries
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/55085.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openshot-55085.patch --]
[-- Type: text/x-diff, Size: 12132 bytes --]

From cf6ea09ed8fcff762992ba285d578729733ff5af Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:51:35 +0200
Subject: [PATCH 1/4] libopenshot-audio: update to 0.4.0

---
 common/shlibs                                 |  2 +-
 ...l-compilation-error-related-to-LFS64.patch | 45 +++++++++++++
 .../libopenshot-audio/patches/fix-musl.patch  | 63 ++++++++++---------
 srcpkgs/libopenshot-audio/template            |  4 +-
 4 files changed, 83 insertions(+), 31 deletions(-)
 create mode 100644 srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch

diff --git a/common/shlibs b/common/shlibs
index 592caebab85aa2..ca7ccf0cb657a2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2714,7 +2714,7 @@ libax25io.so.0 libax25-0.0.12rc4_1
 libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
-libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
+libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
 libopenshot.so.25 libopenshot-0.3.2_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
diff --git a/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
new file mode 100644
index 00000000000000..7c3e45682604f5
--- /dev/null
+++ b/srcpkgs/libopenshot-audio/patches/0001-Fix-musl-compilation-error-related-to-LFS64.patch
@@ -0,0 +1,45 @@
+From 35c6b259de5f4d4b47c850f0a33a37e8faac693d Mon Sep 17 00:00:00 2001
+From: meator <meator.dev@gmail.com>
+Date: Fri, 15 Aug 2025 10:54:13 +0200
+Subject: [PATCH] Fix musl compilation error related to LFS64
+
+Source: https://github.com/OpenShot/libopenshot-audio/pull/167
+
+LFS64 interfaces are deprecated in musl, since they are not needed
+there. See notes for musl-1.2.4.tar.gz in
+https://musl.libc.org/releases.html and also
+https://wiki.gentoo.org/wiki/Musl_porting_notes#error:_LFS64_interfaces_.28.2A64_undeclared_here.2C_ex._pread64.29
+---
+ CMakeLists.txt                                               | 5 +++++
+ .../modules/juce_core/native/juce_SharedCode_posix.h         | 2 +-
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index baefd119..9fbf6ee1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -254,6 +254,11 @@ if(APPLE)
+     -flax-vector-conversions)
+ endif()
+ 
++# Enforce LFS64 in glibc.
++if(UNIX AND NOT APPLE)
++  target_compile_definitions(openshot-audio PUBLIC _FILE_OFFSET_BITS=64)
++endif()
++
+ # ALSA (Linux only)
+ if(UNIX AND NOT APPLE)
+   set(NEED_ALSA TRUE)
+diff --git a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+index d61c4de3..87e8edc8 100644
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SharedCode_posix.h
+@@ -166,7 +166,7 @@ int juce_siginterrupt ([[maybe_unused]] int sig, [[maybe_unused]] int flag)
+ //==============================================================================
+ namespace
+ {
+-   #if JUCE_LINUX || (JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T)) // (this iOS stuff is to avoid a simulator bug)
++   #if JUCE_IOS && (! TARGET_OS_MACCATALYST) && (! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS stuff is to avoid a simulator bug)
+     using juce_statStruct = struct stat64;
+     #define JUCE_STAT  stat64
+    #else
diff --git a/srcpkgs/libopenshot-audio/patches/fix-musl.patch b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
index 532248c86217dc..c25386f364a640 100644
--- a/srcpkgs/libopenshot-audio/patches/fix-musl.patch
+++ b/srcpkgs/libopenshot-audio/patches/fix-musl.patch
@@ -1,46 +1,53 @@
-diff --git a/JuceLibraryCode/modules/juce_core/juce_core.cpp b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-index 8bac812..e23b422 100644
+This patch disables some glibc-specific features on musl. Upstream appears to support
+many different platforms, some of which also lack the features musl lacks, but
+upstream provides no musl specific checks. This means that no extra code has to be
+added to support musl, only some of the preprocessor conditional statements have to
+be altered to also take musl into consideration.
+
+This patch only fixes compilation errors, there may still be some musl-related
+runtime errors.
+
+This patch is inspired by
+void-linux/void-packages@da8876faa6fc1792f4d2ea2d4b667d3bbe46d868.
 --- a/JuceLibraryCode/modules/juce_core/juce_core.cpp
 +++ b/JuceLibraryCode/modules/juce_core/juce_core.cpp
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
   #include <net/if.h>
   #include <sys/ioctl.h>
  
-- #if ! JUCE_ANDROID
-+ #if ! JUCE_ANDROID && defined(__GLIBC__)
+- #if ! (JUCE_ANDROID || JUCE_WASM)
++ #if ! (JUCE_ANDROID || JUCE_WASM) && defined(__GLIBC__)
    #include <execinfo.h>
   #endif
  #endif
-diff --git a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-index 2d7faa3..f132405 100644
---- a/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-+++ b/JuceLibraryCode/modules/juce_core/native/juce_linux_SystemStats.cpp
-@@ -139,8 +139,15 @@ static String getLocaleValue (nl_item key)
-     return result;
- }
+--- a/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
++++ b/JuceLibraryCode/modules/juce_core/native/juce_SystemStats_linux.cpp
+@@ -198,7 +198,7 @@
  
-+#if defined(__GLIBC__)
- String SystemStats::getUserLanguage()     { return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); }
- String SystemStats::getUserRegion()       { return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); }
-+#else
-+// The identifiers _NL_INDENTIFICATION_LANGUAGE and _TERRIRTORY are not defined in musl libc.
-+// TODO: Find a better fix than just returning nonsense. Inspect env("LANG") perhaps?
-+String SystemStats::getUserLanguage()     { return String("en"); }
-+String SystemStats::getUserRegion()       { return String("US"); }
-+#endif
- String SystemStats::getDisplayLanguage()  { return getUserLanguage() + "-" + getUserRegion(); }
+ String SystemStats::getUserLanguage()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     if (auto langEnv = getenv ("LANG"))
+         return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+ 
+@@ -210,7 +210,7 @@
  
- //==============================================================================
-diff --git a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-index 757ea24..6b61e16 100644
+ String SystemStats::getUserRegion()
+ {
+-   #if JUCE_BSD
++   #if JUCE_BSD || !defined(__GLIBC__)
+     return {};
+    #else
+     return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
 --- a/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
 +++ b/JuceLibraryCode/modules/juce_core/system/juce_SystemStats.cpp
-@@ -138,7 +138,7 @@ String SystemStats::getStackBacktrace()
+@@ -178,7 +178,7 @@
  {
      String result;
  
--   #if JUCE_ANDROID || JUCE_MINGW
-+   #if JUCE_ANDROID || JUCE_MINGW || !defined(__GLIBC__)
+-   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_WASM || !defined(__GLIBC__)
      jassertfalse; // sorry, not implemented yet!
  
     #elif JUCE_WINDOWS
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 7398853c612b19..545b64ed4b93b9 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -1,6 +1,6 @@
 # Template file for 'libopenshot-audio'
 pkgname=libopenshot-audio
-version=0.3.2
+version=0.4.0
 revision=1
 build_style=cmake
 hostmakedepends="doxygen"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot-audio"
 distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
-checksum=f09d5251c934e6c14d98217b44574c508318c8575e47f5c48ffaf54d9bbce3e9
+checksum=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704
 
 libopenshot-audio-devel_package() {
 	short_desc+=" - development files"

From d61d63bea004cc99ef2fb350317fb6a21ad5475f Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:52:50 +0200
Subject: [PATCH 2/4] libopenshot-audio: add doc subpackage

---
 srcpkgs/libopenshot-audio-doc      | 1 +
 srcpkgs/libopenshot-audio/template | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 120000 srcpkgs/libopenshot-audio-doc

diff --git a/srcpkgs/libopenshot-audio-doc b/srcpkgs/libopenshot-audio-doc
new file mode 120000
index 00000000000000..9574f3d5bbe95b
--- /dev/null
+++ b/srcpkgs/libopenshot-audio-doc
@@ -0,0 +1 @@
+libopenshot-audio
\ No newline at end of file
diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template
index 545b64ed4b93b9..45f442eb03aded 100644
--- a/srcpkgs/libopenshot-audio/template
+++ b/srcpkgs/libopenshot-audio/template
@@ -22,3 +22,10 @@ libopenshot-audio-devel_package() {
 		vmove "usr/lib/*.so"
 	}
 }
+
+libopenshot-audio-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

From 59274263a49613b6e254bf05ac8df240c9c26552 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:09 +0200
Subject: [PATCH 3/4] libopenshot: update to 0.4.0.

---
 common/shlibs                | 2 +-
 srcpkgs/libopenshot/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index ca7ccf0cb657a2..318c2e1d31d5dd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2715,7 +2715,7 @@ libmill.so.18 libmill-1.14_1
 libges-1.0.so.0 gst1-editing-services-1.6.2_1
 libykneomgr.so.0 libykneomgr-0.1.8_1
 libopenshot-audio.so.10 libopenshot-audio-0.4.0_1
-libopenshot.so.25 libopenshot-0.3.2_1
+libopenshot.so.27 libopenshot-0.4.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template
index c14ca23766acc7..2734fbf5bc2fa2 100644
--- a/srcpkgs/libopenshot/template
+++ b/srcpkgs/libopenshot/template
@@ -1,7 +1,7 @@
 # Template file for 'libopenshot'
 pkgname=libopenshot
-version=0.3.2
-revision=4
+version=0.4.0
+revision=1
 build_style=cmake
 # Builds fail with Ruby-2.4.1
 configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
@@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/OpenShot/libopenshot"
 distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
-checksum=58765cfc8aec199814346e97ce31a5618a261260b380670a6fb2bf6f68733638
+checksum=be0e760d81275543f7fbbf87863645748c3fe8aa8f4b5b771ff45a5d026bc9cc
 
 libopenshot-devel_package() {
 	short_desc+=" - development files"

From 3098b396cb1fdf3d1aca654b9bdabd81a0d049ad Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 20:53:25 +0200
Subject: [PATCH 4/4] openshot: update to 3.3.0.

---
 srcpkgs/openshot/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/openshot/template b/srcpkgs/openshot/template
index 86c8f43a4ae2db..56f188f569c199 100644
--- a/srcpkgs/openshot/template
+++ b/srcpkgs/openshot/template
@@ -1,7 +1,7 @@
 # Template file for 'openshot'
 pkgname=openshot
-version=3.1.1
-revision=4
+version=3.3.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3 python3-setuptools"
 makedepends="ffmpeg6-devel python3-PyQt5"
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.openshot.org"
 distfiles="https://github.com/OpenShot/openshot-qt/archive/v${version}.tar.gz"
-checksum=2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91
+checksum=f5471eec94d59830ea58351b93e69d4c56b42874d927fbd6482f83b9bb545d4f
 make_check=no # tests are broken

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Merged]: Update openshot and its libraries
  2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
                   ` (8 preceding siblings ...)
  2026-02-15 13:07 ` [PR PATCH] [Updated] " meator
@ 2026-02-15 20:18 ` Johnnynator
  9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2026-02-15 20:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

There's a merged pull request on the void-packages repository

Update openshot and its libraries
https://github.com/void-linux/void-packages/pull/55085

Description:
This PR updates openshot and its libraries + it adapts `libopenshot-audio`'s musl patch to the newer version.

#### Testing the changes
- I tested the changes in this PR: **NO** (testing would be appreciated)

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-02-15 20:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 18:58 [PR PATCH] Update openshot and its libraries meator
2025-08-15  2:14 ` github-actions
2025-08-15  7:47 ` [PR PATCH] [Updated] " meator
2025-08-15 10:22 ` meator
2025-08-15 10:29 ` meator
2025-08-15 10:46 ` meator
2025-11-15  2:08 ` github-actions
2025-11-16 18:15 ` meator
2026-02-15  2:16 ` github-actions
2026-02-15 13:07 ` [PR PATCH] [Updated] " meator
2026-02-15 20:18 ` [PR PATCH] [Merged]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).