From 88841ec8b3bdb0988e033ebd76011f959d72a454 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 10 Dec 2023 05:39:10 +0000
Subject: [PATCH] Update recipes

---
 recipes/wip/dcmtk/recipe.toml         | 14 ++++++++++++
 recipes/wip/emacs-pgtk/recipe.toml    | 32 ++++++++++++++++++++++++++
 recipes/wip/emacs/recipe.toml         | 14 +++++++++++-
 recipes/wip/jirust/recipe.toml        |  5 ++++
 recipes/wip/krita/recipe.toml         | 33 ++++++++++++++++++++++++++-
 recipes/wip/libde265/recipe.toml      | 12 ++++++++++
 recipes/wip/libeigen/recipe.toml      |  5 ++++
 recipes/wip/libgc/recipe.toml         |  5 ++++
 recipes/wip/libgpm/recipe.toml        |  5 ++++
 recipes/wip/libgsl/recipe.toml        |  5 ++++
 recipes/wip/libheif/recipe.toml       |  9 ++++++++
 recipes/wip/libiconv/recipe.toml      |  5 ++++
 recipes/wip/libimmer/recipe.toml      |  5 ++++
 recipes/wip/libjasper/recipe.toml     |  5 ++++
 recipes/wip/libkdcraw/recipe.toml     |  9 ++++++++
 recipes/wip/liblager/recipe.toml      |  9 ++++++++
 recipes/wip/libm17n/recipe.toml       |  5 ++++
 recipes/wip/libotf/recipe.toml        |  5 ++++
 recipes/wip/libpoppler/recipe.toml    |  6 +++++
 recipes/wip/libraw/recipe.toml        | 11 +++++++++
 recipes/wip/libseexpr-kde/recipe.toml |  8 +++++++
 recipes/wip/libunibreak/recipe.toml   |  5 ++++
 recipes/wip/libxsimd/recipe.toml      |  5 ++++
 recipes/wip/libxtl/recipe.toml        |  5 ++++
 recipes/wip/libzug/recipe.toml        |  8 +++++++
 recipes/wip/opencolorio/recipe.toml   | 11 +++++++++
 recipes/wip/openimageio/recipe.toml   |  8 ++++++-
 recipes/wip/openjpeg/recipe.toml      |  5 ++++
 28 files changed, 251 insertions(+), 3 deletions(-)
 create mode 100644 recipes/wip/dcmtk/recipe.toml
 create mode 100644 recipes/wip/emacs-pgtk/recipe.toml
 create mode 100644 recipes/wip/jirust/recipe.toml
 create mode 100644 recipes/wip/libde265/recipe.toml
 create mode 100644 recipes/wip/libeigen/recipe.toml
 create mode 100644 recipes/wip/libgc/recipe.toml
 create mode 100644 recipes/wip/libgpm/recipe.toml
 create mode 100644 recipes/wip/libgsl/recipe.toml
 create mode 100644 recipes/wip/libheif/recipe.toml
 create mode 100644 recipes/wip/libiconv/recipe.toml
 create mode 100644 recipes/wip/libimmer/recipe.toml
 create mode 100644 recipes/wip/libjasper/recipe.toml
 create mode 100644 recipes/wip/libkdcraw/recipe.toml
 create mode 100644 recipes/wip/liblager/recipe.toml
 create mode 100644 recipes/wip/libm17n/recipe.toml
 create mode 100644 recipes/wip/libotf/recipe.toml
 create mode 100644 recipes/wip/libpoppler/recipe.toml
 create mode 100644 recipes/wip/libraw/recipe.toml
 create mode 100644 recipes/wip/libseexpr-kde/recipe.toml
 create mode 100644 recipes/wip/libunibreak/recipe.toml
 create mode 100644 recipes/wip/libxsimd/recipe.toml
 create mode 100644 recipes/wip/libxtl/recipe.toml
 create mode 100644 recipes/wip/libzug/recipe.toml
 create mode 100644 recipes/wip/opencolorio/recipe.toml
 create mode 100644 recipes/wip/openjpeg/recipe.toml

diff --git a/recipes/wip/dcmtk/recipe.toml b/recipes/wip/dcmtk/recipe.toml
new file mode 100644
index 000000000..5393073fc
--- /dev/null
+++ b/recipes/wip/dcmtk/recipe.toml
@@ -0,0 +1,14 @@
+#TODO missing script for CMake, see https://git.dcmtk.org/?p=dcmtk.git;a=blob;f=INSTALL;h=97087f9a05e65040264d90027912c736958e67f3;hb=HEAD#l667
+[source]
+tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "libiconv",
+    "libicu",
+    "libpng",
+    "libxml2",
+    "libtiff",
+    "zlib",
+    "openjpeg",
+]
diff --git a/recipes/wip/emacs-pgtk/recipe.toml b/recipes/wip/emacs-pgtk/recipe.toml
new file mode 100644
index 000000000..6c3d09124
--- /dev/null
+++ b/recipes/wip/emacs-pgtk/recipe.toml
@@ -0,0 +1,32 @@
+#TODO compilation error
+[source]
+tar = "https://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz"
+[build]
+template = "configure"
+dependencies = [
+    "dbus",
+    "libgmp",
+    "libgpm",
+    "gnutls3",
+    "jansson",
+    "liblcms",
+    "sqlite3",
+    "libxml2",
+    "zlib",
+    "ncurses",
+    "cairo",
+    "fontconfig",
+    "freetype2",
+    "gdk-pixbuf",
+    "libgif",
+    "glib",
+    "gtk3",
+    "harfbuzz",
+    "libjpeg-turbo",
+    "pango",
+    "libpng",
+    "librsvg",
+    "libtiff",
+    "libwebp",
+    "libotf",
+]
diff --git a/recipes/wip/emacs/recipe.toml b/recipes/wip/emacs/recipe.toml
index 4957776a3..93030ac68 100644
--- a/recipes/wip/emacs/recipe.toml
+++ b/recipes/wip/emacs/recipe.toml
@@ -1,5 +1,17 @@
 #TODO compilation error
 [source]
-tar = "https://ftp.gnu.org/gnu/emacs/emacs-28.2.tar.xz"
+tar = "https://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz"
 [build]
 template = "configure"
+dependencies = [
+    "dbus",
+    "libgmp",
+    "libgpm",
+    "gnutls3",
+    "jansson",
+    "liblcms",
+    "sqlite3",
+    "libxml2",
+    "zlib",
+    "ncurses",
+]
diff --git a/recipes/wip/jirust/recipe.toml b/recipes/wip/jirust/recipe.toml
new file mode 100644
index 000000000..02d822829
--- /dev/null
+++ b/recipes/wip/jirust/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://github.com/moali87/jirust/archive/refs/tags/1.1.6.tar.gz"
+[build]
+template = "cargo"
diff --git a/recipes/wip/krita/recipe.toml b/recipes/wip/krita/recipe.toml
index bbe663c02..343605736 100644
--- a/recipes/wip/krita/recipe.toml
+++ b/recipes/wip/krita/recipe.toml
@@ -1,5 +1,5 @@
 #TODO probably wrong script, see https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux
-#TODO missing dependencies?
+#TODO maybe missing dependencies
 [source]
 tar = "https://download.kde.org/stable/krita/5.2.1/krita-5.2.1.tar.gz"
 [build]
@@ -18,8 +18,39 @@ dependencies = [
     "libtiff",
     "libwebp",
     "qt5-base",
+    "qt5-svg",
+    "qt5-x11extras",
     "zlib",
     "libmypaint",
+    "boost",
+    "libheif",
+    "libjpeg-turbo",
+    "libjxl",
+    "kf5-extra-cmake-modules",
+    "kf5-completion",
+    "kf5-config",
+    "kf5-coreaddons",
+    "kf5-crash",
+    "kf5-guiaddons",
+    "kf5-i18n",
+    "kf5-itemviews",
+    "kf5-widgetaddons",
+    "kf5-windowsystem",
+    "mlt",
+    "opencolorio",
+    "openexr",
+    "openjpeg",
+    "sdl2",
+    "libxcb",
+    "libxi",
+    "zlib",
+    "libeigen",
+    "libgsl",
+    "libseexpr-kde",
+    "liblager",
+    "libunibreak",
+    "libxsimd",
+    "libxtl",
 ]
 script = """
 COOKBOOK_CONFIGURE="cmake"
diff --git a/recipes/wip/libde265/recipe.toml b/recipes/wip/libde265/recipe.toml
new file mode 100644
index 000000000..ee50e09e5
--- /dev/null
+++ b/recipes/wip/libde265/recipe.toml
@@ -0,0 +1,12 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://github.com/strukturag/libde265/releases/download/v1.0.14/libde265-1.0.14.tar.gz"
+[build]
+template = "custom"
+script = """
+COOKBOOK_CONFIGURE_FLAGS+=(
+    --disable-dec265
+    --disable-sherlock265
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libeigen/recipe.toml b/recipes/wip/libeigen/recipe.toml
new file mode 100644
index 000000000..4aa38da4e
--- /dev/null
+++ b/recipes/wip/libeigen/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://gitlab.com/libeigen/eigen/-/blob/master/INSTALL?ref_type=heads
+[source]
+tar = "https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2"
+[build]
+template = "custom"
diff --git a/recipes/wip/libgc/recipe.toml b/recipes/wip/libgc/recipe.toml
new file mode 100644
index 000000000..fca95b6ce
--- /dev/null
+++ b/recipes/wip/libgc/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://www.hboehm.info/gc/gc_source/gc-8.2.4.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libgpm/recipe.toml b/recipes/wip/libgpm/recipe.toml
new file mode 100644
index 000000000..d4f54a908
--- /dev/null
+++ b/recipes/wip/libgpm/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2"
+[build]
+template = "configure"
diff --git a/recipes/wip/libgsl/recipe.toml b/recipes/wip/libgsl/recipe.toml
new file mode 100644
index 000000000..490913287
--- /dev/null
+++ b/recipes/wip/libgsl/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libheif/recipe.toml b/recipes/wip/libheif/recipe.toml
new file mode 100644
index 000000000..e0239fc12
--- /dev/null
+++ b/recipes/wip/libheif/recipe.toml
@@ -0,0 +1,9 @@
+#TODO missing script for CMake, see https://github.com/strukturag/libheif#compiling
+[source]
+tar = "https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "x265",
+    "libde265",
+]
diff --git a/recipes/wip/libiconv/recipe.toml b/recipes/wip/libiconv/recipe.toml
new file mode 100644
index 000000000..41cf2a78e
--- /dev/null
+++ b/recipes/wip/libiconv/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libimmer/recipe.toml b/recipes/wip/libimmer/recipe.toml
new file mode 100644
index 000000000..655a28a9d
--- /dev/null
+++ b/recipes/wip/libimmer/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/arximboldi/immer#usage
+[source]
+tar = "https://github.com/arximboldi/immer/archive/refs/tags/v0.8.1.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libjasper/recipe.toml b/recipes/wip/libjasper/recipe.toml
new file mode 100644
index 000000000..cdbf205fb
--- /dev/null
+++ b/recipes/wip/libjasper/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/jasper-software/jasper/blob/master/INSTALL.txt
+[source]
+tar = "https://github.com/jasper-software/jasper/releases/download/version-4.1.1/jasper-4.1.1.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libkdcraw/recipe.toml b/recipes/wip/libkdcraw/recipe.toml
new file mode 100644
index 000000000..575a0ba91
--- /dev/null
+++ b/recipes/wip/libkdcraw/recipe.toml
@@ -0,0 +1,9 @@
+#TODO missing script for CMake, see https://invent.kde.org/graphics/libkdcraw/-/blob/master/README?ref_type=heads
+[source]
+tar = "https://invent.kde.org/graphics/libkdcraw/-/archive/v23.08.4/libkdcraw-v23.08.4.tar.bz2"
+[build]
+template = "custom"
+dependencies = [
+    "libraw",
+    "qt5-base",
+]
diff --git a/recipes/wip/liblager/recipe.toml b/recipes/wip/liblager/recipe.toml
new file mode 100644
index 000000000..27ed34660
--- /dev/null
+++ b/recipes/wip/liblager/recipe.toml
@@ -0,0 +1,9 @@
+#TODO missing script for CMake, see https://github.com/arximboldi/lager#usage
+[source]
+git = "https://github.com/arximboldi/lager"
+[build]
+template = "custom"
+dependencies = [
+    "libzug",
+    "boost",
+]
diff --git a/recipes/wip/libm17n/recipe.toml b/recipes/wip/libm17n/recipe.toml
new file mode 100644
index 000000000..4fb2f3916
--- /dev/null
+++ b/recipes/wip/libm17n/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://download.savannah.nongnu.org/releases/m17n/m17n-lib-1.8.4.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libotf/recipe.toml b/recipes/wip/libotf/recipe.toml
new file mode 100644
index 000000000..a4f7d4a6c
--- /dev/null
+++ b/recipes/wip/libotf/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://download.savannah.nongnu.org/releases/m17n/libotf-0.9.16.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libpoppler/recipe.toml b/recipes/wip/libpoppler/recipe.toml
new file mode 100644
index 000000000..9d202a2c7
--- /dev/null
+++ b/recipes/wip/libpoppler/recipe.toml
@@ -0,0 +1,6 @@
+#TODO missing script for CMake, see https://gitlab.freedesktop.org/poppler/poppler/-/blob/master/INSTALL?ref_type=heads
+#TODO needs encoding data - https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz
+[source]
+tar = "https://poppler.freedesktop.org/poppler-23.12.0.tar.xz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libraw/recipe.toml b/recipes/wip/libraw/recipe.toml
new file mode 100644
index 000000000..e68339662
--- /dev/null
+++ b/recipes/wip/libraw/recipe.toml
@@ -0,0 +1,11 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://www.libraw.org/data/LibRaw-0.21.1.tar.gz"
+[build]
+template = "configure"
+dependencies = [
+    "zlib",
+    "libjasper",
+    "libjpeg",
+    "liblcms",
+]
diff --git a/recipes/wip/libseexpr-kde/recipe.toml b/recipes/wip/libseexpr-kde/recipe.toml
new file mode 100644
index 000000000..ff93f5f4d
--- /dev/null
+++ b/recipes/wip/libseexpr-kde/recipe.toml
@@ -0,0 +1,8 @@
+#TODO missing script for CMake, see https://invent.kde.org/graphics/kseexpr#super-impatient-cmake-building-and-installing-guide
+[source]
+tar = "https://invent.kde.org/graphics/kseexpr/-/archive/v4.0.4.0/kseexpr-v4.0.4.0.tar.bz2"
+[build]
+template = "custom"
+dependencies = [
+    "qt5-base",
+]
diff --git a/recipes/wip/libunibreak/recipe.toml b/recipes/wip/libunibreak/recipe.toml
new file mode 100644
index 000000000..4f57c82db
--- /dev/null
+++ b/recipes/wip/libunibreak/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://github.com/adah1972/libunibreak/releases/download/libunibreak_5_1/libunibreak-5.1.tar.gz"
+[build]
+template = "configure"
diff --git a/recipes/wip/libxsimd/recipe.toml b/recipes/wip/libxsimd/recipe.toml
new file mode 100644
index 000000000..a0f50efe8
--- /dev/null
+++ b/recipes/wip/libxsimd/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/xtensor-stack/xsimd#install-from-sources
+[source]
+tar = "https://github.com/xtensor-stack/xsimd/archive/refs/tags/12.1.0.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libxtl/recipe.toml b/recipes/wip/libxtl/recipe.toml
new file mode 100644
index 000000000..8759e32bb
--- /dev/null
+++ b/recipes/wip/libxtl/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/xtensor-stack/xtl#install-from-sources
+[source]
+tar = "https://github.com/xtensor-stack/xtl/archive/refs/tags/0.7.5.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/libzug/recipe.toml b/recipes/wip/libzug/recipe.toml
new file mode 100644
index 000000000..3e0a76463
--- /dev/null
+++ b/recipes/wip/libzug/recipe.toml
@@ -0,0 +1,8 @@
+#TODO missing script for CMake, see https://github.com/arximboldi/zug#usage
+[source]
+git = "https://github.com/arximboldi/zug"
+[build]
+template = "custom"
+dependencies = [
+    "boost",
+]
diff --git a/recipes/wip/opencolorio/recipe.toml b/recipes/wip/opencolorio/recipe.toml
new file mode 100644
index 000000000..b79bb0f0b
--- /dev/null
+++ b/recipes/wip/opencolorio/recipe.toml
@@ -0,0 +1,11 @@
+#TODO missing dependencies, see https://opencolorio.readthedocs.io/en/latest/quick_start/installation.html#dependencies
+#TODO missing script for CMake, see https://opencolorio.readthedocs.io/en/latest/quick_start/installation.html
+[source]
+tar = "https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v2.3.1.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "expat",
+    "imath",
+    "zlib",
+]
diff --git a/recipes/wip/openimageio/recipe.toml b/recipes/wip/openimageio/recipe.toml
index 14660582e..22f7041d7 100644
--- a/recipes/wip/openimageio/recipe.toml
+++ b/recipes/wip/openimageio/recipe.toml
@@ -6,7 +6,7 @@ template = "custom"
 dependencies = [
     "boost",
     "libtiff",
-    "libjpeg",
+    "libjpeg-turbo",
     "libpng",
     "openexr",
     "libfmt",
@@ -14,4 +14,10 @@ dependencies = [
     "ffmpeg6",
     "libwebp",
     "freetype2",
+    "libraw",
+    "openjpeg",
+    "tbb",
+    "libgif",
+    "libheif",
+    "libwebp",
 ]
diff --git a/recipes/wip/openjpeg/recipe.toml b/recipes/wip/openjpeg/recipe.toml
new file mode 100644
index 000000000..e1fe26242
--- /dev/null
+++ b/recipes/wip/openjpeg/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/uclouvain/openjpeg/blob/master/INSTALL.md
+[source]
+tar = "https://github.com/uclouvain/openjpeg/archive/refs/tags/v2.5.0.tar.gz"
+[build]
+template = "custom"
-- 
GitLab