From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] WIP: New package: lightspark
Date: Sat, 02 Jan 2021 11:04:51 +0100 [thread overview]
Message-ID: <20210102100451.ghFdNry0prGFEMRPu-q6glRE0sBz6hXY3JRSvZ2j5cM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23555@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
There is an updated pull request by fosslinux against master on the void-packages repository
https://github.com/fosslinux/void-packages lightspark
https://github.com/void-linux/void-packages/pull/23555
WIP: New package: lightspark
Try the test suite on musl. It is subtly broken, hanging seemingly randomly every now and then...... No clue what the problem is, or if it is test suite specific, or whatever
A patch file from https://github.com/void-linux/void-packages/pull/23555.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lightspark-23555.patch --]
[-- Type: text/x-diff, Size: 3214 bytes --]
From c00c0628963f4ce2c25e6b468efb7fdd1bce7c66 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Mon, 13 Jul 2020 08:42:40 +1000
Subject: [PATCH] New package: lightspark-0.8.3
---
common/shlibs | 2 ++
srcpkgs/lightspark/files/avmplus.patch | 22 +++++++++++++++++++
srcpkgs/lightspark/template | 29 ++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 srcpkgs/lightspark/files/avmplus.patch
create mode 100644 srcpkgs/lightspark/template
diff --git a/common/shlibs b/common/shlibs
index 26a6259f6d2..5e457439399 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4040,3 +4040,5 @@ libndr-samba4.so samba-libs-4.13.2_1
libsmb-transport-samba4.so samba-libs-4.13.2_1
libutil-cmdline-samba4.so samba-libs-4.13.2_1
libwinbind-client-samba4.so samba-libs-4.13.2_1
+libdolphinvcs.so.5 dolphin-plugins-20.04.2_1
+liblightspark.so.0.8 lightspark-0.8.3_1
diff --git a/srcpkgs/lightspark/files/avmplus.patch b/srcpkgs/lightspark/files/avmplus.patch
new file mode 100644
index 00000000000..da3987df097
--- /dev/null
+++ b/srcpkgs/lightspark/files/avmplus.patch
@@ -0,0 +1,22 @@
+--- AVMPI/MMgcPortUnix.cpp 2020-07-13 19:29:31.368000000 +1000
++++ AVMPI/MMgcPortUnix.cpp 2020-07-13 19:30:14.934000000 +1000
+@@ -46,7 +46,7 @@
+ #define FLUSHWIN()
+ #endif
+
+-#if defined linux && !defined VMCFG_MIPS && !defined VMCFG_ARM && !defined ANDROID
++#if defined linux && defined __GLIBC__ && !defined VMCFG_MIPS && !defined VMCFG_ARM && !defined ANDROID
+ #include <execinfo.h>
+ #define HAVE_BACKTRACE
+ #endif
+--- core/exec.cpp 2020-07-13 19:31:28.076000000 +1000
++++ core/exec.cpp 2020-07-13 19:31:36.176000000 +1000
+@@ -806,7 +806,7 @@
+ failure:
+ AvmCore* core = env->core();
+ env->toplevel()->throwTypeError(kCheckTypeFailedError, core->atomToErrorString(atom), core->toErrorString(t));
+- return unreachableAtom;
++ return 0;
+ }
+
+ // Coerce an argument to an expected type, but keep it represented as Atom.
diff --git a/srcpkgs/lightspark/template b/srcpkgs/lightspark/template
new file mode 100644
index 00000000000..25064c8f787
--- /dev/null
+++ b/srcpkgs/lightspark/template
@@ -0,0 +1,29 @@
+# Template file for 'lightspark'
+pkgname=lightspark
+version=0.8.3
+revision=1
+build_style=cmake
+hostmakedepends="nasm pkg-config gettext"
+makedepends="MesaLib-devel glew-devel libcurl-devel ffmpeg-devel pcre-devel
+ librtmp-devel cairo-devel SDL2-devel SDL2_mixer-devel libjpeg-turbo-devel
+ pango-devel liblzma-devel glibmm-devel"
+short_desc="Open source flash player implementation"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="LGPL-3.0-or-later"
+homepage="https://lightspark.github.io"
+distfiles="https://github.com/lightspark/lightspark/archive/${version}.tar.gz"
+checksum=5276818e6d78ddf12a9304bc8c2ceeec0ca0759a99d56a4521e1fdc06893b1bd
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
+fi
+
+post_extract() {
+ # Remove build script that we are using for the CMake directory
+ rm build
+}
+
+do_check() {
+ : # Requires a dumb piece of proprietary software that isn't even avaliable
+}
next prev parent reply other threads:[~2021-01-02 10:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 1:01 [PR PATCH] " fosslinux
2020-07-14 1:08 ` [PR REVIEW] " ericonr
2020-07-14 1:08 ` ericonr
2020-07-14 1:23 ` fosslinux
2020-07-14 1:24 ` fosslinux
2020-07-14 1:27 ` ericonr
2020-07-14 1:27 ` ericonr
2020-07-14 1:42 ` [PR PATCH] [Updated] " fosslinux
2020-07-14 1:42 ` fosslinux
2020-07-14 1:47 ` fosslinux
2021-01-02 10:04 ` fosslinux [this message]
2021-01-02 10:09 ` fosslinux
2021-05-18 4:16 ` kawaiiamber
2022-04-17 2:06 ` github-actions
2022-05-01 2:13 ` [PR PATCH] [Closed]: " github-actions
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=20210102100451.ghFdNry0prGFEMRPu-q6glRE0sBz6hXY3JRSvZ2j5cM@z \
--to=fosslinux@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).