diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 17:15:25 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 17:15:25 +0000 |
commit | e0ce0d799800ddf4ea813d121c0fe26cddfd8dda (patch) | |
tree | f601d56835f43dc7656e1b2be8a1d5ea8b23593d /net-misc | |
parent | Changed to use tetex-2.eclass. (diff) | |
download | gentoo-2-e0ce0d799800ddf4ea813d121c0fe26cddfd8dda.tar.gz gentoo-2-e0ce0d799800ddf4ea813d121c0fe26cddfd8dda.tar.bz2 gentoo-2-e0ce0d799800ddf4ea813d121c0fe26cddfd8dda.zip |
Add patch to compile without arts (#87925). Thanks to prymitive <prymitive@o2.pl>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/knetmonapplet/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/knetmonapplet/files/knetmonapplet-0.9-noarts.patch | 149 | ||||
-rw-r--r-- | net-misc/knetmonapplet/knetmonapplet-0.9.ebuild | 14 |
3 files changed, 165 insertions, 7 deletions
diff --git a/net-misc/knetmonapplet/ChangeLog b/net-misc/knetmonapplet/ChangeLog index 0654a60d5ad2..c493cb0b9d30 100644 --- a/net-misc/knetmonapplet/ChangeLog +++ b/net-misc/knetmonapplet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/knetmonapplet -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knetmonapplet/ChangeLog,v 1.9 2004/08/29 18:05:23 kugelfang Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knetmonapplet/ChangeLog,v 1.10 2005/04/05 17:15:25 greg_g Exp $ + + 05 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/knetmonapplet-0.9-noarts.patch, knetmonapplet-0.9.ebuild: + Add patch to compile without arts (#87925). Thanks to prymitive + <prymitive@o2.pl>. 29 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> knetmonapplet-0.9.ebuild: Marked ~amd64. diff --git a/net-misc/knetmonapplet/files/knetmonapplet-0.9-noarts.patch b/net-misc/knetmonapplet/files/knetmonapplet-0.9-noarts.patch new file mode 100644 index 000000000000..71764dcd5044 --- /dev/null +++ b/net-misc/knetmonapplet/files/knetmonapplet-0.9-noarts.patch @@ -0,0 +1,149 @@ +--- configure.orig 2005-04-03 16:34:01.000000000 +0200 ++++ configure 2005-04-03 16:31:56.000000000 +0200 +@@ -259,7 +259,7 @@ PACKAGE_STRING= + PACKAGE_BUGREPORT= + + ac_unique_file="acinclude.m4" +-ac_default_prefix=${KDEDIR:-/usr/local/kde} ++ac_default_prefix=${KDEDIR:-/usr/kde/3.4} + # Factoring default headers for most tests. + ac_includes_default="\ + #include <stdio.h> +@@ -12973,137 +12973,6 @@ echo "${ECHO_T}$kde_cv_path" >&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 KDE correctly. +-" >&5 +-echo "$as_me: error: The important program mcopidl was not found! +-Please check whether you installed KDE 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 KDE correctly. +-" >&5 +-echo "$as_me: error: The important program artsc-config was not found! +-Please check whether you installed KDE 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 diff --git a/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild b/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild index 515829de6cfb..bf69fab30396 100644 --- a/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild +++ b/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild @@ -1,20 +1,24 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild,v 1.7 2004/10/03 21:46:38 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knetmonapplet/knetmonapplet-0.9.ebuild,v 1.8 2005/04/05 17:15:25 greg_g Exp $ -inherit kde -need-kde 3 +inherit kde eutils DESCRIPTION="Graphical network monitor for the KDE panel" SRC_URI="http://ftp.kde.com/Computer_Devices/Networking/Monitoring/KnetmonApplet/${P}.tar.gz" HOMEPAGE="http://perso.club-internet.fr/hftom/knetmonapplet/" - LICENSE="GPL-2" + +SLOT="0" KEYWORDS="x86 ~amd64" IUSE="" +need-kde 3 + src_unpack() { kde_src_unpack + use arts || epatch "${FILESDIR}/${P}-noarts.patch" + rm -f $S/knetmon/uiconfig.{h,cpp,moc} } |