* [PR PATCH] New package: warpd 1.3.5
@ 2023-02-02 12:56 obosob
2023-02-02 13:18 ` [PR PATCH] [Updated] " obosob
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: obosob @ 2023-02-02 12:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
There is a new pull request by obosob against master on the void-packages repository
https://github.com/obosob/void-packages warpd
https://github.com/void-linux/void-packages/pull/42032
New package: warpd 1.3.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42032.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-warpd-42032.patch --]
[-- Type: text/x-diff, Size: 3514 bytes --]
From 824a0a00aa0bb22429269227f536d6eea7b6b325 Mon Sep 17 00:00:00 2001
From: obosob <obosob@riseup.net>
Date: Thu, 2 Feb 2023 12:32:40 +0000
Subject: [PATCH] New package: warpd 1.3.5
---
srcpkgs/warpd/patches/makefile.patch | 74 ++++++++++++++++++++++++++++
srcpkgs/warpd/template | 24 +++++++++
2 files changed, 98 insertions(+)
create mode 100644 srcpkgs/warpd/patches/makefile.patch
create mode 100644 srcpkgs/warpd/template
diff --git a/srcpkgs/warpd/patches/makefile.patch b/srcpkgs/warpd/patches/makefile.patch
new file mode 100644
index 000000000000..fb49861e69e9
--- /dev/null
+++ b/srcpkgs/warpd/patches/makefile.patch
@@ -0,0 +1,74 @@
+diff --git a/Makefile b/Makefile
+index 064ac65..891f791 100644
+--- a/Makefile
++++ b/Makefile
+@@ -11,7 +11,9 @@ ifeq ($(PLATFORM), macos)
+ endif
+
+ %.o: %.c Makefile mk/*.mk
+- $(CC) -c $< -o $@ $(CFLAGS)
++ $(CC) -c $< -o $@ $(DEFS) $(INCLUDES) $(CFLAGS)
++
++DEFS=-DVERSION='"v$(VERSION)$(COMMITSTR)"'
+
+ CFLAGS:=-g\
+ -Wall\
+@@ -20,7 +22,6 @@ CFLAGS:=-g\
+ -Wno-deprecated-declarations\
+ -Wno-unused-parameter\
+ -std=c99\
+- -DVERSION='"v$(VERSION)$(COMMITSTR)"'\
+ -D_DEFAULT_SOURCE \
+ -D_FORTIFY_SOURCE=2 $(CFLAGS)
+
+diff --git a/mk/linux.mk b/mk/linux.mk
+index bdfc558..4c91817 100644
+--- a/mk/linux.mk
++++ b/mk/linux.mk
+@@ -1,25 +1,29 @@
+ CFILES=$(shell find src/platform/linux/*.c src/*.c)
++LIBS=
+
+ ifndef DISABLE_WAYLAND
+- CFLAGS+=-lwayland-client\
++ LIBS+=-lwayland-client\
+ -lxkbcommon\
+ -lcairo\
+ -lrt\
+- -DWARPD_WAYLAND=1
++
++ DEFS+=-DWARPD_WAYLAND=1
+
+ CFILES+=$(shell find src/platform/linux/wayland/ -name '*.c')
+ endif
+
+ ifndef DISABLE_X
+- CFLAGS+=-I/usr/include/freetype2/\
+- -lXfixes\
++ INCLUDES+=-I/usr/include/freetype2
++
++ LIBS+=-lXfixes\
+ -lXext\
+ -lXinerama\
+ -lXi\
+ -lXtst\
+ -lX11\
+- -lXft\
+- -DWARPD_X=1
++ -lXft
++
++ DEFS+=-DWARPD_X=1
+
+ CFILES+=$(shell find src/platform/linux/X/*.c)
+ endif
+@@ -27,8 +31,8 @@ endif
+ OBJECTS=$(CFILES:.c=.o)
+
+ all: $(OBJECTS)
+- -mkdir bin
+- $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS)
++ -mkdir -p bin
++ $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(LIBS)
+ clean:
+ -rm $(OBJECTS)
+ -rm -r bin
diff --git a/srcpkgs/warpd/template b/srcpkgs/warpd/template
new file mode 100644
index 000000000000..a2afb707ca47
--- /dev/null
+++ b/srcpkgs/warpd/template
@@ -0,0 +1,24 @@
+# Template file for 'warpd'
+pkgname=warpd
+version=v1.3.5
+revision=1
+build_style=gnu-makefile
+hostmakedepends=""
+make_build_args="$(vopt_if x11 "" "DISABLE_X=1") $(vopt_if wayland "" "DISABLE_WAYLAND=1")"
+makedepends="$(vopt_if x11 "libXi-devel libXinerama-devel libXft-devel libXfixes-devel libXtst-devel libX11-devel")
+$(vopt_if wayland "wayland-devel cairo-devel libxkbcommon-devel")"
+depends="$(vopt_if x11 "libXi libXinerama libXft libXfixes libXtst libX11")
+$(vopt_if wayland "wayland cairo libxkbcommon")"
+short_desc="A modal keyboard-driven virtual pointer"
+maintainer="obosob <obosob@riseup.net>"
+license="MIT"
+homepage="https://github.com/rvaiya/warpd"
+changelog="https://raw.githubusercontent.com/rvaiya/warpd/master/CHANGELOG.md"
+distfiles="https://github.com/rvaiya/warpd/archive/refs/tags/${version}.tar.gz"
+checksum=708f551c7a3637319cca320a2849c334a69a7294c3bf268a3b2fbd5de6d980af
+
+build_options="x11 wayland"
+build_options_default="$build_options"
+
+desc_option_x11="Enable support for X"
+desc_option_wayland="Enable support for Wayland"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
@ 2023-02-02 13:18 ` obosob
2023-02-02 13:48 ` obosob
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: obosob @ 2023-02-02 13:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
There is an updated pull request by obosob against master on the void-packages repository
https://github.com/obosob/void-packages warpd
https://github.com/void-linux/void-packages/pull/42032
New package: warpd 1.3.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42032.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-warpd-42032.patch --]
[-- Type: text/x-diff, Size: 3561 bytes --]
From e20e6fe4e89e0496ac8f5d86e658e9e87240b8b2 Mon Sep 17 00:00:00 2001
From: obosob <obosob@riseup.net>
Date: Thu, 2 Feb 2023 12:32:40 +0000
Subject: [PATCH] New package: warpd 1.3.5
---
srcpkgs/warpd/patches/makefile.patch | 74 ++++++++++++++++++++++++++++
srcpkgs/warpd/template | 27 ++++++++++
2 files changed, 101 insertions(+)
create mode 100644 srcpkgs/warpd/patches/makefile.patch
create mode 100644 srcpkgs/warpd/template
diff --git a/srcpkgs/warpd/patches/makefile.patch b/srcpkgs/warpd/patches/makefile.patch
new file mode 100644
index 000000000000..fb49861e69e9
--- /dev/null
+++ b/srcpkgs/warpd/patches/makefile.patch
@@ -0,0 +1,74 @@
+diff --git a/Makefile b/Makefile
+index 064ac65..891f791 100644
+--- a/Makefile
++++ b/Makefile
+@@ -11,7 +11,9 @@ ifeq ($(PLATFORM), macos)
+ endif
+
+ %.o: %.c Makefile mk/*.mk
+- $(CC) -c $< -o $@ $(CFLAGS)
++ $(CC) -c $< -o $@ $(DEFS) $(INCLUDES) $(CFLAGS)
++
++DEFS=-DVERSION='"v$(VERSION)$(COMMITSTR)"'
+
+ CFLAGS:=-g\
+ -Wall\
+@@ -20,7 +22,6 @@ CFLAGS:=-g\
+ -Wno-deprecated-declarations\
+ -Wno-unused-parameter\
+ -std=c99\
+- -DVERSION='"v$(VERSION)$(COMMITSTR)"'\
+ -D_DEFAULT_SOURCE \
+ -D_FORTIFY_SOURCE=2 $(CFLAGS)
+
+diff --git a/mk/linux.mk b/mk/linux.mk
+index bdfc558..4c91817 100644
+--- a/mk/linux.mk
++++ b/mk/linux.mk
+@@ -1,25 +1,29 @@
+ CFILES=$(shell find src/platform/linux/*.c src/*.c)
++LIBS=
+
+ ifndef DISABLE_WAYLAND
+- CFLAGS+=-lwayland-client\
++ LIBS+=-lwayland-client\
+ -lxkbcommon\
+ -lcairo\
+ -lrt\
+- -DWARPD_WAYLAND=1
++
++ DEFS+=-DWARPD_WAYLAND=1
+
+ CFILES+=$(shell find src/platform/linux/wayland/ -name '*.c')
+ endif
+
+ ifndef DISABLE_X
+- CFLAGS+=-I/usr/include/freetype2/\
+- -lXfixes\
++ INCLUDES+=-I/usr/include/freetype2
++
++ LIBS+=-lXfixes\
+ -lXext\
+ -lXinerama\
+ -lXi\
+ -lXtst\
+ -lX11\
+- -lXft\
+- -DWARPD_X=1
++ -lXft
++
++ DEFS+=-DWARPD_X=1
+
+ CFILES+=$(shell find src/platform/linux/X/*.c)
+ endif
+@@ -27,8 +31,8 @@ endif
+ OBJECTS=$(CFILES:.c=.o)
+
+ all: $(OBJECTS)
+- -mkdir bin
+- $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS)
++ -mkdir -p bin
++ $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(LIBS)
+ clean:
+ -rm $(OBJECTS)
+ -rm -r bin
diff --git a/srcpkgs/warpd/template b/srcpkgs/warpd/template
new file mode 100644
index 000000000000..a24083aa0f53
--- /dev/null
+++ b/srcpkgs/warpd/template
@@ -0,0 +1,27 @@
+# Template file for 'warpd'
+pkgname=warpd
+version=v1.3.5
+revision=1
+build_style=gnu-makefile
+make_build_args="$(vopt_if x11 "" "DISABLE_X=1") $(vopt_if wayland "" "DISABLE_WAYLAND=1")"
+makedepends="$(vopt_if x11 "libXi-devel libXinerama-devel libXft-devel libXfixes-devel libXtst-devel libX11-devel freetype-devel")
+$(vopt_if wayland "wayland-devel cairo-devel libxkbcommon-devel")"
+depends="$(vopt_if x11 "libXi libXinerama libXft libXfixes libXtst libX11 freetype")
+$(vopt_if wayland "wayland cairo libxkbcommon")"
+short_desc="A modal keyboard-driven virtual pointer"
+maintainer="obosob <obosob@riseup.net>"
+license="MIT"
+homepage="https://github.com/rvaiya/warpd"
+changelog="https://raw.githubusercontent.com/rvaiya/warpd/master/CHANGELOG.md"
+distfiles="https://github.com/rvaiya/warpd/archive/refs/tags/${version}.tar.gz"
+checksum=708f551c7a3637319cca320a2849c334a69a7294c3bf268a3b2fbd5de6d980af
+
+build_options="x11 wayland"
+build_options_default="$build_options"
+
+desc_option_x11="Enable support for X"
+desc_option_wayland="Enable support for Wayland"
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
2023-02-02 13:18 ` [PR PATCH] [Updated] " obosob
@ 2023-02-02 13:48 ` obosob
2023-02-02 14:42 ` obosob
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: obosob @ 2023-02-02 13:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
There is an updated pull request by obosob against master on the void-packages repository
https://github.com/obosob/void-packages warpd
https://github.com/void-linux/void-packages/pull/42032
New package: warpd 1.3.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42032.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-warpd-42032.patch --]
[-- Type: text/x-diff, Size: 3558 bytes --]
From eb50f8f88dfad9642b8dda1549d55ce0b9b434af Mon Sep 17 00:00:00 2001
From: obosob <obosob@riseup.net>
Date: Thu, 2 Feb 2023 12:32:40 +0000
Subject: [PATCH] New package: warpd 1.3.5
---
srcpkgs/warpd/patches/makefile.patch | 74 ++++++++++++++++++++++++++++
srcpkgs/warpd/template | 27 ++++++++++
2 files changed, 101 insertions(+)
create mode 100644 srcpkgs/warpd/patches/makefile.patch
create mode 100644 srcpkgs/warpd/template
diff --git a/srcpkgs/warpd/patches/makefile.patch b/srcpkgs/warpd/patches/makefile.patch
new file mode 100644
index 000000000000..fb49861e69e9
--- /dev/null
+++ b/srcpkgs/warpd/patches/makefile.patch
@@ -0,0 +1,74 @@
+diff --git a/Makefile b/Makefile
+index 064ac65..891f791 100644
+--- a/Makefile
++++ b/Makefile
+@@ -11,7 +11,9 @@ ifeq ($(PLATFORM), macos)
+ endif
+
+ %.o: %.c Makefile mk/*.mk
+- $(CC) -c $< -o $@ $(CFLAGS)
++ $(CC) -c $< -o $@ $(DEFS) $(INCLUDES) $(CFLAGS)
++
++DEFS=-DVERSION='"v$(VERSION)$(COMMITSTR)"'
+
+ CFLAGS:=-g\
+ -Wall\
+@@ -20,7 +22,6 @@ CFLAGS:=-g\
+ -Wno-deprecated-declarations\
+ -Wno-unused-parameter\
+ -std=c99\
+- -DVERSION='"v$(VERSION)$(COMMITSTR)"'\
+ -D_DEFAULT_SOURCE \
+ -D_FORTIFY_SOURCE=2 $(CFLAGS)
+
+diff --git a/mk/linux.mk b/mk/linux.mk
+index bdfc558..4c91817 100644
+--- a/mk/linux.mk
++++ b/mk/linux.mk
+@@ -1,25 +1,29 @@
+ CFILES=$(shell find src/platform/linux/*.c src/*.c)
++LIBS=
+
+ ifndef DISABLE_WAYLAND
+- CFLAGS+=-lwayland-client\
++ LIBS+=-lwayland-client\
+ -lxkbcommon\
+ -lcairo\
+ -lrt\
+- -DWARPD_WAYLAND=1
++
++ DEFS+=-DWARPD_WAYLAND=1
+
+ CFILES+=$(shell find src/platform/linux/wayland/ -name '*.c')
+ endif
+
+ ifndef DISABLE_X
+- CFLAGS+=-I/usr/include/freetype2/\
+- -lXfixes\
++ INCLUDES+=-I/usr/include/freetype2
++
++ LIBS+=-lXfixes\
+ -lXext\
+ -lXinerama\
+ -lXi\
+ -lXtst\
+ -lX11\
+- -lXft\
+- -DWARPD_X=1
++ -lXft
++
++ DEFS+=-DWARPD_X=1
+
+ CFILES+=$(shell find src/platform/linux/X/*.c)
+ endif
+@@ -27,8 +31,8 @@ endif
+ OBJECTS=$(CFILES:.c=.o)
+
+ all: $(OBJECTS)
+- -mkdir bin
+- $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS)
++ -mkdir -p bin
++ $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(LIBS)
+ clean:
+ -rm $(OBJECTS)
+ -rm -r bin
diff --git a/srcpkgs/warpd/template b/srcpkgs/warpd/template
new file mode 100644
index 000000000000..493c757cc02e
--- /dev/null
+++ b/srcpkgs/warpd/template
@@ -0,0 +1,27 @@
+# Template file for 'warpd'
+pkgname=warpd
+version=v1.3.5
+revision=1
+build_style=gnu-makefile
+make_build_args="$(vopt_if x11 "" "DISABLE_X=1") $(vopt_if wayland "" "DISABLE_WAYLAND=1")"
+makedepends="$(vopt_if x11 "libXi-devel libXinerama-devel libXft-devel libXfixes-devel libXtst-devel libX11-devel freetype-devel")
+$(vopt_if wayland "wayland-devel cairo-devel libxkbcommon-devel")"
+depends="$(vopt_if x11 "libXi libXinerama libXft libXfixes libXtst libX11 freetype")
+$(vopt_if wayland "wayland cairo libxkbcommon")"
+short_desc="Modal keyboard-driven virtual pointer"
+maintainer="obosob <obosob@riseup.net>"
+license="MIT"
+homepage="https://github.com/rvaiya/warpd"
+changelog="https://raw.githubusercontent.com/rvaiya/warpd/master/CHANGELOG.md"
+distfiles="https://github.com/rvaiya/warpd/archive/refs/tags/${version}.tar.gz"
+checksum=708f551c7a3637319cca320a2849c334a69a7294c3bf268a3b2fbd5de6d980af
+
+build_options="x11 wayland"
+build_options_default="$build_options"
+
+desc_option_x11="Enable support for X"
+desc_option_wayland="Enable support for Wayland"
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
2023-02-02 13:18 ` [PR PATCH] [Updated] " obosob
2023-02-02 13:48 ` obosob
@ 2023-02-02 14:42 ` obosob
2023-05-06 1:49 ` github-actions
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: obosob @ 2023-02-02 14:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
There is an updated pull request by obosob against master on the void-packages repository
https://github.com/obosob/void-packages warpd
https://github.com/void-linux/void-packages/pull/42032
New package: warpd 1.3.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42032.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-warpd-42032.patch --]
[-- Type: text/x-diff, Size: 3576 bytes --]
From 137a228209f723d4005fcd6268496b65894db464 Mon Sep 17 00:00:00 2001
From: obosob <obosob@riseup.net>
Date: Thu, 2 Feb 2023 12:32:40 +0000
Subject: [PATCH] New package: warpd 1.3.5
---
srcpkgs/warpd/patches/makefile.patch | 74 ++++++++++++++++++++++++++++
srcpkgs/warpd/template | 27 ++++++++++
2 files changed, 101 insertions(+)
create mode 100644 srcpkgs/warpd/patches/makefile.patch
create mode 100644 srcpkgs/warpd/template
diff --git a/srcpkgs/warpd/patches/makefile.patch b/srcpkgs/warpd/patches/makefile.patch
new file mode 100644
index 000000000000..8c7793fc6f8f
--- /dev/null
+++ b/srcpkgs/warpd/patches/makefile.patch
@@ -0,0 +1,74 @@
+diff --git a/Makefile b/Makefile
+index 064ac65..891f791 100644
+--- a/Makefile
++++ b/Makefile
+@@ -11,7 +11,9 @@ ifeq ($(PLATFORM), macos)
+ endif
+
+ %.o: %.c Makefile mk/*.mk
+- $(CC) -c $< -o $@ $(CFLAGS)
++ $(CC) -c $< -o $@ $(DEFS) $(INCLUDES) $(CFLAGS)
++
++DEFS=-DVERSION='"v$(VERSION)$(COMMITSTR)"'
+
+ CFLAGS:=-g\
+ -Wall\
+@@ -20,7 +22,6 @@ CFLAGS:=-g\
+ -Wno-deprecated-declarations\
+ -Wno-unused-parameter\
+ -std=c99\
+- -DVERSION='"v$(VERSION)$(COMMITSTR)"'\
+ -D_DEFAULT_SOURCE \
+ -D_FORTIFY_SOURCE=2 $(CFLAGS)
+
+diff --git a/mk/linux.mk b/mk/linux.mk
+index bdfc558..8611cf0 100644
+--- a/mk/linux.mk
++++ b/mk/linux.mk
+@@ -1,25 +1,29 @@
+ CFILES=$(shell find src/platform/linux/*.c src/*.c)
++LIBS=
+
+ ifndef DISABLE_WAYLAND
+- CFLAGS+=-lwayland-client\
++ LIBS+=-lwayland-client\
+ -lxkbcommon\
+ -lcairo\
+ -lrt\
+- -DWARPD_WAYLAND=1
++
++ DEFS+=-DWARPD_WAYLAND=1
+
+ CFILES+=$(shell find src/platform/linux/wayland/ -name '*.c')
+ endif
+
+ ifndef DISABLE_X
+- CFLAGS+=-I/usr/include/freetype2/\
+- -lXfixes\
++ INCLUDES+=-I$(XBPS_CROSS_BASE)/usr/include/freetype2
++
++ LIBS+=-lXfixes\
+ -lXext\
+ -lXinerama\
+ -lXi\
+ -lXtst\
+ -lX11\
+- -lXft\
+- -DWARPD_X=1
++ -lXft
++
++ DEFS+=-DWARPD_X=1
+
+ CFILES+=$(shell find src/platform/linux/X/*.c)
+ endif
+@@ -27,8 +31,8 @@ endif
+ OBJECTS=$(CFILES:.c=.o)
+
+ all: $(OBJECTS)
+- -mkdir bin
+- $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS)
++ -mkdir -p bin
++ $(CC) -o bin/warpd $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(LIBS)
+ clean:
+ -rm $(OBJECTS)
+ -rm -r bin
diff --git a/srcpkgs/warpd/template b/srcpkgs/warpd/template
new file mode 100644
index 000000000000..493c757cc02e
--- /dev/null
+++ b/srcpkgs/warpd/template
@@ -0,0 +1,27 @@
+# Template file for 'warpd'
+pkgname=warpd
+version=v1.3.5
+revision=1
+build_style=gnu-makefile
+make_build_args="$(vopt_if x11 "" "DISABLE_X=1") $(vopt_if wayland "" "DISABLE_WAYLAND=1")"
+makedepends="$(vopt_if x11 "libXi-devel libXinerama-devel libXft-devel libXfixes-devel libXtst-devel libX11-devel freetype-devel")
+$(vopt_if wayland "wayland-devel cairo-devel libxkbcommon-devel")"
+depends="$(vopt_if x11 "libXi libXinerama libXft libXfixes libXtst libX11 freetype")
+$(vopt_if wayland "wayland cairo libxkbcommon")"
+short_desc="Modal keyboard-driven virtual pointer"
+maintainer="obosob <obosob@riseup.net>"
+license="MIT"
+homepage="https://github.com/rvaiya/warpd"
+changelog="https://raw.githubusercontent.com/rvaiya/warpd/master/CHANGELOG.md"
+distfiles="https://github.com/rvaiya/warpd/archive/refs/tags/${version}.tar.gz"
+checksum=708f551c7a3637319cca320a2849c334a69a7294c3bf268a3b2fbd5de6d980af
+
+build_options="x11 wayland"
+build_options_default="$build_options"
+
+desc_option_x11="Enable support for X"
+desc_option_wayland="Enable support for Wayland"
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
` (2 preceding siblings ...)
2023-02-02 14:42 ` obosob
@ 2023-05-06 1:49 ` github-actions
2023-05-20 1:51 ` [PR PATCH] [Closed]: " github-actions
2024-02-03 15:12 ` IcedQuinn
5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-05-06 1:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/42032#issuecomment-1536974031
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
` (3 preceding siblings ...)
2023-05-06 1:49 ` github-actions
@ 2023-05-20 1:51 ` github-actions
2024-02-03 15:12 ` IcedQuinn
5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-05-20 1:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]
There's a closed pull request on the void-packages repository
New package: warpd 1.3.5
https://github.com/void-linux/void-packages/pull/42032
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
- armv7l
- armv6l-musl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: warpd 1.3.5
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
` (4 preceding siblings ...)
2023-05-20 1:51 ` [PR PATCH] [Closed]: " github-actions
@ 2024-02-03 15:12 ` IcedQuinn
5 siblings, 0 replies; 7+ messages in thread
From: IcedQuinn @ 2024-02-03 15:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/42032#issuecomment-1925354099
Comment:
Why was this closed? Warpd is useful.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-02-03 15:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02 12:56 [PR PATCH] New package: warpd 1.3.5 obosob
2023-02-02 13:18 ` [PR PATCH] [Updated] " obosob
2023-02-02 13:48 ` obosob
2023-02-02 14:42 ` obosob
2023-05-06 1:49 ` github-actions
2023-05-20 1:51 ` [PR PATCH] [Closed]: " github-actions
2024-02-03 15:12 ` IcedQuinn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).