Compare commits

..

No commits in common. "0f40882e28d558e06420a8b6742cb3efedba2548" and "bb04c59a12d42651d264cb013bef3df6361413b1" have entirely different histories.

11 changed files with 16 additions and 57 deletions

View File

@ -1,27 +0,0 @@
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,16 +5,11 @@ 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,11 +11,10 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-bar.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${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.19"
SRCREV = "74e907f1a8e9cb2f8e649d7439da11e00c249856"
PV = "0.3.18"
SRCREV = "7d605472029f7b7f07766465329b739a6f2adf7b"
do_install:append() {
install -d ${D}${datadir}/pixmaps ${D}${datadir}/applications

View File

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

View File

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

View File

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

View File

@ -7,10 +7,9 @@ RDEPENDS:${PN} = "xcur2png go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-look"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};branch=main;protocol=https"
SRC_URI = "git://${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};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.3"
SRCREV = "fd8b92ad1ad0c0c7a23fc7a0be942ca0cbe7f7e0"
S = "${UNPACKDIR}"
inherit go go-mod pkgconfig

View File

@ -13,11 +13,10 @@ RRECOMMENDS:${PN} = " \
GO_IMPORT = "github.com/nwg-piotr/nwgocc.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
SRC_URI = "git://${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,7 +24,6 @@ DEPENDS += " \
libxtst \
seatd \
stb \
vulkan-loader \
vulkan-headers \
wayland \
wayland-native \
@ -52,8 +51,8 @@ SRC_URI = " \
file://0001-meson.build-dont-fail-if-stb-is-not-found.patch \
file://0001-meson.build-dont-leak-buildpath.patch \
"
SRCREV = "e998f26a6fe4439461dfeaa6dd57c5be0bb46953"
PV = "3.14.16"
SRCREV = "97a2e038105e43fc7b4c78585eefc639ad95319f"
PV = "3.14.15"
S = "${WORKDIR}/git"
@ -63,5 +62,3 @@ EXTRA_OEMESON += "--buildtype release"
FILES:${PN} += "${datadir} ${libdir}"
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
CFLAGS += "-Wno-calloc-transposed-args"