From 2d975c0d6d026b1ed2364e6b87c27b2bc383b32c Mon Sep 17 00:00:00 2001 From: jtb Date: Sat, 4 May 2002 02:03:26 +0000 Subject: Initial import of efax-gtk. This program is a Gtk+/Gtk-- front end for the efax program for receiving and sending faxes with a fax modem. To use it you must have efax and ghostscript installed, and the executables (efax, efix and gs) must be situated in the default system path. Any files to be faxed must be in postscript format, which is the generic printer format for Unix/Linux systems. The program will use ghostscript to convert these into the Group 3 fax format which the fax modem will understand. --- comms/efax-gtk/patches/patch-aa | 28 ++++++++++++++++++++++++++++ comms/efax-gtk/patches/patch-ab | 22 ++++++++++++++++++++++ comms/efax-gtk/patches/patch-ac | 19 +++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 comms/efax-gtk/patches/patch-aa create mode 100644 comms/efax-gtk/patches/patch-ab create mode 100644 comms/efax-gtk/patches/patch-ac (limited to 'comms/efax-gtk/patches') diff --git a/comms/efax-gtk/patches/patch-aa b/comms/efax-gtk/patches/patch-aa new file mode 100644 index 00000000000..b687c5216ef --- /dev/null +++ b/comms/efax-gtk/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- Makefile.presets.orig Sun Jan 13 22:11:27 2002 ++++ Makefile.presets Thu Apr 25 16:16:16 2002 +@@ -40,18 +40,11 @@ + $(CC) $(CXXFLAGS) $(COMPILE_OPTION) $(OUTPUT_OPTION) + + install: efax-gtk +- $(INSTALL) -d $(BINDIR) +- $(INSTALL) -d $(RCDIR) +- $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) -m644 -oroot -groot efax-gtk efax-gtk-send $(BINDIR)/ +- chmod +x $(BINDIR)/efax-gtk +- chmod +x $(BINDIR)/efax-gtk-send +- $(INSTALL) -m644 -oroot -groot efax-gtkrc $(RCDIR)/ +- $(INSTALL) -m644 -oroot -groot efax-gtk.1.gz $(MANDIR)/man1/ +- $(INSTALL) -d $(SPOOLDIR) +- chgrp lp $(SPOOLDIR) +- $(INSTALL) -m644 -oroot -groot efax-gtk-faxfilter $(SPOOLDIR)/ +- chmod +x $(SPOOLDIR)/efax-gtk-faxfilter ++ $(BSD_INSTALL_PROGRAM) efax-gtk $(BINDIR)/ ++ $(BSD_INSTALL_SCRIPT) efax-gtk-send $(BINDIR)/ ++ $(BSD_INSTALL_DATA) efax-gtkrc $(RCDIR)/ ++ $(BSD_INSTALL_MAN) efax-gtk.1 $(MANDIR)/man1/ ++ $(BSD_INSTALL_SCRIPT) efax-gtk-faxfilter $(SPOOLDIR)/ + + clean: + rm -f *.o diff --git a/comms/efax-gtk/patches/patch-ab b/comms/efax-gtk/patches/patch-ab new file mode 100644 index 00000000000..32920fcac27 --- /dev/null +++ b/comms/efax-gtk/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- main.cpp.orig Thu Apr 25 16:28:51 2002 ++++ main.cpp Thu Apr 25 16:32:49 2002 +@@ -106,7 +106,7 @@ + + if (!prog_config.found_rcfile) { + +- rcfile = "/usr/local/etc/"; ++ rcfile = "@RCDIR@"; + rcfile += RC_FILE; + + #ifdef HAVE_IOS_NOCREATE +@@ -140,7 +140,7 @@ + + if (!prog_config.found_rcfile) { + return_val = "Can't find or open file /etc/" RC_FILE ",\n" +- "/usr/local/etc/" RC_FILE; ++ "@RCDIR@/" RC_FILE; + if (!prog_config.homedir.empty()) { + return_val += " or "; + return_val += prog_config.homedir + "/." RC_FILE; diff --git a/comms/efax-gtk/patches/patch-ac b/comms/efax-gtk/patches/patch-ac new file mode 100644 index 00000000000..a2d74e24309 --- /dev/null +++ b/comms/efax-gtk/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- settings.cpp.orig Thu Apr 25 16:28:58 2002 ++++ settings.cpp Thu Apr 25 16:32:32 2002 +@@ -1041,12 +1041,12 @@ + string message; + if (search_localfile) { + message = "Can't find or open file /etc/" RC_FILE ",\n" +- "/usr/local/etc/" RC_FILE " or "; ++ "@RCDIR@/" RC_FILE " or "; + message += prog_config.homedir + "/." RC_FILE "\n"; + } + else { + message = "Can't find or open file /etc/" RC_FILE "\n" +- "or /usr/local/etc/" RC_FILE; ++ "or @RCDIR@/" RC_FILE; + message += prog_config.homedir + "/." RC_FILE "\n"; + } + write_error(message.c_str()); -- cgit v1.2.3