File kover.diff of Package kover
--- configure.in.in
+++ configure.in.in 2005/02/15 08:19:58
@@ -1,57 +1,5 @@
#MIN_CONFIG(3.1)
-# Original Author was Kalle@kde.org
-# I lifted it in some mater. (Stephan Kulow)
-# I used much code from Janos Farkas
-
-dnl This is so we can use kde-common
-AC_CONFIG_AUX_DIR(admin)
-
-AC_ISC_POSIX
-
-dnl Automake doc recommends to do this only here. (Janos)
-AM_INIT_AUTOMAKE(kover, 2.9.6) dnl searches for some needed programs
-
-KDE_SET_PREFIX
-
-dnl Checks for programs.
-AC_CHECK_COMPILERS
-AC_ENABLE_SHARED(yes)
-AC_ENABLE_STATIC(no)
-KDE_PROG_LIBTOOL
-
-dnl for NLS support. Call them in this order!
-dnl WITH_NLS is for the po files
-
-ALL_LINGUAS="de fr nb pl it es"
-
-AM_KDE_WITH_NLS
-
-dnl AM_GNU_GETTEXT
-
-AC_PATH_KDE
-
-dnl KDE_CHECK_THREADING
-
-dnl Checks for header files.
-AC_HEADER_DIRENT
-AC_HEADER_STDC
-AC_HEADER_TIME
-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h stdlib.h paths.h linux/cdrom.h linux/ucdrom.h)
-AC_CHECK_FUNCS(usleep)
-dnl KDE_FIND_PATH(iptables, IPTABLES, $PATH, AC_MSG_ERROR([No iptables found.]))
-
-
-
-KDE_CREATE_SUBDIRSLIST
-
-AC_ARG_ENABLE(debug, [ --enable-debug enable debug output. [default=no] ])
-
-if test "$enable_debug" = yes; then
- AC_DEFINE(ENABLE_DEBUG_OUTPUT,[],[enable debug output])
- echo checking if debug output is enabled... yes
-else
- echo checking if debug output is enabled... no
-fi
+AM_INIT_AUTOMAKE(kover, 2.9.3) dnl searches for some needed programs
dnl
dnl extra cddb path for debian systems
--- kover/cddb_fill.cc
+++ kover/cddb_fill.cc 2005/02/15 08:19:58
@@ -61,6 +61,7 @@
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
+#include <linux/cdrom.h>
#include "cddb_211_item.h"
#include "inexact_dialog.h"
--- kover/cdrom.cc
+++ kover/cdrom.cc 2005/02/15 08:19:58
@@ -27,6 +27,7 @@
*/
#include "cdrom.h"
+#include <linux/cdrom.h>
cdrom::cdrom(char *_path) {
path = strdup(_path);
--- kover/cdrom_cddb.cc
+++ kover/cdrom_cddb.cc 2005/02/15 08:19:58
@@ -30,6 +30,7 @@
#include "cdrom_cddb.h"
#include <stdio.h>
+#include <linux/cdrom.h>
#ifdef __FreeBSD__
#include <sys/cdio.h>
--- kover/cd-text.cc
+++ kover/cd-text.cc 2005/02/15 08:19:58
@@ -24,6 +24,7 @@
#include "cdtext.h"
#include <stdio.h>
#include <unistd.h>
+#include <linux/cdrom.h>
int main(int argc, char *argv[])
{
--- kover/cdtext.cc
+++ kover/cdtext.cc 2005/02/15 08:20:19
@@ -23,6 +23,7 @@
#include "cdtext.h"
#include <iostream>
+#include <linux/cdrom.h>
void cdtext::set_track_title(int tracknumber, string title)
{
--- Makefile.am
+++ Makefile.am 2005/02/15 08:19:58
@@ -7,7 +7,5 @@
EXTRA_DIST = admin ABOUT-NLS kover.spec AUTHORS COPYING ChangeLog INSTALL README TODO
-man_MANS = kover.1 cddb-id.1 cd-text.1
-
AUTOMAKE_OPTIONS = foreign