Compare commits

...

6 Commits

Author SHA1 Message Date
Markus Volk
0f40882e28 gamescope: update
add workaround for bundled libliftoff subproject
2024-05-21 18:23:19 +02:00
Markus Volk
ea73de6c80 nwg-menu: drop thunar from RRECOMMENDS 2024-05-21 15:59:19 +02:00
Markus Volk
d05b9cafe6 nwg-shell: use S = UNPACKDIR 2024-05-21 15:53:00 +02:00
Markus Volk
410b34c168 nwg-dock-hyprland: update 2024-05-21 15:51:47 +02:00
Markus Volk
af2e8affe4 nwg-displays: update 2024-05-21 15:51:15 +02:00
Markus Volk
f86c867611 xcur2png: ignore implicit-int
- add a patch to fix math
2024-05-21 14:48:28 +02:00
11 changed files with 57 additions and 16 deletions

View File

@ -0,0 +1,27 @@
From cda8f7af382f5c5f1e9a395eb03e2b819770d499 Mon Sep 17 00:00:00 2001
From: Yuji Saeki <44311901+YujiSaeki@users.noreply.github.com>
Date: Mon, 1 Jun 2020 22:32:16 +0200
Subject: [PATCH 1/1] fix wrong math
Signed-off-by: Christian Hesse <mail@eworm.de>
---
xcur2png.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xcur2png.c b/xcur2png.c
index 8723a10..f7dd95d 100644
--- a/xcur2png.c
+++ b/xcur2png.c
@@ -586,9 +586,9 @@ int writePngFileFromXcur (const XcursorDim width, const XcursorDim height,
unsigned int red = (pixels[i]>>16) & 0xff;
unsigned int green = (pixels[i]>>8) & 0xff;
unsigned int blue = pixels[i] & 0xff;
- red = (div (red * 256, alpha).quot) & 0xff;
- green = (div (green * 256, alpha).quot) & 0xff;
- blue = (div (blue * 256, alpha).quot) & 0xff;
+ red = (div (red * 255, alpha).quot) & 0xff;
+ green = (div (green * 255, alpha).quot) & 0xff;
+ blue = (div (blue * 255, alpha).quot) & 0xff;
pix[i] = (alpha << 24) + (red << 16) + (green << 8) + blue;
}

View File

@ -5,11 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "libxcursor libpng"
SRC_URI = " \
git://github.com/eworm-de/xcur2png.git;protocol=https;branch=master \
file://0001-fix-wrong-math.patch \
"
S = "${WORKDIR}/git"
SRCREV = "f582d648f37a9ed2de0c8650947487af8a54d3ad"
PV = "0.7.1"
SRC_URI = "git://github.com/eworm-de/xcur2png.git;protocol=https;branch=master"
inherit autotools pkgconfig
CFLAGS += "-Wno-implicit-int"

View File

@ -11,10 +11,11 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-bar.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.5"
SRCREV = "86f75d0856193c1ba1505f6afbc1b73d34c7093a"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -17,8 +17,8 @@ RDEPENDS:${PN} = "\
inherit setuptools3
S = "${WORKDIR}/git"
PV = "0.3.18"
SRCREV = "7d605472029f7b7f07766465329b739a6f2adf7b"
PV = "0.3.19"
SRCREV = "74e907f1a8e9cb2f8e649d7439da11e00c249856"
do_install:append() {
install -d ${D}${datadir}/pixmaps ${D}${datadir}/applications

View File

@ -10,10 +10,11 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock-hyprland.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.8"
SRCREV = "08f399f4baf580274249e42d46e2d788dc28d6a8"
PV = "0.1.9"
SRCREV = "d4cd7439ebfb29238674b94deb120695dd1425f1"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -10,10 +10,11 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.3.9"
SRCREV = "6fdd055eaff282298ea5496d203514b5f99314a0"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -11,10 +11,11 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.4.7"
SRCREV = "0cd48d1631eecb3043ee2c1fed9dfa25ca855375"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -7,9 +7,10 @@ RDEPENDS:${PN} = "xcur2png go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-look"
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};branch=main;protocol=https"
SRCREV = "88f2639445084bf265ad71dba1c7af507c471762"
PV = "0.2.7"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig gtk-icon-cache

View File

@ -10,16 +10,16 @@ DEPENDS = " \
"
RRECOMMENDS:${PN} = " \
thunar \
foot \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-menu.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.3"
SRCREV = "fd8b92ad1ad0c0c7a23fc7a0be942ca0cbe7f7e0"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -13,10 +13,11 @@ RRECOMMENDS:${PN} = " \
GO_IMPORT = "github.com/nwg-piotr/nwgocc.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.0.1"
SRCREV = "782a37014de40f63115825c0b5bd343dee2ba668"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig gtk-icon-cache

View File

@ -24,6 +24,7 @@ DEPENDS += " \
libxtst \
seatd \
stb \
vulkan-loader \
vulkan-headers \
wayland \
wayland-native \
@ -51,8 +52,8 @@ SRC_URI = " \
file://0001-meson.build-dont-fail-if-stb-is-not-found.patch \
file://0001-meson.build-dont-leak-buildpath.patch \
"
SRCREV = "97a2e038105e43fc7b4c78585eefc639ad95319f"
PV = "3.14.15"
SRCREV = "e998f26a6fe4439461dfeaa6dd57c5be0bb46953"
PV = "3.14.16"
S = "${WORKDIR}/git"
@ -62,3 +63,5 @@ EXTRA_OEMESON += "--buildtype release"
FILES:${PN} += "${datadir} ${libdir}"
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
CFLAGS += "-Wno-calloc-transposed-args"