mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-23 08:20:00 +00:00
upower: remove package 'upower', replaced by systemd
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6a0306e492
commit
3a130cd500
@ -361,7 +361,6 @@ if [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
config_message="$config_message\n - U-Boot config file:\t\t\t $UBOOT_CONFIGFILE"
|
||||
fi
|
||||
config_message="$config_message\n - UDisks support:\t\t\t $UDISKS"
|
||||
config_message="$config_message\n - UPower support:\t\t\t $UPOWER"
|
||||
config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
|
||||
|
||||
# Misc. Filesystems
|
||||
|
@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
intltoolize --force
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--libexecdir=/usr/lib/upower \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--with-backend=linux \
|
||||
--disable-systemd \
|
||||
--disable-man-pages \
|
||||
--disable-gtk-doc \
|
||||
--enable-gtk-doc-html \
|
||||
--enable-gtk-doc-pdf \
|
||||
--disable-nls \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/etc/UPower
|
||||
cp $PKG_BUILD/etc/UPower.conf $INSTALL/etc/UPower
|
||||
|
||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.conf $INSTALL/etc/dbus-1/system.d
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/.libs/upower $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libupower-glib/.libs/*.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/upower
|
||||
cp $PKG_BUILD/src/.libs/upowerd $INSTALL/usr/lib/upower
|
||||
|
||||
mkdir -p $INSTALL/usr/share/dbus-1/interfaces
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.Device.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.QoS.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.Wakeups.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||
|
||||
mkdir -p $INSTALL/usr/share/dbus-1/system-services
|
||||
cp $PKG_BUILD/src/org.freedesktop.UPower.service $INSTALL/usr/share/dbus-1/system-services
|
||||
|
||||
mkdir -p $INSTALL/usr/share/polkit-1/actions
|
||||
cp $PKG_BUILD/policy/org.freedesktop.upower.policy $INSTALL/usr/share/polkit-1/actions
|
||||
cp $PKG_BUILD/policy/org.freedesktop.upower.qos.policy $INSTALL/usr/share/polkit-1/actions
|
@ -1,36 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="upower"
|
||||
PKG_VERSION="0.9.19"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://upower.freedesktop.org/"
|
||||
PKG_URL="http://upower.freedesktop.org/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS="systemd glib dbus polkit pm-utils libusb"
|
||||
PKG_BUILD_DEPENDS="toolchain systemd glib dbus dbus-glib polkit libusb"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="upower: a modular hardware abstraction layer designed for use in Linux systems that is designed to simplify device management."
|
||||
PKG_LONGDESC="Upower is a modular hardware abstraction layer designed for use in Linux systems that is designed to simplify device management and replace the current monolithic Linux HAL. Upower includes the ability to enumerate system devices and send notifications when hardware is added or removed from the computer system."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
@ -1,21 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
d /var/lib/upower 0755 root root 10d -
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="no"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="no"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -225,9 +225,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -220,9 +220,6 @@
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
UDISKS="yes"
|
||||
|
||||
# build and install powermanagement support (upower) (yes / no)
|
||||
UPOWER="yes"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="yes"
|
||||
|
||||
|
@ -121,9 +121,6 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
# Automounter support
|
||||
[ "$UDISKS" = "yes" ] && $SCRIPTS/install udisks
|
||||
|
||||
# Powermanagement support
|
||||
[ "$UPOWER" = "yes" ] && $SCRIPTS/install upower
|
||||
|
||||
# NTFS 3G support
|
||||
[ "$EXFAT" = "yes" ] && $SCRIPTS/install fuse-exfat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user