Page MenuHomeSolus

D8662.id22059.diff
No OneTemporary

D8662.id22059.diff

Index: MAINTAINERS.md
===================================================================
--- /dev/null
+++ MAINTAINERS.md
@@ -0,0 +1,5 @@
+This file is used to indicate responsibility for the maintenance of this package. Individuals on this list should be the sole modifiers of the package, excluding cases where the Solus Team may need to perform necessary rebuilds, upgrades, or security fixes. This list should not be used for any direct contact usage. If you believe this package requires a package update, follow documentation from https://getsol.us/articles/packaging/request-a-package-update/en/. In the event this package no longer becomes sufficiently maintained, Core Team reserves the right to request a new maintainer or remove this package from the repository.
+
+ - Kévin Bergue
+ - IRC: tzig
+ - Email: kevin@be-ta.art
\ No newline at end of file
Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: abi_used_libs
===================================================================
--- /dev/null
+++ abi_used_libs
@@ -0,0 +1,9 @@
+libQt5Core.so.5
+libQt5Gui.so.5
+libQt5Widgets.so.5
+libc.so.6
+libgcc_s.so.1
+libm.so.6
+libpthread.so.0
+libstdc++.so.6
+libusb-1.0.so.0
Index: files/OpenRGB
===================================================================
--- /dev/null
+++ files/OpenRGB
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+
+if ! [ $(id -u) = 0 ]
+then
+ if [[ ! -d /etc/OpenRGB ]]
+ then
+ zenity --error --text="You need to run OpenRGB as root at least once first!" --title="Error"
+ else
+ cd "/etc/OpenRGB"
+ /usr/bin/OpenRGB.d/OpenRGB
+ fi
+else
+ mkdir -p /etc/OpenRGB
+ cd /etc/OpenRGB
+ /usr/bin/OpenRGB.d/OpenRGB
+fi
Index: files/i2c-dev.conf
===================================================================
--- /dev/null
+++ files/i2c-dev.conf
@@ -0,0 +1,3 @@
+#loads the i2c-dev kernel module on boot, needed by openrgb
+
+i2c-dev
Index: files/openrgb-root.desktop
===================================================================
--- /dev/null
+++ files/openrgb-root.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.1
+Type=Application
+Name=OpenRGB (Root)
+Name[fr]=OpenRGB (super-utilisateur)
+Comment=A program to control RGB devices
+Icon=openrgb
+Exec=pkexec /usr/bin/OpenRGB
+Actions=
+Categories=Settings;
Index: files/openrgb.desktop
===================================================================
--- /dev/null
+++ files/openrgb.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.1
+Type=Application
+Name=OpenRGB
+Comment=A program to control RGB devices
+Icon=openrgb
+Exec=/usr/bin/OpenRGB
+Actions=
+Categories=Settings;
Index: files/org.pkexec.openrgb.policy
===================================================================
--- /dev/null
+++ files/org.pkexec.openrgb.policy
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <icon_name>openrgb</icon_name>
+ <vendor>The OpenRGB Project</vendor>
+ <vendor_url>https://gitlab.com/CalcProgrammer1/OpenRGB</vendor_url>
+ <action id="org.pkexec.openrgb">
+
+ <description>Run OpenRGB as root</description>
+ <description xml:lang="cs">Spouštět OpenRGB pod uživatelem root</description>
+ <description xml:lang="cs_CZ">Spustit OpenRGB s právy správce systému (root)</description>
+ <description xml:lang="de">OpenRGB als Root-Benutzer ausführen</description>
+ <description xml:lang="es">Ejecutar OpenRGB como root</description>
+ <description xml:lang="fr">Lancer OpenRGB en tant que super-utilisateur</description>
+ <description xml:lang="hr">Pokreni OpenRGB kao korijenskog korisnika</description>
+ <description xml:lang="hu">OpenRGB futtatása rendszergazdaként</description>
+ <description xml:lang="id">Jalankan OpenRGB sebagai root</description>
+ <description xml:lang="lv">Palaist OpenRGB kā root</description>
+ <description xml:lang="pl">Uruchomienie programu OpenRGB jako administrator</description>
+ <description xml:lang="pt_BR">Rodar OpenRGB como root</description>
+ <description xml:lang="ro">Rulează OpenRGB ca root</description>
+ <description xml:lang="ru">Запустить OpenRGB с правами администратора</description>
+ <description xml:lang="sk">Spustiť OpenRGB ako správca</description>
+ <description xml:lang="sv">Kör OpenRGB som root</description>
+ <description xml:lang="vi">Chạy OpenRGB dưới tư cách siêu quản trị.</description>
+ <description xml:lang="zh">以 root 权限运行 OpenRGB</description>
+
+ <message>Authentication is required to run OpenRGB as root.</message>
+ <message xml:lang="cs_CZ">Pro spuštění OpenRGB s právy správce je třeba ověření.</message>
+ <message xml:lang="fr">Il est nécessaire de s’authentifier pour lancer OpenRGB en tant que super-utilisateur.</message>
+ <message xml:lang="pt_BR">Autenticação é necessária para rodar OpenRGB como root.</message>
+ <message xml:lang="ru">Для запуска OpenRGB с правами администратора требуется аутентификация.</message>
+ <message xml:lang="zh">以 root 权限运行 OpenRGB 需要身份验证.</message>
+
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/OpenRGB</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+
+ </action>
+
+</policyconfig>
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,26 @@
+name : openrgb
+version : 0.2
+release : 1
+source :
+ - https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_0.2/OpenRGB-release_0.2.tar.gz : 813e44bd7879a8b7988e3cf1100d7b2fe661537a0834a0fd21738ab2178faab4
+license : GPL-2.0-only
+summary : Open source RGB lighting control that doesn't depend on manufacturer software
+component : system.utils
+description: |
+ An easy-to-use open source software program and library for accessing and controlling RGB lights on various PC hardware including motherboards, RAM modules, graphics cards, cooling devices, and peripherals.
+builddeps :
+ - pkgconfig(Qt5Core)
+ - pkgconfig(libusb-1.0)
+rundeps :
+ - libusb
+build : |
+ %qmake OpenRGB.pro
+ %make
+install : |
+ install -Dm755 $pkgfiles/OpenRGB $installdir/usr/bin/OpenRGB
+ install -Dm755 OpenRGB $installdir/usr/bin/OpenRGB.d/OpenRGB
+ install -Dm644 $pkgfiles/openrgb.desktop $installdir/usr/share/applications/openrgb.desktop
+ install -Dm644 $pkgfiles/openrgb-root.desktop $installdir/usr/share/applications/openrgb-root.desktop
+ install -Dm644 $pkgfiles/openrgb.png $installdir/usr/share/icons/hicolor/128x128/apps/openrgb.png
+ install -Dm644 $pkgfiles/org.pkexec.openrgb.policy $installdir/usr/share/polkit-1/actions/org.pkexec.openrgb.policy
+ install -Dm644 $pkgfiles/i2c-dev.conf $installdir/etc/modules-load.d/i2c-dev.conf
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,40 @@
+<PISI>
+ <Source>
+ <Name>openrgb</Name>
+ <Packager>
+ <Name>Kévin Bergue</Name>
+ <Email>kevin@be-ta.art</Email>
+ </Packager>
+ <License>GPL-2.0-only</License>
+ <PartOf>system.utils</PartOf>
+ <Summary xml:lang="en">Open source RGB lighting control that doesn&apos;t depend on manufacturer software</Summary>
+ <Description xml:lang="en">An easy-to-use open source software program and library for accessing and controlling RGB lights on various PC hardware including motherboards, RAM modules, graphics cards, cooling devices, and peripherals.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>openrgb</Name>
+ <Summary xml:lang="en">Open source RGB lighting control that doesn&apos;t depend on manufacturer software</Summary>
+ <Description xml:lang="en">An easy-to-use open source software program and library for accessing and controlling RGB lights on various PC hardware including motherboards, RAM modules, graphics cards, cooling devices, and peripherals.
+</Description>
+ <PartOf>system.utils</PartOf>
+ <Files>
+ <Path fileType="config">/etc/modules-load.d/i2c-dev.conf</Path>
+ <Path fileType="executable">/usr/bin/OpenRGB</Path>
+ <Path fileType="executable">/usr/bin/OpenRGB.d/OpenRGB</Path>
+ <Path fileType="data">/usr/share/applications/openrgb-root.desktop</Path>
+ <Path fileType="data">/usr/share/applications/openrgb.desktop</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/128x128/apps/openrgb.png</Path>
+ <Path fileType="data">/usr/share/polkit-1/actions/org.pkexec.openrgb.policy</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2020-06-26</Date>
+ <Version>0.2</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Kévin Bergue</Name>
+ <Email>kevin@be-ta.art</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 9:09 PM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5823560
Default Alt Text
D8662.id22059.diff (9 KB)

Event Timeline