Added a patch to the configure script to honor the 'arts' USE flag. Fixes bug #69189...
authorSimone Gotti <motaboy@gentoo.org>
Wed, 27 Oct 2004 22:34:20 +0000 (22:34 +0000)
committerSimone Gotti <motaboy@gentoo.org>
Wed, 27 Oct 2004 22:34:20 +0000 (22:34 +0000)
app-misc/kgraphspace/ChangeLog
app-misc/kgraphspace/Manifest
app-misc/kgraphspace/files/kgraphspace-0.3.0_pre1-configure.patch [new file with mode: 0644]
app-misc/kgraphspace/kgraphspace-0.3.0_pre1.ebuild
app-misc/kgraphspace/metadata.xml [new file with mode: 0644]

index e4ec2262a441c71e643474ee79a8fb48ed4718b1..6f6c7f06417786e2d615ee924c8b8497cf3c26e2 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/kgraphspace
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/kgraphspace/ChangeLog,v 1.8 2004/07/18 17:07:33 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/kgraphspace/ChangeLog,v 1.9 2004/10/27 22:34:20 motaboy Exp $
+
+  28 Oct 2004; Simone Gotti <motaboy@gentoo.org> +metadata.xml,
+  +files/kgraphspace-0.3.0_pre1-configure.patch,
+  kgraphspace-0.3.0_pre1.ebuild:
+  Added a patch to the configure script to honor the 'arts' USE flag. Fixes
+  bug #69189. Also added the missing 'metadata.xml' file.
 
   18 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> kgraphspace-0.3.0_pre1.ebuild:
   Added amd64 keyword, closing #54328.
index d6b6565c7a6738fc80227586752d3f327f8ca519..6b4bc3911a2fe732b5c903f95d699c2671e930fa 100644 (file)
@@ -1,3 +1,5 @@
-MD5 c6e02b56bf8374fe2d7436b369931b4d kgraphspace-0.3.0_pre1.ebuild 479
-MD5 cbf7344c9fe486b1c42d2796c044106f ChangeLog 1316
+MD5 b0762c72939e685d05c6b54044fb7917 kgraphspace-0.3.0_pre1.ebuild 571
+MD5 c4344dc2566705be7c1ae35cb939d509 ChangeLog 1600
+MD5 96a4184e1e3325923219a5f96a5511a5 metadata.xml 163
 MD5 0c58d548c0e64f8bf92ae514770de156 files/digest-kgraphspace-0.3.0_pre1 75
+MD5 8aeb4c1ce5b9fab4d89167227f68d932 files/kgraphspace-0.3.0_pre1-configure.patch 3567
diff --git a/app-misc/kgraphspace/files/kgraphspace-0.3.0_pre1-configure.patch b/app-misc/kgraphspace/files/kgraphspace-0.3.0_pre1-configure.patch
new file mode 100644 (file)
index 0000000..ae9d170
--- /dev/null
@@ -0,0 +1,141 @@
+--- configure.orig     2004-10-27 23:54:29.353503448 +0200
++++ configure  2004-10-27 23:55:36.067361400 +0200
+@@ -12973,138 +12973,6 @@
+    fi
+ 
+ 
+-   echo "$as_me:$LINENO: checking for mcopidl" >&5
+-echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
+-   if test -n "$MCOPIDL"; then
+-        kde_cv_path="$MCOPIDL";
+-   else
+-        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-        kde_cv_path="NONE"
+-      dirs="$kde_default_bindirs"
+-      kde_save_IFS=$IFS
+-      IFS=':'
+-      for dir in $PATH; do
+-        dirs="$dirs $dir"
+-        done
+-      IFS=$kde_save_IFS
+-
+-        for dir in $dirs; do
+-        if test -x "$dir/mcopidl"; then
+-          if test -n ""
+-          then
+-              evalstr="$dir/mcopidl  2>&1 "
+-            if eval $evalstr; then
+-                kde_cv_path="$dir/mcopidl"
+-                break
+-            fi
+-            else
+-              kde_cv_path="$dir/mcopidl"
+-                break
+-          fi
+-          fi
+-        done
+-
+-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+-   fi
+-
+-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+-      echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+-    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-   else
+-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+-      MCOPIDL=$kde_cv_path
+-
+-   fi
+-
+-
+-   echo "$as_me:$LINENO: checking for artsc-config" >&5
+-echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
+-   if test -n "$ARTSCCONFIG"; then
+-        kde_cv_path="$ARTSCCONFIG";
+-   else
+-        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+-
+-        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-        kde_cv_path="NONE"
+-      dirs="$kde_default_bindirs"
+-      kde_save_IFS=$IFS
+-      IFS=':'
+-      for dir in $PATH; do
+-        dirs="$dirs $dir"
+-        done
+-      IFS=$kde_save_IFS
+-
+-        for dir in $dirs; do
+-        if test -x "$dir/artsc-config"; then
+-          if test -n ""
+-          then
+-              evalstr="$dir/artsc-config  2>&1 "
+-            if eval $evalstr; then
+-                kde_cv_path="$dir/artsc-config"
+-                break
+-            fi
+-            else
+-              kde_cv_path="$dir/artsc-config"
+-                break
+-          fi
+-          fi
+-        done
+-
+-        eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+-      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+-   fi
+-
+-   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+-      echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+-    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+-   { (exit 1); exit 1; }; }
+-
+-   else
+-      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+-      ARTSCCONFIG=$kde_cv_path
+-
+-   fi
+-
+-
+    echo "$as_me:$LINENO: checking for kde-config" >&5
+ echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
+    if test -n "$KDECONFIG"; then
index 62911a206d8e25c66ff9edf9d0f90de393dfcd6a..7e7db60888aa42eb167061a7cf86656427b2e8ff 100644 (file)
@@ -1,9 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/kgraphspace/kgraphspace-0.3.0_pre1.ebuild,v 1.11 2004/07/18 17:07:33 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/kgraphspace/kgraphspace-0.3.0_pre1.ebuild,v 1.12 2004/10/27 22:34:20 motaboy Exp $
 
 inherit kde
-need-kde 3
 
 DESCRIPTION="A Disk space utility "
 HOMEPAGE="http://kgraphspace.sourceforge.net"
@@ -15,3 +14,11 @@ KEYWORDS="x86 ~amd64"
 IUSE=""
 
 S="$WORKDIR/${P//_/-}"
+
+need-kde 3
+
+src_unpack() {
+       kde_src_unpack
+
+       use arts || epatch ${FILESDIR}/${P}-configure.patch
+}
diff --git a/app-misc/kgraphspace/metadata.xml b/app-misc/kgraphspace/metadata.xml
new file mode 100644 (file)
index 0000000..ec42e9f
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde-other</herd> 
+</pkgmetadata>