diff options
Diffstat (limited to 'x11-misc/wdm')
-rw-r--r-- | x11-misc/wdm/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/wdm/files/wdm-1.28-ar.patch | 20 | ||||
-rw-r--r-- | x11-misc/wdm/files/wdm-1.28-pkg_config.patch | 30 | ||||
-rw-r--r-- | x11-misc/wdm/wdm-1.28-r5.ebuild | 57 |
4 files changed, 110 insertions, 0 deletions
diff --git a/x11-misc/wdm/Manifest b/x11-misc/wdm/Manifest index 33112ce9d5b6..d0e1463206bd 100644 --- a/x11-misc/wdm/Manifest +++ b/x11-misc/wdm/Manifest @@ -1,5 +1,8 @@ +AUX wdm-1.28-ar.patch 645 BLAKE2B 0fb3dd263ca9ab9ba285c05c46c5a9cbb9bf26ea451681232b646027889f1a2fc9368b8e8b63f38c8c36d81dbe4e2edc9654bf85fbfaa0e7d1cf2e9b894b0510 SHA512 03cfbde2efcf68090fb3c39d634104a40eff646b44f34cb12af1abb669d5aa9ce0295f2c0f1f0879daa519896d3411b62c2b8065ac6bab0c64db30201899f43d +AUX wdm-1.28-pkg_config.patch 779 BLAKE2B 9455f411e2f1884522836033ba104ec588fe88a9f53235743fd365092a5fe9270474456b7320820553cdd614175c26c43bb532fb596e6465f51b474f441fe930 SHA512 0a255a416069a8d7a256a4b707bb715df551c34d92d439b6fbc6d0c22dd2011fd615c295bb7f2f950e6f0c8ef554235a0801b8fa412aeb372dec495011711966 AUX wdm-1.28-remove-fakehome.patch 950 BLAKE2B 127755e61a73772d20625c32e9263f386a26f3b6b9103765d4597d77e0d8d5afa6c81023e3f096747b7020e3ce536a05781ca13120c4abc358ed02419d3538fc SHA512 55ce47472f0d7ba03bef88af52ace7db88ded7f45862d884a7bb3409a122ec17002a40195cef078f57bcaba24cfcb881d156e990bc856ca7c4f1f4dabbb6764c AUX wdm-1.28-terminateServer.patch 422 BLAKE2B 6d85344c1b045a8dfc206c6b0b4f5375be3d62fcb69335c628e1d63b131d62cf54784a9f84a27d49e7ed1c0aa48982bb4c5fa95249bfe6e0203991e1e6c0b381 SHA512 f00685ce1ff38f34df57864d05dd52b7148d27a81177f2c560157a470b089bd9b981ae73bcc6da8c1995822d8b74c6dffdb6166dff33adcf4cd4daa2bc9dc8cf DIST wdm-1.28.tar.bz2 381522 BLAKE2B 72105e949c5bc8043967f5b36838c171e32728a40d2ef5f6fe618b04337e3f37329696a7f9f1cee591bf1a037de4ca4168f270a316375e27fd7ce0c919880833 SHA512 393ace12d3975e978c05b90be691a7c27921e7e2db0bdef5f4fe06b324da56edea4936200dc123130c6de9e45af5dac6175559d641957fec104d66bad67c03a1 EBUILD wdm-1.28-r4.ebuild 965 BLAKE2B 6645dbbe18a762aa1f0fe6f78069546892226def6e55fd2545132b5ba55341caa05534acee32c1884de9a53021281331f9933a350de2e87a560a5827b40949b8 SHA512 cb058ccd55ab042ddcd3d0291acb1788c2b697dc8fe7f23bd6de0ddac2a68187be732c808859246c20aa99ee63a0dfc971baa7c65f8b5b224ce767fcf9c04fbe +EBUILD wdm-1.28-r5.ebuild 1138 BLAKE2B 4048408d5e9a2fd33a7536e6641081e83d6451339647093531ed3813885045b7d89f99728019c3c00d0932bc7a94ca75e82866c4ebe1887c02f674d805e3dcc3 SHA512 b00ab1c0ee09cd4d32383727d309c887228a8f5ad2f191c8f80f506ca6d3e5e1f5ca044628b46502e3349a947ae212152674cd56a946c8b83962901fab05665a MISC metadata.xml 350 BLAKE2B 1b1cab426ff16f13bed9114bca2d0d543457d97400f739a78cc1a1975683a7ae7c48630af6033f9f94268fa61f9382b6caa056346b2eb3038a83523261b4c8cf SHA512 deecfc72a65212b6498334be4dc9abc35d9f22b64f041181474bbeca8fd71d1e3ebdcccf9a98f57ccc57bd37958b206944c9f520bc7c4cd2d8329f9ce14a0b19 diff --git a/x11-misc/wdm/files/wdm-1.28-ar.patch b/x11-misc/wdm/files/wdm-1.28-ar.patch new file mode 100644 index 000000000000..f4783061b1ca --- /dev/null +++ b/x11-misc/wdm/files/wdm-1.28-ar.patch @@ -0,0 +1,20 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -26,7 +26,7 @@ + xgettext = @XGETTEXT@ + msgfmt = @MSGFMT@ + ranlib = @RANLIB@ +-ar = ar ++AR ?= ar + + cc = $(CC) + cflags = $(CPPFLAGS) $(CFLAGS) $(DEFS) -I./include +@@ -249,7 +249,7 @@ + + bin/libwdm.a: src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o + mkdir -p bin +- $(ar) cru bin/libwdm.a src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o ++ $(AR) cru bin/libwdm.a src/libwdm/debug.o src/libwdm/environment.o src/libwdm/names.o src/libwdm/plcheckers.o + $(ranlib) bin/libwdm.a + + $(DESTDIR)$(MANDIR)/man1/wdmLogin.1: doc/wdmLogin.man diff --git a/x11-misc/wdm/files/wdm-1.28-pkg_config.patch b/x11-misc/wdm/files/wdm-1.28-pkg_config.patch new file mode 100644 index 000000000000..3670830bf86f --- /dev/null +++ b/x11-misc/wdm/files/wdm-1.28-pkg_config.patch @@ -0,0 +1,30 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -7,6 +7,7 @@ + AC_PROG_INSTALL + AC_PROG_CC + AC_PROG_RANLIB ++PKG_PROG_PKG_CONFIG + + AC_ARG_VAR(XRDB_PATH, [Path to xrdb program from X]) + AC_PATH_PROG(XRDB_PATH, xrdb) +@@ -153,15 +154,11 @@ + ],,[$XLDFLAGS $XLIBS]) + fi + +-dnl WINGs support +-AC_CHECK_PROG(GETWINGSFLAGS,get-wings-flags,get-wings-flags,,[$PATH]) +-if test -z "$GETWINGSFLAGS"; then +- AC_MSG_ERROR(['get-wings-flags' command was not found in \$PATH, please upgrade your WindowMaker.]) +-fi ++PKG_CHECK_MODULES(WINGS, WINGs,,[AC_MSG_ERROR([WINGs not found])]) + +-WCFLAGS=`get-wings-flags --cflags` +-WLDFLAGS=`get-wings-flags --ldflags` +-WLIBS=`get-wings-flags --libs` ++WCFLAGS="$WINGS_CFLAGS" ++WLDFLAGS="$WINGS_LDFLAGS" ++WLIBS="$WINGS_LIBS" + + AC_SUBST(XLIBS) + AC_SUBST(XCFLAGS) diff --git a/x11-misc/wdm/wdm-1.28-r5.ebuild b/x11-misc/wdm/wdm-1.28-r5.ebuild new file mode 100644 index 000000000000..9a7b26373b7c --- /dev/null +++ b/x11-misc/wdm/wdm-1.28-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools pam toolchain-funcs + +DESCRIPTION="WINGs Display Manager" +HOMEPAGE="https://github.com/voins/wdm" +SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam selinux truetype" + +COMMON_DEPEND=" + >=x11-wm/windowmaker-0.70.0 + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt + pam? ( virtual/pam ) + truetype? ( x11-libs/libXft ) +" +DEPEND=" + ${COMMON_DEPEND} + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + ${COMMON_DEPEND} + pam? ( >=sys-auth/pambase-20080219.1 ) +" +PATCHES=( + "${FILESDIR}"/${P}-terminateServer.patch + "${FILESDIR}"/${P}-remove-fakehome.patch + "${FILESDIR}"/${P}-pkg_config.patch + "${FILESDIR}"/${P}-ar.patch +) + +src_prepare() { + default + eautoreconf +} +src_configure() { + tc-export AR + econf \ + --with-wdmdir="${EPREFIX}"/etc/X11/wdm \ + $(use_enable pam) \ + $(use_enable selinux) +} + +src_install() { + default + + rm -f "${ED%/}"/etc/pam.d/wdm || die + pamd_mimic system-local-login wdm auth account password session +} |