miktex-kiss-repo

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2e249abb864e2e21a3d60a0460202dbaa24aeaf7
Author: aabacchus <bvnfuller@gmail.com>
Date:   Sat, 10 Apr 2021 12:06:55 +0100

add separate miktex repo

Diffstat:
Aapr-util/build | 9+++++++++
Aapr-util/checksums | 1+
Aapr-util/depends | 3+++
Aapr-util/sources | 1+
Aapr-util/version | 1+
Aapr/build | 7+++++++
Aapr/checksums | 1+
Aapr/depends | 1+
Aapr/sources | 1+
Aapr/version | 1+
Agd/build | 20++++++++++++++++++++
Agd/checksums | 5+++++
Agd/depends | 8++++++++
Agd/patches/CVE-2018-1000222.patch | 73+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Agd/patches/CVE-2018-5711.patch | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
Agd/patches/CVE-2019-6977.patch | 28++++++++++++++++++++++++++++
Agd/patches/CVE-2019-6978.patch | 206+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Agd/sources | 5+++++
Agd/version | 1+
Agettext/build | 25+++++++++++++++++++++++++
Agettext/checksums | 1+
Agettext/sources | 1+
Agettext/version | 1+
Agraphite-harfbuzz/build | 35+++++++++++++++++++++++++++++++++++
Agraphite-harfbuzz/checksums | 1+
Agraphite-harfbuzz/depends | 1+
Agraphite-harfbuzz/post-install | 5+++++
Agraphite-harfbuzz/sources | 1+
Agraphite-harfbuzz/version | 1+
Agraphite/build | 14++++++++++++++
Agraphite/checksums | 1+
Agraphite/depends | 3+++
Agraphite/sources | 1+
Agraphite/version | 1+
Ahunspell/build | 15+++++++++++++++
Ahunspell/checksums | 1+
Ahunspell/sources | 1+
Ahunspell/version | 1+
Alibmspack/build | 5+++++
Alibmspack/checksums | 1+
Alibmspack/sources | 1+
Alibmspack/version | 1+
Alog4cxx/build | 6++++++
Alog4cxx/checksums | 1+
Alog4cxx/depends | 4++++
Alog4cxx/sources | 1+
Alog4cxx/version | 1+
Amiktex/build | 15+++++++++++++++
Amiktex/checksums | 1+
Amiktex/depends | 33+++++++++++++++++++++++++++++++++
Amiktex/post-install | 29+++++++++++++++++++++++++++++
Amiktex/sources | 1+
Amiktex/version | 1+
Auriparser/build | 12++++++++++++
Auriparser/checksums | 1+
Auriparser/depends | 1+
Auriparser/sources | 1+
Auriparser/version | 1+
Azziplib/build | 5+++++
Azziplib/checksums | 1+
Azziplib/depends | 1+
Azziplib/sources | 1+
Azziplib/version | 1+
63 files changed, 661 insertions(+), 0 deletions(-)

diff --git a/apr-util/build b/apr-util/build @@ -0,0 +1,9 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-apr=/usr \ + --with-sqlite3=no + +make +make DESTDIR="$1" install diff --git a/apr-util/checksums b/apr-util/checksums @@ -0,0 +1 @@ +b65e40713da57d004123b6319828be7f1273fbc6490e145874ee1177e112c459 diff --git a/apr-util/depends b/apr-util/depends @@ -0,0 +1,3 @@ +apr +expat +util-linux diff --git a/apr-util/sources b/apr-util/sources @@ -0,0 +1 @@ +https://mirrors.ukfast.co.uk/sites/ftp.apache.org//apr/apr-util-1.6.1.tar.gz diff --git a/apr-util/version b/apr-util/version @@ -0,0 +1 @@ +1.6.1 1 diff --git a/apr/build b/apr/build @@ -0,0 +1,7 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-installbuilddir="/usr/share/apr-1" +make +make DESTDIR="$1" install diff --git a/apr/checksums b/apr/checksums @@ -0,0 +1 @@ +48e9dbf45ae3fdc7b491259ffb6ccf7d63049ffacbc1c0977cced095e4c2d5a2 diff --git a/apr/depends b/apr/depends @@ -0,0 +1 @@ +util-linux diff --git a/apr/sources b/apr/sources @@ -0,0 +1 @@ +https://mirrors.ukfast.co.uk/sites/ftp.apache.org//apr/apr-1.7.0.tar.gz diff --git a/apr/version b/apr/version @@ -0,0 +1 @@ +1.7.0 1 diff --git a/gd/build b/gd/build @@ -0,0 +1,20 @@ +#!/bin/sh -e + +for patch in *.patch; do + patch -p1 < "$patch" +done + +autoreconf -fis + +./configure \ + --build=x86_64-pc-linux-musl \ + --host=x86_64-pc-linux-musl \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --without-fontconfig \ + --disable-werror + +make +make DESTDIR="$1" PREFIX="$1" install diff --git a/gd/checksums b/gd/checksums @@ -0,0 +1,5 @@ +199874fdb006de0911819234104ffa84338e98e82fefbac042a58a3f8272a7df +43b665d906b16693ca6dfacdf16fcce4e0ff55442d1eae7ff6b70f689c3c08f1 +84dd86ea6f8409e9bf152e3fff56e170b5249a3584d34327c0425f84c8136cc4 +dda3bb5f3582f09c5d013e800a37e38b8e817d4d036c52e169944646fe513ece +4f191c9db122edf3aaba24b7ad6efce4e839ae30ec004c24621b2e0b5261359c diff --git a/gd/depends b/gd/depends @@ -0,0 +1,8 @@ +autoconf make +automake make +bash make +libpng make +libjpeg-turbo make +libwebp make +freetype-harfbuzz make +zlib make diff --git a/gd/patches/CVE-2018-1000222.patch b/gd/patches/CVE-2018-1000222.patch @@ -0,0 +1,73 @@ +From ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Sat, 14 Jul 2018 13:54:08 -0400 +Subject: [PATCH] bmp: check return value in gdImageBmpPtr + +Closes #447. +--- + src/gd_bmp.c | 17 ++++++++++++++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +diff --git a/src/gd_bmp.c b/src/gd_bmp.c +index bde0b9d3..78f40d9a 100644 +--- a/src/gd_bmp.c ++++ b/src/gd_bmp.c +@@ -47,6 +47,8 @@ static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp + static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); + static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info); + ++static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); ++ + #define BMP_DEBUG(s) + + static int gdBMPPutWord(gdIOCtx *out, int w) +@@ -87,8 +89,10 @@ BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression) + void *rv; + gdIOCtx *out = gdNewDynamicCtx(2048, NULL); + if (out == NULL) return NULL; +- gdImageBmpCtx(im, out, compression); +- rv = gdDPExtractData(out, size); ++ if (!_gdImageBmpCtx(im, out, compression)) ++ rv = gdDPExtractData(out, size); ++ else ++ rv = NULL; + out->gd_free(out); + return rv; + } +@@ -141,6 +145,11 @@ BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression) + compression - whether to apply RLE or not. + */ + BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) ++{ ++ _gdImageBmpCtx(im, out, compression); ++} ++ ++static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + { + int bitmap_size = 0, info_size, total_size, padding; + int i, row, xpos, pixel; +@@ -148,6 +157,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + unsigned char *uncompressed_row = NULL, *uncompressed_row_start = NULL; + FILE *tmpfile_for_compression = NULL; + gdIOCtxPtr out_original = NULL; ++ int ret = 1; + + /* No compression if its true colour or we don't support seek */ + if (im->trueColor) { +@@ -325,6 +335,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + out_original = NULL; + } + ++ ret = 0; + cleanup: + if (tmpfile_for_compression) { + #ifdef _WIN32 +@@ -338,7 +349,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) + if (out_original) { + out_original->gd_free(out_original); + } +- return; ++ return ret; + } + + static int compress_row(unsigned char *row, int length) diff --git a/gd/patches/CVE-2018-5711.patch b/gd/patches/CVE-2018-5711.patch @@ -0,0 +1,53 @@ +From: "Christoph M. Becker" <cmbecker69@gmx.de> +Date: Wed, 29 Nov 2017 19:37:38 +0100 +Subject: Fix #420: Potential infinite loop in gdImageCreateFromGifCtx +origin: https://github.com/libgd/libgd/commit/a11f47475e6443b7f32d21f2271f28f417e2ac04 +Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2018-5711 +Bug-Debian: https://bugs.debian.org/887485 +Bug: https://github.com/libgd/libgd/issues/420 + +Due to a signedness confusion in `GetCode_` a corrupt GIF file can +trigger an infinite loop. Furthermore we make sure that a GIF without +any palette entries is treated as invalid *after* open palette entries +have been removed. + +CVE-2018-5711 + +See also https://bugs.php.net/bug.php?id=75571. +--- + +--- a/src/gd_gif_in.c ++++ b/src/gd_gif_in.c +@@ -335,11 +335,6 @@ terminated: + return 0; + } + +- if(!im->colorsTotal) { +- gdImageDestroy(im); +- return 0; +- } +- + /* Check for open colors at the end, so + * we can reduce colorsTotal and ultimately + * BitsPerPixel */ +@@ -351,6 +346,11 @@ terminated: + } + } + ++ if(!im->colorsTotal) { ++ gdImageDestroy(im); ++ return 0; ++ } ++ + return im; + } + +@@ -447,7 +447,7 @@ static int + GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) + { + int i, j, ret; +- unsigned char count; ++ int count; + + if(flag) { + scd->curbit = 0; diff --git a/gd/patches/CVE-2019-6977.patch b/gd/patches/CVE-2019-6977.patch @@ -0,0 +1,28 @@ +Description: Heap-based buffer overflow in gdImageColorMatch +Origin: other, https://gist.github.com/cmb69/1f36d285eb297ed326f5c821d7aafced +Bug-PHP: https://bugs.php.net/bug.php?id=77270 +Bug-Debian: https://bugs.debian.org/920645 +Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-6977 +Forwarded: no +Author: "Christoph M. Becker" <cmbecker69@gmx.de> +Last-Update: 2019-02-01 + +At least some of the image reading functions may return images which +use color indexes greater than or equal to im->colorsTotal. We cater +to this by always using a buffer size which is sufficient for +`gdMaxColors` in `gdImageColorMatch()`. +--- + +--- a/src/gd_color_match.c ++++ b/src/gd_color_match.c +@@ -31,8 +31,8 @@ BGD_DECLARE(int) gdImageColorMatch (gdIm + return -4; /* At least 1 color must be allocated */ + } + +- buf = (unsigned long *)gdMalloc(sizeof(unsigned long) * 5 * im2->colorsTotal); +- memset (buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); ++ buf = (unsigned long *)gdMalloc(sizeof(unsigned long) * 5 * gdMaxColors); ++ memset (buf, 0, sizeof(unsigned long) * 5 * gdMaxColors ); + + for (x=0; x < im1->sx; x++) { + for( y=0; y<im1->sy; y++ ) { diff --git a/gd/patches/CVE-2019-6978.patch b/gd/patches/CVE-2019-6978.patch @@ -0,0 +1,206 @@ +From 553702980ae89c83f2d6e254d62cf82e204956d0 Mon Sep 17 00:00:00 2001 +From: "Christoph M. Becker" <cmbecker69@gmx.de> +Date: Thu, 17 Jan 2019 11:54:55 +0100 +Subject: [PATCH] Fix #492: Potential double-free in gdImage*Ptr() + +Whenever `gdImage*Ptr()` calls `gdImage*Ctx()` and the latter fails, we +must not call `gdDPExtractData()`; otherwise a double-free would +happen. Since `gdImage*Ctx()` are void functions, and we can't change +that for BC reasons, we're introducing static helpers which are used +internally. + +We're adding a regression test for `gdImageJpegPtr()`, but not for +`gdImageGifPtr()` and `gdImageWbmpPtr()` since we don't know how to +trigger failure of the respective `gdImage*Ctx()` calls. + +This potential security issue has been reported by Solmaz Salimi (aka. +Rooney). + +diff --git a/src/gd_gif_out.c b/src/gd_gif_out.c +index 298a5812..d5a95346 100644 +--- a/src/gd_gif_out.c ++++ b/src/gd_gif_out.c +@@ -99,6 +99,7 @@ static void char_init(GifCtx *ctx); + static void char_out(int c, GifCtx *ctx); + static void flush_char(GifCtx *ctx); + ++static int _gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); + + + +@@ -131,8 +132,11 @@ BGD_DECLARE(void *) gdImageGifPtr(gdImagePtr im, int *size) + void *rv; + gdIOCtx *out = gdNewDynamicCtx(2048, NULL); + if (out == NULL) return NULL; +- gdImageGifCtx(im, out); +- rv = gdDPExtractData(out, size); ++ if (!_gdImageGifCtx(im, out)) { ++ rv = gdDPExtractData(out, size); ++ } else { ++ rv = NULL; ++ } + out->gd_free(out); + return rv; + } +@@ -220,6 +224,12 @@ BGD_DECLARE(void) gdImageGif(gdImagePtr im, FILE *outFile) + + */ + BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) ++{ ++ _gdImageGifCtx(im, out); ++} ++ ++/* returns 0 on success, 1 on failure */ ++static int _gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) + { + gdImagePtr pim = 0, tim = im; + int interlace, BitsPerPixel; +@@ -231,7 +241,7 @@ BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) + based temporary image. */ + pim = gdImageCreatePaletteFromTrueColor(im, 1, 256); + if(!pim) { +- return; ++ return 1; + } + tim = pim; + } +@@ -247,6 +257,8 @@ BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) + /* Destroy palette based temporary image. */ + gdImageDestroy( pim); + } ++ ++ return 0; + } + + +diff --git a/src/gd_jpeg.c b/src/gd_jpeg.c +index fc058420..96ef4302 100644 +--- a/src/gd_jpeg.c ++++ b/src/gd_jpeg.c +@@ -117,6 +117,8 @@ static void fatal_jpeg_error(j_common_ptr cinfo) + exit(99); + } + ++static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality); ++ + /* + * Write IM to OUTFILE as a JFIF-formatted JPEG image, using quality + * QUALITY. If QUALITY is in the range 0-100, increasing values +@@ -231,8 +233,11 @@ BGD_DECLARE(void *) gdImageJpegPtr(gdImagePtr im, int *size, int quality) + void *rv; + gdIOCtx *out = gdNewDynamicCtx(2048, NULL); + if (out == NULL) return NULL; +- gdImageJpegCtx(im, out, quality); +- rv = gdDPExtractData(out, size); ++ if (!_gdImageJpegCtx(im, out, quality)) { ++ rv = gdDPExtractData(out, size); ++ } else { ++ rv = NULL; ++ } + out->gd_free(out); + return rv; + } +@@ -253,6 +258,12 @@ void jpeg_gdIOCtx_dest(j_compress_ptr cinfo, gdIOCtx *outfile); + + */ + BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) ++{ ++ _gdImageJpegCtx(im, outfile, quality); ++} ++ ++/* returns 0 on success, 1 on failure */ ++static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) + { + struct jpeg_compress_struct cinfo; + struct jpeg_error_mgr jerr; +@@ -287,7 +298,7 @@ BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) + if(row) { + gdFree(row); + } +- return; ++ return 1; + } + + cinfo.err->emit_message = jpeg_emit_message; +@@ -328,7 +339,7 @@ BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) + if(row == 0) { + gd_error("gd-jpeg: error: unable to allocate JPEG row structure: gdCalloc returns NULL\n"); + jpeg_destroy_compress(&cinfo); +- return; ++ return 1; + } + + rowptr[0] = row; +@@ -405,6 +416,7 @@ BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) + jpeg_finish_compress(&cinfo); + jpeg_destroy_compress(&cinfo); + gdFree(row); ++ return 0; + } + + +diff --git a/src/gd_wbmp.c b/src/gd_wbmp.c +index f19a1c96..a49bdbec 100644 +--- a/src/gd_wbmp.c ++++ b/src/gd_wbmp.c +@@ -88,6 +88,8 @@ int gd_getin(void *in) + return (gdGetC((gdIOCtx *)in)); + } + ++static int _gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out); ++ + /* + Function: gdImageWBMPCtx + +@@ -100,6 +102,12 @@ int gd_getin(void *in) + out - the stream where to write + */ + BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) ++{ ++ _gdImageWBMPCtx(image, fg, out); ++} ++ ++/* returns 0 on success, 1 on failure */ ++static int _gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) + { + int x, y, pos; + Wbmp *wbmp; +@@ -107,7 +115,7 @@ BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) + /* create the WBMP */ + if((wbmp = createwbmp(gdImageSX(image), gdImageSY(image), WBMP_WHITE)) == NULL) { + gd_error("Could not create WBMP\n"); +- return; ++ return 1; + } + + /* fill up the WBMP structure */ +@@ -123,11 +131,15 @@ BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) + + /* write the WBMP to a gd file descriptor */ + if(writewbmp(wbmp, &gd_putout, out)) { ++ freewbmp(wbmp); + gd_error("Could not save WBMP\n"); ++ return 1; + } + + /* des submitted this bugfix: gdFree the memory. */ + freewbmp(wbmp); ++ ++ return 0; + } + + /* +@@ -271,8 +283,11 @@ BGD_DECLARE(void *) gdImageWBMPPtr(gdImagePtr im, int *size, int fg) + void *rv; + gdIOCtx *out = gdNewDynamicCtx(2048, NULL); + if (out == NULL) return NULL; +- gdImageWBMPCtx(im, fg, out); +- rv = gdDPExtractData(out, size); ++ if (!_gdImageWBMPCtx(im, fg, out)) { ++ rv = gdDPExtractData(out, size); ++ } else { ++ rv = NULL; ++ } + out->gd_free(out); + return rv; + } diff --git a/gd/sources b/gd/sources @@ -0,0 +1,5 @@ +https://github.com/libgd/libgd/archive/gd-2.2.5.tar.gz +patches/CVE-2018-1000222.patch +patches/CVE-2018-5711.patch +patches/CVE-2019-6977.patch +patches/CVE-2019-6978.patch diff --git a/gd/version b/gd/version @@ -0,0 +1 @@ +2.2.5 1 diff --git a/gettext/build b/gettext/build @@ -0,0 +1,25 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --disable-java \ + --disable-native-java \ + --disable-csharp \ + --disable-libasprintf \ + --enable-threads=posix \ + --disable-rpath \ + --without-emacs \ + --disable-acl \ + --with-included-glib \ + --with-included-libcroco \ + --without-git \ + --with-included-libxml \ + --with-included-libunistring \ + --disable-openmp \ + --disable-curses \ + --without-examples \ + --enable-nls + +make +make DESTDIR="$1" install + diff --git a/gettext/checksums b/gettext/checksums @@ -0,0 +1 @@ +d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192 diff --git a/gettext/sources b/gettext/sources @@ -0,0 +1 @@ +http://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz diff --git a/gettext/version b/gettext/version @@ -0,0 +1 @@ + 0.21 1 diff --git a/graphite-harfbuzz/build b/graphite-harfbuzz/build @@ -0,0 +1,35 @@ +#!/bin/sh -e + +# miktex requires harfbuzz to be built with graphite. +# This build tries to add the graphite integration to a system already using +# both freetype and icu in its harfbuzz. + +# Point Harfbuzz to the Freetype files. +export CFLAGS="$CFLAGS -I/usr/include/freetype2" +export CXXFLAGS="$CXXFLAGS -I/usr/include/freetype2" +export LDFLAGS="$LDFLAGS -L/usr/lib" + +# Will store the built package's files to +# allow us to cherry-pick the graphite related files. +mkdir -p tmp +export DESTDIR="$PWD/tmp" + +meson \ + --prefix=/usr \ + -Dpkg_config_path=/usr/lib/pkgconfig \ + -Ddefault_library=both \ + -Dglib=enabled \ + -Dfreetype=enabled \ + -Dicu=enabled \ + -Dicu_builtin=false \ + -Dbenchmark=disabled \ + -Dcairo=disabled \ + -Ddocs=disabled \ + -Dgraphite=enabled \ + . output + +ninja -C output +ninja -C output install + +install -Dt "$1/usr/include/harfbuzz" tmp/usr/include/harfbuzz/hb-graphite2.h +install -Dt "$1/usr/lib" tmp/usr/lib/libharfbuzz* diff --git a/graphite-harfbuzz/checksums b/graphite-harfbuzz/checksums @@ -0,0 +1 @@ +9444358d1d8c1884c3a25b02fe702bd244172c4fdd2e98f5a165bc0987ef34f6 diff --git a/graphite-harfbuzz/depends b/graphite-harfbuzz/depends @@ -0,0 +1 @@ +graphite diff --git a/graphite-harfbuzz/post-install b/graphite-harfbuzz/post-install @@ -0,0 +1,5 @@ +#!/bin/sh -e + +echo "This package is a bit messy and replaces your system harfbuzz libs" +echo "with kiss-alternatives. I wouln't trust me with such important files," +echo "so be careful, because I might not have updated this properly." diff --git a/graphite-harfbuzz/sources b/graphite-harfbuzz/sources @@ -0,0 +1 @@ +https://github.com/harfbuzz/harfbuzz/archive/2.8.0.tar.gz diff --git a/graphite-harfbuzz/version b/graphite-harfbuzz/version @@ -0,0 +1 @@ +2.8.0 1 diff --git a/graphite/build b/graphite/build @@ -0,0 +1,14 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DGRAPHITE2_COMPARE_RENDERER=OFF + +find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-O3//g' {} \; + +cmake --build build +cmake --install build diff --git a/graphite/checksums b/graphite/checksums @@ -0,0 +1 @@ +dd63e169b0d3cf954b397c122551ab9343e0696fb2045e1b326db0202d875f06 graphite2-1.3.13.tgz diff --git a/graphite/depends b/graphite/depends @@ -0,0 +1,3 @@ +cmake make +freetype-harfbuzz make +python make diff --git a/graphite/sources b/graphite/sources @@ -0,0 +1 @@ +https://github.com/silnrsi/graphite/releases/download/1.3.13/graphite2-1.3.13.tgz diff --git a/graphite/version b/graphite/version @@ -0,0 +1 @@ +1.3.13 1 diff --git a/hunspell/build b/hunspell/build @@ -0,0 +1,15 @@ +#!/bin/sh -e + +# hunspell recommends using autoreconf +# autoreconf pulls autopoint, which does gettext stuff (not supported by KISS) +# so we just run each bit it would do without autopoint +libtoolize +aclocal --force -I m4 +autoconf -f +autoheader -f +automake -af + +./configure \ + --prefix=/usr +make +make DESTDIR="$1" install diff --git a/hunspell/checksums b/hunspell/checksums @@ -0,0 +1 @@ +bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a diff --git a/hunspell/sources b/hunspell/sources @@ -0,0 +1 @@ +https://github.com/hunspell/hunspell/archive/refs/tags/v1.7.0.tar.gz diff --git a/hunspell/version b/hunspell/version @@ -0,0 +1 @@ +1.7.0 1 diff --git a/libmspack/build b/libmspack/build @@ -0,0 +1,5 @@ +#!/bin/sh -e + +./configure --prefix=/usr +make +make DESTDIR="$1" install diff --git a/libmspack/checksums b/libmspack/checksums @@ -0,0 +1 @@ +bac862dee6e0fc10d92c70212441d9f8ad9b0222edc9a708c3ead4adb1b24a8e diff --git a/libmspack/sources b/libmspack/sources @@ -0,0 +1 @@ +https://www.cabextract.org.uk/libmspack/libmspack-0.10.1alpha.tar.gz diff --git a/libmspack/version b/libmspack/version @@ -0,0 +1 @@ +0.10.1 1 diff --git a/log4cxx/build b/log4cxx/build @@ -0,0 +1,6 @@ +#!/bin/sh -e + +./autogen.sh +./configure --prefix=/usr +make +make DESTDIR="$1" install diff --git a/log4cxx/checksums b/log4cxx/checksums @@ -0,0 +1 @@ +c316705ee3c4e5b919d3561d5f305162d21687aa6ae1f31f02f6cdadc958b393 diff --git a/log4cxx/depends b/log4cxx/depends @@ -0,0 +1,4 @@ +apr +apr-util +expat +util-linux diff --git a/log4cxx/sources b/log4cxx/sources @@ -0,0 +1 @@ +https://apache.mirrors.nublue.co.uk/logging/log4cxx/0.11.0/apache-log4cxx-0.11.0.tar.gz diff --git a/log4cxx/version b/log4cxx/version @@ -0,0 +1 @@ +0.11.0 1 diff --git a/miktex/build b/miktex/build @@ -0,0 +1,15 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_UI_QT=0 \ + -DCMAKE_BUILD_TYPE=Release \ + -DMIKTEX_LINUX_DIST=kiss \ + -DMIKTEX_USER_LINK_TARGET_DIR="~/.local/bin" \ + -DWITH_MAN_PAGES=ON \ + -DWITH_MIKTEX_DOC=OFF + +cmake --build build +cmake --install build diff --git a/miktex/checksums b/miktex/checksums @@ -0,0 +1 @@ +c4a636ea0c0897466a7a8e3e7e792d820e6be01b398635b1439c4bcb05f3e38e diff --git a/miktex/depends b/miktex/depends @@ -0,0 +1,33 @@ +apr +apr-util +boost +bzip2 +cairo +cmake make +curl +expat +fontconfig +freetype-harfbuzz +fribidi +gd +gettext +gmp +graphite +graphite-harfbuzz +harfbuzz-icu +hunspell +icu +libjpeg-turbo +libmspack +libpng +libressl +log4cxx +mpfr +pixman +poppler +popt +potrace +uriparser +xz +zlib +zziplib diff --git a/miktex/post-install b/miktex/post-install @@ -0,0 +1,29 @@ +#!/bin/sh -e + +cat << EOF +To finish installing MiKTeX, run the following commands as root. +To install MiKTeX just for your user, run everything without --admin +and not as root. + +# mpm --admin --update-db + +Enable on-the-fly package installation: +# initexmf --admin --set-config-value [MPM]AutoInstall=1 +# initexmf --admin --update-fndb + +Create symlinks to executables (eg. pdflatex): +# initexmf --admin --mklinks + +Install packages to /usr/local/share: +# mpm --admin --verbose --package-level=basic --upgrade +# initexmf --admin --mkmaps +# initexmf --admin --update-fndb + +Finally, update the databases (you'll probably have to run these several times) +# mpm --admin --update +$ mpm --update + +If anything fails, it's probably a network error, so try again. +Also check the documentation at https://miktex.org/howto/build-unx + +EOF diff --git a/miktex/sources b/miktex/sources @@ -0,0 +1 @@ +https://github.com/MiKTeX/miktex/archive/refs/tags/21.3.tar.gz diff --git a/miktex/version b/miktex/version @@ -0,0 +1 @@ +21.3 1 diff --git a/uriparser/build b/uriparser/build @@ -0,0 +1,12 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DURIPARSER_BUILD_TESTS=OFF \ + -DURIPARSER_BUILD_DOCS=OFF + +cmake --build build +cmake --install build diff --git a/uriparser/checksums b/uriparser/checksums @@ -0,0 +1 @@ +dece5067b4517c4b16cde332c491b4b3508249d2a8f4ba393229575d3c5241c0 diff --git a/uriparser/depends b/uriparser/depends @@ -0,0 +1 @@ +cmake make diff --git a/uriparser/sources b/uriparser/sources @@ -0,0 +1 @@ +https://github.com/uriparser/uriparser/archive/refs/tags/uriparser-0.9.5.tar.gz diff --git a/uriparser/version b/uriparser/version @@ -0,0 +1 @@ +0.9.5 1 diff --git a/zziplib/build b/zziplib/build @@ -0,0 +1,5 @@ +#!/bin/sh -e + +make PREFIX=/usr +cd build +make DESTDIR="$1" install diff --git a/zziplib/checksums b/zziplib/checksums @@ -0,0 +1 @@ +93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc diff --git a/zziplib/depends b/zziplib/depends @@ -0,0 +1 @@ +zlib diff --git a/zziplib/sources b/zziplib/sources @@ -0,0 +1 @@ +https://github.com/gdraheim/zziplib/archive/v0.13.72.tar.gz diff --git a/zziplib/version b/zziplib/version @@ -0,0 +1 @@ +0.13.72 1