From: Luciogi <Luciogi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Flowblade update to 2.14.0.2
Date: Sat, 18 May 2024 10:55:05 +0200 [thread overview]
Message-ID: <20240518085506.1B2A021570@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50385@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages flowblade
https://github.com/void-linux/void-packages/pull/50385
Flowblade update to 2.14.0.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
A patch file from https://github.com/void-linux/void-packages/pull/50385.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flowblade-50385.patch --]
[-- Type: text/x-diff, Size: 4693 bytes --]
From db5ed771acb631b897d0a671248a18830dcb5bf1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Mon, 13 Nov 2023 19:31:28 +0500
Subject: [PATCH 1/3] flowblade: update to 2.14.0.2, force x11
,otherwise it crashes on wayland
---
srcpkgs/flowblade/INSTALL.msg | 3 +++
srcpkgs/flowblade/files/enforce-x11.sh | 4 ++++
srcpkgs/flowblade/template | 21 ++++++++++++++++-----
3 files changed, 23 insertions(+), 5 deletions(-)
create mode 100755 srcpkgs/flowblade/INSTALL.msg
create mode 100644 srcpkgs/flowblade/files/enforce-x11.sh
diff --git a/srcpkgs/flowblade/INSTALL.msg b/srcpkgs/flowblade/INSTALL.msg
new file mode 100755
index 00000000000000..01eb04f66a1867
--- /dev/null
+++ b/srcpkgs/flowblade/INSTALL.msg
@@ -0,0 +1,3 @@
+WARNING: Use
+ /usr/bin/flowblade.sh
+to run
diff --git a/srcpkgs/flowblade/files/enforce-x11.sh b/srcpkgs/flowblade/files/enforce-x11.sh
new file mode 100644
index 00000000000000..da38502411cf77
--- /dev/null
+++ b/srcpkgs/flowblade/files/enforce-x11.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Flowblade does not support wayland and it crashes
+GDK_BACKEND=x11 /usr/bin/flowblade $@
diff --git a/srcpkgs/flowblade/template b/srcpkgs/flowblade/template
index f1a43ae189ed7a..1b4854d63f9593 100644
--- a/srcpkgs/flowblade/template
+++ b/srcpkgs/flowblade/template
@@ -1,17 +1,28 @@
# Template file for 'flowblade'
pkgname=flowblade
-version=2.8.0.3
+version=2.14.0.2
revision=1
build_wrksrc=flowblade-trunk
build_style=python3-module
make_install_args="--install-lib=${DESTDIR}/usr/share/flowblade"
hostmakedepends="python3-setuptools"
# https://github.com/jliljebl/flowblade/blob/master/flowblade-trunk/docs/DEPENDENCIES.md
-depends="frei0r-plugins gmic mlt-python3 python3-Pillow python3-dbus gtk+3
- python3-gobject python3-numpy swh-plugins"
+depends="frei0r-plugins gmic mlt7 mlt7-python3 python3-cairo python3-Pillow python3-gobject python3-numpy gtk+3
+ swh-plugins gdk-pixbuf pango librsvg SDL_image swh-plugins python3-libusb1"
short_desc="Non-linear video editor for Linux"
maintainer="shizonic <realtiaz@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://jliljebl.github.io/flowblade/"
-distfiles="https://github.com/jliljebl/flowblade/archive/v${version}.tar.gz"
-checksum=3753363d15caa6f1901118132a87f92d3b5e843c325775dbd83b30ee4d2a9bbf
+distfiles="https://github.com/jliljebl/flowblade/archive/v${version}.tar.gz>${pkgname}-v${version}.tar.gz"
+checksum=9ed5766328c90aa9c2a1511f0bd2a15c2495a3a437e484aa7d74b2fb0cd04ae6
+make_check=no # no tests to run
+
+do_patch() {
+ # Desktop file should run /usr/bin/flowblade.sh
+ vsed -i installdata/io.github.jliljebl.Flowblade.desktop -e 's#env.*#/usr/bin/flowblade.sh %f#'
+}
+
+post_install() {
+ # Enforce X11, otherwise it crashes on wayland
+ vbin "${FILESDIR}/enforce-x11.sh" flowblade.sh
+}
From 9ea8d79c53c9d53a020c12b1bde8da6b61a38fd4 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Fri, 17 May 2024 18:24:44 +0500
Subject: [PATCH 2/3] New package: python3-libusb1-3.1.0
---
srcpkgs/python3-libusb1/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/python3-libusb1/template
diff --git a/srcpkgs/python3-libusb1/template b/srcpkgs/python3-libusb1/template
new file mode 100644
index 00000000000000..08470b739edc15
--- /dev/null
+++ b/srcpkgs/python3-libusb1/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-libusb1'
+pkgname=python3-libusb1
+version=3.1.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3 libusb"
+short_desc="Python library for USB communication"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="LGPL-2.1-only, GPL-2.0-only"
+homepage="https://github.com/vpelletier/python-libusb1"
+distfiles="${PYPI_SITE}/l/libusb1/libusb1-${version}.tar.gz"
+checksum=4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c
From b12d411e28882a8609ad93cfcc4bbe29ccb4adbd Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sat, 18 May 2024 13:54:10 +0500
Subject: [PATCH 3/3] fixup! New package: python3-libusb1-3.1.0
---
srcpkgs/python3-libusb1/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/python3-libusb1/template b/srcpkgs/python3-libusb1/template
index 08470b739edc15..de39b747f2312f 100644
--- a/srcpkgs/python3-libusb1/template
+++ b/srcpkgs/python3-libusb1/template
@@ -4,6 +4,7 @@ version=3.1.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
+makedepends="libusb-devel"
depends="python3 libusb"
short_desc="Python library for USB communication"
maintainer="Luciogi <lucigithubcommit@skiff.com>"
next prev parent reply other threads:[~2024-05-18 8:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 13:37 [PR PATCH] " Luciogi
2024-05-17 13:51 ` zlice
2024-05-17 15:28 ` [PR PATCH] [Updated] " Luciogi
2024-05-18 8:55 ` Luciogi [this message]
2024-05-18 8:59 ` Luciogi
2024-05-18 9:06 ` Luciogi
2024-05-19 7:17 ` Luciogi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240518085506.1B2A021570@inbox.vuxu.org \
--to=luciogi@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).