* [PR PATCH] New package: glaxnimate-0.5.1
@ 2023-01-22 0:50 classabbyamp
2023-01-22 0:57 ` [PR PATCH] [Updated] " classabbyamp
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: classabbyamp @ 2023-01-22 0:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/glaxnimate
https://github.com/void-linux/void-packages/pull/41792
New package: glaxnimate-0.5.1
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41792.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/glaxnimate-41792.patch --]
[-- Type: text/x-diff, Size: 8543 bytes --]
From 63b56acc03476a5afb5ca2bb347056b0502840c6 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:45:11 -0500
Subject: [PATCH 1/3] New package: python3-lottie-0.7.0
---
srcpkgs/python3-lottie/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-lottie/template
diff --git a/srcpkgs/python3-lottie/template b/srcpkgs/python3-lottie/template
new file mode 100644
index 000000000000..c20b88cc0dda
--- /dev/null
+++ b/srcpkgs/python3-lottie/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-lottie'
+pkgname=python3-lottie
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Framework to work with lottie files and telegram animated stickers"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="AGPL-3.0-or-later"
+homepage="https://mattbas.gitlab.io/python-lottie/"
+changelog="https://gitlab.com/mattbas/python-lottie/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/python-lottie/-/archive/v${version}/python-lottie-v${version}.tar.gz"
+checksum=f57e6ad3ea2c8f337c8e188975e04d2cd7d3cea502bccd7896c438e84c140d64
+
+post_install() {
+ vlicense COPYING
+}
From 45a65a9913458536edf927c568e70d6aede86760 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:47:41 -0500
Subject: [PATCH 2/3] New package: glaxnimate-0.5.1
---
.../patches/no-vendor-breeze-lottie.patch | 25 +++++++++++
.../glaxnimate/patches/system-pybind11.patch | 23 ++++++++++
srcpkgs/glaxnimate/template | 42 +++++++++++++++++++
3 files changed, 90 insertions(+)
create mode 100644 srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
create mode 100644 srcpkgs/glaxnimate/patches/system-pybind11.patch
create mode 100644 srcpkgs/glaxnimate/template
diff --git a/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
new file mode 100644
index 000000000000..dd6596a5aa13
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
@@ -0,0 +1,25 @@
+--- a/glaxnimate-0.5.1/data/CMakeLists.txt
++++ b/glaxnimate-0.5.1/data/CMakeLists.txt
+@@ -6,12 +6,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${ASSETS_PATH})
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${ASSETS_PATH})
+ else()
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons-dark DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+-
+- install(DIRECTORY icons/breeze-icons/icons DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+- install(DIRECTORY icons/breeze-icons/icons-dark DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY images DESTINATION ${DATA_INSTALL})
+
+@@ -21,9 +15,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY templates DESTINATION ${DATA_INSTALL})
+
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lib/python-lottie/lib/lottie DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/lib/)
+- install(DIRECTORY lib/python-lottie/lib/lottie DESTINATION ${DATA_INSTALL}/lib/)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/emoji DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY emoji DESTINATION ${DATA_INSTALL})
+ endif()
diff --git a/srcpkgs/glaxnimate/patches/system-pybind11.patch b/srcpkgs/glaxnimate/patches/system-pybind11.patch
new file mode 100644
index 000000000000..d6e4b15c4962
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/system-pybind11.patch
@@ -0,0 +1,23 @@
+--- a/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
++++ b/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
+@@ -31,11 +31,11 @@
+ if(Python3_FOUND AND SCRIPTING_PY)
+ set(PYTHON_ENABLED ON PARENT_SCOPE)
+ message(STATUS "Python3 enabled")
+- add_subdirectory(external/pybind11)
++ find_package(pybind11 REQUIRED)
+ add_subdirectory(src/app/scripting/python)
+ target_include_directories (${PROJECT_SLUG} PUBLIC
+ ${Python3_INCLUDE_DIRS}
+- ${CMAKE_CURRENT_SOURCE_DIR}/external/pybind11/include
++ ${pybind11_INCLUDE_DIR}
+ )
+ else()
+ set(PYTHON_ENABLED OFF PARENT_SCOPE)
+--- a/glaxnimate-0.5.1/src/python/CMakeLists.txt
++++ b/glaxnimate-0.5.1/src/python/CMakeLists.txt
+@@ -1,3 +1,4 @@
++find_package(pybind11 REQUIRED)
+ set(SOURCES
+ python.cpp
+ miscdefs.cpp
diff --git a/srcpkgs/glaxnimate/template b/srcpkgs/glaxnimate/template
new file mode 100644
index 000000000000..d12bd835b86b
--- /dev/null
+++ b/srcpkgs/glaxnimate/template
@@ -0,0 +1,42 @@
+# Template file for 'glaxnimate'
+pkgname=glaxnimate
+version=0.5.1
+revision=1
+_cmake_modules_version=c97690cc0024a1842cd8de71334a2ee9c5f7e729
+_cmake_lib_version=8af80b5668dbc6a0210e09a969a1b43fc99f39ba
+_color_widgets_version=091c29463bbeec1a672598af4597055ba24842cd
+_history_lineedit_version=5b761f436e8b31491e06b26460d28a2eaef0babc
+build_wrksrc="$pkgname-$version"
+build_style=cmake
+configure_args="-DVERSION_SUFFIX= -DSCRIPTING_JS=ON -DSCRIPTING_PY=ON
+ -Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11/"
+# hostmakedepends=""
+makedepends="qt5-devel qt5-tools-devel qt5-core qt5-widgets qt5-xml
+ qt5-concurrent qt5-network qt5-svg-devel potrace-devel python3-devel
+ python3-pybind11 ffmpeg-devel libarchive-devel"
+depends="python3-lottie breeze-icons qt5-imageformats"
+checkdepends="qt5-test"
+short_desc="Simple vector animation program"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://glaxnimate.mattbas.org"
+changelog="https://gitlab.com/mattbas/glaxnimate/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/glaxnimate/-/archive/${version}/glaxnimate-${version}.tar.gz
+ https://github.com/rpavlik/cmake-modules/archive/${_cmake_modules_version}.tar.gz
+ https://gitlab.com/mattbas/CMake-Lib/-/archive/${_cmake_lib_version}/CMake-Lib-${_cmake_lib_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${_color_widgets_version}/Qt-Color-Widgets-${_color_widgets_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${_history_lineedit_version}/Qt-History-LineEdit-${_history_lineedit_version}.tar.gz"
+checksum="77d9bee22bb58f2a6ecd082adad06a092ee60d0eafbd3b4bd8ae93936a9274be
+ 5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273
+ ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57
+ 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9
+ 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9"
+
+post_extract() {
+ cd $build_wrksrc
+ rm -r cmake external/cmake-modules external/Qt-Color-Widgets external/Qt-History-LineEdit
+ cp -r ../CMake-Lib-${_cmake_lib_version}/ cmake
+ cp -r ../cmake-modules-${_cmake_modules_version}/ external/cmake-modules
+ cp -r ../Qt-Color-Widgets-${_color_widgets_version}/ external/Qt-Color-Widgets
+ cp -r ../Qt-History-LineEdit-${_history_lineedit_version}/ external/Qt-History-LineEdit
+}
From 14e9ead45e93da5719227c68a2ee456f0a0f83bb Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:48:03 -0500
Subject: [PATCH 3/3] kdenlive: add missing dependencies
---
srcpkgs/kdenlive/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kdenlive/template b/srcpkgs/kdenlive/template
index 8beba85981c9..edc8c8f5a031 100644
--- a/srcpkgs/kdenlive/template
+++ b/srcpkgs/kdenlive/template
@@ -1,7 +1,7 @@
# Template file for 'kdenlive'
pkgname=kdenlive
version=22.12.1
-revision=1
+revision=2
build_style=cmake
hostmakedepends="
extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
@@ -10,7 +10,8 @@ makedepends="
kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel"
-depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols"
+depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
+ glaxnimate mediainfo kirigami2"
checkdepends="$depends"
short_desc="Non-linear video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
@ 2023-01-22 0:57 ` classabbyamp
2023-01-22 1:46 ` classabbyamp
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2023-01-22 0:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/glaxnimate
https://github.com/void-linux/void-packages/pull/41792
New package: glaxnimate-0.5.1
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41792.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/glaxnimate-41792.patch --]
[-- Type: text/x-diff, Size: 8634 bytes --]
From 2cf4ab34b7be25c46bfa47de15f868e9c04e6718 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:45:11 -0500
Subject: [PATCH 1/3] New package: python3-lottie-0.7.0
---
srcpkgs/python3-lottie/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-lottie/template
diff --git a/srcpkgs/python3-lottie/template b/srcpkgs/python3-lottie/template
new file mode 100644
index 000000000000..7427f7ca2805
--- /dev/null
+++ b/srcpkgs/python3-lottie/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-lottie'
+pkgname=python3-lottie
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Framework to work with lottie files and telegram animated stickers"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="AGPL-3.0-or-later"
+homepage="https://mattbas.gitlab.io/python-lottie/"
+changelog="https://gitlab.com/mattbas/python-lottie/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/python-lottie/-/archive/v${version}/python-lottie-v${version}.tar.gz"
+checksum=f57e6ad3ea2c8f337c8e188975e04d2cd7d3cea502bccd7896c438e84c140d64
+make_check=no # TypeError: Please update the Color constructor
+
+post_install() {
+ vlicense COPYING
+}
From f81a9820a36ec1670d041eb80dea765c3c91c4e5 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:47:41 -0500
Subject: [PATCH 2/3] New package: glaxnimate-0.5.1
---
.../patches/no-vendor-breeze-lottie.patch | 25 +++++++++++
.../glaxnimate/patches/system-pybind11.patch | 23 ++++++++++
srcpkgs/glaxnimate/template | 42 +++++++++++++++++++
3 files changed, 90 insertions(+)
create mode 100644 srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
create mode 100644 srcpkgs/glaxnimate/patches/system-pybind11.patch
create mode 100644 srcpkgs/glaxnimate/template
diff --git a/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
new file mode 100644
index 000000000000..dd6596a5aa13
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
@@ -0,0 +1,25 @@
+--- a/glaxnimate-0.5.1/data/CMakeLists.txt
++++ b/glaxnimate-0.5.1/data/CMakeLists.txt
+@@ -6,12 +6,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${ASSETS_PATH})
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${ASSETS_PATH})
+ else()
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons-dark DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+-
+- install(DIRECTORY icons/breeze-icons/icons DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+- install(DIRECTORY icons/breeze-icons/icons-dark DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY images DESTINATION ${DATA_INSTALL})
+
+@@ -21,9 +15,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY templates DESTINATION ${DATA_INSTALL})
+
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lib/python-lottie/lib/lottie DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/lib/)
+- install(DIRECTORY lib/python-lottie/lib/lottie DESTINATION ${DATA_INSTALL}/lib/)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/emoji DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY emoji DESTINATION ${DATA_INSTALL})
+ endif()
diff --git a/srcpkgs/glaxnimate/patches/system-pybind11.patch b/srcpkgs/glaxnimate/patches/system-pybind11.patch
new file mode 100644
index 000000000000..d6e4b15c4962
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/system-pybind11.patch
@@ -0,0 +1,23 @@
+--- a/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
++++ b/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
+@@ -31,11 +31,11 @@
+ if(Python3_FOUND AND SCRIPTING_PY)
+ set(PYTHON_ENABLED ON PARENT_SCOPE)
+ message(STATUS "Python3 enabled")
+- add_subdirectory(external/pybind11)
++ find_package(pybind11 REQUIRED)
+ add_subdirectory(src/app/scripting/python)
+ target_include_directories (${PROJECT_SLUG} PUBLIC
+ ${Python3_INCLUDE_DIRS}
+- ${CMAKE_CURRENT_SOURCE_DIR}/external/pybind11/include
++ ${pybind11_INCLUDE_DIR}
+ )
+ else()
+ set(PYTHON_ENABLED OFF PARENT_SCOPE)
+--- a/glaxnimate-0.5.1/src/python/CMakeLists.txt
++++ b/glaxnimate-0.5.1/src/python/CMakeLists.txt
+@@ -1,3 +1,4 @@
++find_package(pybind11 REQUIRED)
+ set(SOURCES
+ python.cpp
+ miscdefs.cpp
diff --git a/srcpkgs/glaxnimate/template b/srcpkgs/glaxnimate/template
new file mode 100644
index 000000000000..f209271708e2
--- /dev/null
+++ b/srcpkgs/glaxnimate/template
@@ -0,0 +1,42 @@
+# Template file for 'glaxnimate'
+pkgname=glaxnimate
+version=0.5.1
+revision=1
+_cmake_modules_version=c97690cc0024a1842cd8de71334a2ee9c5f7e729
+_cmake_lib_version=8af80b5668dbc6a0210e09a969a1b43fc99f39ba
+_color_widgets_version=091c29463bbeec1a672598af4597055ba24842cd
+_history_lineedit_version=5b761f436e8b31491e06b26460d28a2eaef0babc
+build_wrksrc="$pkgname-$version"
+build_style=cmake
+configure_args="-DVERSION_SUFFIX= -DSCRIPTING_JS=ON -DSCRIPTING_PY=ON
+ -Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11/"
+hostmakedepends="python3"
+makedepends="qt5-devel qt5-tools-devel qt5-core qt5-widgets qt5-xml
+ qt5-concurrent qt5-network qt5-svg-devel potrace-devel python3-devel
+ python3-pybind11 ffmpeg-devel libarchive-devel"
+depends="python3-lottie breeze-icons qt5-imageformats"
+checkdepends="qt5-test"
+short_desc="Simple vector animation program"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://glaxnimate.mattbas.org"
+changelog="https://gitlab.com/mattbas/glaxnimate/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/glaxnimate/-/archive/${version}/glaxnimate-${version}.tar.gz
+ https://github.com/rpavlik/cmake-modules/archive/${_cmake_modules_version}.tar.gz
+ https://gitlab.com/mattbas/CMake-Lib/-/archive/${_cmake_lib_version}/CMake-Lib-${_cmake_lib_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${_color_widgets_version}/Qt-Color-Widgets-${_color_widgets_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${_history_lineedit_version}/Qt-History-LineEdit-${_history_lineedit_version}.tar.gz"
+checksum="77d9bee22bb58f2a6ecd082adad06a092ee60d0eafbd3b4bd8ae93936a9274be
+ 5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273
+ ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57
+ 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9
+ 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9"
+
+post_extract() {
+ cd $build_wrksrc
+ rm -r cmake external/cmake-modules external/Qt-Color-Widgets external/Qt-History-LineEdit
+ cp -r ../CMake-Lib-${_cmake_lib_version}/ cmake
+ cp -r ../cmake-modules-${_cmake_modules_version}/ external/cmake-modules
+ cp -r ../Qt-Color-Widgets-${_color_widgets_version}/ external/Qt-Color-Widgets
+ cp -r ../Qt-History-LineEdit-${_history_lineedit_version}/ external/Qt-History-LineEdit
+}
From 43ad2bc0c170633e54ceff0c8ef42f6bca0bb98c Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:48:03 -0500
Subject: [PATCH 3/3] kdenlive: add missing dependencies
---
srcpkgs/kdenlive/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kdenlive/template b/srcpkgs/kdenlive/template
index 8beba85981c9..1eaef55839bb 100644
--- a/srcpkgs/kdenlive/template
+++ b/srcpkgs/kdenlive/template
@@ -1,7 +1,7 @@
# Template file for 'kdenlive'
pkgname=kdenlive
version=22.12.1
-revision=1
+revision=2
build_style=cmake
hostmakedepends="
extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
@@ -10,7 +10,8 @@ makedepends="
kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel"
-depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols"
+depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
+ qt5-graphicaleffects kirigami2 glaxnimate mediainfo"
checkdepends="$depends"
short_desc="Non-linear video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
2023-01-22 0:57 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-01-22 1:46 ` classabbyamp
2023-02-09 20:05 ` [PR REVIEW] " JamiKettunen
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2023-01-22 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/glaxnimate
https://github.com/void-linux/void-packages/pull/41792
New package: glaxnimate-0.5.1
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41792.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/glaxnimate-41792.patch --]
[-- Type: text/x-diff, Size: 8659 bytes --]
From 2cf4ab34b7be25c46bfa47de15f868e9c04e6718 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:45:11 -0500
Subject: [PATCH 1/3] New package: python3-lottie-0.7.0
---
srcpkgs/python3-lottie/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-lottie/template
diff --git a/srcpkgs/python3-lottie/template b/srcpkgs/python3-lottie/template
new file mode 100644
index 000000000000..7427f7ca2805
--- /dev/null
+++ b/srcpkgs/python3-lottie/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-lottie'
+pkgname=python3-lottie
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Framework to work with lottie files and telegram animated stickers"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="AGPL-3.0-or-later"
+homepage="https://mattbas.gitlab.io/python-lottie/"
+changelog="https://gitlab.com/mattbas/python-lottie/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/python-lottie/-/archive/v${version}/python-lottie-v${version}.tar.gz"
+checksum=f57e6ad3ea2c8f337c8e188975e04d2cd7d3cea502bccd7896c438e84c140d64
+make_check=no # TypeError: Please update the Color constructor
+
+post_install() {
+ vlicense COPYING
+}
From 02937014c37449d0a162d58b58edf656c8a0c7d4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:47:41 -0500
Subject: [PATCH 2/3] New package: glaxnimate-0.5.1
closes #40689
---
.../patches/no-vendor-breeze-lottie.patch | 25 +++++++++++
.../glaxnimate/patches/system-pybind11.patch | 23 ++++++++++
srcpkgs/glaxnimate/template | 42 +++++++++++++++++++
3 files changed, 90 insertions(+)
create mode 100644 srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
create mode 100644 srcpkgs/glaxnimate/patches/system-pybind11.patch
create mode 100644 srcpkgs/glaxnimate/template
diff --git a/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
new file mode 100644
index 000000000000..dd6596a5aa13
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
@@ -0,0 +1,25 @@
+--- a/glaxnimate-0.5.1/data/CMakeLists.txt
++++ b/glaxnimate-0.5.1/data/CMakeLists.txt
+@@ -6,12 +6,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${ASSETS_PATH})
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${ASSETS_PATH})
+ else()
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons-dark DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+-
+- install(DIRECTORY icons/breeze-icons/icons DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+- install(DIRECTORY icons/breeze-icons/icons-dark DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY images DESTINATION ${DATA_INSTALL})
+
+@@ -21,9 +15,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY templates DESTINATION ${DATA_INSTALL})
+
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lib/python-lottie/lib/lottie DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/lib/)
+- install(DIRECTORY lib/python-lottie/lib/lottie DESTINATION ${DATA_INSTALL}/lib/)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/emoji DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY emoji DESTINATION ${DATA_INSTALL})
+ endif()
diff --git a/srcpkgs/glaxnimate/patches/system-pybind11.patch b/srcpkgs/glaxnimate/patches/system-pybind11.patch
new file mode 100644
index 000000000000..d6e4b15c4962
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/system-pybind11.patch
@@ -0,0 +1,23 @@
+--- a/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
++++ b/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
+@@ -31,11 +31,11 @@
+ if(Python3_FOUND AND SCRIPTING_PY)
+ set(PYTHON_ENABLED ON PARENT_SCOPE)
+ message(STATUS "Python3 enabled")
+- add_subdirectory(external/pybind11)
++ find_package(pybind11 REQUIRED)
+ add_subdirectory(src/app/scripting/python)
+ target_include_directories (${PROJECT_SLUG} PUBLIC
+ ${Python3_INCLUDE_DIRS}
+- ${CMAKE_CURRENT_SOURCE_DIR}/external/pybind11/include
++ ${pybind11_INCLUDE_DIR}
+ )
+ else()
+ set(PYTHON_ENABLED OFF PARENT_SCOPE)
+--- a/glaxnimate-0.5.1/src/python/CMakeLists.txt
++++ b/glaxnimate-0.5.1/src/python/CMakeLists.txt
+@@ -1,3 +1,4 @@
++find_package(pybind11 REQUIRED)
+ set(SOURCES
+ python.cpp
+ miscdefs.cpp
diff --git a/srcpkgs/glaxnimate/template b/srcpkgs/glaxnimate/template
new file mode 100644
index 000000000000..19f2fc671f79
--- /dev/null
+++ b/srcpkgs/glaxnimate/template
@@ -0,0 +1,42 @@
+# Template file for 'glaxnimate'
+pkgname=glaxnimate
+version=0.5.1
+revision=1
+_cmake_modules_version=c97690cc0024a1842cd8de71334a2ee9c5f7e729
+_cmake_lib_version=8af80b5668dbc6a0210e09a969a1b43fc99f39ba
+_color_widgets_version=091c29463bbeec1a672598af4597055ba24842cd
+_history_lineedit_version=5b761f436e8b31491e06b26460d28a2eaef0babc
+build_wrksrc="$pkgname-$version"
+build_style=cmake
+configure_args="-DVERSION_SUFFIX= -DSCRIPTING_JS=ON -DSCRIPTING_PY=ON
+ -Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11/"
+hostmakedepends="python3 qt5-qmake qt5-host-tools"
+makedepends="qt5-devel qt5-tools-devel qt5-core qt5-widgets qt5-xml
+ qt5-concurrent qt5-network qt5-svg-devel potrace-devel python3-devel
+ python3-pybind11 ffmpeg-devel libarchive-devel"
+depends="python3-lottie breeze-icons qt5-imageformats"
+checkdepends="qt5-test"
+short_desc="Simple vector animation program"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://glaxnimate.mattbas.org"
+changelog="https://gitlab.com/mattbas/glaxnimate/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/glaxnimate/-/archive/${version}/glaxnimate-${version}.tar.gz
+ https://github.com/rpavlik/cmake-modules/archive/${_cmake_modules_version}.tar.gz
+ https://gitlab.com/mattbas/CMake-Lib/-/archive/${_cmake_lib_version}/CMake-Lib-${_cmake_lib_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${_color_widgets_version}/Qt-Color-Widgets-${_color_widgets_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${_history_lineedit_version}/Qt-History-LineEdit-${_history_lineedit_version}.tar.gz"
+checksum="77d9bee22bb58f2a6ecd082adad06a092ee60d0eafbd3b4bd8ae93936a9274be
+ 5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273
+ ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57
+ 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9
+ 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9"
+
+post_extract() {
+ cd $build_wrksrc
+ rm -r cmake external/cmake-modules external/Qt-Color-Widgets external/Qt-History-LineEdit
+ cp -r ../CMake-Lib-${_cmake_lib_version}/ cmake
+ cp -r ../cmake-modules-${_cmake_modules_version}/ external/cmake-modules
+ cp -r ../Qt-Color-Widgets-${_color_widgets_version}/ external/Qt-Color-Widgets
+ cp -r ../Qt-History-LineEdit-${_history_lineedit_version}/ external/Qt-History-LineEdit
+}
From d72c13676c98d478eee8fec636ce00f7c27a868a Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:48:03 -0500
Subject: [PATCH 3/3] kdenlive: add missing dependencies
---
srcpkgs/kdenlive/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kdenlive/template b/srcpkgs/kdenlive/template
index 8beba85981c9..9519d9bdb8ff 100644
--- a/srcpkgs/kdenlive/template
+++ b/srcpkgs/kdenlive/template
@@ -1,7 +1,7 @@
# Template file for 'kdenlive'
pkgname=kdenlive
version=22.12.1
-revision=1
+revision=2
build_style=cmake
hostmakedepends="
extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
@@ -10,7 +10,8 @@ makedepends="
kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel"
-depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols"
+depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
+ kirigami2 mediainfo"
checkdepends="$depends"
short_desc="Non-linear video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
2023-01-22 0:57 ` [PR PATCH] [Updated] " classabbyamp
2023-01-22 1:46 ` classabbyamp
@ 2023-02-09 20:05 ` JamiKettunen
2023-02-09 21:10 ` classabbyamp
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: JamiKettunen @ 2023-02-09 20:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
New review comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/41792#discussion_r1101962194
Comment:
Appears `qt5-graphicaleffects` might be missing too as per:
```
$ kdenlive
...
qrc:/qml/timeline.qml:1177:25: Type TrackHead unavailable
TrackHead {
^
qrc:/qml/TrackHead.qml:10:1: module "QtGraphicalEffects" is not installed
import QtGraphicalEffects 1.15
^
QObject::connect: Cannot connect (nullptr)::mousePosChanged(int) to MainWindow::slotUpdateMousePosition(int)
QObject::connect: Cannot connect (nullptr)::zoomIn(bool) to MainWindow::slotZoomIn(bool)
QObject::connect: Cannot connect (nullptr)::zoomOut(bool) to MainWindow::slotZoomOut(bool)
QObject::connect: Cannot connect (nullptr)::processingDrag(bool) to MainWindow::enableUndo(bool)
Segmentation fault
```
(full launch log https://termbin.com/ex3i)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (2 preceding siblings ...)
2023-02-09 20:05 ` [PR REVIEW] " JamiKettunen
@ 2023-02-09 21:10 ` classabbyamp
2023-02-09 21:12 ` [PR REVIEW] " JamiKettunen
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2023-02-09 21:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/41792#issuecomment-1424845524
Comment:
based on https://github.com/mltframework/mlt/issues/857 and https://gitlab.com/mattbas/glaxnimate/-/issues/545, it's not possible to get glaxnimate working with kdenlive yet without building it twice (yuck). however, the "missing component" message should be nonfatal.
I think I will keep this as a PR until it gets some more testing, but merge the kdenlive fix.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (3 preceding siblings ...)
2023-02-09 21:10 ` classabbyamp
@ 2023-02-09 21:12 ` JamiKettunen
2023-02-09 21:35 ` classabbyamp
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: JamiKettunen @ 2023-02-09 21:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]
New review comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/41792#discussion_r1101962194
Comment:
Appears `qt5-graphicaleffects` might be missing too as per:
```
$ kdenlive
...
qrc:/qml/timeline.qml:1177:25: Type TrackHead unavailable
TrackHead {
^
qrc:/qml/TrackHead.qml:10:1: module "QtGraphicalEffects" is not installed
import QtGraphicalEffects 1.15
^
QObject::connect: Cannot connect (nullptr)::mousePosChanged(int) to MainWindow::slotUpdateMousePosition(int)
QObject::connect: Cannot connect (nullptr)::zoomIn(bool) to MainWindow::slotZoomIn(bool)
QObject::connect: Cannot connect (nullptr)::zoomOut(bool) to MainWindow::slotZoomOut(bool)
QObject::connect: Cannot connect (nullptr)::processingDrag(bool) to MainWindow::enableUndo(bool)
Segmentation fault
```
(full launch log https://termbin.com/ex3i)
Installing the package makes `kdenlive` launch and seemingly work fine too.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (4 preceding siblings ...)
2023-02-09 21:12 ` [PR REVIEW] " JamiKettunen
@ 2023-02-09 21:35 ` classabbyamp
2023-02-09 22:04 ` [PR PATCH] [Updated] " classabbyamp
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2023-02-09 21:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/41792#discussion_r1102047575
Comment:
hm i have that installed but I still have the segfault
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (5 preceding siblings ...)
2023-02-09 21:35 ` classabbyamp
@ 2023-02-09 22:04 ` classabbyamp
2023-05-11 1:52 ` github-actions
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2023-02-09 22:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/glaxnimate
https://github.com/void-linux/void-packages/pull/41792
New package: glaxnimate-0.5.1
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41792.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/glaxnimate-41792.patch --]
[-- Type: text/x-diff, Size: 8680 bytes --]
From 314ce731e700d43f65016f85458a0ebb5d6a58e1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:45:11 -0500
Subject: [PATCH 1/3] New package: python3-lottie-0.7.0
---
srcpkgs/python3-lottie/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-lottie/template
diff --git a/srcpkgs/python3-lottie/template b/srcpkgs/python3-lottie/template
new file mode 100644
index 000000000000..7427f7ca2805
--- /dev/null
+++ b/srcpkgs/python3-lottie/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-lottie'
+pkgname=python3-lottie
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Framework to work with lottie files and telegram animated stickers"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="AGPL-3.0-or-later"
+homepage="https://mattbas.gitlab.io/python-lottie/"
+changelog="https://gitlab.com/mattbas/python-lottie/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/python-lottie/-/archive/v${version}/python-lottie-v${version}.tar.gz"
+checksum=f57e6ad3ea2c8f337c8e188975e04d2cd7d3cea502bccd7896c438e84c140d64
+make_check=no # TypeError: Please update the Color constructor
+
+post_install() {
+ vlicense COPYING
+}
From 8fcec154526ecc689680039fb72318fdda2072c2 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:47:41 -0500
Subject: [PATCH 2/3] New package: glaxnimate-0.5.1
closes #40689
---
.../patches/no-vendor-breeze-lottie.patch | 25 +++++++++++
.../glaxnimate/patches/system-pybind11.patch | 23 ++++++++++
srcpkgs/glaxnimate/template | 42 +++++++++++++++++++
3 files changed, 90 insertions(+)
create mode 100644 srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
create mode 100644 srcpkgs/glaxnimate/patches/system-pybind11.patch
create mode 100644 srcpkgs/glaxnimate/template
diff --git a/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
new file mode 100644
index 000000000000..dd6596a5aa13
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch
@@ -0,0 +1,25 @@
+--- a/glaxnimate-0.5.1/data/CMakeLists.txt
++++ b/glaxnimate-0.5.1/data/CMakeLists.txt
+@@ -6,12 +6,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${ASSETS_PATH})
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${ASSETS_PATH})
+ else()
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons-dark DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/)
+-
+- install(DIRECTORY icons/breeze-icons/icons DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+- install(DIRECTORY icons/breeze-icons/icons-dark DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY images DESTINATION ${DATA_INSTALL})
+
+@@ -21,9 +15,6 @@
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY templates DESTINATION ${DATA_INSTALL})
+
+- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lib/python-lottie/lib/lottie DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/lib/)
+- install(DIRECTORY lib/python-lottie/lib/lottie DESTINATION ${DATA_INSTALL}/lib/)
+-
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/emoji DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ install(DIRECTORY emoji DESTINATION ${DATA_INSTALL})
+ endif()
diff --git a/srcpkgs/glaxnimate/patches/system-pybind11.patch b/srcpkgs/glaxnimate/patches/system-pybind11.patch
new file mode 100644
index 000000000000..d6e4b15c4962
--- /dev/null
+++ b/srcpkgs/glaxnimate/patches/system-pybind11.patch
@@ -0,0 +1,23 @@
+--- a/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
++++ b/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt
+@@ -31,11 +31,11 @@
+ if(Python3_FOUND AND SCRIPTING_PY)
+ set(PYTHON_ENABLED ON PARENT_SCOPE)
+ message(STATUS "Python3 enabled")
+- add_subdirectory(external/pybind11)
++ find_package(pybind11 REQUIRED)
+ add_subdirectory(src/app/scripting/python)
+ target_include_directories (${PROJECT_SLUG} PUBLIC
+ ${Python3_INCLUDE_DIRS}
+- ${CMAKE_CURRENT_SOURCE_DIR}/external/pybind11/include
++ ${pybind11_INCLUDE_DIR}
+ )
+ else()
+ set(PYTHON_ENABLED OFF PARENT_SCOPE)
+--- a/glaxnimate-0.5.1/src/python/CMakeLists.txt
++++ b/glaxnimate-0.5.1/src/python/CMakeLists.txt
+@@ -1,3 +1,4 @@
++find_package(pybind11 REQUIRED)
+ set(SOURCES
+ python.cpp
+ miscdefs.cpp
diff --git a/srcpkgs/glaxnimate/template b/srcpkgs/glaxnimate/template
new file mode 100644
index 000000000000..19f2fc671f79
--- /dev/null
+++ b/srcpkgs/glaxnimate/template
@@ -0,0 +1,42 @@
+# Template file for 'glaxnimate'
+pkgname=glaxnimate
+version=0.5.1
+revision=1
+_cmake_modules_version=c97690cc0024a1842cd8de71334a2ee9c5f7e729
+_cmake_lib_version=8af80b5668dbc6a0210e09a969a1b43fc99f39ba
+_color_widgets_version=091c29463bbeec1a672598af4597055ba24842cd
+_history_lineedit_version=5b761f436e8b31491e06b26460d28a2eaef0babc
+build_wrksrc="$pkgname-$version"
+build_style=cmake
+configure_args="-DVERSION_SUFFIX= -DSCRIPTING_JS=ON -DSCRIPTING_PY=ON
+ -Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11/"
+hostmakedepends="python3 qt5-qmake qt5-host-tools"
+makedepends="qt5-devel qt5-tools-devel qt5-core qt5-widgets qt5-xml
+ qt5-concurrent qt5-network qt5-svg-devel potrace-devel python3-devel
+ python3-pybind11 ffmpeg-devel libarchive-devel"
+depends="python3-lottie breeze-icons qt5-imageformats"
+checkdepends="qt5-test"
+short_desc="Simple vector animation program"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://glaxnimate.mattbas.org"
+changelog="https://gitlab.com/mattbas/glaxnimate/-/raw/master/CHANGELOG.md"
+distfiles="https://gitlab.com/mattbas/glaxnimate/-/archive/${version}/glaxnimate-${version}.tar.gz
+ https://github.com/rpavlik/cmake-modules/archive/${_cmake_modules_version}.tar.gz
+ https://gitlab.com/mattbas/CMake-Lib/-/archive/${_cmake_lib_version}/CMake-Lib-${_cmake_lib_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${_color_widgets_version}/Qt-Color-Widgets-${_color_widgets_version}.tar.gz
+ https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${_history_lineedit_version}/Qt-History-LineEdit-${_history_lineedit_version}.tar.gz"
+checksum="77d9bee22bb58f2a6ecd082adad06a092ee60d0eafbd3b4bd8ae93936a9274be
+ 5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273
+ ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57
+ 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9
+ 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9"
+
+post_extract() {
+ cd $build_wrksrc
+ rm -r cmake external/cmake-modules external/Qt-Color-Widgets external/Qt-History-LineEdit
+ cp -r ../CMake-Lib-${_cmake_lib_version}/ cmake
+ cp -r ../cmake-modules-${_cmake_modules_version}/ external/cmake-modules
+ cp -r ../Qt-Color-Widgets-${_color_widgets_version}/ external/Qt-Color-Widgets
+ cp -r ../Qt-History-LineEdit-${_history_lineedit_version}/ external/Qt-History-LineEdit
+}
From 97acaa55155eae410ee4ab6fa8e59a4e68cce75a Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:48:03 -0500
Subject: [PATCH 3/3] kdenlive: add missing dependencies
---
srcpkgs/kdenlive/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/kdenlive/template b/srcpkgs/kdenlive/template
index 8beba85981c9..5ab974797d56 100644
--- a/srcpkgs/kdenlive/template
+++ b/srcpkgs/kdenlive/template
@@ -1,7 +1,7 @@
# Template file for 'kdenlive'
pkgname=kdenlive
version=22.12.1
-revision=1
+revision=2
build_style=cmake
hostmakedepends="
extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
@@ -10,7 +10,8 @@ makedepends="
kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel"
-depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols"
+depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
+ kirigami2 mediainfo qt5-graphicaleffects"
checkdepends="$depends"
short_desc="Non-linear video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (6 preceding siblings ...)
2023-02-09 22:04 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-05-11 1:52 ` github-actions
2023-05-25 1:53 ` [PR PATCH] [Closed]: " github-actions
2023-06-10 13:51 ` Andonome
9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-05-11 1:52 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/41792#issuecomment-1543172161
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] [Closed]: New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (7 preceding siblings ...)
2023-05-11 1:52 ` github-actions
@ 2023-05-25 1:53 ` github-actions
2023-06-10 13:51 ` Andonome
9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-05-25 1:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
There's a closed pull request on the void-packages repository
New package: glaxnimate-0.5.1
https://github.com/void-linux/void-packages/pull/41792
Description:
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: glaxnimate-0.5.1
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
` (8 preceding siblings ...)
2023-05-25 1:53 ` [PR PATCH] [Closed]: " github-actions
@ 2023-06-10 13:51 ` Andonome
9 siblings, 0 replies; 11+ messages in thread
From: Andonome @ 2023-06-10 13:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
New comment by Andonome on void-packages repository
https://github.com/void-linux/void-packages/pull/41792#issuecomment-1585671458
Comment:
Is there any word on this?
Kdenlive crashes on startup for me, but after pulling this branch, and dealing with the conflict, I was able to compile a working kdenlive.
I don't want to verify the changes personally, as I don't properly understand xbps-src, but `kdenlive` is certainly working for me (but not getting any updates).
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-06-10 13:51 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 0:50 [PR PATCH] New package: glaxnimate-0.5.1 classabbyamp
2023-01-22 0:57 ` [PR PATCH] [Updated] " classabbyamp
2023-01-22 1:46 ` classabbyamp
2023-02-09 20:05 ` [PR REVIEW] " JamiKettunen
2023-02-09 21:10 ` classabbyamp
2023-02-09 21:12 ` [PR REVIEW] " JamiKettunen
2023-02-09 21:35 ` classabbyamp
2023-02-09 22:04 ` [PR PATCH] [Updated] " classabbyamp
2023-05-11 1:52 ` github-actions
2023-05-25 1:53 ` [PR PATCH] [Closed]: " github-actions
2023-06-10 13:51 ` Andonome
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).