redshift: Fix apparmor profile and adjustment-method
This commit is contained in:
parent
3ca81325af
commit
6d90d045d9
1 changed files with 6 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2018 Ruben Rodriguez <ruben@trisquel.info>
|
# Copyright (C) 2018-2022 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
# Copyright (C) 2018 Pablo Correa Gómez <p.correag@member.fsf.org>
|
# Copyright (C) 2018 Pablo Correa Gómez <p.correag@member.fsf.org>
|
||||||
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
||||||
#
|
#
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=3
|
VERSION=4
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@ gamma=1:1:1
|
||||||
; automatically, but it will trigger background internet connections
|
; automatically, but it will trigger background internet connections
|
||||||
location-provider=manual
|
location-provider=manual
|
||||||
; location-provider=geoclue2
|
; location-provider=geoclue2
|
||||||
adjustment-method=vidmode
|
adjustment-method=randr
|
||||||
|
|
||||||
; The location provider and adjustment method settings
|
; The location provider and adjustment method settings
|
||||||
; are in their own sections.
|
; are in their own sections.
|
||||||
|
|
@ -51,6 +51,9 @@ screen=0
|
||||||
EOF
|
EOF
|
||||||
echo "debian/redshift.conf /etc" >> debian/redshift.install
|
echo "debian/redshift.conf /etc" >> debian/redshift.install
|
||||||
|
|
||||||
|
# Fix apparmor profile
|
||||||
|
sed 's/+37,7/+37,8/; /redshift-shared/a+\ /etc/redshift.conf r,' -i debian/patches/Fix-AppArmor-profile-for-Wayland.patch
|
||||||
|
|
||||||
changelog "Added default manual configuration"
|
changelog "Added default manual configuration"
|
||||||
|
|
||||||
compile
|
compile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue