New Ebuild, thanks to tuXXer and Stefan Briesenick. Closes bug #23051. Added a patch...
authorSimone Gotti <motaboy@gentoo.org>
Fri, 29 Oct 2004 14:12:24 +0000 (14:12 +0000)
committerSimone Gotti <motaboy@gentoo.org>
Fri, 29 Oct 2004 14:12:24 +0000 (14:12 +0000)
kde-misc/kadslwatch/ChangeLog [new file with mode: 0644]
kde-misc/kadslwatch/Manifest [new file with mode: 0644]
kde-misc/kadslwatch/files/digest-kadslwatch-01.00.05 [new file with mode: 0644]
kde-misc/kadslwatch/files/kadslwatch-01.00.05-Makefiles.patch [new file with mode: 0644]
kde-misc/kadslwatch/files/kadslwatch-01.00.05-configure.patch [new file with mode: 0644]
kde-misc/kadslwatch/kadslwatch-01.00.05.ebuild [new file with mode: 0644]
kde-misc/kadslwatch/metadata.xml [new file with mode: 0644]

diff --git a/kde-misc/kadslwatch/ChangeLog b/kde-misc/kadslwatch/ChangeLog
new file mode 100644 (file)
index 0000000..7b4ac92
--- /dev/null
@@ -0,0 +1,13 @@
+# ChangeLog for kde-misc/kadslwatch
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kadslwatch/ChangeLog,v 1.1 2004/10/29 14:12:24 motaboy Exp $
+
+*kadslwatch-01.00.05 (29 Oct 2004)
+
+  29 Oct 2004; Simone Gotti <motaboy@gentoo.org> +metadata.xml,
+  +files/kadslwatch-01.00.05-Makefiles.patch,
+  +files/kadslwatch-01.00.05-configure.patch, +kadslwatch-01.00.05.ebuild:
+  New Ebuild, thanks to tuXXer and Stefan Briesenick. Closes bug #23051. Added
+  a patch for the configure script to honor the 'arts' USE flag, and a patch
+  to fix a sandbox violation
+
diff --git a/kde-misc/kadslwatch/Manifest b/kde-misc/kadslwatch/Manifest
new file mode 100644 (file)
index 0000000..6807fc9
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 ec534eb4d317e7cef79ffee32d898c91 kadslwatch-01.00.05.ebuild 766
+MD5 436b7bfe64ced66a2cd8f33db4d15075 ChangeLog 619
+MD5 96a4184e1e3325923219a5f96a5511a5 metadata.xml 163
+MD5 86a06d84922a5ed4bed06c10ae0c036b files/digest-kadslwatch-01.00.05 71
+MD5 c7fdc44e6f308206a89317cb4ec3e9a3 files/kadslwatch-01.00.05-Makefiles.patch 4657
+MD5 35ad82ec670513cec79e4a1042d9c1a8 files/kadslwatch-01.00.05-configure.patch 3563
diff --git a/kde-misc/kadslwatch/files/digest-kadslwatch-01.00.05 b/kde-misc/kadslwatch/files/digest-kadslwatch-01.00.05
new file mode 100644 (file)
index 0000000..9edbcf3
--- /dev/null
@@ -0,0 +1 @@
+MD5 61d26b5efebaf133a6c5357826ea16b6 kadslwatch-01.00.05.tar.gz 500508
diff --git a/kde-misc/kadslwatch/files/kadslwatch-01.00.05-Makefiles.patch b/kde-misc/kadslwatch/files/kadslwatch-01.00.05-Makefiles.patch
new file mode 100644 (file)
index 0000000..5253ca8
--- /dev/null
@@ -0,0 +1,72 @@
+diff -u -r kadslwatch-01.00.05.orig/img/Makefile.am kadslwatch-01.00.05/img/Makefile.am
+--- kadslwatch-01.00.05.orig/img/Makefile.am   2004-09-20 14:57:50.000000000 +0200
++++ kadslwatch-01.00.05/img/Makefile.am        2004-10-29 15:29:27.327904528 +0200
+@@ -11,19 +11,19 @@
+ # don't install a list of file. Just one file per install.
+ # if you have more of them, create a subdirectory with an extra Makefile
+ install-data-local:
+-      $(mkinstalldirs) $(kde_icondir)/locolor/16x16/apps
+-      $(INSTALL_DATA) lo16-app-kadslwatch.png $(kde_icondir)/locolor/16x16/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps
+-      $(INSTALL_DATA) hi16-app-kadslwatch.png $(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps
+-      $(INSTALL_DATA) lo32-app-kadslwatch.png $(kde_icondir)/locolor/32x32/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps
+-      $(INSTALL_DATA) hi32-app-kadslwatch.png $(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps
++      $(INSTALL_DATA) lo16-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps
++      $(INSTALL_DATA) hi16-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps
++      $(INSTALL_DATA) lo32-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps
++      $(INSTALL_DATA) hi32-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
+ 
+ # remove ALL you have installed in install-data-local or install-exec-local
+ uninstall-local:
+-      -rm -f $(kde_icondir)/locolor/16x16/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/locolor/32x32/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
+ 
+diff -u -r kadslwatch-01.00.05.orig/img/Makefile.in kadslwatch-01.00.05/img/Makefile.in
+--- kadslwatch-01.00.05.orig/img/Makefile.in   2004-09-20 15:14:29.000000000 +0200
++++ kadslwatch-01.00.05/img/Makefile.in        2004-10-29 15:29:30.753383776 +0200
+@@ -424,21 +424,21 @@
+ # don't install a list of file. Just one file per install.
+ # if you have more of them, create a subdirectory with an extra Makefile
+ install-data-local:
+-      $(mkinstalldirs) $(kde_icondir)/locolor/16x16/apps
+-      $(INSTALL_DATA) lo16-app-kadslwatch.png $(kde_icondir)/locolor/16x16/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps
+-      $(INSTALL_DATA) hi16-app-kadslwatch.png $(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps
+-      $(INSTALL_DATA) lo32-app-kadslwatch.png $(kde_icondir)/locolor/32x32/apps/kadslwatch.png
+-      $(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps
+-      $(INSTALL_DATA) hi32-app-kadslwatch.png $(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps
++      $(INSTALL_DATA) lo16-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps
++      $(INSTALL_DATA) hi16-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps
++      $(INSTALL_DATA) lo32-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kadslwatch.png
++      $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps
++      $(INSTALL_DATA) hi32-app-kadslwatch.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
+ 
+ # remove ALL you have installed in install-data-local or install-exec-local
+ uninstall-local:
+-      -rm -f $(kde_icondir)/locolor/16x16/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/locolor/32x32/apps/kadslwatch.png
+-      -rm -f $(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kadslwatch.png
++      -rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kadslwatch.png
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/kde-misc/kadslwatch/files/kadslwatch-01.00.05-configure.patch b/kde-misc/kadslwatch/files/kadslwatch-01.00.05-configure.patch
new file mode 100644 (file)
index 0000000..05ea8e7
--- /dev/null
@@ -0,0 +1,141 @@
+--- configure.orig     2004-10-29 14:42:23.998115896 +0200
++++ configure  2004-10-29 14:43:03.579098672 +0200
+@@ -24549,138 +24549,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
+    if test -n "$KDECONFIG"; then
diff --git a/kde-misc/kadslwatch/kadslwatch-01.00.05.ebuild b/kde-misc/kadslwatch/kadslwatch-01.00.05.ebuild
new file mode 100644 (file)
index 0000000..e63b67c
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kadslwatch/kadslwatch-01.00.05.ebuild,v 1.1 2004/10/29 14:12:24 motaboy Exp $
+
+inherit kde
+
+DESCRIPTION="K ADSL Watch is a universal CAPI based ADSL monitor for KDE."
+HOMEPAGE="http://www.avm.de/de/Service/AVM_Service_Portale/Linux/CAPI_Tools/K_ADSL_Watch.html"
+SRC_URI="ftp://ftp.avm.de/tools/k_adsl_watch.linux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+DEPEND="net-dialup/capi4k-utils"
+
+need-kde 3
+
+src_unpack() {
+       kde_src_unpack
+
+       epatch ${FILESDIR}/${P}-Makefiles.patch
+       use arts || epatch ${FILESDIR}/${P}-configure.patch
+}
+
+src_install() {
+       kde_src_install
+       dohtml *.htm*
+       dodoc *.lsm
+}
diff --git a/kde-misc/kadslwatch/metadata.xml b/kde-misc/kadslwatch/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>