Commit 68e2ce2f authored by spiiroin's avatar spiiroin

Package legacy configuration items separately

Move legacy configuration entries to separate file: legacy.ini.

Make them available via separate mce-config-legacy rpm package.

Also add one line description at the top of the each ini-file.

[mce] Package legacy configuration items separately. Fixes NEMO#616
parent dd8cf0ac
......@@ -446,6 +446,7 @@ install:: build
$(INSTALL_DTA) inifiles/hybris-led.ini $(DESTDIR)$(CONFDIR)/20hybris-led.ini
$(INSTALL_DTA) inifiles/debug-led.ini $(DESTDIR)$(CONFDIR)/20debug-led.ini
$(INSTALL_DTA) inifiles/als-defaults.ini $(DESTDIR)$(CONFDIR)/20als-defaults.ini
$(INSTALL_DTA) inifiles/legacy.ini $(DESTDIR)$(CONFDIR)/11legacy.ini
ifeq ($(ENABLE_SYSTEMD_SUPPORT),y)
install:: install_systemd_support
......
# Configuration file for MCE - Automatic display/led/keypad brightness control
#
# Configuration for tuning lisplay backlight, keypad backlight and indication led
# brightness base on data from Ambient Light Sensor
#
......@@ -81,7 +83,6 @@ LevelsProfile0=6;8;9;11;12;13;15;16;18;19;20;28;36;44;52;60;68;76;84;92;100
LimitsProfile0=1;2;3;6;11;20;36;66;121;220;489;599;732;896;1095;1340;1639;2005;2453;3000
LevelsProfile0=30;33;36;39;42;45;48;51;54;57;64;68;72;76;80;84;88;92;96;100
[BrightnessLPM]
LimitsProfile0=1;4;27;99;700;778;864;960;1066;1184;1315;1460;1622;1801;2000
......
# Configuration file for MCE - Example led patterns for hybris backend
[LEDPatternHybris]
# Patterns used for the hybris hardware;
# Please prefix pattern names with Pattern to avoid name space clashes
......@@ -27,4 +29,3 @@ PatternWhite=37;3;0;500;4000;ffffff
#LEDPatternsRequired=PatternBlack
# A list of pattern names that should not be used even if configured
#LEDPatternsDisabled=PatternWhite
# Configuration file for MCE - Debug/panic led patterns for hybris backend
[LEDPatternHybris]
# Patterns used for the hybris hardware;
......
# Configuration file for MCE - Normal led patterns for hybris backend
[LEDPatternHybris]
# Patterns used for the hybris hardware;
......
This diff is collapsed.
# Configuration file for MCE - Radio state defaults to use on the 1st boot
[RadioStates]
MasterRadioState=true
CellularRadioState=true
......
This diff is collapsed.
......@@ -51,6 +51,16 @@ Requires: glib2 >= 2.36.0
%description tests
This package contains test suite for mce
%package config-legacy
Summary: Config files for mce (legacy hw)
Group: System/System Control
%description config-legacy
This package contains mce configuration files for legacy hw
Potentially useful for using Nemomobile version of mce with
Nokia N770, N800, N810, N900, N9 and N950 devices.
%prep
%setup -q -n %{name}-%{version}
......@@ -112,3 +122,7 @@ systemctl daemon-reload || :
%files tests
%defattr(-,root,root,-)
## QUARANTINE /opt/tests/mce/*
%files config-legacy
%defattr(-,root,root,-)
%config %{_sysconfdir}/%{name}/11legacy.ini
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment