aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2017-01-22 00:47:19 +0800
committerdinoex <dinoex@FreeBSD.org>2017-01-22 00:47:19 +0800
commit13ad46349a9bc958c61ea9727bc62f87eb14f89b (patch)
tree69387f6f3c0b943b22b2dd3eec48f1165a1e33d5 /x11-wm
parentc35f616fb121732072b1f86b4f0231480c125c8c (diff)
downloadfreebsd-ports-gnome-13ad46349a9bc958c61ea9727bc62f87eb14f89b.tar.gz
freebsd-ports-gnome-13ad46349a9bc958c61ea9727bc62f87eb14f89b.tar.zst
freebsd-ports-gnome-13ad46349a9bc958c61ea9727bc62f87eb14f89b.zip
- fix a possible problem if PREFIX differs from LOCALBASE
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/afterstep/files/patch-Imakefile8
-rw-r--r--x11-wm/afterstep/files/patch-alpha_header.h4
-rw-r--r--x11-wm/afterstep/files/patch-configure.h81
-rw-r--r--x11-wm/afterstep/files/patch-icons.c6
-rw-r--r--x11-wm/afterstep/files/patch-sample.steprc188
5 files changed, 115 insertions, 172 deletions
diff --git a/x11-wm/afterstep/files/patch-Imakefile b/x11-wm/afterstep/files/patch-Imakefile
index b5597be33a39..831d36d5edfe 100644
--- a/x11-wm/afterstep/files/patch-Imakefile
+++ b/x11-wm/afterstep/files/patch-Imakefile
@@ -1,6 +1,6 @@
---- Imakefile.orig Sun Mar 9 07:03:27 1997
-+++ Imakefile Sun Aug 25 18:27:44 2002
-@@ -18,7 +18,6 @@
+--- Imakefile.orig 1997-03-09 14:03:27 UTC
++++ Imakefile
+@@ -18,7 +18,6 @@ ALLSUBDIRS = lib \
modules/Wharf \
modules/Banner \
modules/Pager \
@@ -8,7 +8,7 @@
modules/Animate
SUBDIRS = $(ALLSUBDIRS) $(XPMSUBDIRS) $(SHAPESUBDIRS)
-@@ -28,4 +27,4 @@
+@@ -28,4 +27,4 @@ SUBDIRS = $(ALLSUBDIRS) $(XPMSUBDIRS) $(
MakeSubdirs($(SUBDIRS))
/* Doesn't work for me! */
diff --git a/x11-wm/afterstep/files/patch-alpha_header.h b/x11-wm/afterstep/files/patch-alpha_header.h
index 8b4260bcd8c0..6ef2c3a5a66f 100644
--- a/x11-wm/afterstep/files/patch-alpha_header.h
+++ b/x11-wm/afterstep/files/patch-alpha_header.h
@@ -1,5 +1,5 @@
---- afterstep/alpha_header.h.orig Thu Aug 22 20:48:18 1996
-+++ afterstep/alpha_header.h Mon Sep 13 14:35:09 2004
+--- afterstep/alpha_header.h.orig 1996-08-22 20:48:18 UTC
++++ afterstep/alpha_header.h
@@ -7,11 +7,6 @@
extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
diff --git a/x11-wm/afterstep/files/patch-configure.h b/x11-wm/afterstep/files/patch-configure.h
index 600754d7e578..5936bdf9606f 100644
--- a/x11-wm/afterstep/files/patch-configure.h
+++ b/x11-wm/afterstep/files/patch-configure.h
@@ -1,51 +1,30 @@
-*** configure.h.orig Sun Mar 2 11:50:40 1997
---- configure.h Thu Mar 20 21:31:42 1997
-***************
-*** 1,6 ****
-! #define AFTERDIR "/usr/lib/X11/afterstep"
-! #define AFTER_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
-! #define STEPRC "/usr/lib/X11/afterstep/system.steprc"
-
- /* If you would like gradients, uncomment this */
- #define ENABLE_TEXTURE
---- 1,6 ----
-! #define AFTERDIR "%%PREFIX%%/lib/X11/afterstep"
-! #define AFTER_ICONDIR "%%PREFIX%%/include/X11/bitmaps:%%PREFIX%%/include/X11/pixmaps"
-! #define STEPRC "%%PREFIX%%/lib/X11/afterstep/system.steprc"
-
- /* If you would like gradients, uncomment this */
- #define ENABLE_TEXTURE
-***************
-*** 17,23 ****
- * Imake wants to leave binaries, then choose the second line here.
- * If you want to install it in a different directory, uncomment and
- * edit the first line */
-! #define AFTER_BIN_DIR BINDIR=/usr/bin/X11
-
- /* Compiler over-ride for Imakefiles */
- /* Leave it as shown to get your default compiler */
---- 17,23 ----
- * Imake wants to leave binaries, then choose the second line here.
- * If you want to install it in a different directory, uncomment and
- * edit the first line */
-! #define AFTER_BIN_DIR BINDIR=%%PREFIX%%/bin
-
- /* Compiler over-ride for Imakefiles */
- /* Leave it as shown to get your default compiler */
-***************
-*** 59,65 ****
- ***************************************************************************/
- #define XPM
- /* linker flags needed to locate and link in the Xpm library, if you use it */
-! #define XPMLIBRARY -L/usr/lib/X11 -lXpm
-
- /***************************************************************************
- *#define M4
---- 59,65 ----
- ***************************************************************************/
- #define XPM
- /* linker flags needed to locate and link in the Xpm library, if you use it */
-! #define XPMLIBRARY -L%%PREFIX%%/lib -lXpm
-
- /***************************************************************************
- *#define M4
+--- configure.h.orig 1997-03-02 19:50:40 UTC
++++ configure.h
+@@ -1,6 +1,6 @@
+-#define AFTERDIR "/usr/lib/X11/afterstep"
+-#define AFTER_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
+-#define STEPRC "/usr/lib/X11/afterstep/system.steprc"
++#define AFTERDIR "%%PREFIX%%/lib/X11/afterstep"
++#define AFTER_ICONDIR "%%PREFIX%%/include/X11/bitmaps:%%PREFIX%%/include/X11/pixmaps"
++#define STEPRC "%%PREFIX%%/lib/X11/afterstep/system.steprc"
+
+ /* If you would like gradients, uncomment this */
+ #define ENABLE_TEXTURE
+@@ -17,7 +17,7 @@
+ * Imake wants to leave binaries, then choose the second line here.
+ * If you want to install it in a different directory, uncomment and
+ * edit the first line */
+-#define AFTER_BIN_DIR BINDIR=/usr/bin/X11
++#define AFTER_BIN_DIR BINDIR=%%PREFIX%%/bin
+
+ /* Compiler over-ride for Imakefiles */
+ /* Leave it as shown to get your default compiler */
+@@ -59,7 +59,7 @@
+ ***************************************************************************/
+ #define XPM
+ /* linker flags needed to locate and link in the Xpm library, if you use it */
+-#define XPMLIBRARY -L/usr/lib/X11 -lXpm
++#define XPMLIBRARY -L%%LOCALBASE%%/lib -lXpm
+
+ /***************************************************************************
+ *#define M4
diff --git a/x11-wm/afterstep/files/patch-icons.c b/x11-wm/afterstep/files/patch-icons.c
index ddb243b946d1..bf1f15a3b422 100644
--- a/x11-wm/afterstep/files/patch-icons.c
+++ b/x11-wm/afterstep/files/patch-icons.c
@@ -1,6 +1,6 @@
---- afterstep/icons.c.orig Thu Mar 20 19:09:21 1997
-+++ afterstep/icons.c Sun May 26 18:15:10 2002
-@@ -779,10 +779,12 @@
+--- afterstep/icons.c.orig 1997-03-21 00:09:21 UTC
++++ afterstep/icons.c
+@@ -779,10 +779,12 @@ void Iconify(ASWindow *tmp_win, int def_
}
}
diff --git a/x11-wm/afterstep/files/patch-sample.steprc b/x11-wm/afterstep/files/patch-sample.steprc
index 2f9a5cb43737..09788c50a1c1 100644
--- a/x11-wm/afterstep/files/patch-sample.steprc
+++ b/x11-wm/afterstep/files/patch-sample.steprc
@@ -1,112 +1,76 @@
-*** sample.steprc.orig Sun Mar 9 06:30:22 1997
---- sample.steprc Thu Mar 20 21:37:46 1997
-***************
-*** 166,176 ****
- # ModulePath is a colon-separated list, just like a regular unix PATH
- # Any Module must be found within the path in order to be located
- # and executed
-! ModulePath /usr/lib/X11/afterstep:/usr/X11R6/lib/X11/afterstep
- # Another colon-separated list pointing to your pixmaps (color icons)
-! PixmapPath /usr/include/X11/pixmaps/
- # Path for your ugly black&white icons
-! IconPath /usr/include/X11/bitmaps/
-
- # Various styles which can be associated with specific applications
- # Sticky -- remains "stuck" on all desks
---- 166,176 ----
- # ModulePath is a colon-separated list, just like a regular unix PATH
- # Any Module must be found within the path in order to be located
- # and executed
-! ModulePath %%PREFIX%%/lib/X11/afterstep
- # Another colon-separated list pointing to your pixmaps (color icons)
-! PixmapPath %%PREFIX%%/include/X11/pixmaps/
- # Path for your ugly black&white icons
-! IconPath %%PREFIX%%/include/X11/bitmaps/
-
- # Various styles which can be associated with specific applications
- # Sticky -- remains "stuck" on all desks
-***************
-*** 290,296 ****
- # Place the green carpet image onto the background upon startup
- # I personally recommend xli/xloadimage, but xv seems to be
- # ubiquitous in the unix world so I'll use that
-! # Exec "I" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
- Exec "I" exec xsetroot -solid DarkGrey
- EndFunction
-
---- 290,296 ----
- # Place the green carpet image onto the background upon startup
- # I personally recommend xli/xloadimage, but xv seems to be
- # ubiquitous in the unix world so I'll use that
-! # Exec "I" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/carpet.green.jpg
- Exec "I" exec xsetroot -solid DarkGrey
- EndFunction
-
-***************
-*** 465,485 ****
- # Images ... quick way to view the included default background images
- Popup "Images"
- Title "Images"
-! Exec "Brick" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/brick.jpg
-! Exec "Coins" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/coins.jpg
-! Exec "Dark Wood" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/darkwood.jpg
-! Exec "Eyes" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/eyes.jpg
-! Exec "Glass" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/glass.jpg
-! Exec "Green Carpet" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
-! Exec "Parquet" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/parquet.jpg
-! Exec "Pebbles" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/pebbles.jpg
-! Exec "Rock" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rock.tile.jpg
-! Exec "Rope" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rope.weave.jpg
-! Exec "Stucco" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/stucco.jpg
-! Exec "Tile" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/tile.check.jpg
-! Exec "Tree Bark" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/bark.jpg
-! Exec "Volcanic" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/volcanic.jpg
-! Exec "Wood" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/wood.jpg
- EndPopup
-
- # Background settings ... choose from either Solid Colors or Color Images
---- 465,485 ----
- # Images ... quick way to view the included default background images
- Popup "Images"
- Title "Images"
-! Exec "Brick" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/brick.jpg
-! Exec "Coins" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/coins.jpg
-! Exec "Dark Wood" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/darkwood.jpg
-! Exec "Eyes" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/eyes.jpg
-! Exec "Glass" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/glass.jpg
-! Exec "Green Carpet" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/carpet.green.jpg
-! Exec "Parquet" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/parquet.jpg
-! Exec "Pebbles" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/pebbles.jpg
-! Exec "Rock" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/rock.tile.jpg
-! Exec "Rope" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/rope.weave.jpg
-! Exec "Stucco" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/stucco.jpg
-! Exec "Tile" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/tile.check.jpg
-! Exec "Tree Bark" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/bark.jpg
-! Exec "Volcanic" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/volcanic.jpg
-! Exec "Wood" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/wood.jpg
- EndPopup
-
- # Background settings ... choose from either Solid Colors or Color Images
-***************
-*** 605,614 ****
- Module Audio
-
- # Select your normal audio player
-! #*AudioPlayCmd /usr/bin/showaudio
-
- # Select the directory containing your sounds
-! #*AudioDir /home/frank/mac/sounds
-
- #*AudioDelay 1
-
---- 605,614 ----
- Module Audio
-
- # Select your normal audio player
-! #*AudioPlayCmd /usr/local/bin/showaudio
-
- # Select the directory containing your sounds
-! #*AudioDir %%PREFIX%%/lib/X11/afterstep/sounds
-
- #*AudioDelay 1
-
+--- sample.steprc.orig 1997-05-04 15:28:05 UTC
++++ sample.steprc
+@@ -167,11 +167,11 @@ DeskTopScale 32
+ # ModulePath is a colon-separated list, just like a regular unix PATH
+ # Any Module must be found within the path in order to be located
+ # and executed
+-ModulePath /usr/lib/X11/afterstep:/usr/X11R6/lib/X11/afterstep
++ModulePath %%PREFIX%%/lib/X11/afterstep
+ # Another colon-separated list pointing to your pixmaps (color icons)
+-PixmapPath /usr/include/X11/pixmaps/
++PixmapPath %%PREFIX%%/include/X11/pixmaps/
+ # Path for your ugly black&white icons
+-IconPath /usr/include/X11/bitmaps/
++IconPath %%PREFIX%%/include/X11/bitmaps/
+
+ # Various styles which can be associated with specific applications
+ # Sticky -- remains "stuck" on all desks
+@@ -291,7 +291,7 @@ Function "InitFunction"
+ # Place the green carpet image onto the background upon startup
+ # I personally recommend xli/xloadimage, but xv seems to be
+ # ubiquitous in the unix world so I'll use that
+- # Exec "I" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
++ # Exec "I" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/carpet.green.jpg
+ Exec "I" exec xsetroot -solid DarkGrey
+ EndFunction
+
+@@ -466,21 +466,21 @@ EndPopup
+ # Images ... quick way to view the included default background images
+ Popup "Images"
+ Title "Images"
+- Exec "Brick" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/brick.jpg
+- Exec "Coins" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/coins.jpg
+- Exec "Dark Wood" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/darkwood.jpg
+- Exec "Eyes" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/eyes.jpg
+- Exec "Glass" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/glass.jpg
+- Exec "Green Carpet" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
+- Exec "Parquet" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/parquet.jpg
+- Exec "Pebbles" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/pebbles.jpg
+- Exec "Rock" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rock.tile.jpg
+- Exec "Rope" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rope.weave.jpg
+- Exec "Stucco" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/stucco.jpg
+- Exec "Tile" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/tile.check.jpg
+- Exec "Tree Bark" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/bark.jpg
+- Exec "Volcanic" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/volcanic.jpg
+- Exec "Wood" exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/wood.jpg
++ Exec "Brick" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/brick.jpg
++ Exec "Coins" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/coins.jpg
++ Exec "Dark Wood" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/darkwood.jpg
++ Exec "Eyes" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/eyes.jpg
++ Exec "Glass" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/glass.jpg
++ Exec "Green Carpet" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/carpet.green.jpg
++ Exec "Parquet" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/parquet.jpg
++ Exec "Pebbles" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/pebbles.jpg
++ Exec "Rock" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/rock.tile.jpg
++ Exec "Rope" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/rope.weave.jpg
++ Exec "Stucco" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/stucco.jpg
++ Exec "Tile" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/tile.check.jpg
++ Exec "Tree Bark" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/bark.jpg
++ Exec "Volcanic" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/volcanic.jpg
++ Exec "Wood" exec xv -root -quit %%PREFIX%%/lib/X11/afterstep/backgrounds/wood.jpg
+ EndPopup
+
+ # Background settings ... choose from either Solid Colors or Color Images
+@@ -606,10 +606,10 @@ Key Down A C Scroll +
+ Module Audio
+
+ # Select your normal audio player
+-#*AudioPlayCmd /usr/bin/showaudio
++#*AudioPlayCmd %%LOCALBASE%%/bin/showaudio
+
+ # Select the directory containing your sounds
+-#*AudioDir /home/frank/mac/sounds
++#*AudioDir %%PREFIX%%/lib/X11/afterstep/sounds
+
+ #*AudioDelay 1
+