Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: openrgb-0.3
@ 2020-08-09  5:42 cpixl
  2020-08-09  6:09 ` [PR PATCH] [Updated] " cpixl
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: cpixl @ 2020-08-09  5:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

There is a new pull request by cpixl against master on the void-packages repository

https://github.com/cpixl/void-packages openrgb
https://github.com/void-linux/void-packages/pull/24150

New package: openrgb-0.3


A patch file from https://github.com/void-linux/void-packages/pull/24150.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openrgb-24150.patch --]
[-- Type: text/x-diff, Size: 2399 bytes --]

From 41bf2de3d378b15ae865b09aef587786515b3ef7 Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Sun, 9 Aug 2020 02:40:28 -0300
Subject: [PATCH] New package: openrgb-0.3

---
 srcpkgs/openrgb/files/openrgb.conf    |  1 +
 srcpkgs/openrgb/files/openrgb/log/run |  2 ++
 srcpkgs/openrgb/files/openrgb/run     |  2 ++
 srcpkgs/openrgb/template              | 21 +++++++++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/openrgb/files/openrgb.conf
 create mode 100755 srcpkgs/openrgb/files/openrgb/log/run
 create mode 100755 srcpkgs/openrgb/files/openrgb/run
 create mode 100644 srcpkgs/openrgb/template

diff --git a/srcpkgs/openrgb/files/openrgb.conf b/srcpkgs/openrgb/files/openrgb.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/openrgb/files/openrgb/log/run b/srcpkgs/openrgb/files/openrgb/log/run
new file mode 100755
index 00000000000..12023ee0eca
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t openrgb -p daemon.info
diff --git a/srcpkgs/openrgb/files/openrgb/run b/srcpkgs/openrgb/files/openrgb/run
new file mode 100755
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/openrgb/template b/srcpkgs/openrgb/template
new file mode 100644
index 00000000000..248a06b7aee
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -0,0 +1,21 @@
+# Template file for 'openrgb'
+pkgname=openrgb
+version=0.3
+revision=1
+wrksrc="OpenRGB-release_${version}"
+build_style=qmake
+hostmakedepends="pkg-config qt5-devel"
+makedepends="hidapi-devel libusb-devel"
+short_desc="Configuration utility for RGB lights in motherboards, RAM & peripherals"
+maintainer="Daniel Santana <daniel@santana.tech>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+changelog="https://gitlab.com/CalcProgrammer1/OpenRGB/-/releases"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
+
+post_install() {
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d/
+	vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d/
+	vsv openrgb
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
@ 2020-08-09  6:09 ` cpixl
  2020-08-09  6:22 ` cpixl
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: cpixl @ 2020-08-09  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

There is an updated pull request by cpixl against master on the void-packages repository

https://github.com/cpixl/void-packages openrgb
https://github.com/void-linux/void-packages/pull/24150

New package: openrgb-0.3


A patch file from https://github.com/void-linux/void-packages/pull/24150.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openrgb-24150.patch --]
[-- Type: text/x-diff, Size: 2409 bytes --]

From f5cb4bc70fd01e743b0e07d61da56f428970539f Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Sun, 9 Aug 2020 02:40:28 -0300
Subject: [PATCH] New package: openrgb-0.3

---
 srcpkgs/openrgb/files/openrgb.conf    |  1 +
 srcpkgs/openrgb/files/openrgb/log/run |  2 ++
 srcpkgs/openrgb/files/openrgb/run     |  2 ++
 srcpkgs/openrgb/template              | 21 +++++++++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/openrgb/files/openrgb.conf
 create mode 100755 srcpkgs/openrgb/files/openrgb/log/run
 create mode 100755 srcpkgs/openrgb/files/openrgb/run
 create mode 100644 srcpkgs/openrgb/template

diff --git a/srcpkgs/openrgb/files/openrgb.conf b/srcpkgs/openrgb/files/openrgb.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/openrgb/files/openrgb/log/run b/srcpkgs/openrgb/files/openrgb/log/run
new file mode 100755
index 00000000000..12023ee0eca
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t openrgb -p daemon.info
diff --git a/srcpkgs/openrgb/files/openrgb/run b/srcpkgs/openrgb/files/openrgb/run
new file mode 100755
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/openrgb/template b/srcpkgs/openrgb/template
new file mode 100644
index 00000000000..31685150d13
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -0,0 +1,21 @@
+# Template file for 'openrgb'
+pkgname=openrgb
+version=0.3
+revision=1
+wrksrc="OpenRGB-release_${version}"
+build_style=qmake
+hostmakedepends="pkg-config qt5-qmake"
+makedepends="qt5-devel hidapi-devel libusb-devel"
+short_desc="Configuration utility for RGB lights in motherboards, RAM & peripherals"
+maintainer="Daniel Santana <daniel@santana.tech>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+changelog="https://gitlab.com/CalcProgrammer1/OpenRGB/-/releases"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
+
+post_install() {
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d/
+	vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d/
+	vsv openrgb
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
  2020-08-09  6:09 ` [PR PATCH] [Updated] " cpixl
@ 2020-08-09  6:22 ` cpixl
  2020-08-09  6:48 ` cpixl
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: cpixl @ 2020-08-09  6:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

There is an updated pull request by cpixl against master on the void-packages repository

https://github.com/cpixl/void-packages openrgb
https://github.com/void-linux/void-packages/pull/24150

New package: openrgb-0.3


A patch file from https://github.com/void-linux/void-packages/pull/24150.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openrgb-24150.patch --]
[-- Type: text/x-diff, Size: 2424 bytes --]

From 4e13f4831dbf40f55e220138dbaa1e9046f672a4 Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Sun, 9 Aug 2020 02:40:28 -0300
Subject: [PATCH] New package: openrgb-0.3

---
 srcpkgs/openrgb/files/openrgb.conf    |  1 +
 srcpkgs/openrgb/files/openrgb/log/run |  2 ++
 srcpkgs/openrgb/files/openrgb/run     |  2 ++
 srcpkgs/openrgb/template              | 21 +++++++++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/openrgb/files/openrgb.conf
 create mode 100755 srcpkgs/openrgb/files/openrgb/log/run
 create mode 100755 srcpkgs/openrgb/files/openrgb/run
 create mode 100644 srcpkgs/openrgb/template

diff --git a/srcpkgs/openrgb/files/openrgb.conf b/srcpkgs/openrgb/files/openrgb.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/openrgb/files/openrgb/log/run b/srcpkgs/openrgb/files/openrgb/log/run
new file mode 100755
index 00000000000..12023ee0eca
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t openrgb -p daemon.info
diff --git a/srcpkgs/openrgb/files/openrgb/run b/srcpkgs/openrgb/files/openrgb/run
new file mode 100755
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/openrgb/template b/srcpkgs/openrgb/template
new file mode 100644
index 00000000000..c1be4b945b2
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -0,0 +1,21 @@
+# Template file for 'openrgb'
+pkgname=openrgb
+version=0.3
+revision=1
+wrksrc="OpenRGB-release_${version}"
+build_style=qmake
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
+makedepends="qt5-devel hidapi-devel libusb-devel"
+short_desc="Configuration utility for RGB lights in motherboards, RAM & peripherals"
+maintainer="Daniel Santana <daniel@santana.tech>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+changelog="https://gitlab.com/CalcProgrammer1/OpenRGB/-/releases"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
+
+post_install() {
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d/
+	vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d/
+	vsv openrgb
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
  2020-08-09  6:09 ` [PR PATCH] [Updated] " cpixl
  2020-08-09  6:22 ` cpixl
@ 2020-08-09  6:48 ` cpixl
  2020-08-17 10:30 ` Chocimier
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: cpixl @ 2020-08-09  6:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

There is an updated pull request by cpixl against master on the void-packages repository

https://github.com/cpixl/void-packages openrgb
https://github.com/void-linux/void-packages/pull/24150

New package: openrgb-0.3


A patch file from https://github.com/void-linux/void-packages/pull/24150.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openrgb-24150.patch --]
[-- Type: text/x-diff, Size: 2424 bytes --]

From e9dab885ca76ae8c2dccb20b8770f32dc8cacd7c Mon Sep 17 00:00:00 2001
From: Daniel Santana <daniel@santana.tech>
Date: Sun, 9 Aug 2020 02:40:28 -0300
Subject: [PATCH] New package: openrgb-0.3

---
 srcpkgs/openrgb/files/openrgb.conf    |  1 +
 srcpkgs/openrgb/files/openrgb/log/run |  2 ++
 srcpkgs/openrgb/files/openrgb/run     |  2 ++
 srcpkgs/openrgb/template              | 21 +++++++++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/openrgb/files/openrgb.conf
 create mode 100755 srcpkgs/openrgb/files/openrgb/log/run
 create mode 100755 srcpkgs/openrgb/files/openrgb/run
 create mode 100644 srcpkgs/openrgb/template

diff --git a/srcpkgs/openrgb/files/openrgb.conf b/srcpkgs/openrgb/files/openrgb.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/openrgb/files/openrgb/log/run b/srcpkgs/openrgb/files/openrgb/log/run
new file mode 100755
index 00000000000..12023ee0eca
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t openrgb -p daemon.info
diff --git a/srcpkgs/openrgb/files/openrgb/run b/srcpkgs/openrgb/files/openrgb/run
new file mode 100755
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/openrgb/files/openrgb/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/openrgb/template b/srcpkgs/openrgb/template
new file mode 100644
index 00000000000..c1be4b945b2
--- /dev/null
+++ b/srcpkgs/openrgb/template
@@ -0,0 +1,21 @@
+# Template file for 'openrgb'
+pkgname=openrgb
+version=0.3
+revision=1
+wrksrc="OpenRGB-release_${version}"
+build_style=qmake
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
+makedepends="qt5-devel hidapi-devel libusb-devel"
+short_desc="Configuration utility for RGB lights in motherboards, RAM & peripherals"
+maintainer="Daniel Santana <daniel@santana.tech>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+changelog="https://gitlab.com/CalcProgrammer1/OpenRGB/-/releases"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=905bb7b824344162207a831ecd6c89c8c6d46ea2747e20ce50c59d8a0aa74602
+
+post_install() {
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d/
+	vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d/
+	vsv openrgb
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
                   ` (2 preceding siblings ...)
  2020-08-09  6:48 ` cpixl
@ 2020-08-17 10:30 ` Chocimier
  2020-10-06 12:39 ` Piraty
  2020-10-06 12:39 ` [PR PATCH] [Closed]: " Piraty
  5 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2020-08-17 10:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/24150#issuecomment-674801000

Comment:
Please join forces with #22588 .

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
                   ` (3 preceding siblings ...)
  2020-08-17 10:30 ` Chocimier
@ 2020-10-06 12:39 ` Piraty
  2020-10-06 12:39 ` [PR PATCH] [Closed]: " Piraty
  5 siblings, 0 replies; 9+ messages in thread
From: Piraty @ 2020-10-06 12:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/24150#issuecomment-704240660

Comment:
close in favor of #22588

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Closed]: New package: openrgb-0.3
  2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
                   ` (4 preceding siblings ...)
  2020-10-06 12:39 ` Piraty
@ 2020-10-06 12:39 ` Piraty
  5 siblings, 0 replies; 9+ messages in thread
From: Piraty @ 2020-10-06 12:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

There's a closed pull request on the void-packages repository

New package: openrgb-0.3
https://github.com/void-linux/void-packages/pull/24150

Description:


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
  2020-10-06 18:03 ` [PR PATCH] [Updated] New package: OpenRGB-0.3 NeelChotai
@ 2020-10-06 18:05 ` NeelChotai
  1 sibling, 0 replies; 9+ messages in thread
From: NeelChotai @ 2020-10-06 18:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.3


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 5124 bytes --]

From e24ca6d15c9ef320884858f7813ca3e5a0eb0f99 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.4

---
 srcpkgs/OpenRGB/INSTALL.msg                   |  6 ++
 srcpkgs/OpenRGB/files/OpenRGB.conf            |  1 +
 srcpkgs/OpenRGB/files/OpenRGB/log/run         |  2 +
 srcpkgs/OpenRGB/files/OpenRGB/run             |  2 +
 ...001-Fix-build-on-powerpc-and-related.patch | 56 +++++++++++++++++++
 srcpkgs/OpenRGB/template                      | 21 +++++++
 6 files changed, 88 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB.conf
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/log/run
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/run
 create mode 100644 srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..07892a7e9be
--- /dev/null
+++ b/srcpkgs/OpenRGB/INSTALL.msg
@@ -0,0 +1,6 @@
+Further configuration is required to control RGB RAM and certain
+motherboard LEDs. 
+
+Refer to the README for more information.
+
+https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/README.md
diff --git a/srcpkgs/OpenRGB/files/OpenRGB.conf b/srcpkgs/OpenRGB/files/OpenRGB.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/OpenRGB/files/OpenRGB/log/run b/srcpkgs/OpenRGB/files/OpenRGB/log/run
new file mode 100644
index 00000000000..75264440d1a
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t OpenRGB -p daemon.info
diff --git a/srcpkgs/OpenRGB/files/OpenRGB/run b/srcpkgs/OpenRGB/files/OpenRGB/run
new file mode 100644
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
new file mode 100644
index 00000000000..7f2ed534849
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
@@ -0,0 +1,56 @@
+From be395d1f0e88435b7a1ba38d0f959a8faf60de31 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Fri, 24 Jul 2020 02:02:30 +0200
+Subject: [PATCH] Fix build on powerpc and related
+
+Use asm/ioctls.h instead of the asm-generic version as the ioctl
+numbers may not always match between platforms, and some ioctls
+may not even exist on some platforms
+
+Also, some more types need to be undefined for inclusion of the
+asm/termios.h at least on powerpc and related, should not hurt
+elsewhere either so leave it without a guard
+
+Finally, termios2 does not exist on ppc since the fields that are
+used from termios2 here are included in actual struct termios
+---
+ serial_port/serial_port.h | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git serial_port/serial_port.h serial_port/serial_port.h
+index 4986ea5..2e3cb9d 100644
+--- serial_port/serial_port.h
++++ serial_port/serial_port.h
+@@ -23,17 +23,26 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ 
+-//winsize, termio, and termios structs are redefined in
+-//asm/termios.h, to prevent compiler errors from multply
++//these types are redefined in asm/termios.h
++//to prevent compiler errors from multply
+ //defining them, use a #define to rename them -
+ //essentially to undef them before they are redefined
+ #define winsize undefine_winsize
+ #define termio undefine_termio
+ #define termios undefine_termios
++#define sgttyb undefine_sgttyb
++#define tchars undefine_tchars
++#define ltchars undefine_ltchars
+ 
+ #include <asm/termios.h>
+-#include <asm-generic/ioctls.h>
++#include <asm/ioctls.h>
+ 
++//ppc has c_ispeed/c_ospeed in termios and termios2 doesn't exist
++#if defined(__powerpc__)
++#define termios2 termios
++#define TCGETS2 TCGETS
++#define TCSETS2 TCSETS
++#endif
+ 
+ #endif
+ 
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..d90afb0d9b6
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,21 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.4
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qt5-qmake qt5-host-tools git pkg-config"
+makedepends="qt5-devel libusb-devel hidapi-devel"
+short_desc="Open source RGB lighting control"
+maintainer="Neel Chotai <neel@chot.ai>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=a5743d6b0589e136b236cbfd815d7b7cb5c7331c1ca63cbd38e7b93d52c930fe
+
+post_install() {
+	vdoc README.md
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
+	vinstall ${FILESDIR}/OpenRGB.conf 644 usr/lib/modules-load.d
+	vsv OpenRGB
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: OpenRGB-0.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
@ 2020-10-06 18:03 ` NeelChotai
  2020-10-06 18:05 ` NeelChotai
  1 sibling, 0 replies; 9+ messages in thread
From: NeelChotai @ 2020-10-06 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

There is an updated pull request by NeelChotai against master on the void-packages repository

https://github.com/NeelChotai/void-packages OpenRGB
https://github.com/void-linux/void-packages/pull/22588

New package: OpenRGB-0.3


A patch file from https://github.com/void-linux/void-packages/pull/22588.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-OpenRGB-22588.patch --]
[-- Type: text/x-diff, Size: 5130 bytes --]

From ee56bebd52423e8794a17ac008616414096f02d6 Mon Sep 17 00:00:00 2001
From: Neel Chotai <neel@chot.ai>
Date: Thu, 4 Jun 2020 17:59:15 +0100
Subject: [PATCH] New package: OpenRGB-0.4

---
 srcpkgs/OpenRGB/INSTALL.msg                   |  6 ++
 srcpkgs/OpenRGB/files/OpenRGB.conf            |  1 +
 srcpkgs/OpenRGB/files/OpenRGB/log/run         |  2 +
 srcpkgs/OpenRGB/files/OpenRGB/run             |  2 +
 ...001-Fix-build-on-powerpc-and-related.patch | 56 +++++++++++++++++++
 srcpkgs/OpenRGB/template                      | 21 +++++++
 6 files changed, 88 insertions(+)
 create mode 100644 srcpkgs/OpenRGB/INSTALL.msg
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB.conf
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/log/run
 create mode 100644 srcpkgs/OpenRGB/files/OpenRGB/run
 create mode 100644 srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
 create mode 100644 srcpkgs/OpenRGB/template

diff --git a/srcpkgs/OpenRGB/INSTALL.msg b/srcpkgs/OpenRGB/INSTALL.msg
new file mode 100644
index 00000000000..07892a7e9be
--- /dev/null
+++ b/srcpkgs/OpenRGB/INSTALL.msg
@@ -0,0 +1,6 @@
+Further configuration is required to control RGB RAM and certain
+motherboard LEDs. 
+
+Refer to the README for more information.
+
+https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/README.md
diff --git a/srcpkgs/OpenRGB/files/OpenRGB.conf b/srcpkgs/OpenRGB/files/OpenRGB.conf
new file mode 100644
index 00000000000..0cdf71fd3e4
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB.conf
@@ -0,0 +1 @@
+i2c-dev
diff --git a/srcpkgs/OpenRGB/files/OpenRGB/log/run b/srcpkgs/OpenRGB/files/OpenRGB/log/run
new file mode 100644
index 00000000000..75264440d1a
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t OpenRGB -p daemon.info
diff --git a/srcpkgs/OpenRGB/files/OpenRGB/run b/srcpkgs/OpenRGB/files/OpenRGB/run
new file mode 100644
index 00000000000..51d84dab606
--- /dev/null
+++ b/srcpkgs/OpenRGB/files/OpenRGB/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec OpenRGB --server 2>&1
diff --git a/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
new file mode 100644
index 00000000000..7f2ed534849
--- /dev/null
+++ b/srcpkgs/OpenRGB/patches/0001-Fix-build-on-powerpc-and-related.patch
@@ -0,0 +1,56 @@
+From be395d1f0e88435b7a1ba38d0f959a8faf60de31 Mon Sep 17 00:00:00 2001
+From: q66 <daniel@octaforge.org>
+Date: Fri, 24 Jul 2020 02:02:30 +0200
+Subject: [PATCH] Fix build on powerpc and related
+
+Use asm/ioctls.h instead of the asm-generic version as the ioctl
+numbers may not always match between platforms, and some ioctls
+may not even exist on some platforms
+
+Also, some more types need to be undefined for inclusion of the
+asm/termios.h at least on powerpc and related, should not hurt
+elsewhere either so leave it without a guard
+
+Finally, termios2 does not exist on ppc since the fields that are
+used from termios2 here are included in actual struct termios
+---
+ serial_port/serial_port.h | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git serial_port/serial_port.h serial_port/serial_port.h
+index 4986ea5..2e3cb9d 100644
+--- serial_port/serial_port.h
++++ serial_port/serial_port.h
+@@ -23,17 +23,26 @@
+ #include <termios.h>
+ #include <sys/ioctl.h>
+ 
+-//winsize, termio, and termios structs are redefined in
+-//asm/termios.h, to prevent compiler errors from multply
++//these types are redefined in asm/termios.h
++//to prevent compiler errors from multply
+ //defining them, use a #define to rename them -
+ //essentially to undef them before they are redefined
+ #define winsize undefine_winsize
+ #define termio undefine_termio
+ #define termios undefine_termios
++#define sgttyb undefine_sgttyb
++#define tchars undefine_tchars
++#define ltchars undefine_ltchars
+ 
+ #include <asm/termios.h>
+-#include <asm-generic/ioctls.h>
++#include <asm/ioctls.h>
+ 
++//ppc has c_ispeed/c_ospeed in termios and termios2 doesn't exist
++#if defined(__powerpc__)
++#define termios2 termios
++#define TCGETS2 TCGETS
++#define TCSETS2 TCSETS
++#endif
+ 
+ #endif
+ 
+-- 
+2.27.0
+
diff --git a/srcpkgs/OpenRGB/template b/srcpkgs/OpenRGB/template
new file mode 100644
index 00000000000..6803d145823
--- /dev/null
+++ b/srcpkgs/OpenRGB/template
@@ -0,0 +1,21 @@
+# Template file for 'OpenRGB'
+pkgname=OpenRGB
+version=0.4
+revision=1
+wrksrc=OpenRGB-release_${version}
+build_style=qmake
+hostmakedepends="qt5-qmake qt5-host-tools git pkg-config"
+makedepends="qt5-devel libusb-devel hidapi-devel"
+short_desc="Open source RGB lighting control"
+maintainer="Neel Chotai <neel@chot.ai>"
+license="GPL-2.0-only"
+homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
+distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
+checksum=a5743d6b0589e136b236cbfd815d7b7cb5c7331c1ca63cbd38e7b93d52c930fe
+
+post_install() {
+	vdoc README.md
+	vinstall 60-openrgb.rules 644 usr/lib/udev/rules.d
+    vinstall ${FILESDIR}/OpenRGB.conf 644 usr/lib/modules-load.d
+    vsv OpenRGB
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-06 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-09  5:42 [PR PATCH] New package: openrgb-0.3 cpixl
2020-08-09  6:09 ` [PR PATCH] [Updated] " cpixl
2020-08-09  6:22 ` cpixl
2020-08-09  6:48 ` cpixl
2020-08-17 10:30 ` Chocimier
2020-10-06 12:39 ` Piraty
2020-10-06 12:39 ` [PR PATCH] [Closed]: " Piraty
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22588@inbox.vuxu.org>
2020-10-06 18:03 ` [PR PATCH] [Updated] New package: OpenRGB-0.3 NeelChotai
2020-10-06 18:05 ` NeelChotai

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).