* Mon Jun 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 6:3.5.7-2

- include (but don't apply/use) experimental libtool patches
- kdesu: sudo support (kde bug #20914), Requires(hint): sudo
This commit is contained in:
Rex Dieter 2007-06-11 16:23:24 +00:00
parent 0c2087d67c
commit 2e2ea29309
2 changed files with 87 additions and 7 deletions

View File

@ -0,0 +1,72 @@
Index: arts-1.5.4/acinclude.m4
===================================================================
--- arts-1.5.4.orig/acinclude.m4
+++ arts-1.5.4/acinclude.m4
@@ -12040,28 +12040,12 @@ fi
])# AC_LTDL_SYS_DLOPEN_DEPLIBS
AC_DEFUN([AC_LTDL_SHLIBEXT],
-[AC_REQUIRE([AC_LTDL_SNARF_CONFIG])dnl
+[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])dnl
AC_CACHE_CHECK([which extension is used for shared libraries],
libltdl_cv_shlibext, [dnl
-(
- last=
- case "$host_os" in
- cygwin* | mingw*)
- last=".dll"
- ;;
- *)
- for spec in $library_names_spec; do
- last="$spec"
- done
- ;;
- esac
-changequote(, )
- echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
-changequote([, ])
-)
-libltdl_cv_shlibext=`cat conftest`
-rm -f conftest
-])
+module=yes
+eval libltdl_cv_shlibext=$shrext
+ ])
if test -n "$libltdl_cv_shlibext"; then
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",
[Define to the extension used for shared libraries, say, ".so". ])
Index: arts-1.5.4/libltdl/ltdl.m4
===================================================================
--- arts-1.5.4.orig/libltdl/ltdl.m4
+++ arts-1.5.4/libltdl/ltdl.m4
@@ -118,27 +118,11 @@ fi
])# AC_LTDL_SYS_DLOPEN_DEPLIBS
AC_DEFUN([AC_LTDL_SHLIBEXT],
-[AC_REQUIRE([AC_LTDL_SNARF_CONFIG])dnl
+[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])dnl
AC_CACHE_CHECK([which extension is used for shared libraries],
libltdl_cv_shlibext, [dnl
-(
- last=
- case "$host_os" in
- cygwin* | mingw*)
- last=".dll"
- ;;
- *)
- for spec in $library_names_spec; do
- last="$spec"
- done
- ;;
- esac
-changequote(, )
- echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
-changequote([, ])
-)
-libltdl_cv_shlibext=`cat conftest`
-rm -f conftest
+module=yes
+eval libltdl_cv_shlibext=$shrext
])
if test -n "$libltdl_cv_shlibext"; then
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",

View File

@ -24,7 +24,7 @@ Name: kdelibs
Summary: K Desktop Environment - Libraries
Epoch: 6
Version: 3.5.7
Release: 0.1%{?dist}
Release: 2%{?dist}
License: LGPL
Url: http://www.kde.org/
@ -62,6 +62,10 @@ Patch502: kdelibs-3.5.0-101956.patch
# automake-1.10, $(all_libraries) is missing from a few LDFLAGS (kde #137675)
Patch503: kdelibs-3.5.6-137675.patch
Patch505: kdelibs-3.5.7-kde#146105.patch
# http://bugs.kde.org/93359, alternative to export libltdl_cv_shlibext=".so" hack.
Patch93359: kde-3.5-libtool-shlibext.patch
## See http://bugs.kde.org/139445
Patch139445: kdelibs-3.5.5-lib_loader-1.2.patch
Requires: arts >= %{arts_epoch}:%{arts_version}
Requires: qt >= %{qt_epoch}:%{qt_ver}
@ -72,12 +76,11 @@ Requires: iceauth
Requires: kde-settings >= 3.5
%endif
Requires: libkdnssd
## don't think these are *strictly* required anymore, and if so,
## should prolly be in kdebase -- Rex
#Requires: redhat-artwork >= 0.239-2
#Requires: desktop-backgrounds-basic
Requires: redhat-menus >= 5.0.4
Requires: shadow-utils
# kdesu/sudo support, http://bugs.kde.org/20914
BuildRequires: sudo
Requires(hint): sudo
Requires(pre): coreutils
Requires(post): /sbin/ldconfig
@ -110,8 +113,7 @@ BuildRequires: bzip2-devel
BuildRequires: libtiff-devel
BuildRequires: libacl-devel libattr-devel
BuildRequires: aspell-devel
# +keyutils-libs-devel until krb5-devel's Req's are fixed
BuildRequires: krb5-devel keyutils-libs-devel
BuildRequires: krb5-devel
BuildRequires: openldap-devel
BuildRequires: db4-devel
BuildRequires: alsa-lib-devel
@ -192,6 +194,8 @@ format for easy browsing
# upstream patches
%patch503 -p0 -b .kde#137675
%patch505 -p0 -b .kde#146105
#patch93359 -p1 -b .libtool-shlibext
#patch139445 -p1 -b .kde#139445
sed -i -e "s,^#define KDE_VERSION_STRING .*,#define KDE_VERSION_STRING \"%{version}-%{release} %{distname}\"," kdecore/kdeversion.h
@ -451,6 +455,10 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
%changelog
* Mon Jun 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 6:3.5.7-2
- include (but don't apply/use) experimental libtool patches
- kdesu: sudo support (kde bug #20914), Requires(hint): sudo
* Wed Jun 06 2007 Than Ngo <than@redhat.com> - 6:3.5.7-0.1.fc7
- 3.5.7