mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
Compare commits
18 commits
e259d634e3
...
b472b0ab2e
Author | SHA1 | Date | |
---|---|---|---|
|
b472b0ab2e | ||
|
42d67345ff | ||
|
3c123a3701 | ||
|
64cc25a887 | ||
|
cf0e1f4a8a | ||
|
f3e3198d5b | ||
|
6ca5c2f2e3 | ||
|
9929f839ad | ||
|
4eb9864718 | ||
|
81b1ab7eb2 | ||
|
b9d557ad05 | ||
|
ac4bb62946 | ||
|
dbe0895e11 | ||
|
f95d68ea2a | ||
|
599db52a98 | ||
|
7cccc9ff87 | ||
|
b52dbe5784 | ||
|
6c6df3c2c7 |
28 changed files with 151 additions and 258 deletions
|
@ -2507,7 +2507,6 @@ libmlt++-7.so.7 mlt7-7.0.1_1
|
|||
libmlt-7.so.7 mlt7-7.0.1_1
|
||||
libunibilium.so.4 unibilium-2.0.0_1
|
||||
libtermkey.so.1 libtermkey-0.17_1
|
||||
libicu4lua.so.0 icu4lua-0.2B_1
|
||||
libKF5I18n.so.5 ki18n-5.26.0_1
|
||||
libKF5I18nLocaleData.so.5 ki18n-5.88.0_1
|
||||
libglog.so.1 glog-0.6.0_1
|
||||
|
|
31
srcpkgs/bisq/template
Normal file
31
srcpkgs/bisq/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'bisq'
|
||||
pkgname=bisq
|
||||
version=1.9.19
|
||||
revision=1
|
||||
makedepends="openjdk11"
|
||||
short_desc="Decentralized bitcoin exchange network"
|
||||
maintainer="Nico <void@flatorange.com>"
|
||||
license="AGPL-3.0-only"
|
||||
homepage="https://bisq.network"
|
||||
distfiles="https://github.com/bisq-network/bisq/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=73c960c25bb40f7e42256544279f44b7b526895f493c13c7fdd6b593048912d1
|
||||
|
||||
do_build() {
|
||||
sed -i '/vendor = JvmVendorSpec.AZUL/d' build-logic/commons/src/main/groovy/bisq.java-conventions.gradle
|
||||
sed -i '/implementation = JvmImplementation.VENDOR_SPECIFIC/d' build-logic/commons/src/main/groovy/bisq.java-conventions.gradle
|
||||
export JAVA_HOME=/usr/lib/jvm/openjdk11
|
||||
./gradlew clean :desktop:build -Dorg.gradle.java.home=/usr/lib/jvm/openjdk11 -x test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Install executable.
|
||||
install -d "${DESTDIR}/opt/bisq"
|
||||
cp -r "desktop/build/app/"* "${DESTDIR}/opt/bisq"
|
||||
cp -r "bisq-desktop" "${DESTDIR}/opt/bisq/"
|
||||
install -d "${DESTDIR}/usr/bin"
|
||||
ln -s "/opt/bisq/bisq-desktop" "${DESTDIR}/usr/bin/bisq-desktop"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
Patch-Source: https://src.fedoraproject.org/rpms/chromium/blob/1f8fd846d2cc72c90c73c9867619f0da43b9c816/f/chromium-115-compiler-SkColor4f.patch
|
||||
diff -up chromium-115.0.5790.40/third_party/blink/renderer/modules/canvas/canvas2d/canvas_style.cc.me chromium-115.0.5790.40/third_party/blink/renderer/modules/canvas/canvas2d/canvas_style.cc
|
||||
--- chromium-115.0.5790.40/third_party/blink/renderer/modules/canvas/canvas2d/canvas_style.cc.me 2023-06-24 10:38:11.011511463 +0200
|
||||
+++ chromium-115.0.5790.40/third_party/blink/renderer/modules/canvas/canvas2d/canvas_style.cc 2023-06-24 13:07:35.865375884 +0200
|
||||
@@ -84,6 +84,7 @@ CanvasStyle::CanvasStyle(const CanvasSty
|
||||
|
||||
void CanvasStyle::ApplyToFlags(cc::PaintFlags& flags,
|
||||
float global_alpha) const {
|
||||
+ SkColor4f custom_color = SkColor4f{0.0f, 0.0f, 0.0f, global_alpha};
|
||||
switch (type_) {
|
||||
case kColor:
|
||||
ApplyColorToFlags(flags, global_alpha);
|
||||
@@ -91,12 +92,12 @@ void CanvasStyle::ApplyToFlags(cc::Paint
|
||||
case kGradient:
|
||||
GetCanvasGradient()->GetGradient()->ApplyToFlags(flags, SkMatrix::I(),
|
||||
ImageDrawOptions());
|
||||
- flags.setColor(SkColor4f(0.0f, 0.0f, 0.0f, global_alpha));
|
||||
+ flags.setColor(custom_color);
|
||||
break;
|
||||
case kImagePattern:
|
||||
GetCanvasPattern()->GetPattern()->ApplyToFlags(
|
||||
flags, AffineTransformToSkMatrix(GetCanvasPattern()->GetTransform()));
|
||||
- flags.setColor(SkColor4f(0.0f, 0.0f, 0.0f, global_alpha));
|
||||
+ flags.setColor(custom_color);
|
||||
break;
|
||||
default:
|
||||
NOTREACHED();
|
41
srcpkgs/chromium/patches/libcxx-musl.patch
Normal file
41
srcpkgs/chromium/patches/libcxx-musl.patch
Normal file
|
@ -0,0 +1,41 @@
|
|||
From 39c6c8be2f3f607b413e3f05ab1f4678efdd129a Mon Sep 17 00:00:00 2001
|
||||
From: Brian Cain <brian.cain@oss.qualcomm.com>
|
||||
Date: Thu, 27 Feb 2025 21:49:19 -0600
|
||||
Subject: [PATCH] [libc++] Fix the locale base API on Linux with musl (#128936)
|
||||
|
||||
Since `363bfd6090b0 ([libc++] Use the new locale base API on Linux
|
||||
(#128007), 2025-02-24)`, musl targets will fail to build with errors
|
||||
due to missing strtoll_l functions.
|
||||
|
||||
Co-authored-by: Pirama Arumuga Nainar <pirama@google.com>
|
||||
---
|
||||
libcxx/include/__locale_dir/support/linux.h | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/libcxx/include/__locale_dir/support/linux.h b/libcxx/include/__locale_dir/support/linux.h
|
||||
index f1662c0112603..fa0b03c646a2a 100644
|
||||
--- a/third_party/libc++/src/include/__locale_dir/support/linux.h
|
||||
+++ b/third_party/libc++/src/__locale_dir/support/linux.h
|
||||
@@ -95,12 +95,22 @@ inline _LIBCPP_HIDE_FROM_ABI long double __strtold(const char* __nptr, char** __
|
||||
}
|
||||
|
||||
inline _LIBCPP_HIDE_FROM_ABI long long __strtoll(const char* __nptr, char** __endptr, int __base, __locale_t __loc) {
|
||||
+#if !_LIBCPP_HAS_MUSL_LIBC
|
||||
return ::strtoll_l(__nptr, __endptr, __base, __loc);
|
||||
+#else
|
||||
+ (void)__loc;
|
||||
+ return ::strtoll(__nptr, __endptr, __base);
|
||||
+#endif
|
||||
}
|
||||
|
||||
inline _LIBCPP_HIDE_FROM_ABI unsigned long long
|
||||
__strtoull(const char* __nptr, char** __endptr, int __base, __locale_t __loc) {
|
||||
+#if !_LIBCPP_HAS_MUSL_LIBC
|
||||
return ::strtoull_l(__nptr, __endptr, __base, __loc);
|
||||
+#else
|
||||
+ (void)__loc;
|
||||
+ return ::strtoull(__nptr, __endptr, __base);
|
||||
+#endif
|
||||
}
|
||||
|
||||
//
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'chromium'
|
||||
pkgname=chromium
|
||||
# See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version
|
||||
version=134.0.6998.88
|
||||
version=135.0.7049.52
|
||||
revision=1
|
||||
archs="i686* x86_64* aarch64* armv7l*"
|
||||
_llvmver=19
|
||||
|
@ -31,7 +31,7 @@ license="BSD-3-Clause"
|
|||
homepage="https://www.chromium.org/"
|
||||
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz"
|
||||
#distfiles="https://chromium-tarballs.distfiles.gentoo.org/chromium-${version}.tar.xz"
|
||||
checksum=1ba3dfb7942b809cd42bd46ac531125f1181f163a6db256a22ba709275153acd
|
||||
checksum=620ed41ac1c1bd465c775376deaafd43fd0f6cdd2be1971ed87511683728f5a7
|
||||
|
||||
lib32disabled=yes
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'curl'
|
||||
pkgname=curl
|
||||
version=8.12.1
|
||||
version=8.13.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||
|
@ -30,7 +30,7 @@ license="MIT"
|
|||
homepage="https://curl.se"
|
||||
changelog="https://curl.se/changes.html"
|
||||
distfiles="https://curl.se/download/curl-${version}.tar.gz"
|
||||
checksum=7b40ea64947e0b440716a4d7f0b7aa56230a5341c8377d7b609649d4aea8dbcf
|
||||
checksum=c261a4db579b289a7501565497658bbd52d3138fdbaccf1490fa918129ab45bc
|
||||
build_options="gnutls gssapi idn ldap psl rtmp ssh ssl zstd"
|
||||
build_options_default="idn psl ssh ssl zstd"
|
||||
vopt_conflict ssl gnutls
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'discord'
|
||||
pkgname=discord
|
||||
version=0.0.89
|
||||
version=0.0.90
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
|
||||
|
@ -10,7 +10,7 @@ maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
|
|||
license="custom:Proprietary"
|
||||
homepage="https://discord.com"
|
||||
distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"
|
||||
checksum=ef833648024b4bcbb7ee6d9b128fd86e5abcdb611b59665fa4b7f97a6bd3bac1
|
||||
checksum=99f428ef51b86796700eba16888d96e436f98ac331771e05c376fa5fee27ec58
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
nopie=yes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'dust'
|
||||
pkgname=dust
|
||||
version=1.1.2
|
||||
version=1.2.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
short_desc="More intuitive version of du"
|
||||
|
@ -8,7 +8,7 @@ maintainer="Neel <neel@chot.ai>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://github.com/bootandy/dust"
|
||||
distfiles="https://github.com/bootandy/dust/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=31da99483ee6110d43ed5e7c56a59f40f33b389e45d09d91fca022b42d442040
|
||||
checksum=e879e6bf662e07cff2962b68529dd78c3bafb67541aaa76e8c9d25ecb505b850
|
||||
|
||||
post_install() {
|
||||
vcompletion completions/dust.bash bash
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'eza'
|
||||
pkgname=eza
|
||||
version=0.20.24
|
||||
version=0.21.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -12,8 +12,8 @@ homepage="https://eza.rocks"
|
|||
changelog="https://raw.githubusercontent.com/eza-community/eza/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/eza-community/eza/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/eza-community/eza/releases/download/v${version}/man-${version}.tar.gz"
|
||||
checksum="e5a1761f05adc74b80d59036819e768060971c6f5107e208024c752a2af02ccc
|
||||
eee8dab57d433bceb08fadc3aad283a7c3dc36cdaf3a69fb12fc83902804042e"
|
||||
checksum="885ae7a12c7ed68dd3a7cca76d4e8beaa100c9e9d6b7ad136b5bb6785e16b28b
|
||||
1d06a1107f8762139f30ea6c33dcbb363349390b797684b1754b60bd41c7d8e1"
|
||||
|
||||
skip_extraction="man-${version}.tar.gz"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'furnace'
|
||||
pkgname=furnace
|
||||
version=0.6.8
|
||||
version=0.6.8.1
|
||||
revision=1
|
||||
_adpcm_commit="ef7a217154badc3b99978ac481b268c8aab67bd8"
|
||||
build_style=cmake
|
||||
|
@ -15,7 +15,7 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://github.com/tildearrow/furnace"
|
||||
distfiles="https://github.com/tildearrow/furnace/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/superctr/adpcm/archive/${_adpcm_commit}.tar.gz>adpcm-${_adpcm_commit}.tar.gz"
|
||||
checksum="eb3d0876ba4d65405b5bab93432e08bb7f63534e071f9fc73bb1f549d7ea0357
|
||||
checksum="ce3c2a3a758596c73b3c4c4636722486f8ec51629019f8deda960c1d033093df
|
||||
46da29342d2968ff222ba00e07c646e038b76af2e6c86de037c653059a056251"
|
||||
|
||||
skip_extraction="
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'gn'
|
||||
pkgname=gn
|
||||
version=0.0.20250113
|
||||
version=0.0.20250402
|
||||
revision=1
|
||||
_ref=ed1abc107815210dc66ec439542bee2f6cbabc00
|
||||
_ref=6e8e0d6d4a151ab2ed9b4a35366e630c55888444
|
||||
create_wrksrc=yes
|
||||
hostmakedepends="python3 ninja"
|
||||
short_desc="Meta-build system that generates build files for Ninja"
|
||||
|
@ -10,7 +10,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
|
|||
license="BSD-3-Clause"
|
||||
homepage="https://gn.googlesource.com/gn"
|
||||
distfiles="https://gn.googlesource.com/gn/+archive/${_ref}.tar.gz"
|
||||
checksum=@800954ce3fda8c1a3200c8bf145182d6df61636f49b19ec6e36c9d5646a39e2d
|
||||
checksum=@a0c07348d1e6bfb3cbedb19faa9e4907aa01891ab5f7cc7a368179b188a3370f
|
||||
|
||||
do_configure() {
|
||||
cat <<-EOF >src/gn/last_commit_position.h
|
||||
|
|
18
srcpkgs/godot/patches/20-fix-musl.patch
Normal file
18
srcpkgs/godot/patches/20-fix-musl.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
diff --git a/thirdparty/manifold/src/sparse.h b/thirdparty/manifold/src/sparse.h
|
||||
index a25ea61141..82ba7c5af6 100644
|
||||
--- a/thirdparty/manifold/src/sparse.h
|
||||
+++ b/thirdparty/manifold/src/sparse.h
|
||||
@@ -40,11 +40,13 @@ class SparseIndices {
|
||||
// such that the indices are sorted by (p << 32) | q
|
||||
public:
|
||||
#if defined(__BYTE_ORDER) && __BYTE_ORDER == __BIG_ENDIAN || \
|
||||
+ defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ || \
|
||||
defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || \
|
||||
defined(__AARCH64EB__) || defined(_MIBSEB) || defined(__MIBSEB) || \
|
||||
defined(__MIBSEB__)
|
||||
static constexpr size_t pOffset = 0;
|
||||
#elif defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN || \
|
||||
+ defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ || \
|
||||
defined(__LITTLE_ENDIAN__) || defined(__ARMEL__) || \
|
||||
defined(__THUMBEL__) || defined(__AARCH64EL__) || defined(_MIPSEL) || \
|
||||
defined(__MIPSEL) || defined(__MIPSEL__) || defined(__EMSCRIPTEN__) || \
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'godot'
|
||||
pkgname=godot
|
||||
version=4.3
|
||||
revision=7
|
||||
version=4.4.1
|
||||
revision=1
|
||||
archs="x86_64* i686* aarch64* armv7* ppc64*"
|
||||
build_style=scons
|
||||
make_build_args="platform=linuxbsd target=editor progress=no production=yes
|
||||
|
@ -25,7 +25,7 @@ maintainer="dataCobra <datacobra@thinkbot.de>"
|
|||
license="MIT"
|
||||
homepage="https://www.godotengine.org/"
|
||||
distfiles="https://github.com/godotengine/godot/archive/${version}-stable.tar.gz"
|
||||
checksum=6a441d02957432d76343052296dc514b1b6bd72af920c9f2518b1ec3cb534874
|
||||
checksum=a486c523494e155b6912a607b5813577f8f39285f8ad43ac76cb9141edad9888
|
||||
nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/6342/steps/shell_3/logs/stdio
|
||||
|
||||
CFLAGS+=" -fPIE -fPIC"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
icu4lua
|
|
@ -1,47 +0,0 @@
|
|||
VERSION?= 0.2B
|
||||
DESTDIR?= /
|
||||
PREFIX= $(DESTDIR)/usr
|
||||
LIBDIR= $(PREFIX)/lib
|
||||
INCDIR= $(PREFIX)/include
|
||||
|
||||
SILENT?=
|
||||
SOURCES= icu.c icu.collator.c icu.idna.c icu.normalizer.c icu.regex.c \
|
||||
icu.stringprep.c icu.ufile.c icu.ustring.c icu.utf8.c matchengine.c
|
||||
OBJS= icu.o icu.collator.o icu.idna.o icu.normalizer.o icu.regex.o \
|
||||
icu.stringprep.o icu.ufile.o icu.ustring.o icu.utf8.o matchengine.o
|
||||
HEADERS= formatting.h icu4lua.h matchengine.h
|
||||
TARGET= libicu4lua.so
|
||||
SO_MAJOR= 0
|
||||
SO_MINOR= 1
|
||||
SO_BUILD= 1
|
||||
SO_VER= $(SO_MAJOR).$(SO_MINOR).$(SO_BUILD)
|
||||
ICU_CFLAGS= `pkg-config --cflags icu-i18n icu-io`
|
||||
ICU_LIBS= `pkg-config --libs icu-i18n icu-io`
|
||||
LUA_CFLAGS= `pkg-config --cflags lua5.1`
|
||||
LUA_LIBS= `pkg-config --libs lua5.1`
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
@echo "Linking $@ ..."
|
||||
$(SILENT)$(CC) -shared -Wl,-soname,$(TARGET).$(SO_MAJOR) \
|
||||
-o $(TARGET).$(SO_VER) $(LDFLAGS) \
|
||||
$(OBJS) $(LIBS) $(LUA_LIBS) -L/usr/lib/icu $(ICU_LIBS)
|
||||
|
||||
.c.o:
|
||||
@echo "Compling $< ..."
|
||||
$(SILENT)$(CC) $(CFLAGS) $(ICU_CFLAGS) $(LUA_CFLAGS) -o $@ -c $<
|
||||
|
||||
install: $(TARGET)
|
||||
@echo "Installing..."
|
||||
install -d $(LIBDIR)/
|
||||
install -m 0755 $(TARGET).$(SO_VER) $(LIBDIR)
|
||||
ln -s $(TARGET).$(SO_VER) $(LIBDIR)/$(TARGET).$(SO_MAJOR).$(SO_MINOR)
|
||||
ln -s $(TARGET).$(SO_MAJOR).$(SO_MINOR) $(LIBDIR)/$(TARGET).$(SO_MAJOR)
|
||||
ln -s $(TARGET).$(SO_MAJOR) $(LIBDIR)/$(TARGET)
|
||||
install -d $(INCDIR)/icu4lua
|
||||
install -m 0644 *.h $(INCDIR)/icu4lua
|
||||
install -d $(LIBDIR)/pkgconfig
|
||||
sed < icu4lua.pc.in -e "s;@VERSION@;$(VERSION);" \
|
||||
> $(LIBDIR)/pkgconfig/icu4lua.pc
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${exec_prefix}/incude
|
||||
|
||||
Name: icu4lua
|
||||
Description: Unicode support for Lua 5.1
|
||||
Version: @VERSION@
|
||||
Requires: icu-i18n icu-io
|
||||
Libs: -L${libdir} -licu4lua
|
||||
CFlags: -I${includedir}/icu4lua
|
|
@ -1,94 +0,0 @@
|
|||
--- a/src/icu.ustring.c.orig
|
||||
+++ b/src/icu.ustring.c
|
||||
@@ -38,7 +38,7 @@
|
||||
target_limit = target + ICU4LUA_UBUFFERSIZE;
|
||||
for (;;) {
|
||||
status = U_ZERO_ERROR;
|
||||
- ucnv_toUnicode(conv, &target, target_limit, &source, source_limit, NULL, TRUE, &status);
|
||||
+ ucnv_toUnicode(conv, &target, target_limit, &source, source_limit, NULL, 1, &status);
|
||||
switch(status) {
|
||||
case U_ZERO_ERROR:
|
||||
icu4lua_addusize(&build_buffer, target - temp_buffer);
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
for (;;) {
|
||||
status = U_ZERO_ERROR;
|
||||
- ucnv_fromUnicode(conv, &target, target_limit, &source, source_limit, NULL, TRUE, &status);
|
||||
+ ucnv_fromUnicode(conv, &target, target_limit, &source, source_limit, NULL, 1, &status);
|
||||
switch(status) {
|
||||
case U_BUFFER_OVERFLOW_ERROR:
|
||||
luaL_addsize(&build_buffer, (const char*)target - (const char*)temp_buffer);
|
||||
@@ -691,7 +691,7 @@
|
||||
lua_pushboolean(L, u_strCompare(
|
||||
icu4lua_trustustring(L,1), (int32_t)icu4lua_ustrlen(L,1),
|
||||
icu4lua_trustustring(L,2), (int32_t)icu4lua_ustrlen(L,2),
|
||||
- TRUE
|
||||
+ 1
|
||||
) < 0);
|
||||
return 1;
|
||||
}
|
||||
@@ -703,7 +703,7 @@
|
||||
lua_pushboolean(L, u_strCompare(
|
||||
icu4lua_trustustring(L,1), (int32_t)icu4lua_ustrlen(L,1),
|
||||
icu4lua_trustustring(L,2), (int32_t)icu4lua_ustrlen(L,2),
|
||||
- TRUE
|
||||
+ 1
|
||||
) <= 0);
|
||||
return 1;
|
||||
}
|
||||
@@ -733,7 +733,7 @@
|
||||
lua_pushboolean(L, u_strCompare(
|
||||
icu4lua_trustustring(L,1), (int32_t)icu4lua_ustrlen(L,1),
|
||||
icu4lua_trustustring(L,2), (int32_t)icu4lua_ustrlen(L,2),
|
||||
- TRUE
|
||||
+ 1
|
||||
) < 0);
|
||||
}
|
||||
return 1;
|
||||
@@ -759,7 +759,7 @@
|
||||
lua_pushboolean(L, u_strCompare(
|
||||
icu4lua_trustustring(L,1), (int32_t)icu4lua_ustrlen(L,1),
|
||||
icu4lua_trustustring(L,2), (int32_t)icu4lua_ustrlen(L,2),
|
||||
- TRUE
|
||||
+ 1
|
||||
) <= 0);
|
||||
}
|
||||
return 1;
|
||||
@@ -785,7 +785,7 @@
|
||||
lua_pushboolean(L, u_strCompare(
|
||||
icu4lua_trustustring(L,1), (int32_t)icu4lua_ustrlen(L,1),
|
||||
icu4lua_trustustring(L,2), (int32_t)icu4lua_ustrlen(L,2),
|
||||
- TRUE
|
||||
+ 1
|
||||
) == 0);
|
||||
}
|
||||
return 1;
|
||||
--- a/src/icu.utf8.c.orig
|
||||
+++ b/src/icu.utf8.c
|
||||
@@ -730,7 +730,7 @@
|
||||
UCharIterator iter_b;
|
||||
uiter_setUTF8(&iter_a, utf8_a, (int32_t)a_len);
|
||||
uiter_setUTF8(&iter_b, utf8_b, (int32_t)b_len);
|
||||
- lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, TRUE) < 0);
|
||||
+ lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, 1) < 0);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@@ -746,7 +746,7 @@
|
||||
UCharIterator iter_b;
|
||||
uiter_setUTF8(&iter_a, utf8_a, (int32_t)a_len);
|
||||
uiter_setUTF8(&iter_b, utf8_b, (int32_t)b_len);
|
||||
- lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, TRUE) <= 0);
|
||||
+ lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, 1) <= 0);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@@ -764,7 +764,7 @@
|
||||
UCharIterator iter_b;
|
||||
uiter_setUTF8(&iter_a, utf8_a, (int32_t)a_len);
|
||||
uiter_setUTF8(&iter_b, utf8_b, (int32_t)b_len);
|
||||
- lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, TRUE) == 0);
|
||||
+ lua_pushboolean(L, u_strCompareIter(&iter_a, &iter_b, 1) == 0);
|
||||
}
|
||||
return 1;
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Template file for 'icu4lua'
|
||||
pkgname=icu4lua
|
||||
version=0.2B
|
||||
revision=14
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config unzip"
|
||||
makedepends="icu-devel lua51-devel"
|
||||
short_desc="Binary module for providing Unicode support to Lua"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT,X"
|
||||
homepage="http://luaforge.net/projects/icu-lua/"
|
||||
distfiles="
|
||||
http://files.luaforge.net/releases/icu-lua/icu-lua/${version}/ICU4Lua-${version}-src.zip
|
||||
http://files.luaforge.net/releases/icu-lua/icu-lua/${version}/ICU4Lua-${version}-docs.zip"
|
||||
checksum="
|
||||
04368e7f7573f7e0d9ca4d9f06d760234ae51199e6e7682701a0fc0cfb5cd677
|
||||
d46449d77bc403e3258fd77e37de664148b0051fbd92a5d1c51b167370a26d02"
|
||||
|
||||
CFLAGS="-fPIC"
|
||||
|
||||
do_build() {
|
||||
cp ${FILESDIR}/Makefile src
|
||||
cp ${FILESDIR}/icu4lua.pc.in src
|
||||
make -C src ${make_build_args} ${make_build_target}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make -C src VERSION=${version} DESTDIR=${DESTDIR} install
|
||||
vdoc doc/index.html
|
||||
}
|
||||
|
||||
icu4lua-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/share/doc
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
site=http://files.luaforge.net/releases/icu-lua/icu-lua
|
||||
pattern="\K[\d]+\.[\d][A-Z]+"
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'limine'
|
||||
pkgname=limine
|
||||
version=9.2.1
|
||||
version=9.2.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-all TOOLCHAIN_FOR_TARGET=llvm"
|
||||
|
@ -11,7 +11,7 @@ license="BSD-2-Clause"
|
|||
homepage="https://limine-bootloader.org/"
|
||||
changelog="https://raw.githubusercontent.com/limine-bootloader/limine/trunk/ChangeLog"
|
||||
distfiles="https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.gz"
|
||||
checksum=c87afc14c38a9569529249a41800c2e91e0f1ceeed1e4dfc830ac94bf9cfbefb
|
||||
checksum=b83decd75effba101e4427b1efc81748cf73201c85be36e3795ca090f5f08083
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lldpd'
|
||||
pkgname=lldpd
|
||||
version=1.0.11
|
||||
revision=3
|
||||
version=1.0.19
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-privsep-chroot=/var/empty"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -11,11 +11,15 @@ maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
|||
license="ISC"
|
||||
homepage="https://vincentbernat.github.io/lldpd/index.html"
|
||||
distfiles="https://media.luffy.cx/files/lldpd/${pkgname}-${version}.tar.gz"
|
||||
checksum=b51d15700fbaefcb7fb85c3506b49d33173a0f15d700f933ef044067b42d46e4
|
||||
checksum=f87df3163d5e5138da901d055b384009785d1eb50fdb17a2343910fcf30a997f
|
||||
|
||||
system_groups="_lldpd"
|
||||
system_accounts="_lldpd"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-legacy-compat"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vsv lldpd
|
||||
vlicense LICENSE
|
||||
|
|
|
@ -9,7 +9,7 @@ _desc="POSIX library for Lua programming language"
|
|||
short_desc="${_desc} (5.4.x)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://luaforge.net/projects/luaposix/"
|
||||
homepage="https://luaposix.github.io/luaposix/"
|
||||
distfiles="https://github.com/luaposix/luaposix/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=a4edf2f715feff65acb009e8d1689e57ec665eb79bc36a6649fae55eafd56809
|
||||
lib32disabled=yes
|
||||
|
|
|
@ -314,6 +314,8 @@ replaces="
|
|||
icecat-i18n-zh-CN<=78.6.1_1
|
||||
icecat-i18n-zh-TW<=78.6.1_1
|
||||
icecat<=78.6.1_1
|
||||
icu4lua-devel<=0.2B_14
|
||||
icu4lua<=0.2B_14
|
||||
ilmbase-devel<=2.4.2_2
|
||||
ilmbase<=2.4.2_2
|
||||
ioquake3-rpi<=20130506_2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'topgrade'
|
||||
pkgname=topgrade
|
||||
version=16.0.2
|
||||
version=16.0.3
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
|
@ -9,7 +9,7 @@ maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
|||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/topgrade-rs/topgrade"
|
||||
distfiles="https://github.com/topgrade-rs/topgrade/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=9cbaf60a44a1ba76c51d4a44e4fe4e7567ffbbb8c5c3b5751dfbdafd161f8230
|
||||
checksum=97df1c06f9489ce842756fd27c7a309db952bee16001a7a2e7a337d45904731c
|
||||
|
||||
post_install() {
|
||||
local topgrade="${DESTDIR}/usr/bin/topgrade"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tzupdate'
|
||||
pkgname=tzupdate
|
||||
version=2.1.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
|
@ -14,6 +14,6 @@ checksum=8e0f81d04143fd89a1300155bb99baeb46d5f6b3df49b96361f9026ff55eaec9
|
|||
# tests require httpretty, not in repos
|
||||
make_check=no
|
||||
|
||||
post_instal() {
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
1
srcpkgs/vte3-demo
Symbolic link
1
srcpkgs/vte3-demo
Symbolic link
|
@ -0,0 +1 @@
|
|||
vte3
|
1
srcpkgs/vte3-gtk4-demo
Symbolic link
1
srcpkgs/vte3-gtk4-demo
Symbolic link
|
@ -0,0 +1 @@
|
|||
vte3
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'vte3'
|
||||
pkgname=vte3
|
||||
version=0.80.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Db_ndebug=false -Db_lto=false -D_systemd=false
|
||||
|
@ -10,7 +10,7 @@ hostmakedepends="glib-devel gettext pkg-config
|
|||
$(vopt_if gir vala)"
|
||||
makedepends="gnutls-devel gtk4-devel gtk+3-devel pcre2-devel liblz4-devel
|
||||
$(vopt_if gir vala-devel)"
|
||||
depends="vte3-profile"
|
||||
depends="vte3-profile>=${version}_${revision}"
|
||||
short_desc="Terminal widget with improved accessibility and I18N support"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later"
|
||||
|
@ -36,20 +36,40 @@ build_options_default="gir"
|
|||
vte3-profile_package() {
|
||||
short_desc+=" - profile scripts"
|
||||
pkg_install() {
|
||||
vmove usr/libexec/vte-urlencode-cwd
|
||||
vmove etc/profile.d
|
||||
}
|
||||
}
|
||||
|
||||
vte3-gtk4_package() {
|
||||
depends="vte3-profile"
|
||||
depends="vte3-profile>=${version}_${revision}"
|
||||
short_desc+=" - GTK4 version"
|
||||
pkg_install() {
|
||||
vmove usr/bin/vte-2.91-gtk4
|
||||
vmove usr/lib/libvte-2.91-gtk4.so.0
|
||||
vmove usr/lib/girepository-1.0/Vte-3.91.typelib
|
||||
}
|
||||
}
|
||||
|
||||
vte3-demo_package() {
|
||||
depends="vte3>=${version}_${revision}"
|
||||
short_desc+=" - GTK3 demo"
|
||||
pkg_install() {
|
||||
vmove usr/bin/vte-2.91
|
||||
vmove usr/share/applications/org.gnome.Vte.App.Gtk3.desktop
|
||||
vmove usr/share/xdg-terminals/org.gnome.Vte.App.Gtk3.desktop
|
||||
}
|
||||
}
|
||||
|
||||
vte3-gtk4-demo_package() {
|
||||
depends="vte3-gtk4>=${version}_${revision}"
|
||||
short_desc+=" - GTK4 demo"
|
||||
pkg_install() {
|
||||
vmove usr/bin/vte-2.91-gtk4
|
||||
vmove usr/share/applications/org.gnome.Vte.App.Gtk4.desktop
|
||||
vmove usr/share/xdg-terminals/org.gnome.Vte.App.Gtk4.desktop
|
||||
}
|
||||
}
|
||||
|
||||
vte3-devel_package() {
|
||||
depends="libglib-devel gtk+3-devel pango-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Add table
Reference in a new issue