I have made the following changes intended for : CE:Adaptation:N900 / nokia-n900-configs
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/7457 Thank You, Marko Saukko [This message was auto-generated] --- Request # 7457: Messages from BOSS: State: review at 2012-11-28T14:25:23 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:sage:branches:CE:Adaptation:N900 / nokia-n900-configs -> CE:Adaptation:N900 / nokia-n900-configs changes files: -------------- --- nokia-n900-configs.changes +++ nokia-n900-configs.changes @@ -0,0 +1,5 @@ +* Wed Nov 28 2012 Marko Saukko <[email protected]> - 0.7.3 +- Added nemo-mobile-hw to /etc/sysconfig/ dir with + QT_USE_DRAG_DISTANCE=12 dropped n900-qt-mtf-config.sh +- Dropped nokia-n900-force-backlight.desktop and n900-setbacklight.sh + old: ---- boss.conf n900-qt-mtf-config.sh n900-setbacklight.sh nokia-n900-force-backlight.desktop new: ---- nemo-mobile-hw spec files: ----------- --- nokia-n900-configs.spec +++ nokia-n900-configs.spec @@ -1,26 +1,25 @@ # # Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.23 +# Generated by: spectacle version 0.25 # + +Name: nokia-n900-configs + # >> macros # << macros -Name: nokia-n900-configs Summary: Provides configs for Nokia N900 -Version: 0.7.2 -Release: 0 +Version: 0.7.3 +Release: 1 Group: System/Device Mode Adaptation License: GPLv2 ExclusiveArch: %{arm} Source0: nokia-n900-input-rules.conf Source1: nokia-n900-keys.map Source2: %{name}.sh -Source3: nokia-n900-force-backlight.desktop -Source4: n900-setbacklight.sh -Source5: pipelines.conf -Source6: n900-qt-mtf-config.sh -Source7: %{name}.service -Source8: boss.conf +Source3: pipelines.conf +Source4: %{name}.service +Source5: nemo-mobile-hw Source100: nokia-n900-configs.yaml Requires: kbd Requires: systemd @@ -28,12 +27,10 @@ Requires(post): systemd Requires(postun): systemd - %description Provides configs for Nokia N900 device. - %prep # No setup @@ -48,27 +45,30 @@ # >> build post # << build post + %install rm -rf %{buildroot} # >> install pre # << install pre +mkdir -p %{buildroot}/etc/sysconfig/ +cp -a %{SOURCE5} %{buildroot}/etc/sysconfig/ + # >> install post install -D -m 644 %{SOURCE0} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-input-n900.conf install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/lib/kbd/keymaps/arm/qwerty/nokia-n900.map install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/sbin/%{name}.sh -install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xdg/autostart/n900-force-backlight.desktop -install -D -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/n900-setbacklight.sh -install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/camera/pipelines.conf -install -D -m 755 %{SOURCE6} $RPM_BUILD_ROOT/etc/profile.d/n900-qt-mtf-config.sh -install -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/lib/systemd/system/%{name}.service +install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/camera/pipelines.conf +install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/%{name}.service install -d $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/ ln -s ../%{name}.service $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/%{name}.service # << install post %preun +if [ "$1" -eq 0 ]; then systemctl stop %{name}.service +fi %post systemctl daemon-reload @@ -77,7 +77,6 @@ %postun systemctl daemon-reload - %files %defattr(-,root,root,-) # >> files @@ -88,14 +87,7 @@ %attr(755,root,root) /usr/sbin/%{name}.sh /lib/systemd/system/%{name}.service /lib/systemd/system/multi-user.target.wants/%{name}.service -# Backlight -%attr(755,root,root) %{_bindir}/n900-setbacklight.sh +%{_sysconfdir}/sysconfig/nemo-mobile-hw # Camera %attr(644,root,root) %config %{_sysconfdir}/camera/pipelines.conf -# Misc -%attr(644,root,root) %config %{_sysconfdir}/xdg/autostart/n900-force-backlight.desktop -# N900 Qt & MTF configuration -%attr(755,root,root) %{_sysconfdir}/profile.d/n900-qt-mtf-config.sh # << files - - other changes: -------------- ++++++ nemo-mobile-hw (new) --- nemo-mobile-hw +++ nemo-mobile-hw @@ -0,0 +1,5 @@ +# Set QT_USE_DRAG_DISTANCE environment variable +# The variable defines default value for QApplication's +# startDragDistance property +export QT_USE_DRAG_DISTANCE=12 + ++++++ nokia-n900-configs.yaml --- nokia-n900-configs.yaml +++ nokia-n900-configs.yaml @@ -1,19 +1,17 @@ Name: nokia-n900-configs Summary: Provides configs for Nokia N900 -Version: 0.7.2 -Release: 0 +Version: 0.7.3 +Release: 1 Group: System/Device Mode Adaptation License: GPLv2 Sources: - nokia-n900-input-rules.conf - nokia-n900-keys.map - "%{name}.sh" - - nokia-n900-force-backlight.desktop - - n900-setbacklight.sh - pipelines.conf - - n900-qt-mtf-config.sh - "%{name}.service" - - boss.conf +ExtraSources: + - nemo-mobile-hw;/etc/sysconfig/ Description: Provides configs for Nokia N900 device. Requires: ++++++ deleted files: --- boss.conf --- n900-qt-mtf-config.sh --- n900-setbacklight.sh --- nokia-n900-force-backlight.desktop
