summaryrefslogtreecommitdiff
path: root/app-editors/hexcurse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/hexcurse
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/hexcurse')
-rw-r--r--app-editors/hexcurse/Manifest11
-rw-r--r--app-editors/hexcurse/files/1.55-gcc.patch11
-rw-r--r--app-editors/hexcurse/files/1.55-tinfo.patch13
-rw-r--r--app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch7
-rw-r--r--app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch13
-rw-r--r--app-editors/hexcurse/hexcurse-1.55.ebuild31
-rw-r--r--app-editors/hexcurse/hexcurse-1.60.0.ebuild34
-rw-r--r--app-editors/hexcurse/metadata.xml14
8 files changed, 134 insertions, 0 deletions
diff --git a/app-editors/hexcurse/Manifest b/app-editors/hexcurse/Manifest
new file mode 100644
index 000000000000..b2ef32afcddd
--- /dev/null
+++ b/app-editors/hexcurse/Manifest
@@ -0,0 +1,11 @@
+AUX 1.55-gcc.patch 261 SHA256 fb3417d16494d2ac17ef2caa3f77faf1fd1083a1637feab1059de6cf99316f9e SHA512 ff9612dcc75e2e0aeb67c5170c97e2705a1447ffeade77457924f5b7c354b4f7a69f53c237d1674c39fab5c057c27b5b7fa3e0779ce2f19e0a128f0b0228023b WHIRLPOOL 662d5b3b027f962878f5f5ee451bcb805b226232d60f920d4ce282c56c7346c9ee9be9b54b21ddb92518873094fdb68686dc3669ac11aa722fbf72a8dc560c71
+AUX 1.55-tinfo.patch 339 SHA256 cb624f35d2142bea68ab1a3ecbb0b43fab9160d756f197e5683ad4e95e3c829d SHA512 267841535437a1e71ae94fbfbfa7e2250cba919ee8a1c7a19f861d667f9b4e2032ed1cc6ed5b6b6ad7093aa62425d16f99a56d7a3e0737a4dd9f87bf7564f5e1 WHIRLPOOL adb4a4acea418aa08f1f68a4c25421ffc00bdaac82ef2ddf40af85e0f433927d9b2d00be646c7eaa8d368c780c1f3d80235507a5fc4ce8c6aa845e6f02cbf8cf
+AUX hexcurse-1.60.0-Werror.patch 291 SHA256 490dfe65d363da5f472a795f439c27d6067f43d43b62c08d8d683cac7e397d96 SHA512 01d6a272b2fd0bd033e4157f2fd2c13e1a8ec6148534217f0d38fbac04ac402b0be919abddffba519afb4bec16dba951a9bdd998cf21aa4fcf8b81b0d6d2b6ff WHIRLPOOL 4a3f0b63bf9608bf3cf8daf7d1ce412a4ed1430ea87b095f8e9f033dbf5ad54709d89cc41c5ef87f0cae10209a1d187c4508931aa9a1b258f856547e943adac5
+AUX hexcurse-1.60.0-tinfo.patch 386 SHA256 835eb83c5484d1bd74baa01c44b4e92d0b4d4319455229337ab52b9b58851b58 SHA512 ce0c25842a874d631d75826f6b967fe0d0f53a435e6222eed1310caa884b570c1cf131c14e0be84fc7de728e37cdaee5b950ada527fd03ddba0dacf578e4fe42 WHIRLPOOL 8a2a28b5d192df52dcdd52ffd004cdf1b42eda80853dcd068e594690b65558c65a578c96cbfa63b4a369efc47f1183599b9cc81668e3283f59ab462ea1413d71
+DIST hexcurse-1.55.tar.gz 113512 SHA256 b8d589f80acfa590fddd60d9482cf6ba38b295bf785ae4e0aff37b5ab436cb16 SHA512 39f9eae0bb891bdfb702fb871b75c53d15acf6e74b3272b616f00303f444bfddced6fbe3041eb3769fa90fbc226dd584f5d84f7427b659e63f3b74511938a4a7 WHIRLPOOL ee8a5ac7db87db654db1486872687bd8c7dcea7b5376704522a16d58cc467a6ec5409dadacd2ddcb36fd30689268dec334f59cd5885a19b78e666a5ffb7befec
+DIST hexcurse-1.60.0.tar.gz 171904 SHA256 f6919e4a824ee354f003f0c42e4c4cef98a93aa7e3aa449caedd13f9a2db5530 SHA512 2301f10e9190922fc61cbbe3a834826ebf87bc5ece9191d368181e2336af240e68cbe46e3a60dee3e0e42281b2f05ae4a7060ee1083b37f4906eacc66e58a094 WHIRLPOOL 738961ef81afe56f36b3930e16b52f88fb98c5c8ffd026ec2d2dd155355365ec03996a023139400c0c22ccd902fbd4ab683237efee55198e6223515a405226e0
+EBUILD hexcurse-1.55.ebuild 693 SHA256 6b0bead8f54ab0548a48fc722746f4daba323e7a6f128e5cc4b232ba005b4691 SHA512 9562332838598832f3cad2132beb7cdb7b2f5f08cd5b4e0b7bf8213d9b27116d65f9d115a1b81d2860b24302033964c7fd744af509dc8e22b7ec2df427f17171 WHIRLPOOL 9b7d0521c5b65af3b112300e39f987db3839ed33b1e50c3bfd7fc492d64ff259eed5fcf865b64c500c48e254a25a1bf71050d0c08bc4d9bf51504273e73f8daf
+EBUILD hexcurse-1.60.0.ebuild 713 SHA256 f73f7897b8577dc8109a20543185a44f8a5f84281e7c35706cb0bdd4dedfd898 SHA512 98cc4f96741c84ca32b5b2bb7f9606b51d6f4e105672bb5cb0ddac18439baf8c96fe78c67203e96ead5d8352828a740018d73c258004a22be4f4de0d912b5bde WHIRLPOOL 230b11e54c5b69c93c2bc6f4b9e94e9f507299a78e788cfcef77a9871e186ae1cfed40e440bf3152ac0685af35c893b3aba8f773ea471ed7999de650f0491b61
+MISC ChangeLog 2479 SHA256 29c93ed059711fa5053aa398cfc0009ff807b536cf78f244b4d127c7d630b887 SHA512 502e222efc8c1a7f5bcccb09efd5a184204b56a5b8b5ec168f0e99e769864a3842be06639b3469c1bdca61a28319195465221104bebc7dbd2d711009f3dea239 WHIRLPOOL 5d2c86f5753ec6b44b396b5c91d0a2aaec4bff57aa981c6259c80e8d1f9a2b6e9c94d061a6da254aaae13e8f503760edea8b949bf2ed6ea8055ca00e13806e55
+MISC ChangeLog-2015 1615 SHA256 b3beeff2c66f5d60213e06403168a9128e9c36f1f7fd93565eb00d641e6a4e06 SHA512 d4db6d7188af12150d538583aff37ee75adadd3630b4c14f23c3fa907bc1d2f2d859f145017461f76cd8e5da4d939e62912adfc4273e4d19b2ea4d3ba373f3c6 WHIRLPOOL 0c5889350388ceff9a470ce01a451bfd1b6959efbedc1726d9c08f4596ce265406f4e5281243bfba1d70302dd48df0c15ada07aacb6a400b6b954c8d71fc39c7
+MISC metadata.xml 463 SHA256 705db79ef5ef1d04289ed715095cec4cbd9aafd7b4b8f38115182de7b719b7ce SHA512 571a214805d30efc4f0f8a83964938e175aa1cecdbf76c1153189315dca316b625507860ac86b14209ff116706e8beedbea7b66aa5714ffde264ca94a88270c1 WHIRLPOOL 61bf22985ea55ac34fcae0a46c33fae3f0955f1287278a1e9739a068e111f4794adbd563117d4a1b623949219a77238725db28e6e2996a965053cde52e4b251d
diff --git a/app-editors/hexcurse/files/1.55-gcc.patch b/app-editors/hexcurse/files/1.55-gcc.patch
new file mode 100644
index 000000000000..22b996b3437d
--- /dev/null
+++ b/app-editors/hexcurse/files/1.55-gcc.patch
@@ -0,0 +1,11 @@
+--- a/src/getopt.c
++++ b/src/getopt.c
+@@ -36,8 +36,6 @@
+ * enables hexcurse to be compiled with SGI's proprietary compiler */
+ #ifdef _SGIAPI
+ #include <alloca.h>
+-#else
+-char *alloca ();
+ #endif
+ #define __alloca alloca
+ /* end of modification */
diff --git a/app-editors/hexcurse/files/1.55-tinfo.patch b/app-editors/hexcurse/files/1.55-tinfo.patch
new file mode 100644
index 000000000000..f258c06f1cf7
--- /dev/null
+++ b/app-editors/hexcurse/files/1.55-tinfo.patch
@@ -0,0 +1,13 @@
+--- a/configure.in
++++ b/configure.in
+@@ -13,7 +13,9 @@
+
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lncurses:
+-AC_CHECK_LIB(ncurses, initscr,,AC_CHECK_LIB(curses, initscr))
++AC_CHECK_LIB(ncurses, initscr)
++AC_SEARCH_LIBS(initscr,curses)
++AC_SEARCH_LIBS(LINES,tinfo)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch b/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch
new file mode 100644
index 000000000000..457574f15ac1
--- /dev/null
+++ b/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch
@@ -0,0 +1,7 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,3 +1,3 @@
+ bin_PROGRAMS = hexcurse
+-AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror -Wextra
++AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Wextra
+ hexcurse_SOURCES = file.c llist.c screen.c hexcurse.c stack.c getopt.c acceptch.c color.c
diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
new file mode 100644
index 000000000000..1933a22bb044
--- /dev/null
+++ b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -15,7 +15,9 @@
+
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lncurses:
+-AC_CHECK_LIB(ncurses, initscr,,[AC_CHECK_LIB(curses, initscr,,[AC_MSG_ERROR([ncurses library not found])])])
++AC_CHECK_LIB(ncurses, initscr)
++AC_SEARCH_LIBS(initscr,curses)
++AC_SEARCH_LIBS(LINES,tinfo)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/app-editors/hexcurse/hexcurse-1.55.ebuild b/app-editors/hexcurse/hexcurse-1.55.ebuild
new file mode 100644
index 000000000000..6b743c0840b2
--- /dev/null
+++ b/app-editors/hexcurse/hexcurse-1.55.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="ncurses based hex editor"
+HOMEPAGE="http://www.jewfish.net/description.php?title=HexCurse"
+SRC_URI="http://www.jewfish.net/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ppc s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-gcc.patch \
+ "${FILESDIR}"/${PV}-tinfo.patch
+
+ eautoreconf
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "Install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-editors/hexcurse/hexcurse-1.60.0.ebuild b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
new file mode 100644
index 000000000000..656648c05e7b
--- /dev/null
+++ b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="ncurses based hex editor"
+HOMEPAGE="https://github.com/LonnyGomes/hexcurse"
+SRC_URI="https://github.com/LonnyGomes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+"
+DEPEND="
+ ${RDEPEND}
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.60.0-Werror.patch
+ "${FILESDIR}"/${PN}-1.60.0-tinfo.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-editors/hexcurse/metadata.xml b/app-editors/hexcurse/metadata.xml
new file mode 100644
index 000000000000..05c3859ddbaf
--- /dev/null
+++ b/app-editors/hexcurse/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <longdescription>
+ A console-based hex editor for the *NIX platform which uses the ncurses library.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">LonnyGomes/hexcurse</remote-id>
+ </upstream>
+</pkgmetadata>