mirror of
https://git.suyu.dev/suyu/flatpak.git
synced 2026-01-08 23:48:10 +01:00
Init
This commit is contained in:
commit
e571c4fbe8
139 changed files with 8839 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
--- lash-1.0.pc.in~ 2007-10-07 06:33:27.000000000 -0700
|
||||
+++ lash-1.0.pc.in 2007-10-07 06:35:00.000000000 -0700
|
||||
@@ -7,6 +7,5 @@
|
||||
Description: Audio session management
|
||||
Requires: @PC_REQUIRES@
|
||||
Version: @PACKAGE_VERSION@
|
||||
-Libs: -llash
|
||||
-Libs.static: -lpthread -luuid
|
||||
+Libs: -llash -lpthread -luuid
|
||||
Cflags: -I${includedir}/lash-1.0
|
||||
11
shared-modules/linux-audio/patches/lash-configure.patch
Normal file
11
shared-modules/linux-audio/patches/lash-configure.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- configure.ac 2007-11-14 16:58:51.000000000 -0500
|
||||
+++ configure.ac.new 2019-01-24 13:48:46.284377086 -0500
|
||||
@@ -2,7 +2,7 @@
|
||||
AC_CONFIG_SRCDIR([lash/types.h])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
AM_INIT_AUTOMAKE
|
||||
-AM_ACLOCAL_INCLUDE([m4])
|
||||
+dnl AM_ACLOCAL_INCLUDE([m4])
|
||||
|
||||
### Check for programs ###
|
||||
AC_LANG([C])
|
||||
11
shared-modules/linux-audio/patches/lash-gcc47.patch
Normal file
11
shared-modules/linux-audio/patches/lash-gcc47.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
diff -rupN lash-0.5.4.old/liblash/lash.c lash-0.5.4/liblash/lash.c
|
||||
--- lash-0.5.4.old/liblash/lash.c 2007-03-09 10:34:40.000000000 -0500
|
||||
+++ lash-0.5.4/liblash/lash.c 2012-07-22 18:17:46.003963521 -0400
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <pthread.h>
|
||||
+#include <sys/resource.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/socket.h>
|
||||
90
shared-modules/linux-audio/patches/lash-linking.patch
Normal file
90
shared-modules/linux-audio/patches/lash-linking.patch
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
diff -rupN lash-0.5.4.old/clients/control/Makefile.am lash-0.5.4/clients/control/Makefile.am
|
||||
--- lash-0.5.4.old/clients/control/Makefile.am 2007-01-13 13:20:03.000000000 -0500
|
||||
+++ lash-0.5.4/clients/control/Makefile.am 2010-02-10 03:08:04.000000000 -0500
|
||||
@@ -18,6 +18,6 @@ lash_control_CFLAGS = $(LASH_CFLAGS)
|
||||
|
||||
lash_control_LDADD = \
|
||||
$(top_builddir)/liblash/liblash.la \
|
||||
- $(LASH_LIBS) @READLINE_LIBS@
|
||||
+ $(LASH_LIBS) @READLINE_LIBS@ -luuid
|
||||
|
||||
endif
|
||||
diff -rupN lash-0.5.4.old/clients/control/Makefile.in lash-0.5.4/clients/control/Makefile.in
|
||||
--- lash-0.5.4.old/clients/control/Makefile.in 2007-11-14 17:00:09.000000000 -0500
|
||||
+++ lash-0.5.4/clients/control/Makefile.in 2010-02-10 03:09:26.000000000 -0500
|
||||
@@ -236,7 +236,7 @@ AM_CPPFLAGS = -I$(top_srcdir)
|
||||
@HAVE_READLINE_TRUE@lash_control_CFLAGS = $(LASH_CFLAGS)
|
||||
@HAVE_READLINE_TRUE@lash_control_LDADD = \
|
||||
@HAVE_READLINE_TRUE@ $(top_builddir)/liblash/liblash.la \
|
||||
-@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@
|
||||
+@HAVE_READLINE_TRUE@ $(LASH_LIBS) @READLINE_LIBS@ -luuid
|
||||
|
||||
all: all-am
|
||||
|
||||
diff -rupN lash-0.5.4.old/clients/panel/Makefile.am lash-0.5.4/clients/panel/Makefile.am
|
||||
--- lash-0.5.4.old/clients/panel/Makefile.am 2005-09-13 01:22:59.000000000 -0400
|
||||
+++ lash-0.5.4/clients/panel/Makefile.am 2010-02-10 03:17:10.000000000 -0500
|
||||
@@ -13,7 +13,7 @@ lash_panel_CFLAGS = \
|
||||
|
||||
lash_panel_LDADD = \
|
||||
$(top_builddir)/liblash/liblash.la \
|
||||
- $(GTK2_LIBS)
|
||||
+ $(GTK2_LIBS) -luuid
|
||||
|
||||
if HAVE_GTK2
|
||||
bin_PROGRAMS = lash_panel
|
||||
diff -rupN lash-0.5.4.old/clients/panel/Makefile.in lash-0.5.4/clients/panel/Makefile.in
|
||||
--- lash-0.5.4.old/clients/panel/Makefile.in 2007-11-14 17:00:09.000000000 -0500
|
||||
+++ lash-0.5.4/clients/panel/Makefile.in 2010-02-10 03:17:23.000000000 -0500
|
||||
@@ -230,7 +230,7 @@ lash_panel_CFLAGS = \
|
||||
|
||||
lash_panel_LDADD = \
|
||||
$(top_builddir)/liblash/liblash.la \
|
||||
- $(GTK2_LIBS)
|
||||
+ $(GTK2_LIBS) -luuid
|
||||
|
||||
all: all-am
|
||||
|
||||
diff -rupN lash-0.5.4.old/clients/synth/Makefile.am lash-0.5.4/clients/synth/Makefile.am
|
||||
--- lash-0.5.4.old/clients/synth/Makefile.am 2005-09-13 01:22:59.000000000 -0400
|
||||
+++ lash-0.5.4/clients/synth/Makefile.am 2010-02-10 03:22:39.000000000 -0500
|
||||
@@ -20,4 +20,4 @@ lash_synth_LDADD = \
|
||||
$(JACK_LIBS) \
|
||||
$(ALSA_LIBS) \
|
||||
$(GTK2_LIBS) \
|
||||
- -lpthread
|
||||
+ -lpthread -lm
|
||||
diff -rupN lash-0.5.4.old/clients/synth/Makefile.in lash-0.5.4/clients/synth/Makefile.in
|
||||
--- lash-0.5.4.old/clients/synth/Makefile.in 2007-11-14 17:00:10.000000000 -0500
|
||||
+++ lash-0.5.4/clients/synth/Makefile.in 2010-02-10 03:22:51.000000000 -0500
|
||||
@@ -238,7 +238,7 @@ lash_synth_LDADD = \
|
||||
$(JACK_LIBS) \
|
||||
$(ALSA_LIBS) \
|
||||
$(GTK2_LIBS) \
|
||||
- -lpthread
|
||||
+ -lpthread -lm
|
||||
|
||||
all: all-am
|
||||
|
||||
diff -rupN lash-0.5.4.old/lashd/Makefile.am lash-0.5.4/lashd/Makefile.am
|
||||
--- lash-0.5.4.old/lashd/Makefile.am 2006-09-16 16:27:46.000000000 -0400
|
||||
+++ lash-0.5.4/lashd/Makefile.am 2010-07-23 15:13:59.000000000 -0400
|
||||
@@ -32,6 +32,7 @@ lashd_LDADD = \
|
||||
$(ALSA_LIBS) \
|
||||
$(XML2_LIBS) \
|
||||
$(UUID_LIBS) \
|
||||
+ -lpthread \
|
||||
$(top_builddir)/liblash/liblash.la
|
||||
|
||||
lashd_CFLAGS = \
|
||||
diff -rupN lash-0.5.4.old/lashd/Makefile.in lash-0.5.4/lashd/Makefile.in
|
||||
--- lash-0.5.4.old/lashd/Makefile.in 2007-11-14 17:00:10.000000000 -0500
|
||||
+++ lash-0.5.4/lashd/Makefile.in 2010-07-23 15:14:29.000000000 -0400
|
||||
@@ -262,6 +262,7 @@ lashd_LDADD = \
|
||||
$(ALSA_LIBS) \
|
||||
$(XML2_LIBS) \
|
||||
$(UUID_LIBS) \
|
||||
+ -lpthread \
|
||||
$(top_builddir)/liblash/liblash.la
|
||||
|
||||
lashd_CFLAGS = \
|
||||
31
shared-modules/linux-audio/patches/raptor-libxml.patch
Normal file
31
shared-modules/linux-audio/patches/raptor-libxml.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
|
||||
From: David Anes <david.anes@suse.com>
|
||||
Date: Thu, 4 May 2023 11:54:02 +0200
|
||||
Subject: [PATCH] Remove the access to entities 'checked' private symbol for
|
||||
libxml2 2.11.0
|
||||
|
||||
Since version 2.11.0, some private symbols that were never intended
|
||||
as public API/ABI have been removed from libxml2, therefore the field
|
||||
'checked' is no longer present and raptor fails to build in this
|
||||
scenario.
|
||||
---
|
||||
src/raptor_libxml.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c
|
||||
index 538c2c8e..8bcee139 100644
|
||||
--- a/src/raptor_libxml.c
|
||||
+++ b/src/raptor_libxml.c
|
||||
@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
|
||||
|
||||
ret->owner = 1;
|
||||
|
||||
-#if LIBXML_VERSION >= 20627
|
||||
+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
|
||||
/* Checked field was released in 2.6.27 on 2006-10-25
|
||||
* http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
|
||||
*
|
||||
+ * and was later removed in version 2.11.0
|
||||
*/
|
||||
|
||||
/* Mark this entity as having been checked - never do this again */
|
||||
54
shared-modules/linux-audio/patches/stk-install.sh
Normal file
54
shared-modules/linux-audio/patches/stk-install.sh
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
|
||||
INCLUDE_DIR=/app/include
|
||||
DATA_DIR=/app/share
|
||||
LIB_DIR=/app/lib
|
||||
BIN_DIR=/app/bin
|
||||
|
||||
|
||||
|
||||
|
||||
install -Dm644 -t $INCLUDE_DIR/stk include/*
|
||||
install -Dm644 -t $LIB_DIR src/libstk.*
|
||||
install -Dm644 -t $DATA_DIR/stk/rawwaves rawwaves/*.raw
|
||||
|
||||
#cp -pr projects/demo/tcl $DATA_DIR/stk/demo
|
||||
#cp -pr projects/demo/scores $DATA_DIR/stk/demo
|
||||
#cp -p projects/demo/demo $BIN_DIR/stk-demo
|
||||
#cp -p projects/demo/Md2Skini $BIN_DIR/Md2Skini
|
||||
#for f in Banded Drums Modal Physical Shakers StkDemo Voice ; do
|
||||
# chmod +x projects/demo/$f
|
||||
# sed -e 's,\./demo,$BIN_DIR/stk-demo,' -e '1i#! /bin/sh' \
|
||||
# -i projects/demo/$f
|
||||
# cp -p projects/demo/$f $DATA_DIR/stk/demo
|
||||
#done
|
||||
|
||||
#cp -pr projects/examples/midifiles $DATA_DIR/stk/examples
|
||||
#cp -pr projects/examples/rawwaves $DATA_DIR/stk/examples
|
||||
#cp -pr projects/examples/scores $DATA_DIR/stk/examples
|
||||
#for f in sine sineosc foursine audioprobe midiprobe duplex play \
|
||||
# record inetIn inetOut rtsine crtsine bethree controlbee \
|
||||
# threebees playsmf grains ; do
|
||||
# cp -p projects/examples/$f $BIN_DIR/stk-$f
|
||||
# # absolute links, will be shortened later
|
||||
# ln -s $BIN_DIR/stk-$f $DATA_DIR/stk/examples/$f
|
||||
#done
|
||||
|
||||
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/tcl
|
||||
install -Dm644 -t $BIN_DIR/stk-effects projects/effects/effects
|
||||
sed -e 's,\./effects,$BIN_DIR/stk-effects,' -e '1i#! /bin/sh' \
|
||||
-i projects/effects/StkEffects
|
||||
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/StkEffects
|
||||
|
||||
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/tcl
|
||||
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/rawwaves
|
||||
install -Dm644 -t $BIN_DIR/stk-ragamat projects/ragamatic/ragamat
|
||||
sed -e 's,\./ragamat,$BIN_DIR/stk-ragamat,' -e '1i#! /bin/sh' \
|
||||
-i projects/ragamatic/Raga
|
||||
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/Raga
|
||||
|
||||
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/tcl
|
||||
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/scores
|
||||
install -Dm644 -t $BIN_DIR/stk-eguitar projects/eguitar/eguitar
|
||||
sed -e 's,\./eguitar,$BIN_DIR/stk-eguitar,' -e '1i#! /bin/sh' \
|
||||
-i projects/eguitar/ElectricGuitar
|
||||
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/ElectricGuitar
|
||||
Loading…
Add table
Add a link
Reference in a new issue