summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-10-12 13:28:03 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-10-12 13:28:03 +0000
commitf6a29cb43c7bafd0c042a1686b5505ae595ae754 (patch)
treee77f33e379fe26f19bd019041ab84144df1b5460 /kde-base/kdeartwork
parentClock skew fix for AMD64 X2, and update to Linux 2.6.13.4 (diff)
downloadgentoo-2-f6a29cb43c7bafd0c042a1686b5505ae595ae754.tar.gz
gentoo-2-f6a29cb43c7bafd0c042a1686b5505ae595ae754.tar.bz2
gentoo-2-f6a29cb43c7bafd0c042a1686b5505ae595ae754.zip
New version.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'kde-base/kdeartwork')
-rw-r--r--kde-base/kdeartwork/ChangeLog9
-rw-r--r--kde-base/kdeartwork/files/digest-kdeartwork-3.4.31
-rw-r--r--kde-base/kdeartwork/files/kdeartwork-3.4.3-configure.patch140
-rw-r--r--kde-base/kdeartwork/files/kdeartwork-3.4.3-kfiresaver.patch12
-rw-r--r--kde-base/kdeartwork/kdeartwork-3.4.3.ebuild35
5 files changed, 196 insertions, 1 deletions
diff --git a/kde-base/kdeartwork/ChangeLog b/kde-base/kdeartwork/ChangeLog
index 082030f3ef1d..4565b4b2a3f0 100644
--- a/kde-base/kdeartwork/ChangeLog
+++ b/kde-base/kdeartwork/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdeartwork
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/ChangeLog,v 1.133 2005/10/06 23:20:47 hardave Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/ChangeLog,v 1.134 2005/10/12 13:23:24 greg_g Exp $
+
+*kdeartwork-3.4.3 (12 Oct 2005)
+
+ 12 Oct 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/kdeartwork-3.4.3-configure.patch,
+ +files/kdeartwork-3.4.3-kfiresaver.patch, +kdeartwork-3.4.3.ebuild:
+ New version.
06 Oct 2005; Hardave Riar <hardave@gentoo.org> kdeartwork-3.4.2.ebuild:
Keyworded ~mips.
diff --git a/kde-base/kdeartwork/files/digest-kdeartwork-3.4.3 b/kde-base/kdeartwork/files/digest-kdeartwork-3.4.3
new file mode 100644
index 000000000000..e62cea27e0c2
--- /dev/null
+++ b/kde-base/kdeartwork/files/digest-kdeartwork-3.4.3
@@ -0,0 +1 @@
+MD5 a571991c6e21321177febafadb61efaa kdeartwork-3.4.3.tar.bz2 18022458
diff --git a/kde-base/kdeartwork/files/kdeartwork-3.4.3-configure.patch b/kde-base/kdeartwork/files/kdeartwork-3.4.3-configure.patch
new file mode 100644
index 000000000000..567431d69d75
--- /dev/null
+++ b/kde-base/kdeartwork/files/kdeartwork-3.4.3-configure.patch
@@ -0,0 +1,140 @@
+diff -Nur kdeartwork-3.4.3.orig/kscreensaver/configure.in.in kdeartwork-3.4.3/kscreensaver/configure.in.in
+--- kdeartwork-3.4.3.orig/kscreensaver/configure.in.in 2005-10-06 08:12:25.000000000 +0200
++++ kdeartwork-3.4.3/kscreensaver/configure.in.in 2005-10-08 10:02:25.000000000 +0200
+@@ -37,32 +37,41 @@
+ AM_CONDITIONAL(COMPILE_ARTS_KSAVERS, test x$build_arts = xyes)
+ AM_CONDITIONAL(COMPILE_ARTS_GL_KSAVERS, test x$have_gl = xyes && test x$ac_cv_kde_qt_has_opengl = xyes && test x$build_arts = xyes)
+
+-LIBART=
++AC_ARG_WITH(libart,
++ [AC_HELP_STRING(--with-libart,
++ [enable support for libart @<:@default=check@:>@])],
++ [], with_libart=check)
+
+-KDE_FIND_PATH(libart2-config, LIBART_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
+- AC_MSG_WARN([Could not find libart anywhere, check http://www.levien.com/libart/])
+-])
+-
+-if test -n "$LIBART_CONFIG"; then
+- vers=`$LIBART_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+- if test -n "$vers" && test "$vers" -ge 2003008
+- then
+- LIBART_LIBS="`$LIBART_CONFIG --libs`"
+- LIBART_RPATH=
+- for args in $LIBART_LIBS; do
++LIBART=
++if test "x$with_libart" != xno; then
++ KDE_FIND_PATH(libart2-config, LIBART_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
++ AC_MSG_WARN([Could not find libart anywhere, check http://www.levien.com/libart/])
++ ])
++
++ if test -n "$LIBART_CONFIG"; then
++ vers=`$LIBART_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
++ if test -n "$vers" && test "$vers" -ge 2003008; then
++ LIBART_LIBS="`$LIBART_CONFIG --libs`"
++ LIBART_RPATH=
++ for args in $LIBART_LIBS; do
+ case $args in
+ -L*)
+ LIBART_RPATH="$LIBART_RPATH $args"
+ ;;
+ esac
+- done
+- LIBART_RPATH=`echo $LIBART_RPATH | sed -e "s/-L/-R/g"`
+- LIBART_CFLAGS="`$LIBART_CONFIG --cflags`"
+- LIBART=yes
+-
+- AC_DEFINE_UNQUOTED(HAVE_LIBART, 1, [Defines if your system has the libart library])
+- else
+- AC_MSG_WARN([You need at least libart 2.3.8])
++ done
++ LIBART_RPATH=`echo $LIBART_RPATH | sed -e "s/-L/-R/g"`
++ LIBART_CFLAGS="`$LIBART_CONFIG --cflags`"
++ LIBART=yes
++
++ AC_DEFINE_UNQUOTED(HAVE_LIBART, 1, [Defines if your system has the libart library])
++ else
++ AC_MSG_WARN([You need at least libart 2.3.8])
++ fi
++ fi
++
++ if test "x$with_libart" != xcheck && test -z "$LIBART"; then
++ AC_MSG_ERROR([--with-libart was given, but test for libart failed])
+ fi
+ fi
+
+diff -Nur kdeartwork-3.4.3.orig/kscreensaver/kxsconfig/configure.in.bot kdeartwork-3.4.3/kscreensaver/kxsconfig/configure.in.bot
+--- kdeartwork-3.4.3.orig/kscreensaver/kxsconfig/configure.in.bot 2005-10-05 15:11:48.000000000 +0200
++++ kdeartwork-3.4.3/kscreensaver/kxsconfig/configure.in.bot 2005-10-08 10:02:25.000000000 +0200
+@@ -1,4 +1,4 @@
+-if test "$XSCREENSAVER" = "NO"; then
++if test "x$with_xscreensaver" = xcheck && test "$XSCREENSAVER" = "NO"; then
+ echo ""
+ echo "xscreensaver could not be detected on your system."
+ echo "Check www.jwz.org/xscreensaver if you're loving to"
+diff -Nur kdeartwork-3.4.3.orig/kscreensaver/kxsconfig/configure.in.in kdeartwork-3.4.3/kscreensaver/kxsconfig/configure.in.in
+--- kdeartwork-3.4.3.orig/kscreensaver/kxsconfig/configure.in.in 2005-10-05 15:11:48.000000000 +0200
++++ kdeartwork-3.4.3/kscreensaver/kxsconfig/configure.in.in 2005-10-08 10:03:21.000000000 +0200
+@@ -22,25 +22,30 @@
+ done
+ IFS=$old_IFS
+
+-KDE_FIND_PATH(lib$kdelibsuff/xscreensaver/flame, XSCREENSAVER, [ $xscreensaver_prefixes ],
+- [
+- KDE_FIND_PATH(lib/xscreensaver/flame, XSCREENSAVER, [ $xscreensaver_prefixes ],
+- [
+- KDE_FIND_PATH(bin/xscreensaver-hacks/flame, XSCREENSAVER,
+- [ $xscreensaver_prefixes ],
+- [
+- KDE_FIND_PATH(hacks/flame, XSCREENSAVER,
+- [ $xscreensaver_prefixes ],
+- [
+- XSCREENSAVER=NO
+- ])
+- ])
+- ])
+- ])
++AC_ARG_WITH(xscreensaver,
++ [AC_HELP_STRING(--with-xscreensaver,
++ [enable support for xscreensaver @<:@default=check@:>@])],
++ [], with_xscreensaver=check)
++
++XSCREENSAVER=''
++echo "Searching in $xscreensaver_prefixes"
++if test "x$with_xscreensaver" != xno; then
++ for xsdir in lib$kdelibsuff/xscreensaver lib/xscreensaver \
++ lib$kdelibsuff/misc/xscreensaver lib/misc/xscreensaver \
++ libexec$kdelibsuff/xscreensaver libexec/xscreensaver \
++ bin/xscreensaver-hacks hacks; do
++ test -n "$XSCREENSAVER" && break
++ KDE_FIND_PATH("$xsdir/flame", XSCREENSAVER, [ $xscreensaver_prefixes ])
++ done
++
++ if test "x$with_xscreensaver" != xcheck && test "x$XSCREENSAVER" = x; then
++ AC_MSG_ERROR([--with-xscreensaver was given, but test for xscreensaver failed])
++ fi
++fi
+
+ XSCREENSAVER_HACKS_DIR=
+
+-if test "$XSCREENSAVER" != "NO"; then
++if test -n "$XSCREENSAVER"; then
+ XSCREENSAVER_HACKS_DIR=`echo $XSCREENSAVER | sed -e 's,/flame$,,'`
+ AC_DEFINE_UNQUOTED(XSCREENSAVER_HACKS_DIR, "$XSCREENSAVER_HACKS_DIR", [Defines where xscreensaver stores its graphic hacks])
+
+@@ -48,7 +53,6 @@
+ for subdir in lib/xscreensaver/config \
+ lib/X11/xscreensaver/config \
+ share/control-center/screensavers \
+- share/control-center/screensavers \
+ share/xscreensaver/config \
+ xscreensaver \
+ config/control-center-2.0; do
+@@ -62,6 +66,5 @@
+ [Defines where xscreensaver stores it's config files])
+ fi
+
+-AM_CONDITIONAL(include_XSCREENSAVER, test "$XSCREENSAVER" != "NO")
++AM_CONDITIONAL(include_XSCREENSAVER, test -n "$XSCREENSAVER")
+ AC_SUBST(XSCREENSAVER_HACKS_DIR)
+-
diff --git a/kde-base/kdeartwork/files/kdeartwork-3.4.3-kfiresaver.patch b/kde-base/kdeartwork/files/kdeartwork-3.4.3-kfiresaver.patch
new file mode 100644
index 000000000000..53e69720b1bd
--- /dev/null
+++ b/kde-base/kdeartwork/files/kdeartwork-3.4.3-kfiresaver.patch
@@ -0,0 +1,12 @@
+diff -Nur kdeartwork-3.4.3.orig/kscreensaver/kdesavers/Makefile.am kdeartwork-3.4.3/kscreensaver/kdesavers/Makefile.am
+--- kdeartwork-3.4.3.orig/kscreensaver/kdesavers/Makefile.am 2005-10-05 15:11:45.000000000 +0200
++++ kdeartwork-3.4.3/kscreensaver/kdesavers/Makefile.am 2005-10-10 16:19:25.000000000 +0200
+@@ -95,7 +95,7 @@
+ desktop_DATA = KBanner.desktop KPolygon.desktop \
+ KSlideshow.desktop KLines-saver.desktop KLorenz.desktop \
+ KBlob.desktop KVm.desktop \
+- KClock.desktop $(X11_DESKTOP_FILES) $(GL_DESKTOP_FILES) $(LIBART_DESKTOP_FILES)
++ KClock.desktop $(X11_DESKTOP_FILES) $(GL_DESKTOP_FILES) $(LIBART_DESKTOP_FILES) $(ARTS_GL_DESKTOP_FILES)
+
+ desktopdir = $(kde_appsdir)/System/ScreenSavers
+
diff --git a/kde-base/kdeartwork/kdeartwork-3.4.3.ebuild b/kde-base/kdeartwork/kdeartwork-3.4.3.ebuild
new file mode 100644
index 000000000000..78de00dd4b01
--- /dev/null
+++ b/kde-base/kdeartwork/kdeartwork-3.4.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/kdeartwork-3.4.3.ebuild,v 1.1 2005/10/12 13:23:24 greg_g Exp $
+
+inherit kde-dist eutils
+
+DESCRIPTION="KDE artwork package"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="opengl xscreensaver"
+
+DEPEND="~kde-base/kdebase-${PV}
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )"
+
+src_unpack() {
+ kde_src_unpack
+
+ # Configure patch. Applied for 3.5.
+ epatch ${FILESDIR}/kdeartwork-3.4.3-configure.patch
+
+ # Fix Makefile. Applied for 3.4.4.
+ epatch ${FILESDIR}/kdeartwork-3.4.3-kfiresaver.patch
+
+ # For the configure and Makefile patch.
+ make -f admin/Makefile.common || die
+}
+
+src_compile() {
+ local myconf="--with-dpms --with-libart
+ $(use_with opengl gl) $(use_with xscreensaver)"
+
+ kde_src_compile
+}