From c7827c84d7a4511a131a83bb2c4b5d15fc050091 Mon Sep 17 00:00:00 2001 From: Nicolas De Amicis Date: May 24 2023 19:27:47 +0000 Subject: Bump to 0.3.2 and build with ipcgull static library --- diff --git a/.gitignore b/.gitignore index e0be4aa..711756d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /logiops-6bb470000952405b6817032c43c7215f7d070428.tar.gz /logiops-dbe2b28a5307dfc25e7b4858b94bded9acc5ea5c.tar.gz /logiops-v0.3.1.tar.gz +/logiops-0.3.2.tar.gz +/ipcgull-0.1.tar.gz diff --git a/logiops-ipcgull-include-stdexcept.patch b/logiops-ipcgull-include-stdexcept.patch new file mode 100644 index 0000000..210808b --- /dev/null +++ b/logiops-ipcgull-include-stdexcept.patch @@ -0,0 +1,11 @@ +--- a/src/node.cpp ++++ b/src/node.cpp +@@ -16,6 +16,7 @@ + * + */ + ++#include + #include + #include + #include + diff --git a/logiops.spec b/logiops.spec index f0aa000..caf0e5c 100644 --- a/logiops.spec +++ b/logiops.spec @@ -1,12 +1,21 @@ +%global forgeurl0 https://github.com/PixlOne/logiops +%global forgeurl1 https://github.com/PixlOne/ipcgull +%global name1 ipcgull +%global version1 0.1 + Name: logiops -Version: 0.3.1 +Version: 0.3.2 Release: 1%{?dist} Summary: Unofficial driver for Logitech mice and keyboard +%forgemeta -a License: GPLv3 -URL: https://github.com/PixlOne/logiops +URL: %{forgeurl0} + +Source0: %{forgesource0} +Source1: %{forgesource1} -Source0: https://github.com/PixlOne/logiops/releases/download/v0.3.1/%{name}-v%{version}.tar.gz +Patch0: logiops-ipcgull-include-stdexcept.patch BuildRequires: cmake BuildRequires: systemd-devel @@ -17,6 +26,7 @@ BuildRequires: libevdev-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glib2-devel +BuildRequires: libstdc++-devel %description This is an unofficial driver for Logitech mice and keyboard. @@ -24,7 +34,13 @@ This is an unofficial driver for Logitech mice and keyboard. This is currently only compatible with HID++ >2.0 devices. %prep -%setup -q -n %{name}-v%{version} +# Ipcgull archive +%forgesetup -z 1 +%patch -p1 0 +# Logiops archive +%forgesetup -z 0 +rmdir ./src/%{name1} +mv ../%{name1}-%{version1} ./src/%{name1}/ %build %{cmake} @@ -45,12 +61,16 @@ This is currently only compatible with HID++ >2.0 devices. %files %{_bindir}/logid %{_unitdir}/logid.service +%{_datadir}/dbus-1/system.d/pizza.pixl.LogiOps.conf %license LICENSE %doc README.md %doc TESTED.md %doc logid.example.cfg %changelog +* Wed May 24 2023 Nicolas De Amicis - 0.3.2-1 +- Bump to 0.3.2 and build with ipcgull library + * Fri May 05 2023 Nicolas De Amicis - 0.3.1-1 - New version 0.3.1 @@ -78,7 +98,7 @@ This is currently only compatible with HID++ >2.0 devices. * Wed Mar 31 2021 Jonathan Wakely - 0.2.2-5 - Rebuilt for removed libstdc++ symbols (#1937698) -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.2.2-4 +* Tue Mar 02 2021 Zbigniew JÄ™drzejewski-Szmek - 0.2.2-4 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. diff --git a/sources b/sources index 69e6f70..744a64a 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (logiops-v0.3.1.tar.gz) = 8531d32f1fea3547bf6629b449d879cba0cf61daa2fc096f8037ded68f1ff983d09ff1d2f0bf7e542b18e5a523c97cd1f7e24ddf4301689b537808f9fc11bb8c +SHA512 (logiops-0.3.2.tar.gz) = c69dbf6f220e57515a9641de83625b533943fc78197dc1abbd9767e22fe58e60a55eedb2e9510131cfcda4e9d4f304038be89a70c7c45238a1c7846047d8d59a +SHA512 (ipcgull-0.1.tar.gz) = 04dc7305d0fc825fc701ff13bee44ed0606eaed29428d82e93c600efc8fba3cc47895ecd32d4ab9d045ca561161cce9f5bd30e87192e83916a433f4919454d76