diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-04-06 19:34:22 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-04-06 19:34:22 +0000 |
commit | 79520b85ec2ade7363524cb53b10249337301112 (patch) | |
tree | f658ff7286313fb116c39bec5f5dc643b54447a7 /app-laptop | |
parent | Remove. (diff) | |
download | gentoo-2-79520b85ec2ade7363524cb53b10249337301112.tar.gz gentoo-2-79520b85ec2ade7363524cb53b10249337301112.tar.bz2 gentoo-2-79520b85ec2ade7363524cb53b10249337301112.zip |
Remove.
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/acpi4asus/ChangeLog | 83 | ||||
-rw-r--r-- | app-laptop/acpi4asus/Manifest | 5 | ||||
-rw-r--r-- | app-laptop/acpi4asus/acpi4asus-0.41.ebuild | 73 | ||||
-rw-r--r-- | app-laptop/acpi4asus/files/cvs.patch | 165 | ||||
-rw-r--r-- | app-laptop/acpi4asus/metadata.xml | 5 |
5 files changed, 0 insertions, 331 deletions
diff --git a/app-laptop/acpi4asus/ChangeLog b/app-laptop/acpi4asus/ChangeLog deleted file mode 100644 index 0b7894a6e9ba..000000000000 --- a/app-laptop/acpi4asus/ChangeLog +++ /dev/null @@ -1,83 +0,0 @@ -# ChangeLog for app-laptop/acpi4asus -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/ChangeLog,v 1.17 2009/02/14 21:37:37 scarabeus Exp $ - - 14 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> - -files/acpi4asus-0.32-2.6.20.patch, -acpi4asus-0.30.ebuild, - -acpi4asus-0.32.ebuild, -acpi4asus-0.32-r1.ebuild, -acpi4asus-0.40.ebuild, - -acpi4asus-0.40-r1.ebuild, acpi4asus-0.41.ebuild: - Remove old. Fix build on kernels newer than 2.6.23. Fixes bugs #207770 and - #195891. - - 25 May 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog: - corrected ChangeLog, so it conforms to our standards - -*acpi4asus-0.41 (12 May 2007) - - 12 May 2007; Stefan Schweizer <genstef@gentoo.org> +files/cvs.patch, - +acpi4asus-0.41.ebuild: - Fix for kernel 2.6.21 thanks to Pacho Ramos - <pacho@condmat1.ciencias.uniovi.es> in bug 177956 - -*acpi4asus-0.40-r1 (22 Mar 2007) - - 22 Mar 2007; Stefan Schweizer <genstef@gentoo.org> +acpi4asus-0.40-r1.ebuild: - change emake command thanks CHARY Corentin <corentincj@iksaif.net> in bug - 171833 - -*acpi4asus-0.40 (20 Mar 2007) - - 20 Mar 2007; Stefan Schweizer <genstef@gentoo.org> +acpi4asus-0.40.ebuild: - Version bump thanks to Radim Snajdr <r.snajdr@coramexport.cz> in bug 168444 - -*acpi4asus-0.32-r1 (13 Feb 2007) - - 13 Feb 2007; Christian Heim <phreak@gentoo.org> - +files/acpi4asus-0.32-2.6.20.patch, +acpi4asus-0.32-r1.ebuild: - Fixing the compilation against 2.6.20 (#166288 thanks to Cyril Romain - <cyrilromain at yahoo.fr>), fixing the BUILD_PARAMS to use the selected - kernel and *not* the running one. - -*acpi4asus-0.32 (10 Feb 2007) - - 10 Feb 2007; Christian Heim <phreak@gentoo.org> +acpi4asus-0.32.ebuild: - Version bump, thanks to Chary Corentin <corentincj at iksaif.net> and all - the others in #157603. Also fixing compile issues with kernel >= 2.6.18 - (#154717). - -*acpi4asus-0.30 (05 Jun 2006) - - 05 Jun 2006; Stefan Schweizer <genstef@gentoo.org> -acpi4asus-0.29.ebuild, - +acpi4asus-0.30.ebuild: - version bump thanks to Per Abich <per@abich.com> and Matt Manjos - <mattdev121@gmail.com> in bug 119686 - - 07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> metadata.xml: - Removing latexer from metadata. - - 05 Jun 2005; Stefan Schweizer <genstef@gentoo.org> acpi4asus-0.29.ebuild: - Fix typo thanks to MAL <mal@komcept.com> in bug 95105 - -*acpi4asus-0.29 (07 May 2005) - - 07 May 2005; Stefan Schweizer <genstef@gentoo.org> -acpi4asus-0.27.ebuild, - +acpi4asus-0.29.ebuild: - Version bump thanks to Ricardo Cordeiro <Ricardo.Cordeiro@iscte.pt> in bug - 43089 - - 09 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> acpi4asus-0.27.ebuild: - Marked ~amd64. - -*acpi4asus-0.27 (08 Mar 2004) - - 08 Mar 2004; Peter Johanson <latexer@gentoo.org> acpi4asus-0.27.ebuild, - metadata.xml: - Moved to app-laptop from sys-apps - -*acpi4asus-0.27 (28 Feb 2004) - - 28 Feb 2004; Peter Johanson <latexer@gentoo.org> acpi4asus-0.27.ebuild, - metadata.xml: - Initial Commit. Thanks to Marco Testarmata <testarmata.marco@tiscali.it> for - the ebuild from #43089 - diff --git a/app-laptop/acpi4asus/Manifest b/app-laptop/acpi4asus/Manifest deleted file mode 100644 index 7e47d26df58e..000000000000 --- a/app-laptop/acpi4asus/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX cvs.patch 5028 RMD160 f78514595cafca03c28e6a906cbc206c342deb53 SHA1 c22be1c83e1d0ba40625d1028f737a3d28c80f6c SHA256 f4fe9ae9e2c263e8d3915504f942e80aab1175c4c8166cbfb7f1fbd496f84bce -DIST acpi4asus-0.41.tar.bz2 29958 RMD160 deb610db482dcab1d81425c8def8ec5851aa34b7 SHA1 79b0ee868c6745aa0be658c057f9331f32ab3805 SHA256 f63b8d9f0c259e66988c436faeb5481781a016f3cb796e4995ab966514fa2e24 -EBUILD acpi4asus-0.41.ebuild 1801 RMD160 dead8adb00c80af54b7bab75454ba927914fcd19 SHA1 e75c70b52e00ed0349f6e736299a170fb80401fc SHA256 55c79c95acad02a216da8443766b059e8b81ee89924fb5e176057ccf8f2d6e3f -MISC ChangeLog 3060 RMD160 c82d1c03b081d29dd79c66dfd9719b5d98aa7987 SHA1 bd5887df713da782ae7543e1a6599bbcb144c6df SHA256 d1dec9080a211f49d12c6a55650a24ac10e3d7861e1a0e4b17a6d53603b1356a -MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f diff --git a/app-laptop/acpi4asus/acpi4asus-0.41.ebuild b/app-laptop/acpi4asus/acpi4asus-0.41.ebuild deleted file mode 100644 index c565a792298a..000000000000 --- a/app-laptop/acpi4asus/acpi4asus-0.41.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/acpi4asus/acpi4asus-0.41.ebuild,v 1.4 2009/02/15 14:40:39 mr_bones_ Exp $ - -inherit linux-mod eutils - -DESCRIPTION="Acpi daemon and kernel module to control ASUS Laptop Hotkeys" -HOMEPAGE="http://sourceforge.net/projects/acpi4asus" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -RDEPEND="sys-power/acpid" - -pkg_setup() { - if kernel_is lt 2 6 23 ; then - CONFIG_CHECK="LEDS_CLASS" - MODULE_NAMES="asus-laptop(acpi:${S}/driver)" - BUILD_TARGETS=" " - linux-mod_pkg_setup - BUILD_PARAMS="KDIR=${KV_DIR}" - else - CONFIG_CHECK="~ASUS_LAPTOP" - ERROR_ASUS_LAPTOP="Enable CONFIG_ASUS_LAPTOP under Device drivers - Misc Devices - Asus Laptop Extras (EXPERIMENTAL)." - einfo "Required kernel module is already included with 2.6.23 kernels, we will not compile it." - linux-mod_pkg_setup - fi -} - -src_unpack() { - unpack ${A} - if kernel_is ge 2 6 21 && kernel_is lt 2 6 23 ; then - epatch "${FILESDIR}"/cvs.patch - fi -} - -src_compile() { - kernel_is lt 2 6 23 && linux-mod_src_compile - emake -C asus_acpid -} - -src_install() { - kernel_is lt 2 6 23 && linux-mod_src_install - - dobin asus_acpid/asus_acpid - doman asus_acpid/asus_acpid.8 - - dodoc README Changelog - - insinto /usr/share/${PN}/samples/actions - doins samples/actions/*.sh - - insinto /usr/share/${PN}/samples/events - doins samples/events/* -} - -pkg_preinst() { - kernel_is lt 2 6 23 && linux-mod_pkg_preinst -} - -pkg_postinst() { - kernel_is lt 2 6 23 && linux-mod_pkg_postinst - elog - elog "Don't forget to create your ~/.asus_acpi," - elog "see README in /usr/share/doc/${PF} for details" - elog -} - -pkg_postrm() { - kernel_is lt 2 6 23 && linux-mod_pkg_postrm -} diff --git a/app-laptop/acpi4asus/files/cvs.patch b/app-laptop/acpi4asus/files/cvs.patch deleted file mode 100644 index 0d13484e1f55..000000000000 --- a/app-laptop/acpi4asus/files/cvs.patch +++ /dev/null @@ -1,165 +0,0 @@ ---- ../../acpi4asus-0.41/driver/asus-laptop.c 2007-05-05 16:57:34.000000000 +0200 -+++ ./asus-laptop.c 2007-05-05 17:08:51.000000000 +0200 -@@ -3,7 +3,7 @@ - * - * - * Copyright (C) 2002-2005 Julien Lerouge, 2003-2006 Karol Kozimor -- * Copyright (C) 2006 Corentin Chary -+ * Copyright (C) 2006-2007 Corentin Chary - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -35,8 +35,8 @@ - - #include <linux/version.h> - --#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,19) --#warning "This module does not support 2.6.19" -+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,20) -+#warning "This module does not support 2.6.20" - #endif - - #include <linux/autoconf.h> -@@ -54,7 +54,7 @@ - #include <acpi/acpi_bus.h> - #include <asm/uaccess.h> - --#define ASUS_LAPTOP_VERSION "0.41" -+#define ASUS_LAPTOP_VERSION "0.42-cvs" - - #define ASUS_HOTK_NAME "Asus Laptop Support" - #define ASUS_HOTK_CLASS "hotkey" -@@ -222,11 +222,9 @@ - */ - static int read_brightness(struct backlight_device *bd); - static int update_bl_status(struct backlight_device *bd); --static struct backlight_properties asusbl_data = { -- .owner = THIS_MODULE, -+static struct backlight_ops asusbl_ops = { - .get_brightness = read_brightness, - .update_status = update_bl_status, -- .max_brightness = 15, - }; - - /* These functions actually update the LED's, and are called from a -@@ -238,9 +236,9 @@ - #define ASUS_LED(object, ledname) \ - static void object##_led_set(struct led_classdev *led_cdev, \ - enum led_brightness value); \ -+ static void object##_led_update(struct work_struct *ignored); \ - static int object##_led_wk; \ -- static void object##_led_update(struct work_struct *dummy); \ -- static DECLARE_WORK(object##_led_work, object##_led_update); \ -+ static DECLARE_WORK(object##_led_work, object##_led_update); \ - static struct led_classdev object##_led = { \ - .name = "asus:" ledname, \ - .brightness_set = object##_led_set, \ -@@ -326,7 +324,7 @@ - out = !out & 0x1; - break; - case GLED_ON: -- out += 1; -+ out = (out & 0x1) + 1; - break; - case GPS_ON: - handle = (out) ? gps_on_handle : gps_off_handle; -@@ -349,7 +347,7 @@ - object##_led_wk = value; \ - queue_work(led_workqueue, &object##_led_work); \ - } \ -- static void object##_led_update(struct work_struct *dummy) \ -+ static void object##_led_update(struct work_struct *ignored) \ - { \ - int value = object##_led_wk; \ - write_status(object##_set_handle, value, (mask)); \ -@@ -393,13 +391,8 @@ - struct backlight_device *bd = asus_backlight_device; - - if (bd) { -- down(&bd->sem); -- if (likely(bd->props)) { -- bd->props->power = blank; -- if (likely(bd->props->update_status)) -- bd->props->update_status(bd); -- } -- up(&bd->sem); -+ bd->props.power = blank; -+ backlight_update_status(bd); - } - } - -@@ -433,13 +426,13 @@ - static int update_bl_status(struct backlight_device *bd) - { - int rv; -- int value = bd->props->brightness; -+ int value = bd->props.brightness; - - rv = set_brightness(bd, value); - if (rv) - return rv; - -- value = (bd->props->power == FB_BLANK_UNBLANK) ? 1 : 0; -+ value = (bd->props.power == FB_BLANK_UNBLANK) ? 1 : 0; - return set_lcd_state(value); - } - -@@ -850,7 +843,7 @@ - static int asus_hotk_get_info(void) - { - struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; -- struct acpi_buffer dsdt = { ACPI_ALLOCATE_BUFFER, NULL }; -+ - union acpi_object *model = NULL; - ulong bsts_result, hwrs_result; - char *string = NULL; -@@ -864,11 +857,9 @@ - * HID), this bit will be moved. A global variable asus_info contains - * the DSDT header. - */ -- status = acpi_get_table(ACPI_TABLE_ID_DSDT, 1, &dsdt); -+ status = acpi_get_table(ACPI_SIG_DSDT, 1, &asus_info); - if (ACPI_FAILURE(status)) - printk(ASUS_WARNING "Couldn't get the DSDT table header\n"); -- else -- asus_info = dsdt.pointer; - - /* We have to write 0 on init this far for all ASUS models */ - if (!write_acpi_int(hotk->handle, "INIT", 0, &buffer)) { -@@ -1107,8 +1098,6 @@ - sysfs_remove_group(&asuspf_device->dev.kobj, &asuspf_attribute_group); - platform_device_unregister(asuspf_device); - platform_driver_unregister(&asuspf_driver); -- -- kfree(asus_info); - } - - static int asus_backlight_init(struct device *dev) -@@ -1117,7 +1106,7 @@ - - if (brightness_set_handle && lcd_switch_handle) { - bd = backlight_device_register(ASUS_HOTK_FILE, dev, -- NULL, &asusbl_data); -+ NULL, &asusbl_ops); - - if (IS_ERR(bd)) { - printk(ASUS_ERR -@@ -1128,14 +1117,10 @@ - - asus_backlight_device = bd; - -- down(&bd->sem); -- if (likely(bd->props)) { -- bd->props->brightness = read_brightness(NULL); -- bd->props->power = FB_BLANK_UNBLANK; -- if (likely(bd->props->update_status)) -- bd->props->update_status(bd); -- } -- up(&bd->sem); -+ bd->props.max_brightness = 15; -+ bd->props.brightness = read_brightness(NULL); -+ bd->props.power = FB_BLANK_UNBLANK; -+ backlight_update_status(bd); - } - return 0; - } diff --git a/app-laptop/acpi4asus/metadata.xml b/app-laptop/acpi4asus/metadata.xml deleted file mode 100644 index b27ff8eb4ed6..000000000000 --- a/app-laptop/acpi4asus/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>mobile</herd> -</pkgmetadata> |