diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-05-03 09:40:22 +0200 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-05-03 09:40:22 +0200 |
commit | ce132d8a171beb803a685da2e2b9ada821ef76cd (patch) | |
tree | d1749db3ed886af1665af630db6f9119d1dde962 /recipes/omnewrotate | |
parent | 87d5cdd0b62783b137f3186397b6bd8f584a9916 (diff) |
omnewrotate: reove superfluous patch
We are way past its maxrev revision, so no more need for it to exist.
Diffstat (limited to 'recipes/omnewrotate')
-rw-r--r-- | recipes/omnewrotate/files/correct-sysfs-bl-path.patch | 53 | ||||
-rw-r--r-- | recipes/omnewrotate/omnewrotate_svn.bb | 4 |
2 files changed, 1 insertions, 56 deletions
diff --git a/recipes/omnewrotate/files/correct-sysfs-bl-path.patch b/recipes/omnewrotate/files/correct-sysfs-bl-path.patch deleted file mode 100644 index 6d381649a8..0000000000 --- a/recipes/omnewrotate/files/correct-sysfs-bl-path.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -uri omnewrotate.org/src/omnewrotate.c omnewrotate/src/omnewrotate.c ---- omnewrotate.org/src/omnewrotate.c 2009-05-03 20:23:56.000000000 +0200 -+++ omnewrotate/src/omnewrotate.c 2009-05-07 17:46:07.000000000 +0200 -@@ -95,8 +95,8 @@ - #define LONG_TIME 0 - - #define EVENT_PATH "/dev/input/event3" --#define GET_BRIGHTNESS_PATH "/sys/class/backlight/pcf50633-bl/actual_brightness" --#define SET_BRIGHTNESS_PATH "/sys/class/backlight/pcf50633-bl/brightness" -+#define GET_BRIGHTNESS_PATH "/sys/class/backlight/gta02-bl/actual_brightness" -+#define SET_BRIGHTNESS_PATH "/sys/class/backlight/gta02-bl/brightness" - - #define NUM_THREADS 1 - -@@ -197,8 +197,8 @@ - #endif - - if (change_brightness && !use_dbus) { -- set_brightness_file = open(SET_BRIGHTNESS_PATH, O_RDWR); -- get_brightness_file = open(GET_BRIGHTNESS_PATH, O_RDWR); -+ set_brightness_file = open(SET_BRIGHTNESS_PATH, O_WRONLY); -+ get_brightness_file = open(GET_BRIGHTNESS_PATH, O_RDONLY); - - if (set_brightness_file < 0 || get_brightness_file < 0) - { -@@ -273,7 +273,7 @@ - rootWindow = RootWindow(display, screen); - XRRRotations(display, screen, &r); - -- char current_brightness[3] = "63\n"; -+ char current_brightness[4] = "255\n"; - char brightness_off[2] = "0\n"; - - -@@ -317,7 +317,7 @@ - else - { - lseek(get_brightness_file, 0, SEEK_SET); -- read(get_brightness_file, ¤t_brightness, 2); -+ read(get_brightness_file, ¤t_brightness, 3); - lseek(set_brightness_file, 0, SEEK_SET); - write(set_brightness_file, &brightness_off, 2); - } -@@ -333,7 +333,7 @@ - if(debug) printf("Recovering screen brightness for nifty effect\n"); - usleep(500000); - lseek(set_brightness_file, 0, SEEK_SET); -- write(set_brightness_file, ¤t_brightness, 3); -+ write(set_brightness_file, ¤t_brightness, 4); - } - - } -Nur in omnewrotate.org/src: .omnewrotate.c.swp. diff --git a/recipes/omnewrotate/omnewrotate_svn.bb b/recipes/omnewrotate/omnewrotate_svn.bb index 477434cb21..410d12f6a8 100644 --- a/recipes/omnewrotate/omnewrotate_svn.bb +++ b/recipes/omnewrotate/omnewrotate_svn.bb @@ -10,9 +10,7 @@ SRCREV = "66" PV = "0.5.8+svnr${SRCPV}" PR = "r0" -SRC_URI = "svn://omnewrotate.googlecode.com/svn;module=trunk;proto=http \ - file://correct-sysfs-bl-path.patch;patch=1;maxrev=55 \ -" +SRC_URI = "svn://omnewrotate.googlecode.com/svn;module=trunk;proto=http" S = "${WORKDIR}/trunk" |