@pheem49/mint 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.lock +3 -3
- package/Cargo.toml +1 -1
- package/README.md +0 -17
- package/Release_Note.md +137 -58
- package/bin/mint +0 -0
- package/crates/mint-cli/src/agent.rs +150 -45
- package/crates/mint-cli/src/image.rs +8 -8
- package/crates/mint-cli/src/main.rs +929 -412
- package/crates/mint-cli/src/onboard.rs +108 -108
- package/crates/mint-cli/src/setup.rs +143 -143
- package/crates/mint-core/src/agent_loop.rs +1 -0
- package/crates/mint-core/src/api_server.rs +108 -52
- package/crates/mint-core/src/browser.rs +56 -1
- package/crates/mint-core/src/channels.rs +1 -0
- package/crates/mint-core/src/chat.rs +126 -8
- package/crates/mint-core/src/code_tools.rs +18 -20
- package/crates/mint-core/src/config.rs +245 -17
- package/crates/mint-core/src/image_gen.rs +5 -5
- package/crates/mint-core/src/lib.rs +16 -2
- package/crates/mint-core/src/memory.rs +6 -1
- package/crates/mint-core/src/orchestration.rs +260 -72
- package/crates/mint-core/src/pictures.rs +3 -4
- package/crates/mint-core/src/semantic.rs +1 -1
- package/crates/mint-core/src/shell.rs +1 -1
- package/crates/mint-core/src/skills.rs +46 -19
- package/crates/mint-core/src/tts.rs +3 -1
- package/flatpak/com.pheem49.mint.desktop +9 -0
- package/flatpak/com.pheem49.mint.metainfo.xml +35 -0
- package/flatpak/com.pheem49.mint.yaml +52 -0
- package/package.json +1 -1
- package/shared-modules/.github/workflows/ci.yml +120 -0
- package/shared-modules/.github/workflows/update.yaml +28 -0
- package/shared-modules/CODEOWNERS +23 -0
- package/shared-modules/README.md +79 -0
- package/shared-modules/SDL/README.md +3 -0
- package/shared-modules/SDL/SDL-1.2.15.json +51 -0
- package/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch +118 -0
- package/shared-modules/SDL/SDL_image-1.2.12.json +25 -0
- package/shared-modules/SDL/SDL_mixer-1.2.12.json +27 -0
- package/shared-modules/SDL/SDL_net-1.2.8.json +19 -0
- package/shared-modules/SDL/SDL_pango-0.1.2.json +26 -0
- package/shared-modules/SDL/SDL_ttf-2.0.11.json +28 -0
- package/shared-modules/SDL/libsdl-1.2.15-strict-prototypes.patch +316 -0
- package/shared-modules/SDL/sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch +24 -0
- package/shared-modules/SDL/sdl-libx11-build.patch +59 -0
- package/shared-modules/SDL/sdl-sysloadso-buffer-length.patch +27 -0
- package/shared-modules/SDL/sdl12-compat.json +22 -0
- package/shared-modules/SDL2/SDL2_image.json +27 -0
- package/shared-modules/SDL2/SDL2_ttf.json +29 -0
- package/shared-modules/cld2/CMakeLists.txt +157 -0
- package/shared-modules/cld2/cld2.json +24 -0
- package/shared-modules/clutter/clutter.json +72 -0
- package/shared-modules/dbus-glib/dbus-glib.json +29 -0
- package/shared-modules/glew/glew.json +36 -0
- package/shared-modules/glu/glu-9.json +12 -0
- package/shared-modules/gtk2/arc-gtk2-theme-Replace-Inkscape-dependency-with-rsvg-convert.patch +180 -0
- package/shared-modules/gtk2/gtk2-common-themes.json +360 -0
- package/shared-modules/gtk2/gtk2-fix-crash-in-show-uri.patch +30 -0
- package/shared-modules/gtk2/gtk2-gcc14.patch +281 -0
- package/shared-modules/gtk2/gtk2-gcc15.patch +250 -0
- package/shared-modules/gtk2/gtk2-murrine-c99.patch +34 -0
- package/shared-modules/gtk2/gtk2-use-adwaita-theme.patch +80 -0
- package/shared-modules/gtk2/gtk2.json +120 -0
- package/shared-modules/gtk2/ibus-gcc15.patch +13 -0
- package/shared-modules/gtk2/murrine-engine-fix-crash.patch +12 -0
- package/shared-modules/gtk2/readme.md +10 -0
- package/shared-modules/intltool/intltool-0.51.json +20 -0
- package/shared-modules/intltool/intltool-perl5.26-regex-fixes.patch +59 -0
- package/shared-modules/lame/0001-Build-xmm_quantize_sub.c-with-msse.patch +34 -0
- package/shared-modules/lame/0002-Include-GTK-1-autoconf-directives-in-build-system.patch +222 -0
- package/shared-modules/lame/0003-Patch-out-remaining-ansi2knr.patch +70 -0
- package/shared-modules/lame/0004-initscr-is-not-used-anywhere-in-lame-sourcetree.patch +41 -0
- package/shared-modules/lame/0005-Update-autoconf.patch +81 -0
- package/shared-modules/lame/lame-3.99.5.json +32 -0
- package/shared-modules/libappindicator/libappindicator-gtk2-12.10.json +140 -0
- package/shared-modules/libappindicator/libappindicator-gtk3-12.10.json +140 -0
- package/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json +140 -0
- package/shared-modules/libappindicator/patches/0001-libappindicator-ftbfs.patch +20 -0
- package/shared-modules/libappindicator/patches/0002-libappindicator-no-python.patch +888 -0
- package/shared-modules/libappindicator/patches/0003-libappindicator-fix-crash-from-incorrect-signal-emission.patch +74 -0
- package/shared-modules/libappindicator/patches/0004-libappindicator-fix-crash-iterating-icon-themes.patch +11 -0
- package/shared-modules/libayatana-appindicator/0001-Fix-HAVE_VALGRIND-AM_CONDITIONAL.patch +51 -0
- package/shared-modules/libayatana-appindicator/0001-Make-introspection-configurable.patch +44 -0
- package/shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json +121 -0
- package/shared-modules/libcanberra/0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch +123 -0
- package/shared-modules/libcanberra/libcanberra.json +44 -0
- package/shared-modules/libmad/libmad.json +19 -0
- package/shared-modules/libsecret/libsecret.json +23 -0
- package/shared-modules/libsoup/libsoup-2.4.json +14 -0
- package/shared-modules/libusb/libusb.json +27 -0
- package/shared-modules/linux-audio/dssi.json +31 -0
- package/shared-modules/linux-audio/fftw3f-static.json +44 -0
- package/shared-modules/linux-audio/fftw3f.json +42 -0
- package/shared-modules/linux-audio/fluidsynth2-static.json +36 -0
- package/shared-modules/linux-audio/fluidsynth2.json +25 -0
- package/shared-modules/linux-audio/ladspa.json +26 -0
- package/shared-modules/linux-audio/lash.json +35 -0
- package/shared-modules/linux-audio/libinstpatch.json +16 -0
- package/shared-modules/linux-audio/liblo-static.json +22 -0
- package/shared-modules/linux-audio/liblo.json +17 -0
- package/shared-modules/linux-audio/lilv-static.json +94 -0
- package/shared-modules/linux-audio/lilv.json +89 -0
- package/shared-modules/linux-audio/lrdf.json +57 -0
- package/shared-modules/linux-audio/lv2.json +20 -0
- package/shared-modules/linux-audio/patches/lash/0001-configure-remove-aclocal-m4.patch +29 -0
- package/shared-modules/linux-audio/patches/lash/0002-Fix-build-with-recent-gcc.patch +73 -0
- package/shared-modules/linux-audio/patches/lash/0003-Fix-linking.patch +136 -0
- package/shared-modules/linux-audio/patches/raptor-libxml.patch +31 -0
- package/shared-modules/linux-audio/patches/stk-install.sh +54 -0
- package/shared-modules/linux-audio/stk.json +28 -0
- package/shared-modules/lua5.1/0004-Fix-stack-overflow-in-vararg-functions.patch +21 -0
- package/shared-modules/lua5.1/lua-5.1.5-so.patch +43 -0
- package/shared-modules/lua5.1/lua-5.1.5.json +42 -0
- package/shared-modules/lua5.3/lua-5.3.5.json +41 -0
- package/shared-modules/lua5.3/lua.pc.in +8 -0
- package/shared-modules/lua5.3/luaconf.patch +47 -0
- package/shared-modules/lua5.3/makefile-add-liblua.so-rule.patch +47 -0
- package/shared-modules/lua5.4/lua-5.4.json +41 -0
- package/shared-modules/lua5.4/lua.pc.in +8 -0
- package/shared-modules/lua5.4/luaconf.patch +34 -0
- package/shared-modules/lua5.4/makefile-add-liblua.so-rule.patch +42 -0
- package/shared-modules/luajit/luajit.json +30 -0
- package/shared-modules/lzo/lzo.json +27 -0
- package/shared-modules/mac/mac.json +18 -0
- package/shared-modules/physfs/physfs.json +26 -0
- package/shared-modules/pygame/audiofile-gcc6.patch +21 -0
- package/shared-modules/pygame/cython-fixes.patch +34 -0
- package/shared-modules/pygame/fluidsynth-no-rawmidi.patch +69 -0
- package/shared-modules/pygame/glib.patch +25 -0
- package/shared-modules/pygame/pygame1-python2.json +157 -0
- package/shared-modules/pygtk/pygtk-c99.patch +15 -0
- package/shared-modules/pygtk/pygtk.json +117 -0
- package/shared-modules/pygtk/pygtk.patch +39 -0
- package/shared-modules/python2.7/python-2.7.json +48 -0
- package/shared-modules/smpeg/smpeg-0.4.5.json +50 -0
- package/shared-modules/smpeg/smpeg-am-prog-as.patch +12 -0
- package/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch +17 -0
- package/shared-modules/smpeg/smpeg-gcc6.patch +40 -0
- package/shared-modules/smpeg/smpeg-no-gtk.patch +37 -0
- package/shared-modules/squashfs-tools/squashfs-tools.json +25 -0
- package/shared-modules/update-checker.sh +50 -0
- package/shared-modules/vorbisgain/0001-temp_files.patch +75 -0
- package/shared-modules/vorbisgain/0002-errno.patch +33 -0
- package/shared-modules/vorbisgain/0003-manpage.patch +248 -0
- package/shared-modules/vorbisgain/0004-vorbisgain_mtime.patch +183 -0
- package/shared-modules/vorbisgain/0005-double_fclose.patch +21 -0
- package/shared-modules/vorbisgain/0006-manpage_hyphens.patch +56 -0
- package/shared-modules/vorbisgain/0007-recursively_spelling.patch +14 -0
- package/shared-modules/vorbisgain/0008-manpage_recursion_mistake.patch +23 -0
- package/shared-modules/vorbisgain/0009-hardening.patch +13 -0
- package/shared-modules/vorbisgain/0010-fclose.patch +13 -0
- package/shared-modules/vorbisgain/README.md +23 -0
- package/shared-modules/vorbisgain/vorbisgain_0.37-2.json +29 -0
- package/src/renderer/shared/agentProgress.ts +145 -0
- package/src/renderer/shared/calculator.ts +52 -0
- package/src/renderer/shared/components/AgentActivityDrawer.tsx +72 -0
- package/src/renderer/shared/components/AgentActivityTable.tsx +85 -0
- package/src/renderer/shared/components/ApprovalCard.tsx +93 -0
- package/src/renderer/shared/components/ChatCodeBlock.tsx +75 -0
- package/src/renderer/shared/components/ThinkingBlock.tsx +101 -0
- package/src/renderer/shared/constants/models.ts +91 -0
- package/src/renderer/shared/platform.ts +82 -0
- package/src/renderer/shared/types.ts +140 -0
- package/src/renderer/shared/utils/agentActivity.ts +187 -0
- package/src/renderer/shared/utils/approval.ts +1 -0
- package/src/renderer/shared/utils/approval.tsx +64 -0
- package/src/renderer/shared/utils/fileIcons.ts +135 -0
- package/src/renderer/shared/utils/markdown.tsx +347 -0
- package/src/renderer/shared/utils/providers.ts +36 -0
- package/src/renderer/shared/utils/speech.ts +216 -0
- package/src/renderer/shared/utils/ui.ts +147 -0
- package/src/renderer/src/agentProgress.ts +11 -39
- package/src/renderer/src/calculator.ts +3 -46
- package/src/renderer/src/components/ChatPanel.tsx +219 -1308
- package/src/renderer/src/components/MintDashboard.tsx +67 -170
- package/src/renderer/src/components/PicturesLibrary.tsx +32 -8
- package/src/renderer/src/components/Settings/AgentsTab.tsx +381 -0
- package/src/renderer/src/components/Settings/AutomationTab.tsx +0 -22
- package/src/renderer/src/components/Settings/GeneralTab.tsx +256 -2
- package/src/renderer/src/components/SettingsWindow.tsx +120 -3
- package/src/renderer/src/components/WorkspacePanel.tsx +7 -125
- package/src/renderer/src/css/styles.css +100 -0
- package/src/renderer/src/tauri.ts +128 -143
- package/src/renderer/src-web/agentProgress.ts +11 -39
- package/src/renderer/src-web/calculator.ts +3 -46
- package/src/renderer/src-web/components/ChatPanel.tsx +219 -1306
- package/src/renderer/src-web/components/MintDashboard.tsx +42 -170
- package/src/renderer/src-web/components/PicturesLibrary.tsx +23 -29
- package/src/renderer/src-web/components/Settings/AgentsTab.tsx +381 -0
- package/src/renderer/src-web/components/Settings/AutomationTab.tsx +0 -22
- package/src/renderer/src-web/components/Settings/GeneralTab.tsx +254 -3
- package/src/renderer/src-web/components/SettingsWindow.tsx +127 -3
- package/src/renderer/src-web/css/styles.css +100 -0
- package/src/renderer/src-web/tauri.ts +180 -102
- package/src-tauri/src/desktop.rs +18 -16
- package/src-tauri/src/discord_rpc.rs +1 -1
- package/src-tauri/src/lib.rs +168 -40
- package/src-tauri/src/webhooks.rs +1 -0
- package/src-tauri/src/workflows.rs +1 -0
- package/src-tauri/tauri.conf.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
|
|
2
|
+
From: David Anes <david.anes@suse.com>
|
|
3
|
+
Date: Thu, 4 May 2023 11:54:02 +0200
|
|
4
|
+
Subject: [PATCH] Remove the access to entities 'checked' private symbol for
|
|
5
|
+
libxml2 2.11.0
|
|
6
|
+
|
|
7
|
+
Since version 2.11.0, some private symbols that were never intended
|
|
8
|
+
as public API/ABI have been removed from libxml2, therefore the field
|
|
9
|
+
'checked' is no longer present and raptor fails to build in this
|
|
10
|
+
scenario.
|
|
11
|
+
---
|
|
12
|
+
src/raptor_libxml.c | 3 ++-
|
|
13
|
+
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
14
|
+
|
|
15
|
+
diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c
|
|
16
|
+
index 538c2c8e..8bcee139 100644
|
|
17
|
+
--- a/src/raptor_libxml.c
|
|
18
|
+
+++ b/src/raptor_libxml.c
|
|
19
|
+
@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
|
|
20
|
+
|
|
21
|
+
ret->owner = 1;
|
|
22
|
+
|
|
23
|
+
-#if LIBXML_VERSION >= 20627
|
|
24
|
+
+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
|
|
25
|
+
/* Checked field was released in 2.6.27 on 2006-10-25
|
|
26
|
+
* http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
|
|
27
|
+
*
|
|
28
|
+
+ * and was later removed in version 2.11.0
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/* Mark this entity as having been checked - never do this again */
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
INCLUDE_DIR=/app/include
|
|
3
|
+
DATA_DIR=/app/share
|
|
4
|
+
LIB_DIR=/app/lib
|
|
5
|
+
BIN_DIR=/app/bin
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
install -Dm644 -t $INCLUDE_DIR/stk include/*
|
|
11
|
+
install -Dm644 -t $LIB_DIR src/libstk.*
|
|
12
|
+
install -Dm644 -t $DATA_DIR/stk/rawwaves rawwaves/*.raw
|
|
13
|
+
|
|
14
|
+
#cp -pr projects/demo/tcl $DATA_DIR/stk/demo
|
|
15
|
+
#cp -pr projects/demo/scores $DATA_DIR/stk/demo
|
|
16
|
+
#cp -p projects/demo/demo $BIN_DIR/stk-demo
|
|
17
|
+
#cp -p projects/demo/Md2Skini $BIN_DIR/Md2Skini
|
|
18
|
+
#for f in Banded Drums Modal Physical Shakers StkDemo Voice ; do
|
|
19
|
+
# chmod +x projects/demo/$f
|
|
20
|
+
# sed -e 's,\./demo,$BIN_DIR/stk-demo,' -e '1i#! /bin/sh' \
|
|
21
|
+
# -i projects/demo/$f
|
|
22
|
+
# cp -p projects/demo/$f $DATA_DIR/stk/demo
|
|
23
|
+
#done
|
|
24
|
+
|
|
25
|
+
#cp -pr projects/examples/midifiles $DATA_DIR/stk/examples
|
|
26
|
+
#cp -pr projects/examples/rawwaves $DATA_DIR/stk/examples
|
|
27
|
+
#cp -pr projects/examples/scores $DATA_DIR/stk/examples
|
|
28
|
+
#for f in sine sineosc foursine audioprobe midiprobe duplex play \
|
|
29
|
+
# record inetIn inetOut rtsine crtsine bethree controlbee \
|
|
30
|
+
# threebees playsmf grains ; do
|
|
31
|
+
# cp -p projects/examples/$f $BIN_DIR/stk-$f
|
|
32
|
+
# # absolute links, will be shortened later
|
|
33
|
+
# ln -s $BIN_DIR/stk-$f $DATA_DIR/stk/examples/$f
|
|
34
|
+
#done
|
|
35
|
+
|
|
36
|
+
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/tcl
|
|
37
|
+
install -Dm644 -t $BIN_DIR/stk-effects projects/effects/effects
|
|
38
|
+
sed -e 's,\./effects,$BIN_DIR/stk-effects,' -e '1i#! /bin/sh' \
|
|
39
|
+
-i projects/effects/StkEffects
|
|
40
|
+
install -Dm644 -t $DATA_DIR/stk/effects projects/effects/StkEffects
|
|
41
|
+
|
|
42
|
+
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/tcl
|
|
43
|
+
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/rawwaves
|
|
44
|
+
install -Dm644 -t $BIN_DIR/stk-ragamat projects/ragamatic/ragamat
|
|
45
|
+
sed -e 's,\./ragamat,$BIN_DIR/stk-ragamat,' -e '1i#! /bin/sh' \
|
|
46
|
+
-i projects/ragamatic/Raga
|
|
47
|
+
install -Dm644 -t $DATA_DIR/stk/ragamatic projects/ragamatic/Raga
|
|
48
|
+
|
|
49
|
+
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/tcl
|
|
50
|
+
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/scores
|
|
51
|
+
install -Dm644 -t $BIN_DIR/stk-eguitar projects/eguitar/eguitar
|
|
52
|
+
sed -e 's,\./eguitar,$BIN_DIR/stk-eguitar,' -e '1i#! /bin/sh' \
|
|
53
|
+
-i projects/eguitar/ElectricGuitar
|
|
54
|
+
install -Dm644 -t $DATA_DIR/stk/eguitar projects/eguitar/ElectricGuitar
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "stk",
|
|
3
|
+
"build-commands": [
|
|
4
|
+
"make -j $FLATPAK_BUILDER_N_JOBS -C src",
|
|
5
|
+
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/effects libeffects",
|
|
6
|
+
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/ragamatic libragamat",
|
|
7
|
+
"make -j $FLATPAK_BUILDER_N_JOBS -C projects/eguitar libeguitar"
|
|
8
|
+
],
|
|
9
|
+
"post-install": [
|
|
10
|
+
"sh ./stk-install.sh"
|
|
11
|
+
],
|
|
12
|
+
"cleanup": [
|
|
13
|
+
"/bin/*",
|
|
14
|
+
"/include",
|
|
15
|
+
"*.a"
|
|
16
|
+
],
|
|
17
|
+
"sources": [
|
|
18
|
+
{
|
|
19
|
+
"type": "archive",
|
|
20
|
+
"url": "http://ccrma.stanford.edu/software/stk/release/stk-4.6.1.tar.gz",
|
|
21
|
+
"sha256": "e77ba3c80cdd93ca02c34098b9b7f918df3d648c87f1ed5d94fe854debd6d101"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "file",
|
|
25
|
+
"path": "patches/stk-install.sh"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
From: Enrico Tassi <gareuselesinge@debian.org>
|
|
2
|
+
Date: Tue, 26 Aug 2014 16:20:55 +0200
|
|
3
|
+
Subject: Fix stack overflow in vararg functions
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
src/ldo.c | 2 +-
|
|
7
|
+
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
8
|
+
|
|
9
|
+
diff --git a/src/ldo.c b/src/ldo.c
|
|
10
|
+
index d1bf786..30333bf 100644
|
|
11
|
+
--- a/src/ldo.c
|
|
12
|
+
+++ b/src/ldo.c
|
|
13
|
+
@@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) {
|
|
14
|
+
CallInfo *ci;
|
|
15
|
+
StkId st, base;
|
|
16
|
+
Proto *p = cl->p;
|
|
17
|
+
- luaD_checkstack(L, p->maxstacksize);
|
|
18
|
+
+ luaD_checkstack(L, p->maxstacksize + p->numparams);
|
|
19
|
+
func = restorestack(L, funcr);
|
|
20
|
+
if (!p->is_vararg) { /* no varargs? */
|
|
21
|
+
base = func + 1;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
diff -ur lua-5.1.4/src/Makefile lua-5.1.4-new/src/Makefile
|
|
2
|
+
--- lua-5.1.4/src/Makefile 2008-01-19 20:37:58.000000000 +0100
|
|
3
|
+
+++ lua-5.1.4-new/src/Makefile 2012-02-23 18:26:43.000000000 +0100
|
|
4
|
+
@@ -23,6 +23,7 @@
|
|
5
|
+
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
|
6
|
+
|
|
7
|
+
LUA_A= liblua.a
|
|
8
|
+
+LUA_SO= liblua.so
|
|
9
|
+
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
|
10
|
+
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
|
11
|
+
lundump.o lvm.o lzio.o
|
|
12
|
+
@@ -36,7 +37,7 @@
|
|
13
|
+
LUAC_O= luac.o print.o
|
|
14
|
+
|
|
15
|
+
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
|
16
|
+
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
|
17
|
+
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T)
|
|
18
|
+
ALL_A= $(LUA_A)
|
|
19
|
+
|
|
20
|
+
default: $(PLAT)
|
|
21
|
+
@@ -51,6 +52,11 @@
|
|
22
|
+
$(AR) $@ $?
|
|
23
|
+
$(RANLIB) $@
|
|
24
|
+
|
|
25
|
+
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
26
|
+
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
|
27
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
|
28
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
|
29
|
+
+
|
|
30
|
+
$(LUA_T): $(LUA_O) $(LUA_A)
|
|
31
|
+
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
|
32
|
+
|
|
33
|
+
--- lua-5.1.4/Makefile 2008-08-12 02:40:48.000000000 +0200
|
|
34
|
+
+++ lua-5.1.4-new/Makefile 2012-02-23 19:06:32.000000000 +0100
|
|
35
|
+
@@ -53,7 +53,7 @@
|
|
36
|
+
all: $(PLAT)
|
|
37
|
+
|
|
38
|
+
$(PLATS) clean:
|
|
39
|
+
- cd src && $(MAKE) $@
|
|
40
|
+
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
|
41
|
+
|
|
42
|
+
test: dummy
|
|
43
|
+
src/lua test/hello.lua
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lua-5.1",
|
|
3
|
+
"buildsystem": "simple",
|
|
4
|
+
"build-commands": [
|
|
5
|
+
"make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_USE_LINUX\" linux",
|
|
6
|
+
"make INSTALL_TOP=$FLATPAK_DEST TO_LIB='liblua.a liblua.so.5.1.5' install",
|
|
7
|
+
"ln -sf liblua.so.5.1.5 $FLATPAK_DEST/lib/liblua.so",
|
|
8
|
+
"ln -sf liblua.so.5.1.5 $FLATPAK_DEST/lib/liblua.so.5.1",
|
|
9
|
+
"install -Dm0644 etc/lua.pc $FLATPAK_DEST/lib/pkgconfig/lua.pc",
|
|
10
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua51.pc",
|
|
11
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua5.1.pc",
|
|
12
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua-5.1.pc"
|
|
13
|
+
],
|
|
14
|
+
"sources": [
|
|
15
|
+
{
|
|
16
|
+
"type": "archive",
|
|
17
|
+
"url": "https://www.lua.org/ftp/lua-5.1.5.tar.gz",
|
|
18
|
+
"sha256": "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "patch",
|
|
22
|
+
"path": "lua-5.1.5-so.patch"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "patch",
|
|
26
|
+
"path": "0004-Fix-stack-overflow-in-vararg-functions.patch"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "shell",
|
|
30
|
+
"commands": [
|
|
31
|
+
"sed -i \"s|/usr/local|$FLATPAK_DEST|\" etc/lua.pc src/luaconf.h"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"cleanup": [
|
|
36
|
+
"*.a",
|
|
37
|
+
"/bin",
|
|
38
|
+
"/include",
|
|
39
|
+
"/lib/pkgconfig",
|
|
40
|
+
"/man"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lua-5.3",
|
|
3
|
+
"buildsystem": "simple",
|
|
4
|
+
"build-commands": [
|
|
5
|
+
"make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_USE_LINUX -DLUA_ROOT=\\\\\\\"$FLATPAK_DEST/\\\\\\\"\" linux",
|
|
6
|
+
"make TO_LIB=liblua.so.5.3.5 INSTALL_TOP=$FLATPAK_DEST install",
|
|
7
|
+
"ln -sf liblua.so.5.3.5 $FLATPAK_DEST/lib/liblua.so",
|
|
8
|
+
"ln -sf liblua.so.5.3.5 $FLATPAK_DEST/lib/liblua.so.5.3",
|
|
9
|
+
"make INSTALL_TOP=${FLATPAK_DEST} pc > lua.pc",
|
|
10
|
+
"cat lua.pc.in >> lua.pc",
|
|
11
|
+
"install -Dm644 lua.pc $FLATPAK_DEST/lib/pkgconfig/lua.pc",
|
|
12
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua53.pc",
|
|
13
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua5.3.pc",
|
|
14
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua-5.3.pc"
|
|
15
|
+
],
|
|
16
|
+
"sources": [
|
|
17
|
+
{
|
|
18
|
+
"type": "archive",
|
|
19
|
+
"url": "https://www.lua.org/ftp/lua-5.3.5.tar.gz",
|
|
20
|
+
"sha256": "0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "patch",
|
|
24
|
+
"path": "makefile-add-liblua.so-rule.patch"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "file",
|
|
28
|
+
"path": "lua.pc.in"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "patch",
|
|
32
|
+
"path": "luaconf.patch"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"cleanup": [
|
|
36
|
+
"/bin",
|
|
37
|
+
"/include",
|
|
38
|
+
"/lib/pkgconfig",
|
|
39
|
+
"/man"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
diff --git a/Makefile b/Makefile
|
|
2
|
+
index 119110d..22b1f31 100644
|
|
3
|
+
--- a/Makefile
|
|
4
|
+
+++ b/Makefile
|
|
5
|
+
@@ -46,7 +46,7 @@ TO_MAN= lua.1 luac.1
|
|
6
|
+
|
|
7
|
+
# Lua version and release.
|
|
8
|
+
V= 5.3
|
|
9
|
+
-R= $V.4
|
|
10
|
+
+R= $V.5
|
|
11
|
+
|
|
12
|
+
# Targets start here.
|
|
13
|
+
all: $(PLAT)
|
|
14
|
+
diff --git a/src/luaconf.h b/src/luaconf.h
|
|
15
|
+
index 9eeeea6..a44219f 100644
|
|
16
|
+
--- a/src/luaconf.h
|
|
17
|
+
+++ b/src/luaconf.h
|
|
18
|
+
@@ -11,6 +11,9 @@
|
|
19
|
+
#include <limits.h>
|
|
20
|
+
#include <stddef.h>
|
|
21
|
+
|
|
22
|
+
+#define LUA_COMPAT_5_1
|
|
23
|
+
+#define LUA_COMPAT_5_2
|
|
24
|
+
+
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
** ===================================================================
|
|
28
|
+
@@ -200,7 +203,9 @@
|
|
29
|
+
|
|
30
|
+
#else /* }{ */
|
|
31
|
+
|
|
32
|
+
-#define LUA_ROOT "/usr/local/"
|
|
33
|
+
+#ifndef LUA_ROOT
|
|
34
|
+
+#define LUA_ROOT "/usr/local/"
|
|
35
|
+
+#endif
|
|
36
|
+
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
|
|
37
|
+
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
|
|
38
|
+
#define LUA_PATH_DEFAULT \
|
|
39
|
+
@@ -745,7 +750,7 @@
|
|
40
|
+
@@ of a function in debug information.
|
|
41
|
+
** CHANGE it if you want a different size.
|
|
42
|
+
*/
|
|
43
|
+
-#define LUA_IDSIZE 60
|
|
44
|
+
+#define LUA_IDSIZE 512
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/*
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
diff --git a/Makefile b/Makefile
|
|
2
|
+
index 7fa91c8..dccf485 100644
|
|
3
|
+
--- a/Makefile
|
|
4
|
+
+++ b/Makefile
|
|
5
|
+
@@ -52,7 +52,7 @@ R= $V.0
|
|
6
|
+
all: $(PLAT)
|
|
7
|
+
|
|
8
|
+
$(PLATS) clean:
|
|
9
|
+
- cd src && $(MAKE) $@
|
|
10
|
+
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
|
11
|
+
|
|
12
|
+
test: dummy
|
|
13
|
+
src/lua -v
|
|
14
|
+
diff --git a/src/Makefile b/src/Makefile
|
|
15
|
+
index 2e7a412..fa5769f 100644
|
|
16
|
+
--- a/src/Makefile
|
|
17
|
+
+++ b/src/Makefile
|
|
18
|
+
@@ -29,6 +29,7 @@ MYOBJS=
|
|
19
|
+
PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris
|
|
20
|
+
|
|
21
|
+
LUA_A= liblua.a
|
|
22
|
+
+LUA_SO= liblua.so
|
|
23
|
+
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
|
24
|
+
lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
|
|
25
|
+
ltm.o lundump.o lvm.o lzio.o
|
|
26
|
+
@@ -43,7 +44,7 @@ LUAC_T= luac
|
|
27
|
+
LUAC_O= luac.o
|
|
28
|
+
|
|
29
|
+
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
|
30
|
+
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
|
31
|
+
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
|
32
|
+
ALL_A= $(LUA_A)
|
|
33
|
+
|
|
34
|
+
# Targets start here.
|
|
35
|
+
@@ -59,6 +60,12 @@ $(LUA_A): $(BASE_O)
|
|
36
|
+
$(AR) $@ $(BASE_O)
|
|
37
|
+
$(RANLIB) $@
|
|
38
|
+
|
|
39
|
+
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
40
|
+
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
|
41
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
|
42
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
|
43
|
+
+
|
|
44
|
+
+
|
|
45
|
+
$(LUA_T): $(LUA_O) $(LUA_A)
|
|
46
|
+
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
|
47
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lua-5.4",
|
|
3
|
+
"buildsystem": "simple",
|
|
4
|
+
"build-commands": [
|
|
5
|
+
"make -j $FLATPAK_BUILDER_N_JOBS CFLAGS=\"$CFLAGS -fPIC -DLUA_USE_LINUX -DLUA_ROOT=\\\\\\\"$FLATPAK_DEST/\\\\\\\"\" linux",
|
|
6
|
+
"make TO_LIB=liblua.so.5.4.6 INSTALL_TOP=$FLATPAK_DEST install",
|
|
7
|
+
"ln -sf liblua.so.5.4.6 $FLATPAK_DEST/lib/liblua.so",
|
|
8
|
+
"ln -sf liblua.so.5.4.6 $FLATPAK_DEST/lib/liblua.so.5.4",
|
|
9
|
+
"make INSTALL_TOP=${FLATPAK_DEST} pc > lua.pc",
|
|
10
|
+
"cat lua.pc.in >> lua.pc",
|
|
11
|
+
"install -Dm644 lua.pc $FLATPAK_DEST/lib/pkgconfig/lua.pc",
|
|
12
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua54.pc",
|
|
13
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua5.4.pc",
|
|
14
|
+
"ln -sf lua.pc $FLATPAK_DEST/lib/pkgconfig/lua-5.4.pc"
|
|
15
|
+
],
|
|
16
|
+
"sources": [
|
|
17
|
+
{
|
|
18
|
+
"type": "archive",
|
|
19
|
+
"url": "https://www.lua.org/ftp/lua-5.4.6.tar.gz",
|
|
20
|
+
"sha256": "7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "patch",
|
|
24
|
+
"path": "makefile-add-liblua.so-rule.patch"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "file",
|
|
28
|
+
"path": "lua.pc.in"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "patch",
|
|
32
|
+
"path": "luaconf.patch"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"cleanup": [
|
|
36
|
+
"/bin",
|
|
37
|
+
"/include",
|
|
38
|
+
"/lib/pkgconfig",
|
|
39
|
+
"/man"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
diff --git a/src/luaconf.h b/src/luaconf.h
|
|
2
|
+
index 137103e..8cd54a7 100644
|
|
3
|
+
--- a/src/luaconf.h
|
|
4
|
+
+++ b/src/luaconf.h
|
|
5
|
+
@@ -11,6 +11,9 @@
|
|
6
|
+
#include <limits.h>
|
|
7
|
+
#include <stddef.h>
|
|
8
|
+
|
|
9
|
+
+#define LUA_COMPAT_5_1
|
|
10
|
+
+#define LUA_COMPAT_5_2
|
|
11
|
+
+
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
** ===================================================================
|
|
15
|
+
@@ -223,7 +226,9 @@
|
|
16
|
+
|
|
17
|
+
#else /* }{ */
|
|
18
|
+
|
|
19
|
+
-#define LUA_ROOT "/usr/local/"
|
|
20
|
+
+#ifndef LUA_ROOT
|
|
21
|
+
+#define LUA_ROOT "/usr/local/"
|
|
22
|
+
+#endif
|
|
23
|
+
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
|
|
24
|
+
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
|
|
25
|
+
|
|
26
|
+
@@ -756,7 +761,7 @@
|
|
27
|
+
** of a function in debug information.
|
|
28
|
+
** CHANGE it if you want a different size.
|
|
29
|
+
*/
|
|
30
|
+
-#define LUA_IDSIZE 60
|
|
31
|
+
+#define LUA_IDSIZE 512
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/*
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
--- a/Makefile 2021-12-24 10:55:05.836294155 -0500
|
|
2
|
+
+++ b/Makefile 2021-03-02 15:04:35.000000000 -0500
|
|
3
|
+
@@ -52,7 +52,7 @@
|
|
4
|
+
all: $(PLAT)
|
|
5
|
+
|
|
6
|
+
$(PLATS) help test clean:
|
|
7
|
+
- @cd src && $(MAKE) $@
|
|
8
|
+
+ @cd src && $(MAKE) $@ V=$(V) R=$(R)
|
|
9
|
+
|
|
10
|
+
install: dummy
|
|
11
|
+
cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
|
|
12
|
+
--- a/src/Makefile 2021-12-24 10:56:23.279935521 -0500
|
|
13
|
+
+++ b/src/Makefile 2021-02-09 13:47:17.000000000 -0500
|
|
14
|
+
@@ -32,6 +32,7 @@
|
|
15
|
+
PLATS= guess aix bsd c89 freebsd generic linux linux-readline macosx mingw posix solaris
|
|
16
|
+
|
|
17
|
+
LUA_A= liblua.a
|
|
18
|
+
+LUA_SO= liblua.so
|
|
19
|
+
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o
|
|
20
|
+
LIB_O= lauxlib.o lbaselib.o lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o linit.o
|
|
21
|
+
BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS)
|
|
22
|
+
@@ -44,7 +44,7 @@
|
|
23
|
+
LUAC_O= luac.o
|
|
24
|
+
|
|
25
|
+
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
|
26
|
+
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
|
27
|
+
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
|
28
|
+
ALL_A= $(LUA_A)
|
|
29
|
+
|
|
30
|
+
# Targets start here.
|
|
31
|
+
@@ -60,6 +60,11 @@
|
|
32
|
+
$(AR) $@ $(BASE_O)
|
|
33
|
+
$(RANLIB) $@
|
|
34
|
+
|
|
35
|
+
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
36
|
+
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
|
37
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
|
38
|
+
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
|
39
|
+
+
|
|
40
|
+
$(LUA_T): $(LUA_O) $(LUA_A)
|
|
41
|
+
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
|
42
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "luajit",
|
|
3
|
+
"no-autogen": true,
|
|
4
|
+
"make-args": [
|
|
5
|
+
"BUILDMODE=dynamic",
|
|
6
|
+
"PREFIX=${FLATPAK_DEST}"
|
|
7
|
+
],
|
|
8
|
+
"make-install-args": [
|
|
9
|
+
"PREFIX=${FLATPAK_DEST}"
|
|
10
|
+
],
|
|
11
|
+
"sources": [
|
|
12
|
+
{
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/openresty/luajit2.git",
|
|
15
|
+
"tag": "v2.1-20260620",
|
|
16
|
+
"commit": "b411bec3ce550ef9968fc83bca094455cf812c1f",
|
|
17
|
+
"x-checker-data": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"tag-pattern": "^v([\\d.-]+)$",
|
|
20
|
+
"stable-only": false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"cleanup": [
|
|
25
|
+
"/bin",
|
|
26
|
+
"/include",
|
|
27
|
+
"/lib/pkgconfig",
|
|
28
|
+
"/share/man"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lzo",
|
|
3
|
+
"cleanup": [
|
|
4
|
+
"/include",
|
|
5
|
+
"/lib/pkgconfig",
|
|
6
|
+
"/share/doc",
|
|
7
|
+
"*.la"
|
|
8
|
+
],
|
|
9
|
+
"config-opts": [
|
|
10
|
+
"--disable-dependency-tracking",
|
|
11
|
+
"--disable-static",
|
|
12
|
+
"--enable-shared"
|
|
13
|
+
],
|
|
14
|
+
"sources": [
|
|
15
|
+
{
|
|
16
|
+
"type": "archive",
|
|
17
|
+
"url": "https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz",
|
|
18
|
+
"sha256": "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072",
|
|
19
|
+
"x-checker-data": {
|
|
20
|
+
"type": "anitya",
|
|
21
|
+
"project-id": 1868,
|
|
22
|
+
"stable-only": false,
|
|
23
|
+
"url-template": "https://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "libmac",
|
|
3
|
+
"buildsystem": "cmake",
|
|
4
|
+
"config-opts": [
|
|
5
|
+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
|
6
|
+
],
|
|
7
|
+
"cleanup": [
|
|
8
|
+
"/include/MAC"
|
|
9
|
+
],
|
|
10
|
+
"sources": [
|
|
11
|
+
{
|
|
12
|
+
"type": "archive",
|
|
13
|
+
"url": "https://freac.org/patches/MAC_1076_SDK.zip",
|
|
14
|
+
"sha256": "d0c8e69f2dbe337feb0d9e0a2a24e0bbb6f50613f0c88d0d0cf121cf603995d3",
|
|
15
|
+
"strip-components": 0
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "PhysicsFS",
|
|
3
|
+
"buildsystem": "cmake-ninja",
|
|
4
|
+
"config-opts": [
|
|
5
|
+
"-DPHYSFS_BUILD_TEST=OFF",
|
|
6
|
+
"-DPHYSFS_BUILD_STATIC=OFF",
|
|
7
|
+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
|
8
|
+
],
|
|
9
|
+
"cleanup": [
|
|
10
|
+
"/include",
|
|
11
|
+
"/lib/pkgconfig",
|
|
12
|
+
"/bin"
|
|
13
|
+
],
|
|
14
|
+
"sources": [
|
|
15
|
+
{
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/icculus/physfs.git",
|
|
18
|
+
"tag": "release-3.2.0",
|
|
19
|
+
"commit": "eb3383b532c5f74bfeb42ec306ba2cf80eed988c",
|
|
20
|
+
"x-checker-data": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"tag-pattern": "^release-([0-9.]+)$"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
From b62c902dd258125cac86cd2df21fc898035a43d3 Mon Sep 17 00:00:00 2001
|
|
2
|
+
From: Michael Pruett <michael@68k.org>
|
|
3
|
+
Date: Mon, 29 Aug 2016 23:08:26 -0500
|
|
4
|
+
Subject: [PATCH] Fix undefined behavior in sign conversion.
|
|
5
|
+
Origin: https://github.com/mpruett/audiofile/commit/b62c902dd258125cac86cd2df21fc898035a43d3
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
diff --git a/libaudiofile/modules/SimpleModule.h b/libaudiofile/modules/SimpleModule.h
|
|
9
|
+
index 03c6c69..bad85ad 100644
|
|
10
|
+
--- a/libaudiofile/modules/SimpleModule.h
|
|
11
|
+
+++ b/libaudiofile/modules/SimpleModule.h
|
|
12
|
+
@@ -123,7 +123,8 @@ struct signConverter
|
|
13
|
+
typedef typename IntTypes<Format>::UnsignedType UnsignedType;
|
|
14
|
+
|
|
15
|
+
static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
|
|
16
|
+
- static const int kMinSignedValue = -1 << kScaleBits;
|
|
17
|
+
+ static const int kMaxSignedValue = (((1 << (kScaleBits - 1)) - 1) << 1) + 1;
|
|
18
|
+
+ static const int kMinSignedValue = -kMaxSignedValue - 1;
|
|
19
|
+
|
|
20
|
+
struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
|
|
21
|
+
{
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
From ff04ba4bfbe65929534f61a9f66a39d03c973b78 Mon Sep 17 00:00:00 2001
|
|
2
|
+
From: bbhtt <bbhtt.zn0i8@slmail.me>
|
|
3
|
+
Date: Sat, 9 Sep 2023 15:15:00 +0530
|
|
4
|
+
Subject: [PATCH 1/2] Cython fixes
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
src_c/pypm.pyx | 4 +++-
|
|
8
|
+
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
9
|
+
|
|
10
|
+
diff --git a/src_c/pypm.pyx b/src_c/pypm.pyx
|
|
11
|
+
index d66e7a10..706726c6 100644
|
|
12
|
+
--- a/src_c/pypm.pyx
|
|
13
|
+
+++ b/src_c/pypm.pyx
|
|
14
|
+
@@ -5,6 +5,8 @@
|
|
15
|
+
# harrison@media.mit.edu
|
|
16
|
+
# written in Pyrex
|
|
17
|
+
|
|
18
|
+
+# cython: language_level=2
|
|
19
|
+
+
|
|
20
|
+
__version__ = "0.0.6"
|
|
21
|
+
|
|
22
|
+
import array
|
|
23
|
+
@@ -277,7 +279,7 @@ cdef class Output:
|
|
24
|
+
PmPtr = <PmTimeProcPtr>&Pt_Time
|
|
25
|
+
|
|
26
|
+
if self.debug:
|
|
27
|
+
- print "Opening Midi Output"
|
|
28
|
+
+ print "Opening Midi Output", output_device
|
|
29
|
+
|
|
30
|
+
# Why is buffer size 0 here?
|
|
31
|
+
err = Pm_OpenOutput(&(self.midi), output_device, NULL, 0, PmPtr, NULL,
|
|
32
|
+
--
|
|
33
|
+
2.41.0
|
|
34
|
+
|