public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: app-arch/libdeflate/
Date: Tue, 22 Jan 2019 11:56:47 +0000 (UTC)	[thread overview]
Message-ID: <1548158187.f7b7df2da789550f34d886c37a6b679b073cd68d.mmokrejs@gentoo> (raw)

commit:     f7b7df2da789550f34d886c37a6b679b073cd68d
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jan 22 11:56:27 2019 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jan 22 11:56:27 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f7b7df2d

app-arch/libdeflate: new package

Add highly CPU optimized implementation of deflate/zlib/gzip

The package is highly preferred due to its speed by:
sci-biology/io_lib-1.14.11
sci-libs/htslib-1.9
and maybe some more

 * Searching for libdeflate ...
 * Contents of app-arch/libdeflate-1.2:
/usr
/usr/bin
/usr/bin/libdeflate-gunzip
/usr/bin/libdeflate-gzip
/usr/include
/usr/include/libdeflate.h
/usr/lib
/usr/lib/libdeflate.so -> libdeflate.so.0
/usr/lib/libdeflate.so.0
/usr/share
/usr/share/doc
/usr/share/doc/libdeflate-1.2
/usr/share/doc/libdeflate-1.2/NEWS.bz2
/usr/share/doc/libdeflate-1.2/README.md.bz2

Seems the libdeflate-gunzip and libdeflate-gzip have statically
linked in /usr/lib/libdeflate.a (which is deleted but later
in src_install() unless USE=static-libs . Probably something to
inspected but more experienced devs.

I am not interested in maintaining this package in Gentoo
(I would be happy if somebody from other herds take this over).

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>

 app-arch/libdeflate/libdeflate-1.2.ebuild | 29 +++++++++++++++++++++++++++++
 app-arch/libdeflate/metadata.xml          | 12 ++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-arch/libdeflate/libdeflate-1.2.ebuild b/app-arch/libdeflate/libdeflate-1.2.ebuild
new file mode 100644
index 000000000..dd65e7aef
--- /dev/null
+++ b/app-arch/libdeflate/libdeflate-1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression"
+HOMEPAGE="https://github.com/ebiggers/libdeflate"
+SRC_URI="https://github.com/ebiggers/libdeflate/archive/v1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare(){
+	sed -e 's/ -O2 / /' -i Makefile || die
+	default
+}
+
+src_install() {
+	default
+	if ! use static-libs; then
+		find "${ED}" -name '*.a' -delete || die
+	fi
+}

diff --git a/app-arch/libdeflate/metadata.xml b/app-arch/libdeflate/metadata.xml
new file mode 100644
index 000000000..138cb7705
--- /dev/null
+++ b/app-arch/libdeflate/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mmokrejs@fold.natur.cuni.cz</email>
+		<name>Martin Mokrejs</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci-biology@gentoo.org</email>
+		<name>Gentoo Biology Project</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2019-01-22 11:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 11:56 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-01-22 12:54 [gentoo-commits] proj/sci:master commit in: app-arch/libdeflate/ Martin Mokrejs
2020-09-22  1:34 Aisha Tammy
2021-03-01 13:14 Aisha Tammy
2022-01-12 15:19 Aisha Tammy
2022-06-12  9:40 Andrew Ammerlaan
2024-03-08 16:35 Andrew Ammerlaan

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=1548158187.f7b7df2da789550f34d886c37a6b679b073cd68d.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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