Remove gsuggest
authorChristian Hofstaedtler <ch@grml.org>
Mon, 26 Sep 2011 21:23:59 +0000 (23:23 +0200)
committerChristian Hofstaedtler <ch@grml.org>
Mon, 26 Sep 2011 21:23:59 +0000 (23:23 +0200)
As the required Perl module hasn't been updated for some time, this
script was broken anyway.

debian/control
debian/overrides
debian/rules
manpages/gsuggest.1 [deleted file]
usr_bin/gsuggest.pl [deleted file]

index 0ec091a..1fc273a 100644 (file)
@@ -14,7 +14,7 @@ Bugs: mailto:bugs@grml.org
 Package: grml-scripts
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, less, dialog, perl, zsh, dash, links | w3m | links2, screen, grml-network, grml-etc-core, libterm-readkey-perl, lockfile-progs, grml-scripts-core
 Package: grml-scripts
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, less, dialog, perl, zsh, dash, links | w3m | links2, screen, grml-network, grml-etc-core, libterm-readkey-perl, lockfile-progs, grml-scripts-core
-Suggests: ruby, python, grml-x, ipcalc, hwinfo, antiword, grml-etc, grml-rebuildfstab, grml-files, grml-hwinfo, pptp-linux, flite, wmii, mutt, slrn, grml-docs, grml-autoconfig, dirvish, sudo, idesk, xlockmore, python-dbus, notification-daemon, grml-quickconfig, libwebservice-google-suggest-perl, lzop
+Suggests: ruby, python, grml-x, ipcalc, hwinfo, antiword, grml-etc, grml-rebuildfstab, grml-files, grml-hwinfo, pptp-linux, flite, wmii, mutt, slrn, grml-docs, grml-autoconfig, dirvish, sudo, idesk, xlockmore, python-dbus, notification-daemon, grml-quickconfig, lzop
 Breaks: grml-autoconfig (<< 0.9.19)
 Description: Scripts for the Grml system for an easier life
  Some scripts which should make life easier.
 Breaks: grml-autoconfig (<< 0.9.19)
 Description: Scripts for the Grml system for an easier life
  Some scripts which should make life easier.
index 65ed7b5..9226fc7 100644 (file)
@@ -1,5 +1,4 @@
 grml-scripts: script-with-language-extension usr/bin/bincompare.pl
 grml-scripts: script-with-language-extension usr/bin/bincompare.pl
-grml-scripts: script-with-language-extension usr/bin/gsuggest.pl
 grml-scripts: script-with-language-extension usr/bin/hgrep.sh
 grml-scripts: script-with-language-extension usr/bin/irclog2html-2.1.pl
 grml-scripts: script-with-language-extension usr/bin/notifyd.py
 grml-scripts: script-with-language-extension usr/bin/hgrep.sh
 grml-scripts: script-with-language-extension usr/bin/irclog2html-2.1.pl
 grml-scripts: script-with-language-extension usr/bin/notifyd.py
index aa076ba..21d0240 100755 (executable)
@@ -59,7 +59,7 @@ binary-arch: build install
        manpages/reread_partition_table.8 manpages/random-hostname.1 \
        manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 \
        manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
        manpages/reread_partition_table.8 manpages/random-hostname.1 \
        manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 \
        manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
-       manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 \
+       manpages/grml2ram.8 manpages/dirvish-setup.8 \
        manpages/iso-term.1 manpages/alignmargins.8 manpages/get_3ware.1 \
        manpages/grml-init-multitail.1 manpages/grml-setservices.8
 #      cp --no-dereference man/*.1.gz debian/grml-scripts/usr/share/man/man1/
        manpages/iso-term.1 manpages/alignmargins.8 manpages/get_3ware.1 \
        manpages/grml-init-multitail.1 manpages/grml-setservices.8
 #      cp --no-dereference man/*.1.gz debian/grml-scripts/usr/share/man/man1/
@@ -139,8 +139,7 @@ binary-arch: build install
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/xsay.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioLowerVolume.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioMute.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/xsay.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioLowerVolume.1.gz \
                /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioMute.1.gz \
-               /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioRaiseVolume.1.gz \
-               /usr/share/man/man1/gsuggest.1.gz     /usr/share/man/man1/gsuggest.pl.1.gz
+               /usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/XF86AudioRaiseVolume.1.gz
        dh_strip
        dh_compress
        mkdir -p $(CURDIR)/debian/grml-scripts/usr/share/lintian/overrides/
        dh_strip
        dh_compress
        mkdir -p $(CURDIR)/debian/grml-scripts/usr/share/lintian/overrides/
diff --git a/manpages/gsuggest.1 b/manpages/gsuggest.1
deleted file mode 100644 (file)
index b0e8679..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-.TH GSUGGEST.PL 1
-.SH NAME
-gsuggest.pl \- google suggest on the commandline
-.SH SYNOPSIS
-.B gsuggest.pl
-.RI keyword " [ another-keyword ]"
-.SH DESCRIPTION
-This manual page documents briefly the
-.B gsuggest.pl
-command.
-.PP
-\fBgsuggest.pl\fP is a program that asks google for keyword suggestions
-for the given keyword[s].
-.SH USAGE EXAMPLE
-.TP
-.B gsuggest.pl grml
-This will ask google for keyword suggestions based on the keyword 'grml'
-and will return the results to standard out (stdout).
-.SH OPTIONS
-gsuggest.pl does not support any options.
-.SH AUTHOR
-gsuggest.pl was written by Michael Prokop <mika@grml.org>.
-.PP
-This manual page was written by Michael Prokop <mika@grml.org>
-for the grml project (but may be used by others).
diff --git a/usr_bin/gsuggest.pl b/usr_bin/gsuggest.pl
deleted file mode 100755 (executable)
index 125fd40..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/perl
-# Filename:      gsuggest.pl
-# Purpose:       google suggest - ask google for keyword suggestions
-# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports:   see http://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-################################################################################
-
-use strict;
-use warnings;
-use WebService::Google::Suggest;
-
-unless (@ARGV) {
-  print "usage: gsuggest <keyword[s]>\n";
-  exit(1);
-}
-
-my $suggest = WebService::Google::Suggest->new();
-
-while (@ARGV) {
-   my @suggestions = $suggest->complete(shift);
-   for my $suggestion (@suggestions) {
-     print "$suggestion->{query}: $suggestion->{results} results\n";
-   }
-}
-
-## END OF FILE #################################################################