diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-12-15 11:12:11 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-12-15 11:12:32 +0100 |
commit | 39b0defc694f7005cb3f2705dd6d5d2bd672a97d (patch) | |
tree | f6d4c21a7c656e409ef6e32e856ad95f9f3aec25 /x11-wm/aewm/files | |
parent | dev-haskell/cabal-doctest: bump up to 1.0.8 (diff) | |
download | gentoo-39b0defc694f7005cb3f2705dd6d5d2bd672a97d.tar.gz gentoo-39b0defc694f7005cb3f2705dd6d5d2bd672a97d.tar.bz2 gentoo-39b0defc694f7005cb3f2705dd6d5d2bd672a97d.zip |
x11-wm/aewm: Install uncompressed man pages
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-wm/aewm/files')
-rw-r--r-- | x11-wm/aewm/files/aewm-1.3.12-r1-gentoo.patch | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/x11-wm/aewm/files/aewm-1.3.12-r1-gentoo.patch b/x11-wm/aewm/files/aewm-1.3.12-r1-gentoo.patch new file mode 100644 index 000000000000..a08aa2760ed4 --- /dev/null +++ b/x11-wm/aewm/files/aewm-1.3.12-r1-gentoo.patch @@ -0,0 +1,92 @@ +--- a/Makefile ++++ b/Makefile +@@ -6,12 +6,12 @@ + XROOT = /usr/X11R6 + + # Uncomment to enable Shape extension support +-#OPT_WMFLAGS += -DSHAPE ++OPT_WMFLAGS += -DSHAPE + #OPT_WMLIB += -lXext + + # Uncomment to add Xft support +-#OPT_WMFLAGS += -DXFT `pkg-config --cflags xft` +-#OPT_WMLIB += `pkg-config --libs xft` -lXext ++OPT_WMFLAGS += -DXFT $(shell $(PKG_CONFIG) --cflags xft xext) ++OPT_WMLIB += $(shell $(PKG_CONFIG) --libs xft xext) + + # Uncomment for debugging (abandon all hope, ye who enter here) + #OPT_WMFLAGS += -DDEBUG +@@ -46,7 +46,7 @@ + + X11FLAGS = -I$(XROOT)/include + WMFLAGS = $(X11FLAGS) $(OPT_WMFLAGS) +-GTKFLAGS = `pkg-config --cflags gtk+-2.0` ++GTKFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-2.0) + + $(PLAINOBJ): %.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ +@@ -60,37 +60,36 @@ + $(GTKOBJ): %.o: %.c + $(CC) $(CFLAGS) $(GTKFLAGS) -c $< -o $@ + +-X11LIB = -L$(XROOT)/lib -lX11 ++X11LIB = $(shell $(PKG_CONFIG) --libs x11) + WMLIB = $(X11LIB) $(OPT_WMLIB) +-GTKLIB = `pkg-config --libs gtk+-2.0` ++GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-2.0) + + $(PLAINBIN): %: %.o +- $(CC) $^ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + $(X11BIN): %: %.o +- $(CC) $^ $(X11LIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(X11LIB) -o $@ + + $(WMBIN): %: +- $(CC) $^ $(WMLIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(WMLIB) -o $@ + + $(GTKBIN): %: %.o +- $(CC) $^ $(GTKLIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIB) $(X11LIB) -o $@ + + AEMAN = aewm.1x aeclients.1x + AERC = aewmrc clientsrc + + install: all + mkdir -p $(BINDIR) $(MANDIR) $(CFGDIR) +- install -s $(ALLBIN) $(BINDIR) ++ install $(ALLBIN) $(BINDIR) + for i in $(AEMAN); do \ + install -m 644 doc/$$i $(MANDIR); \ +- gzip -9 $(MANDIR)/$$i; \ + done + for i in $(AERC); do \ + install -m 644 doc/$$i.ex $(CFGDIR)/$$i; \ + done + for i in $(PLAINBIN) $(X11BIN) $(GTKBIN); do \ +- ln -sf aeclients.1x.gz $(MANDIR)/$$i.1x.gz; \ ++ ln -sf aeclients.1x $(MANDIR)/$$i.1x; \ + done + + clean: +--- a/doc/aewmrc.ex ++++ b/doc/aewmrc.ex +@@ -3,7 +3,7 @@ + + # Titlebar font. "fixed" is the default. + +-font "lucidasans-10" ++font "fixed" + + # Window colors + +--- a/doc/clientsrc.ex ++++ b/doc/clientsrc.ex +@@ -10,4 +10,4 @@ + cmd "Gaim" "gaim" + end + +-cmd "Logout" "skill aesession" ++cmd "Logout" "pkill aesession" |