From e60ff430f295b5b48838cc558f8fd288d702d0fa Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Fri, 29 Oct 2004 23:56:48 +0000 Subject: New Ebuild, thanks to tuXXer and StefanBriesenick. Closes bug #23049. Added a patch for the configure script to honor the 'arts' USE flag, and a patch to fix a sandbox violation. --- kde-misc/kisdnwatch/ChangeLog | 11 ++ kde-misc/kisdnwatch/Manifest | 4 + .../kisdnwatch/files/digest-kisdnwatch-01.00.08 | 1 + .../files/kisdnwatch-01.00.08-Makefiles.patch | 72 +++++++++++ .../files/kisdnwatch-01.00.08-configure.patch | 142 +++++++++++++++++++++ kde-misc/kisdnwatch/kisdnwatch-01.00.08.ebuild | 31 +++++ kde-misc/kisdnwatch/metadata.xml | 5 + 7 files changed, 266 insertions(+) create mode 100644 kde-misc/kisdnwatch/ChangeLog create mode 100644 kde-misc/kisdnwatch/Manifest create mode 100644 kde-misc/kisdnwatch/files/digest-kisdnwatch-01.00.08 create mode 100644 kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-Makefiles.patch create mode 100644 kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-configure.patch create mode 100644 kde-misc/kisdnwatch/kisdnwatch-01.00.08.ebuild create mode 100644 kde-misc/kisdnwatch/metadata.xml (limited to 'kde-misc/kisdnwatch') diff --git a/kde-misc/kisdnwatch/ChangeLog b/kde-misc/kisdnwatch/ChangeLog new file mode 100644 index 000000000000..2dd5400b7f59 --- /dev/null +++ b/kde-misc/kisdnwatch/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for kde-misc/kisdnwatch +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kisdnwatch/ChangeLog,v 1.1 2004/10/29 23:56:48 motaboy Exp $ + +*kisdnwatch-01.00.08 (30 Oct 2004) + + 30 Oct 2004; Simone Gotti +metadata.xml, + +files/kisdnwatch-01.00.08-Makefiles.patch, + +files/kisdnwatch-01.00.08-configure.patch, +kisdnwatch-01.00.08.ebuild: + New Ebuild, thanks to tuXXer and Stefan Briesenick. Closes bug + diff --git a/kde-misc/kisdnwatch/Manifest b/kde-misc/kisdnwatch/Manifest new file mode 100644 index 000000000000..855c25b160fe --- /dev/null +++ b/kde-misc/kisdnwatch/Manifest @@ -0,0 +1,4 @@ +MD5 2b8e4408b445bc3e62988037bc0c809f kisdnwatch-01.00.08.ebuild 641 +MD5 bf66245be83728192ade75947a7c2da4 files/kisdnwatch-01.00.08-Makefiles.patch 4609 +MD5 ed67b76fe789f96d44b658ee581ceb6e files/kisdnwatch-01.00.08-configure.patch 3679 +MD5 397f792877643704a4efda1166625fb1 files/digest-kisdnwatch-01.00.08 71 diff --git a/kde-misc/kisdnwatch/files/digest-kisdnwatch-01.00.08 b/kde-misc/kisdnwatch/files/digest-kisdnwatch-01.00.08 new file mode 100644 index 000000000000..12062189a52d --- /dev/null +++ b/kde-misc/kisdnwatch/files/digest-kisdnwatch-01.00.08 @@ -0,0 +1 @@ +MD5 64842aa0217051347bd83e6b64255bb0 kisdnwatch-01.00.08.tar.gz 471874 diff --git a/kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-Makefiles.patch b/kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-Makefiles.patch new file mode 100644 index 000000000000..259cc02c94b5 --- /dev/null +++ b/kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-Makefiles.patch @@ -0,0 +1,72 @@ +diff -u -r kisdnwatch-01.00.08.orig/img/Makefile.am kisdnwatch-01.00.08/img/Makefile.am +--- kisdnwatch-01.00.08.orig/img/Makefile.am 2004-10-30 01:17:29.895559920 +0200 ++++ kisdnwatch-01.00.08/img/Makefile.am 2004-10-30 01:18:47.597747392 +0200 +@@ -10,19 +10,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-kavmmon.png $(kde_icondir)/locolor/16x16/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps +- $(INSTALL_DATA) hi16-app-kavmmon.png $(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps +- $(INSTALL_DATA) lo32-app-kavmmon.png $(kde_icondir)/locolor/32x32/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps +- $(INSTALL_DATA) hi32-app-kavmmon.png $(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps ++ $(INSTALL_DATA) lo16-app-kavmmon.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps ++ $(INSTALL_DATA) hi16-app-kavmmon.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps ++ $(INSTALL_DATA) lo32-app-kavmmon.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps ++ $(INSTALL_DATA) hi32-app-kavmmon.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png + + # remove ALL you have installed in install-data-local or install-exec-local + uninstall-local: +- -rm -f $(kde_icondir)/locolor/16x16/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/locolor/32x32/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png + +diff -u -r kisdnwatch-01.00.08.orig/img/Makefile.in kisdnwatch-01.00.08/img/Makefile.in +--- kisdnwatch-01.00.08.orig/img/Makefile.in 2004-10-30 01:17:29.896559768 +0200 ++++ kisdnwatch-01.00.08/img/Makefile.in 2004-10-30 01:19:04.938111256 +0200 +@@ -423,21 +423,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-kavmmon.png $(kde_icondir)/locolor/16x16/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps +- $(INSTALL_DATA) hi16-app-kavmmon.png $(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps +- $(INSTALL_DATA) lo32-app-kavmmon.png $(kde_icondir)/locolor/32x32/apps/kisdnwatch.png +- $(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps +- $(INSTALL_DATA) hi32-app-kavmmon.png $(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps ++ $(INSTALL_DATA) lo16-app-kavmmon.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps ++ $(INSTALL_DATA) hi16-app-kavmmon.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps ++ $(INSTALL_DATA) lo32-app-kavmmon.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kisdnwatch.png ++ $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps ++ $(INSTALL_DATA) hi32-app-kavmmon.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png + + # remove ALL you have installed in install-data-local or install-exec-local + uninstall-local: +- -rm -f $(kde_icondir)/locolor/16x16/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/locolor/32x32/apps/kisdnwatch.png +- -rm -f $(kde_icondir)/hicolor/32x32/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kisdnwatch.png ++ -rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kisdnwatch.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/kisdnwatch/files/kisdnwatch-01.00.08-configure.patch b/kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-configure.patch new file mode 100644 index 000000000000..cc125dee6791 --- /dev/null +++ b/kde-misc/kisdnwatch/files/kisdnwatch-01.00.08-configure.patch @@ -0,0 +1,142 @@ +diff -u -r kisdnwatch-01.00.08.orig/configure kisdnwatch-01.00.08/configure +--- kisdnwatch-01.00.08.orig/configure 2004-10-30 01:17:29.915556880 +0200 ++++ kisdnwatch-01.00.08/configure 2004-10-30 01:18:16.723441000 +0200 +@@ -24548,138 +24548,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/kisdnwatch/kisdnwatch-01.00.08.ebuild b/kde-misc/kisdnwatch/kisdnwatch-01.00.08.ebuild new file mode 100644 index 000000000000..d502f6b431e1 --- /dev/null +++ b/kde-misc/kisdnwatch/kisdnwatch-01.00.08.ebuild @@ -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/kisdnwatch/kisdnwatch-01.00.08.ebuild,v 1.1 2004/10/29 23:56:48 motaboy Exp $ + +inherit kde + +DESCRIPTION="K ISDN Watch is a CAPI-Monitor for KDE." +HOMEPAGE="http://www.avm.de/de/Service/AVM_Service_Portale/Linux/CAPI_Tools/K_ISDN_Watch.html" +SRC_URI="ftp://ftp.avm.de/tools/k_isdn_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 make + dohtml *.htm* + dodoc *.lsm +} diff --git a/kde-misc/kisdnwatch/metadata.xml b/kde-misc/kisdnwatch/metadata.xml new file mode 100644 index 000000000000..ec42e9fd586b --- /dev/null +++ b/kde-misc/kisdnwatch/metadata.xml @@ -0,0 +1,5 @@ + + + +kde-other + -- cgit v1.2.3-65-gdbad