summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-07-28 13:04:00 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-07-28 13:04:00 +0000
commited85561c2c56990adca1cf8dc71eefaf02c968cd (patch)
treea33730ea6650669a8890710d10898d3bfcf343d7 /kde-base/kdenetwork
parentcorrect bad scripting (diff)
downloadgentoo-2-ed85561c2c56990adca1cf8dc71eefaf02c968cd.tar.gz
gentoo-2-ed85561c2c56990adca1cf8dc71eefaf02c968cd.tar.bz2
gentoo-2-ed85561c2c56990adca1cf8dc71eefaf02c968cd.zip
Update to KDE 3.4.2.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'kde-base/kdenetwork')
-rw-r--r--kde-base/kdenetwork/ChangeLog8
-rw-r--r--kde-base/kdenetwork/files/digest-kdenetwork-3.4.21
-rw-r--r--kde-base/kdenetwork/files/kdenetwork-3.4-configure.patch190
-rw-r--r--kde-base/kdenetwork/kdenetwork-3.4.2.ebuild70
4 files changed, 268 insertions, 1 deletions
diff --git a/kde-base/kdenetwork/ChangeLog b/kde-base/kdenetwork/ChangeLog
index 5e8c104770c4..d2255081137f 100644
--- a/kde-base/kdenetwork/ChangeLog
+++ b/kde-base/kdenetwork/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kdenetwork
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.161 2005/07/27 18:57:48 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.162 2005/07/28 13:03:19 greg_g Exp $
+
+*kdenetwork-3.4.2 (28 Jul 2005)
+
+ 28 Jul 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/kdenetwork-3.4-configure.patch, +kdenetwork-3.4.2.ebuild:
+ New version. Add configure patch (#81966).
27 Jul 2005; Guy Martin <gmsoft@gentoo.org> kdenetwork-3.4.1-r1.ebuild:
Stable on hppa.
diff --git a/kde-base/kdenetwork/files/digest-kdenetwork-3.4.2 b/kde-base/kdenetwork/files/digest-kdenetwork-3.4.2
new file mode 100644
index 000000000000..ff4633b1c9db
--- /dev/null
+++ b/kde-base/kdenetwork/files/digest-kdenetwork-3.4.2
@@ -0,0 +1 @@
+MD5 f803a0800d722983e6cc2b4c87ca435e kdenetwork-3.4.2.tar.bz2 7392788
diff --git a/kde-base/kdenetwork/files/kdenetwork-3.4-configure.patch b/kde-base/kdenetwork/files/kdenetwork-3.4-configure.patch
new file mode 100644
index 000000000000..13ce9cd5f246
--- /dev/null
+++ b/kde-base/kdenetwork/files/kdenetwork-3.4-configure.patch
@@ -0,0 +1,190 @@
+diff -Nur kdenetwork-3.4.2.orig/configure.in.bot kdenetwork-3.4.2/configure.in.bot
+--- kdenetwork-3.4.2.orig/configure.in.bot 2005-05-23 14:08:19.000000000 +0200
++++ kdenetwork-3.4.2/configure.in.bot 2005-07-26 13:55:52.000000000 +0200
+@@ -63,7 +63,7 @@
+ all_tests=bad
+ fi
+
+-if test -z "$XMMS_LIBS"; then
++if test "x$with_xmms" = xcheck && test -z "$XMMS_LIBS"; then
+ echo ""
+ echo "You're missing the XMMS libraries, or the libxmms development package."
+ echo "Without libxmms Kopete's NowListening plugin won't be able to talk to"
+@@ -74,7 +74,7 @@
+ all_tests=bad
+ fi
+
+-if test "$kde_libiw_installed" = "no"; then
++if test "x$with_wifi" = xcheck && test "$kde_libiw_installed" = "no"; then
+ echo ""
+ echo "You're missing the wireless tools libraries, or the wireless tools"
+ echo "header files. Without these, KWiFiManager and the kwireless applet"
+diff -Nur kdenetwork-3.4.2.orig/kopete/plugins/nowlistening/configure.in.in kdenetwork-3.4.2/kopete/plugins/nowlistening/configure.in.in
+--- kdenetwork-3.4.2.orig/kopete/plugins/nowlistening/configure.in.in 2005-05-23 14:07:30.000000000 +0200
++++ kdenetwork-3.4.2/kopete/plugins/nowlistening/configure.in.in 2005-07-26 13:56:43.000000000 +0200
+@@ -41,7 +41,19 @@
+ fi
+ ])
+
+-AC_CHECK_XMMS
++AC_ARG_WITH(xmms,
++ [AC_HELP_STRING(--with-xmms,
++ [enable support for XMMS @<:@default=check@:>@])],
++ [], with_xmms=check)
++
++if test "x$with_xmms" != xno; then
++ AC_CHECK_XMMS
++
++ if test "x$with_xmms" != xcheck && test "x$ac_cv_have_xmms" = xno; then
++ AC_MSG_ERROR([--with-xmms was given, but test for XMMS failed])
++ fi
++fi
++
+ AC_SUBST(XMMS_LIBS)
+ AC_SUBST(XMMS_LDFLAGS)
+ AC_SUBST(XMMS_INCLUDES)
+diff -Nur kdenetwork-3.4.2.orig/kopete/protocols/configure.in.in kdenetwork-3.4.2/kopete/protocols/configure.in.in
+--- kdenetwork-3.4.2.orig/kopete/protocols/configure.in.in 2005-05-23 14:07:47.000000000 +0200
++++ kdenetwork-3.4.2/kopete/protocols/configure.in.in 2005-07-26 13:56:19.000000000 +0200
+@@ -10,6 +10,11 @@
+ ac_libgadu_includes=""
+ ac_libgadu_libs=""
+
++AC_ARG_WITH(external-libgadu,
++ [AC_HELP_STRING(--with-external-libgadu,
++ [use external libgadu library @<:@default=check@:>@])],
++ [], with_external_libgadu=check)
++
+ AC_ARG_WITH(libgadu-includes,
+ AC_HELP_STRING([--with-libgadu-includes=DIR], [where the libgadu includes are.]),
+ [ ac_libgadu_includes="$withval" ])
+@@ -26,12 +31,12 @@
+ LIBGG_LIBS="-L$ac_libgadu_libs"
+ fi
+
+-
+-ac_save_LIBS="$LIBS"
+-ac_save_CFLAGS="$CFLAGS"
+-LIBS="$LIBGG_LIBS -lgadu $LIBPTHREAD"
+-CFLAGS="$CFLAGS $LIBGG_INCLUDES"
+-AC_MSG_CHECKING([libgadu version 1.5(rcX) with pthread support])
++if test "x$with_external_libgadu" != xno; then
++ ac_save_LIBS="$LIBS"
++ ac_save_CFLAGS="$CFLAGS"
++ LIBS="$LIBGG_LIBS -lgadu $LIBPTHREAD"
++ CFLAGS="$CFLAGS $LIBGG_INCLUDES"
++ AC_MSG_CHECKING([libgadu version 1.5(rcX) with pthread support])
+ AC_TRY_RUN(
+ [
+
+@@ -61,28 +66,37 @@
+ ], [
+ LIBGG_LIBS="$LIBGG_LIBS -lgadu $LIBPTHREAD"
+ AC_MSG_RESULT([yes])
+- AC_SUBST(LIBGG_INCLUDES)
+- AC_SUBST(LIBGG_LIBS)
+ COMPILE_GADU=true
+- AC_SUBST(COMPILE_GADU)
+ use_libgadu_copy=
+ ], [
+- if test "$kde_use_threading" = "yes" ; then
+- AC_MSG_RESULT([no, falling back on supplied libgadu-copy])
+- use_libgadu_copy=yes
+- COMPILE_GADU=true
++ AC_MSG_RESULT([no])
++ ])
++ LIBS="$ac_save_LIBS"
++ CFLAGS="$ac_save_CFLAGS"
++
++ if test "x$with_external_libgadu" != xcheck && test -z "$COMPILE_GADU"; then
++ AC_MSG_ERROR([--with-external-libgadu was given, but test for libgadu failed])
++ fi
++fi
++
++if test -z "$COMPILE_GADU"; then
++ AC_MSG_CHECKING([if supplied libgadu-copy can be used])
++ if test "$kde_use_threading" = "yes"; then
++ AC_MSG_RESULT([yes])
++ use_libgadu_copy=yes
++ COMPILE_GADU=true
+ else
+- use_libgadu_copy=
+- AC_MSG_RESULT([no, cannot fall back on libgadu-copy (no pthread)])
+- COMPILE_GADU=
++ AC_MSG_RESULT([no (no pthread), support for Gadu-Gadu will be disabled])
++ use_libgadu_copy=
++ COMPILE_GADU=
+ fi
+- AC_SUBST(COMPILE_GADU)
+- ])
++fi
++
++AC_SUBST(LIBGG_INCLUDES)
++AC_SUBST(LIBGG_LIBS)
++AC_SUBST(COMPILE_GADU)
+ AM_CONDITIONAL(include_gadu, test -n "$COMPILE_GADU")
+ AM_CONDITIONAL(include_libggcopy, test -n "$use_libgadu_copy")
+-LIBS="$ac_save_LIBS"
+-CFLAGS="$ac_save_CFLAGS"
+-
+
+ if test "$use_libgadu_copy" = "yes"; then
+ cp ${srcdir}/kopete/protocols/gadu/libgadu/libgadu-config.h.in \
+diff -Nur kdenetwork-3.4.2.orig/wifi/configure.in.in kdenetwork-3.4.2/wifi/configure.in.in
+--- kdenetwork-3.4.2.orig/wifi/configure.in.in 2005-05-23 14:08:02.000000000 +0200
++++ kdenetwork-3.4.2/wifi/configure.in.in 2005-07-26 13:57:27.000000000 +0200
+@@ -1,7 +1,14 @@
+-AC_LANG_SAVE
+-AC_LANG_CPLUSPLUS
+-AC_MSG_CHECKING([if wireless tools >= 25 are installed])
+-AC_TRY_COMPILE(
++AC_ARG_WITH(wifi,
++ [AC_HELP_STRING(--with-wifi,
++ [enable support for wireless tools @<:@default=check@:>@])],
++ [], with_wifi=check)
++
++kde_libiw_installed=no
++if test "x$with_wifi" != xno; then
++ AC_LANG_SAVE
++ AC_LANG_CPLUSPLUS
++ AC_MSG_CHECKING([if wireless tools >= 25 are installed])
++ AC_TRY_COMPILE(
+ [
+ #include <iwlib.h>
+ ],
+@@ -14,14 +21,10 @@
+ ,
+ kde_libiw_installed=no
+ AC_MSG_RESULT(no)
+-)
+-
+-if test "$kde_libiw_installed" = "no"; then
+- DO_NOT_COMPILE="$DO_NOT_COMPILE wifi"
+-fi
++ )
+
+-AC_MSG_CHECKING([if wireless tools >= 27 are installed])
+-AC_TRY_COMPILE(
++ AC_MSG_CHECKING([if wireless tools >= 27 are installed])
++ AC_TRY_COMPILE(
+ [
+ #include <iwlib.h>
+ ],
+@@ -54,6 +57,15 @@
+ AC_MSG_RESULT(no)
+ )
+
+-)
++ )
++
++ AC_LANG_RESTORE
+
+-AC_LANG_RESTORE
++ if test "x$with_wifi" != xcheck && test "x$kde_libiw_installed" = xno; then
++ AC_MSG_ERROR([--with-wifi was given, but test for wireless-tools failed])
++ fi
++fi
++
++if test "$kde_libiw_installed" = "no"; then
++ DO_NOT_COMPILE="$DO_NOT_COMPILE wifi"
++fi
diff --git a/kde-base/kdenetwork/kdenetwork-3.4.2.ebuild b/kde-base/kdenetwork/kdenetwork-3.4.2.ebuild
new file mode 100644
index 000000000000..22ccfbff3baa
--- /dev/null
+++ b/kde-base/kdenetwork/kdenetwork-3.4.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-3.4.2.ebuild,v 1.1 2005/07/28 13:03:19 greg_g Exp $
+
+inherit kde-dist eutils
+
+DESCRIPTION="KDE network apps: kopete, kppp, kget..."
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="rdesktop slp ssl wifi xmms"
+
+DEPEND="~kde-base/kdebase-${PV}
+ dev-libs/libxslt
+ dev-libs/libxml2
+ slp? ( net-libs/openslp )
+ wifi? ( net-wireless/wireless-tools )
+ xmms? ( media-sound/xmms )"
+
+RDEPEND="${DEPEND}
+ rdesktop? ( >=net-misc/rdesktop-1.4.1 )
+ dev-lang/perl
+ ssl? ( app-crypt/qca-tls
+ dev-perl/IO-Socket-SSL )"
+# perl: for KSirc
+# qca-tls: for Kopete jabber plugin.
+# IO-Socket-SSL: for SSL support in KSirc.
+
+DEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ kde_src_unpack
+
+ # Disable meanwhile support in kopete. See bug 96778.
+ # Needs to be reconsidered for 3.5.
+ epatch "$FILESDIR/disable-meanwhile.diff"
+
+ # Configure patch. Applied for 3.5.
+ epatch "${FILESDIR}/kdenetwork-3.4-configure.patch"
+
+ # For the configure patch.
+ make -f admin/Makefile.common
+}
+
+src_compile() {
+ local myconf="$(use_enable slp) $(use_with wifi)
+ $(use_with xmms) --without-external-libgadu"
+
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install
+
+ chmod u+s ${D}/${KDEDIR}/bin/reslisa
+
+ # empty config file needed for lisa to work with default settings
+ dodir /etc
+ touch ${D}/etc/lisarc
+
+ # lisa, reslisa initscripts
+ sed -e "s:_KDEDIR_:${KDEDIR}:g" ${FILESDIR}/lisa > ${T}/lisa
+ sed -e "s:_KDEDIR_:${KDEDIR}:g" ${FILESDIR}/reslisa > ${T}/reslisa
+ exeinto /etc/init.d
+ doexe ${T}/lisa ${T}/reslisa
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/lisa.conf lisa
+ newins ${FILESDIR}/reslisa.conf reslisa
+}