From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-editors/jasspa-microemacs/Manifest | 11 +++ .../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 ++++++++++++++++++++++ app-editors/jasspa-microemacs/metadata.xml | 25 +++++++ 6 files changed, 170 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/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..400770abfb2a --- /dev/null +++ b/app-editors/jasspa-microemacs/Manifest @@ -0,0 +1,11 @@ +AUX 20091011-linux3.patch 723 SHA256 6a00571de9320f3def48c83e6c5717f26a98f16a3aa3271c246491d3090a6cdb SHA512 c3b0246cc83c6840b59b46cbd25ebe1f9364a029f555f916dbc3ca38d8e490514a9dfc9ae8748e751e49cc9a1f3be89af30d0fab95d35486d32cf87fec93431c WHIRLPOOL d318ea84923f106927707cc947b87dcafae99745deb84ac9f71c24d389889ab46d4785d8c01b2bdcfcf2b03cea1a0a1643eda088f4aaec2651ed441075192cc8 +AUX 20091011-ncurses.patch 583 SHA256 8b8937c4668d4f026a65eb31d3602565299d3b866802f5b89ed6b67f66a9aab4 SHA512 d2a4ca646e825a9c517ed075205609d141f94735c9bba2f23f5c94ced05b9290e6e24a718d7e8cfbcad77663a6c07f311a387363e8737cb1cb4fc81cf34e9a22 WHIRLPOOL 573a9997536204d797b1e3406ecc86826b79f838cb4afe72606d5022f9a20dd03d7223664fab0c983dee4855ace7a4d0d7f0684255fd0cd9931533fb3bc6bfad +AUX jasspa-microemacs.desktop 282 SHA256 9c77adfb1eb77eb0e313add3bc5f1c06d56cfaf1a1d096751d225d3586347c88 SHA512 e55698b2faf0a5a8fbb04e837400ab0d9be00d50ab20fd3d84718edf75a4bedef1155f04654ea1d491c3b456f1bf047e4b90f05efb0702deeb2f496c9ad091d2 WHIRLPOOL 39ce77b6f00daefbe4ca0466ea3d631cbb505e74efda028e613801505fe75f638fec63c92229f833222092879f55f62d32f517116ed23bc8505a6447016f65da +DIST jasspa-mehtml-20091011.tar.gz 628008 SHA256 c106af1a7a1bd5862883ae237ae8a27dccfa30f300944211995658bcfb8621d0 SHA512 0328ad7af88b98840c76003c15461f45cba9f54b7935330ec881c588cdd02ee937684ce42c1889f7ca311cc80bd027ae6cb6b088c5ed5105107b22b384780a4e WHIRLPOOL cb5025c8ca711911d2e54c518a906e39c9ac31936853840bb6aa65e8873150eb4070c7ca53900044de44200d7ac596a6fc81ab39e8b2beadfe6af67d851b43e6 +DIST jasspa-memacros-20091017.tar.gz 1105437 SHA256 aa23d2bb4d5d5b87eb8aa5a28439ff1bcdd2162c5c14a186b84366c06691aa2d SHA512 08908acac4dbe56695362172dabe621b8cca77a35da599c6cf5b4e87700c03f4ee190ca12d5c69b2d88c623cec527daac0980dec2ed713ff563e88ebe636a725 WHIRLPOOL 2f36d5d280d0ec6dee793a6783ccfd860eca6622824b7a3727778564bebf91f05c5d77b2e4a9b464f078cf26de903aa42c25ac849752d33b480c8723203c11a4 +DIST jasspa-mesrc-20091011.tar.gz 810128 SHA256 44109a9118da34a1d026450ec85a3f85d983c4015c97db2b9abbad69e8d90889 SHA512 60cc5a83b3cafd8e517f88732dc94feb0329b962bc714eaa5616ba89776fbfac41833be88fd3a666443291184086494434fb8763747c1dc5e216ce793b694b68 WHIRLPOOL a896c4eb594c4cbc126c2980cf8efaf1f6f07b4846c3d70f93ee842ec9a719b04fd85e8c390a34091e5c913676af371bc2c28500cd9f223ebf4fa73e8778f635 +DIST meicons-extra.tar.gz 43345 SHA256 d56864a6abccda2b6f79b8b86c545ae4b2abb40b8761cd97bda986aed454e8ef SHA512 bb6879fb12ec1c7b346bc1df2412a837ffdd0569f6be2800a433307a7736bb31798b3c2a71e02cebdce39c59d93d1a986f80c92184604e4292606c98285fe02a WHIRLPOOL a33c89b4c9f47a82273d7789b397893402cb8d35b625d5f6378007062527b7510e86cb2d614a21757c98205508f10cf6fb8e2c65c72d4585735f8445bfa2135b +EBUILD jasspa-microemacs-20091011-r2.ebuild 2112 SHA256 cdb18342acfde19825de3e7714ad4372f520f3576d36d466cb690a13bb408911 SHA512 a0c924ea30ef893be7c374d12317dda6f1374f84286b2ed749e416b86d7c71965b271610e988f594a1dbe0abe0aaf65ba22d22f95cf2f114cf0fe1d6ce7f3858 WHIRLPOOL 13e13feea56537acd78b6fcf11f8020b0f5f5ecdb18525103eee9669cacd3c82fa3ccfde76ae2d227ca49c730f461f8010c92e48d2f57e7f5fdbb5133703ee2b +MISC ChangeLog 2851 SHA256 4d5a3317fca0bbc5ade721b0e6c86efbec5926c8d12f6b4f503e23e78b50b16f SHA512 6828600bb63c10cf75a997a557b4cdf6c95eb8dc4ff09028da3c989c094fb22a23138b03b131e7c5b1c96d476f6310a2ff5bde309caac12728dd0c05b58e6f32 WHIRLPOOL 7bb23b074732576bb72845add68a9f3e8a97552b9ccb09d1de77c17b794fb31403570f173fd427a76c8024e7338f658f5fea7ac1eea22cce30ef48091f6480c4 +MISC ChangeLog-2015 9305 SHA256 21bef996dd2db290f57f3f126f32a63b32ce2e2f3891ed57e11e3260af34d567 SHA512 5cc32c1814abea9eed2baf07bd16df42e834744ef6d25f3a0774edbbc761b5f7fcbb9f21f0fc916c2881acb83dce6e070b77a4d58533aea9889c6b3a7df83121 WHIRLPOOL 4b376c209f682e580f739063860edfb7ab6b6d2c8f60687a1e9168c41ce1365dfc580d003d998be294066557a59b203b2900d20696435e6dfc75875b3f555e85 +MISC metadata.xml 1094 SHA256 64b98de3c532084991866f70cf3eda021408564aeaf5b89b1b1b9a017df459f2 SHA512 2116ed586b24da86206c4d38977c118bcf2381d455a3cd0fb9d672f8d709b5113fe4c8767e2d2f20f8c879a71f0e6bfb6384b9efe30cba82e177fa75dc4e0d6a WHIRLPOOL 1563aef8a791b4e6d0fbbaf1d63de8873eefea850a7f2cc9a2cbbb2c9c02758f5ec54e12380aef6701ac71cb206d2dca0c61f6a6333436926e97491edbc7129b 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..55e0722235c9 --- /dev/null +++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2013 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-proto/xproto )" + +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/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