parent
3a9e42e5c4
commit
452b19df05
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST Bastille-3.0.9.tar.bz2 319045 BLAKE2B 480288c6e9fc5462e8e6ca84665d5769aab4252813ff478ab0519d382e1f03994da008ac2818b1d4214a09607c7316711665bce154121b3029bace6f2822df09 SHA512 a97ab2c2bb64c655d43ddcfd4000cee8666787e5b5923390e3155b258c3a2cf7d131abd474f9b0dd415eb455b664ab26a875da6636268b2a715ea87dd4dae2f0
|
||||
DIST bastille-3.0.9-gentoo-0.2.patch.bz2 14117 BLAKE2B 9c4383eae9e27cc4e110553a21424cd2811172c32609b0d3bcc72ccc3f61ba7cd76bfdbee969de5a89c22d0c1dd91b9ba92ce27ea5ac2b7260e5c0e1ce424be5 SHA512 a4ecfc064d6cf8c12b6f53c81dea841931df270293b03c39266861121f3def28fcbc4127b3bc9374028983e584736fb85361443badaadec7441cfb1570bdea8f
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit perl-functions
|
||||
|
||||
PATCHVER=0.2
|
||||
MY_PN=${PN/b/B}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
DESCRIPTION="Bastille-Linux is a security hardening tool"
|
||||
HOMEPAGE="https://bastille-linux.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
|
||||
S="${WORKDIR}"/${MY_PN}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/logrotate
|
||||
dev-lang/perl
|
||||
dev-perl/Curses
|
||||
net-firewall/iptables
|
||||
net-firewall/psad
|
||||
virtual/logger
|
||||
X? ( dev-perl/Tk )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch
|
||||
# make sure the Perl modules go into vendor dir
|
||||
"${FILESDIR}/${P}-perl.patch"
|
||||
# prevent file collision, bug 536292
|
||||
"${FILESDIR}/${P}-renamewidgets.patch"
|
||||
# openrc runscript rename
|
||||
"${FILESDIR}/${P}-openrc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
perl_set_version
|
||||
|
||||
default
|
||||
|
||||
cd "${S}" || die
|
||||
chmod a+x Install.sh bastille-ipchains bastille-netfilter || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl_set_version
|
||||
export VENDOR_LIB
|
||||
|
||||
cd "${S}" || die
|
||||
DESTDIR="${D}" ./Install.sh || die
|
||||
|
||||
# Example configs
|
||||
cd "${S}" || die
|
||||
insinto /usr/share/Bastille
|
||||
doins *.config
|
||||
|
||||
newinitd ${PN}-firewall.gentoo-init ${PN}-firewall
|
||||
|
||||
# See bug #455542
|
||||
keepdir /var/lock/subsys
|
||||
keepdir /var/lock/bastille
|
||||
keepdir /var/lock/subsys/bastille
|
||||
|
||||
# Documentation
|
||||
cd "${S}" || die
|
||||
dodoc *.txt BUGS Change* README*
|
||||
cd "${S}"/docs || die
|
||||
doman *.1m
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please be aware that when using the Server Lax, Server Moderate, or"
|
||||
elog "Server Paranoia configurations, you may need to use InteractiveBastille"
|
||||
elog "to set any advanced network information, such as masquerading and"
|
||||
elog "internal interfaces, if you plan to use them."
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff -ruN Bastille.orig/bastille-firewall.gentoo-init Bastille/bastille-firewall.gentoo-init
|
||||
--- Bastille.orig/bastille-firewall.gentoo-init 2017-01-02 09:47:33.144433650 +0100
|
||||
+++ Bastille/bastille-firewall.gentoo-init 2017-01-02 09:49:05.396431757 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
-#!/sbin/runscript
|
||||
+#!/sbin/openrc-run
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
-# Distributed under the terms of the GNU General Public License v2
|
||||
+# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bastille/files/bastille-3.0.2-firewall.init,v 1.1 2005/07/31 05:21:10 battousai Exp $
|
||||
|
||||
opts="start stop"
|
@ -1,25 +0,0 @@
|
||||
diff -ruN Bastille-gentoo-2/Install.sh Bastille/Install.sh
|
||||
--- Bastille-gentoo-2/Install.sh 2014-12-09 23:05:55.674808824 +0100
|
||||
+++ Bastille/Install.sh 2014-12-09 23:17:25.907847419 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
umask 077
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/sbin
|
||||
-mkdir -p ${DESTDIR}/usr/lib/perl5/site_perl/Curses
|
||||
+mkdir -p ${DESTDIR}/${VENDOR_LIB}/Curses
|
||||
mkdir -p ${DESTDIR}/usr/lib/Bastille
|
||||
mkdir -p ${DESTDIR}/usr/share/Bastille
|
||||
mkdir -p ${DESTDIR}/usr/share/Bastille/OSMap
|
||||
@@ -13,9 +13,9 @@
|
||||
|
||||
cp AutomatedBastille ${DESTDIR}/usr/sbin/
|
||||
cp BastilleBackEnd ${DESTDIR}/usr/sbin
|
||||
-cp Bastille_Curses.pm ${DESTDIR}/usr/lib/perl5/site_perl
|
||||
-cp Bastille_Tk.pm ${DESTDIR}/usr/lib/perl5/site_perl
|
||||
-cp Curses/Widgets.pm ${DESTDIR}/usr/lib/perl5/site_perl/Curses
|
||||
+cp Bastille_Curses.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
+cp Bastille_Tk.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
+cp Curses/Widgets.pm ${DESTDIR}/${VENDOR_LIB}/Curses
|
||||
cp InteractiveBastille ${DESTDIR}/usr/sbin
|
||||
# Questions.txt has been replaced by Modules.txt and Questions/
|
||||
#cp Questions.txt ${DESTDIR}/usr/share/Bastille
|
@ -1,48 +0,0 @@
|
||||
diff -ruN Bastille.orig/AutomatedBastille Bastille/AutomatedBastille
|
||||
--- Bastille.orig/AutomatedBastille 2017-01-02 09:39:20.720443755 +0100
|
||||
+++ Bastille/AutomatedBastille 2017-01-02 09:40:54.293441835 +0100
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
# Use the Curses interface
|
||||
use Curses;
|
||||
-use Curses::Widgets;
|
||||
+use Curses::Widgets_Bastille;
|
||||
|
||||
# Hardcoded List of configurations -- to be replaced by list read from file
|
||||
@list = ("WorkstationLax","WorkstationModerate","WorkstationParanoia","ServerLax","ServerModerate","ServerParanoia","Quit");
|
||||
diff -ruN Bastille.orig/Bastille_Curses.pm Bastille/Bastille_Curses.pm
|
||||
--- Bastille.orig/Bastille_Curses.pm 2005-04-18 14:32:10.000000000 +0200
|
||||
+++ Bastille/Bastille_Curses.pm 2017-01-02 09:41:24.470441216 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
sub do_Bastille {
|
||||
|
||||
use Curses;
|
||||
- use Curses::Widgets;
|
||||
+ use Curses::Widgets_Bastille;
|
||||
|
||||
# Number_Modules is the number of modules loaded in by Load_Questions
|
||||
$Number_Modules=0;
|
||||
diff -ruN Bastille.orig/Curses/Widgets.pm Bastille/Curses/Widgets.pm
|
||||
--- Bastille.orig/Curses/Widgets.pm 2005-04-06 01:18:11.000000000 +0200
|
||||
+++ Bastille/Curses/Widgets.pm 2017-01-02 09:42:31.145439848 +0100
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
-package Curses::Widgets;
|
||||
+package Curses::Widgets_Bastille;
|
||||
|
||||
use strict;
|
||||
use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION);
|
||||
diff -ruN Bastille.orig/Install.sh Bastille/Install.sh
|
||||
--- Bastille.orig/Install.sh 2017-01-02 09:39:20.767443754 +0100
|
||||
+++ Bastille/Install.sh 2017-01-02 09:41:05.537441604 +0100
|
||||
@@ -15,7 +15,7 @@
|
||||
cp BastilleBackEnd ${DESTDIR}/usr/sbin
|
||||
cp Bastille_Curses.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
cp Bastille_Tk.pm ${DESTDIR}/${VENDOR_LIB}
|
||||
-cp Curses/Widgets.pm ${DESTDIR}/${VENDOR_LIB}/Curses
|
||||
+cp Curses/Widgets.pm ${DESTDIR}/${VENDOR_LIB}/Curses/Widgets_Bastille.pm
|
||||
cp InteractiveBastille ${DESTDIR}/usr/sbin
|
||||
# Questions.txt has been replaced by Modules.txt and Questions/
|
||||
#cp Questions.txt ${DESTDIR}/usr/share/Bastille
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>hardened@gentoo.org</email>
|
||||
<name>Gentoo Hardened</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">bastille-linux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="GnuPG archive keys of the Debian archive"
|
||||
HOMEPAGE="https://packages.debian.org/sid/debian-archive-keyring"
|
||||
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}_all.deb"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
doins -r .
|
||||
|
||||
# https://bugs.gentoo.org/729142
|
||||
gunzip "${D}"/usr/share/doc/${PN}/changelog.gz || die
|
||||
|
||||
mv "${D}"/usr/share/doc/{${PN},${PF}} || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST gcalcli-4.2.0.tar.gz 1701050 BLAKE2B a0e310097cdb740ac873049d19d21dc8698afe61c919fd082258864e7170f5ca42a55b4eb211cfa9ecd9b2bef63f3e107839a4e3cad9ec2c278a8529f58ac33c SHA512 2dd39a62e3fd81753f30b77be196476ef366cb6914e62c5de82ab946b7159751a5cbf246aa54eaed1fb6adfef7dbba785d10e29571a454b627b7ff45b52375d6
|
||||
DIST gcalcli-4.3.0.gh.tar.gz 1702967 BLAKE2B 04623e2140769a56c28a03e315f8ef1e9fe51571f2e46d2529e1fca062c85de251c6adc631057df228494d449b93564e9fe71998f8702ed87dbc5ec5e7803bbd SHA512 ea8680be5351d7b18206ea7b010d49a8c87cbafc9d754cf7f47587a09228c45b29f76d29644770a881cb7c750a1e0e59262b7875eca77aee5bc2476e456b807e
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PV="4.2.0"
|
||||
DESCRIPTION="Google Calendar Command Line Interface"
|
||||
HOMEPAGE="https://github.com/insanum/gcalcli"
|
||||
SRC_URI="https://github.com/insanum/gcalcli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/gcalcli-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/parsedatetime[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-gflags[${PYTHON_USEDEP}]
|
||||
dev-python/vobject[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
dodoc -r ChangeLog README.md docs
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google Calendar Command Line Interface"
|
||||
HOMEPAGE="https://github.com/insanum/gcalcli"
|
||||
SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/parsedatetime[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-gflags[${PYTHON_USEDEP}]
|
||||
dev-python/vobject[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
dodoc -r ChangeLog README.md docs
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
<name>Robin H. Johnson</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">insanum/gcalcli</remote-id>
|
||||
<remote-id type="pypi">gcalcli</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST goobook-3.5.1.tar.gz 38176 BLAKE2B 99a068256ca83e800a2d2e82c88adba85797107dc72edde9fbb3c9790ef38fff627b4db64c21baff14aa8a4c69788c29aeb01dae60533c7f389352aee9401e9c SHA512 58d056d7d76843bc874e55424912bb00068541e674b780511b7753da31f2df9514baa188017dd0a7479b5527cd50c47e35f37afc493bdc973e0eb1624998a611
|
@ -1,105 +0,0 @@
|
||||
From 391c081199f9cba5026460fbffba43c03602fa13 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Baier <jbaier@suse.cz>
|
||||
Date: Mon, 22 Mar 2021 15:04:38 +0100
|
||||
Subject: [PATCH] Switch from xdg to pyxdg
|
||||
|
||||
As both of them provides the xdg and cannot be installed at the same
|
||||
time, pyxdg should be used as it is older, has more features (xdg is a
|
||||
subset of pyxdg) and is more used. This change should resolve conflicts
|
||||
like https://github.com/srstevenson/xdg/issues/35
|
||||
|
||||
Fixes #96
|
||||
---
|
||||
CHANGES.rst | 6 ++++++
|
||||
Pipfile | 2 +-
|
||||
goobook/config.py | 16 ++++++++--------
|
||||
setup.py | 4 ++--
|
||||
4 files changed, 17 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/goobook/config.py b/goobook/config.py
|
||||
index c948469..05589b1 100644
|
||||
--- a/goobook/config.py
|
||||
+++ b/goobook/config.py
|
||||
@@ -10,7 +10,7 @@ import configparser
|
||||
import logging
|
||||
|
||||
import oauth2client.client
|
||||
-import xdg
|
||||
+from xdg import BaseDirectory
|
||||
|
||||
from goobook.storage import Storage
|
||||
|
||||
@@ -61,8 +61,8 @@ def read_config(config_file=None):
|
||||
if config_file: # config file explicitly given on the commandline
|
||||
config_file = os.path.expanduser(config_file)
|
||||
else: # search for goobookrc in XDG dirs and homedir
|
||||
- config_files = [dir_ / "goobookrc" for dir_ in [xdg.XDG_CONFIG_HOME] +
|
||||
- xdg.XDG_CONFIG_DIRS] + [LEGACY_CONFIG_FILE]
|
||||
+ config_files = [dir_ / "goobookrc" for dir_ in [pathlib.Path(BaseDirectory.xdg_config_home)] +
|
||||
+ [pathlib.Path(p) for p in BaseDirectory.xdg_config_dirs]] + [LEGACY_CONFIG_FILE]
|
||||
log.debug("config file search path: %s", config_files)
|
||||
for config_file_ in config_files:
|
||||
if config_file_.exists():
|
||||
@@ -93,7 +93,7 @@ def read_config(config_file=None):
|
||||
if config.cache_filename: # If explicitly specified in config file
|
||||
config.cache_filename = realpath(expanduser(config.cache_filename))
|
||||
else: # search for goobook_cache in XDG dirs and homedir
|
||||
- cache_files = [xdg.XDG_CACHE_HOME / "goobook_cache", LEGACY_CACHE_FILE]
|
||||
+ cache_files = [pathlib.Path(BaseDirectory.xdg_cache_home) / "goobook_cache", LEGACY_CACHE_FILE]
|
||||
log.debug("cache file search path: %s", cache_files)
|
||||
for cache_file in cache_files:
|
||||
cache_file = cache_file.resolve()
|
||||
@@ -101,7 +101,7 @@ def read_config(config_file=None):
|
||||
log.debug("found cache file: %s", cache_file)
|
||||
break
|
||||
else: # If there is none, create in XDG_CACHE_HOME
|
||||
- cache_file = xdg.XDG_CACHE_HOME / "goobook_cache"
|
||||
+ cache_file = pathlib.Path(BaseDirectory.xdg_cache_home) / "goobook_cache"
|
||||
log.debug("no cache file found, will use %s", cache_file)
|
||||
config.cache_filename = str(cache_file)
|
||||
|
||||
@@ -110,8 +110,8 @@ def read_config(config_file=None):
|
||||
config.oauth_db_filename = realpath(expanduser(config.oauth_db_filename))
|
||||
auth_file = pathlib.Path(config.oauth_db_filename)
|
||||
else: # search for goobook_auth.json in XDG dirs and homedir
|
||||
- auth_files = [dir_ / "goobook_auth.json" for dir_ in [xdg.XDG_DATA_HOME] +
|
||||
- xdg.XDG_DATA_DIRS] + [LEGACY_AUTH_FILE]
|
||||
+ auth_files = [dir_ / "goobook_auth.json" for dir_ in [pathlib.Path(BaseDirectory.xdg_data_home)] +
|
||||
+ [pathlib.Path(p) for p in BaseDirectory.xdg_data_dirs]] + [LEGACY_AUTH_FILE]
|
||||
log.debug("auth file search path: %s", auth_files)
|
||||
for auth_file in auth_files:
|
||||
auth_file = auth_file.resolve()
|
||||
@@ -119,7 +119,7 @@ def read_config(config_file=None):
|
||||
log.debug("found auth file: %s", auth_file)
|
||||
break
|
||||
else: # If there is none, create in XDG_DATA_HOME
|
||||
- auth_file = xdg.XDG_DATA_HOME / "goobook_auth.json"
|
||||
+ auth_file = pathlib.Path(BaseDirectory.xdg_data_home) / "goobook_auth.json"
|
||||
log.debug("no auth file found, will use %s", auth_file)
|
||||
config.oauth_db_filename = str(auth_file)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index e2bed5c..4a6c764 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -12,7 +12,7 @@ NEWS = open(os.path.join(HERE, 'CHANGES.rst')).read()
|
||||
|
||||
setuptools.setup(
|
||||
name='goobook',
|
||||
- version='3.5.1',
|
||||
+ version='3.6',
|
||||
description='Search your google contacts from the command-line or mutt.',
|
||||
long_description=README + '\n\n' + NEWS,
|
||||
long_description_content_type="text/x-rst",
|
||||
@@ -39,7 +39,7 @@ setuptools.setup(
|
||||
'google-api-python-client>=1.7.12',
|
||||
'simplejson>=3.16.0',
|
||||
'oauth2client>=1.5.0,<5.0.0dev',
|
||||
- 'xdg>=4.0.1'
|
||||
+ 'pyxdg>=0.26'
|
||||
],
|
||||
extras_require={
|
||||
},
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
inherit distutils-r1 readme.gentoo-r1 pypi
|
||||
|
||||
DESCRIPTION="Access your Google contacts from the command line"
|
||||
HOMEPAGE="https://gitlab.com/goobook/goobook"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/google-api-python-client-1.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oauth2client-5[${PYTHON_USEDEP}]
|
||||
dev-python/pyxdg[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
# https://gitlab.com/goobook/goobook/-/merge_requests/13
|
||||
"${FILESDIR}"/${P}-pyxdg.patch
|
||||
)
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
To setup initial authentication, execute:
|
||||
|
||||
~ $ goobook authenticate
|
||||
|
||||
If you want to use goobook from mutt, add this in your .muttrc file:
|
||||
set query_command=\"goobook query '%s'\"
|
||||
to query address book.
|
||||
|
||||
You may find more information and advanced configuration tips at
|
||||
https://pypi.org/project/${PN}/${PV} in \"Configure/Mutt\" section"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<name>Kalin KOZHUHAROV</name>
|
||||
<email>kalin@thinrope.net</email>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">goobook</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST tracker-miners-3.4.3.tar.xz 7244744 BLAKE2B e018e8e80c5b87eda7ef50b00fe87b4d555806a1d630c147dd4c5a11bdf7140c28f68ef0724ec281f11acd5b63d9857eae8d23e51ed5607136c90d783c7a205b SHA512 b7287bd14be9c14be582109b660166b38c515199b809503a7b06e411f4cc1e0c1f59ce95ab70e1b404d7440b7f23312f1150a4e033e38cabfc0f396e3c1edc3c
|
||||
DIST tracker-miners-3.5.0.rc.tar.xz 7503452 BLAKE2B 769c7a28deeb1e8698bde22918b0b24c68c11aca2d690297ec55d891b6fcb978640fa50c5558b8f0a38e437ca9d5b893fb49f50d30c12acea207d2bdf6393ca6 SHA512 43285cdd0d43c19934995dcd1479dc7cd596eaa2e3e6be010c8789acac9f0bdec2930bec60d78ee551024f4cdb3789233e9e275eaec9157aa922f3f5d272db54
|
||||
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg
|
||||
|
||||
DESCRIPTION="Collection of data extractors for Tracker/Nepomuk"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||
SRC_URI="https://download.gnome.org/sources/${PN}/3.5/${PN}-3.5.0.rc.tar.xz"
|
||||
S="${WORKDIR}/${PN}-3.5.0.rc"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="3"
|
||||
IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps"
|
||||
|
||||
REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred)
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.70:2
|
||||
>=app-misc/tracker-3.4.0:3
|
||||
|
||||
>=sys-apps/dbus-1.3.1
|
||||
xmp? ( >=media-libs/exempi-2.1.0:= )
|
||||
raw? ( media-libs/gexiv2 )
|
||||
cue? ( media-libs/libcue:= )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24:= )
|
||||
xps? ( app-text/libgxps )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
jpeg? ( media-libs/libjpeg-turbo:0= )
|
||||
iso? ( >=sys-libs/libosinfo-1.10.0-r1 )
|
||||
>=media-libs/libpng-1.2:0=
|
||||
seccomp? ( >=sys-libs/libseccomp-2.0 )
|
||||
tiff? ( media-libs/tiff:= )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
pdf? ( >=app-text/poppler-0.16.0:=[cairo] )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3:= )
|
||||
sys-apps/util-linux
|
||||
|
||||
gif? ( media-libs/giflib:= )
|
||||
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
|
||||
rss? ( >=net-libs/libgrss-0.7:0 )
|
||||
app-arch/gzip
|
||||
|
||||
upower? ( >=sys-power/upower-0.9.0:= )
|
||||
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-1.20:1.0
|
||||
>=media-libs/gst-plugins-base-1.20:1.0
|
||||
>=media-plugins/gst-plugins-meta-1.20:1.0 )
|
||||
!gstreamer? (
|
||||
ffmpeg? ( media-video/ffmpeg:0= ) )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
dev-util/glib-utils
|
||||
dev-util/gdbus-codegen
|
||||
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
|| (
|
||||
media-plugins/gst-plugins-libav:1.0
|
||||
media-plugins/gst-plugins-openh264:1.0
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/3.4.2-functional-tests-Run-png-region-of-interest-only-if-.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b \
|
||||
"dev-python/pygobject[${PYTHON_USEDEP}]" \
|
||||
"dev-python/tappy[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that
|
||||
if use gstreamer; then
|
||||
sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die
|
||||
else
|
||||
sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die
|
||||
fi
|
||||
gnome2_environment_reset # sets gstreamer safety variables
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
local media_extractor="none"
|
||||
if use gstreamer ; then
|
||||
media_extractor="gstreamer"
|
||||
elif use ffmpeg ; then
|
||||
media_extractor="libav"
|
||||
fi
|
||||
|
||||
local emesonargs=(
|
||||
-Dtracker_core=system
|
||||
|
||||
-Dman=true
|
||||
-Dextract=true
|
||||
$(meson_use test functional_tests)
|
||||
$(meson_use test tests_tap_protocol)
|
||||
-Dminer_fs=true
|
||||
$(meson_use rss miner_rss)
|
||||
-Dwriteback=true
|
||||
-Dabiword=true
|
||||
-Dicon=true
|
||||
-Dmp3=true
|
||||
-Dps=true
|
||||
-Dtext=true
|
||||
-Dunzip_ps_gz_files=true # spawns gunzip
|
||||
|
||||
$(meson_feature networkmanager network_manager)
|
||||
$(meson_feature cue)
|
||||
$(meson_feature exif)
|
||||
$(meson_feature gif)
|
||||
$(meson_feature gsf)
|
||||
$(meson_feature iptc)
|
||||
$(meson_feature iso)
|
||||
$(meson_feature jpeg)
|
||||
$(meson_feature pdf)
|
||||
$(meson_feature playlist)
|
||||
-Dpng=enabled
|
||||
$(meson_feature raw)
|
||||
$(meson_feature tiff)
|
||||
$(meson_feature xml)
|
||||
$(meson_feature xmp)
|
||||
$(meson_feature xps)
|
||||
|
||||
-Dbattery_detection=$(usex upower upower none)
|
||||
-Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
|
||||
-Dgeneric_media_extractor=${media_extractor}
|
||||
# gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default
|
||||
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST tracker-3.4.2.tar.xz 1865236 BLAKE2B 31cdb33de38d9251fc60a71b31c539e3f045748fb5dc160656dd5187dce109da858bad5390864cda8b63466a5113e0a193e0799b662ec250a31cfdff79467e6e SHA512 2214bce7cdbaf1039b11986cf101f615337bbc450331ee703edcfd7ad62dee6e1db831c2c89bf341663cadcdaae6ee9e5a15f49a8087acaafd58b389292ef480
|
||||
DIST tracker-3.5.0.rc.tar.xz 1330772 BLAKE2B 27f6b942bb7a26266ede88466cbc1671779d49fa95278b2949d6338f6f976aa83aa15ef79c61f30a3c61b0304aee0ae125253185904794ba566b18397b868988 SHA512 cdbf903900a66ce0115e94193834d800a94d7dc7ff023125a8c1da9bf8d743829633bbe6af748bf0535071e492bd249b37e937527a3039143376511a320ddf44
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker https://gitlab.gnome.org/GNOME/tracker"
|
||||
SRC_URI="https://download.gnome.org/sources/${PN}/3.5/${PN}-3.5.0.rc.tar.xz"
|
||||
S="${WORKDIR}/${PN}-3.5.0.rc"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="3/0" # libtracker-sparql-3.0 soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="gtk-doc +miners stemmer test vala"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PV_SERIES=$(ver_cut 1-2)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.52:2
|
||||
>=sys-apps/dbus-1.3.2
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
>=dev-libs/icu-4.8.1.2:=
|
||||
>=dev-libs/json-glib-1.4
|
||||
>=net-libs/libsoup-2.99.2:3.0
|
||||
>=dev-libs/libxml2-2.7
|
||||
>=dev-db/sqlite-3.29.0:3
|
||||
stemmer? ( dev-libs/snowball-stemmer:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
$(vala_depend)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b \
|
||||
"dev-python/pygobject[${PYTHON_USEDEP}]" \
|
||||
"dev-python/tappy[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="INOTIFY_USER"
|
||||
linux-info_pkg_setup
|
||||
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc docs)
|
||||
-Dman=true
|
||||
$(meson_feature stemmer)
|
||||
-Dunicode_support=icu
|
||||
-Dbash_completion_dir="$(get_bashcompdir)"
|
||||
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_use test tests)
|
||||
-Dintrospection=enabled
|
||||
$(meson_feature vala vapi)
|
||||
-Dsoup=soup3
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/Tracker-3.0 "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST evince-43.1.tar.xz 2909512 BLAKE2B 1695320814aca28df17e5bbe6f4000b0191b9b600895c529d4ccd5628335fc4dd4fa788ddfe54c06fe37da12705add93f7df99a8c0dfb1060b8fd497aabae596 SHA512 c12d7b6e961a74c8e31b604f232483576289ba9e5a37faa766f4e5aaa95bdcbf37cf98c1d28de45ad1728452b0a2408fe4fe245dc76289a21e7664c96237d09f
|
||||
DIST evince-44.0.tar.xz 2918888 BLAKE2B 7994157ea2fdaadbb9e217441154af67f051f2d475a632cad0521179c7cd46e5b52f9818c2e7742d29f0d79d29dc8b735896877fe0aa8d4eecf3a2c787273e68 SHA512 1ff4e5a30e8b0c834dfa26294a6b6a4ec9fb2e3b5ecf040cc175423ebe4660a4c238bc21bf761e5dcda2b8c3888bddf6cae4cff3437ec20b9477f2106b5ba8da
|
||||
DIST evince-44.rc.tar.xz 2916416 BLAKE2B 75e2151100643aa786c3c37b77e0b9aebe0daa9942a7d9d220298cb5222e743b3d983deab01ca228a271bdf5b8665c7f4d3e6a7ac3a40e3c699aed6d26307b96 SHA512 a6e7efb79a9317604f1f5646af692693105d974b56dc23fe7248588215066b314bd464cbd454608610dd3514364e2a1c0ca4747b1e4804dc63746344857e1806
|
||||
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org gnome2-utils meson systemd xdg
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus postscript spell tiff xps"
|
||||
REQUIRED_USE="gtk-doc? ( introspection )"
|
||||
|
||||
# atk used in libview
|
||||
# bundles unarr
|
||||
DEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=dev-libs/glib-2.44.0:2
|
||||
>=gui-libs/libhandy-1.5.0:1
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
>=x11-libs/gdk-pixbuf-2.40:2
|
||||
>=x11-libs/gtk+-3.22.0:3[cups?,introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10
|
||||
>=app-text/poppler-22.02.0:=[cairo]
|
||||
>=app-arch/libarchive-3.6.0:=
|
||||
djvu? ( >=app-text/djvu-3.5.22:= )
|
||||
dvi? (
|
||||
>=app-text/libspectre-0.2:=
|
||||
dev-libs/kpathsea:=
|
||||
)
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0 )
|
||||
gnome? ( gnome-base/gnome-desktop:3= )
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
nautilus? ( >=gnome-base/nautilus-3.28.0 <gnome-base/nautilus-42.20 )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
spell? ( >=app-text/gspell-1.6.0:= )
|
||||
tiff? ( >=media-libs/tiff-4.0:= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gvfs
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
gtk-doc? (
|
||||
>=dev-util/gi-docgen-2021.1
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
)
|
||||
dev-libs/appstream-glib
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
# https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7
|
||||
sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddevelopment=false
|
||||
-Dplatform=gnome
|
||||
|
||||
-Dviewer=true
|
||||
-Dpreviewer=true
|
||||
-Dthumbnailer=true
|
||||
$(meson_use nautilus)
|
||||
|
||||
-Dcomics=enabled
|
||||
$(meson_feature djvu)
|
||||
$(meson_feature dvi)
|
||||
-Dpdf=enabled
|
||||
$(meson_feature postscript ps)
|
||||
$(meson_feature tiff)
|
||||
$(meson_feature xps)
|
||||
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Duser_doc=true
|
||||
$(meson_use introspection)
|
||||
-Ddbus=true
|
||||
$(meson_feature gnome-keyring keyring)
|
||||
$(meson_feature cups gtk_unix_print)
|
||||
$(meson_feature gnome thumbnail_cache)
|
||||
$(meson_feature gstreamer multimedia)
|
||||
$(meson_feature spell gspell)
|
||||
|
||||
-Dinternal_synctex=true
|
||||
|
||||
-Dsystemduserunitdir="$(systemd_get_userunitdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/{libevdocument,libevview} "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST iconv-1.0.10.tar.gz 121594 BLAKE2B 407a6cbe51aa50c561c577bf447dbc781c22bdc4ea20cacdcd2772e3cd7d262a1577381985ddafeb6fb48be94b35070de025b5d2301dbb4a3b9b9c0defd6a4be SHA512 c0537db617b83184111ce6f3be2e381c4a9f6a96d4887a2cf5bde3b275974411fb997f4a2f6a9c2b25c8e783e26af92b531788e9354be413d1837dd0482d41ef
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Fast encoding conversion library for Erlang and Elixir"
|
||||
HOMEPAGE="https://github.com/processone/iconv"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-erlang/p1_utils-1.0.13
|
||||
>=dev-lang/erlang-17.1
|
||||
virtual/libiconv"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">processone/iconv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST p1_xmlrpc-1.15.1.tar.gz 21132 BLAKE2B 95dee53a46c2584dec6356bbeed75af9700194b63b02ec4452dbec20e070f457db23d70cde8a2999cf76a83e0c25c7d5de62ddf6febe874ea836fffed2d4661e SHA512 42d4ad71899f1c460a97a8c24b96673fcd597c6cd3881acb69f703a832729d78217e1bd401f659eccc2a2b2d235e68d0b0ce2543923c8cc675a3793df0291c90
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">processone/p1_xmlrpc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Erlang XMLRPC implementation with SSL, cookies, authentication"
|
||||
HOMEPAGE="https://github.com/processone/p1_xmlrpc"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
@ -1 +0,0 @@
|
||||
DIST riak_pb-2.2.0.2.tar.gz 237485 BLAKE2B 5ca10bffcdf68562c9d61ffde0480be134a7b09f9040001bff2cdcf12e87c7256021829ab8c467a73cfd16c3e7e7c48229400d32b2e9f5442b05888de537c8be SHA512 f730d7bedc8152e5764c82df38a594e0113df7ab729008ecb9a231ea36d590e2240d7a5d0d3f57a6856b41748d5a525e0ab195887265d7cf5ab95563a6216992
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">basho/riak_pb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Riak Protocol Buffers messages"
|
||||
HOMEPAGE="https://github.com/basho/riak_pb"
|
||||
SRC_URI="https://github.com/basho/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-erlang/protobuffs-0.9.0
|
||||
>=dev-erlang/hamcrest-0.1.0_p20160709
|
||||
>=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md RELNOTES.md )
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST commons-text-1.10.0-src.tar.gz 342224 BLAKE2B efed282c9fed7dae5766f7158136a4d7414ba0610e16a52fa2d12ee04e43960d47ec7c62f220c2ab881a13afa8a81cf85e453364e37c67550e15c314122ebf25 SHA512 6bf2dc7dda4429cb1b9ba3a4d383c1d9ffabd5ff35a0adc55216e7cf4c532e51b2b012c9b0f3ea859cd32aef75e05547d892301f34f304a0bfd27c39a28fe04f
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache//commons/text/source/commons-text-1.10.0-src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-text-1.10.0.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.commons:commons-text:1.10.0"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Apache Commons Text is a library focused on algorithms working on strings"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-text/"
|
||||
SRC_URI="mirror://apache//commons/text/source/commons-text-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6
|
||||
|
||||
CDEPEND="
|
||||
dev-java/commons-lang:3.6
|
||||
"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: pom.xml
|
||||
# test? commons-io:commons-io:2.11.0 -> >=dev-java/commons-io-2.11.0:1
|
||||
# test? org.apache.commons:commons-rng-simple:1.4 -> !!!artifactId-not-found!!!
|
||||
# test? org.assertj:assertj-core:3.23.1 -> !!!suitable-mavenVersion-not-found!!!
|
||||
# test? org.graalvm.js:js:22.0.0.2 -> !!!groupId-not-found!!!
|
||||
# test? org.graalvm.js:js-scriptengine:22.0.0.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter:5.9.1 -> !!!groupId-not-found!!!
|
||||
# test? org.mockito:mockito-inline:4.8.0 -> !!!artifactId-not-found!!!
|
||||
# test? org.openjdk.jmh:jmh-core:1.35 -> >=dev-java/jmh-core-1.35:0
|
||||
# test? org.openjdk.jmh:jmh-generator-annprocess:1.35 -> !!!artifactId-not-found!!!
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CDEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CDEPEND}"
|
||||
|
||||
DOCS=( CONTRIBUTING.md NOTICE.txt README.md RELEASE-NOTES.txt )
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.text"
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="commons-lang-3.6"
|
||||
JAVA_SRC_DIR="src/main/java"
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
DIST core-specs-alpha-0.1.24.tar.gz 9896 BLAKE2B cb06053d2aa77b4bbd58b612fb0f80137833e156a5136e4f53f6123d158bdbe676e9bacdfe76728b1320986589e8242c52f49a4d8922bda5374e34fe52969ddc SHA512 6ddf20bf9be36f7493104f69f4e9402fc62f49005471a967843c7cfee898c67aaf5046886db73e6b54942538beed9556d83f4582e85fd02ef4cb755cb5a18d34
|
||||
DIST core-specs-alpha-0.2.44.tar.gz 10163 BLAKE2B c81ebb08779c3db137363ffb12bc7e26d29cd67323c98430a033f639714da83bf8c9d14146c12d925094e057d3735d100e33656e9571a0a4c107dc9fb56359e9 SHA512 1a59b947c580e45a280b25d5827a174565e066dde577685ca86aa1bbd9767716991cefb8a944c7ded0f84a71f9902f7fcdb5baacc7e19180096d599a51083048
|
||||
DIST core-specs-alpha-0.2.56.tar.gz 11780 BLAKE2B 088d0b32dea7ec49ddaf0f461703762a5a877ff4028b775eb35998e6a5a3436ad57b35d7d9431b6911ca2304403e95043d375bac80080ecaf6144a77b3ebcf4c SHA512 afbfc04b9708a21ae6c6b29b8653fc62b23efcb271b973534c4b8421a7d73df3ad24bd28d7115a2fe926954dc45571de86971637736f3a494799f6f1ba1765c8
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="43815fc"
|
||||
|
||||
MY_PN=${PN//-/.}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library with specs to describe Clojure core macros and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/core.specs.alpha"
|
||||
SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.1"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}"
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
dodoc CONTRIBUTING.md README.md
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="d69f559"
|
||||
|
||||
MY_PN=${PN//-/.}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library with specs to describe Clojure core macros and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/core.specs.alpha"
|
||||
SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.2"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}"
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
dodoc CONTRIBUTING.md README.md
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="053d789"
|
||||
|
||||
MY_PN=core.specs.alpha
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library with specs to describe Clojure core macros and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/core.specs.alpha"
|
||||
SRC_URI="https://github.com/clojure/core.specs.alpha/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.2"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
dev-java/ant-core:0
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}"
|
||||
|
||||
DOCS=( CONTRIBUTING.md LICENSE README.md )
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r CHANGES.md epl-v10.html || die # epl-10.html is the LICENSE in html format
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
einstalldocs
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="spec.alpha" default="package" basedir=".">
|
||||
<property name="maven.build.finalName" value="core.specs.alpha-SNAPSHOT"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/clojure"/>
|
||||
|
||||
<!-- clean -->
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- build -->
|
||||
<target name="build" description="Copy the files">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.srcDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- package -->
|
||||
<target name="package" depends="build" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- jar -->
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
</project>
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>tgbugs@gmail.com</email>
|
||||
<name>Tom Gillespie</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">clojure/core.specs.alpha</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jcip-annotations-1.0-1.tar.gz 7524 BLAKE2B cd31ecf1fe1ef4d78a9624cd92b9837acaccc35b1edfe5fbfac517d94edada03b5f7ac065ba21b26b43e6a8a6aef70434f3dfb7a76bb866ef4e3e25467ff1c01 SHA512 22eb285a445b25a718846dad45581dbe7a324a2d670bd05f4b2aa5e850ae34af6bcedbf143e17a7cd6cf7e510e0dd447992ba1d5316432e8a8db5584a1e1973e
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="com.github.stephenc.jcip:jcip-annotations:1.0-1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_P="${PN}-$(ver_rs 2 -)"
|
||||
|
||||
DESCRIPTION="Clean room implementation of the JCIP Annotations"
|
||||
HOMEPAGE="https://github.com/stephenc/jcip-annotations"
|
||||
SRC_URI="https://github.com/stephenc/${PN}/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}/src"
|
||||
JAVA_SRC_DIR="main/java"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc ../README.md
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>The JCIP Annotations are really useful, however they are released under the Creative Commons Attribution License, which is not recommended for licensing software and may therefore cause issues for some people.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">stephenc/jcip-annotations</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST findbugs-3.0.1-source.zip 9625065 BLAKE2B 26c940ac0eaec16de89ffbbe26d16b0b5c2883a6131a8b3ce93b9a35014a42c221456f977e581d2f4f1b8d9333237c24ac6d5ad8fc2ba6bb018c333b6a09f4eb SHA512 d967769f2356f28b34d92c7451cf3e2ac004e667bfc3b049b5b10b1c19d7be2cfa0db132a77698d042300330f77a2bb5dd8c4baa0d67c37b7e5ae6da9e83a64f
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
FINDBUGS_PV="3.0.1"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Compile time checking for Java format strings"
|
||||
SRC_URI="mirror://sourceforge/findbugs/findbugs-${FINDBUGS_PV}-source.zip"
|
||||
HOMEPAGE="https://code.google.com/p/j-format-string"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*
|
||||
app-arch/unzip"
|
||||
|
||||
src_unpack() {
|
||||
unzip -qoj "${DISTDIR}/findbugs-${FINDBUGS_PV}-source.zip" "findbugs-${FINDBUGS_PV}/lib/jFormatString.jar" || die
|
||||
unpack ./jFormatString.jar
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
find -name "*.class" -delete || die
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>This code is designed to allow for compile time checking of Java format strings. It can check that the format string is valid, that the proper number of arguments are supplied and that they are of the correct type.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">findbugs</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jspeex-0.9.7.zip 733580 BLAKE2B d5bfabb0857975ab8ca74d54401f6d4008c7386d8e2464c7386ecccfde8dcf3b92580d6168e4ff06cf8c1a27ca848abc7f630be7f19c6a0245beb8a9cb66c3f6 SHA512 9673bef155f1cccc45bc0a0d5596e79b48ba044309ba3446548b570bc7bad60b4b22cc7761749b0769114c7341b9fab6db8e8a155070f9de6fe2730c843199fe
|
@ -1,16 +0,0 @@
|
||||
diff -Naur a/build.xml b/build.xml
|
||||
--- a/build.xml 2014-02-18 23:32:25.440819710 +0100
|
||||
+++ b/build.xml 2014-02-18 23:32:43.017053558 +0100
|
||||
@@ -218,12 +218,6 @@
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
- <junitreport todir="${doc}/junit">
|
||||
- <fileset dir="${doc}/junit">
|
||||
- <include name="TEST-*.xml"/>
|
||||
- </fileset>
|
||||
- <report format="noframes" todir="${doc}/junit"/>
|
||||
- </junitreport>
|
||||
</target>
|
||||
|
||||
<!-- ******************************************************************** -->
|
@ -1,53 +0,0 @@
|
||||
diff -Naur a/build.xml b/build.xml
|
||||
--- a/build.xml 2014-02-18 23:32:25.440819710 +0100
|
||||
+++ b/build.xml 2014-02-18 23:33:26.308555686 +0100
|
||||
@@ -57,10 +57,6 @@
|
||||
|
||||
<property name="version" value="0.9.7"/>
|
||||
|
||||
- <!-- Define additional tasks -->
|
||||
- <taskdef name="proguard" classname="proguard.ant.ProGuardTask"
|
||||
- classpath="${lib}/proguard3.2.jar" />
|
||||
-
|
||||
<target name="init" description="Initialise ant" depends="clean">
|
||||
<tstamp>
|
||||
<format property="NOW" pattern="dd/MM/yyyy HH:mm" locale="en"/>
|
||||
@@ -138,19 +134,6 @@
|
||||
<target name="compress" depends="package"
|
||||
description="Package obfuscated JSpeex library" >
|
||||
<mkdir dir="${log}"/>
|
||||
- <proguard>
|
||||
--libraryjars ${java.home}/lib/rt.jar
|
||||
--injars ${dist}/jspeex.jar
|
||||
--outjar ${dist}/jspeex-obf.jar
|
||||
--renamesourcefileattribute SourceFile
|
||||
--keepattributes InnerClasses,SourceFile
|
||||
--printmapping ${log}/jspeex-obf.map
|
||||
--overloadaggressively
|
||||
-
|
||||
--keep public class * {
|
||||
- public protected *;
|
||||
-}
|
||||
- </proguard>
|
||||
</target>
|
||||
|
||||
<target name="compress-dec-nb" depends="compile-nb"
|
||||
@@ -161,18 +144,6 @@
|
||||
<attribute name="Main-Class" value="JSpeexDec"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
- <proguard>
|
||||
--libraryjars ${java.home}/lib/rt.jar
|
||||
--injars ${dist}/jspeex-dec-nb.jar
|
||||
--outjar ${dist}/jspeex-dec-nb-obf.jar
|
||||
--printmapping ${log}/jspeex-dec-nb-obf.map
|
||||
--overloadaggressively
|
||||
--defaultpackage ''
|
||||
-
|
||||
--keep public class JSpeexDec {
|
||||
- public static void main(java.lang.String[]);
|
||||
-}
|
||||
- </proguard>
|
||||
</target>
|
||||
|
||||
<!-- ******************************************************************** -->
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Speex speech codec library for Java"
|
||||
HOMEPAGE="http://jspeex.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
dev-java/junit:0
|
||||
>=virtual/jdk-1.8:*
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
)
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="ant-core"
|
||||
EANT_BUILD_TARGET="package"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-remove-junit-report.patch
|
||||
"${FILESDIR}"/${P}-remove-proguard-taskdef.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
java-pkg_clean
|
||||
|
||||
cd lib || die
|
||||
java-pkg_jar-from --build-only junit
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit ant-core" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
|
||||
dodoc README TODO
|
||||
|
||||
use doc && java-pkg_dojavadoc doc/javadoc
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">jspeex</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jta-1_1-classes.zip 13236 BLAKE2B f2e1ffd531fce804d562c4cdcbe9b260d08eb2bcd79a879f94fbd3e23801849cbf311d8f7410a9776f9a8866027dcedcac479a64444321e8c6b2b23bd9a69054 SHA512 fb8b76223ccdec0ef97b00d7248d74b6316dd67c570667f3a644d03b05cd28af061a191cf71b6624fd4a4195f7bc107281eb847fc4c0ee4606c85c414da79a14
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JTA_ZIP="jta-1_1-classes.zip"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="The Java Transaction API"
|
||||
HOMEPAGE="https://www.oracle.com/java/technologies/jta.html"
|
||||
SRC_URI="${JTA_ZIP}"
|
||||
|
||||
LICENSE="sun-bcla-jta"
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo
|
||||
einfo " Due to license restrictions, we cannot fetch the"
|
||||
einfo " distributables automagically."
|
||||
einfo
|
||||
einfo " 1. Visit ${HOMEPAGE}"
|
||||
einfo " 2. Select 'Java Transaction API Specification 1.1 Maintenance Release'"
|
||||
einfo " 3. Download ${JTA_ZIP}"
|
||||
einfo " 4. Move file to your DISTDIR directory"
|
||||
einfo " 5. Restart the emerge process"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unzip -qq "${DISTDIR}"/${JTA_ZIP} || die "failed to unpack"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
jar cvf jta.jar javax/ || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jta.jar
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST osgi-annotation-versioning-1.1.1-sources.jar 5301 BLAKE2B 3c45fc25bda97a3b98e8db1d725f64a4e237300251a3414daed8ddcb54c5d8a68aa4c603e57a3831a34761c4cbfa0d544b1ed345e26ca1a1a1b4d4fa5bf2f9dc SHA512 39b208b4f72a33cb9a8c2dff1a4c52e07b32a553bcf2d7cb014ae50935c6b8ff26b67961117019fb5222e99c59ab4ec6e73788124f309dac86defeeb212d407b
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">osgi/osgi</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom org.osgi.annotation.versioning-1.1.1.pom.xml --download-uri https://repo1.maven.org/maven2/org/osgi/org.osgi.annotation.versioning/1.1.1/org.osgi.annotation.versioning-1.1.1-sources.jar --slot 0 --keywords "~amd64 ~x86" --ebuild osgi-annotation-versioning-1.1.1.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.osgi:org.osgi.annotation.versioning:1.1.1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="OSGi Companion Code for org.osgi.annotation.versioning Version 1.1.1"
|
||||
HOMEPAGE="https://www.osgi.org/"
|
||||
SRC_URI="https://repo1.maven.org/maven2/org/osgi/org.osgi.annotation.versioning/${PV}/org.osgi.annotation.versioning-${PV}-sources.jar -> ${P}-sources.jar"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
@ -1 +0,0 @@
|
||||
DIST pdf-renderer-1.0.5-sources.jar 1736806 BLAKE2B b897d4f30ae0143a6eb7c3499c5d7c165cd4e81c950fbe3185066d5ab6dbe68d874a5ff7561d35a65e014a6d8b82f92de73574018f58dd3817a32488c5b09ed7 SHA512 086355441df0d59306839de3097d1e557870435dcb4ee878d4e7f3f46352a103ecfc1da4055f107c2c53a61f815f985f3e1e176dc9f99634afd58cf1faca940b
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="a 100% Java PDF renderer and viewer"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
SRC_URI="https://repo1.maven.org/maven2/org/swinglabs/${PN}/${PV}/${P}-sources.jar"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
@ -1,3 +0,0 @@
|
||||
DIST spec-alpha-0.1.143.tar.gz 35568 BLAKE2B f63fdd2b3c83dbd3936e36ff57b6ea399b7173fe805c60a6ecbd8e4aef5942f051a8551c259d89885a202c20045f67921b66c4dc9e361aacc8903c6542d7c7b5 SHA512 87887d72bc7343f96fad937b90feb4cc1be1eeaad8b7c01ae090ebe5cb17c30612e63797ea9eb39e6fe4c07870dcba9e153a98777d372923e95163f3219a976c
|
||||
DIST spec-alpha-0.2.176.tar.gz 37055 BLAKE2B 0588772e4a47a5b122984abefaf5ef2d0fffbacaf277b22737c94889e646c16a029017d405b72b829e88bcf03b12f689cb2053884b24b47193a26978ab54a318 SHA512 decf0dbff09bf8ee12503e6117ab635b98cd8dd2c389acf7aeebf00f32b5fd8250d66c2ec54cfe5da45e727e39480ae738a3ee7fcad71684d8c3acf464fe21e7
|
||||
DIST spec-alpha-0.2.194.tar.gz 39101 BLAKE2B 86de07fd83495b72d3b7d85b803ee9ecafba9a72d8541b5c62f22ad32d4e16b0c7be758ea8d30b743eba6fe994e09898e2f59b2b720913e7e1ab3732b496423f SHA512 3170883c1d62acf9af1435a5ca1ced34a318c53d1cd443d58a74afdcae4888553b9dba91fb81ccea8824c3a0c2396a0efbfaeb8ab408d8bbcf1aea0d3da9c82e
|
@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="spec.alpha" default="package" basedir=".">
|
||||
<property name="maven.build.finalName" value="spec.alpha-SNAPSHOT"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/clojure"/>
|
||||
|
||||
<!-- clean -->
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- build -->
|
||||
<target name="build" description="Copy the files">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.srcDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- package -->
|
||||
<target name="package" depends="build" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- jar -->
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
</project>
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>tgbugs@gmail.com</email>
|
||||
<name>Tom Gillespie</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">clojure/spec.alpha</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="51b64c0"
|
||||
|
||||
MY_PN=${PN//-/.}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library to describe the structure of data and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/spec.alpha"
|
||||
SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.1"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}"
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
dodoc CONTRIBUTING.md README.md
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="59af4cf"
|
||||
|
||||
MY_PN=${PN//-/.}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library to describe the structure of data and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/spec.alpha"
|
||||
SRC_URI="https://github.com/clojure/${MY_PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.2"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}"
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
dodoc CONTRIBUTING.md README.md
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
EGIT_REF="fb55378"
|
||||
|
||||
MY_P=spec.alpha-${PV}
|
||||
|
||||
DESCRIPTION="A Clojure library to describe the structure of data and functions"
|
||||
HOMEPAGE="https://clojure.org/ https://github.com/clojure/spec.alpha"
|
||||
SRC_URI="https://github.com/clojure/spec.alpha/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="0.2"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND="
|
||||
dev-java/ant-core:0
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
S="${WORKDIR}/spec.alpha-${MY_P}"
|
||||
|
||||
EANT_TASKS="jar"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${MY_P}.jar"
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST apr-util-1.6.1.tar.bz2 428595 BLAKE2B ab6eaf1594aaa1c7aae151319b630b83bdb8b68ec04f0e2b429b7c7789bdf274873270200ba43701359e2502d2be8624d8e42a56a5f399ec95a841e7c73ce706 SHA512 40eff8a37c0634f7fdddd6ca5e596b38de15fd10767a34c30bbe49c632816e8f3e1e230678034f578dd5816a94f246fb5dfdf48d644829af13bf28de3225205d
|
||||
DIST apr-util-1.6.3.tar.bz2 432692 BLAKE2B 5eb56c45ba9d87ff3e3769439a3a9a858a1947de68b34892c729f39736fc41117a41c630c3c4cfb07b444c4ee0d5853ec5be158e8fa0b0c0ab89f0cb51cc9c6d SHA512 8050a481eeda7532ef3751dbd8a5aa6c48354d52904a856ef9709484f4b0cc2e022661c49ddf55ec58253db22708ee0607dfa7705d9270e8fee117ae4f06a0fe
|
||||
|
@ -1,148 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
|
||||
# APR_PV="${PV}"
|
||||
APR_PV="1.7.0-r6"
|
||||
|
||||
inherit autotools db-use libtool multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Utility Library"
|
||||
HOMEPAGE="https://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb doc gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
|
||||
#RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/apr-${APR_PV}:1=
|
||||
dev-libs/expat
|
||||
virtual/libcrypt:=
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
mysql? ( || (
|
||||
dev-db/mariadb-connector-c
|
||||
>=dev-db/mysql-connector-c-8
|
||||
) )
|
||||
nss? ( dev-libs/nss )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=sys-devel/libtool-2.4.2
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
DOCS=(CHANGES NOTICE README)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775
|
||||
"${FILESDIR}"/${PN}-1.6.1-fix-gdbm-error-handling.patch
|
||||
"${FILESDIR}"/${PN}-1.6.1-libtool.patch # 779487
|
||||
"${FILESDIR}"/${PN}-1.6.1-mariadb-support.patch
|
||||
"${FILESDIR}"/${PN}-1.6.1-my_bool.patch
|
||||
"${FILESDIR}"/${PN}-1.6.1-drop-my_init.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix usage of libmysqlclient (bug #620230)
|
||||
grep -lrF "libmysqlclient_r" "${S}" \
|
||||
| xargs sed 's@libmysqlclient_r@libmysqlclient@g' -i \
|
||||
|| die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--datadir="${EPREFIX}"/usr/share/apr-util-1
|
||||
--with-apr="${ESYSROOT}"/usr
|
||||
--with-expat="${EPREFIX}"/usr
|
||||
--without-sqlite2
|
||||
$(use_with gdbm)
|
||||
$(use_with ldap)
|
||||
$(use_with mysql)
|
||||
$(use_with nss)
|
||||
$(use_with odbc)
|
||||
$(use_with openssl)
|
||||
$(use_with postgres pgsql)
|
||||
$(use_with sqlite sqlite3)
|
||||
)
|
||||
|
||||
tc-is-static-only && myconf+=( --disable-util-dso )
|
||||
|
||||
if use berkdb; then
|
||||
local db_version
|
||||
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
|
||||
db_version="$(db_ver_to_slot "${db_version}")"
|
||||
db_version="${db_version/\./}"
|
||||
myconf+=(
|
||||
--with-dbm=db${db_version}
|
||||
# We use $T for the libdir because otherwise it'd simply be the normal
|
||||
# system libdir. That's pointless as the compiler will search it for
|
||||
# us already. This makes cross-compiling and such easier.
|
||||
--with-berkeley-db="$(db_includedir 2>/dev/null):${T}"
|
||||
)
|
||||
else
|
||||
myconf+=( --without-berkeley-db )
|
||||
fi
|
||||
|
||||
if use nss || use openssl ; then
|
||||
myconf+=( --with-crypto ) # 518708
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
# Use the current env build settings rather than whatever apr was built with.
|
||||
sed -i -r \
|
||||
-e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \
|
||||
-e "/^CC=/s:=.*:=$(tc-getCC):" \
|
||||
-e '/^(C|CPP|CXX|LD)FLAGS=/d' \
|
||||
-e '/^LTFLAGS/s:--silent::' \
|
||||
build/rules.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake dox
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Building tests in parallel is broken
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
if [[ -d "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then
|
||||
find "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
|
||||
fi
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r docs/dox/html/*
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which Gentoo is not,
|
||||
# and causes collisions between the SLOTs, so remove it.
|
||||
rm "${ED}/usr/$(get_libdir)/aprutil.exp" || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST apr-1.7.0.tar.bz2 872238 BLAKE2B a8750c45ca6495073a7120f3ae9b858905aecb24b6af5966c3900b06ac1f6d6b55346b17a39a9604cf1b595882335adedf8c8cf4db10e322501bfff4ad7adfe7 SHA512 3dc42d5caf17aab16f5c154080f020d5aed761e22db4c5f6506917f6bfd2bf8becfb40af919042bd4ce1077d5de74aa666f5edfba7f275efba78e8893c115148
|
||||
DIST apr-1.7.2.tar.bz2 890218 BLAKE2B a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15 SHA512 0a3a27ccc97bbe4865c1bc0b803012e3da6d5b1f17d4fb0da6f5f58eec01f6d2ae1f25e52896ea5f9c5ac04c5fddcfd1ac606b301c322cf40d5c4d4ce0a1b76e
|
||||
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Library"
|
||||
HOMEPAGE="https://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1/${PV%.*}"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc older-kernels-compatibility selinux static-libs +urandom"
|
||||
|
||||
# See bug #815265 for libcrypt dependency
|
||||
CDEPEND="virtual/libcrypt:=
|
||||
elibc_glibc? ( >=sys-apps/util-linux-2.16 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-base-policy )"
|
||||
DEPEND="${CDEPEND}
|
||||
>=sys-devel/libtool-2.4.2
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( CHANGES NOTICE README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.0-mint.patch
|
||||
"${FILESDIR}"/${PN}-1.5.0-libtool.patch
|
||||
"${FILESDIR}"/${PN}-1.5.0-cross-types.patch
|
||||
"${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
|
||||
"${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.7.0-autoconf-2.70.patch #750353
|
||||
"${FILESDIR}"/${PN}-1.7.0-CVE-2021-35940.patch #828545
|
||||
"${FILESDIR}"/${PN}-1.7.0-clang-16.patch #870004
|
||||
"${FILESDIR}"/${PN}-1.7.0-dev-zero.patch #830833
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.in configure.ac || die
|
||||
AT_M4DIR="build" eautoreconf
|
||||
elibtoolize
|
||||
|
||||
eapply "${FILESDIR}/config.layout.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-layout=gentoo
|
||||
--enable-nonportable-atomics
|
||||
--enable-posix-shm
|
||||
--enable-threads
|
||||
$(use_enable static-libs static)
|
||||
--with-installbuilddir="${EPREFIX}"/usr/share/${PN}/build
|
||||
)
|
||||
|
||||
if use older-kernels-compatibility; then
|
||||
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
|
||||
export apr_cv_accept4="no"
|
||||
export apr_cv_dup3="no"
|
||||
export apr_cv_epoll_create1="no"
|
||||
export apr_cv_sock_cloexec="no"
|
||||
fi
|
||||
if tc-is-cross-compiler; then
|
||||
# The apache project relies heavily on AC_TRY_RUN and doesn't
|
||||
# have any sane cross-compiling fallback logic.
|
||||
export \
|
||||
ac_cv_file__dev_zero="yes" \
|
||||
ac_cv_func_sem_open="yes" \
|
||||
ac_cv_negative_eai="yes" \
|
||||
ac_cv_o_nonblock_inherited="no" \
|
||||
ac_cv_struct_rlimit="yes" \
|
||||
ap_cv_atomic_builtins="yes" \
|
||||
apr_cv_accept4="yes" \
|
||||
apr_cv_dup3="yes" \
|
||||
apr_cv_epoll="yes" \
|
||||
apr_cv_epoll_create1="yes" \
|
||||
apr_cv_gai_addrconfig="yes" \
|
||||
apr_cv_mutex_recursive="yes" \
|
||||
apr_cv_mutex_robust_shared="yes" \
|
||||
apr_cv_process_shared_works="yes" \
|
||||
apr_cv_pthreads_lib="-pthread" \
|
||||
apr_cv_sock_cloexec="yes" \
|
||||
apr_cv_tcp_nodelay_with_cork="yes"
|
||||
fi
|
||||
|
||||
if use urandom; then
|
||||
myconf+=( --with-devrandom=/dev/urandom )
|
||||
elif (( ${CHOST#*-hpux11.} <= 11 )); then
|
||||
: # no /dev/*random on hpux11.11 and before, ${PN} detects this.
|
||||
else
|
||||
myconf+=( --with-devrandom=/dev/random )
|
||||
fi
|
||||
|
||||
tc-is-static-only && myconf+=( --disable-dso )
|
||||
|
||||
# shl_load does not search runpath, but hpux11 supports dlopen
|
||||
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
|
||||
|
||||
if [[ ${CHOST} == *-solaris2.10 ]]; then
|
||||
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
|
||||
*atomic_cas_ptr*) ;;
|
||||
*)
|
||||
elog "You do not have Solaris Patch ID "$(
|
||||
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
|
||||
)" (Problem 4954703) installed on your host ($(hostname)),"
|
||||
elog "using generic atomic operations instead."
|
||||
myconf+=( --disable-nonportable-atomics )
|
||||
;;
|
||||
esac
|
||||
else
|
||||
if use ppc || use sparc || use mips; then
|
||||
# Avoid libapr containing undefined references (underlinked)
|
||||
# undefined reference to `__sync_val_compare_and_swap_8'
|
||||
# (May be possible to fix via libatomic linkage in future?)
|
||||
# bug #740464
|
||||
myconf+=( --disable-nonportable-atomics )
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
# This header is the same across targets, so use the build compiler.
|
||||
emake tools/gen_test_char
|
||||
tc-export_build_env BUILD_CC
|
||||
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
|
||||
tools/gen_test_char.c -o tools/gen_test_char || die
|
||||
fi
|
||||
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
emake dox
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Building tests in parallel is broken
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r docs/dox/html/*
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which Gentoo is not,
|
||||
# and causes collisions between the SLOTs, so remove it.
|
||||
# Even in Prefix, we don't need this on AIX.
|
||||
rm "${ED}/usr/$(get_libdir)/apr.exp" || die
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OpenCL C library"
|
||||
HOMEPAGE="https://libclc.llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/clang:16
|
||||
spirv? ( dev-util/spirv-llvm-translator:16 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:15
|
||||
spirv? ( dev-util/spirv-llvm-translator:15 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:14
|
||||
spirv? ( dev-util/spirv-llvm-translator:14 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:13
|
||||
spirv? ( dev-util/spirv-llvm-translator:13 )
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( libclc )
|
||||
llvm.org_set_globals
|
||||
|
||||
llvm_check_deps() {
|
||||
if use spirv; then
|
||||
has_version -b "dev-util/spirv-llvm-translator:${LLVM_SLOT}" ||
|
||||
return 1
|
||||
fi
|
||||
has_version -b "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libclc_targets=()
|
||||
|
||||
use spirv && libclc_targets+=(
|
||||
"spirv-mesa3d-"
|
||||
"spirv64-mesa3d-"
|
||||
)
|
||||
use video_cards_nvidia && libclc_targets+=(
|
||||
"nvptx--"
|
||||
"nvptx64--"
|
||||
"nvptx--nvidiacl"
|
||||
"nvptx64--nvidiacl"
|
||||
)
|
||||
use video_cards_r600 && libclc_targets+=(
|
||||
"r600--"
|
||||
)
|
||||
use video_cards_radeonsi && libclc_targets+=(
|
||||
"amdgcn--"
|
||||
"amdgcn-mesa-mesa3d"
|
||||
"amdgcn--amdhsa"
|
||||
)
|
||||
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
|
||||
|
||||
libclc_targets=${libclc_targets[*]}
|
||||
local mycmakeargs=(
|
||||
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="debug test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( llvm cmake third-party )
|
||||
LLVM_USE_TARGETS=llvm
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST ppxfind-1.4.tbz 4083 BLAKE2B 3661827c897a74af21f0d10c9435b74845fc4832cb1b50a510fdf7c33cd877faee5ddcb8307c65903a4692fcb58ca264e0c0b44433a34a59a12f8eb2917e12e9 SHA512 f80b0ee09fb536aa9f154da80d06a1b68ba3b10605fb7338bd6449beb5c8d00e983bf66b4a63e12659ae1410fea56d0a2c4cfd43584616438504628035bcb981
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ml@gentoo.org</email>
|
||||
<name>ML</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>gienah@gentoo.org</email>
|
||||
<name>Mark Wright</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">diml/ppxfind</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="ocamlfind ppx tool"
|
||||
HOMEPAGE="https://github.com/diml/ppxfind"
|
||||
SRC_URI="https://github.com/diml/ppxfind/releases/download/${PV}/${P}.tbz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
<=dev-ml/ocaml-migrate-parsetree-1.80:=
|
||||
dev-ml/findlib:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST aiohttp-jinja2-1.5.tar.gz 54608 BLAKE2B 3271e159f1022023b3d9f96b0f534b04898e0774d6ceefa19bf8958a835d499a1598fd12cabab8206448a0e89a107816577d596bff0c45a4947fcb7289c35e5b SHA512 230fec6e54fa55e22be3bc09ae1896cd12834eda5721c1d698c8482f9529b443ccf13a4db24bd9ccd179c36b9cdc90abbb848f287e7ed79e621d6a2976b1fa32
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{9..10} pypy3 )
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="jinja2 template renderer for aiohttp.web"
|
||||
HOMEPAGE="https://github.com/aio-libs/aiohttp-jinja2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? ( >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs dev-python/alabaster
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's:--cov=aiohttp_jinja2 --cov-report xml --cov-report html --cov-report term::' \
|
||||
setup.cfg || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zmedico@gentoo.org</email>
|
||||
<name>Zac Medico</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">aiohttp-jinja2</remote-id>
|
||||
<remote-id type="github">aio-libs/aiohttp-jinja2</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST alagitpull-0.0.23.gh.tar.gz 6692 BLAKE2B 63af3da6e98521487fad233dd648d9217d8e89c0d17e49dd771e934c0808a52c0659661ca8104c53c2d0fddf458650458e676e14b2e9c3820f353ab42044a490 SHA512 1620c0e25299f694f29f6e54105a2f336dee90535370a691a6e23a879a68626ef4aa19ae40ecc835553fe3b0272d48e4f5213c1ada054ad20d47034fc20dea3c
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue