Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions srcpkgs/glaze/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'glaze'
pkgname=glaze
version=6.5.0
version=7.1.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release \
Expand All @@ -11,7 +11,7 @@ maintainer="Encoded14 <linusken@tuta.io>"
license="MIT"
homepage="https://github.com/stephenberry/glaze"
distfiles="https://github.com/stephenberry/glaze/archive/refs/tags/v${version}.tar.gz"
checksum=2cd86f9cdf5512caf3d66aac9e14a15450a0f1cc308ac2632b0442a5a294570d
checksum=39bbd40f6a81e7b56489cf96f768195563f36cf80bdfe74c3a95a228402af298

post_install() {
vlicense LICENSE
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/hyprland/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hyprland'
pkgname=hyprland
version=0.53.1
revision=2
version=0.54.0
revision=1
build_style=cmake
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -DNO_SYSTEMD:BOOL=true"
Expand All @@ -18,7 +18,7 @@ license="BSD-3-Clause"
homepage="https://hyprland.org/"
changelog="https://github.com/hyprwm/Hyprland/releases"
distfiles="https://github.com/hyprwm/Hyprland/releases/download/v${version}/source-v${version}.tar.gz"
checksum=1d9d22cfa34d2a559b2be37735adb1f70eef4fd8bbaf226ebf1d20b09fcb0861
checksum=ddc4f7f1dd2d29ebfeaf462fe361593034f104de85b80e3e81f73e33602a69ae
make_check=no # cant run in sandbox

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/hyprlang/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hyprlang'
pkgname=hyprlang
version=0.6.7
revision=3
version=0.6.8
revision=1
build_style=cmake
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr"
Expand All @@ -13,4 +13,4 @@ license="LGPL-3.0-only"
homepage="https://hyprland.org/hyprlang/index.html"
changelog="https://github.com/hyprwm/hyprlang/releases"
distfiles="https://github.com/hyprwm/hyprlang/archive/refs/tags/v${version}.tar.gz"
checksum=e8d54af895ec04fe99553c68d1255dceddb43723ada4a134acdd46bfe1dbf924
checksum=d10a0778b646e04d83e8b90cc0f764fb96958c01a15c3c0678d95a40fc647ed5
6 changes: 3 additions & 3 deletions srcpkgs/hyprpaper/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hyprpaper'
pkgname=hyprpaper
version=0.8.1
revision=3
version=0.8.3
revision=1
build_style=cmake
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr"
hostmakedepends="cmake pkgconf hyprwayland-scanner hyprwire hyprland-protocols wayland-protocols"
Expand All @@ -12,7 +12,7 @@ maintainer="Encoded14 <linusken@tuta.io>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprpaper"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=6fb69e6d23f4547966ad20b8972d0a0c0f93d4de3d56823b8dd74af2678fe405
checksum=bfede471179adca93ed6d10e0132838c16dae364d828bd44f67819afc1a15594

post_install() {
vlicense LICENSE
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/hyprpicker/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hyprpicker'
pkgname=hyprpicker
version=0.4.5
revision=5
version=0.4.6
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config hyprwayland-scanner wayland-protocols"
makedepends="wayland-devel cairo-devel pango-devel
Expand All @@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprpicker"
changelog="https://github.com/hyprwm/hyprpicker/releases"
distfiles="https://github.com/hyprwm/hyprpicker/archive/refs/tags/v${version}.tar.gz"
checksum=fe9611ec78524f9bbea0d39308da3d9c61cb20f6103179a269cad8013bb0c1f3
checksum=3dc3dec1ba3254a9ab3303461a12593f18318961934d24e4b1adc08927ba675d

pre_build() {
make protocols
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/hyprtoolkit/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hyprtoolkit'
pkgname=hyprtoolkit
version=0.5.1
version=0.5.3
revision=1
build_style=cmake
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
Expand All @@ -14,7 +14,7 @@ maintainer="Encoded14 <linusken@tuta.io>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprgraphics"
distfiles="https://github.com/hyprwm/hyprtoolkit/archive/refs/tags/v${version}.tar.gz"
checksum=f9f481dc18ec1d293dbd4e508e784c3781d067972b053bf4db0a12cf506ca31d
checksum=7e6671fd4bf6f4b1eda0115aa187aa183db40d59049cca1d7546fb46fdb4cdc0
make_check=no # cant run in sandbox

post_install() {
Expand Down
20 changes: 0 additions & 20 deletions srcpkgs/hyprwire/patches/02-fix-musl-cstring.patch

This file was deleted.

149 changes: 0 additions & 149 deletions srcpkgs/hyprwire/patches/fix-append-range.patch

This file was deleted.

77 changes: 77 additions & 0 deletions srcpkgs/hyprwire/patches/hyprwire-append-range.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
--- a/src/core/message/messages/BindProtocol.cpp
+++ b/src/core/message/messages/BindProtocol.cpp
@@ -67,9 +67,17 @@ CBindProtocolMessage::CBindProtocolMessage(const std::string& protocol, uint32_t
std::memcpy(&m_data[2], &seq, sizeof(seq));

m_data.emplace_back(HW_MESSAGE_MAGIC_TYPE_VARCHAR);
- m_data.append_range(g_messageParser->encodeVarInt(protocol.length()));
- m_data.append_range(protocol);
- m_data.append_range(std::vector<uint8_t>{HW_MESSAGE_MAGIC_TYPE_UINT, 0, 0, 0, 0});
+ {
+ const auto encodedLen = g_messageParser->encodeVarInt(protocol.length());
+ m_data.insert(m_data.end(), encodedLen.begin(), encodedLen.end());
+ }
+ m_data.insert(m_data.end(), protocol.begin(), protocol.end());
+ {
+ const std::vector<uint8_t> typeTag{HW_MESSAGE_MAGIC_TYPE_UINT, 0, 0, 0, 0};
+ m_data.insert(m_data.end(), typeTag.begin(), typeTag.end());
+ }
+
std::memcpy(&m_data[m_data.size() - 4], &version, sizeof(version));
m_data.emplace_back(HW_MESSAGE_MAGIC_END);
}
--- a/src/core/message/messages/FatalProtocolError.cpp
+++ b/src/core/message/messages/FatalProtocolError.cpp
@@ -61,7 +61,11 @@ CFatalErrorMessage::CFatalErrorMessage(SP obj, uint32_t errorId, const std::stri
m_data = {HW_MESSAGE_TYPE_FATAL_PROTOCOL_ERROR, HW_MESSAGE_MAGIC_TYPE_UINT, 0, 0, 0, 0, HW_MESSAGE_MAGIC_TYPE_UINT, 0, 0, 0, 0, HW_MESSAGE_MAGIC_TYPE_VARCHAR};
if (obj) std::memcpy(&m_data[2], &obj->m_id, sizeof(obj->m_id));
std::memcpy(&m_data[7], &errorId, sizeof(errorId));
- m_data.append_range(g_messageParser->encodeVarInt(msg.size()));
- m_data.append_range(msg);
+ {
+ const auto encodedLen = g_messageParser->encodeVarInt(msg.size());
+ m_data.insert(m_data.end(), encodedLen.begin(), encodedLen.end());
+ }
+ m_data.insert(m_data.end(), msg.begin(), msg.end());
m_data.emplace_back(HW_MESSAGE_MAGIC_END);
}
--- a/src/core/message/messages/HandshakeBegin.cpp
+++ b/src/core/message/messages/HandshakeBegin.cpp
@@ -58,7 +58,10 @@ CHandshakeBeginMessage::CHandshakeBeginMessage(const std::vector<uint32_t>& versi
m_data = {
HW_MESSAGE_TYPE_HANDSHAKE_BEGIN,
HW_MESSAGE_MAGIC_TYPE_ARRAY,
HW_MESSAGE_MAGIC_TYPE_UINT,
};
- m_data.append_range(g_messageParser->encodeVarInt(versions.size()));
+ {
+ const auto encodedLen = g_messageParser->encodeVarInt(versions.size());
+ m_data.insert(m_data.end(), encodedLen.begin(), encodedLen.end());
+ }
const size_t HEAD_SIZE = m_data.size();
m_data.resize(HEAD_SIZE + (versions.size() * 4));
for (size_t i = 0; i < versions.size(); ++i) {
--- a/src/core/message/messages/HandshakeProtocols.cpp
+++ b/src/core/message/messages/HandshakeProtocols.cpp
@@ -57,10 +57,17 @@ CHandshakeProtocolsMessage::CHandshakeProtocolsMessage(const std::vector<std::str
m_data = {
HW_MESSAGE_TYPE_HANDSHAKE_PROTOCOLS,
HW_MESSAGE_MAGIC_TYPE_ARRAY,
HW_MESSAGE_MAGIC_TYPE_VARCHAR,
};
- m_data.append_range(g_messageParser->encodeVarInt(protocols.size()));
+ {
+ const auto encodedLen = g_messageParser->encodeVarInt(protocols.size());
+ m_data.insert(m_data.end(), encodedLen.begin(), encodedLen.end());
+ }
for (const auto& p : protocols) {
- m_data.append_range(g_messageParser->encodeVarInt(p.size()));
- m_data.append_range(p);
+ {
+ const auto encodedLen = g_messageParser->encodeVarInt(p.size());
+ m_data.insert(m_data.end(), encodedLen.begin(), encodedLen.end());
+ }
+ m_data.insert(m_data.end(), p.begin(), p.end());
}
m_data.emplace_back(HW_MESSAGE_MAGIC_END);
}
4 changes: 2 additions & 2 deletions srcpkgs/hyprwire/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'hyprwire'
pkgname=hyprwire
version=0.2.1
version=0.3.0
revision=1
build_style=cmake
configure_args="--no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
Expand All @@ -12,7 +12,7 @@ maintainer="Encoded14 <linusken@tuta.io>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprwire"
distfiles="https://github.com/hyprwm/hyprwire/archive/refs/tags/v${version}.tar.gz"
checksum=a6370db771213fe10ebca5a2da748070a7034b09131847f973fda5d60b473c11
checksum=ba3ff4b82620209d5680ce0e771d0f2c41f78cdb96d5d84fa66e4f0709ca8de6

post_install() {
vlicense LICENSE
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/zen-browser/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'zen-browser'
pkgname=zen-browser
version=1.17.15b
version=1.19b
revision=1
archs="x86_64 aarch64"
hostmakedepends="curl xz"
Expand All @@ -13,11 +13,11 @@ changelog="https://github.com/zen-browser/desktop/releases"
case "$XBPS_TARGET_MACHINE" in
x86_64)
distfiles="https://github.com/zen-browser/desktop/releases/download/${version}/zen.linux-x86_64.tar.xz"
checksum=13ef9d59e25c61b0af9b182f89ad1a5b08eb197d9e61668f145d752dda378778
checksum=0bd9227975924b02a1b304551360553078e582ff9aef8eee1ea0ca86a61f8e03
;;
aarch64)
distfiles="https://github.com/zen-browser/desktop/releases/download/${version}/zen.linux-aarch64.tar.xz"
checksum=7a8fe1832af18eb367fb4327f0097b6ef241ff3eaa12f36994a0bd58a3766f5f
checksum=aeb3614b39eba7b4371491bd1ada3ecec1bd19b6891640eef6ca5077d2bf429d
;;
*)
broken="No distfiles available for this target"
Expand Down
Loading