Author: adgor                        Date: Thu Dec  8 19:28:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- hidden_visibility bcond

---- Files affected:
SPECS:
   kdenetwork.spec (1.199 -> 1.200) 

---- Diffs:

================================================================
Index: SPECS/kdenetwork.spec
diff -u SPECS/kdenetwork.spec:1.199 SPECS/kdenetwork.spec:1.200
--- SPECS/kdenetwork.spec:1.199 Wed Nov 23 22:59:52 2005
+++ SPECS/kdenetwork.spec       Thu Dec  8 20:28:47 2005
@@ -1,6 +1,10 @@
 # $Revision$, $Date$
 %bcond_without xmms
 %bcond_with    skype
+%bcond_with    hidden_visibility       # pass '--fvisibility=hidden'
+                                       # & '--fvisibility-inlines-hidden'
+                                       # to g++ 
+#
 %define                _state          stable
 %define                _kdever         3.5
 %define                _ver            3.5.0
@@ -32,6 +36,7 @@
 Patch2:                %{name}-libgadu.patch
 BuildRequires: autoconf
 BuildRequires: automake
+%{?with_hidden_visibility:BuildRequires:       gcc-c++ >= 
5:4.1.0-0.20051206r108118.1}
 BuildRequires: gettext-devel
 BuildRequires: kdelibs-devel >= %{_minlibsevr}
 BuildRequires: libgadu-devel >= 1.4
@@ -44,6 +49,7 @@
 BuildRequires: openslp-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pcre-devel
+%{?with_hidden_visibility:BuildRequires:       qt-devel >= 6:3.3.5.051113-1}
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: sed >= 4.0
 #BuildRequires:        unsermake >= 040511
@@ -1026,24 +1032,23 @@
 
 cp %{_datadir}/automake/config.sub admin
 
-#export UNSERMAKE=%{_datadir}/unsermake/unsermake
-
 %{__make} -f admin/Makefile.common cvs
 
 %build
 %configure \
+       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+       %{!?debug:--disable-rpath} \
+       --disable-testbed \
        --enable-final \
-       --disable-rpath \
-       --with-qt-libraries=%{_libdir} \
-       --with-distribution="PLD Linux Distribution" \
+       %{?with_hidden_visibility:--enable-gcc-hidden-visibility} \
 %if "%{_lib}" == "lib64"
        --enable-libsuffix=64 \
 %endif
-       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
-       --disable-testbed \
-       --with-wifi \
+       --enable-sametime-plugin \
        --enable-smpppd \
-       --enable-sametime-plugin
+       --with-distribution="PLD Linux Distribution" \
+       --with-qt-libraries=%{_libdir} \
+       --with-wifi
 
 %{__make}
 
@@ -1735,6 +1740,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.200  2005/12/08 19:28:47  adgor
+- hidden_visibility bcond
+
 Revision 1.199  2005/11/23 21:59:52  arekm
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdenetwork.spec?r1=1.199&r2=1.200&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to