diff options
Diffstat (limited to 'x11-misc/xkeycaps')
-rw-r--r-- | x11-misc/xkeycaps/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch | 5 | ||||
-rw-r--r-- | x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild | 64 |
3 files changed, 69 insertions, 4 deletions
diff --git a/x11-misc/xkeycaps/Manifest b/x11-misc/xkeycaps/Manifest index 219f386dbf95..e22699ccd6fb 100644 --- a/x11-misc/xkeycaps/Manifest +++ b/x11-misc/xkeycaps/Manifest @@ -1,5 +1,7 @@ -AUX xkeycaps-2.47-Imakefile.patch 758 BLAKE2B c8f06c0c61f3c57f29c818d2ea139538e14fbcf654bfb9d099bf680cfff38e2c870694afc026f20a8b45b8f6274f0530c84def8a4d36b6ff0f37f055cf18a573 SHA512 f3bef8615e6a040ab05fc71cf45323515f752ffc8cc1914098b1a8433a77c91c0f9aaba11e73bc984c808d1e5421f94c5dab4562e5f442a8558d2987145928a5 +AUX xkeycaps-2.47-Imakefile.patch 595 BLAKE2B a4ecbb62eb308357b77a7633eb8c1eb0a8fe25d17e6e912e416120003996438b51684ab60cbe840c5be7b217ce0c283890f40a5c997b952d8d31ab23a4a58c5a SHA512 3412fd9db48460a97c5630a9641bbf147e905b5c5ce357627d6f65e669d044cfb88f271506767a26fd3a6791d5ffa06af85eeb7ebfdb932c20dfcd088c7b2307 AUX xkeycaps-2.47-man.patch 639 BLAKE2B 4c554a83d65598544d2fb2853c523503b4be9a52d56a6a488aec933600fa39d2e050028ed907d0ea19bf1bf2898113a6c68c2b965c43840abd2dd905ccdfcd8e SHA512 6eab220c2c5c274ae5bfdc5bcf9c028409a3f0ee1b764aaaae81b2b7496fea48e64ea6fbcba0bf175ee10bcc81309ddcaeed3c4b9b831b9f8d8341df20a9c950 +DIST xkeycaps_2.47-7.debian.tar.xz 7268 BLAKE2B 86ddfd8b2ec8761b8e4a4c4de93fcfd0b88c018125c20f987bf5f47ea77edb5b996a3ed45c3fb2452c7647d6f1a3a2583bdd17f0442435d83afa3dbbc280d285 SHA512 85d72cbd4012299ab60ab700049862c1ab514c904acb8e3810fd7886cacb0712c3849fbc52dee499007d97ce8aa301a34d901120a46ba15a32151986121fbbbc DIST xkeycaps_2.47.orig.tar.gz 351418 BLAKE2B 0dfd53e6b7af6c14057e56071b70edf3479a55ab4e6ed9651cd5acec68c1db8096264dc8d5b578ccb62b331ad6f14ec8f1b8d0363b614d14b0ba9ce60492b55b SHA512 f5f5ecdf83c2bd86eb3d8b8a28b26af25a2dc9ff0a9c44091d8eb154d617b4373191a2e4479bb0e3025c023d6e5d785a088c64bc269c1c43431a3d2fc91c1a7e EBUILD xkeycaps-2.47-r2.ebuild 945 BLAKE2B eaff6b3515acdb863da736e3f0e3ec5491542004c4331cdbdb63515544e827ae809f95ebd1cec0b194d1bc0ce7263aec2a0c26101cc868d5cce038bc9f382ada SHA512 0a441513d785a471094849d2f9cc1c60702f5c15301790a309d66fc516db8d738679105520dce617c76c820242d30904411704d95f6f40b2fc0a9bb4ba63de07 +EBUILD xkeycaps-2.47_p7.ebuild 1164 BLAKE2B 37f4c04e2956ddb2878bf666f7f8e57667779bab439ec0d16083f0804198d5e9552d6dc99f6c2e4849fc7b03d962a514c8a428876037d96bb4c63be0c4432207 SHA512 5ef642f12fc742ea0d70ba91df2bee7fab15ec52029530dd584c07331124ed07a4e627904f33f2a0518fe48872f7822a032e8e5e894831ba317a32099f28363e MISC metadata.xml 276 BLAKE2B c4cbc92f4cc708c8a571df5735be5dc6d3b2b9d882265fbf398ca38a7c685a9da8d647e78d05a85edae0568f141b065edaa6ac6f6022106fabb8126740b1c60d SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch index 42f7ab6e344d..9a562a72d473 100644 --- a/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch +++ b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch @@ -1,6 +1,5 @@ -diff -ur xkeycaps-2.47.orig/Imakefile xkeycaps-2.47/Imakefile ---- xkeycaps-2.47.orig/Imakefile 2005-02-23 00:33:15.000000000 +0200 -+++ xkeycaps-2.47/Imakefile 2008-12-07 22:55:24.000000000 +0200 +--- a/Imakefile ++++ b/Imakefile @@ -1,5 +1,5 @@ -/**/# Imakefile for xkeycaps; -/**/# Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski. diff --git a/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild new file mode 100644 index 000000000000..3ed56c7b259f --- /dev/null +++ b/x11-misc/xkeycaps/xkeycaps-2.47_p7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="GUI frontend to xmodmap" +HOMEPAGE="https://packages.qa.debian.org/x/xkeycaps.html" +SRC_URI=" + mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*}.orig.tar.gz + mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p/-}.debian.tar.xz +" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt + x11-misc/xbitmaps +" +DEPEND=" + ${RDEPEND} + >=sys-apps/sed-4 + x11-base/xorg-proto + x11-misc/imake +" + +DOCS=( README defining.txt hierarchy.txt sgi-microsoft.txt ) +PATCHES=( + "${FILESDIR}"/${P/_p*}-Imakefile.patch +) +S=${WORKDIR}/${P/_p*} + +src_prepare() { + eapply $( + for file in $(cat "${WORKDIR}"/debian/patches/series) + do echo "${WORKDIR}"/debian/patches/${file} + done + ) + default +} + +src_configure() { + xmkmf || die + sed -i \ + -e "s,all:: xkeycaps.\$(MANSUFFIX).html,all:: ,g" \ + Makefile || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" +} + +src_install () { + default + newman ${PN}.man ${PN}.1 +} |