Commit 77c58857 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add libXScrnSaver and libXpm to freedesktop platform

Both of these are basic X libs that a bunch of things (including SDL)
needs.
parent baa03f01
......@@ -34,7 +34,7 @@ PACKAGES = \
xorg-x11-util-macros \
xorg-x11-proto-devel \
libXau xcb-proto libxcb libXdmcp xorg-x11-xtrans-devel libX11 libXrender \
libXfixes libXext libXft libXi libXinerama libICE libSM libXpm libXrandr libXtst libXt \
libXfixes libXext libXft libXi libXinerama libICE libSM libXpm libXrandr libXtst libXt libXScrnSaver libXpm \
libXv libXvMC libXxf86vm libXdamage libXcursor libXcomposite libxkbfile libxshmfence \
xkeyboard-config libxkbcommon \
dbus cairo dbus-glib \
......
......@@ -17,6 +17,7 @@ BuildRequires: gstreamer1
BuildRequires: hicolor-icon-theme
BuildRequires: libICE-dev
BuildRequires: libXv
BuildRequires: libXpm
BuildRequires: libXxf86vm-dev
BuildRequires: libepoxy-dev
BuildRequires: libproxy
......@@ -47,6 +48,7 @@ Requires: hunspell-en
Requires: libICE
Requires: libSM
Requires: libX11
Requires: libXScrnSaver
Requires: libXau
Requires: libXcomposite
Requires: libXcursor
......@@ -56,6 +58,7 @@ Requires: libXfixes
Requires: libXft
Requires: libXi
Requires: libXinerama
Requires: libXpm
Requires: libXrandr
Requires: libXrender
Requires: libXt
......
......@@ -29,6 +29,7 @@ Requires: harfbuzz-dev
Requires: hunspell-dev
Requires: libICE-dev
Requires: libX11-dev
Requires: libXScrnSaver-dev
Requires: libXau-dev
Requires: libXcomposite-dev
Requires: libXcursor-dev
......@@ -39,6 +40,7 @@ Requires: libXfixes-dev
Requires: libXft-dev
Requires: libXi-dev
Requires: libXinerama-dev
Requires: libXpm-dev
Requires: libXrandr-dev
Requires: libXrender-dev
Requires: libXt-dev
......
Summary: X.Org X11 libXss runtime library
Name: libXScrnSaver
Version: 1.2.2
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: freedesktop-sdk-base
BuildRequires: xorg-x11-util-macros
BuildRequires: xorg-x11-proto-dev
BuildRequires: libX11-dev
BuildRequires: libXext-dev
%description
X.Org X11 libXss runtime library
%package dev
Summary: X.Org X11 libXScrnSaver development package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description dev
X.Org X11 libXss development package
%prep
%setup -q
%build
autoreconf -v --install --force
# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING README ChangeLog
%{_libdir}/libXss.so.1
%{_libdir}/libXss.so.1.0.0
%files dev
%defattr(-,root,root,-)
%{_libdir}/libXss.so
%{_libdir}/pkgconfig/xscrnsaver.pc
%{_mandir}/man3/*.3*
%{_includedir}/X11/extensions/scrnsaver.h
%changelog
* Thu Feb 12 2015 Alexander Larsson <alexl@redhat.com> - 1.2.2-1
- Initial version
......@@ -10,7 +10,9 @@ Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: freedesktop-sdk-base
BuildRequires: xorg-x11-util-macros
BuildRequires: libXext-dev libXau-dev
BuildRequires: libXt-dev
BuildRequires: libXext-dev
BuildRequires: libXau-dev
%description
X.Org X11 libXpm runtime library
......@@ -54,6 +56,7 @@ rm -rf $RPM_BUILD_ROOT
%files dev
%defattr(-,root,root,-)
%{_bindir}/cxpm
%{_bindir}/sxpm
%{_includedir}/X11/xpm.h
%{_libdir}/libXpm.so
%{_libdir}/pkgconfig/xpm.pc
......@@ -62,5 +65,5 @@ rm -rf $RPM_BUILD_ROOT
#%{_mandir}/man1/*.1x*
%changelog
* Tue Nov 11 2014 Alexander Larsson <alexl@redhat.com> - 3.5.11-3
- Initial version based on f21
* Thu Feb 12 2015 Alexander Larsson <alexl@redhat.com> - 3.5.11-1
- Initial version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment