Accepting request 253156 from home:elvigia:branches:X11:windowmanagers

- Do not use xorg-x11-devel, select only those packages needed 
  for build.
- Build c++ code with fvisibility-inlines-hidden to avoid
  bloating the symbol table.

OBS-URL: https://build.opensuse.org/request/show/253156
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal 2014-10-07 11:55:22 +00:00 committed by Git OBS Bridge
parent e16c958345
commit 16493e336c
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Sep 30 06:11:49 UTC 2014 - crrodriguez@opensuse.org
- Do not use xorg-x11-devel, select only those packages needed
for build.
- Build c++ code with fvisibility-inlines-hidden to avoid
bloating the symbol table.
-------------------------------------------------------------------
Thu Apr 10 16:10:32 CEST 2014 - tiwai@suse.de

View File

@ -24,7 +24,14 @@ BuildRequires: autoconf
BuildRequires: gcc-c++
BuildRequires: update-alternatives
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-devel
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xrandr)
%if %{with gnome}
BuildRequires: gnome-desktop-devel
BuildRequires: libgnomeui-devel
@ -133,7 +140,7 @@ This package adds GNOME menu and sound support to icewm.
%build
autoconf
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility-inlines-hidden"
./configure --without-debug \
--sysconfdir=/etc \
--with-cfgdir=/etc/icewm \