upower0: split libupower-glib.so.1 into its own subpkg.

This commit is contained in:
Juan RP 2014-07-28 14:57:55 +02:00
parent 5ddff3fa86
commit 62d3fbb344
10 changed files with 32 additions and 15 deletions

View file

@ -521,6 +521,7 @@ libkrb5support.so.0 mit-krb5-libs-1.8_1
libverto.so.0 mit-krb5-libs-1.8_1
libverto-k5ev.so.0 mit-krb5-libs-1.8_1
libmenu-cache.so.1 menu-cache-0.2.6_1
libupower-glib.so.1 libupower-glib1-0.9.23_4
libupower-glib.so.2 libupower-glib2-0.99.0_2
libcanberra.so.0 libcanberra-0.23_1
libcanberra-gtk.so.0 libcanberra-0.23_1

View file

@ -14,6 +14,7 @@ password required pam_deny.so
session required pam_loginuid.so
session optional pam_keyinit.so revoke
session optional pam_gnome_keyring.so
session optional pam_systemd.so
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session required pam_unix.so
session required pam_limits.so

View file

@ -14,6 +14,7 @@ password required pam_deny.so
session required pam_loginuid.so
session optional pam_keyinit.so revoke
session optional pam_gnome_keyring.so
session optional pam_systemd.so
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session required pam_unix.so
session required pam_limits.so

View file

@ -9,5 +9,6 @@ password required pam_deny.so
session required pam_loginuid.so
session optional pam_gnome_keyring.so
session optional pam_systemd.so
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session optional pam_keyinit.so force revoke

View file

@ -16,5 +16,6 @@ session required pam_loginuid.so
session optional pam_keyinit.so revoke
session required pam_unix.so
session required pam_limits.so
session optional pam_gnome_keyring.so auto_start
session optional pam_systemd.so
-session optional pam_gnome_keyring.so auto_start
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11

View file

@ -13,7 +13,8 @@ password required pam_pkcs11.so
session required pam_loginuid.so
session optional pam_keyinit.so revoke
session optional pam_gnome_keyring.so
session optional pam_systemd.so
-session optional pam_gnome_keyring.so
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session required pam_unix.so
session required pam_limits.so

View file

@ -5,7 +5,8 @@ auth required pam_unix.so
auth optional pam_gnome_keyring.so
account required pam_unix.so
session required pam_unix.so
session optional pam_gnome_keyring.so auto_start
session optional pam_systemd.so
-session optional pam_gnome_keyring.so auto_start
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session required pam_limits.so
password required pam_unix.so

View file

@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=3.12.2
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static
--with-at-spi-registryd-directory=/usr/libexec --without-tcp-wrappers
@ -9,8 +9,9 @@ configure_args="--disable-schemas-compile --disable-static
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
--with-systemdsystemunitdir=/usr/lib/systemd/system"
hostmakedepends="pkg-config itstool intltool which gnome-doc-utils"
makedepends="pam-devel nss-devel accountsservice-devel gtk+3-devel>=3.10 upower-devel
libcanberra-devel xrdb dconf>=0.20 hicolor-icon-theme
makedepends="
pam-devel nss-devel accountsservice-devel gtk+3-devel>=3.10 upower-devel
libSM-devel libcanberra-devel xrdb dconf>=0.20 hicolor-icon-theme
xorg-server gnome-session>=3.12 gnome-settings-daemon>=3.12"
conf_files="
/etc/gdm/custom.conf
@ -50,10 +51,10 @@ else
fi
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd --with-initial-vt=1"
configure_args+=" --with-systemd --enable-systemd-journal --with-initial-vt=1"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd --with-initial-vt=7"
configure_args+=" --without-systemd --disable-systemd-journal --with-initial-vt=7"
fi
post_install() {

1
srcpkgs/libupower-glib1 Symbolic link
View file

@ -0,0 +1 @@
upower0

View file

@ -1,7 +1,7 @@
# Template file for 'upower0'
pkgname=upower0
version=0.9.23
revision=3
revision=4
wrksrc="upower-${version}"
build_style=gnu-configure
configure_args="--disable-static --enable-deprecated --with-backend=linux --without-idevice --with-udevrulesdir=/usr/lib/udev/rules.d"
@ -39,6 +39,14 @@ pre_configure() {
sed -e 's,/usr/sbin,/usr/bin,g' -i src/linux/up-backend.c
}
libupower-glib1_package() {
replaces="upower0<0.9.23_4"
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
upower0-devel_package() {
provides="upower-devel-${version}_${revision}"
replaces="upower-devel>=0"