summaryrefslogtreecommitdiff
path: root/x11/afterstep/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-12-28 23:36:43 +0000
committertron <tron@pkgsrc.org>1998-12-28 23:36:43 +0000
commit89db8cc63fdb2e56a8b08cd68f2e2a50c40b7c33 (patch)
treee9b5a7aba21620b929b861ad3fce0db2d9f7ae52 /x11/afterstep/patches
parent7b2b9e5d0b94383f815b21ab92ba6a5e5da250d2 (diff)
downloadpkgsrc-89db8cc63fdb2e56a8b08cd68f2e2a50c40b7c33.tar.gz
Update for AfterStep window manager package to version 1.6.0 based on
patches supplied by Jarkko Torppa in PR pkg/6651.
Diffstat (limited to 'x11/afterstep/patches')
-rw-r--r--x11/afterstep/patches/patch-aa45
-rw-r--r--x11/afterstep/patches/patch-ab43
-rw-r--r--x11/afterstep/patches/patch-ac31
-rw-r--r--x11/afterstep/patches/patch-ad32
-rw-r--r--x11/afterstep/patches/patch-ae12
-rw-r--r--x11/afterstep/patches/patch-af12
-rw-r--r--x11/afterstep/patches/patch-ag22
-rw-r--r--x11/afterstep/patches/patch-ah36
8 files changed, 70 insertions, 163 deletions
diff --git a/x11/afterstep/patches/patch-aa b/x11/afterstep/patches/patch-aa
index 9f8fde684af..4b5a946a04e 100644
--- a/x11/afterstep/patches/patch-aa
+++ b/x11/afterstep/patches/patch-aa
@@ -1,24 +1,25 @@
-$NetBSD: patch-aa,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- Imakefile.orig Tue Apr 7 09:20:58 1998
-+++ Imakefile Tue Aug 18 16:40:59 1998
-@@ -18,3 +18,2 @@
- apps/ascd \
-- apps/asclock \
- apps/asfsm \
-@@ -22,4 +21,2 @@
- apps/asmail \
-- apps/asmix \
-- apps/asmixer \
- apps/asprint \
-@@ -41,2 +38,5 @@
- modules/Zharf
-+# the following are broken WRT NetBSD
-+# apps/asmix \
-+# apps/asmixer \
+$NetBSD: patch-aa,v 1.2 1998/12/28 23:36:44 tron Exp $
+
+--- doc/afterstepdoc.in.orig Tue Nov 10 10:51:01 1998
++++ doc/afterstepdoc.in Tue Dec 29 00:20:54 1998
+@@ -9,9 +9,8 @@
+ # First try standard path, then local, then other possible paths
+ #
-@@ -45,4 +45,3 @@
- install::
-- mv /usr/share/afterstep/ /usr/share/oldafterstep
-- cp -R afterstep /usr/share/afterstep
-+ cp -R afterstep $(PREFIX)/share/afterstep
+-for netscape in /usr/X11R6/bin/netscape /usr/bin/netscape \
+- /usr/local/bin/netscape /usr/local/netscape/netscape \
+- /opt/netscape/netscape /opt/bin/netscape ; do
++for netscape in @bindir@/netscape @bindir@/mozilla \
++ /usr/local/bin/netscape /usr/local/netscape/bin/netscape ; do
+ if [ -x $netscape ] ; then
+ $netscape -remote \
+ openurl\(file:///@datadir@/afterstep/doc/afterstep.html\) 2>/dev/null \
+@@ -20,7 +19,7 @@
+ fi
+ done
+-for lynx in /usr/bin/lynx /bin/lynx /usr/local/bin/lynx ; do
++for lynx in @LOCALBASE@/bin/lynx /usr/local/bin/lynx ; do
+ if [ -x $lynx ] ; then
+ exec xterm -bg black -fg white -sl 500 -vb -e $lynx @datadir@/afterstep/doc/afterstep.html &
+ fi
diff --git a/x11/afterstep/patches/patch-ab b/x11/afterstep/patches/patch-ab
index 87028239cdb..dfad6995555 100644
--- a/x11/afterstep/patches/patch-ab
+++ b/x11/afterstep/patches/patch-ab
@@ -1,31 +1,18 @@
-$NetBSD: patch-ab,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- configure.h.orig Tue Aug 18 13:58:00 1998
-+++ configure.h Tue Aug 18 14:02:00 1998
-@@ -10,5 +10,5 @@
+$NetBSD: patch-ab,v 1.2 1998/12/28 23:36:44 tron Exp $
+
+--- autoconf/Makefile.common.in.orig Fri Dec 25 00:35:58 1998
++++ autoconf/Makefile.common.in Fri Dec 25 00:36:22 1998
+@@ -10,11 +10,11 @@
+ $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
--#define AFTER_BIN_DIR BINDIR=/usr/X11R6/bin
--#define AFTER_MOD_DIR "/usr/X11R6/bin/"
--#define AFTER_MAN_DIR MANDIR=/usr/X11R6/man/man1
-+#define AFTER_BIN_DIR BINDIR=###x11###/bin
-+#define AFTER_MOD_DIR "###x11###/bin/"
-+#define AFTER_MAN_DIR MANDIR=###x11###/man/man1
+ install.man:
+- @if test -f $(PROG).man; then $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x; fi
++ @if test -f $(PROG).man; then $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1; fi
-@@ -16,5 +16,5 @@
-
--#define AFTER_BPMDIR "/usr/X11R6/include/X11/bitmaps"
--#define AFTER_XPMDIR "/usr/X11R6/include/X11/pixmaps"
--#define AFTER_SHAREDIR "/usr/share/afterstep"
-+#define AFTER_BPMDIR "###x11###/share/bitmaps"
-+#define AFTER_XPMDIR "###x11###/share/pixmaps"
-+#define AFTER_SHAREDIR "###x11###/share/afterstep"
-
-@@ -54,3 +54,3 @@
-
--#define XIMAGELOADER "xli -onroot -quiet -colors 20"
-+#define XIMAGELOADER "xv -rmode 5 -root -quit"
-
-@@ -176,3 +176,3 @@
- #define XPM
--#define XPMLIBRARY -L/usr/X11R6/lib -lXpm
-+#define XPMLIBRARY -L###x11###/lib -lXpm
+ uninstall:
+ $(RMF) $(AFTER_BIN_DIR)/$(PROG)
+- $(RMF) $(AFTER_MAN_DIR)/$(PROG).1x
++ $(RMF) $(AFTER_MAN_DIR)/$(PROG).1
+ clean:
+ $(RMF) $(PROG) *.o *~ *% *.bak \#* core
diff --git a/x11/afterstep/patches/patch-ac b/x11/afterstep/patches/patch-ac
index 6f8b82f47a3..7e1b6808833 100644
--- a/x11/afterstep/patches/patch-ac
+++ b/x11/afterstep/patches/patch-ac
@@ -1,12 +1,21 @@
-$NetBSD: patch-ac,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- configure.orig Tue Aug 18 16:06:31 1998
-+++ configure Tue Aug 18 16:06:51 1998
-@@ -1850,5 +1850,5 @@
+$NetBSD: patch-ac,v 1.2 1998/12/28 23:36:44 tron Exp $
+
+--- src/Audio/Makefile.in.orig Tue Nov 10 10:51:01 1998
++++ src/Audio/Makefile.in Tue Dec 29 00:02:11 1998
+@@ -4,12 +4,12 @@
+ # are correct for your rplay installation.
+ #
--cd apps/asclock
--./configure
--cd ../..
-+#cd apps/asclock
-+#./configure
-+#cd ../..
- echo ""
+-#EXTRA_DEFINES = -DHAVE_RPLAY
+-#EXTRA_INCLUDES = -I/usr/local/include
+-#EXTRA_LIBRARIES = -L/usr/local/lib -lrplay
+-
+ OBJS = Audio.o
+
+ PROG = Audio
+
+ @MAKEFILECOMMON@
++
++EXTRA_DEFINES = -DHAVE_RPLAY
++EXTRA_INCLUDES = -I${LOCALBASE}/include
++EXTRA_LIBRARIES = -L${LOCALBASE}/lib -lrplay
diff --git a/x11/afterstep/patches/patch-ad b/x11/afterstep/patches/patch-ad
index db293e57fdf..80e64c3d5f0 100644
--- a/x11/afterstep/patches/patch-ad
+++ b/x11/afterstep/patches/patch-ad
@@ -1,20 +1,12 @@
-$NetBSD: patch-ad,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- apps/ascd/plat_freebsd.c.orig Tue Aug 18 16:15:06 1998
-+++ apps/ascd/plat_freebsd.c Tue Aug 18 16:18:41 1998
-@@ -32,4 +32,4 @@
- #define MSF_FRAMES 3
--#include "/sys/scsi/scsi_all.h"
--#include "/sys/scsi/scsi_cd.h"
-+/*#include "/sys/scsi/scsi_all.h"*/
-+/*#include "/sys/scsi/scsi_cd.h"*/
- #else
-@@ -108,3 +108,3 @@
-
--#ifdef __NetBSD__
-+#ifdef __NetBSDBROKE__
- *startframe = toc_buffer.addr[MSF_MINUTES]*60*75 +
-@@ -186,3 +186,3 @@
- dopos:
--#ifdef __NetBSD__
-+#ifdef __NetBSDBROKE__
- *pos = scd.what.position.absaddr[MSF_MINUTES] * 60 * 75 +
+$NetBSD: patch-ad,v 1.2 1998/12/28 23:36:44 tron Exp $
+
+--- configure.orig Thu Dec 10 05:52:19 1998
++++ configure Tue Dec 29 00:26:35 1998
+@@ -4012,6 +4012,7 @@
+ s%@DEFS@%$DEFS%g
+ s%@LDFLAGS@%$LDFLAGS%g
+ s%@LIBS@%$LIBS%g
++s%@LOCALBASE@%$LOCALBASE%g
+ s%@exec_prefix@%$exec_prefix%g
+ s%@prefix@%$prefix%g
+ s%@program_transform_name@%$program_transform_name%g
diff --git a/x11/afterstep/patches/patch-ae b/x11/afterstep/patches/patch-ae
deleted file mode 100644
index e0e4301b235..00000000000
--- a/x11/afterstep/patches/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- apps/asmix/asmix.c.orig Tue Aug 18 16:21:04 1998
-+++ apps/asmix/asmix.c Tue Aug 18 16:31:24 1998
-@@ -12,3 +12,7 @@
- #else
--# include <linux/soundcard.h>
-+ #ifdef __NetBSD__
-+ # include <soundcard.h>
-+ #else
-+ # include <linux/soundcard.h>
-+ #endif
- #endif
diff --git a/x11/afterstep/patches/patch-af b/x11/afterstep/patches/patch-af
deleted file mode 100644
index 8749665bc7d..00000000000
--- a/x11/afterstep/patches/patch-af
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-af,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- apps/asmixer/asmixer.c.orig Tue Aug 18 16:39:38 1998
-+++ apps/asmixer/asmixer.c Tue Aug 18 16:40:17 1998
-@@ -28,4 +28,7 @@
- #include <sys/mount.h>
-+#if defined(__NetBSD__)
-+#include <soundcard.h>
-+#else
- #include <linux/soundcard.h>
--
-+#endif
-
diff --git a/x11/afterstep/patches/patch-ag b/x11/afterstep/patches/patch-ag
deleted file mode 100644
index c921c76ed37..00000000000
--- a/x11/afterstep/patches/patch-ag
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ag,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- afterdoc/Imakefile.orig Tue Aug 18 16:53:52 1998
-+++ afterdoc/Imakefile Tue Aug 18 16:54:58 1998
-@@ -7,10 +7,10 @@
-
--InstallNonExecFile(afterstep.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-1.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-2.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-3.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-4.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-5.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-6.html,/usr/share/afterstep/doc)
--InstallNonExecFile(afterstep-7.html,/usr/share/afterstep/doc)
-+InstallNonExecFile(afterstep.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-1.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-2.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-3.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-4.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-5.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-6.html,$(PREFIX)/share/afterstep/doc)
-+InstallNonExecFile(afterstep-7.html,$(PREFIX)/share/afterstep/doc)
- InstallTarget(install,afterstepdoc,-m 0755,$(BINDIR))
diff --git a/x11/afterstep/patches/patch-ah b/x11/afterstep/patches/patch-ah
deleted file mode 100644
index 47406a86db0..00000000000
--- a/x11/afterstep/patches/patch-ah
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ah,v 1.1 1998/08/23 07:28:45 garbled Exp $
---- afterdoc/afterstepdoc.orig Tue Aug 18 16:55:29 1998
-+++ afterdoc/afterstepdoc Tue Aug 18 16:57:48 1998
-@@ -6,23 +6,23 @@
-
--if [ -x /usr/X11R6/bin/netscape ]
-+if [ -x ###x11###/bin/netscape ]
- then
-- /usr/X11R6/bin/netscape /usr/share/afterstep/doc/afterstep.html
-+ ###x11###/bin/netscape ###x11###/share/afterstep/doc/afterstep.html
- elif [ -x /usr/local/bin/netscape ]
- then
-- /usr/local/bin/netscape /usr/share/afterstep/doc/afterstep.html
-+ /usr/local/bin/netscape ###x11###/share/afterstep/doc/afterstep.html
- elif [ -x /usr/local/netscape/netscape ]
- then
-- /usr/local/netscape/netscape /usr/share/afterstep/doc/afterstep.html
-+ /usr/local/netscape/netscape ###x11###/share/afterstep/doc/afterstep.html
- elif [ -x /opt/netscape/netscape ]
- then
-- /opt/netscape/netscape /usr/share/afterstep/doc/afterstep.html
-+ /opt/netscape/netscape ###x11###/share/afterstep/doc/afterstep.html
- elif [ -x /usr/bin/lynx ]
- then
-- xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/bin/lynx /usr/share/afterstep/doc/afterstep.html"
-+ xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/bin/lynx ###x11###/share/afterstep/doc/afterstep.html"
- elif [ -x /usr/local/bin/lynx ]
- then
-- xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/local/bin/lynx /usr/share/afterstep/doc/afterstep.html"
--elif [ -x /bin/lynx ]
-+ xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/local/bin/lynx ###x11###/share/afterstep/doc/afterstep.html"
-+elif [ -x /usr/pkg/bin/lynx ]
- then
-- xiterm -bg black -fg peachpuff -sl 500 -vb -e "/bin/lynx /usr/share/afterstep/doc/afterstep.html"
-+ xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/pkg/bin/lynx ###x11###/share/afterstep/doc/afterstep.html"
- fi