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 | |
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')
-rw-r--r-- | x11-wm/aewm/aewm-1.3.12-r1.ebuild | 47 | ||||
-rw-r--r-- | x11-wm/aewm/files/aewm-1.3.12-r1-gentoo.patch | 92 |
2 files changed, 139 insertions, 0 deletions
diff --git a/x11-wm/aewm/aewm-1.3.12-r1.ebuild b/x11-wm/aewm/aewm-1.3.12-r1.ebuild new file mode 100644 index 000000000000..e0a143a90091 --- /dev/null +++ b/x11-wm/aewm/aewm-1.3.12-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A minimalistic X11 window manager" +HOMEPAGE="https://www.red-bean.com/decklin/aewm/" +SRC_URI="${HOMEPAGE}${P}.tar.bz2" + +LICENSE="MIT 9wm" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto +" +PATCHES=( + "${FILESDIR}"/${P}-r1-gentoo.patch +) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake \ + DESTDIR="${ED}" \ + MANDIR="${ED}"/usr/share/man/man1 \ + XROOT="/usr" \ + install + + dodoc NEWS README +} 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" |