diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-07-28 12:58:48 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-07-28 12:58:48 +0000 |
commit | 407979200b20d8d14399ff6ad990c41dbe52a074 (patch) | |
tree | e84f10887be9d6a46020c6ed63477a20ed465259 /kde-base/kdeartwork | |
parent | Update to KDE 3.4.2. (diff) | |
download | gentoo-2-407979200b20d8d14399ff6ad990c41dbe52a074.tar.gz gentoo-2-407979200b20d8d14399ff6ad990c41dbe52a074.tar.bz2 gentoo-2-407979200b20d8d14399ff6ad990c41dbe52a074.zip |
Update to KDE 3.4.2.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'kde-base/kdeartwork')
-rw-r--r-- | kde-base/kdeartwork/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/kdeartwork/files/digest-kdeartwork-3.4.2 | 1 | ||||
-rw-r--r-- | kde-base/kdeartwork/files/kdeartwork-3.4-configure.patch | 194 | ||||
-rw-r--r-- | kde-base/kdeartwork/kdeartwork-3.4.2.ebuild | 39 |
4 files changed, 242 insertions, 1 deletions
diff --git a/kde-base/kdeartwork/ChangeLog b/kde-base/kdeartwork/ChangeLog index 6157f1cb5316..77d1646e6520 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.126 2005/07/25 19:47:12 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/ChangeLog,v 1.127 2005/07/28 12:55:05 greg_g Exp $ + +*kdeartwork-3.4.2 (28 Jul 2005) + + 28 Jul 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/kdeartwork-3.4-configure.patch, +kdeartwork-3.4.2.ebuild: + New version. Add configure patch (#81966). Fix detection of xscreensaver + (#98819). 25 Jul 2005; Guy Martin <gmsoft@gentoo.org> kdeartwork-3.4.1.ebuild: Stable on hppa. diff --git a/kde-base/kdeartwork/files/digest-kdeartwork-3.4.2 b/kde-base/kdeartwork/files/digest-kdeartwork-3.4.2 new file mode 100644 index 000000000000..845e5d00f1ea --- /dev/null +++ b/kde-base/kdeartwork/files/digest-kdeartwork-3.4.2 @@ -0,0 +1 @@ +MD5 3fcf6c047ee7350350a9a4c918299603 kdeartwork-3.4.2.tar.bz2 18023334 diff --git a/kde-base/kdeartwork/files/kdeartwork-3.4-configure.patch b/kde-base/kdeartwork/files/kdeartwork-3.4-configure.patch new file mode 100644 index 000000000000..f0649e935e01 --- /dev/null +++ b/kde-base/kdeartwork/files/kdeartwork-3.4-configure.patch @@ -0,0 +1,194 @@ +diff -Nur kdeartwork-3.4.2.orig/kscreensaver/configure.in.in kdeartwork-3.4.2/kscreensaver/configure.in.in +--- kdeartwork-3.4.2.orig/kscreensaver/configure.in.in 2005-07-20 18:40:58.000000000 +0200 ++++ kdeartwork-3.4.2/kscreensaver/configure.in.in 2005-07-26 13:54:39.000000000 +0200 +@@ -36,32 +36,41 @@ + AM_CONDITIONAL(COMPILE_X11_KSAVERS, test "x$ac_x_includes" != x && test "x$ac_x_libraries" != x) + AM_CONDITIONAL(COMPILE_ARTS_KSAVERS, 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.2.orig/kscreensaver/kxsconfig/configure.in.bot kdeartwork-3.4.2/kscreensaver/kxsconfig/configure.in.bot +--- kdeartwork-3.4.2.orig/kscreensaver/kxsconfig/configure.in.bot 2005-07-20 18:40:57.000000000 +0200 ++++ kdeartwork-3.4.2/kscreensaver/kxsconfig/configure.in.bot 2005-07-26 13:54:39.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.2.orig/kscreensaver/kxsconfig/configure.in.in kdeartwork-3.4.2/kscreensaver/kxsconfig/configure.in.in +--- kdeartwork-3.4.2.orig/kscreensaver/kxsconfig/configure.in.in 2005-07-20 18:40:57.000000000 +0200 ++++ kdeartwork-3.4.2/kscreensaver/kxsconfig/configure.in.in 2005-07-26 13:54:39.000000000 +0200 +@@ -1,4 +1,4 @@ +-AC_DEFUN([KDE_CHECK_XSREENSAVER], ++AC_DEFUN([KDE_CHECK_XSCREENSAVER], + [ + XSCREENSAVER_CONFIG=NO + AC_FIND_FILE($1/flame.xml, [ $xscreensaver_prefixes ], XSCREENSAVER_CONFIG) +@@ -22,46 +22,82 @@ + 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) ++ ++AC_ARG_WITH(xscreensaver-dir, ++ [AC_HELP_STRING(--with-xscreensaver-dir=DIR, ++ [where xscreensaver is installed])], []) ++ ++AC_ARG_WITH(xscreensaver-config, ++ [AC_HELP_STRING(--with-xscreensaver-config=DIR, ++ [where the xscreensaver config files are])], []) ++ ++XSCREENSAVER=NO ++XSCREENSAVER_CONFIG=NO ++if test "x$with_xscreensaver" != xno; then ++ if test -n "$with_xscreensaver_dir" && test -f "$with_xscreensaver_dir/flame"; then ++ XSCREENSAVER="$with_xscreensaver_dir/flame" ++ fi ++ ++ if test "x$XSCREENSAVER" = xNO && test -n "$kdelibsuff"; then ++ KDE_FIND_PATH(lib$kdelibsuff/xscreensaver/flame, XSCREENSAVER, [ $xscreensaver_prefixes ]) ++ fi ++ ++ if test "x$XSCREENSAVER" = xNO; then ++ KDE_FIND_PATH(lib/xscreensaver/flame, XSCREENSAVER, [ $xscreensaver_prefixes ]) ++ fi ++ ++ if test "x$XSCREENSAVER" = xNO; then ++ KDE_FIND_PATH(libexec/xscreensaver/flame, XSCREENSAVER, [ $xscreensaver_prefixes ]) ++ fi ++ ++ if test "x$XSCREENSAVER" = xNO; then ++ KDE_FIND_PATH(bin/xscreensaver-hacks/flame, XSCREENSAVER, [ $xscreensaver_prefixes ]) ++ fi ++ ++ if test "x$XSCREENSAVER" = xNO; then ++ KDE_FIND_PATH(hacks/flame, XSCREENSAVER, [ $xscreensaver_prefixes ]) ++ fi ++ ++ AC_MSG_CHECKING([for flame.xml]) ++ ++ if test -n "$with_xscreensaver_config" && test -f "$with_xscreensaver_config/flame.xml"; then ++ XSCREENSAVER_CONFIG="$with_xscreensaver_config" ++ fi + +-XSCREENSAVER_HACKS_DIR= +- +-if test "$XSCREENSAVER" != "NO"; 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]) +- +- AC_MSG_CHECKING([for flame.xml]) ++ if test "x$XSCREENSAVER_CONFIG" = xNO; then + 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 +- KDE_CHECK_XSREENSAVER($subdir) ++ KDE_CHECK_XSCREENSAVER($subdir) + if test "$XSCREENSAVER_CONFIG" != NO; then + break + fi + done +- AC_MSG_RESULT([$XSCREENSAVER_CONFIG]) +- AC_DEFINE_UNQUOTED(XSCREENSAVER_CONFIG_DIR, "$XSCREENSAVER_CONFIG", +- [Defines where xscreensaver stores it's config files]) ++ fi ++ ++ AC_MSG_RESULT([$XSCREENSAVER_CONFIG]) ++ ++ if test "x$XSCREENSAVER_CONFIG" = xNO; then ++ XSCREENSAVER=NO ++ fi ++ ++ if test "x$with_xscreensaver" != xcheck && test "x$XSCREENSAVER" = xNO; then ++ AC_MSG_ERROR([--with-xscreensaver was given, but test for xscreensaver failed]) ++ fi ++fi ++ ++if test "$XSCREENSAVER" != "NO"; 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]) ++ AC_DEFINE_UNQUOTED(XSCREENSAVER_CONFIG_DIR, "$XSCREENSAVER_CONFIG", [Defines where xscreensaver stores it's config files]) + fi + + AM_CONDITIONAL(include_XSCREENSAVER, test "$XSCREENSAVER" != "NO") + AC_SUBST(XSCREENSAVER_HACKS_DIR) +- diff --git a/kde-base/kdeartwork/kdeartwork-3.4.2.ebuild b/kde-base/kdeartwork/kdeartwork-3.4.2.ebuild new file mode 100644 index 000000000000..1861abfe2460 --- /dev/null +++ b/kde-base/kdeartwork/kdeartwork-3.4.2.ebuild @@ -0,0 +1,39 @@ +# 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.2.ebuild,v 1.1 2005/07/28 12:55:05 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} + opengl? ( virtual/opengl ) + xscreensaver? ( x11-misc/xscreensaver )" + +src_unpack() { + kde_src_unpack + + # Configure patch. Applied for 3.5. + epatch ${FILESDIR}/kdeartwork-3.4-configure.patch + + # For the configure patch. + make -f admin/Makefile.common +} + +src_compile() { + local myconf="--with-dpms --with-libart + $(use_with opengl gl)" + + if use xscreensaver; then + myconf="${myconf} --with-xscreensaver + --with-xscreensaver-dir=/usr/lib/misc/xscreensaver + --with-xscreensaver-config=/usr/share/xscreensaver/config" + else + myconf="${myconf} --without-xscreensaver" + fi + + kde_src_compile +} |