public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/bircoph:master commit in: sys-libs/libhx/files/, sys-libs/libhx/
Date: Wed,  1 Jun 2016 15:45:45 +0000 (UTC)	[thread overview]
Message-ID: <1464795819.9e6ced4ee343caefb111ad7ad14d6fd2aeba98d3.bircoph@gentoo> (raw)

commit:     9e6ced4ee343caefb111ad7ad14d6fd2aeba98d3
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  1 15:43:39 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Jun  1 15:43:39 2016 +0000
URL:        https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=9e6ced4e

sys-libs/libhx: fix bug 584724

Disable lyx detection and pdf regeneration.
Bump to EAPI=6, add USE="doc"

 sys-libs/libhx/Manifest                      |  4 +++
 sys-libs/libhx/files/libhx-3.22-no-lyx.patch | 12 ++++++++
 sys-libs/libhx/libhx-3.22-r1.ebuild          | 41 ++++++++++++++++++++++++++++
 sys-libs/libhx/metadata.xml                  | 14 ++++++++++
 4 files changed, 71 insertions(+)

diff --git a/sys-libs/libhx/Manifest b/sys-libs/libhx/Manifest
new file mode 100644
index 0000000..da92e9a
--- /dev/null
+++ b/sys-libs/libhx/Manifest
@@ -0,0 +1,4 @@
+AUX libhx-3.22-no-lyx.patch 495 SHA256 5ed1f40c793f48b2b724dc96bda738e86ebd81c14e52174a43d78c717499a67a SHA512 f4299755b65c7e3b64937df81feed58851bfe7e4938c4b47cd94f818bb7d5c80eecac34b7e80b1c051b07490b3730cc74d6f38cd47a7c4321882a8715ff4b802 WHIRLPOOL 2b157b663014567a3c8be31a93fd319575819aea2287551840436a0473441d192e742ebe88ebaa0543bdd61b8254140c12693c6d901df2472fdba3badd32e5b4
+DIST libHX-3.22.tar.xz 875516 SHA256 cc2087a964a82d2e50e8161cf458481ededebb7021e4660410cf53248a4c83a3 SHA512 4a50b7171be9f60e1a1bfefb0641f74fa8879c0edb258533ee04ec89617802c48358dc244497fb18d02dc37f828f79f7c52dd5ce2a07d8a2f5e6e6f7b4e97646 WHIRLPOOL 36d582261bce3cf4f3306d49876e4f44811e0782aee8e1b01838aa5397589e227f315d1b5da27ff1a8e8f118322ab9064831ac49c7ae0e26acdec054e8bf07c4
+EBUILD libhx-3.22-r1.ebuild 713 SHA256 76fefb006dcce8d3f16d00312a981bf41537bf5a0854c86c896a5c0d867576d7 SHA512 381f0adde899046b88b2c5fca6391837f172b6ae4c50100b5a447c5ba69eeafbeb1f241568b4d38592721db4eaa038a78c4b8886432efdbb7d3910e3ab175671 WHIRLPOOL 3e2301bef6efdb82d9c15ced5ee78ec57c4bb9ce16fc6c7825939dd40c202072d0680341d6cb22e0deb6545d62f7484c275d6673a0950a98373840d79ff90d0d
+MISC metadata.xml 398 SHA256 f5ee614e4b17d366be8ada1f4f023f25c919fabf2d4e46af7eabfc84a1794f68 SHA512 74a2fb87430a3e105fcfdacdbd594f9f64710749760ec4b49f6c7c3fec64f59641c5204b72481d436ae8abd46438b27d04d392ce7d93be68613608909c772fd0 WHIRLPOOL 9d3cd1596b561223e636d6ae0b60ae2cf76dc59c73c901b04eddbc76715ee2341aa3214f1ca362f710c2e25d6ba96028d181df45921c1c6e4242fed289f77edd

diff --git a/sys-libs/libhx/files/libhx-3.22-no-lyx.patch b/sys-libs/libhx/files/libhx-3.22-no-lyx.patch
new file mode 100644
index 0000000..1c63d25
--- /dev/null
+++ b/sys-libs/libhx/files/libhx-3.22-no-lyx.patch
@@ -0,0 +1,12 @@
+--- libHX-3.22/configure.ac.orig	2014-08-25 19:16:37.000000000 +0400
++++ libHX-3.22/configure.ac	2016-06-01 11:09:42.287438190 +0300
+@@ -107,8 +107,7 @@
+ AC_CHECK_FUNCS([getegid geteuid getpid getppid])
+ AM_CONDITIONAL([B_PROC], [test "$b_proc" = 1])
+ 
+-AC_CHECK_PROGS([LYX], [lyx])
+-AM_CONDITIONAL([BUILD_DOCS], [test -n "$LYX"])
++AM_CONDITIONAL([BUILD_DOCS], [false])
+ 
+ regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT"
+ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \

diff --git a/sys-libs/libhx/libhx-3.22-r1.ebuild b/sys-libs/libhx/libhx-3.22-r1.ebuild
new file mode 100644
index 0000000..db64684
--- /dev/null
+++ b/sys-libs/libhx/libhx-3.22-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="Platform independent library providing basic system functions"
+HOMEPAGE="http://libhx.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/libHX-${PV}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+DEPEND="app-arch/xz-utils"
+RDEPEND=""
+
+S="${WORKDIR}/libHX-${PV}"
+
+PATCHES=( "${FILESDIR}/${P}-no-lyx.patch" )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_install() {
+	default
+
+	if use doc; then
+		dodoc doc/*.txt
+	else
+		dodoc doc/changelog.txt
+		rm "${D}/usr/share/doc/${PF}/"*.pdf || die
+	fi
+
+	prune_libtool_files --all
+}

diff --git a/sys-libs/libhx/metadata.xml b/sys-libs/libhx/metadata.xml
new file mode 100644
index 0000000..fc0ea30
--- /dev/null
+++ b/sys-libs/libhx/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="person">
+		<email>hanno@gentoo.org</email>
+	</maintainer>
+	<maintainer type="person">
+		<email>mattst88@gentoo.org</email>
+		<name>Matt Turner</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="sourceforge">libhx</remote-id>
+	</upstream>
+</pkgmetadata>


                 reply	other threads:[~2016-06-01 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464795819.9e6ced4ee343caefb111ad7ad14d6fd2aeba98d3.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox