Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 17688571f2 | |||
| 5040e51a0e | |||
| 1e8fc87c3e |
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 17 15:42:46 UTC 2026 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Make the package installable on atomically updatable systems
|
||||
(jsc#PED-14720)
|
||||
- Use env variables when starting service instead of hardcoded
|
||||
- Remove GPM_REPEAT as it's unused
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 12:29:13 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@ ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
# end of automatic additions
|
||||
EnvironmentFile=-/etc/sysconfig/mouse
|
||||
ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2
|
||||
ExecStart=/usr/sbin/gpm -m $MOUSEDEVICE -t $MOUSETYPE $GPM_PARAM
|
||||
Type=forking
|
||||
PIDFile=/run/gpm.pid
|
||||
|
||||
|
||||
3
gpm.spec
3
gpm.spec
@@ -184,8 +184,6 @@ fi
|
||||
|
||||
# Do not package static library
|
||||
rm -fv %{buildroot}/%{_libdir}/libgpm.a
|
||||
mkdir -p %{buildroot}/run
|
||||
touch %{buildroot}/run/gpm.pid
|
||||
|
||||
%pre
|
||||
%service_add_pre gpm.service
|
||||
@@ -219,7 +217,6 @@ touch %{buildroot}/run/gpm.pid
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_fillupdir}/*
|
||||
%ghost /run/gpm.pid
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
|
||||
@@ -23,15 +23,8 @@ MOUSETYPE="imps2"
|
||||
## Default: ""
|
||||
#
|
||||
# You can define your own options to start gpm here. If the variable is empty
|
||||
# then the gpm will start with the option "-m $MOUSEDEVICE -t $MOUSETYPE"
|
||||
# then the gpm will start with the option "-m $MOUSEDEVICE -t $MOUSETYPE" otherwise
|
||||
# GPM_PARAM is appended to the parameter list.
|
||||
#
|
||||
GPM_PARAM=""
|
||||
|
||||
## Type: string(raw,imps2,ms,ms3,msc,mman,ps2,syn,synps2)
|
||||
## Default: ""
|
||||
#
|
||||
# Define type of repeating for gpm. This is usually needed when you want to
|
||||
# use gpm together with XFree. All mouse data will be repeated in fifo
|
||||
# /dev/gpmdata. Use "raw" for repeating same data as received by gpm.
|
||||
#
|
||||
GPM_REPEAT=""
|
||||
|
||||
Reference in New Issue
Block a user