I'm having issues getting all the various components in the stack to
work with the correct orientation value. What's the correct way to ask
for this to be reverted? Do I need to just do another sr to Trunk with
a new changelog entry to say 'just kidding'?
Eventually I will be submitting this again, but I don't want to screw up
the weekly builds.
--rusty
On 03/30/2011 11:09 PM, Zhu, Peter J wrote:
Please don't submit from home directly. Use "osc branch" so that it would
branch from right devel project if any.
Also in your changlog, please use BMC# because we are introducing some
automation to deal with those changelog.
Peter
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Rusty Lynch
Sent: Thursday, March 31, 2011 8:26 AM
To: [email protected]
Subject: [meego-commits] 15505: Changes to Trunk:Testing/sensorfw-pegatron
Hi,
I have made the following changes to sensorfw-pegatron in project
Trunk:Testing. Please review and accept ASAP.
Thank You,
Rusty Lynch
[This message was auto-generated]
---
Request #15505:
submit: home:rusty/sensorfw-pegatron(r3) ->
Trunk:Testing/sensorfw-pegatron
Message:
Fix for https://bugs.meego.com/show_bug.cgi?id=15044
State: new 2011-03-30T17:25:58 rusty
Comment: None
changes files:
--------------
--- sensorfw-pegatron.changes
+++ sensorfw-pegatron.changes
@@ -0,0 +1,3 @@
+* Wed Mar 30 2011 Rusty Lynch<[email protected]> - 0.3
+- Added add-offset.patch to fix bug #15044
+
new:
----
Makefile
add-offset.patch
spec files:
-----------
--- sensorfw-pegatron.spec
+++ sensorfw-pegatron.spec
@@ -1,6 +1,6 @@
#
# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.22git
+# Generated by: spectacle version 0.22
#
#>> macros
#<< macros
@@ -14,6 +14,7 @@
URL: http://www.intel.com
Source0: %{name}-%{version}.tar.bz2
Source100: sensorfw-pegatron.yaml
+Patch0: add-offset.patch
BuildRequires: libqt-devel
BuildRequires: sensorfw-devel
@@ -30,6 +31,8 @@
%prep
%setup -q -n %{name}-%{version}
+# add-offset.patch
+%patch0 -p1
#>> setup
#<< setup
other changes:
--------------
++++++ Makefile (new)
--- Makefile
+++ Makefile
+PKG_NAME := sensorfw-pegatron
+SPECFILE = $(addsuffix .spec, $(PKG_NAME))
+YAMLFILE = $(addsuffix .yaml, $(PKG_NAME))
+
+include /usr/share/packaging-tools/Makefile.common
+
++++++ add-offset.patch (new)
--- add-offset.patch
+++ add-offset.patch
+Index: sensorfw-pegatron-0.3/sensord-pegatron.conf
+===============================================================
====
+--- sensorfw-pegatron-0.3.orig/sensord-pegatron.conf
++++ sensorfw-pegatron-0.3/sensord-pegatron.conf
+@@ -2,9 +2,8 @@
+
+ deviceID = PegatronLucid
+
+-# Why is the default not zero? Go through all the trouble of writing
+-# a driver to do the right thing...
+-orientation_offset = 0
++# Make the reported orientation match what is defined by QtMobility
++orientation_offset = 1
+
+ als-ascii_sysfs_path = /sys/devices/platform/asus_laptop/ls_value
+
+@@ -18,4 +17,4 @@ als-ascii_range_sysfs_path = /etc/sensor
+
+ [PegatronLucid]
+ orientationchain = pegaorient
+-alsadaptor = alsadaptor-ascii
+\ No newline at end of file
++alsadaptor = alsadaptor-ascii
++++++ sensorfw-pegatron.yaml
--- sensorfw-pegatron.yaml
+++ sensorfw-pegatron.yaml
@@ -12,6 +12,8 @@
ambient light sensor.
Sources:
- "%{name}-%{version}.tar.bz2"
+Patches:
+ - add-offset.patch
PkgBR:
- libqt-devel
- sensorfw-devel
_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging