Return-Path: Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mail.openembedded.org (Postfix) with ESMTP id B71E5795D2 for ; Thu, 6 Sep 2018 10:40:40 +0000 (UTC) Received: by mail-ed1-f53.google.com with SMTP id y20-v6so8517278edq.2 for ; Thu, 06 Sep 2018 03:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9O/dLOD728KFnT6DqdZIh1onV/MrYCM2IvOOsI+8Lcg=; b=I9G94mngddLbp0GL4JGBHZYu/2Fd6+rFxNOMvlTw0UQ5/YiW643YmyKVilulm2+qLT p0UBx+49PkYcvtWeJUbAZioCTN2sG+snRHw9/r7ANu9rsC1CS1gU0aYyYCr3Ys2XZs0T 3ndrgt2/iX3cbAZVq0VJPo6z6ybhJi7X1jLW7smVJHpARi9Xr+sjgBdisd4kVuA+s1jU yrrAfO9iv2SJfadvJO1fbQxNH/UNZBYMi5ZY8Ddl32LTlayeq0rOmCdxf7lx96UAxpC4 +vDvOrmtj8mAOEIv6cTXxxOKzZ/0Ogl/fbTc3sdF9VyJvr5T075xjDFiKf26+skLY0tc QAKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9O/dLOD728KFnT6DqdZIh1onV/MrYCM2IvOOsI+8Lcg=; b=RIroKtB4JMYkizfMD1sJOr/3w0/AXqQD/qnA4NfGlIcyqqAL5Pne2xtk06ZVb0qJWf LmHPU6KRGJgkd2iOSYjFwJMIdzgCKcSANkPgvLbg5YTcZr3wb74tU4cuo+sjWoCSzpxx eAsOflIwevSqIqTv7q3EOD4ofhYPT4aR7vfLEnsAM7ViveGUXSrYtYQwrjYPo+xp6tG7 nwpu1DNqOkOvFTETG5TaHdh1iU+SRy3vlAoG+IkxL2uNi/CuSNaG+G67Esl8Ybnn4fL1 wmA7pQy3HCYFnBq6jGtROA/+0j4kQbYLqWhmKMb7Vr+3h5ZjmDZYaiPIrZh+SO6xQyln lz6g== X-Gm-Message-State: APzg51ArXOQCgo8BYraSh6cFF9+6X+hU5Y++oBc2G1dpVk2SdAXYo4hV 9Ue/61gEGZkLMvB8aOh76znqDSzXIKY= X-Google-Smtp-Source: ANB0VdYHcZ/iE5lTfJUtIJkOvence1BMVpgaWSJSXZJ+86zO6hfhUc3+bRzGCRy75EJywsJIZIAMXg== X-Received: by 2002:aa7:dc49:: with SMTP id g9-v6mr2731785edu.115.1536230440964; Thu, 06 Sep 2018 03:40:40 -0700 (PDT) Received: from localhost.localdomain ([79.140.126.226]) by smtp.gmail.com with ESMTPSA id k28-v6sm2256506ede.11.2018.09.06.03.40.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Sep 2018 03:40:40 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 6 Sep 2018 12:40:16 +0200 Message-Id: <1536230436-30342-1-git-send-email-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCHv2 01/21] eee-acpi-scripts: remove the recipe X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 10:40:41 -0000 Asus EEEPc hardware is well obsolete, upstream repo is now gone. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/distro_alias.inc | 1 - meta/conf/distro/include/maintainers.inc | 1 - .../eee-acpi-scripts/eee-acpi-scripts_git.bb | 39 -------------- .../eee-acpi-scripts/files/policy-funcs | 8 --- .../eee-acpi-scripts/files/powerbtn.patch | 22 -------- .../eee-acpi-scripts/files/remove-doc-check.patch | 60 ---------------------- 6 files changed, 131 deletions(-) delete mode 100644 meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb delete mode 100644 meta/recipes-bsp/eee-acpi-scripts/files/policy-funcs delete mode 100644 meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch delete mode 100644 meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch diff --git a/meta/conf/distro/include/distro_alias.inc b/meta/conf/distro/include/distro_alias.inc index 793a1c2..7502542 100644 --- a/meta/conf/distro/include/distro_alias.inc +++ b/meta/conf/distro/include/distro_alias.inc @@ -80,7 +80,6 @@ DISTRO_PN_ALIAS_pn-docbook-xml-dtd4-native = "Ubuntu=docbook-xml Fedora=docbook- DISTRO_PN_ALIAS_pn-docbook-xsl-stylesheets = "Fedora=docbook-xsl-stylesheets Opensuse=docbook-xsl-stylesheets" DISTRO_PN_ALIAS_pn-dropbear = "Debian=dropbear Ubuntu=dropbear" DISTRO_PN_ALIAS_pn-dtc = "Fedora=dtc Ubuntu=dtc" -DISTRO_PN_ALIAS_pn-eee-acpi-scripts = "Debian=eeepc-acpi-scripts Ubuntu=eeepc-acpi-scripts" DISTRO_PN_ALIAS_pn-eglinfo-fb = "OE-Core" DISTRO_PN_ALIAS_pn-eglinfo-x11 = "OE-Core" DISTRO_PN_ALIAS_pn-encodings = "Ubuntu=xfonts-encodings Mandriva=x11-font-encodings Debian=xfonts-encodings" diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 4ec3c20..2ecc3d6 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -142,7 +142,6 @@ RECIPE_MAINTAINER_pn-dtc = "Alexander Kanavin " RECIPE_MAINTAINER_pn-dwarfsrcfiles = "Alexander Kanavin " RECIPE_MAINTAINER_pn-e2fsprogs = "Robert Yang " RECIPE_MAINTAINER_pn-ed = "Alexander Kanavin " -RECIPE_MAINTAINER_pn-eee-acpi-scripts = "Alexander Kanavin " RECIPE_MAINTAINER_pn-eglinfo-fb = "Alexander Kanavin " RECIPE_MAINTAINER_pn-eglinfo-x11 = "Alexander Kanavin " RECIPE_MAINTAINER_pn-elfutils = "Hongxu Jia " diff --git a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb deleted file mode 100644 index c2a02aa..0000000 --- a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb +++ /dev/null @@ -1,39 +0,0 @@ -SUMMARY = "eeePC specific ACPI scripts" -HOMEPAGE = "http://alioth.debian.org/projects/debian-eeepc/" -SECTION = "base" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c" - -SRCREV = "9d4cdedca25b396405f8587f9c4fbf8229e041c2" -PV = "1.1.12+git${SRCPV}" - -SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git \ - file://remove-doc-check.patch \ - file://powerbtn.patch \ - file://policy-funcs " - -S = "${WORKDIR}/git" - -FILES_${PN} = "${datadir}/acpi-support/ \ - ${datadir}/eeepc-acpi-scripts \ - ${sysconfdir}/default/ \ - ${sysconfdir}/acpi/" - -do_install () { - install -d ${D}${sysconfdir}/default/ - install -d ${D}${sysconfdir}/acpi/actions/ - install -d ${D}${sysconfdir}/acpi/events/ - install -d ${D}${sysconfdir}/acpi/lib/udev/rules.d - install -d ${D}${datadir}/eeepc-acpi-scripts/ - install -d ${D}${datadir}/acpi-support/ - install -m 644 ${S}/events/* ${D}${sysconfdir}/acpi/events/ - install -m 644 ${S}/lib/udev/rules.d/* ${D}${sysconfdir}/acpi/lib/udev/rules.d/ - install ${S}/actions/* ${D}${sysconfdir}/acpi/actions/ - install -m 0644 ${S}/acpilib/functions.sh ${D}${datadir}/eeepc-acpi-scripts/ - install -m 0644 ${WORKDIR}/policy-funcs ${D}${datadir}/acpi-support/ - install -m 0644 ${S}/debian/eeepc-acpi-scripts.default* ${D}${sysconfdir}/default/ -} - -RDEPENDS_${PN} = "pm-utils" - diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/policy-funcs b/meta/recipes-bsp/eee-acpi-scripts/files/policy-funcs deleted file mode 100644 index fd099df..0000000 --- a/meta/recipes-bsp/eee-acpi-scripts/files/policy-funcs +++ /dev/null @@ -1,8 +0,0 @@ -CheckPolicy() { - if pidof gnome-power-manager kpowersave > /dev/null || - (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ; then - echo 0; - else - echo 1; - fi -} diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch b/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch deleted file mode 100644 index 403e556..0000000 --- a/meta/recipes-bsp/eee-acpi-scripts/files/powerbtn.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- - actions/power.sh | 3 +++ - events/powerbtn | 2 ++ - 2 files changed, 5 insertions(+) - -Upstream-Status: Inappropriate [enable feature] - -Index: git/events/powerbtn -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ git/events/powerbtn 2008-10-08 17:43:35.000000000 +0200 -@@ -0,0 +1,2 @@ -+event=button/power PWRF -+action=/etc/acpi/actions/power.sh -Index: git/actions/power.sh -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ git/actions/power.sh 2008-10-08 17:45:26.000000000 +0200 -@@ -0,0 +1,3 @@ -+#!/bin/sh -+ -+/sbin/shutdown -h now "Power button pressed" diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch deleted file mode 100644 index efb3dca..0000000 --- a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- - actions/hotkey.sh | 3 --- - actions/suspend.sh | 3 --- - actions/vga-toggle.sh | 3 --- - actions/volume.sh | 3 --- - 4 files changed, 12 deletions(-) - -Upstream-Status: Inappropriate [configuration] - -Index: git/eeepc-acpi-scripts/volume.sh -=================================================================== ---- git.orig/eeepc-acpi-scripts/volume.sh 2011-11-29 19:21:55.000000000 +0800 -+++ git/eeepc-acpi-scripts/volume.sh 2011-11-29 19:41:36.000000000 +0800 -@@ -3,12 +3,10 @@ - [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 - # Volume controls - --# do nothing if package is removed - PKG=eeepc-acpi-scripts - PKG_DIR=/usr/share/acpi-support/$PKG - FUNC_LIB=$PKG_DIR/lib/functions.sh - DEFAULT=/etc/default/$PKG --[ -e "$FUNC_LIB" ] || exit 0 - - . $FUNC_LIB - . $PKG_DIR/lib/sound.sh -Index: git/eeepc-acpi-scripts/hotkey.sh -=================================================================== ---- git.orig/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:21:55.000000000 +0800 -+++ git/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:39:51.000000000 +0800 -@@ -1,12 +1,10 @@ - #!/bin/sh - - [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 --# do nothing if package is removed - PKG=eeepc-acpi-scripts - PKG_DIR=/usr/share/acpi-support/$PKG - FUNC_LIB=$PKG_DIR/lib/functions.sh - DEFAULT=/etc/default/$PKG --[ -e "$FUNC_LIB" ] || exit 0 - - case $(runlevel) in - *0|*6) -Index: git/eeepc-acpi-scripts/vga-toggle.sh -=================================================================== ---- git.orig/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:21:55.000000000 +0800 -+++ git/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:40:24.000000000 +0800 -@@ -1,12 +1,10 @@ - #!/bin/sh - - [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 --# do nothing if package is removed - PKG=eeepc-acpi-scripts - PKG_DIR=/usr/share/acpi-support/$PKG - FUNC_LIB=$PKG_DIR/lib/functions.sh - DEFAULT=/etc/default/$PKG --[ -e "$FUNC_LIB" ] || exit 0 - - if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi - . $FUNC_LIB -- 2.7.4