96 Commits

Author SHA1 Message Date
7ff08964e1 sway: update 2024-06-08 12:14:06 +02:00
56ceb15ddc wlroots: update 2024-06-08 12:12:53 +02:00
fe6e10e9f7 hyprland: update 2024-06-08 11:13:14 +02:00
c52a11da4a hyprwayland-scanner: update 2024-06-08 11:06:09 +02:00
ed4ece78c5 gamescope: update 2024-06-08 11:04:58 +02:00
83b77702ec gmobile: fix license 2024-06-06 22:27:06 +02:00
236b327eff waypaper: update 2024-06-06 21:30:04 +02:00
e0a79f28f6 phosh: update 2024-06-06 21:28:58 +02:00
4c91ae8b81 phoc: update 2024-06-06 21:28:29 +02:00
610d93b205 gmobile: update 2024-06-06 21:27:46 +02:00
79586655e8 sofia-sip: workaround for incompatible-pointer-type 2024-06-06 21:27:16 +02:00
a4c603bc48 feedbackd: update 2024-06-06 21:26:54 +02:00
c89408ce4a hyprland-plugins: update 2024-06-05 12:03:34 +02:00
8164dabbd6 hyprland: update 2024-06-05 11:59:12 +02:00
03f144f501 hyprwayland-scanner: update 2024-06-05 11:58:47 +02:00
08eaf05b43 hyprcursor: update 2024-06-05 11:58:25 +02:00
3c7b786f3c waybar: fix do_install:append 2024-06-01 07:54:45 +02:00
761ac51455 libliftoff: update 2024-05-30 23:57:57 +02:00
70ff0f5e28 wlroots-0.16: add workaround to fix build with gcc14 2024-05-30 23:57:12 +02:00
d1ed14536f wlroots: add support for libliftoff 0.5.0
Add a merge request from upstream to support libliftoff 0.5.0
2024-05-30 23:54:45 +02:00
877e8f6b8e autotiling: update 2024-05-29 08:55:59 +02:00
3e89ab7f1a nwg-hello: update 2024-05-29 08:55:35 +02:00
e8c63efd51 fix for some go recipes 2024-05-29 08:54:18 +02:00
fe1e6d236d nwg-shell-config: update 2024-05-29 08:53:37 +02:00
d75566b0e0 azote: update 2024-05-29 08:53:12 +02:00
21caa0fa42 add S = "${WORKDIR}/sources" for go recipes 2024-05-29 08:39:48 +02:00
c38db22ef6 aalib: add various patches
upstream is long dead, add various fixes
2024-05-28 01:31:47 +02:00
0f40882e28 gamescope: update
add workaround for bundled libliftoff subproject
2024-05-21 18:23:19 +02:00
ea73de6c80 nwg-menu: drop thunar from RRECOMMENDS 2024-05-21 15:59:19 +02:00
d05b9cafe6 nwg-shell: use S = UNPACKDIR 2024-05-21 15:53:00 +02:00
410b34c168 nwg-dock-hyprland: update 2024-05-21 15:51:47 +02:00
af2e8affe4 nwg-displays: update 2024-05-21 15:51:15 +02:00
f86c867611 xcur2png: ignore implicit-int
- add a patch to fix math
2024-05-21 14:48:28 +02:00
bb04c59a12 gamescope: update 2024-05-15 09:02:14 +02:00
a2afb2f621 sway: update 2024-05-11 20:32:49 +02:00
735ae44621 wlroots-0.17: update 2024-05-11 20:32:20 +02:00
0b95f5f898 wlroots: update 2024-05-11 20:32:02 +02:00
8db6e60d42 labwc: update 2024-05-11 20:13:03 +02:00
9fe4100915 hyprpicker: fix dependencies 2024-05-11 17:05:59 +02:00
3fd476f31c autotiling: update 2024-05-08 00:14:27 +02:00
dfe9e581ca nwg-shell-config: update 2024-05-07 23:33:41 +02:00
c0ac890612 nwg-panel: update 2024-05-07 23:33:23 +02:00
25f76de845 nwg-menu: update 2024-05-07 23:33:04 +02:00
bd513e89f9 nwg-drawer: fix go build 2024-05-07 23:32:40 +02:00
9b7aacd708 nwg-dock-hyprland: update 2024-05-07 23:31:30 +02:00
5a35a42e80 nwg-dock: update 2024-05-07 23:31:12 +02:00
92944a9322 nwg-bar: update 2024-05-07 23:30:26 +02:00
a42d77abd0 azote: update 2024-05-07 23:30:02 +02:00
ba179957fb nwg-displays: update 2024-05-07 08:26:48 +02:00
e4f1988d6d waybar: update 2024-05-07 06:16:18 +02:00
5d5e03b80d hyprland: update 2024-05-05 08:43:12 +02:00
c7b7537b24 hyprland-plugins: update 2024-05-05 08:39:12 +02:00
3d38ab2ffc hyprpaper: update 2024-05-05 08:38:52 +02:00
5f72d3921b hyprwayland-scanner: update 2024-05-05 08:38:27 +02:00
0de18cc176 gamescope: update 2024-05-02 19:59:42 +02:00
a3a6cac458 Add recipe for sdbus-c++-1
We still need it. At least hyprland has not yet been ported to sdbus-c++-2
2024-05-02 19:53:16 +02:00
d9e48451db nwg-look: dont link shared
If using module mode we cant link shared

This fixes:
| link: duplicated definition of symbol github.com/gotk3/gotk3/glib.(*Object).Unref-fm.(*Object).Unref.func1, from github.com/gotk3/gotk3/gtk and github.com/gotk3/gotk3/gdk
2024-04-30 19:43:19 +02:00
8854ac9daf font-awesome: update 2024-04-30 09:14:52 +02:00
ea8d494f6c gamescope: update 2024-04-30 09:14:09 +02:00
d7778a0666 hyprwayland-scanner: update 2024-04-30 09:13:07 +02:00
1b1ffb7011 playerctl: add missing glib-2.0 dependency 2024-04-30 09:11:06 +02:00
6db0e2c455 hyprland: update 2024-04-25 08:44:03 +02:00
0cb0d2679a hyprwayland-scanner: update 2024-04-25 08:43:42 +02:00
8facdea432 hyprwayland-scanner: update 2024-04-24 01:50:15 +02:00
8c2ba34cd8 hyprland-plugins: update 2024-04-20 15:46:42 +02:00
15e9f6be67 hyprland: update 2024-04-20 15:46:16 +02:00
e9668eb1ad hyprwayland-scanner: add recipe 2024-04-20 15:27:50 +02:00
6ba384d13c hypridle: update 2024-04-19 18:35:28 +02:00
0f8286ad14 yambar: update 2024-04-17 19:23:13 +02:00
7bbf30b8ae fuzzel: update 2024-04-17 19:23:13 +02:00
7ec5ad8ecf fnott: update 2024-04-17 19:23:13 +02:00
c4273bef08 foot: update 2024-04-17 19:08:32 +02:00
f66aa06877 hyprland: update 2024-04-16 18:38:31 +02:00
6f24b2b0c4 hyprland-plugins: uodate 2024-04-16 18:38:16 +02:00
adbbcb8b3d hyprland: update 2024-04-15 17:13:36 +02:00
62317d5643 hyprlang: update 2024-04-15 17:13:20 +02:00
799a848c5e libdisplay-info: make edid-decode dependency optional 2024-04-15 14:47:06 +02:00
9d5c0ae90f wlroots-0.17: update 2024-04-14 19:13:27 +02:00
8d73d44880 gamescope: update
Developer tries hard to build things statically. Rework accordingly
2024-04-14 19:12:59 +02:00
4e675238de libdisplay-info: add dependency for edid-decode-native 2024-04-14 17:33:33 +02:00
c65424edce udis86: remove recipe 2024-04-14 10:51:43 +02:00
7ba60e097d hyprland: cleanup 2024-04-14 10:51:10 +02:00
6a0ed0f3cd sway: update 2024-04-14 10:30:30 +02:00
7820e7dc1d wlroots: update 2024-04-14 10:30:30 +02:00
b941423a34 hyprland: update
Due to non-technical disputes, hyprland and freedektop will move in
different directions from now on. This led to a fork of wlroots. Let
hyprland build its own version of wlroots internally to keep things
maintainable.
2024-04-14 10:07:16 +02:00
428604848e libliftoff: fix for gcc-14 2024-04-14 09:17:45 +02:00
727d1dd3cf foot: update 2024-04-11 06:35:42 +02:00
c4baf81b61 fcft: update 2024-04-11 06:35:14 +02:00
89e776f788 hyprlock: update 2024-04-10 16:17:52 +02:00
f8b1f7aace hyprcursor: update 2024-04-10 15:55:12 +02:00
b508e211a0 hyprland: add recipe for 0.38
update to 0.38.1
2024-04-09 13:31:03 +02:00
e0402132c8 hyprland-plugins: update 2024-04-07 20:02:12 +02:00
df2ef3f690 hyprcursor: update 2024-04-07 20:00:32 +02:00
0cc685fb0f layer.conf: update for master branch 2024-04-05 18:25:26 +02:00
4127159e77 hyprexpo: add recipe; update plugins 2024-04-05 18:24:52 +02:00
d300da1c43 hyprland: update to support hyprexpo 2024-04-05 18:22:46 +02:00
68 changed files with 602 additions and 429 deletions

View File

@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "wayland"
BBFILE_PATTERN_wayland = "^${LAYERDIR}/"
BBFILE_PRIORITY_wayland = "5"
LAYERSERIES_COMPAT_wayland = "scarthgap"
LAYERSERIES_COMPAT_wayland = "scarthgap styhead"
LAYERDEPENDS_wayland = " \
core \

View File

@ -2,7 +2,5 @@ do_install:append:class-target() {
ln -sf ${bindir}/python3 ${D}${bindir}/python
}
PACKAGES:prepend:class-target = "${PN}-as-python "
FILES:${PN}-as-python = "${bindir}/python"
RRECOMMENDS:${PN}-core:append:class-target = " ${PN}-as-python"
FILES:${PN}:class-target += "${bindir}/python"

View File

@ -13,6 +13,6 @@ RDEPENDS:${PN} = "python-i3ipc"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "1.8"
SRCREV = "31207c0ca44ed846763dc6df55316ee7a7d047a8"
PV = "1.9.3"
SRCREV = "b6a8b9af52892a04d75118f79d2aad4edc3df963"

View File

@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
DEPENDS = " \
gmobile \
gsound \
libgudev \
glib-2.0 \
@ -19,8 +20,8 @@ inherit meson pkgconfig features_check gobject-introspection vala
SRC_URI = "gitsm://source.puri.sm/Librem5/feedbackd.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
PV = "0.2.1"
SRCREV = "1104cef50acb0b18a0d545e6a09773e3feb42e5b"
PV = "0.3.0"
SRCREV = "bf6928e47d6fc940986c06428e87a2eb95249ae0"
EXTRA_OEMESON += "-Dtests=false"

View File

@ -4,15 +4,15 @@ HOMEPAGE = "https://fontawesome.com/"
SECTION = "base/fonts"
LICENSE = "CC-BY-4.0 & OFL-1.1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4186e0f8172f263065437f80932efbe1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9b9d97c72a232b7715f2aed4bf4a4d45"
SRC_URI = " \
git://github.com/FortAwesome/Font-Awesome.git;protocol=https;branch=6.x \
"
S = "${WORKDIR}/git"
PV = "6.4.0"
SRCREV = "0698449d50f2b95517562295a59d414afc68b369"
PV = "6.5.2"
SRCREV = "c0f460dca7f7688761120415ff3c9cf7f73119be"
do_install () {

View File

@ -1,53 +0,0 @@
From a9c5d3add6550e27636de3ef86d6eb8bad41874d Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 15 Aug 2023 07:36:31 +0200
Subject: [PATCH] meson.build: add a pkgconfig .pc file
- fix version
- build shared lib and install
- install headers
Upstream-Status: Inappropriate
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index e9f6c62..7e94496 100644
--- a/meson.build
+++ b/meson.build
@@ -99,3 +99,7 @@ summary({
bool_yn: true,
section: 'Build',
)
+
+install_headers('src/gmobile.h' , 'src/gm-cutout.h', 'src/gm-device-info.h', 'src/gm-device-tree.h', 'src/gm-display-panel.h', 'src/gm-error.h', 'src/gm-main.h', 'src/gm-timeout.h', 'src/gm-rect.h')
+pkg = import('pkgconfig')
+pkg.generate(gm_lib)
diff --git a/src/meson.build b/src/meson.build
index ee98a39..8d8fd7d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -37,12 +37,15 @@ gm_c_args = [
'-DG_LOG_DOMAIN="gmobile"',
]
-gm_lib = static_library(
+gm_lib = shared_library(
'gmobile',
gm_sources,
include_directories: root_inc,
c_args: gm_c_args,
- dependencies: gm_deps)
+ dependencies: gm_deps,
+ version: meson.project_version(),
+ install: true,
+)
gmobile_dep = declare_dependency(
include_directories: [root_inc, include_directories('.')],
--
2.41.0

View File

@ -1,18 +1,15 @@
SUMMARY = "gmobile carries some helpers for GNOME on mobile devices"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://src/gm-cutout.c;beginline=1;endline=5;md5=fdd1e77039fe571c0c9aa6280a7e7903"
LICENSE = "GPL-3.0-only & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit meson pkgconfig
inherit meson pkgconfig gobject-introspection
DEPENDS = "glib-2.0 json-glib"
SRC_URI = " \
git://gitlab.gnome.org/World/Phosh/gmobile.git;protocol=https;branch=main \
file://0001-meson.build-create-a-pkgconfig-.pc-file.patch \
"
SRC_URI = "git://gitlab.gnome.org/World/Phosh/gmobile.git;protocol=https;branch=main"
S = "${WORKDIR}/git"
SRCREV = "d5ed9ed758bf0deeb050d861fb08518295a42767"
PV = "0.0.4"
SRCREV = "3f3a8c70f6106e00388075c77982876857b321d8"
PV = "0.2.0"
do_install:append() {
install -m 0644 ${B}/gm-config.h ${D}${includedir}

View File

@ -3,13 +3,14 @@ HOMEPAGE = "https://github.com/AyatanaIndicators/libdbusmenu"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
SRC_URI = "git://github.com/JetBrains/libdbusmenu.git;protocol=https;branch=master"
SRC_URI = "git://github.com/AyatanaIndicators/libdbusmenu.git;protocol=https;branch=master"
DEPENDS = "glib-2.0 json-glib dbus intltool-native libxslt-native"
DEPENDS = "glib-2.0 json-glib dbus intltool-native"
S = "${WORKDIR}/git"
PV = "16.0.4"
SRCREV = "38d7a2ada4b2a08c535491d43a39825868f2b065"
SRCREV = "4d03141aea4e2ad0f04ab73cf1d4f4bcc4a19f6c"
EXTRA_OECONF += "--disable-dumper --disable-gtk --disable-gtk-doc"
CFLAGS += "-Wno-error"

View File

@ -3,14 +3,13 @@ HOMEPAGE = "https://github.com/AyatanaIndicators/libdbusmenu"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
SRC_URI = "git://github.com/JetBrains/libdbusmenu.git;protocol=https;branch=master"
DEPENDS = "glib-2.0 json-glib dbus gtk+ gtk+3 libdbusmenu-glib intltool-native libxslt-native"
DEPENDS = "glib-2.0 json-glib dbus gtk+ gtk+3 libdbusmenu-glib intltool-native"
RDEPENDS:${PN} = "libdbusmenu-glib"
SRC_URI = "git://github.com/AyatanaIndicators/libdbusmenu.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "16.0.4"
SRCREV = "38d7a2ada4b2a08c535491d43a39825868f2b065"
SRCREV = "4d03141aea4e2ad0f04ab73cf1d4f4bcc4a19f6c"
EXTRA_OECONF += "--disable-dumper --disable-gtk-doc"

View File

@ -13,5 +13,7 @@ SRCREV = "92b031749c0fe84ef5cdf895067b84a829920e25"
inherit meson pkgconfig
BBCLASSEXTEND = "native"
PACKAGECONFIG ?= ""
PACKAGECONFIG[test] = ",,edid-decode-native"
BBCLASSEXTEND = "native"

View File

@ -3,12 +3,12 @@ HOMEPAGE = "https://gitlab.freedesktop.org/emersion/libliftoff"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=706cd9899438a9385250ab6773c1fa53"
SRC_URI = "git://gitlab.freedesktop.org/emersion/libliftoff.git;branch=v0.4;protocol=https"
SRC_URI = "git://gitlab.freedesktop.org/emersion/libliftoff.git;branch=master;protocol=https"
DEPENDS = "libdrm"
S = "${WORKDIR}/git"
PV = "0.4.1"
SRCREV = "e045589f37835d66e3ffe8130a597bb4eb9ee08f"
PV = "0.5.0"
SRCREV = "8b08dc1c14fd019cc90ddabe34ad16596b0691f4"
inherit meson pkgconfig

View File

@ -17,3 +17,5 @@ inherit autotools pkgconfig
EXTRA_OECONF += "--with-glib"
CFLAGS += "-Wno-incompatible-pointer-types"

View File

@ -1,21 +0,0 @@
SUMMARY = "Udis86 is a disassembler for the x86 and x86-64 class of instruction set architectures"
HOMEPAGE = "https://github.com/vmt/udis86"
SECTION = "libs"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab079829a9e47b6d81dab3bf5da3f638"
SRC_URI = "git://github.com/canihavesomecoffee/udis86.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "1.7.2"
SRCREV = "5336633af70f3917760a6d441ff02d93477b0c86"
inherit autotools-brokensep pkgconfig python3native
EXTRA_OECONF += "--enable-shared"
do_configure:prepend() {
cd ${S} && ./autogen.sh
}

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

@ -0,0 +1,12 @@
diff -Nur aalib-1.4.0-orig/src/aalinuxkbd.c aalib-1.4.0/src/aalinuxkbd.c
--- aalib-1.4.0-orig/src/aalinuxkbd.c 2001-04-26 16:37:31.000000000 +0200
+++ aalib-1.4.0/src/aalinuxkbd.c 2005-07-01 22:57:59.000000000 +0200
@@ -200,7 +200,7 @@
static int rawmode_init(void)
{
if (!closed)
- return;
+ return 1;
mypid = getpid();
if (tty_fd == -1) {
tty_fd = fileno(stdin);

View File

@ -0,0 +1,106 @@
Add additional system header #include directives for more
function prototypes. This avoids implicit function declarations
and build failures with future compilers.
diff --git a/src/aafire.c b/src/aafire.c
index 4f36149aa84fba57..a59b5c5fa58e085b 100644
--- a/src/aafire.c
+++ b/src/aafire.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include "aalib.h"
#define XSIZ aa_imgwidth(context)
diff --git a/src/aainfo.c b/src/aainfo.c
index d3f6d50f34590638..f4250ee37ae46134 100644
--- a/src/aainfo.c
+++ b/src/aainfo.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aakbdreg.c b/src/aakbdreg.c
index def65fe25646d75a..682616313c1b6ebd 100644
--- a/src/aakbdreg.c
+++ b/src/aakbdreg.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aalib.c b/src/aalib.c
index 11fecc8fe8ef6b59..1ef12c0dfa9026a4 100644
--- a/src/aalib.c
+++ b/src/aalib.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include "aalib.h"
diff --git a/src/aalinuxkbd.c b/src/aalinuxkbd.c
index c7f388abfe9e8c7f..ea988154518dfc8e 100644
--- a/src/aalinuxkbd.c
+++ b/src/aalinuxkbd.c
@@ -8,6 +8,7 @@
*/
#include "config.h"
+#include <stdlib.h>
#ifdef LINUX_DRIVER
#include <sys/time.h>
#include <sys/types.h>
diff --git a/src/aamoureg.c b/src/aamoureg.c
index 03808289eb59b928..6d807416ae0d3dc2 100644
--- a/src/aamoureg.c
+++ b/src/aamoureg.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aaregist.c b/src/aaregist.c
index 54abec0b9797533a..768b8ce29e286b00 100644
--- a/src/aaregist.c
+++ b/src/aaregist.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aasavefont.c b/src/aasavefont.c
index b00e1e6d7f181952..864ba225d5ef626c 100644
--- a/src/aasavefont.c
+++ b/src/aasavefont.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "aalib.h"
int main(int argc, char **argv)
{
diff --git a/src/aatest.c b/src/aatest.c
index 9816f5d855134894..89933cfba6344270 100644
--- a/src/aatest.c
+++ b/src/aatest.c
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include "aalib.h"
int main(int argc, char **argv)
{
diff --git a/src/aaxkbd.c b/src/aaxkbd.c
index f16afc63bb565512..44b91458b4bef3bc 100644
--- a/src/aaxkbd.c
+++ b/src/aaxkbd.c
@@ -7,6 +7,7 @@
#include <X11/Xlib.h>
#include <X11/keysymdef.h>
#include <X11/keysym.h>
+#include <X11/Xutil.h>
#include "aalib.h"
#include "aaint.h"
#include "aaxint.h"

View File

@ -0,0 +1,34 @@
This bug can be seen very clearly with e.g. mplayer -vo aa -monitoraspect 3
in which case a big part of the picture is missing or there is even completely
black output.
The reason for this is, when drawing only a part of the picture via aarender()
the first X coordinate is used for the loop count, but it is not applied to the
destination and source image index, thus instead of (re)drawing the middle part
of the image, it draws always the left part.
Actual Results:
only the left part of the image is draw (depending on the video, only the left
black bar might be draw, so you will see nothing at all - if so use a slightly
smaller value for -monitoraspect).
Expected Results:
All of the image should be drawn, and -monitoraspect should only squeeze the
image, not cause part of it to miss.
Gentoo-bug: http://bugs.gentoo.org/id=214142
Reported-by: Reimar Döffinger
Fixed-by: Reimar Döffinger
--- a/src/aarender.c.orig 2008-03-18 23:55:32.000000000 +0100
+++ b/src/aarender.c 2008-03-18 23:55:50.000000000 +0100
@@ -94,8 +94,8 @@
gamma = randomval / 2;
mval = (c->parameters[c->filltable[255]].p[4]);
for (y = y1; y < y2; y++) {
- pos = 2 * y * wi;
- pos1 = y * aa_scrwidth(c);
+ pos = 2 * (y * wi + x1);
+ pos1 = y * aa_scrwidth(c) + x1;
esum = 0;
for (x = x1; x < x2; x++) {
i1 = table[((((int) c->imagebuffer[pos])))];

View File

@ -0,0 +1,14 @@
--- a/src/aarender.c
+++ b/src/aarender.c
@@ -63,10 +63,10 @@ void aa_renderpalette(aa_context * c, __
errors[0] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[0] == NULL)
dither = AA_ERRORDISTRIB;
- errors[0] += 3;
errors[1] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[1] == NULL)
free(errors[0]), dither = AA_ERRORDISTRIB;
+ errors[0] += 3;
errors[1] += 3;
cur = 0;
}

View File

@ -0,0 +1,23 @@
diff -Naur a/src/aalinuxkbd.c b/src/aalinuxkbd.c
--- a/src/aalinuxkbd.c 2016-12-19 12:40:26.660039735 +0100
+++ b/src/aalinuxkbd.c 2016-12-19 12:42:21.692045971 +0100
@@ -114,6 +114,7 @@
static int vtswitch_allowed;
static char key_down[128];
+static size_t key_down_size = 128;
static int closed = 1;
static int mypid;
@@ -165,10 +166,7 @@
static void blank_key_down(void)
{
- int f;
-
- for (f = 0; f < NR_KEYS; f++)
- key_down[f] = 0;
+ memset(key_down, 0, key_down_size);
}

View File

@ -0,0 +1,25 @@
Index: aalib.m4
===================================================================
RCS file: /cvsroot/aa-project/aalib/aalib.m4,v
retrieving revision 1.2
diff -u -r1.2 aalib.m4
--- a/aalib.m4 3 May 2001 14:56:44 -0000 1.2
+++ b/aalib.m4 28 Mar 2017 08:36:42 -0000
@@ -40,14 +40,14 @@
if test "$AALIB_CONFIG" = "no" ; then
no_aalib=yes
else
- AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
- AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
+ AALIB_CFLAGS=`$AALIB_CONFIG $aalib_args --cflags`
+ AALIB_LIBS=`$AALIB_CONFIG $aalib_args --libs`
aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
+ aalib_micro_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_aalibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"

View File

@ -0,0 +1,39 @@
From 6125c3438e6cf30e1ebd70ca6ac3f1e04481c7a7 Mon Sep 17 00:00:00 2001
From: Gergely Nagy <algernon@madhouse-project.org>
Date: Sat, 30 Jun 2012 13:08:13 +0200
Subject: [PATCH] Typo fix: KEY_MOUDE => KEY_MOUSE
Patch by Sam Hocevar <sam@zoy.org> 17 Nov 2003
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221243
---
src/aacurkbd.c | 2 +-
src/aastdin.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/aacurkbd.c b/src/aacurkbd.c
index 801897b..418b6a3 100644
--- a/src/aacurkbd.c
+++ b/src/aacurkbd.c
@@ -112,7 +112,7 @@ static int curses_getchar(aa_context * c1, int wait)
return (AA_UP);
case KEY_DOWN:
return (AA_DOWN);
-#ifdef KEY_MOUDE
+#ifdef KEY_MOUSE
case KEY_MOUSE:
#ifdef GPM_MOUSEDRIVER
if (!__curses_usegpm)
diff --git a/src/aastdin.c b/src/aastdin.c
index 696d87b..e2dabe4 100644
--- a/src/aastdin.c
+++ b/src/aastdin.c
@@ -88,7 +88,7 @@ static int stdin_getchar(aa_context * c1, int wait)
if (c > 0 && c < 127 && c != 127)
return (c);
switch (c) {
-#ifdef KEY_MOUDE
+#ifdef KEY_MOUSE
case KEY_MOUSE:
return AA_MOUSE
#endif

View File

@ -0,0 +1,14 @@
diff -up aalib-1.4.0/src/aacurses.c.opaque-ncurses-fix aalib-1.4.0/src/aacurses.c
--- aalib-1.4.0/src/aacurses.c.opaque-ncurses-fix 2024-02-10 06:32:32.008267145 -0500
+++ aalib-1.4.0/src/aacurses.c 2024-02-10 06:33:38.648245270 -0500
@@ -71,8 +71,8 @@ static void curses_getsize(aa_context *
{
if (__resized_curses)
curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0;
- *width = stdscr->_maxx + 1;
- *height = stdscr->_maxy + 1;
+ *width = getmaxx(stdscr);
+ *height = getmaxy(stdscr);
#ifdef GPM_MOUSEDRIVER
gpm_mx = *width;
gpm_my = *height;

View File

@ -0,0 +1,11 @@
--- a/aalib.m4 2006-03-05 13:58:21.000000000 +0000
+++ b/aalib.m4 2006-03-05 13:58:32.000000000 +0000
@@ -9,7 +9,7 @@
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
dnl
-AC_DEFUN(AM_PATH_AALIB,
+AC_DEFUN([AM_PATH_AALIB],
[dnl
dnl Get the cflags and libraries from the aalib-config script
dnl

View File

@ -9,10 +9,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
S = "${WORKDIR}/aalib-1.4.0"
SRC_URI = "${SOURCEFORGE_MIRROR}/projects/aa-project/files/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz"
SRC_URI = " \
${SOURCEFORGE_MIRROR}/projects/aa-project/files/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz \
file://aalib-aalinuxkbd-return.patch \
file://aalib-free-offset-pointer.patch \
file://aalib-key-down-OOB.patch \
file://aalib-opaque-ncurses-fix.patch \
file://aclocal-fixes.patch \
file://aalib-c99.patch \
file://aalib-fix-aarender.patch \
file://aalib-m4.patch \
file://aalib-mouse.patch \
"
SRC_URI[sha256sum] = "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"
inherit autotools
CFLAGS:append = " -fPIC "

View File

@ -25,8 +25,8 @@ RDEPENDS:${PN} = " \
inherit setuptools3
S = "${WORKDIR}/git"
PV = "1.12.7"
SRCREV = "73a3cf3cbf3ea059e605c6f5f8f5c25a8e734170"
PV = "1.12.9"
SRCREV = "20849501ee5fecc701d4bdfdbce6d6a320737a7d"
do_configure:prepend() {
[ -d ${S}/dist ] && mv ${S}/dist ${S}/distrib

View File

@ -12,19 +12,19 @@ RDEPENDS:${PN} = "ddcutil"
GO_IMPORT = "github.com/nwg-piotr/ddcpopup.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"
SRCREV = "8fab5132e49e08a1eeaa7a0dd3350d06f4399200"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_compile[network] = "1"
do_install:append() {
mv ${D}${bindir}/main ${D}${bindir}/ddcpopup
# remove precompiled x86 binaries
rm -r ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell@*/example
}

View File

@ -4,13 +4,16 @@ LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b4
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};branch=main;protocol=https"
PV = "0.1.5"
SRCREV = "60e4f83b6c4d84955e0a07f7bdc63d8089b4ba1e"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_compile[network] = "1"

View File

@ -11,10 +11,12 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig

View File

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

View File

@ -10,10 +10,12 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig

View File

@ -10,10 +10,12 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig

View File

@ -11,10 +11,12 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig

View File

@ -16,8 +16,8 @@ RRECOMMENDS:${PN} = "gnome-themes-extra"
inherit setuptools3 useradd
S = "${WORKDIR}/git"
PV = "0.1.8"
SRCREV = "0d207e17ba6e911a7d1536a9a0a8d5c627511709"
PV = "0.2.0"
SRCREV = "aa6a9e4a9024dba8ebaa98af53df82b3c19d379a"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/bash greeter"

View File

@ -7,9 +7,11 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig gtk-icon-cache

View File

@ -10,16 +10,17 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig

View File

@ -17,6 +17,6 @@ RDEPENDS:${PN} = "\
inherit setuptools3
S = "${WORKDIR}/git"
PV = "0.5.37"
SRCREV = "0137ed8f8c999eb72b4dd3db996d25a241e161a8"
PV = "0.5.38"
SRCREV = "2e0710f9540022dc11ea5109677c8a29ebc278eb"

View File

@ -13,14 +13,17 @@ 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 = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig gtk-icon-cache
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() {
install -d \

View File

@ -0,0 +1,36 @@
From bfd49ad17c115899bdec41f5819fef21f622e620 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Thu, 6 Jun 2024 21:21:19 +0200
Subject: [PATCH] meson.build: dont read includedir from pkg-config
This sets includedir to /usr/include which is inappropriate for cross-compiling.
---
src/meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index f9107b26..8bddeace 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -343,12 +343,12 @@ libphosh_sources = files(
]
# See https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/394
-if libsoup_dep.version().version_compare('< 3.5.1')
- libsoup_dep = declare_dependency (
- include_directories: libsoup_dep.get_variable(pkgconfig: 'includedir') / 'libsoup-3.0',
- dependencies: cc.find_library('soup-3.0', required: true),
- )
-endif
+#if libsoup_dep.version().version_compare('< 3.5.1')
+# libsoup_dep = declare_dependency (
+# include_directories: libsoup_dep.get_variable(pkgconfig: 'includedir') / 'libsoup-3.0',
+# dependencies: cc.find_library('soup-3.0', required: true),
+# )
+#endif
phosh_deps = [
libsoup_dep,
--
2.45.1

View File

@ -11,18 +11,18 @@ DEPENDS = " \
evince \
feedbackd \
fribidi \
gcr \
glib-2.0 \
gmobile \
gnome-desktop \
gtk+3 \
gtk4 \
libadwaita \
gcr3 \
libgudev \
libhandy \
libsecret \
networkmanager \
polkit \
pulseaudio \
libsoup-3.0 \
upower \
wayland \
wayland-native \
@ -52,17 +52,14 @@ inherit features_check gsettings meson pkgconfig gtk-icon-cache
SRC_URI = " \
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
file://0001-meson.build-dont-read-includedir-from-pkg-config.patch \
"
S = "${WORKDIR}/git"
PV = "0.36.0"
SRCREV = "62a4ba9d8a38750a49ae6187f3497c54a030be45"
PV = "0.39.0"
SRCREV = "e1e263efc239870e81c2e4d013bf0615f260141f"
EXTRA_OEMESON += "--buildtype=release"
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}"

View File

@ -15,8 +15,8 @@ SRC_URI = " \
"
S = "${WORKDIR}/git"
PV = "0.10.0"
SRCREV = "cc084f5f86776b3b5b9708a99bed49b991eb48af"
PV = "0.10.3"
SRCREV = "e627879b1656ec7352e6382f80ee16d90b377aaf"
DEPENDS += " \
date \
@ -70,8 +70,7 @@ PACKAGECONFIG ?= " \
"
do_install:append() {
install -d ${D}${systemd_user_unitdir}
install -m 0644 ${WORKDIR}/waybar.service ${D}${systemd_user_unitdir}
install -m 0644 ${UNPACKDIR}/waybar.service ${D}${systemd_user_unitdir}
}
FILES:${PN} += "${systemd_user_unitdir}"

View File

@ -9,7 +9,7 @@ RDEPENDS:${PN} = "python3-pygobject python3-importlib-metadata python3-platformd
inherit setuptools3
S = "${WORKDIR}/git"
PV = "2.1.1"
SRCREV = "fda591d59c6ed5a50444c32cd5403260afd2d94b"
PV = "2.1.2"
SRCREV = "e7e853e70f60686bd1656ecafd154026233a7560"
FILES:${PN} += "${datadir}"

View File

@ -9,7 +9,7 @@ SRC_URI = "git://github.com/hyprwm/hyprcursor.git;protocol=https;branch=main"
DEPENDS = "cairo librsvg libzip hyprlang tomlplusplus"
S = "${WORKDIR}/git"
SRCREV = "6742e9d3e2d2e155f8222ae654f03fd1faa1314e"
PV = "0.1.7"
SRCREV = "57298fc4f13c807e50ada2c986a3114b7fc2e621"
PV = "0.1.9"
inherit cmake pkgconfig

View File

@ -0,0 +1,18 @@
SUMMARY = "A plugin to add expo (overlay) for workspaces."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=e6458723c467506fd0c4aea3be2bcf8a"
require hyprland-plugins.inc
DEPENDS = " \
pixman \
libdrm \
hyprland \
"
S = "${WORKDIR}/git/hyprexpo"
inherit meson pkgconfig
FILES:${PN} += "${libdir}/libhyprexpo.so"
FILES:${PN}-dev = ""

View File

@ -1,2 +1,2 @@
SRC_URI = "git://github.com/hyprwm/hyprland-plugins.git;protocol=https;branch=main"
SRCREV = "4334510363a8420f17d88505d13405d5126eabf0"
SRCREV = "e0cad229c3d799c7f72b1217ab2eb300ceecf3ac"

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b5b6bed06dd8ed68f00c26d0b4cede89"
SRC_URI = "git://github.com/hyprwm/hyprlang.git;protocol=https;branch=main"
S = "${WORKDIR}/git"
SRCREV = "a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2"
PV = "0.5.0"
SRCREV = "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706"
PV = "0.5.1"
inherit cmake

View File

@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=936078e4e67b0e1e1bd1e862d4ffbc25"
SRC_URI = "git://github.com/hyprwm/hyprpaper.git;protocol=https;branch=main"
PV = "0.6.0"
SRCREV = "1013a80608891f120184aa7c1a7cfde04bfc96fb"
PV = "0.7.0"
SRCREV = "03cd362f494d6771b4f524f4fafbc28bade00c8e"
S = "${WORKDIR}/git"
DEPENDS += " \

View File

@ -21,7 +21,7 @@ DEPENDS = " \
wayland \
wayland-native \
wayland-protocols \
wlroots \
virtual/libgles3 \
"
RDEPENDS:${PN} = "wl-clipboard"

View File

@ -0,0 +1,17 @@
SUMMARY = "A Hyprland implementation of wayland-scanner, in and for C++."
HOMEPAGE = "https://github.com/hyprwm/hyprwayland-scanner"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprwayland-scanner.git;protocol=https;branch=main"
DEPENDS = "pugixml"
S = "${WORKDIR}/git"
SRCREV = "0f30f9eca6e404130988554accbb64d1c9ec877d"
PV = "0.3.10"
inherit cmake pkgconfig
BBCLASSEXTEND = "native"

View File

@ -136,7 +136,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
-Dtests=false \
-Ddepdatadir=${datadir} \
-Donline=true \

View File

@ -260,7 +260,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
-Dtests=false \
-Ddepdatadir=${datadir} \
-Donline=false \

View File

@ -10,18 +10,18 @@ manually add it to CXXFLAGS
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index d3dec0d..da0affe 100644
index 7f7e793..c61077f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -18,7 +18,7 @@ cap_dep = dependency('libcap', required: false)
@@ -20,7 +20,7 @@ cap_dep = dependency('libcap', required: get_option('rt_cap'))
epoll_dep = dependency('epoll-shim', required: false)
glm_dep = dependency('glm')
sdl_dep = dependency('SDL2')
sdl_dep = dependency('SDL2', required: get_option('sdl2_backend'))
-stb_dep = dependency('stb')
+stb_dep = dependency('stb', required: false)
avif_dep = dependency('libavif', version: '>=1.0.0', required: get_option('avif_screenshots'))
wlroots_dep = dependency(
'wlroots',
--
2.43.0

View File

@ -11,18 +11,18 @@ Signed-off-by: Markus Volk <f_l_k@t-online.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 7af6884..e67146a 100644
index 04bd472..345a2a7 100644
--- a/meson.build
+++ b/meson.build
@@ -62,7 +62,7 @@ endif
add_project_arguments(
'-DHAVE_PIPEWIRE=@0@'.format(pipewire_dep.found().to_int()),
'-DHAVE_OPENVR=@0@'.format(openvr_dep.found().to_int()),
@@ -67,7 +67,7 @@ add_project_arguments(
if hwdata_dep.found()
add_project_arguments(
- '-DHWDATA_PNP_IDS="@0@"'.format(hwdata_dep.get_variable('pkgdatadir') / 'pnp.ids'),
+ '-DHWDATA_PNP_IDS="@0@"'.format(hwdata_dep.get_variable('datadir') / 'hwdata' / 'pnp.ids'),
language: 'cpp',
)
)
else
--
2.43.0

View File

@ -10,11 +10,10 @@ DEPENDS += " \
glm \
glslang-native \
hwdata \
libei \
libdecor \
libdisplay-info \
libinput \
libliftoff \
libsdl2 \
libdrm \
libx11\
libxcomposite \
libxcursor \
@ -25,6 +24,7 @@ DEPENDS += " \
libxtst \
seatd \
stb \
vulkan-loader \
vulkan-headers \
wayland \
wayland-native \
@ -37,20 +37,23 @@ RDEPENDS:${PN} = "xwayland hwdata"
CXXFLAGS:append = " -I${STAGING_INCDIR}/stb"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl pipewire', d)} openvr"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pipewire', d)} rt_cap avif_screenshots openvr input_emulation drm_backend sdl2_backend"
PACKAGECONFIG[benchmark] = "-Dbenchmark=enabled,-Dbenchmark=disabled"
PACKAGECONFIG[input_emulation] = "-Dinput_emulation=enabled,-Dinput_emulation=disabled,libei"
PACKAGECONFIG[openvr] = "-Denable_openvr_support=true,-Denable_openvr_support=false"
PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
PACKAGECONFIG[opengl] = ",,mesa-glut"
PACKAGECONFIG[avif_screenshots] = "-Davif_screenshots=enabled,-Davif_screenshots=disabled,libavif"
PACKAGECONFIG[rt_cap] = "-Drt_cap=enabled,-Drt_cap=disabled,libcap"
PACKAGECONFIG[sdl2_backend] = "-Dsdl2_backend=enabled,-Dsdl2_backend=disabled,libsdl2"
PACKAGECONFIG[drm_backend] = "-Ddrm_backend=enabled,-Ddrm_backend=disabled,libdrm"
SRC_URI = " \
gitsm://github.com/ValveSoftware/gamescope.git;branch=jupiter-3.5;protocol=https \
file://0001-meson.build-dont-leak-buildpath.patch \
SRC_URI = " \
gitsm://github.com/ValveSoftware/gamescope.git;branch=jupiter-3.6;protocol=https \
file://0001-meson.build-dont-fail-if-stb-is-not-found.patch \
file://0001-meson.build-dont-leak-buildpath.patch \
"
SRCREV = "c59b09dbc0c100f604ae603c5f0026c42c62d49c"
PV = "3.13.16.9"
SRCREV = "420eb91387a484fd7b1ea71449091f0480d9e538"
PV = "3.14.18"
S = "${WORKDIR}/git"
@ -60,3 +63,5 @@ EXTRA_OEMESON += "--buildtype release"
FILES:${PN} += "${datadir} ${libdir}"
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
CFLAGS += "-Wno-calloc-transposed-args"

View File

@ -1,52 +0,0 @@
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://hyprland.org/"
SECTION = "graphics"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a08367f3a4cd5301ba8b88eded36b8fd"
REQUIRED_DISTRO_FEATURES = "wayland opengl"
DEPENDS += " \
virtual/egl \
cairo \
wayland \
wayland-native \
jq-native \
pango \
pixman \
libdrm \
libxkbcommon \
libinput \
udis86 \
wlroots-0.17 \
"
RRECOMMENDS:${PN} ?= " \
foot \
jq \
grim \
slurp \
wl-clipboard \
hyprland-contrib \
"
SRC_URI = " \
gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main \
file://meson-build.patch \
"
SRCREV = "9afdd61adeaf413afbe853dbc5fdf6853c8bde21"
PV = "0.32.3"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)}"
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
PACKAGECONFIG[legacy_renderer] = "-Dlegacy_renderer=enabled,-Dlegacy_renderer=disabled"
FILES:${PN} += "${datadir}"

View File

@ -1,60 +0,0 @@
From 19e0c04a57bfb3677caf1ac8c22527b066666a95 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Sun, 23 Jul 2023 10:19:54 +0200
Subject: [PATCH] hyprland: update
---
meson.build | 17 +----------------
src/meson.build | 6 +++---
2 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/meson.build b/meson.build
index 1d2c7f9f..c5ef4e67 100644
--- a/meson.build
+++ b/meson.build
@@ -33,20 +33,7 @@ if cpp_compiler.check_header('execinfo.h')
add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
endif
-wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2'])
-have_xwlr = wlroots.get_variable('features').get('xwayland')
-xcb_dep = dependency('xcb', required: get_option('xwayland'))
-
-cmake = import('cmake')
-udis = cmake.subproject('udis86')
-udis86 = udis.dependency('libudis86')
-
-if get_option('xwayland').enabled() and not have_xwlr
- error('Cannot enable Xwayland in Hyprland: wlroots has been built without Xwayland support')
-endif
-have_xwayland = xcb_dep.found() and have_xwlr
-
-if not have_xwayland
+if get_option('xwayland').disabled()
add_project_arguments('-DNO_XWAYLAND', language: 'cpp')
endif
diff --git a/src/meson.build b/src/meson.build
index 0af864b9..38723b8c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -9,16 +9,16 @@ executable('Hyprland', src,
server_protos,
dependency('wayland-server'),
dependency('wayland-client'),
- wlroots.get_variable('wlroots'),
+ dependency('wlroots'),
dependency('cairo'),
dependency('libdrm'),
dependency('egl'),
dependency('xkbcommon'),
dependency('libinput'),
- xcb_dep,
+ dependency('xcb', required: get_option('xwayland')),
backtrace_dep,
systemd_dep,
- udis86,
+ dependency('udis86'),
dependency('pixman-1'),
dependency('gl', 'opengl'),

View File

@ -12,17 +12,19 @@ DEPENDS += " \
hyprcursor \
hyprlang \
jq-native \
hwdata-native \
libdisplay-info \
libliftoff \
libdrm \
libinput \
libxkbcommon \
pango \
pixman \
seatd \
tomlplusplus \
udis86 \
virtual/egl \
wayland \
wayland-native \
wlroots \
"
RRECOMMENDS:${PN} ?= " \
@ -34,10 +36,7 @@ RRECOMMENDS:${PN} ?= " \
hyprland-contrib \
"
SRC_URI = " \
gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=v0.38.1-b \
file://meson-build.patch \
"
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=v0.38.1-b"
SRCREV = "360ede79d124ffdeebbe8401f1ac4bc0dbec2c91"
S = "${WORKDIR}/git"

View File

@ -1,71 +0,0 @@
From 596cf2f2e1cbe68ce5673711d84cbfd576d40db1 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Sun, 23 Jul 2023 10:19:54 +0200
Subject: [PATCH] hyprland: update
---
meson.build | 17 +----------------
src/meson.build | 6 +++---
2 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/meson.build b/meson.build
index 81d6e403..04503a3c 100644
--- a/meson.build
+++ b/meson.build
@@ -33,20 +33,7 @@ if cpp_compiler.check_header('execinfo.h')
add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
endif
-wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2'])
-have_xwlr = wlroots.get_variable('features').get('xwayland')
-xcb_dep = dependency('xcb', required: get_option('xwayland'))
-
-cmake = import('cmake')
-udis = cmake.subproject('udis86')
-udis86 = udis.dependency('libudis86')
-
-if get_option('xwayland').enabled() and not have_xwlr
- error('Cannot enable Xwayland in Hyprland: wlroots has been built without Xwayland support')
-endif
-have_xwayland = xcb_dep.found() and have_xwlr
-
-if not have_xwayland
+if get_option('xwayland').disabled()
add_project_arguments('-DNO_XWAYLAND', language: 'cpp')
endif
@@ -69,8 +56,6 @@ if get_option('buildtype') == 'debug'
add_project_arguments('-DHYPRLAND_DEBUG', language: 'cpp')
endif
-version_h = run_command('sh', '-c', 'scripts/generateVersion.sh')
-
globber = run_command('find', 'src', '-name', '*.h*', check: true)
headers = globber.stdout().strip().split('\n')
foreach file : headers
diff --git a/src/meson.build b/src/meson.build
index 59771fcf..a77349c4 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -9,7 +9,7 @@ executable('Hyprland', src,
server_protos,
dependency('wayland-server'),
dependency('wayland-client'),
- wlroots.get_variable('wlroots'),
+ dependency('wlroots'),
dependency('cairo'),
dependency('hyprcursor'),
dependency('hyprlang', version: '>= 0.3.2'),
@@ -17,10 +17,10 @@ executable('Hyprland', src,
dependency('egl'),
dependency('xkbcommon'),
dependency('libinput'),
- xcb_dep,
+ dependency('xcb', required: get_option('xwayland')),
backtrace_dep,
systemd_dep,
- udis86,
+ dependency('udis86'),
dependency('pixman-1'),
dependency('gl', 'opengl'),

View File

@ -12,17 +12,22 @@ DEPENDS += " \
hyprcursor \
hyprlang \
jq-native \
hwdata-native \
libdisplay-info \
libliftoff \
libdrm \
libinput \
libxkbcommon \
pango \
pixman \
seatd \
tomlplusplus \
udis86 \
util-linux-libuuid \
virtual/egl \
wayland \
wayland-native \
wlroots \
xcb-util-errors \
hyprwayland-scanner-native \
"
RRECOMMENDS:${PN} ?= " \
@ -34,13 +39,10 @@ RRECOMMENDS:${PN} ?= " \
hyprland-contrib \
"
SRC_URI = " \
gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main \
file://meson-build.patch \
"
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main"
SRCREV = "3875679755014997776e091ff8903acfb311dd2f"
PV = "0.38.0"
SRCREV = "6967a31450441fc5605c05db6f65505dace4b263"
PV = "0.40"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check

View File

@ -14,9 +14,9 @@ DEPENDS += " \
gtk+3 \
"
SRC_URI = "git://github.com/labwc/labwc-tweaks.git;protocol=https;branch=master"
SRC_URI = "git://github.com/labwc/labwc-tweaks-gtk.git;protocol=https;branch=master"
SRCREV = "1604f64cc62e4800ee04a6e1c323a48ee8140d83"
SRCREV = "67adbedd610a1b44e7ba667ae72a5c9b07105119"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check

View File

@ -28,14 +28,14 @@ RRECOMMENDS:${PN} ?= " \
slurp \
wl-clipboard \
labwc-menu-generator \
labwc-tweaks \
labwc-tweaks-gtk \
swaybg \
"
SRC_URI = "git://github.com/labwc/labwc.git;protocol=https;branch=master"
SRCREV = "59014e507175971e84af2b846b6b3a2c232cce7f"
PV = "0.7.1"
SRCREV = "b41af54a1bd7d9270d19de4c9a2b77d882cf3ede"
PV = "0.7.2"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check gettext

View File

@ -1,34 +0,0 @@
From 92e876d5f678228971512045144b0e8b572b9953 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 15 Aug 2023 07:23:23 +0200
Subject: [PATCH] meson.build: dont build subprojects
Upstream-Status: Inappropriate
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meson.build | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/meson.build b/meson.build
index 77b8971..e5b0908 100644
--- a/meson.build
+++ b/meson.build
@@ -40,13 +40,7 @@ wayland_protos = dependency('wayland-protocols', version: '>=1.15')
wayland_server = dependency('wayland-server')
xkbcommon = dependency('xkbcommon')
math = cc.find_library('m')
-gmobile = subproject('gmobile',
- default_options: [
- 'examples=false',
- 'gtk_doc=false',
- 'tests=false',
- ])
-gmobile_dep = gmobile.get_variable('gmobile_dep')
+gmobile_dep = dependency('gmobile', version: '>= 0.0.3')
embed_wlroots = get_option('embed-wlroots')
--
2.41.0

View File

@ -24,13 +24,11 @@ DEPENDS += " \
"
SRC_URI = " \
git://gitlab.gnome.org/World/Phosh/phoc.git;protocol=https;nobranch=1 \
file://0001-meson.build-dont-build-subprojects.patch \
"
git://gitlab.gnome.org/World/Phosh/phoc.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
PV = "0.36.0"
SRCREV = "70bbce162e4736a43a4e7bf5fad308e476a4b340"
PV = "0.39.0"
SRCREV = "3d01448739b7e5605238301e473a063c7955ab21"
inherit features_check gsettings meson pkgconfig

View File

@ -39,7 +39,7 @@ RRECOMMENDS:${PN} ?= " \
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master"
SRCREV = "2b08e79061db583d0ffe46114c48f958a0d3e6ed"
SRCREV = "40ca4150b27a5b94938b6c3d744f74bb26d347f7"
PV = "1.10-dev"
S = "${WORKDIR}/git"
@ -53,10 +53,9 @@ PACKAGECONFIG[swaybar] = "-Dswaybar=true,-Dswaybar=false"
PACKAGECONFIG[swaynag] = "-Dswaynag=true,-Dswaynag=false"
PACKAGECONFIG[systemd] = "-Dsd-bus-provider=libsystemd,,systemd"
PACKAGECONFIG[tray] = "-Dtray=enabled,-Dtray=disabled"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
default-wallpaper \
gdk-pixbuf \
"

View File

@ -47,6 +47,8 @@ inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
CFLAGS += "-Wno-calloc-transposed-args"
do_install:append() {
install -d ${D}${bindir}
install -m 0755 ${B}/tinywl/tinywl ${D}${bindir}/tinywl-0.16

View File

@ -39,8 +39,9 @@ PACKAGECONFIG ?= " \
"
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=0.17;protocol=https"
SRCREV = "6dce6ae2ed92544b9758b194618e21f4c97f1d6b"
PV = "0.17.2"
SRC_URI += "file://backend-drm-add-support-for-libliftoff-v0.5.0.patch"
SRCREV = "bc73e507abd1e8319353a8601f1f8ebfe17307ee"
PV = "0.17.3"
S = "${WORKDIR}/git"

View File

@ -0,0 +1,51 @@
From 8b1628adcf530fd5396f62479175e486126efc7c Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Tue, 28 May 2024 00:30:33 +0200
Subject: [PATCH] backend/drm: add support for libliftoff v0.5.0
Don't require libliftoff 0.5.0 just yet: we want to be able to
backport this patch.
---
backend/drm/libliftoff.c | 5 +++++
backend/drm/meson.build | 1 +
2 files changed, 6 insertions(+)
diff --git a/backend/drm/libliftoff.c b/backend/drm/libliftoff.c
index a3b61540..12dd8fdb 100644
--- a/backend/drm/libliftoff.c
+++ b/backend/drm/libliftoff.c
@@ -7,6 +7,7 @@
#include "backend/drm/drm.h"
#include "backend/drm/iface.h"
+#include "config.h"
static bool init(struct wlr_drm_backend *drm) {
// TODO: lower log level
@@ -436,7 +437,11 @@ static bool crtc_commit(struct wlr_drm_connector *conn,
goto out;
}
+#if HAVE_LIBLIFTOFF_0_5
+ int ret = liftoff_output_apply(crtc->liftoff, req, flags, NULL);
+#else
int ret = liftoff_output_apply(crtc->liftoff, req, flags);
+#endif
if (ret != 0) {
wlr_drm_conn_log(conn, test_only ? WLR_DEBUG : WLR_ERROR,
"liftoff_output_apply failed: %s", strerror(-ret));
diff --git a/backend/drm/meson.build b/backend/drm/meson.build
index 5d2f2b1f8c..7c00b0f085 100644
--- a/backend/drm/meson.build
+++ b/backend/drm/meson.build
@@ -48,6 +48,7 @@ wlr_files += files(
if libliftoff.found()
wlr_files += files('libliftoff.c')
+ internal_config.set10('HAVE_LIBLIFTOFF_0_5', libliftoff.version().version_compare('>=0.5.0'))
endif
features += { 'drm-backend': true }
--
GitLab

View File

@ -15,7 +15,6 @@ DEPENDS += " \
hwdata-native \
libdisplay-info \
libdrm \
libliftoff \
libxkbcommon \
pixman \
seatd \
@ -27,6 +26,7 @@ DEPENDS += " \
PACKAGECONFIG[opengl] = ",,virtual/egl virtual/libgles2"
PACKAGECONFIG[gbm] = ",,virtual/libgbm"
PACKAGECONFIG[libinput] = ",,libinput"
PACKAGECONFIG[libliftoff] = "-Dlibliftoff=enabled,-Dlibliftoff=disabled,libliftoff"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
@ -36,10 +36,11 @@ PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-u
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd vulkan x11 xwayland opengl', d)} \
libinput \
libliftoff \
"
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=master;protocol=https"
SRCREV = "50eae512d9cecbf0b3b1898bb1f0b40fa05fe19b"
SRCREV = "385c9ade5f7a8ce9e5c13f762d56e6bd1c8d1b0a"
PV = "0.18.0-dev"
S = "${WORKDIR}/git"
@ -52,3 +53,6 @@ do_install:append() {
install -d ${D}${bindir}
install -m 0755 ${B}/tinywl/tinywl ${D}${bindir}
}
FILES:${PN} += "${libdir}/libwlroots-*.so"
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"