Удалены устаревшие ebuild

pull/3/head 2962
Alexander Tratsevskiy 2 years ago
parent 0cdfa0eb8c
commit 1fc7b5eee1

@ -1,28 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="BLAS/CBLAS module for eselect"
HOMEPAGE="https://www.gentoo.org"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE=""
# Need skel.bash lib
RDEPEND=">=app-admin/eselect-1.0.5
!app-eselect/eselect-cblas"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_install() {
local MODULEDIR="/usr/share/eselect/modules"
local MODULE="blas"
insinto ${MODULEDIR}
newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect
doman "${FILESDIR}"/blas.eselect.5
}

@ -1,168 +0,0 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2019 Gentoo Foundation
# Distributed under the terms of the GNU GPL version 2 or later
inherit config tests multilib skel
MODULE="BLAS/CBLAS"
IFACE="blas"
DESCRIPTION="Manage installed alternatives of $MODULE shared objects"
MAINTAINER="lumin@debian.org"
VERSION="20190621"
### helper utility to find all available BLAS/CBLAS implementations
find_targets_in() {
[[ $# -eq 1 ]] || die -q "in which libdir?"
local cand
for cand in ${EROOT}/etc/env.d/blas/$1/*; do
[[ "config" = $(basename ${cand}) ]] && continue
[[ -r ${cand} ]] && basename ${cand}
done
}
### helper utility to validate a BLAS/CBLAS library directory
validate_blaslibdir() {
[[ -d $1 ]] || return 2 # dir doesn't exist
[[ -r "${1}/libblas.so.3" ]] && [[ -r "${1}/libblas.so" ]] \
&& [[ -r "${1}/libcblas.so.3" ]] && [[ -r "${1}/libcblas.so" ]] \
|| return 1
}
### show action
do_show() {
# do_show -- show both lib64 and lib32 selection
# do_show libxx -- show libxx selection
local libdir cur libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] && continue
[[ ! -r ${EROOT}/etc/env.d/blas/${libdir}/config ]] && continue
cur=$(load_config ${EROOT}/etc/env.d/blas/${libdir}/config CURRENT)
echo ${libdir}: $cur
done
}
### list action
do_list() {
local i cur targets
local libdir libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
cur=$(load_config ${EROOT}/etc/env.d/blas/${libdir}/config CURRENT)
write_list_start "Available BLAS/CBLAS ($libdir) candidates:"
for (( i = 0; i < ${#targets[@]}; i++ )); do
[[ ${targets[i]} = $cur ]] \
&& targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m "(none found)" "${targets[@]}"
done
}
### validate action
describe_validate() {
echo "validate candidates and remove invalid ones"
}
do_validate() {
local i ldpath targets target candidate
local libdir libdirs=( $(list_libdirs) )
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
for target in ${targets[@]}; do
candidate=${EROOT}/etc/env.d/blas/${libdir}/${target}
ldpath=$(load_config $candidate LDPATH)
if ! validate_blaslibdir $ldpath; then
echo "Removing invalid BLAS/CBLAS candidate ($candidate) ..."
rm -v $candidate
fi
done
done
}
### set action
describe_set() {
echo "Activate one of the installed $MODULE implementations"
}
describe_set_parameters() {
echo "[<libdir>] <implementation>"
}
describe_set_options() {
echo "libdir: lib64 or lib32. Will use the native one when omitted."
echo "implementation : implementation name or number (from 'list' action)"
}
do_set() {
local libdirs=( $(list_libdirs) )
local targets libdir ldconf libpath impl
# check argument existence
[[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \
die -q "Please specify [<libdir>] <impl> to activate!"
# read argumenets
if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi
if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi
# validate arguments
has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !"
targets=( $(find_targets_in $libdir) )
if ! has "$impl" "${targets[@]}"; then
if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then
impl=${targets[(${impl} - 1)]}
else
die -q "Invalid impl ($impl) !"
fi
fi
# store the configuration to env.d
store_config ${EROOT}/etc/env.d/blas/${libdir}/config CURRENT "${impl}"
# generate ld.so.conf file
ldconf="${EROOT}/etc/ld.so.conf.d/81-blas-${libdir}.conf"
libpath=$(load_config ${EROOT}/etc/env.d/blas/${libdir}/${impl} LDPATH)
truncate -s0 $ldconf
echo "# Auto-generated by eselect::blas. DON'T EDIT." >> $ldconf
echo "$libpath" >> $ldconf
# refresh cache. env-update will call ldconfig (see
# portage::env_update.py) so we don't need to call it explicitly.
env-update
}
### add action
describe_add_parameters() {
echo "<libdir> <dir> <impl>"
}
describe_add_options() {
echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)"
echo "dir : directory containing lib{,c}blas.so{.3}"
echo "impl : name of the $MODULE implementation"
}
do_add() {
[[ $# -eq 3 ]] \
|| die -q "Please specify <libdir> <dir> <impl> to activate!"
validate_blaslibdir $2 || die -q "invalid blas libdir!"
store_config ${EROOT}/etc/env.d/blas/$1/$3 LDPATH $2
}

@ -1,79 +0,0 @@
.TH "ESELECT" "5" "June 2019" "Gentoo Linux" "eselect"
.SH "NAME"
blas.eselect \- The BLAS management module for Gentoo's eselect
.SH "SYNOPSIS"
\fBeselect blas\fR [\fBhelp\fR|\fBusage\fR]
.br
\fBeselect blas\fR \fBlist\fR [\fIlibdir\fR]
.br
\fBeselect blas\fR \fBadd\fR
.br
\fBeselect blas\fR \fBset\fR [\fIlibdir\fR] \fIimplementation\fR
.br
\fBeselect blas\fR \fBshow\fR [\fIlibdir\fR]
.SH "DESCRIPTION"
\fBeselect\fR is Gentoo's configuration and management tool. It features
modules that care for the individual administrative tasks.
.SH "ACTION: LIST"
\fBeselect blas list\fR [\fIlibdir\fR]
.br
Displays an ordered list of installed BLAS implementations. It distinguishes between versions with different
Application Binary Interfaces (e.g. x86/AMD64). Furthermore, it also distinguishes
between interfaces to high-level programming languages. Each line holds
a number and the implementation's name. An asterisk next to one of the list
elements denotes an active implementation.
phi / # eselect blas list
.br
Installed BLAS for libdir \fBlib\fR
.br
[1] atlas *
[2] reference
Possible \fIlibdir\fR to the \fBlist\fR action are restrictions to
handle only certain ABI\-specific library directories. For example,
\fBeselect blas list lib64\fR
lists only BLAS implementations found in \fB/usr/lib64\fR.
.SH "ACTION: SHOW"
\fBeselect blas show\fR [\fIlibdir\fR]
.br
Shows your system's currently active BLAS implementations.
phi / # eselect blas show
.br
lib: atlas
.br
lib64: reference
The same \fIlibdir\fR that apply to the \fBlist\fR action can be used
with the \fBshow\fR action to restrict it to given ABIs.
.SH "ACTION: SET"
\fBeselect blas set\fR [\fIlibdir\fR] \fIimplementation\fR
.br
Sets your system's currently active BLAS implementations to \fIimplementation\fR.
The same \fIlibdir\fR that apply to the \fBlist\fR action can be used
with the \fBset\fR action to restrict it to given ABIs.
phi / # eselect blas set atlas
.SH "ACTION: VALIDATE"
\fBeselect blas validate\fR
.br
Validates BLAS/CBLAS candidates under the /etc/env.d directory and automatically
remove the invalid ones.
.SH "ACTION: ADD"
\fBeselect blas add\fR \fIlibdir\fR \fIdir\fR \fIimpl\fR
.br
Add a new BLAS/CBLAS implementation.
.SH "AUTHOR"
Danny van Dyk <kugelfang@gentoo.org>
.br
Donnie Berkholz <spyderous@gentoo.org>
.br
Mo Zhou <lumin@debian.org>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
</pkgmetadata>

@ -1,27 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="LAPACK module for eselect"
HOMEPAGE="https://www.gentoo.org"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE=""
# Need skel.bash lib
RDEPEND=">=app-admin/eselect-1.0.5"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_install() {
local MODULEDIR="/usr/share/eselect/modules"
local MODULE="lapack"
insinto ${MODULEDIR}
newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect
doman "${FILESDIR}"/lapack.eselect.5
}

@ -1,167 +0,0 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2019 Gentoo Foundation
# Distributed under the terms of the GNU GPL version 2 or later
inherit config tests multilib skel
MODULE="LAPACK"
IFACE="lapack"
DESCRIPTION="Manage installed alternatives of $MODULE shared objects"
MAINTAINER="lumin@debian.org"
VERSION="20190621"
### helper utility to find all available LAPACK implementations
find_targets_in() {
[[ $# -eq 1 ]] || die -q "in which libdir?"
local cand
for cand in ${EROOT}/etc/env.d/lapack/$1/*; do
[[ "config" = $(basename ${cand}) ]] && continue
[[ -r ${cand} ]] && basename ${cand}
done
}
### helper utility to validate a LAPACK library directory
validate_lapacklibdir() {
[[ -d $1 ]] || return 2 # dir doesn't exist
[[ -r "${1}/liblapack.so.3" ]] && [[ -r "${1}/liblapack.so" ]] \
|| return 1
}
### show action
do_show() {
# do_show -- show both lib64 and lib32 selection
# do_show libxx -- show libxx selection
local libdir cur libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] && continue
[[ ! -r ${EROOT}/etc/env.d/lapack/${libdir}/config ]] && continue
cur=$(load_config ${EROOT}/etc/env.d/lapack/${libdir}/config CURRENT)
echo ${libdir}: $cur
done
}
### list action
do_list() {
local i cur targets
local libdir libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
cur=$(load_config ${EROOT}/etc/env.d/lapack/${libdir}/config CURRENT)
write_list_start "Available LAPACK ($libdir) candidates:"
for (( i = 0; i < ${#targets[@]}; i++ )); do
[[ ${targets[i]} = $cur ]] \
&& targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m "(none found)" "${targets[@]}"
done
}
### validate action
describe_validate() {
echo "validate candidates and remove invalid ones"
}
do_validate() {
local i ldpath targets target candidate
local libdir libdirs=( $(list_libdirs) )
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
for target in ${targets[@]}; do
candidate=${EROOT}/etc/env.d/lapack/${libdir}/${target}
ldpath=$(load_config $candidate LDPATH)
if ! validate_lapacklibdir $ldpath; then
echo "Removing invalid LAPACK candidate ($candidate) ..."
rm -v $candidate
fi
done
done
}
### set action
describe_set() {
echo "Activate one of the installed $MODULE implementations"
}
describe_set_parameters() {
echo "[<libdir>] <implementation>"
}
describe_set_options() {
echo "libdir: lib64 or lib32. Will use the native one when omitted."
echo "implementation : implementation name or number (from 'list' action)"
}
do_set() {
local libdirs=( $(list_libdirs) )
local targets libdir ldconf libpath impl
# check argument existence
[[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \
die -q "Please specify [<libdir>] <impl> to activate!"
# read argumenets
if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi
if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi
# validate arguments
has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !"
targets=( $(find_targets_in $libdir) )
if ! has "$impl" "${targets[@]}"; then
if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then
impl=${targets[(${impl} - 1)]}
else
die -q "Invalid impl ($impl) !"
fi
fi
# store the configuration to env.d
store_config ${EROOT}/etc/env.d/lapack/${libdir}/config CURRENT "${impl}"
# generate ld.so.conf file
ldconf="${EROOT}/etc/ld.so.conf.d/82-lapack-${libdir}.conf"
libpath=$(load_config ${EROOT}/etc/env.d/lapack/${libdir}/${impl} LDPATH)
truncate -s0 $ldconf
echo "# Auto-generated by eselect::lapack. DON'T EDIT." >> $ldconf
echo "$libpath" >> $ldconf
# refresh cache. env-update will call ldconfig (see
# portage::env_update.py) so we don't need to call it explicitly.
env-update
}
### add action
describe_add_parameters() {
echo "<libdir> <dir> <impl>"
}
describe_add_options() {
echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)"
echo "dir : directory containing liblapack.so{.3}"
echo "impl : name of the $MODULE implementation"
}
do_add() {
[[ $# -eq 3 ]] \
|| die -q "Please specify <libdir> <dir> <impl> to activate!"
validate_lapacklibdir $2 || die -q "invalid lapack libdir!"
store_config ${EROOT}/etc/env.d/lapack/$1/$3 LDPATH $2
}

@ -1,79 +0,0 @@
.TH "ESELECT" "5" "June 2019" "Gentoo Linux" "eselect"
.SH "NAME"
lapack.eselect \- The LAPACK management module for Gentoo's eselect
.SH "SYNOPSIS"
\fBeselect lapack\fR [\fBhelp\fR|\fBusage\fR]
.br
\fBeselect lapack\fR \fBlist\fR [\fIlibdir\fR]
.br
\fBeselect lapack\fR \fBadd\fR
.br
\fBeselect lapack\fR \fBset\fR [\fIoptions\fR] \fIimplementation\fR
.br
\fBeselect lapack\fR \fBshow\fR [\fIlibdir\fR]
.SH "DESCRIPTION"
\fBeselect\fR is Gentoo's configuration and management tool. It features
modules that care for the individual administrative tasks.
.SH "ACTION: LIST"
\fBeselect lapack list\fR [\fIlibdir\fR]
.br
Displays an ordered list of installed LAPACK implementations. It distinguishes between versions with different
Application Binary Interfaces (e.g. x86/AMD64). Furthermore, it also distinguishes
between interfaces to high-level programming languages. Each line holds
a number and the implementation's name. An asterisk next to one of the list
elements denotes an active implementation.
phi / # eselect lapack list
.br
Installed LAPACK for libdir \fBlib\fR
.br
[1] atlas *
[2] reference
Possible \fIoptions\fR to the \fBlist\fR action are restrictions to
handle only certain ABI\-specific library directories. For example,
\fBeselect lapack list lib64\fR
lists only LAPACK implementations found in \fB/usr/lib64\fR.
.SH "ACTION: SHOW"
\fBeselect lapack show\fR [\fIlibdir\fR]
.br
Shows your system's currently active LAPACK implementations.
phi / # eselect lapack show
.br
lib: atlas
.br
lib64: reference
The same \fIoptions\fR that apply to the \fBlist\fR action can be used
with the \fBshow\fR action to restrict it to given ABIs.
.SH "ACTION: SET"
\fBeselect lapack set\fR \fIimplementation\fR [\fIoptions\fR]
.br
Sets your system's currently active LAPACK implementations to \fIimplementation\fR.
The same \fIoptions\fR that apply to the \fBlist\fR action can be used
with the \fBset\fR action to restrict it to given ABIs.
phi / # eselect lapack set atlas
.SH "ACTION: VALIDATE"
\fBeselect lapack validate\fR
.br
Validates LAPACK candidates under the /etc/env.d directory and automatically
remove the invalid ones.
.SH "ACTION: ADD"
\fBeselect lapack add\fR \fIlibdir\fR \fIdir\fR \fIimpl\fR
.br
Add a new LAPACK implementation.
.SH "AUTHOR"
Danny van Dyk <kugelfang@gentoo.org>
.br
Donnie Berkholz <spyderous@gentoo.org>
.br
Mo Zhou <lumin@debian.org>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST oodict.eselect-20100228.bz2 3802 BLAKE2B d545d42ae99a25a5d66d573a1434df84cdb56cdf61c155db5017a180ab8beef806c38cb4061cbde872455e029cdd9f65f131eaf7920c138dbbda168dd3344e0f SHA512 7aa1e3081b9629ea5932dc679bed7956887cc7f3dcb7e6399d42f8d3ed30b565a1487eef15293f4046b38b6bf8a7844e6d7050e01337550044977366a795f753

@ -1,23 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Manages configuration of dictionaries for OpenOffice.Org"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI="mirror://gentoo/oodict.eselect-${PVR}.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
RDEPEND=">=app-admin/eselect-1.2"
S="${WORKDIR}"
src_install() {
insinto /usr/share/eselect/modules
newins "${WORKDIR}"/oodict.eselect-${PVR} oodict.eselect
}

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
EAPI=7
DESCRIPTION="Calculate Linux (Xorg meta package)"
HOMEPAGE="http://www.calculate-linux.org/"

@ -1,2 +1 @@
DIST wgetpaste-2.22.tar.bz2 10842 SHA256 a903d4b93e487046226ad77037a28cb5f6cf2465bf212e5edf568c4135f6fe05 SHA512 4a9fd56b1d4924a863d10af38721469ac0116cb05b5e5e79f5ecf149ba2af69acf79a30bc66450b9363b2fa7116b20222073dc8d7bc1e7dbab79981e6ce80396 WHIRLPOOL c25fc58c0e0a01b0960ebb07e270c7c8136d1589f16eae9c1e94c614260b479abdbf5255d60d9ebe477c5acd201f0e598f69a3501cd127fb7f42e9a80b443d77
DIST wgetpaste-2.25.tar.bz2 11107 SHA256 6a7e078e6607f4fe819fc52857a601630ec0f7d2ee855d3b1cd7e75a904c40f4 SHA512 c3cd56f32311c77ce5ac970f0cd6b2e8285cac3caaf61669237ac707ed3b9aab285fbe9dee6260ea13b8df41a22acfaa3b8439298560ab68c3a568d60557d82e WHIRLPOOL ad64e1d45cb49dd70a2b33e49e81f255b304def9e4b8d8c29ac4b4161fb7cc290574686a0488a731cd36f339fde0f78da90ad439f1b771b8d5bd2f2df9cd67c3
DIST wgetpaste-2.25.tar.bz2 11107 BLAKE2B 1ed46ada9045326583900a78bbbd66ea7776ae7ae7191b14f258ef417ef65c344d6ff7e6c5ac0592d93c2936bc189ea0a33c18a8f2e6a0eb9e4e1d9d3b67701b SHA512 c3cd56f32311c77ce5ac970f0cd6b2e8285cac3caaf61669237ac707ed3b9aab285fbe9dee6260ea13b8df41a22acfaa3b8439298560ab68c3a568d60557d82e

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.25-r3.ebuild,v 1.9 2014/11/02 09:09:38 ago Exp $
EAPI="5"
EAPI="7"
inherit eutils

@ -1 +0,0 @@
DIST fs-2.12.0.tar.gz 21410 SHA256 9b22e717c91983e3dbd9a2d2bb0ccbdb5d80f7f1c21961eddd742ac2adbdbac3 SHA512 a5a708a9570417359bd4d3d34c26925c09453108fc4fdc8a9f8fbb59a5fa7e0dd4c60a30ebf4c4a2289a2b25a289cb731990600f78eedc4fb8a66ee9bfe2e221 WHIRLPOOL 5402bbd363def7d558cf058d1d2893de3c3b88a228ecfc7d43584de6f5cda1a6b406e232c41d6f86ef5c526c79702bf6dfaf4b1feb3e79a9c942a5c9e03a3477

@ -1,28 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Erlang File System Listener"
HOMEPAGE="https://github.com/synrc/fs"
SRC_URI="https://github.com/synrc/fs/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-erlang/fast_xml-1.1.21
>=dev-lang/erlang-17.1
sys-fs/inotify-tools"
DEPEND="${RDEPEND}"
DOCS=( README.md LICENSE )
src_prepare() {
rebar_src_prepare
rebar_fix_include_path fast_xml
}

@ -1 +0,0 @@
DIST gobject-introspection-1.70.0.tar.xz 1029372 BLAKE2B a649ea77b2b7ca392202e21a7f4814aafe57afea7fedb39e78f1df1cd97d0437207c3807a51ece6c9e9bce51fdf961ee7438ccd4efd84b45dbdb57ae19a39272 SHA512 216b376ed423f607e36c723dd6b67975dbfb63c253f2d8bd0b3661e3d69f8c8059cf221db8c5260b0262fad1b7d738f3b2e5fbd51fdbc31e40ccb115c209baf0

@ -1,220 +0,0 @@
https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/effb1e09dee263cdac4ec593e8caf316e6f01fe2.patch
https://bugs.gentoo.org/831427
From effb1e09dee263cdac4ec593e8caf316e6f01fe2 Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <ebassi@gnome.org>
Date: Tue, 11 Jan 2022 15:51:10 +0000
Subject: [PATCH] build: Avoid the doctemplates hack
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The hack that copies the doctemplates directory into the build
directory has stopped working with newer versions of Meson; while it's
possible to copy files, custom_target() cannot depend on a directory.
Additionally, the dependency has always been broken.
Instead, we enumerate the template files—after all, it's not like they
change a lot—and then we list them as dependencies for the test targets.
Fixes: #414
---
giscanner/doctemplates/devdocs/meson.build | 19 +++++++
giscanner/doctemplates/mallard/meson.build | 63 ++++++++++++++++++++++
giscanner/meson.build | 14 ++---
tests/scanner/meson.build | 24 +++++----
4 files changed, 98 insertions(+), 22 deletions(-)
create mode 100644 giscanner/doctemplates/devdocs/meson.build
create mode 100644 giscanner/doctemplates/mallard/meson.build
diff --git a/giscanner/doctemplates/devdocs/meson.build b/giscanner/doctemplates/devdocs/meson.build
new file mode 100644
index 00000000..2037182a
--- /dev/null
+++ b/giscanner/doctemplates/devdocs/meson.build
@@ -0,0 +1,19 @@
+doc_templates += files([
+ 'Gjs/_doc.tmpl',
+ 'Gjs/_index.tmpl',
+ 'Gjs/_method.tmpl',
+ 'Gjs/_methods.tmpl',
+ 'Gjs/_properties.tmpl',
+ 'Gjs/_signals.tmpl',
+ 'Gjs/_staticmethods.tmpl',
+ 'Gjs/_vfuncs.tmpl',
+ 'Gjs/base.tmpl',
+ 'Gjs/callback.tmpl',
+ 'Gjs/class.tmpl',
+ 'Gjs/default.tmpl',
+ 'Gjs/enum.tmpl',
+ 'Gjs/function.tmpl',
+ 'Gjs/interface.tmpl',
+ 'Gjs/method.tmpl',
+ 'Gjs/namespace.tmpl',
+])
diff --git a/giscanner/doctemplates/mallard/meson.build b/giscanner/doctemplates/mallard/meson.build
new file mode 100644
index 00000000..5fe4e2af
--- /dev/null
+++ b/giscanner/doctemplates/mallard/meson.build
@@ -0,0 +1,63 @@
+base_templates = files([
+ 'base.tmpl',
+ 'class.tmpl',
+ 'namespace.tmpl',
+])
+
+c_templates = files([
+ 'C/callback.tmpl',
+ 'C/class.tmpl',
+ 'C/constructor.tmpl',
+ 'C/default.tmpl',
+ 'C/enum.tmpl',
+ 'C/field.tmpl',
+ 'C/function.tmpl',
+ 'C/interface.tmpl',
+ 'C/method.tmpl',
+ 'C/namespace.tmpl',
+ 'C/property.tmpl',
+ 'C/record.tmpl',
+ 'C/signal.tmpl',
+ 'C/vfunc.tmpl',
+])
+
+gjs_templates = files([
+ 'Gjs/callback.tmpl',
+ 'Gjs/class.tmpl',
+ 'Gjs/constructor.tmpl',
+ 'Gjs/default.tmpl',
+ 'Gjs/enum.tmpl',
+ 'Gjs/field.tmpl',
+ 'Gjs/function.tmpl',
+ 'Gjs/interface.tmpl',
+ 'Gjs/method.tmpl',
+ 'Gjs/namespace.tmpl',
+ 'Gjs/property.tmpl',
+ 'Gjs/record.tmpl',
+ 'Gjs/signal.tmpl',
+ 'Gjs/vfunc.tmpl',
+])
+
+py_templates = files([
+ 'Python/callback.tmpl',
+ 'Python/class.tmpl',
+ 'Python/constructor.tmpl',
+ 'Python/default.tmpl',
+ 'Python/enum.tmpl',
+ 'Python/field.tmpl',
+ 'Python/function.tmpl',
+ 'Python/interface.tmpl',
+ 'Python/method.tmpl',
+ 'Python/namespace.tmpl',
+ 'Python/property.tmpl',
+ 'Python/record.tmpl',
+ 'Python/signal.tmpl',
+ 'Python/vfunc.tmpl',
+])
+
+doc_templates += [
+ base_templates,
+ c_templates,
+ gjs_templates,
+ py_templates,
+]
diff --git a/giscanner/meson.build b/giscanner/meson.build
index 41edcd44..3d7dc678 100644
--- a/giscanner/meson.build
+++ b/giscanner/meson.build
@@ -53,17 +53,9 @@ configure_file(input : '../girepository/gdump.c',
install_subdir('doctemplates', install_dir: giscannerdir)
-# XXX: this doesn't track the input, but there is nothing to copy many files
-# in meson.
-doc_templates = custom_target('copy-templates',
- input : 'doctemplates',
- output : 'doctemplates',
- command : [
- python, '-c',
- 'import sys, shutil;' +
- 'shutil.rmtree(sys.argv[2], ignore_errors=True);' +
- 'shutil.copytree(sys.argv[1], sys.argv[2])',
- '@INPUT@', '@OUTPUT@'])
+doc_templates = []
+subdir('doctemplates/devdocs')
+subdir('doctemplates/mallard')
flex = find_program('flex', 'win_flex')
bison = find_program('bison', 'win_bison')
diff --git a/tests/scanner/meson.build b/tests/scanner/meson.build
index 5176b957..b81b3fd5 100644
--- a/tests/scanner/meson.build
+++ b/tests/scanner/meson.build
@@ -525,19 +525,26 @@ foreach gir : test_girs
endforeach
if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
+ doctool_env = environment()
+ doctool_env.set('srcdir', meson.current_source_dir())
+ doctool_env.set('builddir', meson.current_build_dir())
+
foreach language : ['C', 'Python', 'Gjs']
regress_docs = custom_target(
'generate-docs-' + language,
input: regress_gir,
- depends: [doc_templates],
+ depend_files: doc_templates,
build_by_default: not cairo_deps_found,
+ env: doctool_env,
output: 'Regress-1.0-' + language,
command: [
python, girdoctool,
'--add-include-path=' + join_paths(build_root, 'gir'),
'--add-include-path=' + meson.current_build_dir(),
'--language', language,
- '@INPUT@', '-o', '@OUTPUT@'],
+ '--templates-dir=' + join_paths(meson.current_source_dir(), '../../giscanner/doctemplates'),
+ '@INPUT@', '-o', '@OUTPUT@',
+ ],
)
if cairo_deps_found
@@ -546,10 +553,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
python,
args: [gi_tester, 'Regress-1.0-' + language],
depends: [regress_docs],
- env: [
- 'srcdir=' + meson.current_source_dir(),
- 'builddir=' + meson.current_build_dir(),
- ],
+ env: doctool_env,
)
endif
endforeach
@@ -557,9 +561,10 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
regress_sections = custom_target(
'generate-docs-sections',
input: regress_gir,
- depends: [doc_templates],
+ depend_files: [doc_templates],
build_by_default: not cairo_deps_found,
output: 'Regress-1.0-sections.txt',
+ env: doctool_env,
command: [
python, girdoctool,
'--add-include-path=' + join_paths(build_root, 'gir'),
@@ -574,10 +579,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
python,
args: [gi_tester, 'Regress-1.0-sections.txt'],
depends: [regress_sections],
- env: [
- 'srcdir=' + meson.current_source_dir(),
- 'builddir=' + meson.current_build_dir(),
- ],
+ env: doctool_env,
)
endif
endif
--
GitLab

@ -1,62 +0,0 @@
diff --git a/giscanner/docmain.py b/giscanner/docmain.py
index dab063ef2ead1f91b262eca1feab30936aba5d74..88430f05819a2133c488a2b736bcc9c2cf691b5e 100644
--- a/giscanner/docmain.py
+++ b/giscanner/docmain.py
@@ -51,6 +51,8 @@ def doc_main(args):
parser.add_argument("-s", "--write-sections-file",
action="store_const", dest="format", const="sections",
help="Backwards-compatible equivalent to -f sections")
+ parser.add_argument("--templates-dir",
+ action="store")
args = parser.parse_args(args[1:])
if not args.output:
@@ -74,7 +76,7 @@ def doc_main(args):
with open(args.output, 'w', encoding='utf-8') as fp:
write_sections_file(fp, sections_file)
else:
- writer = DocWriter(transformer, args.language, args.format)
+ writer = DocWriter(transformer, args.language, args.format, args.templates_dir)
writer.write(args.output)
return 0
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py
index d0cd610f2f343fd1263532127fdd3994cdeb059c..b72ab2ac9bc6a036623c996f6b96eeacf820b83a 100644
--- a/giscanner/docwriter.py
+++ b/giscanner/docwriter.py
@@ -1288,7 +1288,7 @@ LANGUAGES = {
class DocWriter(object):
- def __init__(self, transformer, language, output_format):
+ def __init__(self, transformer, language, output_format, templates_dir=None):
self._transformer = transformer
try:
@@ -1300,18 +1300,20 @@ class DocWriter(object):
self._formatter = formatter_class(self._transformer)
self._language = self._formatter.language
self._output_format = output_format
+ self._templates_dir = templates_dir
self._lookup = self._get_template_lookup()
def _get_template_lookup(self):
- if 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
+ if self._templates_dir is not None:
+ srcdir = self._templates_dir
+ elif 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
top_srcdir = os.environ['UNINSTALLED_INTROSPECTION_SRCDIR']
- srcdir = os.path.join(top_srcdir, 'giscanner')
+ srcdir = os.path.join(top_srcdir, 'giscanner', 'doctemplates')
else:
- srcdir = os.path.dirname(__file__)
+ srcdir = os.path.join(os.path.dirname(__file__), 'doctemplates')
- template_dir = os.path.join(srcdir, 'doctemplates',
- self._formatter.output_format)
+ template_dir = os.path.join(srcdir, self._formatter.output_format)
return TemplateLookup(directories=[template_dir],
module_directory=tempfile.mkdtemp(),

@ -1,82 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="xml"
inherit gnome.org meson python-single-r1 xdg
DESCRIPTION="Introspection system for GObject-based libraries"
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
LICENSE="LGPL-2+ GPL-2+"
SLOT="0"
IUSE="doctool gtk-doc test"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
# virtual/pkgconfig needed at runtime, bug #505408
RDEPEND="
>=dev-libs/gobject-introspection-common-${PV}
>=dev-libs/glib-2.58.0:2
dev-libs/libffi:=
doctool? (
$(python_gen_cond_dep '
dev-python/mako[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
')
)
virtual/pkgconfig
${PYTHON_DEPS}
"
# Wants real bison, not virtual/yacc
DEPEND="${RDEPEND}
gtk-doc? ( >=dev-util/gtk-doc-1.19
app-text/docbook-xml-dtd:4.3
app-text/docbook-xml-dtd:4.5
)
sys-devel/bison
sys-devel/flex
test? (
x11-libs/cairo[glib]
$(python_gen_cond_dep '
dev-python/mako[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
')
)
"
PATCHES=(
"${FILESDIR}"/${P}-meson-0.61.patch
"${FILESDIR}"/${P}-templates.patch
)
pkg_setup() {
python-single-r1_pkg_setup
}
src_configure() {
local emesonargs=(
$(meson_feature test cairo)
$(meson_feature doctool)
#-Dglib_src_dir
$(meson_use gtk-doc gtk_doc)
#-Dcairo_libname
-Dpython="${EPYTHON}"
#-Dgir_dir_prefix
)
meson_src_configure
}
src_install() {
meson_src_install
python_fix_shebang "${ED}"/usr/bin/
python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner
# Prevent collision with gobject-introspection-common
rm -v "${ED}"/usr/share/aclocal/introspection.m4 \
"${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die
rmdir "${ED}"/usr/share/aclocal || 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>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
<flag name="doctool">Install g-ir-doc-tool for generating documentation
from introspected data</flag>
</use>
</pkgmetadata>

@ -1 +0,0 @@
DIST olm-3.2.4.tar.bz2 479336 BLAKE2B 9de6b869c94a7f47b269b55526408ce6930ac5354495608038888f13efe72a6fab498c85c6ffe073a1f76391cbe4a83cfc6c65382d593bc487dafe64894ca0ed SHA512 94f661a2c9fe22f7dfefc89e488be37da2fe19dedd3ba296e09c55e63886ed82b71a30d84ecbdfa5dee820b1b6a918daefab248536c137459b8f244dc514920b

@ -1,15 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"

@ -1 +0,0 @@
DIST extlib-1.7.6.tar.gz 88068 BLAKE2B 32376c09728ec7e7d762888ad706641b94bcc976f2e1f42f246ba79fe862b60df7ff924e1e22e89333d8f2e1d999deb71eee481c3c5919aa5d1e02731f64f323 SHA512 3065e2474fb0e480ed076aa1156584a4a6c839cd5d9e59f341e41113abb1736241354aa7ee7cb492967698bc392969522fd5bf30d1ad7f94754c4e10f376afa8

@ -1,54 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib eutils
DESCRIPTION="Standard library extensions for O'Caml"
HOMEPAGE="https://github.com/ygrek/ocaml-extlib"
SRC_URI="https://github.com/ygrek/ocaml-extlib/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc +ocamlopt"
RDEPEND="
>=dev-lang/ocaml-3.10.2:=[ocamlopt?]
"
DEPEND="${RDEPEND}
dev-ml/cppo"
S="${WORKDIR}/ocaml-${P}"
src_prepare() {
epatch "${FILESDIR}/ocaml409.patch"
}
src_compile() {
cd src || die
emake -j1 all
if use ocamlopt; then
emake opt cmxs
fi
if use doc; then
emake doc
fi
}
src_test() {
emake -j1 test
}
src_install () {
findlib_src_install
# install documentation
dodoc README.md
if use doc; then
dodoc -r src/doc/
fi
}

@ -1,13 +0,0 @@
diff --git a/src/configure.ml b/src/configure.ml
index f13d63e..f735a8c 100644
--- a/src/configure.ml
+++ b/src/configure.ml
@@ -7,7 +7,7 @@ let () =
match Sys.argv with
| [|_;"-cppo-args"|] ->
let version = Scanf.sscanf Sys.ocaml_version "%d.%d." (fun major minor -> major * 100 + minor) in
- printf "-D \\\"OCAML %d\\\"\n" version;
+ printf "-n -D \\\"OCAML %d\\\"\n" version;
print_endline (if Sys.word_size = 32 then "-D WORD_SIZE_32 " else "");
show_bytes "-D WITH_BYTES";
exit 0

@ -1,32 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=AJGB
DIST_VERSION=0.06
inherit perl-module flag-o-matic
DESCRIPTION="Shared secret elliptic-curve Diffie-Hellman generator"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Exporter
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Spec
virtual/perl-IO
virtual/perl-Test-Simple
)
"
src_compile() {
grep -rl "fmul" ./ | xargs sed -i 's/fmul/fixedvar/g'
default
}

@ -1 +0,0 @@
DIST Crypt-Curve25519-0.06.tar.gz 27835 BLAKE2B 39ab90ae4044e897a9cf24c21d5a922520dc1724e0aa4612864ce996b27fe9234111cc8394f60caeac9734cab64f3a378a74b3eaf087ee5e6b3d168fa967f5bf SHA512 e5d351c36c9f60e1b55f45bf9fa871fddf949bd5c0a20b4d065e1eb2d4e24ba43807289591eda854fca28b5909fd6af1b0fc9ede63efbeeaf6e011e7382a4e1d

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Crypt-Curve25519</remote-id>
<remote-id type="cpan-module">Crypt::Curve25519</remote-id>
</upstream>
</pkgmetadata>

@ -1,16 +1 @@
DIST eclipse-java-2018-09-R-linux-gtk-4.9.0.tar.gz 194641740 BLAKE2B 9b4d895e713d2b43c2eef2e8c781b5864b548de55cbfe873b506a261650a42a56d5ab3bacbbcfa7641b9fb302fb37a14fa14a8c9b00e4d37073e28690d332a86 SHA512 24208e95b972e848d6b65ed8108d9e81584cf051397f2f43fb6269f5a625b8d7552ad77c7980a1a5653c87f06776e2926fd85607aae44e44657b4f6cc9b3e2e3
DIST eclipse-java-2018-09-R-linux-gtk-x86_64-4.9.0.tar.gz 194820279 BLAKE2B 345dc26bf364c8f55f2c864c4ac53101a8243a117bb9a7e920103ca30e6775182aedf3e15c9a730c5bd0844bf00cba86036fc351a24cabf1333c851703b75557 SHA512 9dac5d040cdabf779de3996de87290e352130c7e860c1d0a98772f41da828ad45f90748b68e0a8a4f8d1ebbbbe5fdfe6401b7d871b93af34103d4a81a041c6a5
DIST eclipse-java-2018-12-R-linux-gtk-x86_64-4.10.1.tar.gz 189224734 BLAKE2B 53c21adbae65203a323b71fc42672dac7392ba182e36a691cdf1ae5513e516ac58b765cfd3da28d7431ceb0d43fd3b575b84d0ddb342a284f362ff23e77183c9 SHA512 d2f8c4af2bb219c24ed8d22dd59a31453bf0e03c34376edfe99099c6ae3996524bc393fef6ef3886aed9fa397fef346baba40658199df8561e4fd578f3e0d2ba
DIST eclipse-java-2019-09-R-linux-gtk-x86_64-4.13.0.tar.gz 207097270 BLAKE2B 8956b920b8f5dd7107a7defc353daddc1a931392af8ecad8a72f98b6d6f6efc224619a9b8b036852aad4fdd029b5a4183b7848d463ff95351f15fed8c0796b97 SHA512 eb408902f079d6666863bc318a0586589be9a86e4cd57125ef1f97eb4f4a9d6b70aa52ea23129f5f95eb513c3ce1889683516d91e85a484fcae7328fa8e1eeff
DIST eclipse-java-2019-12-R-linux-gtk-x86_64-4.14.0.tar.gz 206381762 BLAKE2B 4536ba7d2a6875420bbcbc2f66c5d7c8bedae9ec864e066bcdc27ba2c64f51fbf8c9187531373cacb83f7935f1209daac196646d0c3fe112f075651e4dfb9c92 SHA512 358d1c6c6900d3cfcf9d89a32228695206902297a7f74c440981660c7e4db810fae22e721e78b4d7df84b3bf951f91b1ba87dcd1fe9c7b00235b87f8633f4883
DIST eclipse-java-2020-03-R-linux-gtk-x86_64-4.15.0.tar.gz 201754965 BLAKE2B aaf82de630bac3c0e0e097d0c78c4796a7913acf7824226c60d0c9dbc7c5f38fab874cbd30e059b3c87c10a605baa71423b6841ba5f99bf27e088e30fd507c88 SHA512 c9390723fe39e86c7c75fce130a2a46e75c43970e1d801b4025f969369dfe6ce75cb990f8208918a89c04f371300ec482ed8e4fd74ab28252219c64f0107e51c
DIST eclipse-java-mars-R-linux-gtk-4.5.2.tar.gz 169974282 BLAKE2B b102833e991c8d385d343d6b8301e992b66cd1e566efbadd58de63cfd48d0ee4a79ad9c89844bb44f38fbf66218ac82a7b40c098c7a2bed05d727ab7b53c250d SHA512 de17412b82c6150268142e99858f26641b465c1c296a1a13d413a47226dc9a01db26bd07985c926b5fe80e0225ff7b3e0ef35137fce31e0bb261ae5cc96cc888
DIST eclipse-java-mars-R-linux-gtk-x86_64-4.5.2.tar.gz 170118332 BLAKE2B 411dfb7d0d5a31fb1c7d3367ce58697a94efdcc9a7e6b955e235017ad2b4b8d952fb6cf830228674425ce2b47af33adc2db85f791496754babe22b840f6a85a1 SHA512 9997a23d29e95c91177cd7460291caab46f04ca9b4af52b724c0d61577a16fa69b0aa4cdd01322aba21a05da24380d3f9395f799be4af8fc41c373353573a517
DIST eclipse-java-neon-3-linux-gtk-4.6.3.tar.gz 167943703 BLAKE2B 88082363915bf6300a585284f0d7d8805d3424d74e824586d0b78fbb16e6ad9127c8cd4fa172078ada422143c2d41147298312048bec21657ffba9198be7b9fc SHA512 bc7008af20563d737ad88cc9da3fabd97be7049ff13f85cb969747c4ac74d33fa95b4bb993e290179096a72e3ea11600725483ff8dd06eab79b3100698a9a8e2
DIST eclipse-java-neon-3-linux-gtk-x86_64-4.6.3.tar.gz 168093851 BLAKE2B b2d4780066ba5cf6279f81814299e71a09fb3cc28bc248ac3b1ea3030384551360e4046b7058c71207cb5d507bbbffaafc8e933281ac97baf628b231859cd643 SHA512 d1e406ae050b02771cf97ff87b394c50ecb7220f14194efbeb3511c142b66f32d4426c8f88b26e5225059b9796b940dd221e0dc3bf0780991fac65f5b4e362a8
DIST eclipse-java-oxygen-2-linux-gtk-4.7.2.tar.gz 186991132 BLAKE2B e49f9ab43a08b8277d9bd484efb4200ca48e875d4431b697bb03b7d266983a1b4c71555f5e79cee19e95e2b265de491f90a627febcf792fb46c95585a480c6d5 SHA512 0f41757ca65f031290b6419a36493f356fea7be48c8bf47478bd32cf02c7dcda24eb6a0ed6053f90bced43f707d5675bdd12fbfbedb897299c87f7aa4a449095
DIST eclipse-java-oxygen-2-linux-gtk-x86_64-4.7.2.tar.gz 187103425 BLAKE2B f4806fc5a940f1629531152ef153d5e6e65aefff6acb4357627d7cbfa9f81d70320161ba4584a5f0d32d7e4d3bc247f3548614b776d1072c2b99fe281a37b9da SHA512 761c1aac58fb3b1431cfbff0ac392fddeb651bb8f884d37964bb9ee0e82521302cdca7c80b1253a811ce0c6f5f3271ef4e884b037fab43146eb4de42a6572711
DIST eclipse-java-oxygen-3-linux-gtk-4.7.3.tar.gz 187111488 BLAKE2B 9bad8aa2be242ab0a2f50858743c460f48a5486fd2407361ce01ded98e633c551998c567685f05ceda27d935f0766dc085b32dd40405abe2a658598c5b867ec0 SHA512 25f01169805c0598d0918b5a790bf521dd3b6ac76d265cbdd76a3f3dc21fc549ee03581c6cb27e914e395d34bb977edf553c2c98c2127f08b93e67a267ff4aca
DIST eclipse-java-oxygen-3-linux-gtk-x86_64-4.7.3.tar.gz 187218250 BLAKE2B 82951e9cd04a64b6da0240e234c9f904cff7979fb6188f21db91a030e9eb147621882b3c4f979da9c973b28967dfc1b8b2cb672baeb9a45e917f943e470c376f SHA512 c8238731def1d61cbf69fd2f5602af61fc5b3e9f6e9bdaa8057c01ecd2b071c3717ec69195e1f03f52f1dc8b3eff3172daf3192d519e8d104e0d6d411b7478c2
DIST eclipse-java-photon-R-linux-gtk-4.8.0.tar.gz 201370116 BLAKE2B 5699db5384a0bbe9260fd66b0cd2b345afad7b393e5249ab2ccd7fb21c2b982e16f859cece03fc82a92ab684e2ee2d10b9fe20e98863c69ac8ac2655038bfb35 SHA512 526b6814808937ce54fc67699f373ce83c1d4781be44a2a4d3e96c59e0d11beb4b58dbda6060e9f1202628f12cde795936b52c83c5846922935dc82dfd16a5c6
DIST eclipse-java-photon-R-linux-gtk-x86_64-4.8.0.tar.gz 201489834 BLAKE2B 01928c812a6dd89653ad938afc661856e32f7c2ecd4728abee4cde3eb14a9471d18de7479d98e03926fdab8e256ee1d2bb9c210a57732eed20ab81eaa67870fc SHA512 1fa541e3bb7b1dac01ba01a9a54445f7acc718edfbb00a8edb5af9b0ece46367e8841b8f0d0cc59cf2a0948465d10ae6420c0dcebc46582248514cc2026287c3

@ -1,49 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit eutils versionator
SR="R"
RNAME="2018-12"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz"
LICENSE="EPL-1.0"
SLOT="4.10"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,49 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit eutils versionator
SR="R"
RNAME="2019-09"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.13"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,49 +0,0 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit eutils versionator
SR="R"
RNAME="2019-12"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.14"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils versionator
SR=R
RNAME="mars"
SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.5"
KEYWORDS="x86 amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.6
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils versionator
SR=3
RNAME="neon"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.6"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils versionator
SR="2"
RNAME="oxygen"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.7"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils versionator
SR="3"
RNAME="oxygen"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.7"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils versionator
SR="R"
RNAME="photon"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.8"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit eutils versionator
SR="R"
RNAME="2018-09"
SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.9"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.8
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r readme/*
cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
insinto /etc
newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,46 +0,0 @@
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="%SLOT%"
[ -f "/etc/eclipserc-bin-${SLOT}" ] && . "/etc/eclipserc-bin-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/opt/eclipse-sdk-bin-%SLOT%"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit 1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr
exit 1
fi
case "$(java-config -f)" in
*gcj*)
export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
;;
esac
#eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1,20 +0,0 @@
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m

@ -1 +0,0 @@
DIST qgit-2.9.tar.gz 263875 BLAKE2B 8ec1235c760f2473a0700e7033ab99f3e72f019dee47761b86999a7de173132cf6592e9f5652b68285cd126adc4efffb5688944f34be2686683727354ab041c5 SHA512 2c91e02d0a7ea1e4620882520c77b47ff9b28fb9c9f9d178bf98b3e728e600e8d86a9e6e4cd60c33dbe63ced3636934fb7cdd6b0d5fa58182873675e3f97cc33

@ -1,11 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<remote-id type="github">tibirna/qgit</remote-id>
</upstream>
</pkgmetadata>

@ -1,33 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake xdg
DESCRIPTION="Qt GUI for git repositories"
HOMEPAGE="https://github.com/tibirna/qgit"
SRC_URI="https://github.com/tibirna/qgit/archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
IUSE=""
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}
dev-vcs/git
!dev-vcs/qgit:2
"
S="${WORKDIR}/${PN}-${P}"
DOCS=( README.adoc )
src_prepare() {
cmake_src_prepare
}

@ -1 +1 @@
DIST steam_1.0.0.71.tar.gz 3432069 BLAKE2B 10cea5d3f31cd55401d68831f95a593e62a41b274cfd6e1da10585249a43e7e21f8d281e9df2b3407ceccbbec401be5d75a9951c5787cef49686acc8431e14a0 SHA512 20205ccd14dd1b48b85a3288cdce39116a601260e70b9d5811cb1786be766f235153d199e64dd4e794553c5957ce41e9b671cf044f2bdddbb0f99f0c1e08b83e
DIST steam_1.0.0.74.tar.gz 3604858 BLAKE2B dbe02066d08530378ff922daf8733ad373c0eae9be94479aba94077a0f5c093afc39a95c6770494655af1c33895c981219418f8d4024c391a337d16ec32253c1 SHA512 2a08d9bb6e17a481c577b6aad7d53b51c7d9f6638aaccffc6b9f750dca4a1f9d12c02fd1446c174e979605ef29bdc10fc8249fd97fe79d62934efe26f4ac7369

@ -7,15 +7,6 @@ export STEAM_RUNTIME
# Gentoo's lsb-release doesn't set this.
export DISTRIB_RELEASE="@@PVR@@"
# Find joystick devices to make Steam's old SDL library use them.
IFS=$'\n'
for f in $(find /dev/input -maxdepth 1 -type c | sort --version-sort); do
if udevadm info --query=property --name="$f" 2>/dev/null | grep --quiet ID_INPUT_JOYSTICK=1; then
export SDL_JOYSTICK_DEVICE+=${SDL_JOYSTICK_DEVICE+:}$f
fi
done
unset IFS
# Add paths to occasionally needed libraries not found in /usr/lib.
export LD_LIBRARY_PATH+="${LD_LIBRARY_PATH+:}@@GENTOO_LD_LIBRARY_PATH@@"

@ -14,7 +14,7 @@ SRC_URI="https://repo.steampowered.com/steam/archive/stable/steam_${PV}.tar.gz"
LICENSE="ValveSteamLicense MIT"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="amd64"
IUSE="+joystick +steamruntime +udev"
RESTRICT="bindist mirror test"
@ -56,8 +56,9 @@ pkg_setup() {
linux-info_pkg_setup
if ! { linux_config_exists && linux_chkconfig_present INPUT_UINPUT; }; then
ewarn "If you want to use the Steam controller, please make sure"
ewarn "CONFIG_INPUT_UINPUT is enabled in your kernel config."
ewarn "If you want to use Steam Input's virtual controller"
eawen "implementation, please make sure CONFIG_INPUT_UINPUT"
ewarn "is enabled in your kernel config."
# Device Drivers
# -> Input device support

@ -1,2 +0,0 @@
DIST utsushi-20210116.tar.gz 5977031 BLAKE2B 0461cd2148cf1b7f41641f5b23994ac755743ca312c02519c03c33c762b5b967e1dadcd2a2d46a96c23023c5e3846bd8b99ea2e388a2cfd3d627d5133f1f1e4d SHA512 0dd798593e82b4308fa9b01920061dc3f91cfb0383b6061430b68700928a13cc1719d289e95fa375647bccb059a6a95b83d99eed080cd2ef8d1f383b71627bea
DIST utsushi-20210526.tar.gz 5984192 BLAKE2B e5dffc3a481548365d63623ae2963c18f07350ab8e52b56dd35ec47b0bb4e8d1f9fa0effe06b6d27074d6cc2dfaedb71d2bc5db6fdc5fb0550fe4bdd0f37ce10 SHA512 82f20e0c03a1fc9217caab30e18e77a42b353e37c8432d671d1e9b0296a665e03c5b0db015d024480b3a138499ace0d48a66c6776ee7c9b49919eace34d6de59

@ -1,44 +0,0 @@
diff -urN a/drivers/esci/verify.cpp b/drivers/esci/verify.cpp
--- a/drivers/esci/verify.cpp 2019-11-18 04:08:45.000000000 +0200
+++ b/drivers/esci/verify.cpp 2020-05-09 20:22:00.899968638 +0300
@@ -58,6 +58,7 @@
using namespace utsushi;
using namespace _drv_::esci;
+using namespace boost::placeholders;
using std::basic_string;
using std::ios_base;
diff -urN a/lib/monitor.cpp b/lib/monitor.cpp
--- a/lib/monitor.cpp 2019-11-18 04:08:08.000000000 +0200
+++ b/lib/monitor.cpp 2020-05-09 20:22:26.392174029 +0300
@@ -49,6 +49,7 @@
namespace utsushi {
using boost::filesystem::exists;
+using namespace boost::placeholders;
class monitor::impl
{
diff -urN a/sane/handle.cpp b/sane/handle.cpp
--- a/sane/handle.cpp 2019-11-18 04:08:08.000000000 +0200
+++ b/sane/handle.cpp 2020-05-09 20:21:49.559223712 +0300
@@ -65,6 +65,7 @@
using utsushi::_flt_::deskew;
using utsushi::_flt_::autocrop;
using utsushi::_flt_::pnm;
+using namespace boost::placeholders;
namespace sane {
--- utsushi-0.62.0/gtkmm/pump.cpp.orig 2019-11-18 03:08:48.000000000 +0100
+++ utsushi-0.62.0/gtkmm/pump.cpp 2020-05-10 21:59:32.986379049 +0200
@@ -31,6 +31,8 @@
namespace utsushi {
namespace gtkmm {
+using namespace boost::placeholders;
+
pump::pump (idevice::ptr idev)
: utsushi::pump (idev)
, idev_ptr_(idev)

@ -1,28 +0,0 @@
diff --git a/outputs/tiff.cpp b/outputs/tiff.cpp
index c3b8cd1..21e7b74 100644
--- a/outputs/tiff.cpp
+++ b/outputs/tiff.cpp
@@ -273,7 +273,7 @@ tiff_odevice::boi (const context& ctx)
TIFFSetField (tiff_, TIFFTAG_SAMPLESPERPIXEL, ctx.comps ());
- uint16 pm = 0; // uint16 is courtesy of tiffio.h
+ uint16_t pm = 0; // uint16 is courtesy of tiffio.h
if (8 == ctx.depth())
{
if (3 == ctx.comps())
diff --git a/outputs/tiff.hpp b/outputs/tiff.hpp
index 8402174..8fcd30f 100644
--- a/outputs/tiff.hpp
+++ b/outputs/tiff.hpp
@@ -53,8 +53,8 @@ protected:
private:
TIFF *tiff_;
- uint32 page_;
- uint32 row_;
+ uint32_t page_;
+ uint32_t row_;
boost::scoped_array< octet > partial_line_;
streamsize partial_size_;

@ -1,82 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools eutils multilib toolchain-funcs udev
COMMIT="ab7063358c9819dd37129c6ba58da1009302bdd7"
DESCRIPTION="SANE backend driver for newer Epson scanners (DS, ET, PX, etc)"
HOMEPAGE="https://gitlab.com/utsushi/utsushi"
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="gtk jpeg +network nls openmp tiff udev"
# These are needed by utsushi's 'bootstrap':
# dev-libs/gnulib
# sys-devel/autoconf-archive
# sys-devel/autoconf-wrapper
# sys-devel/automake-wrapper
# sys-devel/gettext
# sys-devel/libtool
# sys-devel/patch
DEPEND="
sys-devel/autoconf-archive
sys-devel/autoconf-wrapper
sys-devel/automake-wrapper
sys-devel/gettext
media-gfx/imagemagick
media-gfx/sane-backends
>=dev-libs/libusb-1.0.22
>=dev-libs/boost-1.50.0
gtk? ( dev-cpp/gtkmm:2.4 )
jpeg? ( virtual/jpeg:0 )
tiff? ( media-libs/tiff:0= )
udev? ( virtual/udev )
"
RDEPEND="
${DEPEND}
network? ( media-gfx/epson-ds-plugins )
"
PATCHES=(
# Fixes building on boost 1.73
# https://bugs.gentoo.org/721696
"${FILESDIR}/${PN}-9999-boost-1.73.patch"
)
S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
default
sed -i "s/m4_esyscmd_s(\[git describe --always\])/${PV}/" ${S}/configure.ac
# utsushi requires using this bootstrap wrapper in lieu of autotools
${S}/bootstrap || die
# Create SANE configuration directory (used by sane/Makefile.am to create
# utsushi backend config)
dodir /etc/sane.d/dll.d
}
src_configure() {
econf \
--with-boost-system \
--with-sane \
--with-sane-confdir="${EPREFIX}"/etc/sane.d \
--with-magick \
--with-magick-pp \
$(use_with gtk gtkmm) \
$(use_with jpeg) \
$(use_enable nls) \
$(use_enable openmp) \
$(use_with tiff) \
$(use_enable udev udev-config) \
$(use_with udev udev-confdir "$(get_udevdir)")
#$(use_with udev udev-confdir "${EPREFIX}"/lib/udev)
}

@ -1,83 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools eutils multilib toolchain-funcs udev
COMMIT="7d9d76ad783b567028ff06aa971d348447bd4b28"
DESCRIPTION="SANE backend driver for newer Epson scanners (DS, ET, PX, etc)"
HOMEPAGE="https://gitlab.com/utsushi/utsushi"
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="gtk jpeg +network nls openmp tiff udev"
# These are needed by utsushi's 'bootstrap':
# dev-libs/gnulib
# sys-devel/autoconf-archive
# sys-devel/autoconf-wrapper
# sys-devel/automake-wrapper
# sys-devel/gettext
# sys-devel/libtool
# sys-devel/patch
DEPEND="
sys-devel/autoconf-archive
sys-devel/autoconf-wrapper
sys-devel/automake-wrapper
sys-devel/gettext
media-gfx/imagemagick
media-gfx/sane-backends
>=dev-libs/libusb-1.0.22
>=dev-libs/boost-1.50.0
gtk? ( dev-cpp/gtkmm:2.4 )
jpeg? ( virtual/jpeg:0 )
tiff? ( media-libs/tiff:0= )
udev? ( virtual/udev )
"
RDEPEND="
${DEPEND}
network? ( media-gfx/epson-ds-plugins )
"
PATCHES=(
# Fixes building on boost 1.73
# https://bugs.gentoo.org/721696
"${FILESDIR}/${PN}-uint.patch"
"${FILESDIR}/${PN}-9999-boost-1.73.patch"
)
S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
default
sed -i "s/m4_esyscmd_s(\[git describe --always\])/${PV}/" ${S}/configure.ac
# utsushi requires using this bootstrap wrapper in lieu of autotools
${S}/bootstrap || die
# Create SANE configuration directory (used by sane/Makefile.am to create
# utsushi backend config)
dodir /etc/sane.d/dll.d
}
src_configure() {
econf \
--with-boost-system \
--with-sane \
--with-sane-confdir="${EPREFIX}"/etc/sane.d \
--with-magick \
--with-magick-pp \
$(use_with gtk gtkmm) \
$(use_with jpeg) \
$(use_enable nls) \
$(use_enable openmp) \
$(use_with tiff) \
$(use_enable udev udev-config) \
$(use_with udev udev-confdir "$(get_udevdir)")
#$(use_with udev udev-confdir "${EPREFIX}"/lib/udev)
}

@ -1,9 +0,0 @@
DIST asterisk-moh-opsound-alaw-2.03.tar.gz 7496413 BLAKE2B f60706f52de7fb7bcf8f38e3705c35a81fc1aa24ccdfa86454aee555a503964785989a6a1c16239392ece744e9f50bdc27d2bd5e34d8e883e491965ad5ea622e SHA512 1bb77320c015c81fb35d31accf2c854394300053ab7be77e2e6c7fe2a603bdd3b82a6ed8e05889862177f955fcd4cac56281bf4a76fa20c6b4ac7538633a0b27
DIST asterisk-moh-opsound-g722-2.03.tar.gz 7924391 BLAKE2B e5004eefd745166386d02bfdb08589d9dad5e8967d4f207bb86e4f84b253034d87090c93a91d515abe3d6eb968efff2c84f774afa94b6ba607e501fbb240b238 SHA512 36e0ac3293b259c975e0e0e6ede45e8f82345cdbe9941880029d1767b11d51265770424588d39c8aa02fde221a824ceedbde46e827f22e7c7216989b6c4322f6
DIST asterisk-moh-opsound-g729-2.03.tar.gz 1103000 BLAKE2B 9ee1ac52e4aae671b6a080f7637953229a30bdee8d3e1e33a9d96bb6016bf43bd34edfa68fb05d3078c897c55d32efa664c0191c63db1b675d6d0a0c79bd2aa6 SHA512 51f5b69848ca88b3f44f3f80dfed3de137db1736a83cf56839e327aa7072ed35bda0788b09d6581fbb0bb2def17f58138ff0f9b78aa29f6e70b729a76ef43f8b
DIST asterisk-moh-opsound-gsm-2.03.tar.gz 1777967 BLAKE2B 1ca4ed3e068c18b4d854fb6ef4c07c5271e60289cf82fca864ee6b434e1b96aa6dead77d70bba0a003e0260b400e438c9e894c188fcc78404d2410cb12c06e1a SHA512 ba60be1945589cf09d6d77617cce52bd0960cb99aa16ae5bb8d96b3c3ec45a47dbfc91e6d8e736b2f153e3ae48f4b04dff8b72a1862bd7b25e493a0e928743d4
DIST asterisk-moh-opsound-siren14-2.03.tar.gz 6518720 BLAKE2B 8613b1eea5d329d270fa76079dc2e39811882fcadd1ad67413d12e73d293cdd3ac2c88889ac85a19901a55734bbe93d8863650ae2392f76ab183ed4a3feffd44 SHA512 6016681ef1823ccbe35c9a6f286621700243bc4d92e3793af3a77683c1b1c4f168c4a8875efb6d8fa709259ebf5ac637d849a7d168632ef562f705a984fb692c
DIST asterisk-moh-opsound-siren7-2.03.tar.gz 4233366 BLAKE2B b628d092b47997b1cd2c5b9fa75a6b37c289c433c01fc034569252f131f166007a7db3e3a9246186a810be937efcbbe37a81ee24b9108c26a97085cf934dc1dd SHA512 26542a7128f9ab266a70c8b8241a3117dfc0f555c11d53095b485573bfce2d51a2d23eedc9209dc1809529edd4b115a3fbde7d59993851ec1438c5c4749180e9
DIST asterisk-moh-opsound-sln16-2.03.tar.gz 31309094 BLAKE2B 1567b63c6e93ea70a1ff3452ed7a0a457bb118a2605248d5fd9cae11ac72ef53e8bb663fb826031a8c680715194d05bb6c0abc7ff7597e62f61608ab403437ba SHA512 e5555af8f08720c01bff19200efb7f139dcbb9d1ffa168716dbf93bed97009a441bfe63080c9ca7b15db2c98fe5839d311c39cdf8c0a8a40f8dd93a89b8a11b6
DIST asterisk-moh-opsound-ulaw-2.03.tar.gz 7479839 BLAKE2B 87ae22a72ab6da7358fe887af5562a701bca89bec35d7f72644cb6f691e0619671bfacd02ec0f0f269447dad1cd050f144b22254af3812268fbabb1944056bc5 SHA512 2827b635a61e520bb0efb8c5e77ce0d1319d58c027cd3721819b58e4136918b7767c5776a4ca02f675cdb35d6f40154fc863eb7d7cb702a637fe9ec966fe13c1
DIST asterisk-moh-opsound-wav-2.03.tar.gz 15359473 BLAKE2B a3e9ddf0d54989f07c581facfe4f157120e2b2ae9dbba84bb2edb85ec4bdb98db5bc4783924af0845920d3736c5a512a7615effdf8c4f0b212ea347193efd115 SHA512 e8fefcac32ac88735519f3f9df766d77d1007c8e98952c396943966dd554d4237177f7fbfbb707a838b5f4d479c13c6b4bfecd62d78ba5ea40b248d1bf007872

@ -1,51 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
DESCRIPTION="asterisk moh music"
HOMEPAGE="http://www.asterisk.org/"
CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav"
SRC_URI=""
for c in ${CODECS}; do
SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${c#+}-${PV}.tar.gz )"
done
IUSE="${CODECS}"
LICENSE="CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
DEPEND=">=net-misc/asterisk-1.4"
src_install() {
local c
for c in ${CODECS}; do
if use ${c#+}; then
for pf in CREDITS LICENSE CHANGES; do
dodoc "$pf-$PN-${c#+}"
rm "$pf-$PN-${c#+}"
done
fi
done
diropts -m 0770 -o asterisk -g asterisk
insopts -m 0660 -o asterisk -g asterisk
dodir /var/lib/asterisk/moh
insinto /var/lib/asterisk/moh
doins -r .
}
pkg_postinst() {
local c has_once_codec=
for c in ${CODECS}; do
use ${c#+} && has_one_codec=1
done
[ -n "${has_one_codec}" ] || ewarn "You have none of the codec use flags (${CODECS}) set. You need to have at least one set in order for this package to be useful."
}

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chainsaw@gentoo.org</email>
<name>Tony Vroon</name>
</maintainer>
<use>
<flag name="alaw">Install the sounds files for the alaw codec.</flag>
<flag name="g722">Install the sounds files for the g722 codec.</flag>
<flag name="g729">Install the sounds files for the g729 codec.</flag>
<flag name="gsm">Install the sounds files for the +gsm codec.</flag>
<flag name="siren7">Install the sounds files for the siren7 codec.</flag>
<flag name="siren14">Install the sounds files for the siren14 codec.</flag>
<flag name="sln16">Install the sounds files for the sln16 codec.</flag>
<flag name="ulaw">Install the sounds files for the ulaw codec.</flag>
<flag name="wav">Install the sounds files for the wav codec.</flag>
</use>
</pkgmetadata>

@ -1 +0,0 @@
DIST dleyna-server-0.7.0.tar.gz 105020 BLAKE2B 01e4459631fef66e88aabcadfd85a4b01a5b95d33b5c1734decd1b0667876d7e5834bf23f754361772faebd7daf63d5f37cff9cb9bd11ff47c62aeb7afdb4969 SHA512 16bcab369a4d4624f75ed5d40bb5a06cafa1907b3ceceeb0de95f9f00750c257b69202f29f9c2d1ebcd61c541ee930d7a2747dab979e15a74e9a6e109eae6800

@ -1,35 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="Service that allows to discover and manipulate DLNA Digital Media servers (DMS)"
HOMEPAGE="https://github.com/phako/dleyna-server"
SRC_URI="https://github.com/phako/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="
>=dev-libs/glib-2.36:2
>=net-libs/gssdp-1.2:0=
>=net-libs/gupnp-1.2:0=
>=net-libs/gupnp-av-0.11.5
>=media-libs/gupnp-dlna-0.9.4:2.0
>=net-libs/libsoup-2.28.2:2.4
>=net-libs/dleyna-core-0.6.0:1.0=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-libxml2.patch
)
src_prepare() {
default
eautoreconf
}

@ -1,22 +0,0 @@
diff -urNp dleyna-server-0.7.0.orig/libdleyna/server/meson.build dleyna-server-0.7.0/libdleyna/server/meson.build
--- dleyna-server-0.7.0.orig/libdleyna/server/meson.build 2021-04-08 14:37:37.000000000 +0300
+++ dleyna-server-0.7.0/libdleyna/server/meson.build 2021-05-29 19:57:37.249535899 +0300
@@ -30,6 +30,7 @@ libdleyna_server = library(
gupnp_dlna,
soup,
math,
+ libxml2,
config_h
],
install: true,
diff -urNp dleyna-server-0.7.0.orig/meson.build dleyna-server-0.7.0/meson.build
--- dleyna-server-0.7.0.orig/meson.build 2021-05-29 19:43:13.084924886 +0300
+++ dleyna-server-0.7.0/meson.build 2021-05-29 19:56:31.435711449 +0300
@@ -73,6 +73,7 @@ gupnp_av = dependency('gupnp-av-1.0', ve
gupnp_dlna = dependency('gupnp-dlna-2.0', version: '>= 0.9.4')
soup = dependency('libsoup-2.4', version: '>= 2.28.2')
dleyna_core = dependency('dleyna-core-1.0', version: '>= 0.6.0')
+libxml2 = dependency('libxml-2.0', version: '>= 2.9.10')
cc = meson.get_compiler('c')
math = cc.find_library('m', required: false)

@ -1 +0,0 @@
DIST cifparse-obj-v7.025-prod-src.tar.gz 928484 BLAKE2B 4f510f4826e235ecd87d81d51ceef84b717bb0c174f4a263cae44765bd0ddb35e2bb6edce1c5cadcf18c5e9892630f43cda2ca004f09d84dc44499d457eef5c1 SHA512 bf5d6b55592aca8678396eb9819f5bd7bff4d912410590dfb750c9ad85bdcdbd251425c45b67e2db027a8ce8d028b77c91edcc5333279ed1190f6049c01f5cc9

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils toolchain-funcs
MY_P="${PN}-v${PV}-prod-src"
DESCRIPTION="Provides an object-oriented application interface to information in mmCIF format"
HOMEPAGE="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/index.html"
SRC_URI="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/source/${MY_P}.tar.gz"
LICENSE="PDB"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
RDEPEND=""
DEPEND="
sys-devel/bison
sys-devel/flex"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-makefile.patch \
"${FILESDIR}"/${P}-gcc4.3.patch \
"${FILESDIR}"/${P}-gcc4.7.patch \
"${FILESDIR}"/${P}-gcc5_6_7.patch \
"${FILESDIR}"/${PN}-7.025-strncasecmp-declaration.patch
sed \
-e "s:^\(CC=\).*:\1$(tc-getCC):g" \
-e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \
-e "s:^\(F77=\).*:\1${FORTRANC}:g" \
-e "s:^\(F77_LINKER=\).*:\1${FORTRANC}:g" \
-e "s:-static::g" \
-i "${S}"/etc/make.* || die "Failed to fix makefile"
}
src_compile() {
# parallel make fails
emake -j1
}
src_install() {
dolib.a lib/*
insinto /usr/include/${PN}
doins include/*
}

@ -1,87 +0,0 @@
diff -Naur cifparse-obj-v7.025-prod-src/cif-file-v1.0/src/CifFile.C cifparse-obj-v7.025-prod-src.new/cif-file-v1.0/src/CifFile.C
--- cifparse-obj-v7.025-prod-src/cif-file-v1.0/src/CifFile.C 2008-02-06 07:17:50.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/cif-file-v1.0/src/CifFile.C 2008-09-03 09:36:41.000000000 -0400
@@ -153,6 +153,7 @@
// VLAD - Carefully examine all methods that accept with, for cases where
// with is 0. This may happen if the value is empty !!
+#include <algorithm>
#include "GenString.h"
#include "CifString.h"
#include "regex.h"
diff -Naur cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest3.C cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest3.C
--- cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest3.C 2008-02-06 07:17:51.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest3.C 2008-09-03 09:40:12.000000000 -0400
@@ -1,4 +1,5 @@
#include <iostream>
+#include <cstdlib>
#include "GenString.h"
#include "CifFile.h"
diff -Naur cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest7.C cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest7.C
--- cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest7.C 2008-02-06 07:17:51.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest7.C 2008-09-03 09:40:42.000000000 -0400
@@ -3,6 +3,7 @@
*/
#include "CifFile.h"
#include <iostream>
+#include <cstdlib>
void FillTestTable(ISTable *s);
void TwoCifFileObj();
diff -Naur cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest8.C cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest8.C
--- cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/FOtest8.C 2008-02-06 07:17:51.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/FOtest8.C 2008-09-03 09:41:06.000000000 -0400
@@ -1,6 +1,7 @@
/* Test for reading binary files of two different versions*/
#include "CifFile.h"
#include <iostream>
+#include <cstdlib>
#define FALSE 0
diff -Naur cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/SdbReader.C cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/SdbReader.C
--- cifparse-obj-v7.025-prod-src/cifparse-test-v1.0/src/SdbReader.C 2008-02-06 07:17:51.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/cifparse-test-v1.0/src/SdbReader.C 2008-09-03 09:41:50.000000000 -0400
@@ -1,4 +1,5 @@
#include <iostream>
+#include <cstdlib>
#include "CifFile.h"
diff -Naur cifparse-obj-v7.025-prod-src/common-v4.5/src/GenString.C cifparse-obj-v7.025-prod-src.new/common-v4.5/src/GenString.C
--- cifparse-obj-v7.025-prod-src/common-v4.5/src/GenString.C 2008-02-06 07:17:49.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/common-v4.5/src/GenString.C 2008-09-03 09:32:17.000000000 -0400
@@ -138,7 +138,7 @@
POSSIBILITY THEREOF.
*/
-
+#include <cstring>
// Needed, since some platforms do not define std:: elsewhere
#include <ctype.h>
diff -Naur cifparse-obj-v7.025-prod-src/tables-v8.0/src/ISTable.C cifparse-obj-v7.025-prod-src.new/tables-v8.0/src/ISTable.C
--- cifparse-obj-v7.025-prod-src/tables-v8.0/src/ISTable.C 2008-02-06 07:17:50.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/tables-v8.0/src/ISTable.C 2008-09-03 09:35:57.000000000 -0400
@@ -150,6 +150,8 @@
#include <sstream>
#include <iostream>
#include <iomanip>
+#include <algorithm>
+#include <climits>
#include "Exceptions.h"
#include "GenString.h"
diff -Naur cifparse-obj-v7.025-prod-src/tables-v8.0/src/ITTable.C cifparse-obj-v7.025-prod-src.new/tables-v8.0/src/ITTable.C
--- cifparse-obj-v7.025-prod-src/tables-v8.0/src/ITTable.C 2008-02-06 07:17:50.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/tables-v8.0/src/ITTable.C 2008-09-03 09:35:29.000000000 -0400
@@ -150,6 +150,8 @@
#include <sstream>
#include <iostream>
#include <iomanip>
+#include <algorithm>
+#include <climits>
#include "Exceptions.h"
#include "GenString.h"

@ -1,64 +0,0 @@
common-v4.5/src/mapped_ptr_vector.C | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/common-v4.5/src/mapped_ptr_vector.C b/common-v4.5/src/mapped_ptr_vector.C
index 0ffff35..993d0b9 100644
--- a/common-v4.5/src/mapped_ptr_vector.C
+++ b/common-v4.5/src/mapped_ptr_vector.C
@@ -256,12 +256,12 @@ void mapped_ptr_vector<T, StringCompareT>::push_back(T* inP,
_vector.push_back(inP);
typename tIndex::value_type valuePair(inP->GetName(),
- make_pair(_vector.size() - 1, fileIndex));
+ std::make_pair(_vector.size() - 1, fileIndex));
_index.insert(valuePair);
_currentName = inP->GetName();
- _currentIndices = make_pair(_vector.size() - 1, fileIndex);
+ _currentIndices = std::make_pair(_vector.size() - 1, fileIndex);
}
@@ -274,12 +274,12 @@ void mapped_ptr_vector<T, StringCompareT>::push_back(const string& name,
_vector.push_back(NULL);
typename tIndex::value_type valuePair(name,
- make_pair(_vector.size() - 1, fileIndex));
+ std::make_pair(_vector.size() - 1, fileIndex));
_index.insert(valuePair);
_currentName = name;
- _currentIndices = make_pair(_vector.size() - 1, fileIndex);
+ _currentIndices = std::make_pair(_vector.size() - 1, fileIndex);
}
@@ -447,7 +447,7 @@ void mapped_ptr_vector<T, StringCompareT>::erase(const string& name)
if (is_equal(_currentName, name, keyComp))
{
_currentName.clear();
- _currentIndices = make_pair(_vector.size(), (unsigned int)0);
+ _currentIndices = std::make_pair(_vector.size(), (unsigned int)0);
}
}
@@ -532,7 +532,7 @@ pair<unsigned int, unsigned int> mapped_ptr_vector<T, StringCompareT>::get_indic
if (_vector.empty())
{
// Empty container. Return invalid index.
- return(make_pair(_vector.size(), (unsigned int)0));
+ return(std::make_pair(_vector.size(), (unsigned int)0));
}
typename tIndex::key_compare keyComp = _index.key_comp();
@@ -556,7 +556,7 @@ pair<unsigned int, unsigned int> mapped_ptr_vector<T, StringCompareT>::get_indic
else
{
// Not found. Return invalid index.
- return(make_pair(_vector.size(), (unsigned int)0));
+ return(std::make_pair(_vector.size(), (unsigned int)0));
}
}

@ -1,16 +0,0 @@
etc/platform.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/platform.sh b/etc/platform.sh
index ff0ab51..1b56ab1 100755
--- a/etc/platform.sh
+++ b/etc/platform.sh
@@ -60,7 +60,7 @@ case `uname -s` in
# Check if it is a Linux platform
Linux)
# Check if it is GCC version 4.x
- gcc_ver=`gcc --version | grep -e " 4\."`
+ gcc_ver=`gcc --version | grep -e " [4567]\."`
if [[ -z $gcc_ver ]]
then
# It is not GCC version 4.x. Check if it is GCC version 3.x

@ -1,115 +0,0 @@
diff -Naur cifparse-obj-v7.025-prod-src/etc/make.platform.gnu3 cifparse-obj-v7.025-prod-src.new/etc/make.platform.gnu3
--- cifparse-obj-v7.025-prod-src/etc/make.platform.gnu3 2008-02-06 07:17:49.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/etc/make.platform.gnu3 2008-09-03 09:18:55.000000000 -0400
@@ -107,8 +107,8 @@
C_WARNINGS=$(WARNINGS)
# C compiler flags
-CFLAGS=$(OPT) $(ABI) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
-CFLAGS_NONANSI=$(OPT) $(ABI) $(NON_ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) \
+CFLAGS=$(C_OPT) $(ABI) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
+CFLAGS_NONANSI=$(C_OPT) $(ABI) $(NON_ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) \
$(INCLUDES)
## C++ compiler
@@ -128,13 +128,13 @@
EXT=C
# C++ compiler flags
-C++FLAGS=$(OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) $(DEFINES) \
+C++FLAGS=$(CXX_OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) $(DEFINES) \
$(INCLUDES)
-C++FLAGS_NONANSI=$(OPT) $(ABI) $(NON_ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
+C++FLAGS_NONANSI=$(CXX_OPT) $(ABI) $(NON_ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
$(DEFINES) $(INCLUDES)
# C++FLAGS_RELAXED should be set to avoid warnings reported by third party
# source code that is not maintained by PDB
-C++FLAGS_RELAXED=$(OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) $(DEFINES) \
+C++FLAGS_RELAXED=$(CXX_OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) $(DEFINES) \
$(INCLUDES)
## Fortran compiler
@@ -144,7 +144,7 @@
F77=f77
# Fortran compiler flags
-FFLAGS=-O -u
+FFLAGS=$(F_OPT)
# Additional Fortran libraries
F77LIBS=
@@ -157,7 +157,7 @@
STATIC_LINKING=-static
# Linker flags
-LDFLAGS=$(ABI) -w $(STATIC_LINKING)
+LDFLAGS=$(ABI) -w $(STATIC_LINKING) $(LD_OPT)
LDFLAGS_NO_STATIC=$(ABI) -w
# Fortran linker
diff -Naur cifparse-obj-v7.025-prod-src/etc/make.platform.gnu4 cifparse-obj-v7.025-prod-src.new/etc/make.platform.gnu4
--- cifparse-obj-v7.025-prod-src/etc/make.platform.gnu4 2008-02-06 07:17:49.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/etc/make.platform.gnu4 2008-09-03 09:20:16.000000000 -0400
@@ -107,12 +107,12 @@
C_WARNINGS=$(WARNINGS)
# C compiler flags
-CFLAGS=$(OPT) $(ABI) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
-CFLAGS_NONANSI=$(OPT) $(ABI) $(NON_ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) \
+CFLAGS=$(C_OPT) $(ABI) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
+CFLAGS_NONANSI=$(C_OPT) $(ABI) $(NON_ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) \
$(INCLUDES)
## C++ compiler
-## This part defines C++ compiler information
+
# C++ compiler executable
CCC=g++
@@ -128,13 +128,13 @@
EXT=C
# C++ compiler flags
-C++FLAGS=$(OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) $(DEFINES) \
+C++FLAGS=$(CXX_OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) $(DEFINES) \
$(INCLUDES)
-C++FLAGS_NONANSI=$(OPT) $(ABI) $(NON_ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
+C++FLAGS_NONANSI=$(CXX_OPT) $(ABI) $(NON_ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
$(DEFINES) $(INCLUDES)
# C++FLAGS_RELAXED should be set to avoid warnings reported by third party
# source code that is not maintained by PDB
-C++FLAGS_RELAXED=$(OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) $(DEFINES) \
+C++FLAGS_RELAXED=$(CXX_OPT) $(ABI) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) $(DEFINES) \
$(INCLUDES)
## Fortran compiler
@@ -144,7 +144,7 @@
F77=f77
# Fortran compiler flags
-FFLAGS=-O -u
+FFLAGS=$(F_OPT)
# Additional Fortran libraries
F77LIBS=
@@ -157,7 +157,7 @@
STATIC_LINKING=-static
# Linker flags
-LDFLAGS=$(ABI) -w $(STATIC_LINKING)
+LDFLAGS=$(ABI) -w $(STATIC_LINKING) $(LD_OPT)
LDFLAGS_NO_STATIC=$(ABI) -w
# Fortran linker
diff -Naur cifparse-obj-v7.025-prod-src/Makefile cifparse-obj-v7.025-prod-src.new/Makefile
--- cifparse-obj-v7.025-prod-src/Makefile 2008-02-06 07:17:48.000000000 -0500
+++ cifparse-obj-v7.025-prod-src.new/Makefile 2008-09-03 09:19:12.000000000 -0400
@@ -62,7 +62,7 @@
echo "------------------------------------------------------------"; \
echo "**** Making $$libdir ****"; \
echo "------------------------------------------------------------"; \
- (cd $$libdir && $(MAKE) -f $(MAKEFILE) "OPT=-O" install) || exit 1; \
+ (cd $$libdir && $(MAKE) -f $(MAKEFILE) C_OPT="${CFLAGS}" CXX_OPT="${CXXFLAGS}" F_OPT="${FFLAGS}" LD_OPT="${LDFLAGS}" install) || exit 1; \
done
debug:

@ -1,16 +0,0 @@
Remove incorrect prototypes of the 'strcasecmp' and 'strncasecmp' functions.
See also: https://bugs.gentoo.org/show_bug.cgi?id=594054
--- a/misclib-v2.2/include/ndb_misclib.h
+++ b/misclib-v2.2/include/ndb_misclib.h
@@ -167,10 +167,6 @@
#define NDB_MSG_BUFFER_LEN 200000
-#if !defined(HAVE_STRCASECMP)
-int strcasecmp (const char *s1, const char *s2);
-int strncasecmp (const char *s1, const char *s2, unsigned int n);
-#endif
/*
* ndb_misclib.c prototypes
*/

@ -1,110 +0,0 @@
etc/make.platform.gnu3 | 14 +++++++-------
etc/make.platform.gnu4 | 16 ++++++++--------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/etc/make.platform.gnu3 b/etc/make.platform.gnu3
index 54b0297..138fa47 100644
--- a/etc/make.platform.gnu3
+++ b/etc/make.platform.gnu3
@@ -107,8 +107,8 @@ NON_ANSI_C_FLAG=
C_WARNINGS=$(WARNINGS)
# C compiler flags
-CFLAGS=$(OPT) $(ABI) $(PIC) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
-CFLAGS_NONANSI=$(OPT) $(ABI) $(PIC) $(NON_ANSI_C_FLAG) $(C_WARNINGS) \
+CFLAGS=$(C_OPT) $(ABI) $(PIC) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
+CFLAGS_NONANSI=$(C_OPT) $(ABI) $(PIC) $(NON_ANSI_C_FLAG) $(C_WARNINGS) \
$(DEFINES) $(INCLUDES)
## C++ compiler
@@ -128,14 +128,14 @@ C_PLUS_WARNINGS=$(WARNINGS) $(NO_DEPRECATED)
EXT=C
# C++ compiler flags
-C++FLAGS=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
+C++FLAGS=$(CXX_OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
$(DEFINES) $(INCLUDES)
-C++FLAGS_NONANSI=$(OPT) $(ABI) $(PIC) $(NON_ANSI_C_PLUS_FLAG) \
+C++FLAGS_NONANSI=$(CXX_OPT) $(ABI) $(PIC) $(NON_ANSI_C_PLUS_FLAG) \
$(C_PLUS_WARNINGS) $(DEFINES) $(INCLUDES)
# C++FLAGS_RELAXED should be set to avoid warnings reported by third party
# source code that is not maintained by PDB
-C++FLAGS_RELAXED=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
+C++FLAGS_RELAXED=$(CXX_OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
$(DEFINES) $(INCLUDES)
## Fortran compiler
@@ -145,7 +145,7 @@ C++FLAGS_RELAXED=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
F77=f77
# Fortran compiler flags
-FFLAGS=-O -u
+FFLAGS=$(F_OPT)
# Additional Fortran libraries
F77LIBS=
@@ -158,7 +158,7 @@ F77LIBS=
STATIC_LINKING=-static
# Linker flags
-LDFLAGS=$(ABI) -w $(STATIC_LINKING)
+LDFLAGS=$(ABI) -w $(STATIC_LINKING) $(LD_OPT)
LDFLAGS_NO_STATIC=$(ABI) -w
# Fortran linker
diff --git a/etc/make.platform.gnu4 b/etc/make.platform.gnu4
index 6676f35..51681fa 100644
--- a/etc/make.platform.gnu4
+++ b/etc/make.platform.gnu4
@@ -107,11 +107,11 @@ NON_ANSI_C_FLAG=
C_WARNINGS=$(WARNINGS)
# C compiler flags
-CFLAGS=$(OPT) $(ABI) $(PIC) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
-CFLAGS_NONANSI=$(OPT) $(ABI) $(PIC) $(NON_ANSI_C_FLAG) $(DEFINES) $(INCLUDES)
+CFLAGS=$(C_OPT) $(ABI) $(PIC) $(ANSI_C_FLAG) $(C_WARNINGS) $(DEFINES) $(INCLUDES)
+CFLAGS_NONANSI=$(C_OPT) $(ABI) $(PIC) $(NON_ANSI_C_FLAG) $(DEFINES) $(INCLUDES)
## C++ compiler
-## This part defines C++ compiler information
+
# C++ compiler executable
CCC=g++
@@ -127,14 +127,14 @@ C_PLUS_WARNINGS=$(WARNINGS) $(NO_DEPRECATED)
EXT=C
# C++ compiler flags
-C++FLAGS=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
+C++FLAGS=$(CXX_OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(C_PLUS_WARNINGS) \
$(DEFINES) $(INCLUDES)
-C++FLAGS_NONANSI=$(OPT) $(ABI) $(PIC) $(NON_ANSI_C_PLUS_FLAG) \
+C++FLAGS_NONANSI=$(CXX_OPT) $(ABI) $(PIC) $(NON_ANSI_C_PLUS_FLAG) \
$(C_PLUS_WARNINGS) $(DEFINES) $(INCLUDES)
# C++FLAGS_RELAXED should be set to avoid warnings reported by third party
# source code that is not maintained by PDB
-C++FLAGS_RELAXED=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
+C++FLAGS_RELAXED=$(CXX_OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
$(DEFINES) $(INCLUDES)
## Fortran compiler
@@ -144,7 +144,7 @@ C++FLAGS_RELAXED=$(OPT) $(ABI) $(PIC) $(ANSI_C_PLUS_FLAG) $(NO_DEPRECATED) \
F77=f77
# Fortran compiler flags
-FFLAGS=-O -u
+FFLAGS=$(F_OPT)
# Additional Fortran libraries
F77LIBS=
@@ -157,7 +157,7 @@ F77LIBS=
STATIC_LINKING=-static
# Linker flags
-LDFLAGS=$(ABI) -w $(STATIC_LINKING)
+LDFLAGS=$(ABI) -w $(STATIC_LINKING) $(LD_OPT)
LDFLAGS_NO_STATIC=$(ABI) -w
# Fortran linker

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
EAPI="7"
DESCRIPTION="Cryptodata management tools"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_access"
@ -23,7 +23,7 @@ src_install() {
then
DESTDIR=$D emake install_client
fi
if use server
then
DESTDIR=$D emake install_server

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
EAPI="7"
inherit git-r3

@ -1 +0,0 @@
DIST os-prober_1.79.tar.xz 27028 BLAKE2B b3efacce9d7fce3708f5ec727a219e872e8d1de6dea15540cfbc0a0e8372c1033098230d3ddb9066fb5474d44e5584ee28631e0e5ab981e8fb1dc29ee3cbd89d SHA512 89b827b9b90a1d3bc11e0090ec04d808502cc1883ab10997b6d9edbe6005dcf8a0acdd7d200102c9dccde56297bda6087d68fb6dec419f0920090c2655c9c7d8

@ -1,24 +0,0 @@
Fixes missing entries when os-prober is run in a chroot environment by falling back
to blkid if udev isn't available or if /run/udev isn't bind mounted. Modified from
https://build.opensuse.org/package/view_file/Base:System/os-prober/os-prober-05efi-blkid.patch?rev=103
Bug: https://bugs.gentoo.org/761475
https://bugzilla.opensuse.org/1076779
--- a/os-probes/mounted/x86/05efi
+++ b/os-probes/mounted/x86/05efi
@@ -46,6 +46,14 @@ if type udevinfo > /dev/null 2>&1; then
fi
eval "$(udevinfo -q property -n "$partition" | grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=')"
+
+ # udev may not work in chroot as its db may not be there, bailout that by blkid (bsc#1076779)
+ if [ -z "$ID_PART_ENTRY_TYPE" -a -z "$ID_PART_ENTRY_SCHEME" ] &&
+ type blkid > /dev/null 2>&1; then
+ debug "fallback to blkid"
+ eval "$(blkid -p -o udev "$partition" | grep -E '^(ID_PART_ENTRY_(TYPE|SCHEME))=')"
+ fi
+
debug "$partition partition scheme is $ID_PART_ENTRY_SCHEME"
debug "$partition partition type is $ID_PART_ENTRY_TYPE"

@ -1,21 +0,0 @@
Fixes errors like "umount: /var/lib/os-prober/mount: target is busy."
which can appear in some corner-cases.
Bug: https://bugzilla.redhat.com/903906
--- a/common.sh
+++ b/common.sh
@@ -336,3 +336,13 @@ linux_mount_boot () {
mountboot="$bootpart $mounted"
}
+
+umount_exec=$(which umount)
+umount() {
+ if ! $umount_exec $@ 2> /dev/null; then
+ error "umount error, retrying after 1 sec"
+ sleep 1
+ $umount_exec $@
+ fi
+}
+

@ -1,35 +0,0 @@
Backport handling of multiple initrd paths, like those needed by Manjaro
installations. Note, it still requires resolution of
https://savannah.gnu.org/bugs/index.php?47681 on grub's end.
Commit: https://salsa.debian.org/installer-team/os-prober/-/commit/53b920e106f13acf87ef8a275161e20f94feeb8a
--- a/linux-boot-probes/mounted/common/40grub2
+++ b/linux-boot-probes/mounted/common/40grub2
@@ -78,11 +78,21 @@
fi
;;
initrd)
- initrd="$(echo "$2" | sed 's/(.*)//')"
- # Initrd same.
- if [ "$partition" != "$bootpart" ]; then
- initrd="/boot$initrd"
- fi
+ shift
+ initrd=""
+ for initrd_path in "$@"; do
+ # sed hack, as above
+ initrd_path="$(echo "$initrd_path" | sed 's/(.*)//')"
+ # Initrd same.
+ if [ "$partition" != "$bootpart" ]; then
+ initrd_path="/boot$initrd_path"
+ fi
+ if [ -z "$initrd" ]; then
+ initrd="$initrd_path"
+ else
+ initrd="$initrd $initrd_path"
+ fi
+ done
;;
"}")
entry_result

@ -1,28 +0,0 @@
Fixes OS detection on mdraid devices
Bug: https://bugs.debian.org/648251
https://bugzilla.redhat.com/752402
--- a/os-prober
+++ b/os-prober
@@ -64,6 +64,11 @@ partitions () {
exit 0
fi
+ # Add MD RAID devices
+ if [ -f /proc/mdstat ] ; then
+ awk '/^md/ {printf "/dev/"$1"\n"}' /proc/mdstat
+ fi
+
# Also detect OSes on LVM volumes (assumes LVM is active)
if type lvs >/dev/null 2>&1; then
echo "$(LVM_SUPPRESS_FD_WARNINGS=1 log_output lvs --noheadings --separator : -o vg_name,lv_name |
@@ -123,7 +128,7 @@ if [ -f /proc/swaps ]; then
fi
: >"$OS_PROBER_TMP/raided-map"
if [ -f /proc/mdstat ] ; then
- grep "^md" /proc/mdstat | parse_proc_mdstat >"$OS_PROBER_TMP/raided-map" || true
+ grep "^md" /proc/mdstat | cut -d: -f2- | parse_proc_mdstat >"$OS_PROBER_TMP/raided-map" || true
fi
for partition in $(partitions); do

@ -1,17 +0,0 @@
Fixes the problem of the root partition being returned instead of the boot
partition when both are already mounted somewhere.
Bug: https://bugs.debian.org/699840
https://bugzilla.redhat.com/906886
--- a/linux-boot-prober
+++ b/linux-boot-prober
@@ -167,7 +167,7 @@ else
bootpart="${mountboot%% *}"
bootmounted="${mountboot#* }"
else
- bootpart="$partition"
+ bootpart="$(grep " $mpoint/boot " "$OS_PROBER_TMP/mounted-map" | head -n1 | cut -d " " -f 4)"
bootmounted=0
fi
for test in /usr/lib/linux-boot-probes/mounted/*; do

@ -1,34 +0,0 @@
For symlinks to partions in fstab, returns the partition name from fstab instead
of the name of its resolved destination, eg., for /dev/mapper/mylvmvol in fstab,
linked to /dev/dm-2, return "mylvmvol" instead of "dm-2".
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699839
https://bugzilla.redhat.com/show_bug.cgi?id=893472
--- a/common.sh
+++ b/common.sh
@@ -269,7 +269,7 @@ linux_mount_boot () {
if [ "$bindfrom" != "$tmpmnt/boot" ]; then
if mount --bind "$bindfrom" "$tmpmnt/boot"; then
mounted=1
- bootpart="$1"
+ bootpart="$tmppart"
else
debug "failed to bind-mount $bindfrom onto $tmpmnt/boot"
fi
@@ -277,6 +277,15 @@ linux_mount_boot () {
fi
if [ "$mounted" ]; then
:
+ elif [ -e "$tmppart" ]; then
+ bootpart="$tmppart"
+ boottomnt="$tmppart"
+ elif [ -e "$tmpmnt/$tmppart" ]; then
+ bootpart="$tmppart"
+ boottomnt="$tmpmnt/$tmppart"
+ elif [ -e "/target/$tmppart" ]; then
+ bootpart="$tmppart"
+ boottomnt="/target/$tmppart"
elif [ -e "$1" ]; then
bootpart="$1"
boottomnt="$1"

@ -1,103 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit readme.gentoo-r1 toolchain-funcs
DESCRIPTION="Utility to detect other OSs on a set of drives"
HOMEPAGE="https://salsa.debian.org/installer-team/os-prober"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://salsa.debian.org/installer-team/${PN}.git"
else
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
KEYWORDS="amd64"
S="${WORKDIR}"/${PN}
fi
LICENSE="GPL-3"
SLOT="0"
# grub-mount needed per bug #607518
RDEPEND="sys-boot/grub:2[mount]"
# bug 594250
QA_MULTILIB_PATHS="usr/lib/os-prober/.*"
PATCHES=(
"${FILESDIR}"/${PN}-1.79-mdraid-detection.patch
"${FILESDIR}"/${PN}-1.79-handle-multiple-initrd-paths.patch
"${FILESDIR}"/${PN}-1.79-use-fstab-name.patch
"${FILESDIR}"/${PN}-1.79-mounted-boot-partition-fix.patch
"${FILESDIR}"/${PN}-1.79-fix-busy-umount-message.patch
"${FILESDIR}"/${PN}-1.79-efi-chroot-blkid-fallback.patch
)
DOC_CONTENTS="
If you intend for os-prober to detect versions of Windows installed on
NTFS-formatted partitions, your system must be capable of reading the
NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g.
NOTE: Since sys-boot/grub-2.06-rc1, grub-mkconfig disables os-prober by default.
To enable it, add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub.
"
src_prepare() {
default
# use default GNU rules
rm Makefile || die 'rm Makefile failed'
}
src_compile() {
tc-export CC
emake newns
}
src_install() {
dobin os-prober linux-boot-prober
# Note: as no shared libraries are installed, /usr/lib is correct
exeinto /usr/lib/os-prober
doexe newns
insinto /usr/share/os-prober
doins common.sh
keepdir /var/lib/os-prober
local debarch=${ARCH%-*} dir
case ${debarch} in
amd64) debarch=x86 ;;
ppc|ppc64) debarch=powerpc ;;
esac
for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
exeinto /usr/lib/${dir}
doexe ${dir}/common/*
if [[ -d ${dir}/${debarch} ]]; then
for exe in ${dir}/${debarch}/*; do
[[ ! -d "${exe}" ]] && doexe "${exe}"
done
fi
if [[ -d ${dir}/${debarch}/efi ]]; then
exeinto /usr/lib/${dir}/efi
doexe ${dir}/${debarch}/efi/*
fi
done
if use amd64 || use x86; then
exeinto /usr/lib/os-probes/mounted
doexe os-probes/mounted/powerpc/20macosx
fi
einstalldocs
dodoc debian/changelog
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

@ -1 +0,0 @@
DIST lnvnb161216-firmware-20210607.tar.bz2 27784 BLAKE2B 76c71fc9b69200c51d8b055c03cd605156f7af48d960b72d35b09afd95488820f07a3704b824a632e3baa1277c9772f20905a348432cf0aed579f0731dfc927d SHA512 5f96e00bc0cbc7110bee8bbeea1fe21ade62b6bafa50a9db852115d3e2be1137337b5b9b43a3c821901f55415a0b905bec87ae6eb200584d79b4656887878f4b

@ -1,30 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
MYPN=linux-firmware
MYP=linux-firmware-${PV}
KEYWORDS="amd64 x86"
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
DESCRIPTION="Binary firmware for Lenovo Yoga 7 (LNVNB161216) S3 mode"
HOMEPAGE="https://gist.github.com/zurohki/4b859668c901e6ba13e8187a0d5d734c"
LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""
RESTRICT="binchecks strip"
S="${WORKDIR}"
src_install() {
insinto /lib/firmware/
doins -r acpi
}

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/linux-sources/linux-sources-1.ebuild,v 1.4 2014/04/03 01:35:05 tomwij Exp $
EAPI=2
EAPI=7
DESCRIPTION="Stub package for Linux kernel sources dependense"
HOMEPAGE=""

@ -1 +0,0 @@
DIST edid-data-20180315.tar.gz 21709 BLAKE2B 923b398e17662cb061cde0440b69a9154e4621ecae3ea0f16275916620ba2fb82e7bee9dfec80a0a98b517464b9e560f1983b4e88299229b54f01b48c6b6daaa SHA512 16bbf0122e2a260266fabc2d5b827a7b0d68668c394ce5d39df8f836fe3050b7eb32e70a8a143d6911345b0d2f6fd43368a84b0b7033cbe762e4dd306a9e2d62

@ -1,29 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="31a6f80784d289d2faa8c4ca4788409c83b3ea14"
DESCRIPTION="EDID binary files"
HOMEPAGE="https://github.com/akatrevorjay/edid-generator"
SRC_URI="https://github.com/akatrevorjay/edid-generator/archive/${COMMIT}.tar.gz -> edid-data-${PV}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/edid-generator-${COMMIT}"
src_compile() {
:
}
src_install() {
dodir /usr/share/edid
insinto /usr/share/edid
doins *.bin
}

@ -1,2 +0,0 @@
DIST calculate-xcursors-13.tar.bz2 53814 SHA256 35b233e45075ffa82fcb47c34b235c4e84568035d71953f610fa9bd4f394f2b6 SHA512 22e099d264560b783be1170e579dcc1ad948fd85b26a6310bef2ad8ce9fb430efd27559e9a8f29cdbf3b318b88bcbc55dff0a88e2411256479d9116cbdc08aae WHIRLPOOL b99ee3cac2f580db114bd818824ba8c6d007202a357d055b459da7a5ea301929a2c0b7a25a78878394e8abc61c33886d9044fe895e1fc9e5ed3118505339bf30
DIST calculate-xcursors-14.tar.bz2 53716 SHA256 7f8673e47b0628b55e49f4f39215f656d3a9847e147dd37d546ed557cb65b92d SHA512 9daf54f523afcd3f101faa3c7aa2f605b5ba92a5adae617603e22a60cffe822861cea3616ac05456e620658de80622fc2dd485c320055afd5d774dcb1ec11b08 WHIRLPOOL a7d263b0ee2b4db6d531c722f6afd4c77ca7ffe8cd549f63d8f600f399b3521e5cf96ff94ae7dd50cf0447e80776e5aed86b1b4dc2e3288f5daf6bbae44a250b

@ -1,25 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
DESCRIPTION="Calculate X.Org mouse cursor"
HOMEPAGE="http://www.calculate-linux.org/packages/x11-themes/calculate-xcursors"
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
KEYWORDS="amd64 x86"
IUSE=""
SLOT="0"
RDEPEND="!media-gfx/cld-themes
!media-gfx/cldg-themes
!media-gfx/cldx-themes
!media-gfx/cls-themes"
DEPEND="${RDEPEND}"
src_install() {
insinto /
doins -r .
dosym ../neutral/cursors /usr/share/cursors/xorg-x11/calculate/cursors
dosym ../neutral/source /usr/share/cursors/xorg-x11/calculate/source
}

@ -1,25 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
DESCRIPTION="Calculate X.Org mouse cursor"
HOMEPAGE="http://www.calculate-linux.org/packages/x11-themes/calculate-xcursors"
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
KEYWORDS="amd64 x86"
IUSE=""
SLOT="0"
RDEPEND="!media-gfx/cld-themes
!media-gfx/cldg-themes
!media-gfx/cldx-themes
!media-gfx/cls-themes"
DEPEND="${RDEPEND}"
src_install() {
insinto /
doins -r .
dosym ../neutral/cursors /usr/share/cursors/xorg-x11/calculate/cursors
dosym ../neutral/source /usr/share/cursors/xorg-x11/calculate/source
}
Loading…
Cancel
Save