diff --git a/internal/rosa/package/argp-standalone.az b/internal/rosa/package/argp-standalone.az index 44fb007a..86134a79 100644 --- a/internal/rosa/package/argp-standalone.az +++ b/internal/rosa/package/argp-standalone.az @@ -1,25 +1,24 @@ -package argp-standalone { - description = "hierarchical argument parsing library broken out from glibc"; - website = "http://www.lysator.liu.se/~nisse/misc"; +//az:schema mbf - version* = "1.3"; +package argp-standalone { + description = "hierarchical argument parsing library broken out from glibc" + website = "http://www.lysator.liu.se/~nisse/misc" + + version := "1.3" source = remoteTar { - url = "http://www.lysator.liu.se/~nisse/misc/"+ - "argp-standalone-"+version+".tar.gz"; - checksum = "vtW0VyO2pJ-hPyYmDI2zwSLS8QL0sPAUKC1t3zNYbwN2TmsaE-fADhaVtNd3eNFl"; - compress = gzip; - }; + url = "http://www.lysator.liu.se/~nisse/misc/argp-standalone-${version}.tar.gz" + checksum = "vtW0VyO2pJ-hPyYmDI2zwSLS8QL0sPAUKC1t3zNYbwN2TmsaE-fADhaVtNd3eNFl" + compress = gzip + } env = [ - "CC=cc -std=gnu89 -fPIC", - ]; + "CC=cc -std=gnu89 -fPIC" + ] exec = make { - install = ` -install -D -m644 /usr/src/argp-standalone/argp.h /work/system/include/argp.h -install -D -m755 libargp.a /work/system/lib/libargp.a -`; - }; + install = `install -D -m644 /usr/src/argp-standalone/argp.h /work/system/include/argp.h + install -D -m755 libargp.a /work/system/lib/libargp.a` + } - inputs = [ diffutils ]; + inputs = [ diffutils ] } diff --git a/internal/rosa/package/bison.az b/internal/rosa/package/bison.az index 39a0eb3d..c2db774a 100644 --- a/internal/rosa/package/bison.az +++ b/internal/rosa/package/bison.az @@ -1,30 +1,27 @@ -package bison { - description = "a general-purpose parser generator"; - website = "https://www.gnu.org/software/bison"; - anitya = 193; +//az:schema mbf - version* = "3.8.2"; +package bison { + description = "a general-purpose parser generator" + website = "https://www.gnu.org/software/bison" + anitya = 193 + + version := "3.8.2" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/bison/bison-"+version+".tar.gz"; - checksum = "BhRM6K7URj1LNOkIDCFDctSErLS-Xo5d9ba9seg10o6ACrgC1uNhED7CQPgIY29Y"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz" + checksum = "BhRM6K7URj1LNOkIDCFDctSErLS-Xo5d9ba9seg10o6ACrgC1uNhED7CQPgIY29Y" + compress = gzip + } exec = make { check = [ - "TESTSUITEFLAGS=" + jobsFlagE + "' " + skipGNUTests { - tests = [ - // clang miscompiles (SIGILL) - 764, - ]; - } + "'", - "check", - ]; - }; + "TESTSUITEFLAGS=${jobsFlagE}' ${skipGNUTests(764)}'" + "check" + ] + } inputs = [ - m4, - diffutils, - sed, - ]; + m4 + diffutils + sed + ] } diff --git a/internal/rosa/package/buildcatrust.az b/internal/rosa/package/buildcatrust.az index b7ccb9f6..43e6dddf 100644 --- a/internal/rosa/package/buildcatrust.az +++ b/internal/rosa/package/buildcatrust.az @@ -1,19 +1,21 @@ +//az:schema mbf + package buildcatrust { - description = "transform certificate stores between formats"; - website = "https://github.com/nix-community/buildcatrust"; - anitya = 233988; + description = "transform certificate stores between formats" + website = "https://github.com/nix-community/buildcatrust" + anitya = 233988 - version* = "0.5.1"; + version := "0.5.1" source = remoteGitHub { - suffix = "nix-community/buildcatrust"; - tag = "v"+version; - checksum = "oxjnuIrPVMPvD6x8VFLqB7EdbfuhouGQdtPuHDpEHGzoyH5nkxqtYN9UthMY9noA"; - }; + suffix = "nix-community/buildcatrust" + tag = "v"+version + checksum = "oxjnuIrPVMPvD6x8VFLqB7EdbfuhouGQdtPuHDpEHGzoyH5nkxqtYN9UthMY9noA" + } - early = "\nrm buildcatrust/tests/test_nonhermetic.py\n"; + early = "rm buildcatrust/tests/test_nonhermetic.py" - exec = pip {}; + exec = pip() - inputs = [ python-flit-core ]; - runtime = [ python ]; + inputs = [ python-flit-core ] + runtime = [ python ] } diff --git a/internal/rosa/package/bzip2.az b/internal/rosa/package/bzip2.az index 12fb1d7c..a4d32dce 100644 --- a/internal/rosa/package/bzip2.az +++ b/internal/rosa/package/bzip2.az @@ -1,27 +1,28 @@ +//az:schema mbf + package bzip2 { - description = "a freely available, patent free, high-quality data compressor"; - website = "https://sourceware.org/bzip2"; - anitya = 237; + description = "a freely available, patent free, high-quality data compressor" + website = "https://sourceware.org/bzip2" + anitya = 237 - version* = "1.0.8"; + version := "1.0.8" source = remoteTar { - url = "https://sourceware.org/pub/bzip2/bzip2-"+version+".tar.gz"; - checksum = "cTLykcco7boom-s05H1JVsQi1AtChYL84nXkg_92Dm1Xt94Ob_qlMg_-NSguIK-c"; - compress = gzip; - }; + url = "https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz" + checksum = "cTLykcco7boom-s05H1JVsQi1AtChYL84nXkg_92Dm1Xt94Ob_qlMg_-NSguIK-c" + compress = gzip + } - // uses source tree as scratch space - writable = true; - enterSource = true; + writable + enterSource exec = make { - skipConfigure = true; - skipCheck = true; - inPlace = true; + skipConfigure + skipCheck + inPlace make = [ - "CC=cc", - ]; - install = "make PREFIX=/work/system install"; - }; + "CC=cc" + ] + install = "make PREFIX=/work/system install" + } } diff --git a/internal/rosa/package/curl.az b/internal/rosa/package/curl.az index 947218fc..4fdc4616 100644 --- a/internal/rosa/package/curl.az +++ b/internal/rosa/package/curl.az @@ -1,47 +1,49 @@ -package curl { - description = "command line tool and library for transferring data with URLs"; - website = "https://curl.se"; - anitya = 381; +//az:schema mbf - version* = "8.20.0"; +package curl { + description = "command line tool and library for transferring data with URLs" + website = "https://curl.se" + anitya = 381 + + version := "8.20.0" source = remoteTar { - url = "https://curl.se/download/curl-"+version+".tar.bz2"; - checksum = "xyHXwrngIRGMasuzhn-I5MSCOhktwINbsWt1f_LuR-5jRVvyx_g6U1EQfDLEbr9r"; - compress = bzip2; - }; + url = "https://curl.se/download/curl-${version}.tar.bz2" + checksum = "xyHXwrngIRGMasuzhn-I5MSCOhktwINbsWt1f_LuR-5jRVvyx_g6U1EQfDLEbr9r" + compress = bzip2 + } // remove broken test - writable = true; - early = "\nchmod +w tests/data && rm -f tests/data/test459\n"; + writable + early = "chmod +w tests/data && rm -f tests/data/test459" exec = make { - configure = { - "with-openssl"; - "with-ca-bundle": "/system/etc/ssl/certs/ca-bundle.crt"; + configure = [ + "with-openssl" + "with-ca-bundle": "/system/etc/ssl/certs/ca-bundle.crt" - "disable-smb"; - }; + "disable-smb" + ] check = [ - "TFLAGS=" + jobsLFlagE, - "test-nonflaky", - ]; - }; + "TFLAGS=${jobsLFlagE}" + "test-nonflaky" + ] + } inputs = [ - perl, - python, - pkg-config, - diffutils, + perl + python + pkg-config + diffutils - libpsl, - openssl, - ]; + libpsl + openssl + ] runtime = [ - zlib, - zstd, - libpsl, - openssl, - ]; + zlib + zstd + libpsl + openssl + ] } diff --git a/internal/rosa/package/dbus.az b/internal/rosa/package/dbus.az index b3e3025e..96ec2c6a 100644 --- a/internal/rosa/package/dbus.az +++ b/internal/rosa/package/dbus.az @@ -1,63 +1,65 @@ -package dbus { - description = "a message bus system"; - website = "https://www.freedesktop.org/wiki/Software/dbus"; - anitya = 5356; +//az:schema mbf - version* = "1.16.2"; +package dbus { + description = "a message bus system" + website = "https://www.freedesktop.org/wiki/Software/dbus" + anitya = 5356 + + version := "1.16.2" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "dbus/dbus"; - ref = "dbus-"+version; - checksum = "INwOuNdrDG7XW5ilW_vn8JSxEa444rRNc5ho97i84I1CNF09OmcFcV-gzbF4uCyg"; - }; + domain = "gitlab.freedesktop.org" + suffix = "dbus/dbus" + ref = "dbus-${version}" + checksum = "INwOuNdrDG7XW5ilW_vn8JSxEa444rRNc5ho97i84I1CNF09OmcFcV-gzbF4uCyg" + } // OSError: [Errno 30] Read-only file system: '/usr/src/dbus/subprojects/packagecache' - writable = true; + writable // PermissionError: [Errno 13] Permission denied: '/usr/src/dbus/subprojects/packagecache' - chmod = true; + chmod exec = meson { - setup = { - "Depoll": "enabled"; - "Dinotify": "enabled"; - "Dx11_autolaunch": "disabled"; - }; - }; + setup = endi [ + "Depoll": true + "Dinotify": true + "Dx11_autolaunch": false + ] + } inputs = [ - glib, - libexpat, - ]; + glib + libexpat + ] runtime = [ - glib, - libexpat, - ]; + glib + libexpat + ] } package xdg-dbus-proxy { - description = "a filtering proxy for D-Bus connections"; - website = "https://github.com/flatpak/xdg-dbus-proxy"; - anitya = 58434; + description = "a filtering proxy for D-Bus connections" + website = "https://github.com/flatpak/xdg-dbus-proxy" + anitya = 58434 - version* = "0.1.7"; + version := "0.1.7" source = remoteGitHub { - suffix = "flatpak/xdg-dbus-proxy"; - tag = version; - checksum = "UW5Pe-TP-XAaN-kTbxrkOQ7eYdmlAQlr2pdreLtPT0uwdAz-7rzDP8V_8PWuZBup"; - }; + suffix = "flatpak/xdg-dbus-proxy" + tag = version + checksum = "UW5Pe-TP-XAaN-kTbxrkOQ7eYdmlAQlr2pdreLtPT0uwdAz-7rzDP8V_8PWuZBup" + } exec = meson { - setup = { - "Dman": "disabled"; - }; - }; + setup = endi [ + "Dman": false + ] + } inputs = [ - dbus, - glib, - ]; + dbus + glib + ] - runtime = [ glib ]; + runtime = [ glib ] } diff --git a/internal/rosa/package/dtc.az b/internal/rosa/package/dtc.az index d2b7dafc..dd2f4a04 100644 --- a/internal/rosa/package/dtc.az +++ b/internal/rosa/package/dtc.az @@ -1,33 +1,34 @@ -package dtc { - description = "The Device Tree Compiler"; - website = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git"; - anitya = 16911; +//az:schema mbf - version* = "1.7.2"; +package dtc { + description = "The Device Tree Compiler" + website = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git" + anitya = 16911 + + version := "1.7.2" source = remoteTar { - url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/"+ - "dtc-v"+version+".tar.gz"; - checksum = "vUoiRynPyYRexTpS6USweT5p4SVHvvVJs8uqFkkVD-YnFjwf6v3elQ0-Etrh00Dt"; - compress = gzip; - }; + url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/dtc-v${version}.tar.gz" + checksum = "vUoiRynPyYRexTpS6USweT5p4SVHvvVJs8uqFkkVD-YnFjwf6v3elQ0-Etrh00Dt" + compress = gzip + } // works around buggy test: // fdtdump-runtest.sh /usr/src/dtc/tests/fdtdump.dts - writable = true; - chmod = true; + writable + chmod exec = meson { - setup = { - "Dyaml": "disabled"; - "Dstatic-build": "true"; - }; - }; + setup = endi [ + "Dyaml": false + "Dstatic-build": "true" + ] + } inputs = [ - flex, - bison, - m4, - coreutils, - diffutils, - ]; + flex + bison + m4 + coreutils + diffutils + ] } diff --git a/internal/rosa/package/elfutils.az b/internal/rosa/package/elfutils.az index 0f029a8a..d49cff88 100644 --- a/internal/rosa/package/elfutils.az +++ b/internal/rosa/package/elfutils.az @@ -1,49 +1,50 @@ -package elfutils { - description = "utilities and libraries to handle ELF files and DWARF data"; - website = "https://sourceware.org/elfutils"; - anitya = 5679; +//az:schema mbf - version* = "0.195"; +package elfutils { + description = "utilities and libraries to handle ELF files and DWARF data" + website = "https://sourceware.org/elfutils" + anitya = 5679 + + version := "0.195" source = remoteTar { - url = "https://sourceware.org/elfutils/ftp/"+ - version+"/elfutils-"+version+".tar.bz2"; - checksum = "JrGnBD38w8Mj0ZxDw3fKlRBFcLvRKu8rcYnX35R9yTlUSYnzTazyLboG-a2CsJlu"; - compress = bzip2; - }; + url = "https://sourceware.org/elfutils/ftp/${version}/elfutils-${version}.tar.bz2" + checksum = "JrGnBD38w8Mj0ZxDw3fKlRBFcLvRKu8rcYnX35R9yTlUSYnzTazyLboG-a2CsJlu" + compress = bzip2 + } env = [ "CC=cc" + // nonstandard glibc extension - " -DFNM_EXTMATCH=0", - ]; + " -DFNM_EXTMATCH=0" + ] exec = make { // nonstandard glibc extension - skipCheck = true; + skipCheck configure = { - "enable-deterministic-archives"; - }; - }; + "enable-deterministic-archives" + } + } inputs = [ - m4, - pkg-config, + m4 + pkg-config - zlib, - bzip2, - zstd, - argp-standalone, - musl-fts, - musl-obstack, - kernel-headers, - ]; + zlib + bzip2 + zstd + argp-standalone + musl-fts + musl-obstack + kernel-headers + ] runtime = [ - zlib, - bzip2, - zstd, - musl-fts, - musl-obstack, - ]; + zlib + bzip2 + zstd + musl-fts + musl-obstack + ] } diff --git a/internal/rosa/package/fcft.az b/internal/rosa/package/fcft.az index 644a7370..de20d928 100644 --- a/internal/rosa/package/fcft.az +++ b/internal/rosa/package/fcft.az @@ -1,27 +1,29 @@ +//az:schema mbf + package fcft { - description = "a simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman"; - website = "https://codeberg.org/dnkl/fcft"; - anitya = 143240; + description = "a simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman" + website = "https://codeberg.org/dnkl/fcft" + anitya = 143240 - version* = "3.3.3"; + version := "3.3.3" source = remoteTar { - url = "https://codeberg.org/dnkl/fcft/archive/"+version+".tar.gz"; - checksum = "bMj8OmqtoANRKZWbjHk4WfP09AxJYRbWGqUsm1gRJ_dOFg6gooNbgkDu597PLfz2"; - compress = gzip; - }; + url = "https://codeberg.org/dnkl/fcft/archive/${version}.tar.gz" + checksum = "bMj8OmqtoANRKZWbjHk4WfP09AxJYRbWGqUsm1gRJ_dOFg6gooNbgkDu597PLfz2" + compress = gzip + } - exec = meson {}; + exec = meson() inputs = [ - pixman, - fontconfig, - utf8proc, - tllist, - ]; + pixman + fontconfig + utf8proc + tllist + ] runtime = [ - pixman, - fontconfig, - utf8proc, - ]; + pixman + fontconfig + utf8proc + ] } diff --git a/internal/rosa/package/firmware.az b/internal/rosa/package/firmware.az index 6c97f841..3b0109d9 100644 --- a/internal/rosa/package/firmware.az +++ b/internal/rosa/package/firmware.az @@ -1,47 +1,49 @@ -package firmware { - description = "firmware blobs for use with the Linux kernel"; - website = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"; - anitya = 141464; +//az:schema mbf - version* = "20260519"; +package firmware { + description = "firmware blobs for use with the Linux kernel" + website = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" + anitya = 141464 + + version := "20260519" source = remoteGitLab { - domain = "gitlab.com"; - suffix = "kernel-firmware/linux-firmware"; - ref = version; - checksum = "l-wBRTWclYnJsgV4qtUV1-UL5Y4nknAPre8CMe0dH7PxtAqbaeudEIM_Fnuj0TCV"; - }; + domain = "gitlab.com" + suffix = "kernel-firmware/linux-firmware" + ref = version + checksum = "l-wBRTWclYnJsgV4qtUV1-UL5Y4nknAPre8CMe0dH7PxtAqbaeudEIM_Fnuj0TCV" + } // dedup creates temporary file - writable = true; + writable // does not use configure - enterSource = true; + enterSource env = [ - "HOME=/proc/nonexistent", - ]; + "HOME=/proc/nonexistent" + ] exec = make { - omitDefaults = true; - skipConfigure = true; - inPlace = true; + omitDefaults + skipConfigure + inPlace make = [ - "DESTDIR=/work/system", - "install-zst", - ]; + "DESTDIR=/work/system" + "install-zst" + ] // requires pre-commit - skipCheck = true; + skipCheck - install = "make " + jobsFlagE + " DESTDIR=/work/system dedup"; - }; + install = "make ${jobFlagsE} DESTDIR=/work/system dedup" + } inputs = [ - parallel, - rdfind, - zstd, - findutils, - coreutils, - ]; + parallel + rdfind + zstd + findutils + coreutils + ] } diff --git a/internal/rosa/package/flex.az b/internal/rosa/package/flex.az index 6f4c6d68..478a3a3b 100644 --- a/internal/rosa/package/flex.az +++ b/internal/rosa/package/flex.az @@ -1,18 +1,20 @@ -package flex { - description = "scanner generator for lexing in C and C++"; - website = "https://github.com/westes/flex"; - anitya = 819; +//az:schema mbf - version* = "2.6.4"; +package flex { + description = "scanner generator for lexing in C and C++" + website = "https://github.com/westes/flex" + anitya = 819 + + version := "2.6.4" source = remoteGitHubRelease { - suffix = "westes/flex"; - tag = "v"+version; - name = "flex-"+version+".tar.gz"; - checksum = "p9POjQU7VhgOf3x5iFro8fjhy0NOanvA7CTeuWS_veSNgCixIJshTrWVkc5XLZkB"; - compress = gzip; + suffix = "westes/flex" + tag = "v"+version + name = "flex-${version}.tar.gz" + checksum = "p9POjQU7VhgOf3x5iFro8fjhy0NOanvA7CTeuWS_veSNgCixIJshTrWVkc5XLZkB" + compress = gzip }; - exec = make {}; + exec = make(); inputs = [ m4 ]; } diff --git a/internal/rosa/package/fontconfig.az b/internal/rosa/package/fontconfig.az index bdab719e..75d62c23 100644 --- a/internal/rosa/package/fontconfig.az +++ b/internal/rosa/package/fontconfig.az @@ -1,37 +1,39 @@ -package fontconfig { - description = "font configuration and customization library"; - website = "https://www.freedesktop.org/wiki/Software/fontconfig"; - anitya = 827; +//az:schema mbf - version* = "2.18.0"; +package fontconfig { + description = "font configuration and customization library" + website = "https://www.freedesktop.org/wiki/Software/fontconfig" + anitya = 827 + + version := "2.18.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "fontconfig/fontconfig"; - ref = version; - checksum = "Z-yA7pFiE7cRDxZm32EHUPmeRx-lth2X6uw51aoeLi4BXwNm4iOWT13IGp3YSbNW"; - }; + domain = "gitlab.freedesktop.org" + suffix = "fontconfig/fontconfig" + ref = version + checksum = "Z-yA7pFiE7cRDxZm32EHUPmeRx-lth2X6uw51aoeLi4BXwNm4iOWT13IGp3YSbNW" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, - gettext, - gperf, - gzip, - python, + automake + libtool + pkg-config + gettext + gperf + gzip + python - zlib, - libexpat, - freetype, - ]; + zlib + libexpat + freetype + ] runtime = [ - zlib, - libexpat, - freetype, - ]; + zlib + libexpat + freetype + ] } diff --git a/internal/rosa/package/foot.az b/internal/rosa/package/foot.az index 021dfa5b..05de44e3 100644 --- a/internal/rosa/package/foot.az +++ b/internal/rosa/package/foot.az @@ -1,28 +1,30 @@ +//az:schema mbf + package foot { - description = "a fast, lightweight and minimalistic Wayland terminal emulator"; - website = "https://codeberg.org/dnkl/foot"; - anitya = 141611; + description = "a fast, lightweight and minimalistic Wayland terminal emulator" + website = "https://codeberg.org/dnkl/foot" + anitya = 141611 - version* = "1.27.0"; + version := "1.27.0" source = remoteTar { - url = "https://codeberg.org/dnkl/foot/archive/"+version+".tar.gz"; - checksum = "E2XIPRD8t-WBBJUebIwChFT8K_85diwdalssUNwnuZBIynPa7rlXro5WCe9v3UlK"; - compress = gzip; - }; + url = "https://codeberg.org/dnkl/foot/archive/${version}.tar.gz" + checksum = "E2XIPRD8t-WBBJUebIwChFT8K_85diwdalssUNwnuZBIynPa7rlXro5WCe9v3UlK" + compress = gzip + } - exec = meson {}; + exec = meson() inputs = [ - ncurses, + ncurses - xkbcommon, - tllist, - fcft, - kernel-headers, - ]; + xkbcommon + tllist + fcft + kernel-headers + ] runtime = [ - xkbcommon, - fcft, - ]; + xkbcommon + fcft + ] } diff --git a/internal/rosa/package/freetype.az b/internal/rosa/package/freetype.az index 35922168..3012d632 100644 --- a/internal/rosa/package/freetype.az +++ b/internal/rosa/package/freetype.az @@ -1,15 +1,16 @@ +//az:schema mbf + package freetype { - description = "a freely available software library to render fonts"; - website = "http://www.freetype.org"; - anitya = 854; + description = "a freely available software library to render fonts" + website = "http://www.freetype.org" + anitya = 854 - version* = "2.14.3"; + version := "2.14.3" source = remoteTar { - url = "https://download.savannah.gnu.org/releases/freetype/"+ - "freetype-"+version+".tar.gz"; - checksum = "-WfLv8fVJNyCHpP_lriiDzOcVbBL9ajdQ3tl8AzIIUa9-8sVpU9irxOmSMgRHWYz"; - compress = gzip; - }; + url = "https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz" + checksum = "-WfLv8fVJNyCHpP_lriiDzOcVbBL9ajdQ3tl8AzIIUa9-8sVpU9irxOmSMgRHWYz" + compress = gzip + } - exec = make {}; + exec = make() } diff --git a/internal/rosa/package/fuse.az b/internal/rosa/package/fuse.az index 68241602..45de6f1a 100644 --- a/internal/rosa/package/fuse.az +++ b/internal/rosa/package/fuse.az @@ -1,33 +1,35 @@ -package fuse { - description = "the reference implementation of the Linux FUSE interface"; - website = "https://github.com/libfuse/libfuse"; - anitya = 861; +//az:schema mbf - version* = "3.18.2"; +package fuse { + description = "the reference implementation of the Linux FUSE interface" + website = "https://github.com/libfuse/libfuse" + anitya = 861 + + version := "3.18.2" source = remoteGitHubRelease { - suffix = "libfuse/libfuse"; - tag = "fuse-"+version; - name = "fuse-"+version+".tar.gz"; - checksum = "iL-7b7eUtmlVSf5cSq0dzow3UiqSjBmzV3cI_ENPs1tXcHdktkG45j1V12h-4jZe"; - compress = gzip; - }; + suffix = "libfuse/libfuse" + tag = "fuse-"+version + name = "fuse-${version}.tar.gz" + checksum = "iL-7b7eUtmlVSf5cSq0dzow3UiqSjBmzV3cI_ENPs1tXcHdktkG45j1V12h-4jZe" + compress = gzip + } exec = meson { - setup = { + setup = [ "Ddefault_library": "both"; "Dtests": "true"; "Duseroot": "false"; "Dinitscriptdir": "/system/etc"; - }; + ] - postCompile = "python3 -m pytest test/"; + postCompile = "python3 -m pytest test/" // this project uses pytest - skipTest = true; - }; + skipTest + } inputs = [ - python-pytest, + python-pytest - kernel-headers, - ]; + kernel-headers + ] } diff --git a/internal/rosa/package/git.az b/internal/rosa/package/git.az index cb378883..1417e7aa 100644 --- a/internal/rosa/package/git.az +++ b/internal/rosa/package/git.az @@ -1,95 +1,90 @@ +//az:schema mbf + package git { - description = "distributed version control system"; - website = "https://www.git-scm.com"; - anitya = 5350; + description = "distributed version control system" + website = "https://www.git-scm.com" + anitya = 5350 - version* = "2.54.0"; + version := "2.54.0" source = remoteTar { - url = "https://www.kernel.org/pub/software/scm/git/"+ - "git-"+version+".tar.gz"; - checksum = "7vGKtFOJGqY8DO4e8UMRax7dLgImXKQz5MMalec6MlgYrsarffSJjgOughwRFpSH"; - compress = gzip; - }; + url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.gz" + checksum = "7vGKtFOJGqY8DO4e8UMRax7dLgImXKQz5MMalec6MlgYrsarffSJjgOughwRFpSH" + compress = gzip + } - early = ` -ln -s ../../system/bin/perl /usr/bin/ || true - -# test suite assumes apache -rm -f /system/bin/httpd -`; + early = `ln -s ../../system/bin/perl /usr/bin/ || true + # test suite assumes apache + rm -f /system/bin/httpd` // uses source tree as scratch space - enterSource = true; + enterSource exec = make { - inPlace = true; - generate = "make configure"; + inPlace + generate = "make configure" - preMake = ` -function disable_test { - local test=$1 pattern=${2:-''} - if [ $# -eq 1 ]; then - rm "t/${test}.sh" - else - sed -i "t/${test}.sh" \ - -e "/^\s*test_expect_.*$pattern/,/^\s*' *\$/{s/^/: #/}" - fi -} - -disable_test t1800-hook -disable_test t5319-multi-pack-index -disable_test t1305-config-include -disable_test t3900-i18n-commit -disable_test t3507-cherry-pick-conflict -disable_test t4201-shortlog -disable_test t5303-pack-corruption-resilience -disable_test t4301-merge-tree-write-tree -disable_test t8005-blame-i18n -disable_test t9350-fast-export -disable_test t9300-fast-import -disable_test t0211-trace2-perf -disable_test t1517-outside-repo -disable_test t2200-add-update -disable_test t0027-auto-crlf -disable_test t7513-interpret-trailers -disable_test t7703-repack-geometric -disable_test t3705-add-sparse-checkout -disable_test t7002-mv-sparse-checkout -disable_test t1451-fsck-buffer -disable_test t4104-apply-boundary -disable_test t4200-rerere -disable_test t5515-fetch-merge-logic -`; + preMake = r`function disable_test { + local test=$1 pattern=${2:-''} + if [ $# -eq 1 ]; then + rm "t/${test}.sh" + else + sed -i "t/${test}.sh" \ + -e "/^\s*test_expect_.*$pattern/,/^\s*' *\$/{s/^/: #/}" + fi + } + disable_test t1800-hook + disable_test t5319-multi-pack-index + disable_test t1305-config-include + disable_test t3900-i18n-commit + disable_test t3507-cherry-pick-conflict + disable_test t4201-shortlog + disable_test t5303-pack-corruption-resilience + disable_test t4301-merge-tree-write-tree + disable_test t8005-blame-i18n + disable_test t9350-fast-export + disable_test t9300-fast-import + disable_test t0211-trace2-perf + disable_test t1517-outside-repo + disable_test t2200-add-update + disable_test t0027-auto-crlf + disable_test t7513-interpret-trailers + disable_test t7703-repack-geometric + disable_test t3705-add-sparse-checkout + disable_test t7002-mv-sparse-checkout + disable_test t1451-fsck-buffer + disable_test t4104-apply-boundary + disable_test t4200-rerere + disable_test t5515-fetch-merge-logic` check = [ - "-C t", - `GIT_PROVE_OPTS="--jobs 32 --failures"`, - "prove", - ]; + "-C t" + `GIT_PROVE_OPTS="--jobs 32 --failures"` + "prove" + ] - install = `make \ - ` + jobsFlagE + ` \ - DESTDIR=/work \ - NO_INSTALL_HARDLINKS=1 \ - install`; - }; + install = r`make \ + ${jobsFlagE} \ + DESTDIR=/work \ + NO_INSTALL_HARDLINKS=1 \ + install` + } inputs = [ // test suite hangs on mksh - bash, + bash - diffutils, - autoconf, - gettext, + diffutils + autoconf + gettext - zlib, - curl, - libexpat, - ]; + zlib + curl + libexpat + ] runtime = [ - zlib, - curl, - libexpat, - ]; + zlib + curl + libexpat + ] } diff --git a/internal/rosa/package/glslang.az b/internal/rosa/package/glslang.az index 1b9dc8e1..a075b9c0 100644 --- a/internal/rosa/package/glslang.az +++ b/internal/rosa/package/glslang.az @@ -1,31 +1,33 @@ -package glslang { - description = "reference front end for GLSL/ESSL"; - website = "https://github.com/KhronosGroup/glslang"; - anitya = 205796; +//az:schema mbf - version* = "16.3.0"; +package glslang { + description = "reference front end for GLSL/ESSL" + website = "https://github.com/KhronosGroup/glslang" + anitya = 205796 + + version := "16.3.0" source = remoteGitHub { - suffix = "KhronosGroup/glslang"; - tag = version; - checksum = "xyqDf8k3-D0_BXHGi0uLgMglnJ05Rf3j73QgbDs3sGtKNdBIQhY8JfqX1NcNoJQN"; - }; + suffix = "KhronosGroup/glslang" + tag = version + checksum = "xyqDf8k3-D0_BXHGi0uLgMglnJ05Rf3j73QgbDs3sGtKNdBIQhY8JfqX1NcNoJQN" + } // test suite writes to source - writable = true; - chmod = true; + writable + chmod exec = cmake { cache = { - "BUILD_SHARED_LIBS": "ON"; - "ALLOW_EXTERNAL_SPIRV_TOOLS": "ON"; - }; - }; + "BUILD_SHARED_LIBS": "ON" + "ALLOW_EXTERNAL_SPIRV_TOOLS": "ON" + } + } inputs = [ - python, - bash, - diffutils, + python + bash + diffutils - spirv-tools, - ]; + spirv-tools + ] } diff --git a/internal/rosa/package/gnu.az b/internal/rosa/package/gnu.az index 3dc7074f..16b54e4e 100644 --- a/internal/rosa/package/gnu.az +++ b/internal/rosa/package/gnu.az @@ -1,664 +1,637 @@ +//az:schema mbf + // GNU software with trivial packaging. package m4 { - description = "a macro processor with GNU extensions"; - website = "https://www.gnu.org/software/m4"; - anitya = 1871; + description = "a macro processor with GNU extensions" + website = "https://www.gnu.org/software/m4" + anitya = 1871 - version* = "1.4.21"; + version := "1.4.21" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/m4/m4-"+version+".tar.bz2"; - checksum = "pPa6YOo722Jw80l1OsH1tnUaklnPFjFT-bxGw5iAVrZTm1P8FQaWao_NXop46-pm"; - compress = bzip2; - }; + url = "https://ftpmirror.gnu.org/gnu/m4/m4-${version}.tar.bz2" + checksum = "pPa6YOo722Jw80l1OsH1tnUaklnPFjFT-bxGw5iAVrZTm1P8FQaWao_NXop46-pm" + compress = bzip2 + } - writable = true; - early = ` -chmod +w tests/test-c32ispunct.sh && echo '#!/bin/sh' > tests/test-c32ispunct.sh -`; + writable + early = "chmod +w tests/test-c32ispunct.sh && echo '#!/bin/sh' > tests/test-c32ispunct.sh" - exec = make {}; + exec = make() inputs = [ - diffutils, + diffutils - kernel-headers, - ]; + kernel-headers + ] } package autoconf { - description = "M4 macros to produce self-contained configure script"; - website = "https://www.gnu.org/software/autoconf"; - anitya = 141; + description = "M4 macros to produce self-contained configure script" + website = "https://www.gnu.org/software/autoconf" + anitya = 141 - version* = "2.73"; + version := "2.73" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/autoconf/autoconf-"+version+".tar.gz"; - checksum = "yGabDTeOfaCUB0JX-h3REYLYzMzvpDwFmFFzHNR7QilChCUNE4hR6q7nma4viDYg"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/autoconf/autoconf-${version}.tar.gz" + checksum = "yGabDTeOfaCUB0JX-h3REYLYzMzvpDwFmFFzHNR7QilChCUNE4hR6q7nma4viDYg" + compress = gzip + } // test suite is very expensive - exclusive = true; + exclusive exec = make { check = [ - "TESTSUITEFLAGS=" + jobsFlagE, - "check", - ]; - }; + "TESTSUITEFLAGS=${jobsFlagE} + "check" + ] + } inputs = [ - m4, - perl, - bash, - diffutils, - ]; + m4 + perl + bash + diffutils + ] runtime = [ - m4, - perl, - ]; + m4 + perl + ] } package automake { - description = "a tool for automatically generating Makefile.in files"; - website = "https://www.gnu.org/software/automake"; - anitya = 144; + description = "a tool for automatically generating Makefile.in files" + website = "https://www.gnu.org/software/automake" + anitya = 144 - version* = "1.18.1"; + version := "1.18.1" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/automake/automake-"+version+".tar.gz"; - checksum = "FjvLG_GdQP7cThTZJLDMxYpRcKdpAVG-YDs1Fj1yaHlSdh_Kx6nRGN14E0r_BjcG"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/automake/automake-${version}.tar.gz" + checksum = "FjvLG_GdQP7cThTZJLDMxYpRcKdpAVG-YDs1Fj1yaHlSdh_Kx6nRGN14E0r_BjcG" + compress = gzip + } - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' t/objcxx-minidemo.sh + test_disable '#!/bin/sh' t/objcxx-deps.sh -test_disable '#!/bin/sh' t/objcxx-minidemo.sh -test_disable '#!/bin/sh' t/objcxx-deps.sh + test_disable '#!/bin/sh' t/dist-no-built-sources.sh + test_disable '#!/bin/sh' t/distname.sh + test_disable '#!/bin/sh' t/pr9.sh` -test_disable '#!/bin/sh' t/dist-no-built-sources.sh -test_disable '#!/bin/sh' t/distname.sh -test_disable '#!/bin/sh' t/pr9.sh -`; - - exec = make {}; + exec = make() inputs = [ - grep, - gzip, - autoconf, - diffutils, - ]; + grep + gzip + autoconf + diffutils + ] - runtime = [ autoconf ]; + runtime = [ autoconf ] } package libtool { - description = "a generic library support script"; - website = "https://www.gnu.org/software/libtool"; - anitya = 1741; + description = "a generic library support script" + website = "https://www.gnu.org/software/libtool" + anitya = 1741 - version* = "2.5.4"; + version := "2.5.4" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/libtool/libtool-"+version+".tar.gz"; - checksum = "pa6LSrQggh8mSJHQfwGjysAApmZlGJt8wif2cCLzqAAa2jpsTY0jZ-6stS3BWZ2Q"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.gz" + checksum = "pa6LSrQggh8mSJHQfwGjysAApmZlGJt8wif2cCLzqAAa2jpsTY0jZ-6stS3BWZ2Q" + compress = gzip + } exec = make { // _Z2a2c: symbol not found - skipEarlyStageCheck = true; + skipEarlyStageCheck check = [ - "TESTSUITEFLAGS=" + jobsFlagE, - "check", - ]; - }; + "TESTSUITEFLAGS=${jobsFlagE}" + "check" + ] + } inputs = [ - m4, - diffutils, - ]; + m4 + diffutils + ] } package gzip { - description = "a popular data compression program"; - website = "https://www.gnu.org/software/gzip"; - anitya = 1290; + description = "a popular data compression program" + website = "https://www.gnu.org/software/gzip" + anitya = 1290 - version* = "1.14"; + version := "1.14" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/gzip/gzip-"+version+".tar.gz"; - checksum = "NWhjUavnNfTDFkZJyAUonL9aCOak8GVajWX2OMlzpFnuI0ErpBFyj88mz2xSjz0q"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/gzip/gzip-${version}.tar.gz" + checksum = "NWhjUavnNfTDFkZJyAUonL9aCOak8GVajWX2OMlzpFnuI0ErpBFyj88mz2xSjz0q" + compress = gzip + } exec = make { // dependency loop - skipCheck = true; - }; + skipCheck + } } package sed { - description = "a non-interactive command-line text editor"; - website = "https://www.gnu.org/software/sed"; - anitya = 4789; + description = "a non-interactive command-line text editor" + website = "https://www.gnu.org/software/sed" + anitya = 4789 - version* = "4.10"; + version := "4.10" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/sed/sed-"+version+".tar.gz"; - checksum = "TXTRFQJCyflb-bpBRI2S5Y1DpplwvT7-KfXtpqN4AdZgZ5OtI6yStn1-bkhDKx51"; - compress = gzip; + url = "https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz" + checksum = "TXTRFQJCyflb-bpBRI2S5Y1DpplwvT7-KfXtpqN4AdZgZ5OtI6yStn1-bkhDKx51" + compress = gzip }; - exec = make {}; + exec = make() inputs = [ - diffutils, + diffutils - kernel-headers, - ]; + kernel-headers + ] } package diffutils { - description = "several programs related to finding differences between files"; - website = "https://www.gnu.org/software/diffutils"; - anitya = 436; + description = "several programs related to finding differences between files" + website = "https://www.gnu.org/software/diffutils" + anitya = 436 - version* = "3.12"; + version := "3.12" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/diffutils/diffutils-"+version+".tar.gz"; - checksum = "9J5VAq5oA7eqwzS1Yvw-l3G5o-TccUrNQR3PvyB_lgdryOFAfxtvQfKfhdpquE44"; - compress = gzip; + url = "https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.gz" + checksum = "9J5VAq5oA7eqwzS1Yvw-l3G5o-TccUrNQR3PvyB_lgdryOFAfxtvQfKfhdpquE44" + compress = gzip }; - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh + test_disable 'int main(){return 0;}' gnulib-tests/test-c32ispunct.c + test_disable '#!/bin/sh' tests/cmp` -test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh -test_disable 'int main(){return 0;}' gnulib-tests/test-c32ispunct.c -test_disable '#!/bin/sh' tests/cmp -`; - - toyboxEarly = true; - exec = make {}; + toyboxEarly + exec = make() } package patch { - description = "a program to apply diff output to files"; - website = "https://savannah.gnu.org/projects/patch"; - anitya = 2597; + description = "a program to apply diff output to files" + website = "https://savannah.gnu.org/projects/patch" + anitya = 2597 - version* = "2.8"; + version := "2.8" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/patch/patch-"+version+".tar.gz"; - checksum = "MA0BQc662i8QYBD-DdGgyyfTwaeALZ1K0yusV9rAmNiIsQdX-69YC4t9JEGXZkeR"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/patch/patch-${version}.tar.gz" + checksum = "MA0BQc662i8QYBD-DdGgyyfTwaeALZ1K0yusV9rAmNiIsQdX-69YC4t9JEGXZkeR" + compress = gzip + } - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' tests/ed-style + test_disable '#!/bin/sh' tests/need-filename` -test_disable '#!/bin/sh' tests/ed-style -test_disable '#!/bin/sh' tests/need-filename -`; - - toyboxEarly = true; - exec = make {}; + toyboxEarly + exec = make() } package gawk { - description = "an implementation of awk with GNU extensions"; - website = "https://www.gnu.org/software/gawk"; - anitya = 868; + description = "an implementation of awk with GNU extensions" + website = "https://www.gnu.org/software/gawk" + anitya = 868 - version* = "5.4.0"; + version := "5.4.0" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/gawk/gawk-"+version+".tar.gz"; - checksum = "m0RkIolC-PI7EY5q8pcx5Y-0twlIW0Yp3wXXmV-QaHorSdf8BhZ7kW9F8iWomz0C"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz" + checksum = "m0RkIolC-PI7EY5q8pcx5Y-0twlIW0Yp3wXXmV-QaHorSdf8BhZ7kW9F8iWomz0C" + compress = gzip + } - toyboxEarly = true; + toyboxEarly exec = make { // dependency loop - skipCheck = true; - }; + skipCheck + } } package grep { - description = "searches input for lines containing a match to a pattern"; - website = "https://www.gnu.org/software/grep"; - anitya = 1251; + description = "searches input for lines containing a match to a pattern" + website = "https://www.gnu.org/software/grep" + anitya = 1251 - version* = "3.12"; + version := "3.12" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/grep/grep-"+version+".tar.gz"; - checksum = "qMB4RjaPNRRYsxix6YOrjE8gyAT1zVSTy4nW4wKW9fqa0CHYAuWgPwDTirENzm_1"; - compress = gzip; + url = "https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz" + checksum = "qMB4RjaPNRRYsxix6YOrjE8gyAT1zVSTy4nW4wKW9fqa0CHYAuWgPwDTirENzm_1" + compress = gzip }; - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh + test_disable 'int main(){return 0;}' gnulib-tests/test-c32ispunct.c` -test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh -test_disable 'int main(){return 0;}' gnulib-tests/test-c32ispunct.c -`; + exec = make() - exec = make {}; - - inputs = [ diffutils ]; + inputs = [ diffutils ] } package gettext { - description = "tools for producing multi-lingual messages"; - website = "https://www.gnu.org/software/gettext"; - anitya = 898; + description = "tools for producing multi-lingual messages" + website = "https://www.gnu.org/software/gettext" + anitya = 898 - version* = "1.0"; + version := "1.0" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/gettext/gettext-"+version+".tar.gz"; - checksum = "3MasKeEdPeFEgWgzsBKk7JqWqql1wEMbgPmzAfs-mluyokoW0N8oQVxPQoOnSdgC"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/gettext/gettext-${version}.tar.gz" + checksum = "3MasKeEdPeFEgWgzsBKk7JqWqql1wEMbgPmzAfs-mluyokoW0N8oQVxPQoOnSdgC" + compress = gzip + } - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' gettext-tools/tests/msgcat-22 + test_disable '#!/bin/sh' gettext-tools/tests/msgconv-2 + test_disable '#!/bin/sh' gettext-tools/tests/msgconv-8 + test_disable '#!/bin/sh' gettext-tools/tests/xgettext-python-3 + test_disable '#!/bin/sh' gettext-tools/tests/msgmerge-compendium-6 + test_disable '#!/bin/sh' gettext-tools/tests/gettextpo-1 + test_disable '#!/bin/sh' gettext-tools/tests/format-c-5 + test_disable '#!/bin/sh' gettext-tools/gnulib-tests/test-c32ispunct.sh + test_disable 'int main(){return 0;}' gettext-tools/gnulib-tests/test-stdcountof-h.c -test_disable '#!/bin/sh' gettext-tools/tests/msgcat-22 -test_disable '#!/bin/sh' gettext-tools/tests/msgconv-2 -test_disable '#!/bin/sh' gettext-tools/tests/msgconv-8 -test_disable '#!/bin/sh' gettext-tools/tests/xgettext-python-3 -test_disable '#!/bin/sh' gettext-tools/tests/msgmerge-compendium-6 -test_disable '#!/bin/sh' gettext-tools/tests/gettextpo-1 -test_disable '#!/bin/sh' gettext-tools/tests/format-c-5 -test_disable '#!/bin/sh' gettext-tools/gnulib-tests/test-c32ispunct.sh -test_disable 'int main(){return 0;}' gettext-tools/gnulib-tests/test-stdcountof-h.c + touch gettext-tools/autotools/archive.dir.tar` -touch gettext-tools/autotools/archive.dir.tar -`; - - exec = make {}; + exec = make() inputs = [ - diffutils, - gzip, - sed, + diffutils + gzip + sed - kernel-headers, - ]; + kernel-headers + ] } package findutils { - description = "the basic directory searching utilities"; - website = "https://www.gnu.org/software/findutils"; - anitya = 812; + description = "the basic directory searching utilities" + website = "https://www.gnu.org/software/findutils" + anitya = 812 - version* = "4.10.0"; + version := "4.10.0" source = remoteFile { - url = "https://ftpmirror.gnu.org/gnu/findutils/findutils-"+version+".tar.xz"; - checksum = "ZXABdNBQXL7QjTygynRRTdXYWxQKZ0Wn5eMd3NUnxR0xaS0u0VfcKoTlbo50zxv6"; + url = "https://ftpmirror.gnu.org/gnu/findutils/findutils-${version}.tar.xz" + checksum = "ZXABdNBQXL7QjTygynRRTdXYWxQKZ0Wn5eMd3NUnxR0xaS0u0VfcKoTlbo50zxv6" }; - early = ` -echo '#!/bin/sh' > gnulib-tests/test-c32ispunct.sh -echo 'int main(){return 0;}' > tests/xargs/test-sigusr.c -`; + early = `echo '#!/bin/sh' > gnulib-tests/test-c32ispunct.sh + echo 'int main(){return 0;}' > tests/xargs/test-sigusr.c` - exec = make {}; + exec = make() inputs = [ - diffutils, - xz, - sed, - ]; + diffutils + xz + sed + ] } package bash { - description = "the Bourne Again SHell"; - website = "https://www.gnu.org/software/bash"; - anitya = 166; + description = "the Bourne Again SHell" + website = "https://www.gnu.org/software/bash" + anitya = 166 - version* = "5.3"; + version := "5.3" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/bash/bash-"+version+".tar.gz"; - checksum = "4LQ_GRoB_ko-Ih8QPf_xRKA02xAm_TOxQgcJLmFDT6udUPxTAWrsj-ZNeuTusyDq"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz" + checksum = "4LQ_GRoB_ko-Ih8QPf_xRKA02xAm_TOxQgcJLmFDT6udUPxTAWrsj-ZNeuTusyDq" + compress = gzip + } - toyboxEarly = true; + toyboxEarly exec = make { configure = { - "without-bash-malloc"; - }; - postInstall = "ln -s bash /work/system/bin/sh\n"; - }; + "without-bash-malloc" + } + postInstall = "ln -s bash /work/system/bin/sh" + } } package coreutils { - description = "the basic file, shell and text manipulation utilities"; - website = "https://www.gnu.org/software/coreutils"; - anitya = 343; + description = "the basic file, shell and text manipulation utilities" + website = "https://www.gnu.org/software/coreutils" + anitya = 343 - version* = "9.11"; + version := "9.11" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/coreutils/coreutils-"+version+".tar.gz"; - checksum = "t8UMed5wpFEoC56aa42_yidfOAaRGzOfj7MRtQkkqgGbpXiskNA8bd-EmVSQkZie"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz" + checksum = "t8UMed5wpFEoC56aa42_yidfOAaRGzOfj7MRtQkkqgGbpXiskNA8bd-EmVSQkZie" + compress = gzip + } - toyboxEarly = true; - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } - -test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh -test_disable '#!/bin/sh' tests/ls/hyperlink.sh -test_disable '#!/bin/sh' tests/misc/user.sh -test_disable 'int main(){return 0;}' gnulib-tests/test-chown.c -test_disable 'int main(){return 0;}' gnulib-tests/test-fchownat.c -test_disable 'int main(){return 0;}' gnulib-tests/test-lchown.c -`; + toyboxEarly + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh + test_disable '#!/bin/sh' tests/ls/hyperlink.sh + test_disable '#!/bin/sh' tests/misc/user.sh + test_disable 'int main(){return 0;}' gnulib-tests/test-chown.c + test_disable 'int main(){return 0;}' gnulib-tests/test-fchownat.c + test_disable 'int main(){return 0;}' gnulib-tests/test-lchown.c` exec = make { - configure = { - "enable-single-binary": "symlinks"; - }; - }; + configure = [ + "enable-single-binary": "symlinks" + ] + } inputs = [ - perl, - bash, + perl + bash - kernel-headers, - ]; + kernel-headers + ] } package tar { - description = "provides the ability to create tar archives"; - website = "https://www.gnu.org/software/tar"; - anitya = 4939; + description = "provides the ability to create tar archives" + website = "https://www.gnu.org/software/tar" + anitya = 4939 - version* = "1.35"; + version := "1.35" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/tar/tar-"+version+".tar.gz"; - checksum = "zSaoSlVUDW0dSfm4sbL4FrXLFR8U40Fh3zY5DWhR5NCIJ6GjU6Kc4VZo2-ZqpBRA"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/tar/tar-${version}.tar.gz" + checksum = "zSaoSlVUDW0dSfm4sbL4FrXLFR8U40Fh3zY5DWhR5NCIJ6GjU6Kc4VZo2-ZqpBRA" + compress = gzip + } exec = make { - configure = { - "disable-acl"; - "without-posix-acls"; - "without-xattrs"; - }; + configure = [ + "disable-acl" + "without-posix-acls" + "without-xattrs" + ] check = [ // very expensive - "TARTEST_SKIP_LARGE_FILES=1", + "TARTEST_SKIP_LARGE_FILES=1" - "TESTSUITEFLAGS=" + jobsFlagE, - "check", - ]; - }; + "TESTSUITEFLAGS=${jobsFlagE}" + "check" + ] + } inputs = [ - diffutils, + diffutils - gzip, - bzip2, - zstd, - ]; + gzip + bzip2 + zstd + ] } package texinfo { - description = "the GNU square-wheel-reinvension of man pages"; - website = "https://www.gnu.org/software/texinfo"; - anitya = 4958; + description = "the GNU square-wheel-reinvension of man pages" + website = "https://www.gnu.org/software/texinfo" + anitya = 4958 - version* = "7.3"; + version := "7.3" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/texinfo/texinfo-"+version+".tar.gz"; - checksum = "RRmC8Xwdof7JuZJeWGAQ_GeASIHAuJFQMbNONXBz5InooKIQGmqmWRjGNGEr5n4-"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/texinfo/texinfo-${version}.tar.gz" + checksum = "RRmC8Xwdof7JuZJeWGAQ_GeASIHAuJFQMbNONXBz5InooKIQGmqmWRjGNGEr5n4-" + compress = gzip + } exec = make { // nonstandard glibc extension - skipCheck = true; - }; + skipCheck + } - inputs = [ perl ]; + inputs = [ perl ] runtime = [ - perl, - gawk, - ]; + perl + gawk + ] } package gperf { - description = "a perfect hash function generator"; - website = "https://www.gnu.org/software/gperf"; - anitya = 1237; + description = "a perfect hash function generator" + website = "https://www.gnu.org/software/gperf" + anitya = 1237 - version* = "3.3"; + version := "3.3" source = remoteTar { - url = "https://ftpmirror.gnu.org/gperf/gperf-"+version+".tar.gz"; - checksum = "RtIy9pPb_Bb8-31J2Nw-rRGso2JlS-lDlVhuNYhqR7Nt4xM_nObznxAlBMnarJv7"; - compress = gzip; + url = "https://ftpmirror.gnu.org/gperf/gperf-${version}.tar.gz" + checksum = "RtIy9pPb_Bb8-31J2Nw-rRGso2JlS-lDlVhuNYhqR7Nt4xM_nObznxAlBMnarJv7" + compress = gzip }; - exec = make {}; + exec = make() - inputs = [ diffutils ]; + inputs = [ diffutils ] } package bc { - description = "an arbitrary precision numeric processing language"; - website = "https://www.gnu.org/software/bc"; - anitya = 170; + description = "an arbitrary precision numeric processing language" + website = "https://www.gnu.org/software/bc" + anitya = 170 - version* = "1.08.2"; + version := "1.08.2" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/bc/bc-"+version+".tar.gz"; - checksum = "8h6f3hjV80XiFs6v9HOPF2KEyg1kuOgn5eeFdVspV05ODBVQss-ey5glc8AmneLy"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/bc/bc-${version}.tar.gz" + checksum = "8h6f3hjV80XiFs6v9HOPF2KEyg1kuOgn5eeFdVspV05ODBVQss-ey5glc8AmneLy" + compress = gzip + } // source expected to be writable - writable = true; - chmod = true; + writable + chmod - exec = make {}; + exec = make() inputs = [ - texinfo, - ]; + texinfo + ] } package libiconv { - description = "iconv implementation independent of glibc"; - website = "https://www.gnu.org/software/libiconv"; - anitya = 10656; + description = "iconv implementation independent of glibc" + website = "https://www.gnu.org/software/libiconv" + anitya = 10656 - version* = "1.19"; + version := "1.19" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/libiconv/libiconv-"+version+".tar.gz"; - checksum = "UibB6E23y4MksNqYmCCrA3zTFO6vJugD1DEDqqWYFZNuBsUWMVMcncb_5pPAr88x"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz" + checksum = "UibB6E23y4MksNqYmCCrA3zTFO6vJugD1DEDqqWYFZNuBsUWMVMcncb_5pPAr88x" + compress = gzip + } - exec = make {}; + exec = make() } package parallel { - description = "a shell tool for executing jobs in parallel using one or more computers"; - website = "https://www.gnu.org/software/parallel"; - anitya = 5448; + description = "a shell tool for executing jobs in parallel using one or more computers" + website = "https://www.gnu.org/software/parallel" + anitya = 5448 - version* = "20260422"; + version := "20260422" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/parallel/parallel-"+version+".tar.bz2"; - checksum = "eTsepxgqhXpMEhPd55qh-W5y4vjKn0x9TD2mzbJCNZYtFf4lT4Wzoqr74HGJYBEH"; - compress = bzip2; - }; + url = "https://ftpmirror.gnu.org/gnu/parallel/parallel-${version}.tar.bz2" + checksum = "eTsepxgqhXpMEhPd55qh-W5y4vjKn0x9TD2mzbJCNZYtFf4lT4Wzoqr74HGJYBEH" + compress = bzip2 + } - early = ` -ln -s ../system/bin/bash /bin/ -`; + early = "ln -s ../system/bin/bash /bin/" - exec = make {}; + exec = make() inputs = [ - perl, - bash, - ]; + perl + bash + ] - runtime = [ perl ]; + runtime = [ perl ] } package libunistring { - description = "provides functions for manipulating Unicode strings"; - website = "https://www.gnu.org/software/libunistring"; - anitya = 1747; + description = "provides functions for manipulating Unicode strings" + website = "https://www.gnu.org/software/libunistring" + anitya = 1747 - version* = "1.4.2"; + version := "1.4.2" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/libunistring/libunistring-"+version+".tar.gz"; - checksum = "iW9BbfLoVlXjWoLTZ4AekQSu4cFBnLcZ4W8OHWbv0AhJNgD3j65_zqaLMzFKylg2"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz" + checksum = "iW9BbfLoVlXjWoLTZ4AekQSu4cFBnLcZ4W8OHWbv0AhJNgD3j65_zqaLMzFKylg2" + compress = gzip + } - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable '#!/bin/sh' tests/test-c32ispunct.s + test_disable 'int main(){return 0;}' tests/test-c32ispunct.c` -test_disable '#!/bin/sh' tests/test-c32ispunct.sh -test_disable 'int main(){return 0;}' tests/test-c32ispunct.c -`; - - exec = make {}; + exec = make() inputs = [ - diffutils, - ]; + diffutils + ] } package libtasn1 { - description = "the ASN.1 library used by GnuTLS, p11-kit and some other packages"; - website = "https://www.gnu.org/software/libtasn1"; - anitya = 1734; + description = "the ASN.1 library used by GnuTLS, p11-kit and some other packages" + website = "https://www.gnu.org/software/libtasn1" + anitya = 1734 - version* = "4.21.0"; + version := "4.21.0" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/libtasn1/libtasn1-"+version+".tar.gz"; - checksum = "9DYI3UYbfYLy8JsKUcY6f0irskbfL0fHZA91Q-JEOA3kiUwpodyjemRsYRjUpjuq"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/libtasn1/libtasn1-${version}.tar.gz" + checksum = "9DYI3UYbfYLy8JsKUcY6f0irskbfL0fHZA91Q-JEOA3kiUwpodyjemRsYRjUpjuq" + compress = gzip + } - exec = make {}; + exec = make() } package readline { - description = "provides a set of functions for use by applications that allow users to edit command lines as they are typed in"; - website = "https://tiswww.cwru.edu/php/chet/readline/rltop.html"; - anitya = 4173; + description = "provides a set of functions for use by applications that allow users to edit command lines as they are typed in" + website = "https://tiswww.cwru.edu/php/chet/readline/rltop.html" + anitya = 4173 - version* = "8.3"; + version := "8.3" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/readline/readline-"+version+".tar.gz"; - checksum = "r-lcGRJq_MvvBpOq47Z2Y1OI2iqrmtcqhTLVXR0xWo37ZpC2uT_md7gKq5o_qTMV"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz" + checksum = "r-lcGRJq_MvvBpOq47Z2Y1OI2iqrmtcqhTLVXR0xWo37ZpC2uT_md7gKq5o_qTMV" + compress = gzip + } exec = make { - configure = { - "with-curses"; - "with-shared-termcap-library"; - }; - }; + configure = [ + "with-curses" + "with-shared-termcap-library" + ] + } - inputs = [ ncurses ]; - runtime = [ ncurses ]; + inputs = [ ncurses ] + runtime = [ ncurses ] } package gmp { - description = "a free library for arbitrary precision arithmetic"; - website = "https://gmplib.org"; - anitya = 1186; + description = "a free library for arbitrary precision arithmetic" + website = "https://gmplib.org" + anitya = 1186 - version* = "6.3.0"; + version := "6.3.0" source = remoteTar { - url = "https://gcc.gnu.org/pub/gcc/infrastructure/"+ - "gmp-"+version+".tar.bz2"; - checksum = "yrgbgEDWKDdMWVHh7gPbVl56-sRtVVhfvv0M_LX7xMUUk_mvZ1QOJEAnt7g4i3k5"; - compress = bzip2; - }; + url = "https://gcc.gnu.org/pub/gcc/infrastructure/gmp-${version}.tar.bz2" + checksum = "yrgbgEDWKDdMWVHh7gPbVl56-sRtVVhfvv0M_LX7xMUUk_mvZ1QOJEAnt7g4i3k5" + compress = bzip2 + } env = [ - "CC=cc", - ]; + "CC=cc" + ] - exec = make {}; + exec = make() - inputs = [ m4 ]; + inputs = [ m4 ] } package mpfr { - description = "a C library for multiple-precision floating-point computations"; - website = "https://www.mpfr.org"; - anitya = 2019; + description = "a C library for multiple-precision floating-point computations" + website = "https://www.mpfr.org" + anitya = 2019 - version* = "4.2.2"; + version := "4.2.2" source = remoteTar { - url = "https://gcc.gnu.org/pub/gcc/infrastructure/"+ - "mpfr-"+version+".tar.bz2"; - checksum = "wN3gx0zfIuCn9r3VAn_9bmfvAYILwrRfgBjYSD1IjLqyLrLojNN5vKyQuTE9kA-B"; - compress = bzip2; - }; + url = "https://gcc.gnu.org/pub/gcc/infrastructure/mpfr-${version}.tar.bz2" + checksum = "wN3gx0zfIuCn9r3VAn_9bmfvAYILwrRfgBjYSD1IjLqyLrLojNN5vKyQuTE9kA-B" + compress = bzip2 + } - exec = make {}; + exec = make() - inputs = [ gmp ]; - runtime = [ gmp ]; + inputs = [ gmp ] + runtime = [ gmp ] } package mpc { - description = "a C library for the arithmetic of complex numbers"; - website = "https://www.multiprecision.org"; - anitya = 1667; + description = "a C library for the arithmetic of complex numbers" + website = "https://www.multiprecision.org" + anitya = 1667 - version* = "1.4.1"; + version := "1.4.1" source = remoteGitLab { - domain = "gitlab.inria.fr"; - suffix = "mpc/mpc"; - ref = version; - checksum = "ZffaZyWkvIw0iPvRe5EJ7O-VvHtSkbbb3K_7SgPtK810NvGan7nbF0T5-6tozjQN"; - }; + domain = "gitlab.inria.fr" + suffix = "mpc/mpc" + ref = version + checksum = "ZffaZyWkvIw0iPvRe5EJ7O-VvHtSkbbb3K_7SgPtK810NvGan7nbF0T5-6tozjQN" + } // does not find mpc-impl.h otherwise - enterSource = true; + enterSource exec = make { - inPlace = true; - generate = "autoreconf -vfi"; - }; + inPlace + generate = "autoreconf -vfi" + } inputs = [ - automake, - libtool, - texinfo, + automake + libtool + texinfo - mpfr, - ]; + mpfr + ] - runtime = [ mpfr ]; + runtime = [ mpfr ] } diff --git a/internal/rosa/package/googletest.az b/internal/rosa/package/googletest.az index 3b8f41dc..fe41e242 100644 --- a/internal/rosa/package/googletest.az +++ b/internal/rosa/package/googletest.az @@ -1,14 +1,16 @@ -package googletest { - description = "Google Testing and Mocking Framework"; - exclude = true; - anitya = 18290; +//az:schema mbf - version* = "1.17.0"; +package googletest { + description = "Google Testing and Mocking Framework" + exclude + anitya = 18290 + + version := "1.17.0" output = remoteGitHubRelease { - suffix = "google/googletest"; - tag = "v"+version; - name = "googletest-"+version+".tar.gz"; - checksum = "-1r3ch8vPP8COF7xUH5hyX6bEJ4dN9TQh4IxrmpHr6vaig6mA3DdUpV4cihQ_9dw"; - compress = gzip; - }; + suffix = "google/googletest" + tag = "v"+version + name = "googletest-${version}.tar.gz" + checksum = "-1r3ch8vPP8COF7xUH5hyX6bEJ4dN9TQh4IxrmpHr6vaig6mA3DdUpV4cihQ_9dw" + compress = gzip + } } diff --git a/internal/rosa/package/hwdata.az b/internal/rosa/package/hwdata.az index 2a760eb2..9c06c095 100644 --- a/internal/rosa/package/hwdata.az +++ b/internal/rosa/package/hwdata.az @@ -1,23 +1,25 @@ +//az:schema mbf + package hwdata { - description = "contains various hardware identification and configuration data"; - website = "https://github.com/vcrhonek/hwdata"; - anitya = 5387; + description = "contains various hardware identification and configuration data" + website = "https://github.com/vcrhonek/hwdata" + anitya = 5387 - version* = "0.407"; + version := "0.407" source = remoteGitHub { - suffix = "vcrhonek/hwdata"; - tag = "v"+version; - checksum = "6p1XD0CRuzt6hLfjv4ShKBW934BexmoPkRrmwxD4J63fBVCzVBRHyF8pVJdW_Xjm"; - }; + suffix = "vcrhonek/hwdata" + tag = "v"+version + checksum = "6p1XD0CRuzt6hLfjv4ShKBW934BexmoPkRrmwxD4J63fBVCzVBRHyF8pVJdW_Xjm" + } - writable = true; - enterSource = true; + writable + enterSource exec = make { // awk: fatal: cannot open file `hwdata.spec' for reading: No such file or directory - inPlace = true; + inPlace // lspci: Unknown option 'A' (see "lspci --help") - skipCheck = true; - }; + skipCheck + } } diff --git a/internal/rosa/package/kmod.az b/internal/rosa/package/kmod.az index c4b4733a..ce81ea58 100644 --- a/internal/rosa/package/kmod.az +++ b/internal/rosa/package/kmod.az @@ -1,40 +1,41 @@ -package kmod { - description = "a set of tools to handle common tasks with Linux kernel modules"; - website = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git"; - anitya = 1517; +//az:schema mbf - version* = "34.2"; +package kmod { + description = "a set of tools to handle common tasks with Linux kernel modules" + website = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git" + anitya = 1517 + + version := "34.2" source = remoteTar { - url = "https://www.kernel.org/pub/linux/utils/kernel/"+ - "kmod/kmod-"+version+".tar.gz"; - checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV"; - compress = gzip; - }; + url = "https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${version}.tar.gz" + checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV" + compress = gzip + } exec = meson { - setup = { - "Dmoduledir": "/system/lib/modules"; - "Dsysconfdir": "/system/etc"; - "Dbashcompletiondir": "no"; - "Dfishcompletiondir": "no"; - "Dxz": "disabled"; - "Dmanpages": "false"; - }; + setup = [ + "Dmoduledir": "/system/lib/modules" + "Dsysconfdir": "/system/etc" + "Dbashcompletiondir": "no" + "Dfishcompletiondir": "no" + "Dxz": "disabled" + "Dmanpages": "false" + ] // makes assumptions about the running kernel - skipTest = true; - }; + skipTest + } inputs = [ - zlib, - zstd, - openssl, - kernel-headers, - ]; + zlib + zstd + openssl + kernel-headers + ] runtime = [ - zlib, - zstd, - openssl, - ]; + zlib + zstd + openssl + ] } diff --git a/internal/rosa/package/libbsd.az b/internal/rosa/package/libbsd.az index 0e381e21..f5a6eea2 100644 --- a/internal/rosa/package/libbsd.az +++ b/internal/rosa/package/libbsd.az @@ -1,23 +1,25 @@ -package libbsd { - description = "provides useful functions commonly found on BSD systems"; - website = "https://libbsd.freedesktop.org"; - anitya = 1567; +//az:schema mbf - version* = "0.12.2"; +package libbsd { + description = "provides useful functions commonly found on BSD systems" + website = "https://libbsd.freedesktop.org" + anitya = 1567 + + version := "0.12.2" source = remoteGit { - url = "https://gitlab.freedesktop.org/libbsd/libbsd.git"; - tag = version; - checksum = "NVS0xFLTwSP8JiElEftsZ-e1_C-IgJhHrHE77RwKt5178M7r087waO-zYx2_dfGX"; - }; + url = "https://gitlab.freedesktop.org/libbsd/libbsd.git" + tag = version + checksum = "NVS0xFLTwSP8JiElEftsZ-e1_C-IgJhHrHE77RwKt5178M7r087waO-zYx2_dfGX" + } exec = make { - generate = "echo '" + version + "' > .dist-version && ./autogen"; - }; + generate = "echo '${version}' > .dist-version && ./autogen" + } inputs = [ - automake, - libtool, + automake + libtool - libmd, - ]; + libmd + ] } diff --git a/internal/rosa/package/libcap.az b/internal/rosa/package/libcap.az index 5e476256..6e084824 100644 --- a/internal/rosa/package/libcap.az +++ b/internal/rosa/package/libcap.az @@ -1,44 +1,45 @@ -package libcap { - description = "a library for getting and setting POSIX.1e draft 15 capabilities"; - website = "https://sites.google.com/site/fullycapable"; - anitya = 1569; +//az:schema mbf - version* = "2.78"; +package libcap { + description = "a library for getting and setting POSIX.1e draft 15 capabilities" + website = "https://sites.google.com/site/fullycapable" + anitya = 1569 + + version := "2.78" source = remoteTar { - url = "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/"+ - "snapshot/libcap-"+version+".tar.gz"; - checksum = "wFdUkBhFMD9InPnrBZyegWrlPSAg_9JiTBC-eSFyWWlmbzL2qjh2mKxr9Kx2a8ut"; - compress = gzip; - }; + url = "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-${version}.tar.gz" + checksum = "wFdUkBhFMD9InPnrBZyegWrlPSAg_9JiTBC-eSFyWWlmbzL2qjh2mKxr9Kx2a8ut" + compress = gzip + } // uses source tree as scratch space - writable = true; - chmod = true; + writable + chmod env = [ - "prefix=/system", - "lib=lib", - ]; + "prefix=/system" + "lib=lib" + ] - early = "\nln -s ../system/bin/bash /bin/\n"; + early = "ln -s ../system/bin/bash /bin/" exec = make { - skipConfigure = true; - inPlace = true; + skipConfigure + inPlace make = [ - "CC=cc", - "all", - ]; + "CC=cc" + "all" + ] check = [ - "CC=cc", - "test", - ]; - }; + "CC=cc" + "test" + ] + } inputs = [ - bash, - diffutils, - ]; + bash + diffutils + ] } diff --git a/internal/rosa/package/libdisplay-info.az b/internal/rosa/package/libdisplay-info.az index dca259f5..80da07f1 100644 --- a/internal/rosa/package/libdisplay-info.az +++ b/internal/rosa/package/libdisplay-info.az @@ -1,21 +1,23 @@ +//az:schema mbf + package libdisplay-info { - description = "EDID and DisplayID library"; - website = "https://gitlab.freedesktop.org/emersion/libdisplay-info"; - anitya = 326668; + description = "EDID and DisplayID library" + website = "https://gitlab.freedesktop.org/emersion/libdisplay-info" + anitya = 326668 - version* = "0.3.0"; + version := "0.3.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "emersion/libdisplay-info"; - ref = version; - checksum = "yjOqPUHHYgRtpqGw5RI1n2Q1_hO5j0LiFNMbjcRWV4Nf71XwwoC9fZMlKBDeLchT"; - }; + domain = "gitlab.freedesktop.org" + suffix = "emersion/libdisplay-info" + ref = version + checksum = "yjOqPUHHYgRtpqGw5RI1n2Q1_hO5j0LiFNMbjcRWV4Nf71XwwoC9fZMlKBDeLchT" + } - exec = meson {}; + exec = meson() inputs = [ - diffutils, + diffutils - hwdata, - ]; + hwdata + ] } diff --git a/internal/rosa/package/libdrm.az b/internal/rosa/package/libdrm.az index 59499d6a..8430a705 100644 --- a/internal/rosa/package/libdrm.az +++ b/internal/rosa/package/libdrm.az @@ -1,29 +1,31 @@ -package libdrm { - description = "a userspace library for accessing the DRM"; - website = "https://dri.freedesktop.org"; - anitya = 1596; +//az:schema mbf - version* = "2.4.133"; +package libdrm { + description = "a userspace library for accessing the DRM" + website = "https://dri.freedesktop.org" + anitya = 1596 + + version := "2.4.133" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "mesa/libdrm"; - ref = "libdrm-"+version; - checksum = "bfj296NcR9DndO11hqDbSRFPqaweSLMqRk3dlCPZpM6FONX1WZ9J4JdbTDMUd1rU"; - }; + domain = "gitlab.freedesktop.org" + suffix = "mesa/libdrm" + ref = "libdrm-"+version + checksum = "bfj296NcR9DndO11hqDbSRFPqaweSLMqRk3dlCPZpM6FONX1WZ9J4JdbTDMUd1rU" + } exec = meson { - setup = { - "Dintel": "enabled"; - }; - }; + setup = endi [ + "Dintel": true + ] + } inputs = [ // symbols check fail with llvm nm - binutils, + binutils - libpciaccess, - kernel-headers, - ]; + libpciaccess + kernel-headers + ] - runtime = [ libpciaccess ]; + runtime = [ libpciaccess ] } diff --git a/internal/rosa/package/libepoxy.az b/internal/rosa/package/libepoxy.az index aef55336..4b6aadd5 100644 --- a/internal/rosa/package/libepoxy.az +++ b/internal/rosa/package/libepoxy.az @@ -1,21 +1,23 @@ -package libepoxy { - description = "a library for handling OpenGL function pointer management"; - website = "https://github.com/anholt/libepoxy"; - anitya = 6090; +//az:schema mbf - version* = "1.5.10"; +package libepoxy { + description = "a library for handling OpenGL function pointer management" + website = "https://github.com/anholt/libepoxy" + anitya = 6090 + + version := "1.5.10" source = remoteGitHub { - suffix = "anholt/libepoxy"; - tag = version; - checksum = "OHI8wshrlGw6BMGrmSyejJtwzM2gPhyFJrTsKxULyKMmYrfgcOe7Iw2ibVoUND_Q"; - }; + suffix = "anholt/libepoxy" + tag = version + checksum = "OHI8wshrlGw6BMGrmSyejJtwzM2gPhyFJrTsKxULyKMmYrfgcOe7Iw2ibVoUND_Q" + } exec = meson { - setup = { - "Dglx": "no"; - "Degl": "no"; - }; - }; + setup = yn [ + "Dglx": false + "Degl": false + ] + } - inputs = [ libX11 ]; + inputs = [ libX11 ] } diff --git a/internal/rosa/package/libev.az b/internal/rosa/package/libev.az index 20827d80..7150c2ce 100644 --- a/internal/rosa/package/libev.az +++ b/internal/rosa/package/libev.az @@ -1,14 +1,16 @@ +//az:schema mbf + package libev { - description = "a full-featured and high-performance event loop"; - website = "http://libev.schmorp.de"; - anitya = 1605; + description = "a full-featured and high-performance event loop" + website = "http://libev.schmorp.de" + anitya = 1605 - version* = "4.33"; + version := "4.33" source = remoteTar { - url = "https://dist.schmorp.de/libev/Attic/libev-"+version+".tar.gz"; - checksum = "774eSXV_4k8PySRprUDChbEwsw-kzjIFnJ3MpNOl5zDpamBRvC3BqPyRxvkwcL6_"; - compress = gzip; - }; + url = "https://dist.schmorp.de/libev/Attic/libev-${version}.tar.gz" + checksum = "774eSXV_4k8PySRprUDChbEwsw-kzjIFnJ3MpNOl5zDpamBRvC3BqPyRxvkwcL6_" + compress = gzip + } - exec = make {}; + exec = make() } diff --git a/internal/rosa/package/libexpat.az b/internal/rosa/package/libexpat.az index 9c7990f8..fb6cf4ce 100644 --- a/internal/rosa/package/libexpat.az +++ b/internal/rosa/package/libexpat.az @@ -1,22 +1,20 @@ +//az:schema mbf + package libexpat { - description = "a stream-oriented XML parser library"; - website = "https://libexpat.github.io"; - anitya = 770; + description = "a stream-oriented XML parser library" + website = "https://libexpat.github.io" + anitya = 770 - version* = "2.8.1"; + version := "2.8.1" source = remoteGitHubRelease { - suffix = "libexpat/libexpat"; - tag = "R_"+replace { - s = version; - old = "."; - new = "_"; - }; - name = "expat-"+version+".tar.bz2"; - checksum = "iMEtbOJhQfGof2GxSlxffQSI1va_NDDQ9VIuqcPbNZ0291Dr8wttD5QecYyjIQap"; - compress = bzip2; - }; + suffix = "libexpat/libexpat" + tag = "R_"+replace(version, ".", "_") + name = "expat-${version}.tar.bz2"; + checksum = "iMEtbOJhQfGof2GxSlxffQSI1va_NDDQ9VIuqcPbNZ0291Dr8wttD5QecYyjIQap" + compress = bzip2 + } - exec = make {}; + exec = make() - inputs = [ bash ]; + inputs = [ bash ] } diff --git a/internal/rosa/package/libffi.az b/internal/rosa/package/libffi.az index a7f9a20a..09c3fc6c 100644 --- a/internal/rosa/package/libffi.az +++ b/internal/rosa/package/libffi.az @@ -1,18 +1,20 @@ +//az:schema mbf + package libffi { - description = "a portable, high level programming interface to various calling conventions"; - website = "https://sourceware.org/libffi"; - anitya = 1611; + description = "a portable, high level programming interface to various calling conventions" + website = "https://sourceware.org/libffi" + anitya = 1611 - version* = "3.5.2"; + version := "3.5.2" source = remoteGitHubRelease { - suffix = "libffi/libffi"; - tag = "v"+version; - name = "libffi-"+version+".tar.gz"; - checksum = "2_Q-ZNBBbVhltfL5zEr0wljxPegUimTK4VeMSiwJEGksls3n4gj3lV0Ly3vviSFH"; - compress = gzip; - }; + suffix = "libffi/libffi" + tag = "v"+version + name = "libffi-${version}.tar.gz" + checksum = "2_Q-ZNBBbVhltfL5zEr0wljxPegUimTK4VeMSiwJEGksls3n4gj3lV0Ly3vviSFH" + compress = gzip + } - exec = make {}; + exec = make() - inputs = [ kernel-headers ]; + inputs = [ kernel-headers ] } diff --git a/internal/rosa/package/libgd.az b/internal/rosa/package/libgd.az index 1899a072..0544aed8 100644 --- a/internal/rosa/package/libgd.az +++ b/internal/rosa/package/libgd.az @@ -1,25 +1,27 @@ -package libgd { - description = "an open source code library for the dynamic creation of images"; - website = "https://libgd.github.io"; - anitya = 880; +//az:schema mbf - version* = "2.3.3"; +package libgd { + description = "an open source code library for the dynamic creation of images" + website = "https://libgd.github.io" + anitya = 880 + + version := "2.3.3" source = remoteGitHubRelease { - suffix = "libgd/libgd"; - tag = "gd-"+version; - name = "libgd-"+version+".tar.gz"; - checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36"; - compress = gzip; - }; + suffix = "libgd/libgd" + tag = "gd"+version + name = "libgd-${version}.tar.gz" + checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36" + compress = gzip + } env = [ - "TMPDIR=/dev/shm/gd", - ]; + "TMPDIR=/dev/shm/gd" + ] - early = "\nmkdir /dev/shm/gd\n"; + early = "mkdir /dev/shm/gd" - exec = make {}; + exec = make() - inputs = [ zlib ]; - runtime = [ zlib ]; + inputs = [ zlib ] + runtime = [ zlib ] } diff --git a/internal/rosa/package/libglvnd.az b/internal/rosa/package/libglvnd.az index b409837b..651af9d8 100644 --- a/internal/rosa/package/libglvnd.az +++ b/internal/rosa/package/libglvnd.az @@ -1,38 +1,38 @@ -package libglvnd { - description = "The GL Vendor-Neutral Dispatch library"; - website = "https://gitlab.freedesktop.org/glvnd/libglvnd"; - anitya = 12098; +//az:schema mbf - version* = "1.7.0"; +package libglvnd { + description = "The GL Vendor-Neutral Dispatch library" + website = "https://gitlab.freedesktop.org/glvnd/libglvnd" + anitya = 12098 + + version := "1.7.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "glvnd/libglvnd"; - ref = "v"+version; - checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY"; - }; + domain = "gitlab.freedesktop.org" + suffix = "glvnd/libglvnd" + ref = "v"+version + checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY" + } exec = meson { - setup = { - "Dx11": "enabled"; - "Dglx": "enabled"; - }; + setup = endi [ + "Dx11": true + "Dglx": true + ] - postCompile = ` -export DISPLAY=':0' -Xvfb & -XVFB_PID="$!" -trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT -`; - }; + postCompile = `export DISPLAY=':0' + Xvfb & + XVFB_PID="$!" + trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT` + } inputs = [ // symbols check fail with llvm nm - binutils, + binutils // test suite wants X server - xserver, + xserver - libXext, - ]; + libXext + ] - runtime = [ libXext ]; + runtime = [ libXext ] } diff --git a/internal/rosa/package/libmd.az b/internal/rosa/package/libmd.az index 7752e7bf..b51ead4f 100644 --- a/internal/rosa/package/libmd.az +++ b/internal/rosa/package/libmd.az @@ -1,22 +1,24 @@ -package libmd { - description = "Message Digest functions from BSD systems"; - website = "https://www.hadrons.org/software/libmd"; - anitya = 15525; +//az:schema mbf - version* = "1.2.0"; +package libmd { + description = "Message Digest functions from BSD systems" + website = "https://www.hadrons.org/software/libmd" + anitya = 15525 + + version := "1.2.0" source = remoteGit { - url = "https://git.hadrons.org/git/libmd.git"; - tag = version; - checksum = "1rJ6joAO0wwMZvSfnRNkc1MOhywyAq7SM8VmF92NvDtv7Qdl1LRbjm5fg_DFFtGj"; - }; + url = "https://git.hadrons.org/git/libmd.git" + tag = version + checksum = "1rJ6joAO0wwMZvSfnRNkc1MOhywyAq7SM8VmF92NvDtv7Qdl1LRbjm5fg_DFFtGj" + } exec = make { - generate = "echo '" + version + "' > .dist-version && ./autogen"; - preMake = "\ninstall -D /usr/src/libmd/src/helper.c src/helper.c\n"; - }; + generate = "echo '${version}' > .dist-version && ./autogen" + preMake = "install -D /usr/src/libmd/src/helper.c src/helper.c" + } inputs = [ - automake, - libtool, - ]; + automake + libtool + ] } diff --git a/internal/rosa/package/libpng.az b/internal/rosa/package/libpng.az index 1e5e3ed0..a1aca8b8 100644 --- a/internal/rosa/package/libpng.az +++ b/internal/rosa/package/libpng.az @@ -1,27 +1,20 @@ +//az:schema mbf + package libpng { - description = "the official PNG reference library"; - website = "https://www.libpng.org/pub/png/libpng.html"; - anitya = 1705; + description = "the official PNG reference library" + website = "https://www.libpng.org/pub/png/libpng.html" + anitya = 1705 - version* = "1.6.58"; + version := "1.6.58" source = remoteTar { - url = "https://downloads.sourceforge.net/project/libpng/libpng"+ - join { - elems = slice { - elems = split { - s = version; - sep = "."; - n = 3; - }; - end = 2; - }; - }+"/"+version+"/libpng-"+version+".tar.gz"; - checksum = "m_a5lROJH7vmF3cMjqwTUqURuQLhV1JQx2ySPzcN3VPdgDB9pG3UINsIx_mtkr-t"; - compress = gzip; - }; + url = "https://downloads.sourceforge.net/project/libpng/libpng"+ trimPatch(version) + + "/${version}/libpng-${version}.tar.gz" + checksum = "m_a5lROJH7vmF3cMjqwTUqURuQLhV1JQx2ySPzcN3VPdgDB9pG3UINsIx_mtkr-t" + compress = gzip + } - exec = make {}; + exec = make() - inputs = [ zlib ]; - runtime = [ zlib ]; + inputs = [ zlib ] + runtime = [ zlib ] } diff --git a/internal/rosa/package/libpsl.az b/internal/rosa/package/libpsl.az index dc3d4fb9..5ea504c7 100644 --- a/internal/rosa/package/libpsl.az +++ b/internal/rosa/package/libpsl.az @@ -1,25 +1,24 @@ +//az:schema mbf + package libpsl { - description = "provides functions to work with the Mozilla Public Suffix List"; - website = "https://rockdaboot.github.io/libpsl"; - anitya = 7305; + description = "provides functions to work with the Mozilla Public Suffix List" + website = "https://rockdaboot.github.io/libpsl" + anitya = 7305 - version* = "0.21.5"; + version := "0.21.5" source = remoteGitHubRelease { - suffix = "rockdaboot/libpsl"; - tag = version; - name = "libpsl-"+version+".tar.gz"; - checksum = "XjfxSzh7peG2Vg4vJlL8z4JZJLcXqbuP6pLWkrGCmRxlnYUFTKNBqWGHCxEOlCad"; - compress = gzip; - }; + suffix = "rockdaboot/libpsl" + tag = version + name = "libpsl-${version}.tar.gz" + checksum = "XjfxSzh7peG2Vg4vJlL8z4JZJLcXqbuP6pLWkrGCmRxlnYUFTKNBqWGHCxEOlCad" + compress = gzip + } - writable = true; - early = ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + writable + early = `test_disable() { chmod +w "$2" && echo "$1" > "$2"; } + test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c` -test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c -`; + exec = make() - exec = make {}; - - inputs = [ python ]; + inputs = [ python ] } diff --git a/internal/rosa/package/libtirpc.az b/internal/rosa/package/libtirpc.az index 91e62f50..f10f3e54 100644 --- a/internal/rosa/package/libtirpc.az +++ b/internal/rosa/package/libtirpc.az @@ -1,36 +1,31 @@ -package libtirpc { - description = "a port of Suns Transport-Independent RPC library to Linux"; - website = "https://sourceforge.net/projects/libtirpc"; - anitya = 1740; +//az:schema mbf - version* = "1.3.7"; +package libtirpc { + description = "a port of Suns Transport-Independent RPC library to Linux" + website = "https://sourceforge.net/projects/libtirpc" + anitya = 1740 + + version := "1.3.7" source = remoteGit { - url = "git://linux-nfs.org/~steved/libtirpc"; - tag = "libtirpc-"+join { - elems = split { - s = version; - sep = "."; - n = 3; - }; - sep = "-"; - }; - checksum = "nzFfu7LNvnSNiNAryD1vtnNWnU-Xqee8KqfXUKoBf5yjb5-dkeRkYuRijdCoYLof"; - }; + url = "git://linux-nfs.org/~steved/libtirpc" + tag = "libtirpc-"+join(split(version, ".", 3), "-") + checksum = "nzFfu7LNvnSNiNAryD1vtnNWnU-Xqee8KqfXUKoBf5yjb5-dkeRkYuRijdCoYLof" + } exec = make { - generate = "sh -e ./bootstrap"; - configure = { - "CFLAGS": `"$(pkg-config --cflags libbsd-overlay) ${CFLAGS:-}"`; - "disable-gssapi"; - }; - }; + generate = "sh -e ./bootstrap" + configure = [ + "CFLAGS": r`"$(pkg-config --cflags libbsd-overlay) ${CFLAGS:-}"` + "disable-gssapi" + ] + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - libbsd, - kernel-headers, - ]; + libbsd + kernel-headers + ] } diff --git a/internal/rosa/package/libucontext.az b/internal/rosa/package/libucontext.az index 0be5b1d0..8b231b7a 100644 --- a/internal/rosa/package/libucontext.az +++ b/internal/rosa/package/libucontext.az @@ -1,28 +1,30 @@ -package libucontext { - description = "ucontext implementation featuring glibc-compatible ABI"; - website = "https://github.com/kaniini/libucontext"; - anitya = 17085; +//az:schema mbf - version* = "1.5.1"; +package libucontext { + description = "ucontext implementation featuring glibc-compatible ABI" + website = "https://github.com/kaniini/libucontext" + anitya = 17085 + + version := "1.5.1" source = remoteGitHub { - suffix = "kaniini/libucontext"; - tag = "libucontext-"+version; - checksum = "mUgeyJknjMxT-5fORzz-rqhZfP3Y7EZGBhOwvhuX7MsF4Pk9wkuwtrLf5IML-jWu"; - }; + suffix = "kaniini/libucontext" + tag = "libucontext-"+version + checksum = "mUgeyJknjMxT-5fORzz-rqhZfP3Y7EZGBhOwvhuX7MsF4Pk9wkuwtrLf5IML-jWu" + } // uses source tree as scratch space - writable = true; - chmod = true; - enterSource = true; + writable + chmod + enterSource exec = make { - omitDefaults = true; - skipConfigure = true; - inPlace = true; + omitDefaults + skipConfigure + inPlace make = [ - "ARCH=" + linuxArch, - ]; - install = "make prefix=/system DESTDIR=/work install"; - }; + "ARCH=" + linuxArch + ] + install = "make prefix=/system DESTDIR=/work install" + } } diff --git a/internal/rosa/package/libva.az b/internal/rosa/package/libva.az index 552423d2..43ef327e 100644 --- a/internal/rosa/package/libva.az +++ b/internal/rosa/package/libva.az @@ -1,35 +1,37 @@ -package libva { - description = "an implementation for VA-API (Video Acceleration API)"; - website = "https://01.org/vaapi"; - anitya = 1752; +//az:schema mbf - version* = "2.23.0"; +package libva { + description = "an implementation for VA-API (Video Acceleration API)" + website = "https://01.org/vaapi" + anitya = 1752 + + version := "2.23.0" source = remoteGitHub { - suffix = "intel/libva"; - tag = version; - checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq"; - }; + suffix = "intel/libva" + tag = version + checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq" + } exec = meson { - setup = { - "Dwith_x11": "yes"; - "Dwith_glx": "yes"; - "Dwith_wayland": "yes"; - }; - }; + setup = yn [ + "Dwith_x11": true + "Dwith_glx": true + "Dwith_wayland": true + ] + } inputs = [ - libdrm, - libXfixes, - libglvnd, - wayland, - kernel-headers, - ]; + libdrm + libXfixes + libglvnd + wayland + kernel-headers + ] runtime = [ - libdrm, - libXfixes, - libglvnd, - wayland, - ]; + libdrm + libXfixes + libglvnd + wayland + ] } diff --git a/internal/rosa/package/libxml2.az b/internal/rosa/package/libxml2.az index e844b43b..944e3b13 100644 --- a/internal/rosa/package/libxml2.az +++ b/internal/rosa/package/libxml2.az @@ -1,23 +1,25 @@ -package libxml2 { - description = "an XML toolkit implemented in C"; - website = "https://gitlab.gnome.org/GNOME/libxml2"; - anitya = 1783; +//az:schema mbf - version* = "2.15.3"; +package libxml2 { + description = "an XML toolkit implemented in C" + website = "https://gitlab.gnome.org/GNOME/libxml2" + anitya = 1783 + + version := "2.15.3" source = remoteGitLab { - domain = "gitlab.gnome.org"; - suffix = "GNOME/libxml2"; - ref = "v"+version; - checksum = "oJy74htGlEpf70KPvpW18fYJo0RQQkCXZRwqUz6NoXborS3HCq3Nm4gsyaSeNmUH"; - }; + domain = "gitlab.gnome.org" + suffix = "GNOME/libxml2" + ref = "v"+version + checksum = "oJy74htGlEpf70KPvpW18fYJo0RQQkCXZRwqUz6NoXborS3HCq3Nm4gsyaSeNmUH" + } // can't create shell.out: Read-only file system - writable = true; + writable - exec = meson {}; + exec = meson() inputs = [ - git, - diffutils, - ]; + git + diffutils + ] } diff --git a/internal/rosa/package/libxslt.az b/internal/rosa/package/libxslt.az index 4056efb9..62ce5314 100644 --- a/internal/rosa/package/libxslt.az +++ b/internal/rosa/package/libxslt.az @@ -1,31 +1,33 @@ -package libxslt { - description = "an XSLT processor based on libxml2"; - website = "https://gitlab.gnome.org/GNOME/libxslt"; - anitya = 13301; +//az:schema mbf - version* = "1.1.45"; +package libxslt { + description = "an XSLT processor based on libxml2" + website = "https://gitlab.gnome.org/GNOME/libxslt" + anitya = 13301 + + version := "1.1.45" source = remoteGitLab { - domain = "gitlab.gnome.org"; - suffix = "GNOME/libxslt"; - ref = "v"+version; - checksum = "67ks7v8od2oWaEGf23Sst_Xbn_8brQyolQjqxPoO-lK35k_WJhi2Px5JJgbk-nfn"; - }; + domain = "gitlab.gnome.org" + suffix = "GNOME/libxslt" + ref = "v"+version + checksum = "67ks7v8od2oWaEGf23Sst_Xbn_8brQyolQjqxPoO-lK35k_WJhi2Px5JJgbk-nfn" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; + generate = "NOCONFIGURE=1 ./autogen.sh" // python libxml2 cyclic dependency - skipCheck = true; - }; + skipCheck + } inputs = [ - automake, - libtool, - python, - pkg-config, + automake + libtool + python + pkg-config - libxml2, - ]; + libxml2 + ] - runtime = [ libxml2 ]; + runtime = [ libxml2 ] } diff --git a/internal/rosa/package/lit.az b/internal/rosa/package/lit.az index c4d60062..f1303ce8 100644 --- a/internal/rosa/package/lit.az +++ b/internal/rosa/package/lit.az @@ -1,15 +1,17 @@ -package lit { - description = "a portable tool for executing LLVM and Clang style test suites"; - website = "https://llvm.org/docs/CommandGuide/lit.html"; +//az:schema mbf - source = llvm-project; +package lit { + description = "a portable tool for executing LLVM and Clang style test suites" + website = "https://llvm.org/docs/CommandGuide/lit.html" + + source = llvm-project exec = pip { - append = [ "llvm", "utils", "lit" ]; + append = [ "llvm", "utils", "lit" ] // already checked during llvm - skipCheck = true; - }; + skipCheck + } - inputs = [ python-setuptools ]; - runtime = [ python ]; + inputs = [ python-setuptools ] + runtime = [ python ] } diff --git a/internal/rosa/package/lm_sensors.az b/internal/rosa/package/lm_sensors.az index 25765406..b8003595 100644 --- a/internal/rosa/package/lm_sensors.az +++ b/internal/rosa/package/lm_sensors.az @@ -1,49 +1,49 @@ +//az:schema mbf + package lm_sensors { - description = "user-space support for hardware monitoring drivers"; - website = "https://hwmon.wiki.kernel.org/lm_sensors"; - anitya = 1831; + description = "user-space support for hardware monitoring drivers" + website = "https://hwmon.wiki.kernel.org/lm_sensors" + anitya = 1831 - version* = "3-6-2"; + version := "3-6-2" source = remoteGitHub { - suffix = "lm-sensors/lm-sensors"; - tag = "V"+version; - checksum = "7JYNutrihe-FP6r3ftf96uFZJJWPfxnBHL0ALSMA-vovaXVRr-sAjlLitw7WWpCI"; - }; + suffix = "lm-sensors/lm-sensors" + tag = "V"+version + checksum = "7JYNutrihe-FP6r3ftf96uFZJJWPfxnBHL0ALSMA-vovaXVRr-sAjlLitw7WWpCI" + } - writable = true; - chmod = true; - enterSource = true; + writable + chmod + enterSource - early = ` -ln -s \ - ../../system/bin/perl \ - /usr/bin/ -`; + early = r`ln -s \ + ../../system/bin/perl \ + /usr/bin/` exec = make { - inPlace = true; - skipConfigure = true; + inPlace + skipConfigure make = [ - "CC=cc", - "ETCDIR=/system/etc", - "PREFIX=/system", - ]; + "CC=cc" + "ETCDIR=/system/etc" + "PREFIX=/system" + ] check = [ - "CC=cc", - "check", - ]; + "CC=cc" + "check" + ] - install = "make DESTDIR=/work PREFIX=/system install"; - }; + install = "make DESTDIR=/work PREFIX=/system install" + } inputs = [ - perl, - perl-Test-Cmd, + perl + perl-Test-Cmd - m4, - bison, - flex, - ]; + m4 + bison + flex + ] } diff --git a/internal/rosa/package/make.az b/internal/rosa/package/make.az index a0e1aec1..5e08f1b7 100644 --- a/internal/rosa/package/make.az +++ b/internal/rosa/package/make.az @@ -1,25 +1,26 @@ +//az:schema mbf + package make { - description = "a tool which controls the generation of executables and other non-source files"; - website = "https://www.gnu.org/software/make"; - anitya = 1877; + description = "a tool which controls the generation of executables and other non-source files" + website = "https://www.gnu.org/software/make" + anitya = 1877 - version* = "4.4.1"; + version := "4.4.1" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/make/make-"+version+".tar.gz"; - checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz" + checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a" + compress = gzip + } - toyboxEarly = true; + toyboxEarly exec = generic { - build = `/usr/src/make/configure \ - --prefix=/system \ - --build="${ROSA_TRIPLE}" \ - --disable-dependency-tracking -./build.sh -`; + build = r`/usr/src/make/configure \ + --prefix=/system \ + --build="${ROSA_TRIPLE}" \ + --disable-dependency-tracking + ./build.sh` // test suite wants perl - install = "./make DESTDIR=/work install\n"; - }; + install = "./make DESTDIR=/work install" + } } diff --git a/internal/rosa/package/mesa.az b/internal/rosa/package/mesa.az index e6ececfd..86ce8b7e 100644 --- a/internal/rosa/package/mesa.az +++ b/internal/rosa/package/mesa.az @@ -1,137 +1,130 @@ -package mesa { - description = "open source implementations of OpenGL, OpenGL ES, Vulkan, OpenCL, and more"; - website = "https://mesa3d.org"; - anitya = 1970; - latest = anityaFallback; +//az:schema mbf - version* = "26.1.1"; +package mesa { + description = "open source implementations of OpenGL, OpenGL ES, Vulkan, OpenCL, and more" + website = "https://mesa3d.org" + anitya = 1970 + latest = anityaFallback + + version := "26.1.1" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "mesa/mesa"; - ref = "mesa-"+version; - checksum = "OFCxGSTBe7qbnbVdazIJBNMFaQ-ylD5aRzo-JstSAdA0-hvVdRwsZiovMBm2rMzp"; - }; + domain = "gitlab.freedesktop.org" + suffix = "mesa/mesa" + ref = "mesa-"+version + checksum = "OFCxGSTBe7qbnbVdazIJBNMFaQ-ylD5aRzo-JstSAdA0-hvVdRwsZiovMBm2rMzp" + } exec = meson { - setup = { - "Dplatforms": "x11,wayland"; - "Dvideo-codecs": "all"; + setup = [ + "Dplatforms": "x11,wayland" + "Dvideo-codecs": "all" - "Dglvnd": "enabled"; - "Dgbm": "enabled"; + "Dglvnd": "enabled" + "Dgbm": "enabled" - "Dgallium-drivers": join { - elems = [ - "asahi", // Apple AGX - "crocus", // Intel legacy - "etnaviv", // Vivante GPU designs (mostly NXP/Marvell SoCs) - "freedreno", // Qualcomm Adreno (all Qualcomm SoCs) - "i915", // Intel extra legacy - "iris", // new Intel (Broadwell+) - "lima", // ARM Mali 4xx - "llvmpipe", // software renderer - "nouveau", // Nvidia - "panfrost", // ARM Mali Midgard and up (T/G series) - "r300", // very old AMD - "r600", // less old AMD - "radeonsi", // new AMD (GCN+) - "softpipe", // older software renderer - "svga", // VMWare virtualized GPU - "tegra", // Nvidia Tegra SoCs - "v3d", // Broadcom VC5 (Raspberry Pi 4) - "vc4", // Broadcom VC4 (Raspberry Pi 0-3) - "virgl", // QEMU virtualized GPU (aka VirGL) - "zink", // generic OpenGL over Vulkan, experimental + "Dgallium-drivers": join([ + "asahi" // Apple AGX + "crocus" // Intel legacy + "etnaviv" // Vivante GPU designs (mostly NXP/Marvell SoCs) + "freedreno" // Qualcomm Adreno (all Qualcomm SoCs) + "i915" // Intel extra legacy + "iris" // new Intel (Broadwell+) + "lima" // ARM Mali 4xx + "llvmpipe" // software renderer + "nouveau" // Nvidia + "panfrost" // ARM Mali Midgard and up (T/G series) + "r300" // very old AMD + "r600" // less old AMD + "radeonsi" // new AMD (GCN+) + "softpipe" // older software renderer + "svga" // VMWare virtualized GPU + "tegra" // Nvidia Tegra SoCs + "v3d" // Broadcom VC5 (Raspberry Pi 4) + "vc4" // Broadcom VC4 (Raspberry Pi 0-3) + "virgl" // QEMU virtualized GPU (aka VirGL) + "zink" // generic OpenGL over Vulkan, experimental // d3d12: WSL emulated GPU (aka Dozen) // ethosu: accelerator // rocket: accelerator - ]; - sep = ","; - }; + ], ",") - "Dvulkan-drivers": join { - elems = [ - "amd", // AMD (aka RADV) - "broadcom", // Broadcom VC5 (Raspberry Pi 4, aka V3D) - "freedreno", // Qualcomm Adreno (all Qualcomm SoCs) - "intel", // new Intel (aka ANV) - "intel_hasvk", // Intel Haswell/Broadwell, "legacy" Vulkan driver (https://www.phoronix.com/news/Intel-HasVK-Drop-Dead-Code) - "panfrost", // ARM Mali Midgard and up (T/G series) - "swrast", // software renderer (aka Lavapipe) - "virtio", // QEMU virtualized GPU (aka VirGL) - "imagination", // PowerVR Rogue - "asahi", // Apple AGX - "gfxstream", // Android virtualized GPU + "Dvulkan-drivers": join([ + "amd" // AMD (aka RADV) + "broadcom" // Broadcom VC5 (Raspberry Pi 4, aka V3D) + "freedreno" // Qualcomm Adreno (all Qualcomm SoCs) + "intel" // new Intel (aka ANV) + "intel_hasvk" // Intel Haswell/Broadwell, "legacy" Vulkan driver (https://www.phoronix.com/news/Intel-HasVK-Drop-Dead-Code) + "panfrost" // ARM Mali Midgard and up (T/G series) + "swrast" // software renderer (aka Lavapipe) + "virtio" // QEMU virtualized GPU (aka VirGL) + "imagination" // PowerVR Rogue + "asahi" // Apple AGX + "gfxstream" // Android virtualized GPU // nouveau: Nouveau (aka NVK), requires rust // microsoft-experimental: WSL virtualized GPU (aka DZN/Dozen) // kosmickrisp: macOS-specific - ]; - sep = ","; - }; + ], ",") - "Dvulkan-layers": join { - elems = [ - "device-select", - "intel-nullhw", - "overlay", - "screenshot", - "anti-lag", - "vram-report-limit", - ]; - sep = ","; - }; + "Dvulkan-layers": join([ + "device-select" + "intel-nullhw" + "overlay" + "screenshot" + "anti-lag" + "vram-report-limit" + ], ",") - "Dfreedreno-kmds": "msm,virtio"; - "Damdgpu-virtio": "true"; - }; - }; + "Dfreedreno-kmds": "msm,virtio" + "Damdgpu-virtio": "true" + ] + } inputs = [ - m4, - python-packaging, - python-mako, - python-pyyaml, - python-pycparser, - glslang, - spirv-llvm-translator, + m4 + python-packaging + python-mako + python-pyyaml + python-pycparser + glslang + spirv-llvm-translator - zlib, - zstd, - gzip, - ncurses, - libglvnd, - libexpat, - libva, - libdrm, - elfutils, - bison, - flex, - lm_sensors, - libconfig, - libdisplay-info, - wayland, - wayland-protocols, - libxshmfence, - libXxf86vm, - libXrandr, - libxcb-keysyms, - libpng, - libarchive, - kernel-headers, - ]; + zlib + zstd + gzip + ncurses + libglvnd + libexpat + libva + libdrm + elfutils + bison + flex + lm_sensors + libconfig + libdisplay-info + wayland + wayland-protocols + libxshmfence + libXxf86vm + libXrandr + libxcb-keysyms + libpng + libarchive + kernel-headers + ] runtime = [ - libdrm, - elfutils, - lm_sensors, - libdisplayInfo, - wayland, - libxshmfence, - libXxf86vm, - libXrandr, - libxcb-keysyms, - libpng, - ]; + libdrm + elfutils + lm_sensors + libdisplayInfo + wayland + libxshmfence + libXxf86vm + libXrandr + libxcb-keysyms + libpng + ] } diff --git a/internal/rosa/package/meson.az b/internal/rosa/package/meson.az index 90ae9354..6143b668 100644 --- a/internal/rosa/package/meson.az +++ b/internal/rosa/package/meson.az @@ -1,56 +1,51 @@ -package meson { - description = "an open source build system"; - website = "https://mesonbuild.com"; - anitya = 6472; +//az:schema mbf - version* = "1.11.1"; +package meson { + description = "an open source build system" + website = "https://mesonbuild.com" + anitya = 6472 + + version := "1.11.1" source = remoteGitHub { - suffix = "mesonbuild/meson"; - tag = version; - checksum = "uvILRxdopwc6Dy17UbIeClcQr0qHqyTaqyk1M9OqWKN9PwB9N6UVAiyN8kSSz3r2"; - }; + suffix = "mesonbuild/meson" + tag = version + checksum = "uvILRxdopwc6Dy17UbIeClcQr0qHqyTaqyk1M9OqWKN9PwB9N6UVAiyN8kSSz3r2" + } env = [ - "CMAKE_MAKE_PROGRAM=ninja", - ]; + "CMAKE_MAKE_PROGRAM=ninja" + ] exec = pip { - enterSource = true; - check = ` -cd 'test cases' -rm -rf \ - 'common/32 has header' \ - 'common/66 vcstag' \ - 'common/153 wrap file should not failed' \ - 'common/184 openmp' \ - 'common/189 check header' \ - 'linuxlike/6 subdir include order' \ - 'linuxlike/9 compiler checks with dependencies' \ - 'linuxlike/13 cmake dependency' \ - 'frameworks/15 llvm' \ - 'frameworks/29 blocks' -cd .. - -python3 ./run_project_tests.py \ - -v \ - ` + jobsFlagE + ` \ - --failfast \ - --backend=ninja -`; - }; + enterSource + check = r`cd 'test cases' + rm -rf \ + 'common/32 has header' \ + 'common/66 vcstag' \ + 'common/153 wrap file should not failed' \ + 'common/184 openmp' \ + 'common/189 check header' \ + 'linuxlike/6 subdir include order' \ + 'linuxlike/9 compiler checks with dependencies' \ + 'linuxlike/13 cmake dependency' \ + 'frameworks/15 llvm' \ + 'frameworks/29 blocks' + cd ..` + + "python3 ./run_project_tests.py -v ${jobsFlagE} --failfast --backend=ninja" + } inputs = [ - python-setuptools, - pkg-config, - cmake, - ninja, - python-pytest, - ]; + python-setuptools + pkg-config + cmake + ninja + python-pytest + ] runtime = [ - python, - pkg-config, - cmake, - ninja, - ]; + python + pkg-config + cmake + ninja + ] } diff --git a/internal/rosa/package/mksh.az b/internal/rosa/package/mksh.az index 0e43d1e8..c2630bf2 100644 --- a/internal/rosa/package/mksh.az +++ b/internal/rosa/package/mksh.az @@ -1,38 +1,39 @@ -package mksh { - description = "MirBSD Korn Shell"; - website = "https://www.mirbsd.org/mksh"; - anitya = 5590; +//az:schema mbf - version* = "59c"; +package mksh { + description = "MirBSD Korn Shell" + website = "https://www.mirbsd.org/mksh" + anitya = 5590 + + version := "59c" source = remoteTar { - url = "https://mbsd.evolvis.org/MirOS/dist/mir/mksh/mksh-R"+version+".tgz"; - checksum = "0Zj-k4nXEu3IuJY4lvwD2OrC2t27GdZj8SPy4DoaeuBRH1padWb7oREpYgwY8JNq"; - compress = gzip; - }; + url = "https://mbsd.evolvis.org/MirOS/dist/mir/mksh/mksh-R${version}.tgz" + checksum = "0Zj-k4nXEu3IuJY4lvwD2OrC2t27GdZj8SPy4DoaeuBRH1padWb7oREpYgwY8JNq" + compress = gzip + } env = [ - "LDSTATIC=-static", - "CPPFLAGS=-DMKSH_DEFAULT_PROFILEDIR=\\\"/system/etc\\\"", - ]; + "LDSTATIC=-static" + r`CPPFLAGS=-DMKSH_DEFAULT_PROFILEDIR=\"/system/etc\"` + ] exec = generic { - build = `sh /usr/src/mksh/Build.sh -r -CPPFLAGS="${CPPFLAGS} -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED" \ -sh /usr/src/mksh/Build.sh -r -L -`; - check = "./test.sh -C regress:no-ctty\n"; - install = ` -mkdir -p /work/system/bin/ -cp -v mksh /work/system/bin/ -cp -v lksh /work/system/bin/sh + build = r`sh /usr/src/mksh/Build.sh -r + CPPFLAGS="${CPPFLAGS} -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED" \ + sh /usr/src/mksh/Build.sh -r -L + `; + check = "./test.sh -C regress:no-ctty\n"; + install = ` + mkdir -p /work/system/bin/ + cp -v mksh /work/system/bin/ + cp -v lksh /work/system/bin/sh -mkdir -p /work/bin/ -ln -vs ../system/bin/sh /work/bin/ -`; - }; + mkdir -p /work/bin/ + ln -vs ../system/bin/sh /work/bin/` + } inputs = [ - perl, - coreutils, - ]; + perl + coreutils + ] } diff --git a/internal/rosa/package/musl-fts.az b/internal/rosa/package/musl-fts.az index f2273c50..ec8d9ea7 100644 --- a/internal/rosa/package/musl-fts.az +++ b/internal/rosa/package/musl-fts.az @@ -1,26 +1,28 @@ -package musl-fts { - description = "implementation of fts(3) functions which are missing in musl libc"; - website = "https://github.com/void-linux/musl-fts"; - anitya = 26980; +//az:schema mbf - version* = "1.2.7"; +package musl-fts { + description = "implementation of fts(3) functions which are missing in musl libc" + website = "https://github.com/void-linux/musl-fts" + anitya = 26980 + + version := "1.2.7" source = remoteGitHub { - suffix = "void-linux/musl-fts"; - tag = "v"+version; - checksum = "N_p_ZApX3eHt7xoDCw1hLf6XdJOw7ZSx7xPvpvAP0knG2zgU0zeN5w8tt5Pg60XJ"; - }; + suffix = "void-linux/musl-fts" + tag = "v"+version + checksum = "N_p_ZApX3eHt7xoDCw1hLf6XdJOw7ZSx7xPvpvAP0knG2zgU0zeN5w8tt5Pg60XJ" + } env = [ - "CC=cc -fPIC", - ]; + "CC=cc -fPIC" + ] exec = make { - generate = "./bootstrap.sh"; - }; + generate = "./bootstrap.sh" + } inputs = [ - automake, - libtool, - pkg-config, - ]; + automake + libtool + pkg-config + ] } diff --git a/internal/rosa/package/musl-obstack.az b/internal/rosa/package/musl-obstack.az index 379eaf5d..2028d043 100644 --- a/internal/rosa/package/musl-obstack.az +++ b/internal/rosa/package/musl-obstack.az @@ -1,26 +1,28 @@ -package musl-obstack { - description = "obstack functions and macros separated from glibc"; - website = "https://github.com/void-linux/musl-obstack"; - anitya = 146206; +//az:schema mbf - version* = "1.2.3"; +package musl-obstack { + description = "obstack functions and macros separated from glibc" + website = "https://github.com/void-linux/musl-obstack" + anitya = 146206 + + version := "1.2.3" source = remoteGitHub { - suffix = "void-linux/musl-obstack"; - tag = "v"+version; - checksum = "tVRY_KjIlkkMszcaRlkKdBVQHIXTT_T_TiMxbwErlILXrOBosocg8KklppZhNdCG"; - }; + suffix = "void-linux/musl-obstack" + tag = "v"+version + checksum = "tVRY_KjIlkkMszcaRlkKdBVQHIXTT_T_TiMxbwErlILXrOBosocg8KklppZhNdCG" + } env = [ - "CC=cc -fPIC", - ]; + "CC=cc -fPIC" + ] exec = make { - generate = "./bootstrap.sh"; - }; + generate = "./bootstrap.sh" + } inputs = [ - automake, - libtool, - pkg-config, - ]; + automake + libtool + pkg-config + ] } diff --git a/internal/rosa/package/ncurses.az b/internal/rosa/package/ncurses.az index d4b52fa3..341182b2 100644 --- a/internal/rosa/package/ncurses.az +++ b/internal/rosa/package/ncurses.az @@ -1,26 +1,28 @@ -package ncurses { - description = "a free software emulation of curses in System V Release 4.0 (SVr4)"; - website = "https://invisible-island.net/ncurses"; - anitya = 373226; +//az:schema mbf - version* = "6.6"; +package ncurses { + description = "a free software emulation of curses in System V Release 4.0 (SVr4)" + website = "https://invisible-island.net/ncurses" + anitya = 373226 + + version := "6.6" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/ncurses/ncurses-"+version+".tar.gz"; - checksum = "XvWp4xi6hR_hH8XUoGY26L_pqBSDapJYulhzZqPuR0KNklqypqNc1yNXU-nOjf5w"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz" + checksum = "XvWp4xi6hR_hH8XUoGY26L_pqBSDapJYulhzZqPuR0KNklqypqNc1yNXU-nOjf5w" + compress = gzip + } exec = make { - configure = { - "with-pkg-config"; - "enable-pc-files"; - "with-shared"; - "with-cxx-shared"; - }; + configure = [ + "with-pkg-config" + "enable-pc-files" + "with-shared" + "with-cxx-shared" + ] // "tests" are actual demo programs, not a test suite. - skipCheck = true; - }; + skipCheck + } - inputs = [ pkg-config ]; + inputs = [ pkg-config ] } diff --git a/internal/rosa/package/nettle.az b/internal/rosa/package/nettle.az index 5b993868..ed620a8a 100644 --- a/internal/rosa/package/nettle.az +++ b/internal/rosa/package/nettle.az @@ -1,23 +1,25 @@ +//az:schema mbf + package nettle { - description = "a low-level cryptographic library"; - website = "https://www.lysator.liu.se/~nisse/nettle"; - anitya = 2073; + description = "a low-level cryptographic library" + website = "https://www.lysator.liu.se/~nisse/nettle" + anitya = 2073 - version* = "4.0"; + version := "4.0" source = remoteTar { - url = "https://ftpmirror.gnu.org/gnu/nettle/nettle-"+version+".tar.gz"; - checksum = "6agC-vHzzoqAlaX3K9tX8yHgrm03HLqPZzVzq8jh_ePbuPMIvpxereu_uRJFmQK7"; - compress = gzip; - }; + url = "https://ftpmirror.gnu.org/gnu/nettle/nettle-${version}.tar.gz" + checksum = "6agC-vHzzoqAlaX3K9tX8yHgrm03HLqPZzVzq8jh_ePbuPMIvpxereu_uRJFmQK7" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - m4, - diffutils, + m4 + diffutils - gmp, - ]; + gmp + ] - runtime = [ gmp ]; + runtime = [ gmp ] } diff --git a/internal/rosa/package/ninja.az b/internal/rosa/package/ninja.az index 69f14026..24547c72 100644 --- a/internal/rosa/package/ninja.az +++ b/internal/rosa/package/ninja.az @@ -1,38 +1,38 @@ -package ninja { - description = "a small build system with a focus on speed"; - website = "https://ninja-build.org"; - anitya = 2089; +//az:schema mbf - version* = "1.13.2"; +package ninja { + description = "a small build system with a focus on speed" + website = "https://ninja-build.org" + anitya = 2089 + + version := "1.13.2" source = remoteGitHub { - suffix = "ninja-build/ninja"; - tag = "v"+version; - checksum = "ygKWMa0YV2lWKiFro5hnL-vcKbc_-RACZuPu0Io8qDvgQlZ0dxv7hPNSFkt4214v"; - }; - extra = [ googletest ]; + suffix = "ninja-build/ninja" + tag = "v"+version + checksum = "ygKWMa0YV2lWKiFro5hnL-vcKbc_-RACZuPu0Io8qDvgQlZ0dxv7hPNSFkt4214v" + } + extra = [ googletest ] env = [ - "CFLAGS=-std=c++17", - ]; + "CFLAGS=-std=c++17" + ] exec = generic { - build = ` -python3 /usr/src/ninja/configure.py \ - --verbose \ - --bootstrap -python3 /usr/src/ninja/configure.py \ - --gtest-source-dir=/usr/src/extra/googletest -./ninja ` + jobsFlagE + ` all`; + build = r`python3 /usr/src/ninja/configure.py \ + --verbose \ + --bootstrap + python3 /usr/src/ninja/configure.py \ + --gtest-source-dir=/usr/src/extra/googletest + ./ninja ` + jobsFlagE + ` all` - check = "\n./ninja_test"; + check = "./ninja_test" - install = ` -mkdir -p /work/system/bin/ -cp ninja /work/system/bin/`; - }; + install = `mkdir -p /work/system/bin/ + cp ninja /work/system/bin/` + } inputs = [ - python, - bash, - ]; + python + bash + ] } diff --git a/internal/rosa/package/nss.az b/internal/rosa/package/nss.az index c481d9f1..8602dfcf 100644 --- a/internal/rosa/package/nss.az +++ b/internal/rosa/package/nss.az @@ -1,101 +1,91 @@ -package nspr { - description = "nspr source tree"; - anitya = 7953; - exclude = true; +//az:schema mbf - version* = "4.39"; +package nspr { + description = "nspr source tree" + anitya = 7953 + exclude + + version := "4.39" output = remoteTar { - url = "https://ftp.mozilla.org/pub/nspr/releases/v"+version+ - "/src/nspr-"+version+".tar.gz"; - checksum = "lgIlqiItMBCRTuz8griNqxtJzNBAoZU1020EVR94X2IiZpJ-NgLXouF7m1knNlDs"; - compress = gzip; - }; + url = "https://ftp.mozilla.org/pub/nspr/releases/v${version}/src/nspr-${version}.tar.gz" + checksum = "lgIlqiItMBCRTuz8griNqxtJzNBAoZU1020EVR94X2IiZpJ-NgLXouF7m1knNlDs" + compress = gzip + } } package nss { - description = "Network Security Services"; - website = "https://firefox-source-docs.mozilla.org/security/nss/index.html"; - anitya = 2503; + description = "Network Security Services" + website = "https://firefox-source-docs.mozilla.org/security/nss/index.html" + anitya = 2503 - version* = "3.124"; + version := "3.124" source = remoteGitHub { - suffix = "nss-dev/nss"; - tag = "NSS_"+join { - elems = split { - s = version; - sep = "."; - n = 3; - }; - sep = "_"; - }+"_RTM"; - checksum = "p_TFOmKxMVV-ZHRY0QwzEReUOxSRjEExpWIuoA3Bzxj50uNCS8EgqfzcpaiGAkr6"; - }; - extra = [ nspr ]; + suffix = "nss-dev/nss" + tag = "NSS_"+join(split(version, ".", 3), "_")+"_RTM" + checksum = "p_TFOmKxMVV-ZHRY0QwzEReUOxSRjEExpWIuoA3Bzxj50uNCS8EgqfzcpaiGAkr6" + } + extra = [ nspr ] - enterSource = true; - writable = true; - chmod = true; - early = "\nln -s extra/nspr/nspr /usr/src/nspr\n"; + enterSource + writable + chmod + early = "ln -s extra/nspr/nspr /usr/src/nspr" exec = make { - omitDefaults = true; - skipConfigure = true; - inPlace = true; + omitDefaults + skipConfigure + inPlace make = [ - "CCC=clang++", - "NSDISTMODE=copy", - "BUILD_OPT=1", - "USE_64=1", - "nss_build_all", - ]; - skipCheck = true; - install = ` -cp -r \ - /usr/src/dist/. \ - lib/ckfw/builtins/certdata.txt \ - /work/ -`; - }; + "CCC=clang++" + "NSDISTMODE=copy" + "BUILD_OPT=1" + "USE_64=1" + "nss_build_all" + ] + skipCheck + install = r`cp -r \ + /usr/src/dist/. \ + lib/ckfw/builtins/certdata.txt \ + /work/` + } inputs = [ - perl, - python, - gawk, - coreutils, + perl + python + gawk + coreutils - zlib, - kernel-headers, - ]; + zlib + kernel-headers + ] - runtime = [ zlib ]; + runtime = [ zlib ] } package nss-cacert { - description = "bundle of X.509 certificates of public Certificate Authorities"; - website = "https://curl.se/docs/caextract.html"; - version = unversioned; + description = "bundle of X.509 certificates of public Certificate Authorities" + website = "https://curl.se/docs/caextract.html" + version = unversioned - source = nss; + source = nss - enterSource = true; + enterSource exec = generic { - inPlace = true; - build = ` -mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source} -buildcatrust \ - --certdata_input certdata.txt \ - --ca_bundle_output /work/system/etc/ssl/certs/ca-bundle.crt \ - --ca_standard_bundle_output /work/system/etc/ssl/certs/ca-no-trust-rules-bundle.crt \ - --ca_unpacked_output /work/system/etc/ssl/certs/unbundled \ - --ca_hashed_unpacked_output /work/system/etc/ssl/certs/hashed \ - --p11kit_output /work/system/etc/ssl/trust-source/ca-bundle.trust.p11-kit -`; - }; + inPlace + build = r`mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source} + buildcatrust \ + --certdata_input certdata.txt \ + --ca_bundle_output /work/system/etc/ssl/certs/ca-bundle.crt \ + --ca_standard_bundle_output /work/system/etc/ssl/certs/ca-no-trust-rules-bundle.crt \ + --ca_unpacked_output /work/system/etc/ssl/certs/unbundled \ + --ca_hashed_unpacked_output /work/system/etc/ssl/certs/hashed \ + --p11kit_output /work/system/etc/ssl/trust-source/ca-bundle.trust.p11-kit` + } inputs = [ - bash, + bash - buildcatrust, - ]; + buildcatrust + ] } diff --git a/internal/rosa/package/openssl.az b/internal/rosa/package/openssl.az index 9cdfc333..d7d8e4fa 100644 --- a/internal/rosa/package/openssl.az +++ b/internal/rosa/package/openssl.az @@ -1,45 +1,47 @@ -package openssl { - description = "TLS/SSL and crypto library"; - website = "https://www.openssl.org"; - anitya = 2566; - // strange malformed tags treated as pre-releases in Anitya - latest = anityaFallback; +//az:schema mbf - version* = "3.6.2"; +package openssl { + description = "TLS/SSL and crypto library" + website = "https://www.openssl.org" + anitya = 2566 + // strange malformed tags treated as pre-releases in Anitya + latest = anityaFallback + + version := "3.6.2" source = remoteGitHubRelease { - suffix = "openssl/openssl"; - tag = "openssl-"+version; - name = "openssl-"+version+".tar.gz"; - checksum = "jH004dXTiE01Hp0kyShkWXwrSHEksZi4i_3v47D9H9Uz9LQ1aMwF7mrl2Tb4t_XA"; - compress = gzip; - }; + suffix = "openssl/openssl" + tag = "openssl-"+version + name = "openssl-${version}.tar.gz" + checksum = "jH004dXTiE01Hp0kyShkWXwrSHEksZi4i_3v47D9H9Uz9LQ1aMwF7mrl2Tb4t_XA" + compress = gzip + } env = [ - "CC=cc", - ]; + "CC=cc" + ] exec = make { - omitDefaults = true; + omitDefaults - configureName = "/usr/src/openssl/Configure"; - configure = { - "prefix": "/system"; - "libdir": "lib"; - "openssldir": "etc/ssl"; - "": "no-docs"; - }; + configureName = "/usr/src/openssl/Configure" + configure = [ + "prefix": "/system" + "libdir": "lib" + "openssldir": "etc/ssl" + "": "no-docs" + ] check = [ - "HARNESS_JOBS=" + jobsE, - "test", - ]; - }; + "HARNESS_JOBS=${jobsE}" + "test" + ] + } inputs = [ - perl, - coreutils, + perl + coreutils - zlib, - kernel-headers, - ]; + zlib + kernel-headers + ] } diff --git a/internal/rosa/package/p11-kit.az b/internal/rosa/package/p11-kit.az index 9082dcc9..81072f8b 100644 --- a/internal/rosa/package/p11-kit.az +++ b/internal/rosa/package/p11-kit.az @@ -1,31 +1,33 @@ -package p11-kit { - description = "provides a way to load and enumerate PKCS#11 modules"; - website = "https://p11-glue.freedesktop.org/p11-kit.html"; - anitya = 2582; +//az:schema mbf - version* = "0.26.2"; +package p11-kit { + description = "provides a way to load and enumerate PKCS#11 modules" + website = "https://p11-glue.freedesktop.org/p11-kit.html" + anitya = 2582 + + version := "0.26.2" source = remoteGit { - url = "https://github.com/p11-glue/p11-kit.git"; - tag = version; - checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"; - }; + url = "https://github.com/p11-glue/p11-kit.git" + tag = version + checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N" + } exec = meson { - setup = { - "Dsystemd": "disabled"; - "Dlibffi": "enabled"; - }; - }; + setup = endi [ + "Dsystemd": false + "Dlibffi": true + ] + } inputs = [ - coreutils, - diffutils, + coreutils + diffutils - libtasn1, - ]; + libtasn1 + ] runtime = [ - libffi, - libtasn1, - ]; + libffi + libtasn1 + ] } diff --git a/internal/rosa/package/pcre2.az b/internal/rosa/package/pcre2.az index c7fc505c..15657893 100644 --- a/internal/rosa/package/pcre2.az +++ b/internal/rosa/package/pcre2.az @@ -1,30 +1,30 @@ +//az:schema mbf + package pcre2 { - description = "a set of C functions that implement regular expression pattern matching"; - website = "https://pcre2project.github.io/pcre2"; - anitya = 5832; + description = "a set of C functions that implement regular expression pattern matching" + website = "https://pcre2project.github.io/pcre2" + anitya = 5832 - version* = "10.47"; + version := "10.47" source = remoteGitHubRelease { - suffix = "PCRE2Project/pcre2"; - tag = "pcre2-"+version; - name = "pcre2-"+version+".tar.bz2"; - checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW"; - compress = bzip2; - }; + suffix = "PCRE2Project/pcre2" + tag = "pcre2-"+version + name = "pcre2-${version}.tar.bz2"; + checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW" + compress = bzip2 + } - early = ` -# RunGrepTest expects /bin/echo -ln -s ../system/bin/toybox /bin/echo -`; + early = `# RunGrepTest expects /bin/echo + ln -s ../system/bin/toybox /bin/echo` exec = make { configure = { - "enable-jit"; - "enable-pcre2-8"; - "enable-pcre2-16"; - "enable-pcre2-32"; - }; - }; + "enable-jit" + "enable-pcre2-8" + "enable-pcre2-16" + "enable-pcre2-32" + } + } - inputs = [ diffutils ]; + inputs = [ diffutils ] } diff --git a/internal/rosa/package/perl.az b/internal/rosa/package/perl.az index 71322cc7..b2561f6b 100644 --- a/internal/rosa/package/perl.az +++ b/internal/rosa/package/perl.az @@ -1,263 +1,259 @@ -package perl { - description = "The Perl Programming language"; - website = "https://www.perl.org"; - anitya = 13599; - // odd-even versioning - latest = anityaFallback; +//az:schema mbf - version* = "5.42.2"; +package perl { + description = "The Perl Programming language" + website = "https://www.perl.org" + anitya = 13599 + // odd-even versioning + latest = anityaFallback + + version := "5.42.2" source = remoteTar { - url = "https://www.cpan.org/src/5.0/perl-"+version+".tar.gz"; - checksum = "Me_xFfgkRnVyG0sE6a74TktK2OUq9Z1LVJNEu_9RdZG3S2fbjfzNiuk2SJqHAgbm"; - compress = gzip; - }; + url = "https://www.cpan.org/src/5.0/perl-${version}.tar.gz" + checksum = "Me_xFfgkRnVyG0sE6a74TktK2OUq9Z1LVJNEu_9RdZG3S2fbjfzNiuk2SJqHAgbm" + compress = gzip + } // uses source tree as scratch space - writable = true; - chmod = true; - early = ` -echo 'print STDOUT "1..0 # Skip broken test\n";' > ext/Pod-Html/t/htmldir3.t -chmod +w /system/bin && rm -f /system/bin/ps # perl does not like toybox ps -`; + writable + chmod + early = `echo 'print STDOUT "1..0 # Skip broken test\n";' > ext/Pod-Html/t/htmldir3.t + chmod +w /system/bin && rm -f /system/bin/ps # perl does not like toybox ps` - toyboxEarly = true; + toyboxEarly exec = make { - omitDefaults = true; - inPlace = true; + omitDefaults + inPlace - configureName = "./Configure"; - configure = { - "-des"; - "Dprefix": "/system"; - "Dcc": "clang"; - "Dcflags": "--std=gnu99"; - "Dldflags": `"${LDFLAGS:-''}"`; - "Doptimize": "'-O2 -fno-strict-aliasing'"; - "Duseithreads"; - "Duseshrplib"; - }; + configureName = "./Configure" + configure = [ + "-des" + "Dprefix": "/system" + "Dcc": "clang" + "Dcflags": "--std=gnu99" + "Dldflags": `"${LDFLAGS:-''}"` + "Doptimize": "'-O2 -fno-strict-aliasing'" + "Duseithreads" + "Duseshrplib" + ] check = [ - "TEST_JOBS=" + jobsLE, - "test_harness", - ]; + "TEST_JOBS=" + jobsLE + "test_harness" + ] - install = `LD_LIBRARY_PATH="$PWD" ./perl -Ilib -I. installperl --destdir=/work`; - }; + install = r`LD_LIBRARY_PATH="$PWD" ./perl -Ilib -I. installperl --destdir=/work` + } } package perl-Module-Build { - description = "build and install Perl modules"; - website = "https://metacpan.org/release/Module-Build"; - anitya = 3077; + description = "build and install Perl modules" + website = "https://metacpan.org/release/Module-Build" + anitya = 3077 - version* = "0.4234"; + version := "0.4234" source = remoteCPAN { - author = "LEONT"; - name = "Module-Build"; - version = version; - checksum = "ZKxEFG4hE1rqZt52zBL2LRZBMkYzhjb5-cTBXcsyA52EbPeeYyVxU176yAea8-Di"; - }; + author = "LEONT" + name = "Module-Build" + version = version + checksum = "ZKxEFG4hE1rqZt52zBL2LRZBMkYzhjb5-cTBXcsyA52EbPeeYyVxU176yAea8-Di" + } - enterSource = true; - writable = true; - chmod = true; + enterSource + writable + chmod exec = generic { - inPlace = true; - build = ` -perl Build.PL --prefix=/system -./Build build`; - check = ` -./Build test`; - install = ` -./Build install --destdir=/work -`; - }; + inPlace + build = `perl Build.PL --prefix=/system + ./Build build` + check = `./Build test` + install = `./Build install --destdir=/work` + } - inputs = [ perl ]; - runtime = [ perl ]; + inputs = [ perl ] + runtime = [ perl ] } package perl-Locale-gettext { - description = "message handling functions"; - website = "https://metacpan.org/release/Locale-gettext"; - anitya = 7523; + description = "message handling functions" + website = "https://metacpan.org/release/Locale-gettext" + anitya = 7523 - version* = "1.07"; + version := "1.07" source = remoteCPAN { - author = "PVANDRY"; - name = "Locale-gettext"; - version = version; - checksum = "cFq4BKFD1MWSoa7lsrPjpdo9kzPqd0jlRcBFUyL1L1isw8m3D_Sge_ff0MAu_9J3"; - }; + author = "PVANDRY" + name = "Locale-gettext" + version = version + checksum = "cFq4BKFD1MWSoa7lsrPjpdo9kzPqd0jlRcBFUyL1L1isw8m3D_Sge_ff0MAu_9J3" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } package perl-Pod-Parser { - description = "base class for creating POD filters and translators"; - website = "https://metacpan.org/release/Pod-Parser"; - anitya = 3244; + description = "base class for creating POD filters and translators" + website = "https://metacpan.org/release/Pod-Parser" + anitya = 3244 - version* = "1.67"; + version := "1.67" source = remoteCPAN { - author = "MAREKR"; - name = "Pod-Parser"; - version = version; - checksum = "RdURu9mOfExk_loCp6abxlcQV3FycSNbTqhRS9i6JUqnYfGGEgercK30g0gjYyqe"; - }; + author = "MAREKR" + name = "Pod-Parser" + version = version + checksum = "RdURu9mOfExk_loCp6abxlcQV3FycSNbTqhRS9i6JUqnYfGGEgercK30g0gjYyqe" + } - exec = makeMaker {}; + exec = makeMaker {} - runtime = [ perl ]; + runtime = [ perl ] } package perl-SGMLS { - description = "class for postprocessing the output from the sgmls and nsgmls parsers"; - website = "https://metacpan.org/release/RAAB/SGMLSpm-1.1"; - anitya = 389576; - latest = anityaLegacyCPAN; + description = "class for postprocessing the output from the sgmls and nsgmls parsers" + website = "https://metacpan.org/release/RAAB/SGMLSpm-1.1" + anitya = 389576 + latest = anityaLegacyCPAN - version* = "1.1"; + version := "1.1" source = remoteCPAN { - author = "RAAB"; - name = "SGMLSpm"; - version = version; - checksum = "aZijn4MUqD-wfyZgdcCruCwl4SgDdu25cNmJ4_UvdAk9a7uz4gzMQdoeB6DQ6QOy"; - }; + author = "RAAB" + name = "SGMLSpm" + version = version + checksum = "aZijn4MUqD-wfyZgdcCruCwl4SgDdu25cNmJ4_UvdAk9a7uz4gzMQdoeB6DQ6QOy" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } package perl-Term-ReadKey { - description = "a perl module for simple terminal control"; - website = "https://metacpan.org/release/TermReadKey"; - anitya = 3372; + description = "a perl module for simple terminal control" + website = "https://metacpan.org/release/TermReadKey" + anitya = 3372 - version* = "2.38"; + version := "2.38" source = remoteCPAN { - author = "JSTOWE"; - name = "TermReadKey"; - version = version; - checksum = "qerL8Xo7kD0f42PZoiEbmE8Roc_S9pOa27LXelY4DN_0UNy_u5wLrGHI8utNlaiI"; - }; + author = "JSTOWE" + name = "TermReadKey" + version = version + checksum = "qerL8Xo7kD0f42PZoiEbmE8Roc_S9pOa27LXelY4DN_0UNy_u5wLrGHI8utNlaiI" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } package perl-Text-CharWidth { - description = "get number of occupied columns of a string on terminal"; - website = "https://metacpan.org/release/Text-CharWidth"; - anitya = 14380; + description = "get number of occupied columns of a string on terminal" + website = "https://metacpan.org/release/Text-CharWidth" + anitya = 14380 - version* = "0.04"; + version := "0.04" source = remoteCPAN { - author = "KUBOTA"; - name = "Text-CharWidth"; - version = version; - checksum = "G2p5RHU4_HiZ23ZusBA_enTlVMxz0J4esUx4CGcOPhY6xYTbp-aXWRN6lYZpzBw2"; - }; + author = "KUBOTA" + name = "Text-CharWidth" + version = version + checksum = "G2p5RHU4_HiZ23ZusBA_enTlVMxz0J4esUx4CGcOPhY6xYTbp-aXWRN6lYZpzBw2" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } package perl-Text-WrapI18N { - description = "line wrapping module"; - website = "https://metacpan.org/release/Text-WrapI18N"; - anitya = 14385; + description = "line wrapping module" + website = "https://metacpan.org/release/Text-WrapI18N" + anitya = 14385 - version* = "0.06"; + version := "0.06" source = remoteCPAN { - author = "KUBOTA"; - name = "Text-WrapI18N"; - version = version; - checksum = "Vmo89qLgxUqyQ6QmWJVqu60aQAUjrNKRjFQSXGnvClxofzRjiCa6idzPgJ4VkixM"; - }; + author = "KUBOTA" + name = "Text-WrapI18N" + version = version + checksum = "Vmo89qLgxUqyQ6QmWJVqu60aQAUjrNKRjFQSXGnvClxofzRjiCa6idzPgJ4VkixM" + } - exec = makeMaker {}; + exec = makeMaker {} - inputs = [ perl-Text-CharWidth ]; - runtime = [ perl-Text-CharWidth ]; + inputs = [ perl-Text-CharWidth ] + runtime = [ perl-Text-CharWidth ] } package perl-MIME-Charset { - description = "Charset Information for MIME"; - website = "https://metacpan.org/release/MIME-Charset"; - anitya = 3070; + description = "Charset Information for MIME" + website = "https://metacpan.org/release/MIME-Charset" + anitya = 3070 - version* = "1.013.1"; + version := "1.013.1" source = remoteCPAN { - author = "NEZUMI"; - name = "MIME-Charset"; - version = version; - checksum = "Ou_ukcrOa1cgtE3mptinb-os3bdL1SXzbRDFZQF3prrJj-drc3rp_huay7iDLJol"; - }; + author = "NEZUMI" + name = "MIME-Charset" + version = version + checksum = "Ou_ukcrOa1cgtE3mptinb-os3bdL1SXzbRDFZQF3prrJj-drc3rp_huay7iDLJol" + } - exec = makeMaker {}; + exec = makeMaker {} - runtime = [ perl ]; + runtime = [ perl ] } package perl-Unicode-LineBreak { - description = "String as Sequence of UAX #29 Grapheme Clusters"; - website = "https://metacpan.org/release/Unicode-LineBreak"; - anitya = 6033; + description = "String as Sequence of UAX #29 Grapheme Clusters" + website = "https://metacpan.org/release/Unicode-LineBreak" + anitya = 6033 - version* = "2019.001"; + version := "2019.001" source = remoteCPAN { - author = "NEZUMI"; - name = "Unicode-LineBreak"; - version = version; - checksum = "ZHVkh7EDgAUHnTpvXsnPAuWpgNoBImtY_9_8TIbo2co_WgUwEb0MtXPhI8pAZ5OH"; - }; + author = "NEZUMI" + name = "Unicode-LineBreak" + version = version + checksum = "ZHVkh7EDgAUHnTpvXsnPAuWpgNoBImtY_9_8TIbo2co_WgUwEb0MtXPhI8pAZ5OH" + } - exec = makeMaker {}; + exec = makeMaker() - inputs = [ perl-MIME-Charset ]; - runtime = [ perl-MIME-Charset ]; + inputs = [ perl-MIME-Charset ] + runtime = [ perl-MIME-Charset ] } package perl-YAML-Tiny { - description = "read/write YAML files with as little code as possible"; - website = "https://metacpan.org/release/YAML-Tiny"; - anitya = 3549; + description = "read/write YAML files with as little code as possible" + website = "https://metacpan.org/release/YAML-Tiny" + anitya = 3549 - version* = "1.76"; + version := "1.76" source = remoteCPAN { - author = "ETHER"; - name = "YAML-Tiny"; - version = version; - checksum = "V1MV4KPym1LxSw8CRXqPR3K-l1hGHbT5Ob4t-9xju6R9X_CWyw6hI8wsMaNdHdBY"; - }; + author = "ETHER" + name = "YAML-Tiny" + version = version + checksum = "V1MV4KPym1LxSw8CRXqPR3K-l1hGHbT5Ob4t-9xju6R9X_CWyw6hI8wsMaNdHdBY" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } package perl-Test-Cmd { - description = "portable testing of commands and scripts"; - website = "https://metacpan.org/release/Test-Cmd"; - anitya = 6014; + description = "portable testing of commands and scripts" + website = "https://metacpan.org/release/Test-Cmd" + anitya = 6014 - version* = "1.09"; + version := "1.09" source = remoteCPAN { - author = "NEILB"; - name = "Test-Cmd"; - version = version; - checksum = "gpGUwyC9IozDiYSgW_kXARNfXsTPFa6cTowJmmCBbPqcs2-pONZca_SB06FGy-7H"; - }; + author = "NEILB" + name = "Test-Cmd" + version = version + checksum = "gpGUwyC9IozDiYSgW_kXARNfXsTPFa6cTowJmmCBbPqcs2-pONZca_SB06FGy-7H" + } - exec = makeMaker {}; + exec = makeMaker() - runtime = [ perl ]; + runtime = [ perl ] } diff --git a/internal/rosa/package/pixman.az b/internal/rosa/package/pixman.az index 96ef4a80..0aafd79f 100644 --- a/internal/rosa/package/pixman.az +++ b/internal/rosa/package/pixman.az @@ -1,19 +1,21 @@ -package pixman { - description = "a low-level software library for pixel manipulation"; - website = "https://pixman.org"; - anitya = 3648; +//az:schema mbf - version* = "0.46.4"; +package pixman { + description = "a low-level software library for pixel manipulation" + website = "https://pixman.org" + anitya = 3648 + + version := "0.46.4" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "pixman/pixman"; - ref = "pixman-"+version; - checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE"; - }; + domain = "gitlab.freedesktop.org" + suffix = "pixman/pixman" + ref = "pixman-"+version + checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE" + } exec = meson { - setup = { - "Dtests": "enabled"; - }; - }; + setup = endi [ + "Dtests": true + ] + } } diff --git a/internal/rosa/package/pkg-config.az b/internal/rosa/package/pkg-config.az index b8830cf5..9f32a291 100644 --- a/internal/rosa/package/pkg-config.az +++ b/internal/rosa/package/pkg-config.az @@ -1,26 +1,28 @@ -package pkg-config { - description = "a helper tool used when compiling applications and libraries"; - website = "https://pkgconfig.freedesktop.org"; - anitya = 3649; +//az:schema mbf - version* = "0.29.2"; +package pkg-config { + description = "a helper tool used when compiling applications and libraries" + website = "https://pkgconfig.freedesktop.org" + anitya = 3649 + + version := "0.29.2" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "pkg-config/pkg-config"; - ref = "pkg-config-"+version; - checksum = "6UsGqEMA8EER_5b9N0b32UCqiRy39B6_RnPfvuslWhtFV1qYD4DfS10crGZN_TP2"; - }; + domain = "gitlab.freedesktop.org" + suffix = "pkg-config/pkg-config" + ref = "pkg-config-"+version + checksum = "6UsGqEMA8EER_5b9N0b32UCqiRy39B6_RnPfvuslWhtFV1qYD4DfS10crGZN_TP2" + } exec = make { - generate = "./autogen.sh --no-configure"; - configure = { - "CFLAGS": "'-Wno-int-conversion'"; - "with-internal-glib"; - }; - }; + generate = "./autogen.sh --no-configure" + configure = [ + "CFLAGS": "'-Wno-int-conversion'" + "with-internal-glib" + ] + } inputs = [ - automake, - libtool, - ]; + automake + libtool + ] } diff --git a/internal/rosa/package/procps.az b/internal/rosa/package/procps.az index 3c351a87..b4754602 100644 --- a/internal/rosa/package/procps.az +++ b/internal/rosa/package/procps.az @@ -1,29 +1,31 @@ -package procps { - description = "command line and full screen utilities for browsing procfs"; - website = "https://gitlab.com/procps-ng/procps"; - anitya = 3708; +//az:schema mbf - version* = "4.0.6"; +package procps { + description = "command line and full screen utilities for browsing procfs" + website = "https://gitlab.com/procps-ng/procps" + anitya = 3708 + + version := "4.0.6" source = remoteGitLab { - domain = "gitlab.com"; - suffix = "procps-ng/procps"; - ref = "v"+version; - checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM"; - }; + domain = "gitlab.com" + suffix = "procps-ng/procps" + ref = "v"+version + checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM" + } exec = make { - generate = "./autogen.sh"; - configure = { - "without-ncurses"; - }; - }; + generate = "./autogen.sh" + configure = [ + "without-ncurses" + ] + } inputs = [ - automake, - gettext, - libtool, + automake + gettext + libtool - gzip, - pkg-config, - ]; + gzip + pkg-config + ] } diff --git a/internal/rosa/package/rdfind.az b/internal/rosa/package/rdfind.az index f464faff..29a8a515 100644 --- a/internal/rosa/package/rdfind.az +++ b/internal/rosa/package/rdfind.az @@ -1,20 +1,22 @@ -package rdfind { - description = "a program that finds duplicate files"; - website = "https://rdfind.pauldreik.se"; - anitya = 231641; +//az:schema mbf - version* = "1.8.0"; +package rdfind { + description = "a program that finds duplicate files" + website = "https://rdfind.pauldreik.se" + anitya = 231641 + + version := "1.8.0" source = remoteTar { - url = "https://rdfind.pauldreik.se/rdfind-"+version+".tar.gz"; - checksum = "PoaeJ2WIG6yyfe5VAYZlOdAQiR3mb3WhAUMj2ziTCx_IIEal4640HMJUb4SzU9U3"; - compress = gzip; - }; + url = "https://rdfind.pauldreik.se/rdfind-${version}.tar.gz" + checksum = "PoaeJ2WIG6yyfe5VAYZlOdAQiR3mb3WhAUMj2ziTCx_IIEal4640HMJUb4SzU9U3" + compress = gzip + } exec = make { // test suite hard codes /bin/echo - preCheck = "\nln -s ../system/bin/toybox /bin/echo\n"; - }; + preCheck = "ln -s ../system/bin/toybox /bin/echo" + } - inputs = [ nettle ]; - runtime = [ nettle ]; + inputs = [ nettle ] + runtime = [ nettle ] } diff --git a/internal/rosa/package/rsync.az b/internal/rosa/package/rsync.az index 009ac4ba..115293ce 100644 --- a/internal/rosa/package/rsync.az +++ b/internal/rosa/package/rsync.az @@ -1,27 +1,28 @@ +//az:schema mbf + package rsync { - description = "an open source utility that provides fast incremental file transfer"; - website = "https://rsync.samba.org"; - anitya = 4217; + description = "an open source utility that provides fast incremental file transfer" + website = "https://rsync.samba.org" + anitya = 4217 - version* = "3.4.2"; + version := "3.4.2" source = remoteTar { - url = "https://download.samba.org/pub/rsync/src/"+ - "rsync-"+version+".tar.gz"; - checksum = "t7PxS4WHXzefLMKKc_3hJgxUmlGG6KgHMZ8i4DZvCQAUAizxbclNKwfLyOHyq5BX"; - compress = gzip; - }; + url = "https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz" + checksum = "t7PxS4WHXzefLMKKc_3hJgxUmlGG6KgHMZ8i4DZvCQAUAizxbclNKwfLyOHyq5BX" + compress = gzip + } - toyboxEarly = true; + toyboxEarly exec = make { - configure = { - "disable-openssl"; - "disable-xxhash"; - "disable-zstd"; - "disable-lz4"; - }; + configure = [ + "disable-openssl" + "disable-xxhash" + "disable-zstd" + "disable-lz4" + ] // circular dependency - skipCheck = true; - }; + skipCheck + } } diff --git a/internal/rosa/package/squashfs-tools.az b/internal/rosa/package/squashfs-tools.az index a9d40e99..4a58ddd4 100644 --- a/internal/rosa/package/squashfs-tools.az +++ b/internal/rosa/package/squashfs-tools.az @@ -1,51 +1,53 @@ -package squashfs-tools { - description = "tools to create and extract Squashfs filesystems"; - website = "https://github.com/plougher/squashfs-tools"; - anitya = 4879; +//az:schema mbf - version* = "4.7.5"; +package squashfs-tools { + description = "tools to create and extract Squashfs filesystems" + website = "https://github.com/plougher/squashfs-tools" + anitya = 4879 + + version := "4.7.5" source = remoteGitHubRelease { - suffix = "plougher/squashfs-tools"; - tag = version; - name = "squashfs-tools-"+version+".tar.gz"; - checksum = "rF52wLQP-jeAmcD-48wqJcck8ZWRFwkax3T-7snaRf5EBnCQQh0YypMY9lwcivLz"; - compress = gzip; - }; + suffix = "plougher/squashfs-tools" + tag = version + name = "squashfs-tools-${version}.tar.gz" + checksum = "rF52wLQP-jeAmcD-48wqJcck8ZWRFwkax3T-7snaRf5EBnCQQh0YypMY9lwcivLz" + compress = gzip + } // uses source tree as scratch space - writable = true; - chmod = true; + writable + chmod env = [ - "CONFIG=1", - "XZ_SUPPORT=0", - "LZO_SUPPORT=0", - "LZ4_SUPPORT=0", - "COMP_DEFAULT=zstd", - "USE_PREBUILT_MANPAGES=y", - ]; + "CONFIG=1" + "XZ_SUPPORT=0" + "LZO_SUPPORT=0" + "LZ4_SUPPORT=0" + "COMP_DEFAULT=zstd" + "USE_PREBUILT_MANPAGES=y" + ] - early = "cd squashfs-tools"; + early = "cd squashfs-tools" exec = make { - skipConfigure = true; - inPlace = true; + skipConfigure + inPlace - skipCheck = true; - install = "make INSTALL_PREFIX=/work/system install"; - }; + skipCheck + install = "make INSTALL_PREFIX=/work/system install" + } inputs = [ - sed, + sed - zstd, - gzip, - zlib, - ]; + zstd + gzip + zlib + ] runtime = [ - zstd, - gzip, - zlib, - ]; + zstd + gzip + zlib + ] } diff --git a/internal/rosa/package/stage0.az b/internal/rosa/package/stage0.az index c6db1bc6..aad097ae 100644 --- a/internal/rosa/package/stage0.az +++ b/internal/rosa/package/stage0.az @@ -1,44 +1,39 @@ +//az:schema mbf + package rosa-stage0 { - description = "Rosa OS stage0 bootstrap seed"; - version = unversioned; - exclude = true; + description = "Rosa OS stage0 bootstrap seed" + version = unversioned + exclude - source = hakurei-source; + source = hakurei-source extra = [ - llvm, - mksh, - toybox-early, - ]; - overlay = "/stage0"; + llvm + mksh + toybox-early + ] + overlay = "/stage0" exec = generic { - build = ` -umask 377 -tar \ - -vjc \ - -C /stage0 \ - -f /work/stage0-`+triple+`.tar.bz2 \ - . -`; - }; + build = `umask 377 + tar -vjc -C /stage0 -f /work/stage0-${triple}.tar.bz2 .` + } - inputs = [ bzip2 ]; + inputs = [ bzip2 ] } package stage0-dist { - description = "Rosa OS stage0 bootstrap seed (binary distribution)"; - exclude = true; + description = "Rosa OS stage0 bootstrap seed (binary distribution)" + exclude - version* = "20260504"; + version := "20260504" output = remoteTar { - url = "https://hakurei.app/seed/"+version+"/"+ - "stage0-"+triple+".tar.bz2"; + url = "https://hakurei.app/seed/${version}/stage0-${triple}.tar.bz2" checksum = arch { - amd64 = "IQjFDkiAVLo1XzflgMMiLP3gnVY2hhDMTzl-QqJDCQhcLQ3lLtRzjI5WCxGyW_lk"; - arm64 = "6fmwl2Umx2QssKQvxxb1JOGkAjzfA_MXKku0jVdGjYGb35OvwEVA5NYtd0HIy3yH"; - riscv64 = "Z2ODV0rIoo9iQRUIu35bsaOBeXc_9qQfGcyb2aGneatzNUJlXh5emSpEV2bOklUL"; + amd64 = "IQjFDkiAVLo1XzflgMMiLP3gnVY2hhDMTzl-QqJDCQhcLQ3lLtRzjI5WCxGyW_lk" + arm64 = "6fmwl2Umx2QssKQvxxb1JOGkAjzfA_MXKku0jVdGjYGb35OvwEVA5NYtd0HIy3yH" + riscv64 = "Z2ODV0rIoo9iQRUIu35bsaOBeXc_9qQfGcyb2aGneatzNUJlXh5emSpEV2bOklUL" - default = 0; - }; - compress = bzip2; - }; + default = 0 + } + compress = bzip2 + } } diff --git a/internal/rosa/package/strace.az b/internal/rosa/package/strace.az index fa10a749..2423be72 100644 --- a/internal/rosa/package/strace.az +++ b/internal/rosa/package/strace.az @@ -1,38 +1,38 @@ +//az:schema mbf + package strace { - description = "a diagnostic, debugging and instructional userspace utility"; - website = "https://strace.io"; - anitya = 4897; + description = "a diagnostic, debugging and instructional userspace utility" + website = "https://strace.io" + anitya = 4897 - version* = "6.19"; + version := "6.19" source = remoteFile { - url = "https://strace.io/files/"+version+"/strace-"+version+".tar.xz"; - checksum = "XJFJJ9XLh_1rHS3m_QNjLKzkkBAooE-QT9p9lJNNWowAmd54IJop_fI4-IFtjeeL"; - }; + url = "https://strace.io/files/${version}/strace-${version}.tar.xz" + checksum = "XJFJJ9XLh_1rHS3m_QNjLKzkkBAooE-QT9p9lJNNWowAmd54IJop_fI4-IFtjeeL" + } - early = ` -sed -i 's/off64_t/off_t/g' \ - tests/readahead.c \ - tests/sync_file_range.c \ - tests/sync_file_range2.c -sed -i 's/unsigned int msg_len;$/uint32_t msg_len;/g' \ - tests/nlattr.c -`; + early = `sed -i 's/off64_t/off_t/g' \ + tests/readahead.c \ + tests/sync_file_range.c \ + tests/sync_file_range2.c + sed -i 's/unsigned int msg_len;$/uint32_t msg_len;/g' \ + tests/nlattr.c` exec = make { - configure = { + configure = [ // tests broken on clang - "disable-gcc-Werror"; + "disable-gcc-Werror" - "enable-mpers": "no"; - }; + "enable-mpers": "no" + ] // does not compile on musl - skipCheck = true; - }; + skipCheck + } inputs = [ - xz, + xz - kernel-headers, - ]; + kernel-headers + ] } diff --git a/internal/rosa/package/tamago.az b/internal/rosa/package/tamago.az index fa96c880..1a1eaeff 100644 --- a/internal/rosa/package/tamago.az +++ b/internal/rosa/package/tamago.az @@ -1,50 +1,47 @@ -package tamago { - description = "a Go toolchain extended with support for bare metal execution"; - website = "https://github.com/usbarmory/tamago-go"; - anitya = 388872; +//az:schema mbf - version* = "1.26.3"; +package tamago { + description = "a Go toolchain extended with support for bare metal execution" + website = "https://github.com/usbarmory/tamago-go" + anitya = 388872 + + version := "1.26.3" source = remoteGitHub { - suffix = "usbarmory/tamago-go"; - tag = "tamago-go"+version; - checksum = "-nH3MjAzDDLTeJ2hRKYJcJwo5-Ikci4zOHfB8j1vKn7zrF9TS6zYaoLi8qohGwAE"; - }; + suffix = "usbarmory/tamago-go" + tag = "tamago-go"+version + checksum = "-nH3MjAzDDLTeJ2hRKYJcJwo5-Ikci4zOHfB8j1vKn7zrF9TS6zYaoLi8qohGwAE" + } env = [ - "CC=cc", - "GOCACHE=/tmp/gocache", - "CGO_ENABLED=0", - ]; + "CC=cc" + "GOCACHE=/tmp/gocache" + "CGO_ENABLED=0" + ] - enterSource = true; + enterSource exec = generic { - inPlace = true; - build = ` -mkdir /work/system/ -cp -r . /work/system/tamago -cd /work/system/tamago/src -chmod -R +w .. + inPlace + build = r`mkdir /work/system/ + cp -r . /work/system/tamago + cd /work/system/tamago/src + chmod -R +w .. + sed -i \ + 's,/lib/ld-musl-` + linuxArch + `.so.1,/system/bin/linker,' \ + cmd/link/internal/` + arch + `/obj.go + sed -i \ + 's/cpu.X86.HasAVX512VBMI/& \&\& cpu.X86.HasPOPCNT/' \ + internal/runtime/gc/scan/scan_amd64.go + rm \ + os/root_unix_test.go \ + cmd/cgo/internal/testsanitizers/tsan_test.go \ + cmd/cgo/internal/testsanitizers/cshared_test.go + set +u + . ./make.bash "$@" --no-banner + set -u` + check = "bash run.bash --no-rebuild" + install = "../bin/go tool dist banner # print build info" + } -sed -i \ - 's,/lib/ld-musl-` + linuxArch + `.so.1,/system/bin/linker,' \ - cmd/link/internal/` + arch + `/obj.go -sed -i \ - 's/cpu.X86.HasAVX512VBMI/& \&\& cpu.X86.HasPOPCNT/' \ - internal/runtime/gc/scan/scan_amd64.go - -rm \ - os/root_unix_test.go \ - cmd/cgo/internal/testsanitizers/tsan_test.go \ - cmd/cgo/internal/testsanitizers/cshared_test.go - -set +u -. ./make.bash "$@" --no-banner -set -u -`; - check = "bash run.bash --no-rebuild\n"; - install = "../bin/go tool dist banner # print build info"; - }; - - inputs = [ bash, go ]; + inputs = [ bash, go ] } diff --git a/internal/rosa/package/tllist.az b/internal/rosa/package/tllist.az index 08fd9dcf..a4acdef8 100644 --- a/internal/rosa/package/tllist.az +++ b/internal/rosa/package/tllist.az @@ -1,14 +1,16 @@ +//az:schema mbf + package tllist { - description = "a C header file only implementation of a typed linked list"; - website = "https://codeberg.org/dnkl/tllist"; - anitya = 141661; + description = "a C header file only implementation of a typed linked list" + website = "https://codeberg.org/dnkl/tllist" + anitya = 141661 - version* = "1.1.0"; + version := "1.1.0" source = remoteTar { - url = "https://codeberg.org/dnkl/tllist/archive/"+version+".tar.gz"; - checksum = "EEgawChPB8hO7mW9dAzakBGWSRnrgK8pWhCF7Z5F_ycYEqOXxJPCWq6mFUi95U9d"; - compress = gzip; - }; + url = "https://codeberg.org/dnkl/tllist/archive/${version}.tar.gz" + checksum = "EEgawChPB8hO7mW9dAzakBGWSRnrgK8pWhCF7Z5F_ycYEqOXxJPCWq6mFUi95U9d" + compress = gzip + } - exec = meson {}; + exec = meson() } diff --git a/internal/rosa/package/toybox.az b/internal/rosa/package/toybox.az index 7b1e31cf..72a4b6f7 100644 --- a/internal/rosa/package/toybox.az +++ b/internal/rosa/package/toybox.az @@ -1,134 +1,118 @@ -package toybox-source { - description = "toybox source tree"; - exclude = true; +//az:schema mbf - version* = "0.8.13"; +package toybox-source { + description = "toybox source tree" + exclude + + version := "0.8.13" output = remoteTar { - url = "https://landley.net/toybox/downloads/toybox-"+version+".tar.gz"; - checksum = "rZ1V1ATDte2WeQZanxLVoiRGdfPXhMlEo5-exX-e-ml8cGn9qOv0ABEUVZpX3wTI"; - compress = gzip; - }; + url = "https://landley.net/toybox/downloads/toybox-${version}.tar.gz" + checksum = "rZ1V1ATDte2WeQZanxLVoiRGdfPXhMlEo5-exX-e-ml8cGn9qOv0ABEUVZpX3wTI" + compress = gzip + } } package toybox { - description = "many common Linux command line utilities"; - website = "https://landley.net/toybox"; - anitya = 13818; + description = "many common Linux command line utilities" + website = "https://landley.net/toybox" + anitya = 13818 - source = toybox-source; + source = toybox-source - writable = true; - enterSource = true; - toyboxEarly = true; + writable + enterSource + toyboxEarly exec = make { - omitDefaults = true; - inPlace = true; - skipConfigure = true; - - preMake = ` -LDFLAGS="${LDFLAGS:-''} -static" - -chmod +w /bin/ -ln -rs "$(which bash)" /bin/ || true - -chmod +w kconfig tests -rm \ - tests/du.test \ - tests/sed.test \ - tests/tar.test \ - tests/ls.test \ - tests/taskset.test - -make defconfig -sed -i \ - 's/^CONFIG_TOYBOX_ZHELP=y$/CONFIG_TOYBOX_ZHELP=0/' \ - .config -`; + omitDefaults + inPlace + skipConfigure + preMake = r`LDFLAGS="${LDFLAGS:-''} -static" + chmod +w /bin/ + ln -rs "$(which bash)" /bin/ || true + chmod +w kconfig tests + rm \ + tests/du.test \ + tests/sed.test \ + tests/tar.test \ + tests/ls.test \ + tests/taskset.test + make defconfig + sed -i \ + 's/^CONFIG_TOYBOX_ZHELP=y$/CONFIG_TOYBOX_ZHELP=0/' \ + .config` check = [ - "USER=cure", - "tests", - ]; - skipEarlyStageCheck = true; - - install = "PREFIX=/work/system/bin make install_flat"; - - postInstall = ` -mkdir -p /work/usr/bin -ln -s ../../system/bin/env /work/usr/bin -`; - }; + "USER=cure" + "tests" + ] + skipEarlyStageCheck + install = "PREFIX=/work/system/bin make install_flat" + postInstall = `mkdir -p /work/usr/bin + ln -s ../../system/bin/env /work/usr/bin` + } inputs = [ - bash, - gzip, + bash + gzip - kernel-headers, - ]; + kernel-headers + ] } package toybox-early { - description = "a build of toybox with unfinished tools enabled to break dependency loops"; - website = "https://landley.net/toybox"; - exclude = true; + description = "a build of toybox with unfinished tools enabled to break dependency loops" + website = "https://landley.net/toybox" + exclude - source = toybox-source; + source = toybox-source - writable = true; - enterSource = true; - toyboxEarly = true; + writable + enterSource + toyboxEarly exec = make { - omitDefaults = true; - inPlace = true; - skipConfigure = true; + omitDefaults + inPlace + skipConfigure - preMake = ` -LDFLAGS="${LDFLAGS:-''} -static" - -chmod +w /bin/ -ln -rs "$(which bash)" /bin/ || true - -chmod +w kconfig tests -rm \ - tests/du.test \ - tests/sed.test \ - tests/tar.test \ - tests/ls.test \ - tests/taskset.test - -make defconfig -sed -i \ - 's/^CONFIG_TOYBOX_ZHELP=y$/CONFIG_TOYBOX_ZHELP=0/' \ - .config - -echo ' -CONFIG_EXPR=y -CONFIG_TR=y -CONFIG_AWK=y -CONFIG_DIFF=y -' >> .config -`; + preMake = r`LDFLAGS="${LDFLAGS:-''} -static" + chmod +w /bin/ + ln -rs "$(which bash)" /bin/ || true + chmod +w kconfig tests + rm \ + tests/du.test \ + tests/sed.test \ + tests/tar.test \ + tests/ls.test \ + tests/taskset.test + make defconfig + sed -i \ + 's/^CONFIG_TOYBOX_ZHELP=y$/CONFIG_TOYBOX_ZHELP=0/' \ + .config + echo ' + CONFIG_EXPR=y + CONFIG_TR=y + CONFIG_AWK=y + CONFIG_DIFF=y + ' >> .config` check = [ - "USER=cure", - "tests", - ]; - skipEarlyStageCheck = true; + "USER=cure" + "tests" + ] + skipEarlyStageCheck - install = "PREFIX=/work/system/bin make install_flat"; + install = "PREFIX=/work/system/bin make install_flat" - postInstall = ` -mkdir -p /work/usr/bin -ln -s ../../system/bin/env /work/usr/bin -`; - }; + postInstall = `mkdir -p /work/usr/bin + ln -s ../../system/bin/env /work/usr/bin` + } inputs = [ - bash, - gzip, + bash + gzip - kernel-headers, - ]; + kernel-headers + ] } diff --git a/internal/rosa/package/unzip.az b/internal/rosa/package/unzip.az index e52f8555..ab06035c 100644 --- a/internal/rosa/package/unzip.az +++ b/internal/rosa/package/unzip.az @@ -1,36 +1,32 @@ +//az:schema mbf + package unzip { - description = "portable compression/archiver utilities"; - website = "https://infozip.sourceforge.net"; - anitya = 8684; + description = "portable compression/archiver utilities" + website = "https://infozip.sourceforge.net" + anitya = 8684 - version* = "6.0"; + version := "6.0" source = remoteTar { - url = "https://downloads.sourceforge.net/project/infozip/"+ - "UnZip%206.x%20%28latest%29/UnZip%20"+version+"/"+ - "unzip"+replace { - s = version; - old = "."; - }+".tar.gz"; - checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1"; - compress = gzip; - }; + url = "https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%20${version}/unzip"+ + replace (version, ".") + ".tar.gz" + checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1" + compress = gzip + } - enterSource = true; - writable = true; - chmod = true; + enterSource + writable + chmod exec = generic { - inPlace = true; + inPlace build = `unix/configure -make -f unix/Makefile generic1`; - install = ` -mkdir -p /work/system/bin/ -mv unzip /work/system/bin/ -`; - }; + make -f unix/Makefile generic1` + install = `mkdir -p /work/system/bin/ + mv unzip /work/system/bin/` + } inputs = [ - make, - coreutils, - ]; + make + coreutils + ] } diff --git a/internal/rosa/package/utf8proc.az b/internal/rosa/package/utf8proc.az index 03f6c60c..14140f3a 100644 --- a/internal/rosa/package/utf8proc.az +++ b/internal/rosa/package/utf8proc.az @@ -1,18 +1,20 @@ -package utf8proc { - description = "a clean C library for processing UTF-8 Unicode data"; - website = "https://juliastrings.github.io/utf8proc"; - anitya = 7455; +//az:schema mbf - version* = "2.11.3"; +package utf8proc { + description = "a clean C library for processing UTF-8 Unicode data" + website = "https://juliastrings.github.io/utf8proc" + anitya = 7455 + + version := "2.11.3" source = remoteGitHub { - suffix = "JuliaStrings/utf8proc"; - tag = "v"+version; - checksum = "LlmejkymQEhaMciSE17JSl3pAYdf6DdXNr0ucwclClsMCeq7l1dcgIJl1JmNTQVq"; - }; + suffix = "JuliaStrings/utf8proc" + tag = "v"+version + checksum = "LlmejkymQEhaMciSE17JSl3pAYdf6DdXNr0ucwclClsMCeq7l1dcgIJl1JmNTQVq" + } exec = cmake { cache = { - "UTF8PROC_ENABLE_TESTING": "ON"; - }; - }; + "UTF8PROC_ENABLE_TESTING": "ON" + } + } } diff --git a/internal/rosa/package/util-linux.az b/internal/rosa/package/util-linux.az index 4a53ccc1..e4844c7a 100644 --- a/internal/rosa/package/util-linux.az +++ b/internal/rosa/package/util-linux.az @@ -1,59 +1,47 @@ -package util-linux { - description = "a random collection of Linux utilities"; - website = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"; - anitya = 8179; - // release candidates confuse Anitya - latest = anityaFallback; +//az:schema mbf - version* = "2.42.1"; +package util-linux { + description = "a random collection of Linux utilities" + website = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" + anitya = 8179 + // release candidates confuse Anitya + latest = anityaFallback + + version := "2.42.1" source = remoteTar { - url = "https://www.kernel.org/pub/linux/utils/util-linux/"+ - "v"+join { - elems = slice { - elems = split { - s = version; - sep = "."; - n = 3; - }; - end = 2; - }; - sep = "."; - }+"/util-linux-"+version+".tar.gz"; - checksum = "f1c006mnFL9jTEsqnJn08hHqwcL8TpjCJNIToZNuGEPsLmEdNL87r8RzBT-nl9QB"; - compress = gzip; + url = "https://www.kernel.org/pub/linux/utils/util-linux/v"+trimPatch(version)+"/util-linux-${version}.tar.gz" + checksum = "f1c006mnFL9jTEsqnJn08hHqwcL8TpjCJNIToZNuGEPsLmEdNL87r8RzBT-nl9QB" + compress = gzip }; - early = "\nln -s ../system/bin/bash /bin/\n"; + early = "ln -s ../system/bin/bash /bin/" exec = make { - configure = { - "disable-use-tty-group"; - "disable-makeinstall-setuid"; - "disable-makeinstall-chown"; + configure = [ + "disable-use-tty-group" + "disable-makeinstall-setuid" + "disable-makeinstall-chown" - "enable-fs-paths-default": join { - elems = [ - "/system/sbin", - "/system/sbin/fs.d", - "/system/sbin/fs", - ]; - sep = ":"; - }; + "enable-fs-paths-default": join ([ + "/system/sbin" + "/system/sbin/fs.d" + "/system/sbin/fs" + ], ":") - "disable-su"; - "disable-liblastlog2"; - "disable-pam-lastlog2"; - }; + "disable-su" + "disable-liblastlog2" + "disable-pam-lastlog2" + ] // check script claims: // For development purpose only. // Don't execute on production system! - skipCheck = true; + skipCheck }; inputs = [ - bash, + bash - kernel-headers, - ]; + kernel-headers + ] } diff --git a/internal/rosa/package/vim.az b/internal/rosa/package/vim.az index 7a5b3d0d..8dd8f706 100644 --- a/internal/rosa/package/vim.az +++ b/internal/rosa/package/vim.az @@ -1,30 +1,32 @@ +//az:schema mbf + package vim { - description = "a greatly improved version of the good old UNIX editor Vi"; - website = "https://www.vim.org"; - anitya = 5092; + description = "a greatly improved version of the good old UNIX editor Vi" + website = "https://www.vim.org" + anitya = 5092 - version* = "9.2.0461"; + version := "9.2.0461" source = remoteGitHub { - suffix = "vim/vim"; - tag = "v"+version; - checksum = "18Rr_5oIf_PkKuqVkN4CMZIGkZEgpN1vamlrsvPLBjn4mN98CRuoJmhzRZ7MoVYM"; - }; + suffix = "vim/vim" + tag = "v"+version + checksum = "18Rr_5oIf_PkKuqVkN4CMZIGkZEgpN1vamlrsvPLBjn4mN98CRuoJmhzRZ7MoVYM" + } - writable = true; - chmod = true; - enterSource = true; + writable + chmod + enterSource exec = make { - inPlace = true; - configure = { - "with-tlib": "ncursesw"; - }; - check = [ "test" ]; + inPlace + configure = [ + "with-tlib": "ncursesw" + ] + check = [ "test" ] // very expensive - skipCheck = true; - }; + skipCheck + } - inputs = [ ncurses ]; - runtime = [ ncurses ]; + inputs = [ ncurses ] + runtime = [ ncurses ] } diff --git a/internal/rosa/package/x.az b/internal/rosa/package/x.az index d0320bdb..62ae77fa 100644 --- a/internal/rosa/package/x.az +++ b/internal/rosa/package/x.az @@ -1,770 +1,769 @@ +//az:schema mbf + package util-macros { - description = "X.Org Autotools macros"; - website = "https://xorg.freedesktop.org"; - anitya = 5252; + description = "X.Org Autotools macros" + website = "https://xorg.freedesktop.org" + anitya = 5252 - version* = "1.20.2"; + version := "1.20.2" source = remoteTar { - url = "https://www.x.org/releases/individual/util/"+ - "util-macros-"+version+".tar.gz"; - checksum = "Ze8QH3Z3emC0pWFP-0nUYeMy7aBW3L_dxBBmVgcumIHNzEKc1iGTR-yUFR3JcM1G"; - compress = gzip; - }; + url = "https://www.x.org/releases/individual/util/util-macros-${version}.tar.gz" + checksum = "Ze8QH3Z3emC0pWFP-0nUYeMy7aBW3L_dxBBmVgcumIHNzEKc1iGTR-yUFR3JcM1G" + compress = gzip + } - exec = make {}; + exec = make() } package libxtrans { - description = "X Window System Protocols Transport layer shared code"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxtrans"; - anitya = 13441; + description = "X Window System Protocols Transport layer shared code" + website = "https://gitlab.freedesktop.org/xorg/lib/libxtrans" + anitya = 13441 - version* = "1.6.0"; + version := "1.6.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxtrans"; - ref = "xtrans-"+version; - checksum = "1cxDCF59fLf1HyGDMcjR1L50ZbjD0RTTEDUpOJYcHXu6HUK_Ds0x-KREY7rLNxu9"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxtrans" + ref = "xtrans-"+version + checksum = "1cxDCF59fLf1HyGDMcjR1L50ZbjD0RTTEDUpOJYcHXu6HUK_Ds0x-KREY7rLNxu9" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - ]; + util-macros + ] } package xorgproto { - description = "X Window System unified protocol definitions"; - website = "https://gitlab.freedesktop.org/xorg/proto/xorgproto"; - anitya = 17190; + description = "X Window System unified protocol definitions" + website = "https://gitlab.freedesktop.org/xorg/proto/xorgproto" + anitya = 17190 - version* = "2025.1"; + version := "2025.1" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/proto/xorgproto"; - ref = "xorgproto-"+version; - checksum = "pTwJiBJHKA6Rgm3cVDXy1lyvXNIUzTRaukvvYdk1xWoJ_1G-Dfjm9MyewuyIjoHz"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/proto/xorgproto" + ref = "xorgproto-"+version + checksum = "pTwJiBJHKA6Rgm3cVDXy1lyvXNIUzTRaukvvYdk1xWoJ_1G-Dfjm9MyewuyIjoHz" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - pkg-config, + automake + pkg-config - util-macros, - ]; + util-macros + ] } package libXau { - description = "functions for handling Xauthority files and entries"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxau"; - anitya = 1765; + description = "functions for handling Xauthority files and entries" + website = "https://gitlab.freedesktop.org/xorg/lib/libxau" + anitya = 1765 - version* = "1.0.12"; + version := "1.0.12" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxau"; - ref = "libXau-"+version; - checksum = "aCRhtP9ERNpqEtH7T6xSifPKguPppiPYCq7ah3M-i732nrPu_-g8tPSgMslHdB5p"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxau" + ref = "libXau-"+version + checksum = "aCRhtP9ERNpqEtH7T6xSifPKguPppiPYCq7ah3M-i732nrPu_-g8tPSgMslHdB5p" + } exec = meson { setup = { - "Ddefault_library": "both"; - }; - }; + "Ddefault_library": "both" + } + } - inputs = [ xorgproto ]; - runtime = [ xorgproto ]; + inputs = [ xorgproto ] + runtime = [ xorgproto ] } package xcb-proto { - description = "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions"; - website = "https://gitlab.freedesktop.org/xorg/proto/xcbproto"; - anitya = 13646; + description = "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions" + website = "https://gitlab.freedesktop.org/xorg/proto/xcbproto" + anitya = 13646 - version* = "1.17.0"; + version := "1.17.0" source = remoteTar { - url = "https://xcb.freedesktop.org/dist/xcb-proto-"+version+".tar.gz"; - checksum = "_NtbKaJ_iyT7XiJz25mXQ7y-niTzE8sHPvLXZPcqtNoV_-vTzqkezJ8Hp2U1enCv"; - compress = gzip; - }; + url = "https://xcb.freedesktop.org/dist/xcb-proto-${version}.tar.gz" + checksum = "_NtbKaJ_iyT7XiJz25mXQ7y-niTzE8sHPvLXZPcqtNoV_-vTzqkezJ8Hp2U1enCv" + compress = gzip + } - exec = make {}; + exec = make() - inputs = [ python ]; + inputs = [ python ] } package xcb { - description = "The X protocol C-language Binding"; - website = "https://xcb.freedesktop.org"; - anitya = 1767; + description = "The X protocol C-language Binding" + website = "https://xcb.freedesktop.org" + anitya = 1767 - version* = "1.17.0"; + version := "1.17.0" source = remoteTar { - url = "https://xcb.freedesktop.org/dist/libxcb-"+version+".tar.gz"; - checksum = "hjjsc79LpWM_hZjNWbDDS6qRQUXREjjekS6UbUsDq-RR1_AjgNDxhRvZf-1_kzDd"; - compress = gzip; - }; + url = "https://xcb.freedesktop.org/dist/libxcb-${version}.tar.gz" + checksum = "hjjsc79LpWM_hZjNWbDDS6qRQUXREjjekS6UbUsDq-RR1_AjgNDxhRvZf-1_kzDd" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - python, - pkg-config, + python + pkg-config - xcb-proto, - libXau, - ]; + xcb-proto + libXau + ] runtime = [ - xcb-proto, - libXau, - ]; + xcb-proto + libXau + ] } package libxcb-keysyms { - description = "standard X key constants and conversion to/from keycodes"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms"; - anitya = 5168; + description = "standard X key constants and conversion to/from keycodes" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms" + anitya = 5168 - version* = "0.4.1"; + version := "0.4.1" source = remoteTar { - url = "https://xcb.freedesktop.org/dist/xcb-util-keysyms-"+version+".tar.gz"; - checksum = "-EEje12UEjtFBuIjb6Fy4cxEghV20BXwQ1BLvhtvSuVcrFkp_X-ZHRM48wAspXZ4"; - compress = gzip; - }; + url = "https://xcb.freedesktop.org/dist/xcb-util-keysyms-${version}.tar.gz" + checksum = "-EEje12UEjtFBuIjb6Fy4cxEghV20BXwQ1BLvhtvSuVcrFkp_X-ZHRM48wAspXZ4" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - pkg-config, + pkg-config - xcb, - ]; + xcb + ] - runtime = [ xcb ]; + runtime = [ xcb ] } package libxcb-wm { - description = "XCB client and window-manager helpers for ICCCM & EWMH"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-wm"; - anitya = 5170; + description = "XCB client and window-manager helpers for ICCCM & EWMH" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-wm" + anitya = 5170 - version* = "0.4.2"; + version := "0.4.2" source = remoteTar { - url = "https://xcb.freedesktop.org/dist/xcb-util-wm-"+version+".tar.gz"; - checksum = "g0VZgMU9hcIgyXb3XxBR9xqsvUMBd9qt_Dbmwoj2h5y24pODr_S_D0DhRsuXUNjF"; - compress = gzip; - }; + url = "https://xcb.freedesktop.org/dist/xcb-util-wm-${version}.tar.gz" + checksum = "g0VZgMU9hcIgyXb3XxBR9xqsvUMBd9qt_Dbmwoj2h5y24pODr_S_D0DhRsuXUNjF" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - m4, - pkg-config, + m4 + pkg-config - xcb, - ]; + xcb + ] - runtime = [ xcb ]; + runtime = [ xcb ] } package libxcb-util { - description = "XCB utility libraries"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-util"; - anitya = 5165; + description = "XCB utility libraries" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-util" + anitya = 5165 - version* = "0.4.1"; + version := "0.4.1" source = remoteTar { - url = "https://www.x.org/releases/individual/xcb/"+ - "xcb-util-"+version+".tar.gz"; - checksum = "YMXGQUQbF6PoEAGflvYnJYsLWjti6sL_ifY47wIXTNGVM3tQ8u41nkBYN4K1D5CD"; - compress = gzip; - }; + url = "https://www.x.org/releases/individual/xcb/xcb-util-${version}.tar.gz" + checksum = "YMXGQUQbF6PoEAGflvYnJYsLWjti6sL_ifY47wIXTNGVM3tQ8u41nkBYN4K1D5CD" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - pkg-config, + pkg-config - util-macros, - xcb, - ]; + util-macros + xcb + ] - runtime = [ xcb ]; + runtime = [ xcb ] } package libxcb-image { - description = "XCB port of Xlib's XImage and XShmImage functions"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-image"; - anitya = 5168; + description = "XCB port of Xlib's XImage and XShmImage functions" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-image" + anitya = 5168 - version* = "0.4.1"; + version := "0.4.1" source = remoteTar { - url = "https://xcb.freedesktop.org/dist/xcb-util-image-"+version+".tar.gz"; - checksum = "47pvXmFwaUBZIrJ4CE9xjTQIFyxeqoNAL-DshlB11GZ_jjI3G1a6KF0K7mtBQ1E7"; - compress = gzip; - }; + url = "https://xcb.freedesktop.org/dist/xcb-util-image-${version}.tar.gz" + checksum = "47pvXmFwaUBZIrJ4CE9xjTQIFyxeqoNAL-DshlB11GZ_jjI3G1a6KF0K7mtBQ1E7" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - pkg-config, + pkg-config - libxcb-util, - ]; + libxcb-util + ] - runtime = [ libxcb-util ]; + runtime = [ libxcb-util ] } package libxcb-render-util { - description = "XCB convenience functions for the Render extension"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util"; - anitya = 5169; + description = "XCB convenience functions for the Render extension" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util" + anitya = 5169 - version* = "0.3.10"; + version := "0.3.10" source = remoteTar { - url = "https://www.x.org/releases/individual/xcb/"+ - "xcb-util-renderutil-"+version+".tar.gz"; - checksum = "n08L8PyCoOd7v2vb6fSVq5Pq6JtteXVh9K2wrQMTNwGMf_Fjpi6i3HWF-TMFSVTI"; - compress = gzip; - }; + url = "https://www.x.org/releases/individual/xcb/xcb-util-renderutil-${version}.tar.gz" + checksum = "n08L8PyCoOd7v2vb6fSVq5Pq6JtteXVh9K2wrQMTNwGMf_Fjpi6i3HWF-TMFSVTI" + compress = gzip + } - exec = make {}; + exec = make() inputs = [ - pkg-config, + pkg-config - util-macros, - xcb, - ]; + util-macros + xcb + ] - runtime = [ xcb ]; + runtime = [ xcb ] } package libX11 { - description = `Core X11 protocol client library (aka "Xlib")`; - website = "https://gitlab.freedesktop.org/xorg/lib/libx11"; - anitya = 1764; + description = `Core X11 protocol client library (aka "Xlib")` + website = "https://gitlab.freedesktop.org/xorg/lib/libx11" + anitya = 1764 - version* = "1.8.13"; + version := "1.8.13" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libx11"; - ref = "libX11-"+version; - checksum = "ARh-cuZY_U2v3DbPS1byc7ybh9NInZc-yav7SJiusk_C7408s058qWV83ocMd2pT"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libx11" + ref = "libX11-"+version + checksum = "ARh-cuZY_U2v3DbPS1byc7ybh9NInZc-yav7SJiusk_C7408s058qWV83ocMd2pT" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; + generate = "NOCONFIGURE=1 ./autogen.sh" configure = { - "enable-static"; - "without-xmlto"; - }; - }; + "enable-static" + "without-xmlto" + } + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - libxtrans, - xorgproto, - xcb, - ]; + util-macros + libxtrans + xorgproto + xcb + ] - runtime = [ xcb ]; + runtime = [ xcb ] } package libXext { - description = "Xlib-based library for common extensions to the X11 protocol"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxext"; - anitya = 1774; + description = "Xlib-based library for common extensions to the X11 protocol" + website = "https://gitlab.freedesktop.org/xorg/lib/libxext" + anitya = 1774 - version* = "1.3.7"; + version := "1.3.7" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxext"; - ref = "libXext-"+version; - checksum = "-0wvUDaucLPLNOrK1pcKhHNoO-5nUqQyyw6JAbhx65gRjuMiNKKaF2_tcrbC_KNq"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxext" + ref = "libXext-"+version + checksum = "-0wvUDaucLPLNOrK1pcKhHNoO-5nUqQyyw6JAbhx65gRjuMiNKKaF2_tcrbC_KNq" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - libX11, - ]; + util-macros + libX11 + ] - runtime = [ libX11 ]; + runtime = [ libX11 ] } package libXfixes { - description = "Xlib-based library for the XFIXES Extension"; - website = "https://www.freedesktop.org/wiki/Software/FixesExt"; - anitya = 1775; + description = "Xlib-based library for the XFIXES Extension" + website = "https://www.freedesktop.org/wiki/Software/FixesExt" + anitya = 1775 - version* = "6.0.2"; + version := "6.0.2" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxfixes"; - ref = "libXfixes-"+version; - checksum = "_-kJfKZ7cE3NNeMr6NLSXCmsyP7MVEHVPLNfxatz2qBy3_fZJvPMQwZNOC9y6V5L"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxfixes" + ref = "libXfixes-"+version + checksum = "_-kJfKZ7cE3NNeMr6NLSXCmsyP7MVEHVPLNfxatz2qBy3_fZJvPMQwZNOC9y6V5L" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - xorgproto, - libX11, - ]; + util-macros + xorgproto + libX11 + ] - runtime = [ libX11 ]; + runtime = [ libX11 ] } package libXrender { - description = "Xlib library for the Render Extension to the X11 protocol"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxrender"; - anitya = 1789; + description = "Xlib library for the Render Extension to the X11 protocol" + website = "https://gitlab.freedesktop.org/xorg/lib/libxrender" + anitya = 1789 - version* = "0.9.12"; + version := "0.9.12" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxrender"; - ref = "libXrender-"+version; - checksum = "s6nWn-r17X_W-7anaS7wIcq5_Levf9zAigwJDD9Klp-cCJTVDhLo7GufuVOrxVP0"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxrender" + ref = "libXrender-"+version + checksum = "s6nWn-r17X_W-7anaS7wIcq5_Levf9zAigwJDD9Klp-cCJTVDhLo7GufuVOrxVP0" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - libX11, - ]; + util-macros + libX11 + ] - runtime = [ libX11 ]; + runtime = [ libX11 ] } package libxshmfence { - description = "shared memory 'SyncFence' synchronization primitive"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxshmfence"; - anitya = 1792; + description = "shared memory 'SyncFence' synchronization primitive" + website = "https://gitlab.freedesktop.org/xorg/lib/libxshmfence" + anitya = 1792 - version* = "1.3.3"; + version := "1.3.3" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxshmfence"; - ref = "libxshmfence-"+version; - checksum = "JamExTPg81By2fs3vWdeo_dzlpBQeAwXr2sDXeHJqm9XBoLW5pamiD6FgAWtAKyA"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxshmfence" + ref = "libxshmfence-"+version + checksum = "JamExTPg81By2fs3vWdeo_dzlpBQeAwXr2sDXeHJqm9XBoLW5pamiD6FgAWtAKyA" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - xorgproto, - ]; + util-macros + xorgproto + ] } package libXxf86vm { - description = "Xlib-based library for the XFree86-VidMode X extension"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxxf86vm"; - anitya = 1799; + description = "Xlib-based library for the XFree86-VidMode X extension" + website = "https://gitlab.freedesktop.org/xorg/lib/libxxf86vm" + anitya = 1799 - version* = "1.1.7"; + version := "1.1.7" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxxf86vm"; - ref = "libXxf86vm-"+version; - checksum = "mS4cgKWrwz6M1Lb6Qu4ZVh8Xn2Ca_4HXPxr3LDad4iYY1LecZfeLUPW1hkp6amX_"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxxf86vm" + ref = "libXxf86vm-"+version + checksum = "mS4cgKWrwz6M1Lb6Qu4ZVh8Xn2Ca_4HXPxr3LDad4iYY1LecZfeLUPW1hkp6amX_" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - libXext, - xorgproto, - ]; + util-macros + libXext + xorgproto + ] - runtime = [ libXext ]; + runtime = [ libXext ] } package libXrandr { - description = "Xlib Resize, Rotate and Reflection (RandR) extension library"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxrandr"; - anitya = 1788; + description = "Xlib Resize, Rotate and Reflection (RandR) extension library" + website = "https://gitlab.freedesktop.org/xorg/lib/libxrandr" + anitya = 1788 - version* = "1.5.5"; + version := "1.5.5" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxrandr"; - ref = "libXrandr-"+version; - checksum = "OF7C7VC5MwnFue9UX5UnIkG1PIWvn9bBMq6d4mVyJJ_rcF0w4Kedn1lfxBsXEKAP"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxrandr" + ref = "libXrandr-"+version + checksum = "OF7C7VC5MwnFue9UX5UnIkG1PIWvn9bBMq6d4mVyJJ_rcF0w4Kedn1lfxBsXEKAP" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - libXext, - libXrender, - xorgproto, - ]; + util-macros + libXext + libXrender + xorgproto + ] runtime = [ - libXext, - libXrender, - ]; + libXext + libXrender + ] } package font-util { - description = "X.Org font package creation/installation utilities"; - website = "https://gitlab.freedesktop.org/xorg/font/util"; - anitya = 15055; + description = "X.Org font package creation/installation utilities" + website = "https://gitlab.freedesktop.org/xorg/font/util" + anitya = 15055 - version* = "1.4.2"; + version := "1.4.2" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/font/util"; - ref = "font-util-"+version; - checksum = "YWiaIxkq-N2yNdbGa_RF1S0UkQq6xsgoRT73WZP2DOmyH_CJ0TAkpQjId657MQmh"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/font/util" + ref = "font-util-"+version + checksum = "YWiaIxkq-N2yNdbGa_RF1S0UkQq6xsgoRT73WZP2DOmyH_CJ0TAkpQjId657MQmh" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - ]; + util-macros + ] } package libfontenc { - description = "X font encoding library"; - website = "https://gitlab.freedesktop.org/xorg/lib/libfontenc"; - anitya = 1613; + description = "X font encoding library" + website = "https://gitlab.freedesktop.org/xorg/lib/libfontenc" + anitya = 1613 - version* = "1.1.9"; + version := "1.1.9" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libfontenc"; - ref = "libfontenc-"+version; - checksum = "XqosXfbVwaoYzG9vVyRCl3eatwjASoJdLZsxQ37NN8S_jTyqNmbxpRSJGImJj7RS"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libfontenc" + ref = "libfontenc-"+version + checksum = "XqosXfbVwaoYzG9vVyRCl3eatwjASoJdLZsxQ37NN8S_jTyqNmbxpRSJGImJj7RS" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - font-util, - xorgproto, - ]; + util-macros + font-util + xorgproto + ] } package libxkbfile { - description = "XKB file handling routines"; - website = "http://www.x.org/wiki/XKB"; - anitya = 1781; + description = "XKB file handling routines" + website = "http://www.x.org/wiki/XKB" + anitya = 1781 - version* = "1.2.0"; + version := "1.2.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxkbfile"; - ref = "libxkbfile-"+version; - checksum = "WUtph1ab0AyATahlwljchBxZJcpjYrjyhCK9DW2VO0uXEXaN22GWmUaibcA83i_B"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxkbfile" + ref = "libxkbfile-"+version + checksum = "WUtph1ab0AyATahlwljchBxZJcpjYrjyhCK9DW2VO0uXEXaN22GWmUaibcA83i_B" + } - exec = meson {}; + exec = meson {} - inputs = [ libX11 ]; - runtime = [ libX11 ]; + inputs = [ libX11 ] + runtime = [ libX11 ] } package xkbcomp { - description = "XKB keyboard description compiler"; - website = "http://www.x.org/wiki/XKB"; - anitya = 15018; + description = "XKB keyboard description compiler" + website = "http://www.x.org/wiki/XKB" + anitya = 15018 - version* = "1.5.0"; + version := "1.5.0" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/app/xkbcomp"; - ref = "xkbcomp-"+version; - checksum = "ttICW8ZPbljI-nw2kknvxFhwFoDK40iAMBeZDLAHYsHf3B6UPO_zc9TpzZYRRyZH"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/app/xkbcomp" + ref = "xkbcomp-"+version + checksum = "ttICW8ZPbljI-nw2kknvxFhwFoDK40iAMBeZDLAHYsHf3B6UPO_zc9TpzZYRRyZH" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, - bison, + automake + libtool + pkg-config + bison - util-macros, - libxkbfile, - ]; + util-macros + libxkbfile + ] - runtime = [ libxkbfile ]; + runtime = [ libxkbfile ] } package libXfont2 { - description = "X font handling library for server & utilities"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxfont"; - anitya = 17165; + description = "X font handling library for server & utilities" + website = "https://gitlab.freedesktop.org/xorg/lib/libxfont" + anitya = 17165 - version* = "2.0.7"; + version := "2.0.7" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxfont"; - ref = "libXfont2-"+version; - checksum = "jv9BZNA02493KB8j1lfAErF5SA3ZFcAhm3_UVJ--Bp1maz-vNprl_wXpkHApBi9M"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxfont" + ref = "libXfont2-"+version + checksum = "jv9BZNA02493KB8j1lfAErF5SA3ZFcAhm3_UVJ--Bp1maz-vNprl_wXpkHApBi9M" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - freetype, - xorgproto, - libxtrans, - libfontenc, - ]; + util-macros + freetype + xorgproto + libxtrans + libfontenc + ] runtime = [ - freetype, - libfontenc, - ]; + freetype + libfontenc + ] } package libxcvt { - description = "VESA CVT standard timing modeline generation library & utility"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxcvt"; - anitya = 235147; + description = "VESA CVT standard timing modeline generation library & utility" + website = "https://gitlab.freedesktop.org/xorg/lib/libxcvt" + anitya = 235147 - version* = "0.1.3"; + version := "0.1.3" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxcvt"; - ref = "libxcvt-"+version; - checksum = "IfIA7SxlHMWh681e1AgYmZcRAfkZd5LlzmqcMRifNY5nNVRrUx_wnoaidAv0Yu03"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxcvt" + ref = "libxcvt-"+version + checksum = "IfIA7SxlHMWh681e1AgYmZcRAfkZd5LlzmqcMRifNY5nNVRrUx_wnoaidAv0Yu03" + } - exec = meson {}; + exec = meson() } package libXdmcp { - description = "X Display Manager Control Protocol library"; - website = "https://gitlab.freedesktop.org/xorg/lib/libxdmcp"; - anitya = 1772; + description = "X Display Manager Control Protocol library" + website = "https://gitlab.freedesktop.org/xorg/lib/libxdmcp" + anitya = 1772 - version* = "1.1.5"; + version := "1.1.5" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libxdmcp"; - ref = "libXdmcp-"+version; - checksum = "N6AJSv9pmeBedFn8KuSIOUGvTken4rkypNWVE2KfPlliwkfIbhfXrt5YHZkBMUHp"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libxdmcp" + ref = "libXdmcp-"+version + checksum = "N6AJSv9pmeBedFn8KuSIOUGvTken4rkypNWVE2KfPlliwkfIbhfXrt5YHZkBMUHp" + } exec = make { - generate = "NOCONFIGURE=1 ./autogen.sh"; - }; + generate = "NOCONFIGURE=1 ./autogen.sh" + } inputs = [ - automake, - libtool, - pkg-config, + automake + libtool + pkg-config - util-macros, - xorgproto, - ]; + util-macros + xorgproto + ] } package xkeyboard-config { - description = "the non-arch keyboard configuration database for X Window"; - website = "https://www.freedesktop.org/wiki/Software/XKeyboardConfig"; - anitya = 5191; + description = "the non-arch keyboard configuration database for X Window" + website = "https://www.freedesktop.org/wiki/Software/XKeyboardConfig" + anitya = 5191 - version* = "2.47"; + version := "2.47" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xkeyboard-config/xkeyboard-config"; - ref = "xkeyboard-config-"+version; - checksum = "E03PsPIaRrxPAuKgDGSQyPiJB49wXtyyvdV0lVx3_G-pelMMlaFLkoTDHTHG_qgA"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xkeyboard-config/xkeyboard-config" + ref = "xkeyboard-config-"+version + checksum = "E03PsPIaRrxPAuKgDGSQyPiJB49wXtyyvdV0lVx3_G-pelMMlaFLkoTDHTHG_qgA" + } - exec = meson {}; + exec = meson() - inputs = [ perl ]; + inputs = [ perl ] } package libpciaccess { - description = "generic PCI access library"; - website = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess"; - anitya = 1703; + description = "generic PCI access library" + website = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess" + anitya = 1703 - version* = "0.19"; + version := "0.19" source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/lib/libpciaccess"; - ref = "libpciaccess-"+version; - checksum = "84H0c_U_7fMqo81bpuwyXGXtk4XvvFH_YK00UiOriv3YGsuAhmbo2IkFhmJnvu2x"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/lib/libpciaccess" + ref = "libpciaccess-"+version + checksum = "84H0c_U_7fMqo81bpuwyXGXtk4XvvFH_YK00UiOriv3YGsuAhmbo2IkFhmJnvu2x" + } exec = meson { - setup = { + setup = [ "Dzlib": "enabled"; - }; - }; + ] + } - inputs = [ zlib ]; - runtime = [ zlib ]; + inputs = [ zlib ] + runtime = [ zlib ] } package xserver { - description = "X server"; - website = "https://gitlab.freedesktop.org/xorg/xserver"; - anitya = 5250; + description = "X server" + website = "https://gitlab.freedesktop.org/xorg/xserver" + anitya = 5250 - version* = "21.1.22"; + version := "21.1.22"; source = remoteGitLab { - domain = "gitlab.freedesktop.org"; - suffix = "xorg/xserver"; - ref = "xorg-server-"+version; - checksum = "prLT2wKecBu5m9w1ThgIt0GvenNpjKXoOyvTiMA1oQTlP0QHh6QiWsdvH3OmUwNo"; - }; + domain = "gitlab.freedesktop.org" + suffix = "xorg/xserver" + ref = "xorg-server-"+version + checksum = "prLT2wKecBu5m9w1ThgIt0GvenNpjKXoOyvTiMA1oQTlP0QHh6QiWsdvH3OmUwNo" + } exec = meson { setup = { - "Dxorg": "true"; - "Dxephyr": "true"; - "Dxnest": "true"; - "Dipv6": "false"; + "Dxorg": true + "Dxephyr": true + "Dxnest": true + "Dipv6": false - "Dudev": "false"; - "Dudev_kms": "false"; - "Dglx": "false"; + "Dudev": false + "Dudev_kms": false + "Dglx": false // ../../usr/src/xserver/glamor/glamor_glx.c:24:10: fatal error: 'epoxy/glx.h' file not found - "Dglamor": "false"; - }; - }; + "Dglamor": false + } + } inputs = [ - gawk, + gawk - xorgproto, - libxtrans, - libxshmfence, - pixman, - libbsd, - xkbcomp, - xkeyboard-config, - libXfont2, - dbus, - font-util, - libxcvt, - libXext, - libmd, - libXdmcp, - libtirpc, - libepoxy, - libxcb-util, - libxcb-image, - libxcb-wm, - libxcb-keysyms, - libxcb-render-util, - libpciaccess, - kernel-headers, - ]; + xorgproto + libxtrans + libxshmfence + pixman + libbsd + xkbcomp + xkeyboard-config + libXfont2 + dbus + font-util + libxcvt + libXext + libmd + libXdmcp + libtirpc + libepoxy + libxcb-util + libxcb-image + libxcb-wm + libxcb-keysyms + libxcb-render-util + libpciaccess + kernel-headers + ] runtime = [ - xkbcomp, - xkeyboard-config, + xkbcomp + xkeyboard-config - xcb, - pixman, - libmd, - libbsd, - libtirpc, - libxcvt, - libXdmcp, - libXfont2, - libpciaccess, + xcb + pixman + libmd + libbsd + libtirpc + libxcvt + libXdmcp + libXfont2 + libpciaccess // Xephyr - libxcb-image, - libxcb-wm, - libxcb-keysyms, - libxcb-render-util, - ]; + libxcb-image + libxcb-wm + libxcb-keysyms + libxcb-render-util + ] } diff --git a/internal/rosa/package/xkbcommon.az b/internal/rosa/package/xkbcommon.az index 040c9323..b17c3424 100644 --- a/internal/rosa/package/xkbcommon.az +++ b/internal/rosa/package/xkbcommon.az @@ -1,38 +1,40 @@ -package xkbcommon { - description = "a library implementing the XKB specification for handling keyboard descriptions"; - website = "https://xkbcommon.org"; - anitya = 1780; +//az:schema mbf - version* = "1.13.1"; +package xkbcommon { + description = "a library implementing the XKB specification for handling keyboard descriptions" + website = "https://xkbcommon.org" + anitya = 1780 + + version := "1.13.1" source = remoteGitHub { - suffix = "xkbcommon/libxkbcommon"; - tag = "xkbcommon-"+version; - checksum = "8L8-d1OT9vmCTR6y0fpG7IsSjelAdtDcaD9PRk7--49uEW5ZybD1-bniCxsQU_8Q"; - }; + suffix = "xkbcommon/libxkbcommon" + tag = "xkbcommon-"+version + checksum = "8L8-d1OT9vmCTR6y0fpG7IsSjelAdtDcaD9PRk7--49uEW5ZybD1-bniCxsQU_8Q" + } env = [ - "HOME=/proc/nonexistent", - ]; + "HOME=/proc/nonexistent" + ] exec = meson { setup = { - "Denable-x11": "false"; - }; - }; + "Denable-x11": "false" + } + } inputs = [ - m4, - bison, + m4 + bison - libxml2, - wayland, - wayland-protocols, - xkeyboard-config, - ]; + libxml2 + wayland + wayland-protocols + xkeyboard-config + ] runtime = [ - libxml2, - wayland, - wayland-protocols, - ]; + libxml2 + wayland + wayland-protocols + ] } diff --git a/internal/rosa/package/xz.az b/internal/rosa/package/xz.az index 41f53ba0..08e84342 100644 --- a/internal/rosa/package/xz.az +++ b/internal/rosa/package/xz.az @@ -1,18 +1,20 @@ +//az:schema mbf + package xz { - description = "XZ Utils"; - website = "https://tukaani.org/xz"; - anitya = 5277; + description = "XZ Utils" + website = "https://tukaani.org/xz" + anitya = 5277 - version* = "5.8.3"; + version := "5.8.3" source = remoteGitHubRelease { - suffix = "tukaani-project/xz"; - tag = "v"+version; - name = "xz-"+version+".tar.bz2"; - checksum = "nCdayphPGdIdVoAZ2hR4vYlhDG9LeVKho_i7ealTud4Vxy5o5dWe0VwFlN7utuUL"; - compress = bzip2; - }; + suffix = "tukaani-project/xz" + tag = "v"+version + name = "xz-${version}.tar.bz2" + checksum = "nCdayphPGdIdVoAZ2hR4vYlhDG9LeVKho_i7ealTud4Vxy5o5dWe0VwFlN7utuUL" + compress = bzip2 + } - exec = make {}; + exec = make() - inputs = [ diffutils ]; + inputs = [ diffutils ] } diff --git a/internal/rosa/package/zlib.az b/internal/rosa/package/zlib.az index 39d64a77..099a88d0 100644 --- a/internal/rosa/package/zlib.az +++ b/internal/rosa/package/zlib.az @@ -1,28 +1,30 @@ -package zlib { - description = "lossless data-compression library"; - website = "https://zlib.net"; - anitya = 5303; +//az:schema mbf - version* = "1.3.2"; +package zlib { + description = "lossless data-compression library" + website = "https://zlib.net" + anitya = 5303 + + version := "1.3.2" source = remoteTar { - url = "https://www.zlib.net/fossils/zlib-"+version+".tar.gz"; - checksum = "KHZrePe42vL2XvOUE3KlJkp1UgWhWkl0jjT_BOvFhuM4GzieEH9S7CioepOFVGYB"; - compress = gzip; - }; + url = "https://www.zlib.net/fossils/zlib-${version}.tar.gz" + checksum = "KHZrePe42vL2XvOUE3KlJkp1UgWhWkl0jjT_BOvFhuM4GzieEH9S7CioepOFVGYB" + compress = gzip + } exec = cmake { - cache = { - "CMAKE_C_FLAGS": "-fPIC"; - "ZLIB_BUILD_TESTING": "ON"; - "ZLIB_BUILD_SHARED": "ON"; - "ZLIB_BUILD_STATIC": "ON"; - "ZLIB_BUILD_MINIZIP": "OFF"; + cache = [ + "CMAKE_C_FLAGS": "-fPIC" + "ZLIB_BUILD_TESTING": "ON" + "ZLIB_BUILD_SHARED": "ON" + "ZLIB_BUILD_STATIC": "ON" + "ZLIB_BUILD_MINIZIP": "OFF" - "ZLIB_INSTALL": "ON"; - "ZLIB_PREFIX": "OFF"; - }; + "ZLIB_INSTALL": "ON" + "ZLIB_PREFIX": "OFF" + ] // ninja dependency loop - make = true; + make }; } diff --git a/internal/rosa/package/zstd.az b/internal/rosa/package/zstd.az index 7f965d72..b08caf20 100644 --- a/internal/rosa/package/zstd.az +++ b/internal/rosa/package/zstd.az @@ -1,31 +1,31 @@ -package zstd { - description = "a fast compression algorithm"; - website = "https://facebook.github.io/zstd"; - anitya = 12083; +//az:schema mbf - version* = "1.5.7"; +package zstd { + description = "a fast compression algorithm" + website = "https://facebook.github.io/zstd" + anitya = 12083 + + version := "1.5.7" source = remoteGitHubRelease { - suffix = "facebook/zstd"; - tag = "v"+version; - name = "zstd-"+version+".tar.gz"; - checksum = "4XhfR7DwVkwo1R-TmYDAJOcx9YXv9WSFhcFUe3hWEAMmdMLPhFaznCqYIA19_xxV"; - compress = gzip; - }; + suffix = "facebook/zstd" + tag = "v"+version + name = "zstd-${version}.tar.gz" + checksum = "4XhfR7DwVkwo1R-TmYDAJOcx9YXv9WSFhcFUe3hWEAMmdMLPhFaznCqYIA19_xxV" + compress = gzip + } // tests Makefile assumes writable source - writable = true; - chmod = true; + writable + chmod exec = cmake { - append = [ "build", "cmake" ]; - test = ` -make -C /usr/src/zstd/tests datagen -ZSTD_BIN=/cure/programs/zstd /usr/src/zstd/tests/playTests.sh -`; - }; + append = [ "build", "cmake" ] + test = `make -C /usr/src/zstd/tests datagen + ZSTD_BIN=/cure/programs/zstd /usr/src/zstd/tests/playTests.sh` + } inputs = [ - make, - diffutils, - ]; + make + diffutils + ] }