Dominique Leuenberger 2015-04-03 12:33:35 +00:00 committed by Git OBS Bridge
commit 44dfeca805
2 changed files with 44 additions and 25 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu Mar 26 15:23:44 UTC 2015 - dimstar@opensuse.org
- Drop systemd build condition and pkgconfig(libsystemd-login)
BuildRequires: this hasn't been a dependency since version 3.8.
-------------------------------------------------------------------
Thu Mar 26 15:17:53 UTC 2015 - dimstar@opensuse.org
- Change RPM group of -devel package to
"Development/Languages/C and C++".
-------------------------------------------------------------------
Thu Mar 26 15:06:02 UTC 2015 - dimstar@opensuse.org
- No longer pass --enable-systemd, --enable-gconf-bridge and
--with-pnpids to configure: those parameters are not available
anymore.
-------------------------------------------------------------------
Thu Mar 26 13:53:51 UTC 2015 - dimstar@opensuse.org
- Change from simple %defines to %bcond_with/without, as this
allows to be set in prjconf without the need to patch the .spec
files.
+ with_systemd, with_wacom, with_wayland, with_smartcard have
been replaced with their equivalent %bcond_with, resp.
%bcond_without, based on the value that was originally set,
resulting in no change for the build.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 23 11:50:51 UTC 2015 - dimstar@opensuse.org Mon Mar 23 11:50:51 UTC 2015 - dimstar@opensuse.org

View File

@ -16,22 +16,19 @@
# #
# We cannot enable systemd support right now, as it is exclusive and means we # Allow to disable wayland components
# lose ConsoleKit support (bad for sysvinit) %bcond_without wayland
%define with_systemd 1
# Smart-Card support is disabled in version 3.7.3 # Smart-Card support was not available from version 3.7.3 to 3.9.5; allow to easily disable it
%define with_smartcard 1 %bcond_without smartcard
# Wacom input support # Wacom input support is not available on all platforms
%ifarch s390 s390x %ifarch s390 s390x
%define with_wacom 0 %bcond_with wacom
%else %else
%define with_wacom 1 %bcond_without wacom
%endif %endif
%define with_wayland 1
Name: gnome-settings-daemon Name: gnome-settings-daemon
Version: 3.16.0 Version: 3.16.0
Release: 0 Release: 0
@ -75,10 +72,7 @@ BuildRequires: pkgconfig(libnotify) >= 0.7.3
BuildRequires: pkgconfig(libpulse) >= 2.0 BuildRequires: pkgconfig(libpulse) >= 2.0
BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0 BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0
BuildRequires: pkgconfig(librsvg-2.0) >= 2.36.2 BuildRequires: pkgconfig(librsvg-2.0) >= 2.36.2
%if %{with_systemd} %if %{with wacom}
BuildRequires: pkgconfig(libsystemd-login)
%endif
%if %{with_wacom}
BuildRequires: pkgconfig(libwacom) >= 0.7 BuildRequires: pkgconfig(libwacom) >= 0.7
BuildRequires: pkgconfig(xorg-wacom) BuildRequires: pkgconfig(xorg-wacom)
%endif %endif
@ -112,7 +106,7 @@ splitted from it for a more general use.
%package devel %package devel
Summary: Development package for the GNOME settings daemon Summary: Development package for the GNOME settings daemon
Group: System/GUI/GNOME Group: Development/Languages/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
@ -136,17 +130,12 @@ translation-update-upstream
%build %build
autoreconf -f -i autoreconf -f -i
%configure\ %configure\
%if %{with_systemd} %if %{with wayland}
--enable-systemd \
%endif
%if %{with_wayland}
--enable-wayland \ --enable-wayland \
%else %else
--disable-wayland \ --disable-wayland \
%endif %endif
--enable-gconf-bridge \
--disable-static \ --disable-static \
--with-pnpids=%{_datadir}/libgnome-desktop-3.0/pnp.ids \
--libexecdir=%{_libexecdir}/gnome-settings-daemon-3.0 \ --libexecdir=%{_libexecdir}/gnome-settings-daemon-3.0 \
%{nil} %{nil}
# work around a racing condition in plugins/common, which does not always build properly using parallel build # work around a racing condition in plugins/common, which does not always build properly using parallel build
@ -184,7 +173,7 @@ rm -rf %{buildroot}
%{_libexecdir}/gnome-settings-daemon-3.0/gsd-printer %{_libexecdir}/gnome-settings-daemon-3.0/gsd-printer
%{_libexecdir}/gnome-settings-daemon-3.0/gsd-test-* %{_libexecdir}/gnome-settings-daemon-3.0/gsd-test-*
# From patch2 # From patch2
#%{_libexecdir}/novell-sysconfig-proxy-helper #%%{_libexecdir}/novell-sysconfig-proxy-helper
%dir %{_libdir}/gnome-settings-daemon-3.0/ %dir %{_libdir}/gnome-settings-daemon-3.0/
%{_libdir}/gnome-settings-daemon-3.0/libgsd.so %{_libdir}/gnome-settings-daemon-3.0/libgsd.so
%{_libdir}/gnome-settings-daemon-3.0/*.gnome-settings-plugin %{_libdir}/gnome-settings-daemon-3.0/*.gnome-settings-plugin
@ -204,7 +193,7 @@ rm -rf %{buildroot}
%{_libdir}/gnome-settings-daemon-3.0/librfkill.so %{_libdir}/gnome-settings-daemon-3.0/librfkill.so
%{_libdir}/gnome-settings-daemon-3.0/libscreensaver-proxy.so %{_libdir}/gnome-settings-daemon-3.0/libscreensaver-proxy.so
%{_libdir}/gnome-settings-daemon-3.0/libsharing.so %{_libdir}/gnome-settings-daemon-3.0/libsharing.so
%if %{with_smartcard} %if %{with smartcard}
%{_libdir}/gnome-settings-daemon-3.0/libsmartcard.so %{_libdir}/gnome-settings-daemon-3.0/libsmartcard.so
%endif %endif
%{_libdir}/gnome-settings-daemon-3.0/libsound.so %{_libdir}/gnome-settings-daemon-3.0/libsound.so
@ -224,7 +213,7 @@ rm -rf %{buildroot}
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml
# From patch2 # From patch2
#%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.proxy.gschema.xml #%%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.proxy.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xrandr.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xrandr.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
@ -235,7 +224,7 @@ rm -rf %{buildroot}
%dir %{_datadir}/GConf %dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings %dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/gnome-settings-daemon.convert %{_datadir}/GConf/gsettings/gnome-settings-daemon.convert
%if %{with_wacom} %if %{with wacom}
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy %{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy
%{_libexecdir}/gnome-settings-daemon-3.0/gsd-list-wacom %{_libexecdir}/gnome-settings-daemon-3.0/gsd-list-wacom
%{_libexecdir}/gnome-settings-daemon-3.0/gsd-wacom-led-helper %{_libexecdir}/gnome-settings-daemon-3.0/gsd-wacom-led-helper