From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-editors/jasspa-microemacs/Manifest | 10 ++ .../jasspa-microemacs/files/20091011-linux3.patch | 23 +++++ .../jasspa-microemacs/files/20091011-ncurses.patch | 15 +++ .../files/jasspa-microemacs.desktop | 13 +++ .../jasspa-microemacs-20091011-r2.ebuild | 83 +++++++++++++++++ .../jasspa-microemacs-20091011-r3.ebuild | 101 +++++++++++++++++++++ app-editors/jasspa-microemacs/metadata.xml | 25 +++++ 7 files changed, 270 insertions(+) create mode 100644 app-editors/jasspa-microemacs/Manifest create mode 100644 app-editors/jasspa-microemacs/files/20091011-linux3.patch create mode 100644 app-editors/jasspa-microemacs/files/20091011-ncurses.patch create mode 100644 app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop create mode 100644 app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild create mode 100644 app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild create mode 100644 app-editors/jasspa-microemacs/metadata.xml (limited to 'app-editors/jasspa-microemacs') diff --git a/app-editors/jasspa-microemacs/Manifest b/app-editors/jasspa-microemacs/Manifest new file mode 100644 index 000000000000..980a6e1300d2 --- /dev/null +++ b/app-editors/jasspa-microemacs/Manifest @@ -0,0 +1,10 @@ +AUX 20091011-linux3.patch 723 BLAKE2B 924852d26fc148c124e51e7d392d2a38482022b30bb1ad31e92ce12dd6efb97a154b7c05b8590788d4a4839c4de0bddb4f5576addf9cd64ac9d4511c6197801c SHA512 c3b0246cc83c6840b59b46cbd25ebe1f9364a029f555f916dbc3ca38d8e490514a9dfc9ae8748e751e49cc9a1f3be89af30d0fab95d35486d32cf87fec93431c +AUX 20091011-ncurses.patch 583 BLAKE2B eaf5eafcfb9fbe6a889b64fcfe895016ec25d8be63975600c11e9cfb889b42b6d03426e1d574bf65899fd5bac00d0fd49a838c1d57e7ab7e3c2cb172664206af SHA512 d2a4ca646e825a9c517ed075205609d141f94735c9bba2f23f5c94ced05b9290e6e24a718d7e8cfbcad77663a6c07f311a387363e8737cb1cb4fc81cf34e9a22 +AUX jasspa-microemacs.desktop 282 BLAKE2B 4c881a43ab13c3043555bbced246aefd463247c467974f4c449d26f3d4db9e91fc47448afae30b478b6d0053da74d07e44f25f08a1e310c4072c45ddc63725e8 SHA512 e55698b2faf0a5a8fbb04e837400ab0d9be00d50ab20fd3d84718edf75a4bedef1155f04654ea1d491c3b456f1bf047e4b90f05efb0702deeb2f496c9ad091d2 +DIST jasspa-mehtml-20091011.tar.gz 628008 BLAKE2B 97c8326e7acfdc4bc4ddd2ef6bbcf0384f114cfe1487d1ab5f456b0b64ea87a2410ce644860a33c863224e4dc66a476a63881d865455a62a5ce5a0877d03bfc4 SHA512 0328ad7af88b98840c76003c15461f45cba9f54b7935330ec881c588cdd02ee937684ce42c1889f7ca311cc80bd027ae6cb6b088c5ed5105107b22b384780a4e +DIST jasspa-memacros-20091017.tar.gz 1105437 BLAKE2B 0a74715db55498fed646f209a9121a96c673cb34c487968c4f838bacf6404db717fbd8392d26f8fa120174923724af91e4a14bda088bf229765d1e99c785d8ba SHA512 08908acac4dbe56695362172dabe621b8cca77a35da599c6cf5b4e87700c03f4ee190ca12d5c69b2d88c623cec527daac0980dec2ed713ff563e88ebe636a725 +DIST jasspa-mesrc-20091011.tar.gz 810128 BLAKE2B ce627dab7cf4ec09b099e755c3eb17e773c64fbff60741244cdb134ee1555ffff592ef3684eecae72d5da36c10cd7caa23a03112154c616ad3c7667d913354b4 SHA512 60cc5a83b3cafd8e517f88732dc94feb0329b962bc714eaa5616ba89776fbfac41833be88fd3a666443291184086494434fb8763747c1dc5e216ce793b694b68 +DIST meicons-extra.tar.gz 43345 BLAKE2B 5b3d6e8a76604364d8e5464ba764aec96d822054c02bffed4cd763f7691f78bc3455904cd06d89ddcf8a0861134ada3c7d228751d4f3685e6700ebfc3dda2354 SHA512 bb6879fb12ec1c7b346bc1df2412a837ffdd0569f6be2800a433307a7736bb31798b3c2a71e02cebdce39c59d93d1a986f80c92184604e4292606c98285fe02a +EBUILD jasspa-microemacs-20091011-r2.ebuild 2115 BLAKE2B 007a275b88257cc808c872a7e659851f13fbc0916d4b8c1789e0e83fcf849b9bc317819de2e9785e240412bd967f6eeaf2f7d403399b28f102f07cbd2c6bd17c SHA512 ae515ed70c9b13b891de1cb703323555df57a7002a5aa69815b7f50aaf6f4e11bb155aaeb52d4cd60295a4d27e2cb50f5b0d8a3c61e99aa33bf01bb13986576c +EBUILD jasspa-microemacs-20091011-r3.ebuild 2319 BLAKE2B 5c5b2bec2ff83769075c63cf67b79ccd2bbf4ef1f522fcaac0590fdc85123774abf0ce7aaf0bd3ffd755b750887fb07809f997847f111c06908e4a2be20349ef SHA512 85b6b933c33dcbf78886d0ae3bf6274876b10d45a86e5a542ea25c89fe3d5aa27e1bd68f9ea241a574dc25d1889f61755fd2abb552b4ff32600f4647b3e931ef +MISC metadata.xml 1094 BLAKE2B 9983b2ebf7f9d7a979180ea0d4aa063ace2fa5a3a630339bb8112a8691eb6b46964d298d9b49c2d02b2dba2750e501b5740de2242da00abc4b24ba08af8d7fb1 SHA512 2116ed586b24da86206c4d38977c118bcf2381d455a3cd0fb9d672f8d709b5113fe4c8767e2d2f20f8c879a71f0e6bfb6384b9efe30cba82e177fa75dc4e0d6a diff --git a/app-editors/jasspa-microemacs/files/20091011-linux3.patch b/app-editors/jasspa-microemacs/files/20091011-linux3.patch new file mode 100644 index 000000000000..35a5b22a1dce --- /dev/null +++ b/app-editors/jasspa-microemacs/files/20091011-linux3.patch @@ -0,0 +1,23 @@ +Work around build failure on Linux 3.0. + +--- me091011-orig/src/build ++++ me091011/src/build +@@ -130,17 +130,7 @@ + MAKEBAS=irix6 + fi + elif [ $PLATFORM = "Linux" ] ; then +- MACHINE=`uname -m | cut -c 1-3` +- if [ $MACHINE = "arm" ] ; then +- MAKEBAS=zaurus +- else +- KERNEL_MAJOR=`uname -r | cut -c 1-1` +- KERNEL_MINOR=`uname -r | cut -c 3-3` +- MAKEBAS="linux$KERNEL_MAJOR$KERNEL_MINOR" +- if [ ! -r $MAKEBAS.gmk ] ; then +- MAKEBAS="linux2" +- fi +- fi ++ MAKEBAS=linux26 + X11_MAKELIB=/usr/X11R6/lib + elif [ $PLATFORM = "OpenBSD" ] ; then + MAKEBAS=openbsd diff --git a/app-editors/jasspa-microemacs/files/20091011-ncurses.patch b/app-editors/jasspa-microemacs/files/20091011-ncurses.patch new file mode 100644 index 000000000000..92a2885895b1 --- /dev/null +++ b/app-editors/jasspa-microemacs/files/20091011-ncurses.patch @@ -0,0 +1,15 @@ +--- me091011-orig/src/linux26.gmk ++++ me091011/src/linux26.gmk +@@ -66,12 +66,7 @@ + # accomplish this try to compile test.c and see if it can link termcap. For + # Linux 2.6 then preference would appear to be "ncurses" rather than "termcap". + # +-test = $(shell echo "\#include " > _t.c ; echo "main() { printf(\"HW\n\"); }" >> _t.c ; $(LD) $(LDFLAGS) -o /dev/null -lncurses _t.c 2>&1 ; rm -f _t.c) +-ifneq "$(strip $(test))" "" +-CONSOLE_LIBS = -ltermcap +-else + CONSOLE_LIBS = -lncurses +-endif + # + # Rules + .SUFFIXES: .c .oc .ow .ob .on .ov .oe .odc .odw .odb .odn .odv .ode diff --git a/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop b/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop new file mode 100644 index 000000000000..62204880bd96 --- /dev/null +++ b/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Jasspa MicroEmacs +GenericName=Text Editor +Comment=Advanced Text Editor +Icon=/usr/share/jasspa/icons/32x32/me.png +TryExec=me +Exec=me %F +Terminal=false +MimeType=text/plain; +Categories=Development;TextEditor; +StartupWMClass=MicroEmacs diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild new file mode 100644 index 000000000000..eb138ec6f5bb --- /dev/null +++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs +MACROS_PV="20091017" + +DESCRIPTION="Jasspa Microemacs" +HOMEPAGE="http://www.jasspa.com/" +SRC_URI="http://www.jasspa.com/release_20090909/jasspa-mesrc-${PV}.tar.gz + !nanoemacs? ( + http://www.jasspa.com/release_20090909/jasspa-memacros-${MACROS_PV}.tar.gz + http://www.jasspa.com/release_20090909/jasspa-mehtml-${PV}.tar.gz + http://www.jasspa.com/release_20060909/meicons-extra.tar.gz )" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="nanoemacs X xpm" + +RDEPEND="sys-libs/ncurses + X? ( x11-libs/libX11 + xpm? ( x11-libs/libXpm ) ) + nanoemacs? ( !app-editors/ne )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + X? ( x11-libs/libXt + x11-base/xorg-proto )" + +S="${WORKDIR}/me${PV:2}/src" + +src_unpack() { + unpack jasspa-mesrc-${PV}.tar.gz + if ! use nanoemacs; then + mkdir "${WORKDIR}/jasspa" + cd "${WORKDIR}/jasspa" + # everything except jasspa-mesrc + unpack ${A/jasspa-mesrc-${PV}.tar.gz/} + fi +} + +src_prepare() { + epatch "${FILESDIR}/${PV}-ncurses.patch" + epatch "${FILESDIR}/${PV}-linux3.patch" + + # allow for some variables to be passed to make + sed -i -e \ + '/make/s/\$OPTIONS/& CC="$CC" COPTIMISE="$CFLAGS" LDFLAGS="$LDFLAGS" CONSOLE_LIBS="$CONSOLE_LIBS" STRIP=true/' \ + build || die "sed failed" +} + +src_compile() { + local pkgdatadir="${EPREFIX}/usr/share/jasspa" + local me="" type=c + use nanoemacs && me="-ne" + use X && type=cw + use xpm || export XPM_INCLUDE=. # prevent Xpm autodetection + + CC="$(tc-getCC)" \ + CONSOLE_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" \ + ./build ${me} \ + -t ${type} \ + -p "~/.jasspa:${pkgdatadir}/site:${pkgdatadir}" \ + || die "build failed" +} + +src_install() { + local me=me type=c + use nanoemacs && me=ne + use X && type=cw + newbin ${me}${type} ${me} + + if ! use nanoemacs; then + keepdir /usr/share/jasspa/site + insinto /usr/share + doins -r "${WORKDIR}/jasspa" + use X && domenu "${FILESDIR}/${PN}.desktop" + fi + + dodoc ../faq.txt ../readme.txt ../change.log +} diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild new file mode 100644 index 000000000000..c431c2cfdd65 --- /dev/null +++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs xdg-utils + +MACROS_PV="20091017" +DESCRIPTION="Jasspa Microemacs" +HOMEPAGE="http://www.jasspa.com/" +SRC_URI="http://www.jasspa.com/release_20090909/jasspa-mesrc-${PV}.tar.gz + !nanoemacs? ( + http://www.jasspa.com/release_20090909/jasspa-memacros-${MACROS_PV}.tar.gz + http://www.jasspa.com/release_20090909/jasspa-mehtml-${PV}.tar.gz + http://www.jasspa.com/release_20060909/meicons-extra.tar.gz )" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="nanoemacs X xpm" + +RDEPEND="sys-libs/ncurses:0= + X? ( + x11-libs/libX11 + xpm? ( x11-libs/libXpm ) + ) + nanoemacs? ( !app-editors/ne )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + X? ( + x11-base/xorg-proto + x11-libs/libXt + )" + +S="${WORKDIR}/me${PV:2}" +PATCHES=( + "${FILESDIR}"/${PV}-ncurses.patch + "${FILESDIR}"/${PV}-linux3.patch +) + +src_unpack() { + unpack jasspa-mesrc-${PV}.tar.gz + if ! use nanoemacs; then + mkdir "${WORKDIR}"/jasspa || die + cd "${WORKDIR}"/jasspa || die + # everything except jasspa-mesrc + unpack ${A/jasspa-mesrc-${PV}.tar.gz/} + fi +} + +src_prepare() { + default + # allow for some variables to be passed to make + sed -i -e \ + '/make/s/\$OPTIONS/& CC="$CC" COPTIMISE="$CFLAGS" LDFLAGS="$LDFLAGS" CONSOLE_LIBS="$CONSOLE_LIBS" STRIP=true/' \ + src/build || die "sed failed" +} + +src_compile() { + local pkgdatadir="${EPREFIX}/usr/share/jasspa" + local me="" type=c + use nanoemacs && me="-ne" + use X && type=cw + use xpm || export XPM_INCLUDE=. # prevent Xpm autodetection + + cd src || die + CC="$(tc-getCC)" \ + CONSOLE_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" \ + ./build ${me} \ + -t ${type} \ + -p "~/.jasspa:${pkgdatadir}/site:${pkgdatadir}" \ + || die "build failed" +} + +src_install() { + local me=me type=c + use nanoemacs && me=ne + use X && type=cw + newbin src/${me}${type} ${me} + + if ! use nanoemacs; then + keepdir /usr/share/jasspa/site + insinto /usr/share + doins -r "${WORKDIR}"/jasspa + if use X; then + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop + fi + fi + + dodoc faq.txt readme.txt change.log +} + +pkg_postinst() { + use X && xdg_desktop_database_update +} + +pkg_postrm() { + use X && xdg_desktop_database_update +} diff --git a/app-editors/jasspa-microemacs/metadata.xml b/app-editors/jasspa-microemacs/metadata.xml new file mode 100644 index 000000000000..ab5b22e79f36 --- /dev/null +++ b/app-editors/jasspa-microemacs/metadata.xml @@ -0,0 +1,25 @@ + + + + + emacs@gentoo.org + Gentoo Emacs project + + + * An Emacs editor biased towards UNIX users, working across platforms by + providing a consistent interface under UNIX, Microsoft Windows '95/'98/NT + and DOS operating systems. + * Fully featured editor, retaining the lightness of the original + MicroEmacs 3.8 with much enhanced capability. + * Small memory and disk footprint. + * A much enhanced version of the Danial Lawrence's original MicroEmacs 3.8 + of 1988. It is stressed that although Danial Lawrence's 3.8 version was + used as a base, he has had no involvement in the development of this + distribution. + * To avoid any confusion with the original MicroEmacs, this distribution + should be referred to as the JASSPA distribution. + + + Build NanoEmacs instead of MicroEmacs + + -- cgit v1.2.3