rebuilt with python3 [release 20180914git-5mamba;Mon Dec 21 2020]
This commit is contained in:
parent
cbfaa5d956
commit
1fff217ccd
16
surface-tools-20180914git-python3.patch
Normal file
16
surface-tools-20180914git-python3.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- surface-tools-20180914git/autorotate/autorotate.orig 2020-12-21 17:06:09.847647891 +0000
|
||||||
|
+++ surface-tools-20180914git/autorotate/autorotate 2020-12-21 17:06:37.699162556 +0000
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/python
|
||||||
|
+#!/usr/bin/python3
|
||||||
|
|
||||||
|
#####CONFIGURATION#####
|
||||||
|
#sensorname="accel_3d"
|
||||||
|
@@ -55,7 +55,6 @@
|
||||||
|
val = val * scale / 9.8
|
||||||
|
else:
|
||||||
|
# Microsoft Surface (unsupported)
|
||||||
|
- print 1 << 16
|
||||||
|
if val & (1 << (16-1)) != 0:
|
||||||
|
val = val - (1 << 16)
|
||||||
|
return val
|
@ -1,6 +1,6 @@
|
|||||||
Name: surface-tools
|
Name: surface-tools
|
||||||
Version: 20180914git
|
Version: 20180914git
|
||||||
Release: 4mamba
|
Release: 5mamba
|
||||||
Summary: Tools for using the Microsoft Surface with Linux
|
Summary: Tools for using the Microsoft Surface with Linux
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -14,11 +14,13 @@ Patch0: surface-tools-20180914git-autorotate-autodetect.patch
|
|||||||
Patch1: surface-tools-20180914git-check-and-fork.patch
|
Patch1: surface-tools-20180914git-check-and-fork.patch
|
||||||
Patch2: surface-tools-20180914git-penmon-autodetect.patch
|
Patch2: surface-tools-20180914git-penmon-autodetect.patch
|
||||||
Patch3: surface-tools-20180914git-autorotate-chuwi-fix-and-touchscreen.patch
|
Patch3: surface-tools-20180914git-autorotate-chuwi-fix-and-touchscreen.patch
|
||||||
|
Patch4: surface-tools-20180914git-python3.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: pyudev
|
Requires: pyudev-py3
|
||||||
Requires: pygobject
|
Requires: python3
|
||||||
|
Requires: pygobject-py3
|
||||||
Requires: xrandr
|
Requires: xrandr
|
||||||
Requires: xinput
|
Requires: xinput
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
@ -32,6 +34,7 @@ Tools for using the Microsoft Surface with Linux.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -59,6 +62,9 @@ install -D -m0755 penmon/penmon %{buildroot}%{_datadir}/penmon/penmon
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-5mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
* Sat Aug 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-4mamba
|
* Sat Aug 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-4mamba
|
||||||
- autorotate: fixes and touchscreen rotation support for chuwi
|
- autorotate: fixes and touchscreen rotation support for chuwi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user