parent
668bb3f354
commit
9f5340f0d0
@ -1,2 +1,2 @@
|
||||
DIST unshield-0.6_p20120308.tar.xz 31924 SHA256 5f857a496ff54b9e1121b8ce2ceaba78133e91e254203e81340010ee05224da6 SHA512 7eec3c401af4c43f599e1b1abae3efdc6b91bd132a86b6658656bec4f00040eed2b0addede7b555953ecc7b1c976fa03013820a25a68a226cf1b973caffb25c4 WHIRLPOOL 12d307b8345b604d10c42b52c28e1eb4eb9745a7b542da188b2a24c4a993b45cfd98a01740f3f30362c9b2714ba61d5e4c6f66a26e599356b5cef5b76130fc34
|
||||
DIST unshield-1.3.tar.gz 31787 SHA256 31a49c43b60e86b3ed731e0a1b988b88d35b755c85d103e93e1507278328bf73 SHA512 bff21eb5200857f5016d5ff55dd3afb67f35180896ffe6ee84fda04ea7b5e6041f43762676465400d6d720a6ae3496c4dd93f8e37aba99818515c6169ac27db1 WHIRLPOOL 5520a1c921ac17530bc5eddd38e4700403ee17aa93b4f9ffbdf3f2c3b26bc862a0fc5db58cac0ed37f539837bcfd98d03bd5de8f4abc7d76b2498205e7d071cd
|
||||
DIST unshield-1.4.tar.gz 37199 SHA256 8ae91961212193a7d3d7973c1c9464f3cd1967c179d6099feb1bb193912f8231 SHA512 b09c29fa8e5785f2ca90b40105304802d00d201dde42ef4f5e4b5504ca8edf10da426c7ed1daa8c0685980f085eb20437162812a2068a0c03c0dfd240edbf944 WHIRLPOOL 886c6272d8666192e67fd0978f3d038b9a023ffc8456689b0e6ce6d2c0913f21a1ad8e2baa3d57991605cf64d59a5991a4f8ef3f8856ecabbaccb664bbc3c91d
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A utility which highlights stderr text in red"
|
||||
HOMEPAGE="https://sourceforge.net/projects/hilite"
|
||||
SRC_URI="mirror://gentoo/${P}.c"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~ia64 ~mips ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${WORKDIR}"/
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "$(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c"
|
||||
$(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin hilite || die
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Command-line trash can emulation"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
SRC_URI="ftp://www.iq-computing.de/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 ppc amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5"
|
||||
|
||||
src_install() {
|
||||
newbin perltrash.pl perltrash || die
|
||||
dodoc README.txt
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Command to duplicate standard input to more than one program"
|
||||
HOMEPAGE="http://www.eurogaran.com/downloads/tpipe"
|
||||
SRC_URI="http://www.eurogaran.com/downloads/tpipe/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
emake OPTFLAGS="-ansi -pedantic ${CFLAGS}" PREFIX=/usr CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin tpipe || die
|
||||
doman tpipe.1 || die
|
||||
dodoc README.txt || die
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="A command line timer and stopwatch"
|
||||
HOMEPAGE="http://utimer.codealpha.net/utimer"
|
||||
SRC_URI="http://utimer.codealpha.net/dl.php?file=${P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug nls"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-util/intltool"
|
||||
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_configure() {
|
||||
local myconf=( --enable-debug=no )
|
||||
use debug || myconf=( --enable-debug=yes )
|
||||
econf "${myconf[@]}" $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,238 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.3.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~graaff/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20161226
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/did_you_mean-1.1.0:2.4[ruby_targets_ruby24]
|
||||
>=dev-ruby/minitest-5.10.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/power_assert-0.4.1[ruby_targets_ruby24]
|
||||
>=dev-ruby/rake-12.0.0[ruby_targets_ruby24]
|
||||
>=dev-ruby/test-unit-3.2.3[ruby_targets_ruby24]
|
||||
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby24]
|
||||
>=dev-ruby/json-2.0.2[ruby_targets_ruby24]
|
||||
rdoc? ( >=dev-ruby/rdoc-5.0.0[ruby_targets_ruby24] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm -f gems/{did_you_mean-1.1.0,minitest-5.10.1,net-telnet-0.1.1,power_assert-0.4.1,rake-12.0.0,test-unit-3.2.3,xmlrpc-0.2.1}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1 +1 @@
|
||||
DIST double-conversion-2.0.1.tar.gz 7014061 SHA256 671f0439b4531c7344ace5b2ddaab4bdd860e80cee586efcfebf37b4eedd7cf0 SHA512 ab9e63ef97664d470cdd8b2a5d3b8f9d0b8558980f463d30369577c4e54804ee210321a979f4550ea2299cc0a2a0360f780de63458db942ba0ac34793b8f98ec WHIRLPOOL 559a0d2f165000abab87d77f0483dcac1503fa090382fead605e05a30ecea0c8afa1730caf51cdcba10a48d0c0b58fa855a9193b28fc5061dcf86d6505f02f85
|
||||
DIST double-conversion-2.0.1.tar.gz 7014148 SHA256 ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef SHA512 a4773dc95e9267d8426dda976586aa1ba968ead28b118caae9b1b7c123d1eea4aba5b588fde9a109a99a068a79a3a2426f12d6caadea8c548d4250e56eff33a4 WHIRLPOOL d17e55f54e1f3beb07e2657959c2f9e751a2732105b5a228d6b96ef5d69f2ab5722fe196ea9f2a9af1567f0d90bd6daad3c1fc30ac93ba66b4fc4879adb9aae7
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils libtool multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Contains error handling functions used by GnuPG software"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="common-lisp nls static-libs"
|
||||
|
||||
RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r12
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/gpg-error-config
|
||||
)
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/gpg-error.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
--enable-threads
|
||||
$(use_enable nls)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable common-lisp languages)
|
||||
)
|
||||
|
||||
multilib_is_native_abi || myeconfargs+=(
|
||||
--disable-languages
|
||||
)
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
# library has no dependencies, so it does not need the .la file
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=ISHIGAKI
|
||||
DIST_VERSION=1.54
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Self Contained RDBMS in a DBI Driver"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test system-sqlite"
|
||||
|
||||
# NB: Get min sqlite version from sqlite3.c
|
||||
RDEPEND="
|
||||
system-sqlite? (
|
||||
>=dev-db/sqlite-3.10.2[extensions(+)]
|
||||
)
|
||||
>=dev-perl/DBI-1.570.0
|
||||
!<dev-perl/DBD-SQLite-1
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.480.0
|
||||
test? (
|
||||
>=virtual/perl-File-Spec-0.820.0
|
||||
>=virtual/perl-Test-Simple-0.420.0
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
if use system-sqlite; then
|
||||
einfo "Removing bundled SQLite"
|
||||
# Flip Makefile into system mode.
|
||||
sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die
|
||||
# remove bundled sqlite (rt.cpan#61361)
|
||||
for i in sqlite3{.c,.h,ext.h} ; do
|
||||
rm ${i} || die
|
||||
sed -i -e "/^${i}\$/d" MANIFEST || die
|
||||
done
|
||||
myconf="SQLITE_LOCATION=${EPREFIX}/usr"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST DBD-SQLite-1.48.tar.gz 1769115 SHA256 b397230f5d4cdc9923f91c62da9e535234f3055c528ede75afd7d24698030ea6 SHA512 9c00decdb6730c0e4be3fdd01fef6ebad0452cbe1b5141c23fee7d0c5ca0089f3cd4e5d70d331e959ec50546bb10154a3c2db4bfd27993912d5c788cef0a81ee WHIRLPOOL 8313333ba47203d2eb1434266af250dcfe9e360d697155d82bb24b6f0c0abf650d3cc787e6b9c93144e790de16aa1c318032626f867977b8dfeee92be53c3b12
|
||||
DIST DBD-SQLite-1.50.tar.gz 2023829 SHA256 3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1 SHA512 6ef903ef5a08511caf962d255d1245d83398ca0c807d86463eae86d7408b8ec271e9d7176c120cf6843a12d3670114c1856c85bb737acad9ef79e630dd253c82 WHIRLPOOL ea39ae0eb6bc2202da7e64399e6b8a101944e31c33c2a872225cc28819c68017163a65ce548eff8547b7ad4ecf82b2692eaaf90a724cc0cd69d48a2de5d28f72
|
||||
DIST DBD-SQLite-1.52.tar.gz 2136120 SHA256 a6da099e9b953262afafea18335930bede1f195fdead45bd3f00e690b158354e SHA512 589ab97af705ac8236951d73bdf88a571531ec3d3d75d8bf25c1e1c275fa89a01b907b0a25807fc926808872761ee1087ace47725c3f7a220972923996d3d2d4 WHIRLPOOL 2ffb00d32bdbce98db25979659ec489b4a5366539c209326ebc8b7d90741611ae93fb336c150ef10e5b2d1efa4952be20ae137753d9e6ed3e4c6228a4e99518f
|
||||
DIST DBD-SQLite-1.54.tar.gz 2136219 SHA256 3929a6dbd8d71630f0cb57f85dcef9588cd7ac4c9fa12db79df77b9d3a4d7269 SHA512 a8daff59679973467dff80c013b6ff9d7229a505b62c0312bdf7f9288af64dcd2e99f889b66eb98103b0e6ac7a9b0fa7c9c517c5c2673ee7f84b3b6b5d26173e WHIRLPOOL 9a5b7aa37a3e6996eb9eeeb783f3660cfcc5e3af153f0d1a0d81c3d1c088efcb176fdcabea2fb0e3b430be1a657484192516497fc9bab482e015df9c4be590b9
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=LDS
|
||||
MODULE_VERSION=2.46
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="interface to Thomas Boutell's gd library"
|
||||
|
||||
LICENSE="|| ( Artistic-2 GPL-1 GPL-2 GPL-3 )" # Artistic-2 or GPL1+
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="animgif gif jpeg png truetype xpm"
|
||||
|
||||
RDEPEND=">=media-libs/gd-2.0.33
|
||||
png? (
|
||||
media-libs/gd[png]
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
)
|
||||
jpeg? (
|
||||
media-libs/gd[jpeg]
|
||||
virtual/jpeg
|
||||
)
|
||||
truetype? (
|
||||
media-libs/gd[truetype]
|
||||
media-libs/freetype:2
|
||||
)
|
||||
xpm? (
|
||||
media-libs/gd[xpm]
|
||||
x11-libs/libXpm
|
||||
)
|
||||
gif? ( media-libs/giflib )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
||||
|
||||
src_prepare(){
|
||||
perl-module_src_prepare
|
||||
sed -i "s/use Getopt::Long;/use Getopt::Long qw(:config pass_through);/" \
|
||||
"${S}"/Makefile.PL || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use gif && use animgif && myconf+=",ANIMGIF"
|
||||
use jpeg && myconf+=",JPEG"
|
||||
use truetype && myconf+=",FREETYPE"
|
||||
use png && myconf+=",PNG"
|
||||
use xpm && myconf+=",XPM"
|
||||
use gif && myconf+=",GIF"
|
||||
myconf="-options '${myconf:1}'"
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use png || use jpeg || use gif ; then
|
||||
if has_version ">=media-libs/jpeg-7" || \
|
||||
has_version "media-libs/libjpeg-turbo" ; then
|
||||
# https://rt.cpan.org/Public/Bug/Display.html?id=49053
|
||||
ewarn "Tests fail with >=media-libs/jpeg-7 or media-libs/libjpeg-turbo. Skipping tests..."
|
||||
return
|
||||
fi
|
||||
perl-module_src_test
|
||||
else
|
||||
ewarn "The test fails if neither of png, jpeg, gif is in USE!"
|
||||
ewarn "Skipping tests..."
|
||||
fi
|
||||
}
|
||||
mydoc="GD.html"
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LDS
|
||||
DIST_VERSION=2.56
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interface to Thomas Boutell's gd library"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="animgif gif jpeg png truetype xpm"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-rt106594.patch"
|
||||
)
|
||||
RDEPEND="
|
||||
virtual/perl-Math-Complex
|
||||
>=media-libs/gd-2.2.3
|
||||
png? (
|
||||
media-libs/gd[png]
|
||||
media-libs/libpng:0
|
||||
sys-libs/zlib
|
||||
)
|
||||
jpeg? (
|
||||
media-libs/gd[jpeg]
|
||||
virtual/jpeg:0
|
||||
)
|
||||
truetype? (
|
||||
media-libs/gd[truetype]
|
||||
media-libs/freetype:2
|
||||
)
|
||||
xpm? (
|
||||
media-libs/gd[xpm]
|
||||
x11-libs/libXpm
|
||||
)
|
||||
gif? ( media-libs/giflib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
PREFER_BUILDPL="no"
|
||||
|
||||
src_prepare(){
|
||||
perl-module_src_prepare
|
||||
|
||||
# bug 572000
|
||||
ln -s "${S}"/lib/GD.xs "${S}"/GD.xs
|
||||
|
||||
sed -i "s/use Getopt::Long;/use Getopt::Long qw(:config pass_through);/" \
|
||||
"${S}"/Makefile.PL || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
myconf="VERSION_33,GD_UNCLOSEDPOLY,GD_FTCIRCLE" # Per line 284 of Makefile.PL
|
||||
use gif && use animgif && myconf+=",ANIMGIF"
|
||||
use jpeg && myconf+=",JPEG"
|
||||
use truetype && myconf+=",FT"
|
||||
use png && myconf+=",PNG"
|
||||
use xpm && myconf+=",XPM"
|
||||
use gif && myconf+=",GIF"
|
||||
myconf="-options '${myconf}'"
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
mydoc="GD.html"
|
@ -1,2 +1 @@
|
||||
DIST GD-2.46.tar.gz 260989 SHA256 0de778c8ea63bb3eb0d99d0ef090464ef594107addfa71750fd3a88216081735 SHA512 804f7c7b7d6ba517a18be13d9d51d382e3770b965512a337281335a2f9985320e194e57dcd82b94b690f9438249a5cc9830bff4cdb0c2aad0c99153ad3d92e34 WHIRLPOOL 035d8b3486ea44b991912f42a6eb9228a76619fca2da6b15ea3221eead5aa30205ae5ca156aeff674a5564c5f9181b516499e2462771e5cd3953adc1d8e0ac70
|
||||
DIST GD-2.56.tar.gz 273441 SHA256 1f103d1c98de8621504642ed7fb79f1b40f5f6a63c2abe9390a8ab78617248f9 SHA512 51c4b46b199625a12ae1ad1003cafe4e66913d1e0c0b51d9bccbc7c14a86dfe29144caefbeca2927a66a44d4ba8b134550ee4a63eb86aceaa13513c46a4e71f4 WHIRLPOOL 5c59b6361bdfbbe5294739bf49f398d9483994353422b3839c068b651bf91195027c8d44bf348fd135674479ad333c77949ec28526c985e3dab12efc554585f7
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=XAOC
|
||||
DIST_VERSION=0.042
|
||||
inherit perl-module xdg-utils
|
||||
|
||||
DESCRIPTION="Dynamically create Perl language bindings"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/glib-perl-1.320.0
|
||||
>=dev-libs/gobject-introspection-1.0
|
||||
>=dev-libs/libffi-3.0.0
|
||||
>=dev-libs/glib-2.0.0
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.0.0
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
xdg_environment_reset # bug #599128
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Glib-Object-Introspection-0.040.tar.gz 79009 SHA256 515d6af0e085c9cbed3f1a1215d1fae46dac31a8459dc950f896f368df1488bb SHA512 bd5e4db8b6e331fb9641e75a50a95fff1a823597a8e4c4e9f99a81e7aa2ee30d93856c56ecfea3785b8719dba6590169bcd006ea06d97170889091e6b9480e9f WHIRLPOOL 875399d816076495a667df589d1dcfaa0486caab9990389d4af75445ee536c59dfb6658050ce4db65509cda8e5df8285de8b2b2a1f5dc729c6ddc9ca3f99bd18
|
||||
DIST Glib-Object-Introspection-0.042.tar.gz 80942 SHA256 0101aa45417a80a066fae198e37dc9814abf24afab454d72909070ab5c8293d9 SHA512 a91ba7d553187ed0eb6b35bd68c70de40c82d5e42422ec0a370fa77268cc5b81be3b9b76947ceaf78541224bd188ab902f12be7a5e0efaf94638fea39ba57ba0 WHIRLPOOL dfdffa01b1d89c645cf1149f0295f32f27472ed938c2499ae1d6c6825e368826ef3cf85af348bbe3bb0178c807dd92e94d0328e86330010c94ba908e0a92990e
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_A_EXT=tgz
|
||||
DIST_AUTHOR=RSAVAGE
|
||||
DIST_VERSION=2.23
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interface to AT&T's GraphViz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
media-gfx/graphviz
|
||||
>=virtual/perl-Carp-1.10.0
|
||||
>=virtual/perl-Getopt-Long-2.340.0
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IPC-Run-0.600.0
|
||||
>=dev-perl/libwww-perl-6
|
||||
>=dev-perl/Parse-RecDescent-1.965.1
|
||||
>=virtual/perl-Time-HiRes-1.510.0
|
||||
>=dev-perl/XML-Twig-3.520.0
|
||||
>=dev-perl/XML-XPath-1.130.0
|
||||
"
|
||||
# Note, we don't really require Test::Simple >=1.300...
|
||||
# https://rt.cpan.org/Ticket/Display.html?id=115236
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
dev-perl/File-Which
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-1.1.14
|
||||
)
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST GraphViz-2.19.tgz 86529 SHA256 27c7761d18ca739a5e35b9e55135b1f3c6f399a474116216037405826d781ce3 SHA512 2b566b0fc83ca48fe39cf677db6934045f1a35e821348be5b23c9cacd687e192fdfbb55a64a0d69084fbd0582dbca1b94a7fa6f52ec5bedbcf75e7d851e8672b WHIRLPOOL 9f49b57a319c99b55ac7be86cde3fa4f67127a7940ca93c0cc978880a7ea993dd4fafc688873410d4a775093447720ea341fed736a7c0375f84c70ddbaa7c559
|
||||
DIST GraphViz-2.20.tgz 86556 SHA256 23eec8c7e0bfada7b1a172b79e87bdd759fc3360c594159fdc228578aff41a5c SHA512 799651d0643bb326927d749b9ca6f35977d7b9ec4ff044a5b965229a3e9b773c7227b5f24cacf2b765f73126b68529cd75a84c7a646b5009e374c485ce4bb5ac WHIRLPOOL f6030ef3e7d256f3b9473277dacdecea0728db8b21c6e9cba4ede1b8874aadc062a8341959ff6b5e30d8d6fd63fe7bf660ee4143a061a248385b3802d5259772
|
||||
DIST GraphViz-2.23.tgz 95297 SHA256 7207f9279377cd7d6c21e72412f12522a305fd655ed9dcffd184038f4f7639dc SHA512 3b5f431c6436477674b06ed94bd977a5135800fe26dd8a307ef681b16009dec5b423861c1c11c9583d0c7f5b8920fec1f2469977ffd19dbfc88aa97fd180ee0f WHIRLPOOL 1c745e8566f6e4195e50eb5d39fbf80b2788dfc507157b5f91171d40ab6c82177a85bed77a8f9b76fa2380bf6813716cc5992902e49496007a405ee3eb565d9e
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=INGY
|
||||
DIST_VERSION=1.21
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="YAML Ain't Markup Language (tm)"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
>=dev-perl/Test-YAML-1.50.0
|
||||
)
|
||||
"
|
||||
src_test() {
|
||||
perl_rm_files t/author-*.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST click-log-0.1.3.tar.gz 3377 SHA256 fd8dc8d65947ce6d6ee8ab3101fb0bb9015b9070730ada3f73ec761beb0ead4d SHA512 7accdd5be62c7c76ec9b862d8dc91710473a46669778f39cb7e8e5fa56020ce0bd619fbe30453338a05d87cef971916f2c4f6d5c9cb9e4982ae32e7a885bd722 WHIRLPOOL 0c21711ced16b4263470e43765fd5787a0e3776150e7f0188a0eddc005c9d9d330c196565c273974a1e8b65d7ba42ca99b24ce3a4000bb5aeab431d7ecb78f90
|
||||
DIST click-log-0.1.4.tar.gz 9004 SHA256 dc6275b7d8f87512a22d9806ccc845f474825edd82ad37925a36ba156c887570 SHA512 0bd81c5ef8c5636b0321807f5bbfb1318480da865a5bde0235679dc053ff5ac7a662bf014cb2d444ccf8b7d840b576756536de2702ae4e43afe91a72653b678c WHIRLPOOL 6aee5b5df76f3873dfe7e8af53816b85edf795bf49e7f8061461eb6cb4a72fe0b1af35bd1b38d73ac08f714beed393d20849f6d760150d75297ff7fb1cdfd2d5
|
||||
DIST click-log-0.1.8.tar.gz 9277 SHA256 57271008c12e2dc16d413373bedd7fd3ff17c57434e168650dc27dfb9c743392 SHA512 35baaabc54502f203da2fee02f6f63478f4f902bf333331b6ef9ae4b9d1677020ef0dce9f24f64e6e48bfc31280b72882f7cdf1f42ecf2cd941256d2e96a40e1 WHIRLPOOL 6c03c54f52b770cd1f61f6066c36ff963b2bc89e25b12d25cebb899731693ca9cd82f97d0b254a6fd0b49d9f2b3e4522294ae192eb728c3949483a5338355755
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Logging integration for Click."
|
||||
HOMEPAGE="https://github.com/click-contrib/click-log https://pypi.python.org/pypi/click-log"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/click"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.rst )
|
@ -1,2 +1 @@
|
||||
DIST netCDF4-1.0.4.tar.gz 521990 SHA256 99f5eaebae2fae92759d13b790dde4226b2b8c83a68f86543c41c7998cba53b7 SHA512 acebb8b721720fae8ae8347ac10b3bc213cbc6db763001292ab99db56fc20fd82abc17d5449ad8d75f40edb5bf14f24b0bece725671fcc15bf3b0cb6580c46c5 WHIRLPOOL d664d2a187b5191275bdc6fd6a456b684b4c9b1c6c0249e0299ba15ec10a6433b0859f84bf26148a7ca392e307a40f4bdfd13a7dc7ff8b059d8471f18e939b16
|
||||
DIST netCDF4-1.2.2.tar.gz 679107 SHA256 5e68d0a723ed327e53e90ac73d3dfa25e8da10db9ffba5f2aefd61356722ae9d SHA512 e09465d125077e71b8aad4332be844099c7fa29d0ea8f1dd0887f7a5e849ab778361026323466b1d4897bc3d8f8be1818cfa5f426773c765ee9c5f3728ff3da3 WHIRLPOOL 8fc551fbe6e1628304dd5067a22bbaffbb336c68f8315d5e929927f6ad52b0974b7a412d019b87a65e621e49d720ff1570514af66345e6c46c501ca9d862761e
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="netCDF4"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python/numpy interface to netCDF"
|
||||
HOMEPAGE="https://github.com/Unidata/netcdf4-python"
|
||||
SRC_URI="https://netcdf4-python.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/hdf5
|
||||
sci-libs/netcdf:=[hdf]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
${PYTHON} run_all.py || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST did_you_mean-1.0.2.gem 30720 SHA256 caa50332c6de39d5452f85f1efa9e9080d9073591edf7be8cb1b9b333a63fd6a SHA512 a6b19dd909423505553759d6470266680056b6804f9c42452eecf9104a8de71a460a4baa53111ccfe830e3dbdc04bad9382d77f9098d1e114aecdc34a4ef57b6 WHIRLPOOL c4786a6dc7216727f63c1f128f277776289395eaa5e2ae845aae5d06cd7449f46eb53fd003b4c4d1a39632c77b647719a919f0716593bd18fe08740cb84fd257
|
||||
DIST did_you_mean-1.1.0.gem 30720 SHA256 893791a7e8723e6d5e221a5832ff50a6cb7eed577d54cf0ca92e97364704cdf0 SHA512 73ce86f1c6163dcbd7e02e75b347b0a66b862be1fda3356f763a183df45093629714751157b7fbbe10f1655caf97b64efe67938a24eaa3355f34814e644bdf96 WHIRLPOOL e2090e5c2c8d6aa3e735e99de46aee697acb80ce7cd941631c1db603b4ed4692c0441a7d12a61f2a1553158a6b3c98bbbc3f271d273a80082b659affe8207fa0
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'did you mean?'experience in Ruby"
|
||||
HOMEPAGE="https://github.com/yuki24/did_you_mean"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/ s:^:#:' Rakefile || die
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
|
||||
HOMEPAGE="https://github.com/rdoc/rdoc/"
|
||||
SRC_URI="https://github.com/rdoc/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Ruby MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/kpeg
|
||||
dev-ruby/racc
|
||||
test? (
|
||||
>=dev-ruby/minitest-5.8:5
|
||||
)"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/json:2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Other packages also have use for a nonexistent directory, bug 321059
|
||||
sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die
|
||||
|
||||
# Avoid unneeded dependency on bundler, bug 603696
|
||||
sed -i -e '/bundler/ s:^:#:' \
|
||||
-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' Rakefile || die
|
||||
|
||||
# Remove test that is depending on the locale, which we can't garantuee.
|
||||
sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die
|
||||
|
||||
# Remove test depending on FEATURES=userpriv, bug 361959
|
||||
sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die
|
||||
|
||||
# Remove tests for code that is not included and not listed in Manifest.txt
|
||||
rm -f test/test_rdoc_i18n_{locale,text}.rb \
|
||||
test/test_rdoc_generator_pot* || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc ; then
|
||||
ruby -Ilib -S exe/rdoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake generate || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. -e 'gem "json", "~>2.0"; Dir["test/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
for bin in rdoc ri; do
|
||||
ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
|
||||
|
||||
for version in 20 21 22 23; do
|
||||
if use ruby_targets_ruby${version}; then
|
||||
ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
|
||||
sed -i -e "1s/env ruby/ruby${version}/" \
|
||||
"${ED}/usr/bin/${bin}${version}" || die
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/rdoc) ]] ; then
|
||||
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST xmlrpc-0.2.1.tar.gz 33980 SHA256 0254f899373e9151bc10bf0f71144a7530ec05b7041daa96702a3371bebe06f8 SHA512 20a156acd70df7bcca649fa7962855ee645b4348cf8d64109e5e7409fc2f89e53c18c28b871365e424bbbe8d7ca92cacaf9ceda6cf485bf55b717ee0040d8491 WHIRLPOOL 78a317b72936b5cb3fb642f622da248bebbe174d359e43000cc9f169b39b4c959663d257c05fe0b935bed691e92df3fefdd0fa76bb140fb806fbcee28669511c
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ruby/xmlrpc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP"
|
||||
HOMEPAGE="https://github.com/ruby/xmlrpc"
|
||||
SRC_URI="https://github.com/ruby/xmlrpc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/ s:^:#:' Rakefile || die
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit latex-package
|
||||
|
||||
DESCRIPTION="LaTeX package for source code syntax highlighting"
|
||||
HOMEPAGE="https://code.google.com/p/minted/"
|
||||
SRC_URI="https://minted.googlecode.com/files/${PN}-v${PV}.zip"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-python/pygments"
|
||||
|
||||
S="${WORKDIR}"/
|
||||
|
||||
src_install() {
|
||||
LATEX_DOC_ARGUMENTS='-shell-escape'
|
||||
latex-package_src_install
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,701 @@
|
||||
Remove depend upon media-libs/libechonest and its support from clementine due to echonest service
|
||||
was shutdown and this functionality is useless now and results in nothing but a slight security
|
||||
and privacy risk.
|
||||
See Gentoo bug #573712.
|
||||
Based upon patch extracted from upstream git; original patch info:
|
||||
commit a8a0f2e4fdd3d4b2fd23b8628a3abc27c290d01d
|
||||
Author: John Maguire <john.maguire@gmail.com>
|
||||
Date: Mon Jun 27 14:45:40 2016 +0100
|
||||
|
||||
Remove echonest and update songkick concert fetcher.
|
||||
--- Clementine-1.3.1/CMakeLists.txt
|
||||
+++ Clementine-1.3.1/CMakeLists.txt
|
||||
@@ -365,9 +365,6 @@
|
||||
endif (NOT APPLE)
|
||||
endif (USE_SYSTEM_QXT)
|
||||
|
||||
-find_path(ECHONEST_INCLUDE_DIRS echonest/echonest_export.h)
|
||||
-find_library(ECHONEST_LIBRARIES echonest)
|
||||
-
|
||||
# Use system gmock if it's available
|
||||
# We need to look for both gmock and gtest
|
||||
find_path(GMOCK_INCLUDE_DIRS gmock/gmock.h)
|
||||
--- Clementine-1.3.1/src/CMakeLists.txt
|
||||
+++ Clementine-1.3.1/src/CMakeLists.txt
|
||||
@@ -35,7 +35,6 @@
|
||||
include_directories(${QTSINGLEAPPLICATION_INCLUDE_DIRS})
|
||||
include_directories(${QTIOCOMPRESSOR_INCLUDE_DIRS})
|
||||
include_directories(${QXT_INCLUDE_DIRS})
|
||||
-include_directories(${ECHONEST_INCLUDE_DIRS})
|
||||
include_directories(${SHA2_INCLUDE_DIRS})
|
||||
include_directories(${CHROMAPRINT_INCLUDE_DIRS})
|
||||
include_directories(${MYGPOQT_INCLUDE_DIRS})
|
||||
@@ -297,8 +296,6 @@
|
||||
songinfo/artistinfoview.cpp
|
||||
songinfo/collapsibleinfoheader.cpp
|
||||
songinfo/collapsibleinfopane.cpp
|
||||
- songinfo/echonestbiographies.cpp
|
||||
- songinfo/echonestimages.cpp
|
||||
songinfo/songinfobase.cpp
|
||||
songinfo/songinfofetcher.cpp
|
||||
songinfo/songinfoprovider.cpp
|
||||
@@ -586,8 +583,6 @@
|
||||
songinfo/artistinfoview.h
|
||||
songinfo/collapsibleinfoheader.h
|
||||
songinfo/collapsibleinfopane.h
|
||||
- songinfo/echonestbiographies.h
|
||||
- songinfo/echonestimages.h
|
||||
songinfo/songinfobase.h
|
||||
songinfo/songinfofetcher.h
|
||||
songinfo/songinfoprovider.h
|
||||
@@ -822,16 +817,12 @@
|
||||
internet/lastfm/lastfmcompat.cpp
|
||||
internet/lastfm/lastfmservice.cpp
|
||||
internet/lastfm/lastfmsettingspage.cpp
|
||||
- songinfo/echonestsimilarartists.cpp
|
||||
- songinfo/echonesttags.cpp
|
||||
songinfo/lastfmtrackinfoprovider.cpp
|
||||
songinfo/tagwidget.cpp
|
||||
HEADERS
|
||||
covers/lastfmcoverprovider.h
|
||||
internet/lastfm/lastfmservice.h
|
||||
internet/lastfm/lastfmsettingspage.h
|
||||
- songinfo/echonestsimilarartists.h
|
||||
- songinfo/echonesttags.h
|
||||
songinfo/lastfmtrackinfoprovider.h
|
||||
songinfo/tagwidget.h
|
||||
UI
|
||||
@@ -1241,7 +1232,6 @@
|
||||
${TAGLIB_LIBRARIES}
|
||||
${MYGPOQT_LIBRARIES}
|
||||
${CHROMAPRINT_LIBRARIES}
|
||||
- ${ECHONEST_LIBRARIES}
|
||||
${GOBJECT_LIBRARIES}
|
||||
${GLIB_LIBRARIES}
|
||||
${GIO_LIBRARIES}
|
||||
--- Clementine-1.3.1/src/main.cpp
|
||||
+++ Clementine-1.3.1/src/main.cpp
|
||||
@@ -76,8 +76,6 @@
|
||||
#include <glib.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
-#include <echonest/Config.h>
|
||||
-
|
||||
#ifdef Q_OS_DARWIN
|
||||
#include <sys/resource.h>
|
||||
#include <sys/sysctl.h>
|
||||
@@ -401,8 +399,8 @@
|
||||
// Add root CA cert for SoundCloud, whose certificate is missing on OS X.
|
||||
QSslSocket::addDefaultCaCertificates(
|
||||
QSslCertificate::fromPath(":/soundcloud-ca.pem", QSsl::Pem));
|
||||
- QSslSocket::addDefaultCaCertificates(
|
||||
- QSslCertificate::fromPath(":/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
+ QSslSocket::addDefaultCaCertificates(QSslCertificate::fromPath(
|
||||
+ ":/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
|
||||
// Has the user forced a different language?
|
||||
QString override_language = options.language();
|
||||
@@ -440,10 +438,6 @@
|
||||
Application app;
|
||||
app.set_language_name(language);
|
||||
|
||||
- Echonest::Config::instance()->setAPIKey("DFLFLJBUF4EGTXHIG");
|
||||
- Echonest::Config::instance()->setNetworkAccessManager(
|
||||
- new NetworkAccessManager);
|
||||
-
|
||||
// Network proxy
|
||||
QNetworkProxyFactory::setApplicationProxyFactory(
|
||||
NetworkProxyFactory::Instance());
|
||||
--- Clementine-1.3.1/src/songinfo/artistinfoview.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/artistinfoview.cpp
|
||||
@@ -16,25 +16,12 @@
|
||||
*/
|
||||
|
||||
#include "artistinfoview.h"
|
||||
-#include "echonestbiographies.h"
|
||||
-#include "echonestimages.h"
|
||||
#include "songinfofetcher.h"
|
||||
#include "songkickconcerts.h"
|
||||
#include "widgets/prettyimageview.h"
|
||||
|
||||
-#ifdef HAVE_LIBLASTFM
|
||||
-#include "echonestsimilarartists.h"
|
||||
-#include "echonesttags.h"
|
||||
-#endif
|
||||
-
|
||||
ArtistInfoView::ArtistInfoView(QWidget* parent) : SongInfoBase(parent) {
|
||||
- fetcher_->AddProvider(new EchoNestBiographies);
|
||||
- fetcher_->AddProvider(new EchoNestImages);
|
||||
fetcher_->AddProvider(new SongkickConcerts);
|
||||
-#ifdef HAVE_LIBLASTFM
|
||||
- fetcher_->AddProvider(new EchoNestSimilarArtists);
|
||||
- fetcher_->AddProvider(new EchoNestTags);
|
||||
-#endif
|
||||
}
|
||||
|
||||
ArtistInfoView::~ArtistInfoView() {}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestbiographies.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestbiographies.cpp
|
||||
@@ -1,123 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonestbiographies.h"
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-#include "songinfotextview.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-struct EchoNestBiographies::Request {
|
||||
- Request(int id) : id_(id), artist_(new Echonest::Artist) {}
|
||||
-
|
||||
- int id_;
|
||||
- std::unique_ptr<Echonest::Artist> artist_;
|
||||
-};
|
||||
-
|
||||
-EchoNestBiographies::EchoNestBiographies() {
|
||||
- site_relevance_["wikipedia"] = 100;
|
||||
- site_relevance_["lastfm"] = 60;
|
||||
- site_relevance_["amazon"] = 30;
|
||||
-
|
||||
- site_icons_["amazon"] = IconLoader::Load("amazon", IconLoader::Provider);
|
||||
- site_icons_["aol"] = IconLoader::Load("aol", IconLoader::Provider);
|
||||
- site_icons_["cdbaby"] = IconLoader::Load("cdbaby", IconLoader::Provider);
|
||||
- site_icons_["lastfm"] = IconLoader::Load("as", IconLoader::Lastfm);
|
||||
- site_icons_["mog"] = IconLoader::Load("mog", IconLoader::Provider);
|
||||
- site_icons_["mtvmusic"] = IconLoader::Load("mtvmusic", IconLoader::Provider);
|
||||
- site_icons_["myspace"] = IconLoader::Load("myspace", IconLoader::Provider);
|
||||
- site_icons_["wikipedia"] = IconLoader::Load("wikipedia", IconLoader::Provider);
|
||||
-}
|
||||
-
|
||||
-void EchoNestBiographies::FetchInfo(int id, const Song& metadata) {
|
||||
- std::shared_ptr<Request> request(new Request(id));
|
||||
- request->artist_->setName(metadata.artist());
|
||||
-
|
||||
- QNetworkReply* reply = request->artist_->fetchBiographies();
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = request;
|
||||
-}
|
||||
-
|
||||
-void EchoNestBiographies::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- RequestPtr request = requests_.take(reply);
|
||||
-
|
||||
- try {
|
||||
- request->artist_->parseProfile(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- QSet<QString> already_seen;
|
||||
-
|
||||
- for (const Echonest::Biography& bio : request->artist_->biographies()) {
|
||||
- QString canonical_site = bio.site().toLower();
|
||||
- canonical_site.replace(QRegExp("[^a-z]"), "");
|
||||
-
|
||||
- if (already_seen.contains(canonical_site)) continue;
|
||||
- already_seen.insert(canonical_site);
|
||||
-
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/bio/" + bio.site();
|
||||
- data.title_ = tr("Biography from %1").arg(bio.site());
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Biography;
|
||||
-
|
||||
- if (site_relevance_.contains(canonical_site))
|
||||
- data.relevance_ = site_relevance_[canonical_site];
|
||||
- if (site_icons_.contains(canonical_site))
|
||||
- data.icon_ = site_icons_[canonical_site];
|
||||
-
|
||||
- SongInfoTextView* editor = new SongInfoTextView;
|
||||
- QString text;
|
||||
- // Add a link to the bio webpage at the top if we have one
|
||||
- if (!bio.url().isEmpty()) {
|
||||
- QString bio_url = bio.url().toEncoded();
|
||||
- if (bio.site() == "facebook") {
|
||||
- bio_url.replace("graph.facebook.com", "www.facebook.com");
|
||||
- }
|
||||
- text += "<p><a href=\"" + bio_url + "\">" +
|
||||
- tr("Open in your browser") + "</a></p>";
|
||||
- }
|
||||
-
|
||||
- text += bio.text();
|
||||
- if (bio.site() == "last.fm") {
|
||||
- // Echonest lost formatting and it seems there is currently no plans on
|
||||
- // Echonest side for changing this.
|
||||
- // But with last.fm, we can guess newlines: " " corresponds to a newline
|
||||
- // (this seems to be because on last.fm' website, extra blank is inserted
|
||||
- // before <br /> tag, and this blank is kept).
|
||||
- // This is tricky, but this make the display nicer for last.fm
|
||||
- // biographies.
|
||||
- text.replace(" ", "<p>");
|
||||
- }
|
||||
- editor->SetHtml(text);
|
||||
- data.contents_ = editor;
|
||||
-
|
||||
- emit InfoReady(request->id_, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(request->id_);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestbiographies.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestbiographies.h
|
||||
@@ -1,48 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTBIOGRAPHIES_H
|
||||
-#define ECHONESTBIOGRAPHIES_H
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestBiographies : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- EchoNestBiographies();
|
||||
-
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- QMap<QString, int> site_relevance_;
|
||||
- QMap<QString, QIcon> site_icons_;
|
||||
-
|
||||
- struct Request;
|
||||
- typedef std::shared_ptr<Request> RequestPtr;
|
||||
-
|
||||
- QMap<QNetworkReply*, RequestPtr> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTBIOGRAPHIES_H
|
||||
--- Clementine-1.3.1/src/songinfo/echonestsimilarartists.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestsimilarartists.cpp
|
||||
@@ -1,76 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonestsimilarartists.h"
|
||||
-#include "tagwidget.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-Q_DECLARE_METATYPE(QVector<QString>);
|
||||
-
|
||||
-void EchoNestSimilarArtists::FetchInfo(int id, const Song& metadata) {
|
||||
- using Echonest::Artist;
|
||||
-
|
||||
- Artist::SearchParams params;
|
||||
- params << Artist::SearchParamEntry(Artist::Name, metadata.artist());
|
||||
- params << Artist::SearchParamEntry(Artist::MinHotttnesss, 0.5);
|
||||
-
|
||||
- QNetworkReply* reply = Echonest::Artist::fetchSimilar(params);
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = id;
|
||||
-}
|
||||
-
|
||||
-void EchoNestSimilarArtists::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- int id = requests_.take(reply);
|
||||
-
|
||||
- Echonest::Artists artists;
|
||||
- try {
|
||||
- artists = Echonest::Artist::parseSimilar(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- if (!artists.isEmpty()) {
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/similarartists";
|
||||
- data.title_ = tr("Similar artists");
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Similar;
|
||||
- data.icon_ = IconLoader::Load("echonest", IconLoader::Provider);
|
||||
-
|
||||
- TagWidget* widget = new TagWidget(TagWidget::Type_Artists);
|
||||
- data.contents_ = widget;
|
||||
-
|
||||
- widget->SetIcon(IconLoader::Load("x-clementine-artist", IconLoader::Base));
|
||||
-
|
||||
- for (const Echonest::Artist& artist : artists) {
|
||||
- widget->AddTag(artist.name());
|
||||
- if (widget->count() >= 10) break;
|
||||
- }
|
||||
-
|
||||
- emit InfoReady(id, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(id);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestsimilarartists.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestsimilarartists.h
|
||||
@@ -1,38 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTSIMILARARTISTS_H
|
||||
-#define ECHONESTSIMILARARTISTS_H
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestSimilarArtists : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- QMap<QNetworkReply*, int> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTSIMILARARTISTS_H
|
||||
--- Clementine-1.3.1/src/songinfo/echonesttags.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonesttags.cpp
|
||||
@@ -1,80 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonesttags.h"
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-#include "tagwidget.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-struct EchoNestTags::Request {
|
||||
- Request(int id) : id_(id), artist_(new Echonest::Artist) {}
|
||||
-
|
||||
- int id_;
|
||||
- std::unique_ptr<Echonest::Artist> artist_;
|
||||
-};
|
||||
-
|
||||
-void EchoNestTags::FetchInfo(int id, const Song& metadata) {
|
||||
- std::shared_ptr<Request> request(new Request(id));
|
||||
- request->artist_->setName(metadata.artist());
|
||||
-
|
||||
- QNetworkReply* reply = request->artist_->fetchTerms();
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = request;
|
||||
-}
|
||||
-
|
||||
-void EchoNestTags::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- RequestPtr request = requests_.take(reply);
|
||||
-
|
||||
- try {
|
||||
- request->artist_->parseProfile(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- if (!request->artist_->terms().isEmpty()) {
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/artisttags";
|
||||
- data.title_ = tr("Artist tags");
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Tags;
|
||||
- data.icon_ = IconLoader::Load("icon_tag", IconLoader::Lastfm);
|
||||
-
|
||||
- TagWidget* widget = new TagWidget(TagWidget::Type_Tags);
|
||||
- data.contents_ = widget;
|
||||
-
|
||||
- widget->SetIcon(data.icon_);
|
||||
-
|
||||
- for (const Echonest::Term& term : request->artist_->terms()) {
|
||||
- widget->AddTag(term.name());
|
||||
- if (widget->count() >= 10) break;
|
||||
- }
|
||||
-
|
||||
- emit InfoReady(request->id_, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(request->id_);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonesttags.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonesttags.h
|
||||
@@ -1,43 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTTAGS_H
|
||||
-#define ECHONESTTAGS_H
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestTags : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- struct Request;
|
||||
- typedef std::shared_ptr<Request> RequestPtr;
|
||||
-
|
||||
- QMap<QNetworkReply*, RequestPtr> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTTAGS_H
|
||||
--- Clementine-1.3.1/src/songinfo/songkickconcerts.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/songkickconcerts.cpp
|
||||
@@ -21,9 +21,6 @@
|
||||
#include <QVBoxLayout>
|
||||
#include <QXmlStreamWriter>
|
||||
|
||||
-#include <echonest/Artist.h>
|
||||
-#include <echonest/TypeInformation.h>
|
||||
-
|
||||
#include <qjson/parser.h>
|
||||
|
||||
#include "core/closure.h"
|
||||
@@ -31,77 +28,64 @@
|
||||
#include "songkickconcertwidget.h"
|
||||
#include "ui/iconloader.h"
|
||||
|
||||
-const char* SongkickConcerts::kSongkickArtistBucket = "songkick";
|
||||
-const char* SongkickConcerts::kSongkickArtistCalendarUrl =
|
||||
- "https://api.songkick.com/api/3.0/artists/%1/calendar.json?"
|
||||
- "per_page=5&"
|
||||
- "apikey=8rgKfy1WU6IlJFfN";
|
||||
+namespace {
|
||||
+const char* kSongkickArtistCalendarUrl =
|
||||
+ "https://api.songkick.com/api/3.0/artists/%1/calendar.json";
|
||||
+const char* kSongkickArtistSearchUrl =
|
||||
+ "https://api.songkick.com/api/3.0/search/artists.json";
|
||||
+const char* kSongkickApiKey = "8rgKfy1WU6IlJFfN";
|
||||
+} // namespace
|
||||
|
||||
SongkickConcerts::SongkickConcerts() {
|
||||
Geolocator* geolocator = new Geolocator;
|
||||
geolocator->Geolocate();
|
||||
connect(geolocator, SIGNAL(Finished(Geolocator::LatLng)),
|
||||
SLOT(GeolocateFinished(Geolocator::LatLng)));
|
||||
- NewClosure(geolocator, SIGNAL(Finished(Geolocator::LatLng)), geolocator,
|
||||
- SLOT(deleteLater()));
|
||||
+ connect(geolocator, SIGNAL(Finished(Geolocator::LatLng)), geolocator,
|
||||
+ SLOT(deleteLater()));
|
||||
}
|
||||
|
||||
void SongkickConcerts::FetchInfo(int id, const Song& metadata) {
|
||||
- Echonest::Artist::SearchParams params;
|
||||
- params.push_back(
|
||||
- qMakePair(Echonest::Artist::Name, QVariant(metadata.artist())));
|
||||
- qLog(Debug) << "Params:" << params;
|
||||
- QNetworkReply* reply = Echonest::Artist::search(
|
||||
- params,
|
||||
- Echonest::ArtistInformation(Echonest::ArtistInformation::NoInformation,
|
||||
- QStringList() << kSongkickArtistBucket));
|
||||
- qLog(Debug) << reply->request().url();
|
||||
+ if (metadata.artist().isEmpty()) {
|
||||
+ emit Finished(id);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ QUrl url(kSongkickArtistSearchUrl);
|
||||
+ url.addQueryItem("apikey", kSongkickApiKey);
|
||||
+ url.addQueryItem("query", metadata.artist());
|
||||
+
|
||||
+ QNetworkRequest request(url);
|
||||
+ QNetworkReply* reply = network_.get(request);
|
||||
NewClosure(reply, SIGNAL(finished()), this,
|
||||
SLOT(ArtistSearchFinished(QNetworkReply*, int)), reply, id);
|
||||
}
|
||||
|
||||
void SongkickConcerts::ArtistSearchFinished(QNetworkReply* reply, int id) {
|
||||
reply->deleteLater();
|
||||
- try {
|
||||
- Echonest::Artists artists = Echonest::Artist::parseSearch(reply);
|
||||
- if (artists.isEmpty()) {
|
||||
- qLog(Debug) << "Failed to find artist in echonest";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- const Echonest::Artist& artist = artists[0];
|
||||
- const Echonest::ForeignIds& foreign_ids = artist.foreignIds();
|
||||
- QString songkick_id;
|
||||
- for (const Echonest::ForeignId& id : foreign_ids) {
|
||||
- if (id.catalog == "songkick") {
|
||||
- songkick_id = id.foreign_id;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- if (songkick_id.isEmpty()) {
|
||||
- qLog(Debug) << "Failed to fetch songkick foreign id for artist";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- QStringList split = songkick_id.split(':');
|
||||
- if (split.count() != 3) {
|
||||
- qLog(Error) << "Weird songkick id";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- FetchSongkickCalendar(split[2], id);
|
||||
- } catch (Echonest::ParseError& e) {
|
||||
- qLog(Error) << "Error parsing echonest reply:" << e.errorType() << e.what();
|
||||
+
|
||||
+ QJson::Parser parser;
|
||||
+ QVariantMap json = parser.parse(reply).toMap();
|
||||
+
|
||||
+ QVariantMap results_page = json["resultsPage"].toMap();
|
||||
+ QVariantMap results = results_page["results"].toMap();
|
||||
+ QVariantList artists = results["artist"].toList();
|
||||
+
|
||||
+ if (artists.isEmpty()) {
|
||||
emit Finished(id);
|
||||
+ return;
|
||||
}
|
||||
+
|
||||
+ QVariantMap artist = artists.first().toMap();
|
||||
+ QString artist_id = artist["id"].toString();
|
||||
+
|
||||
+ FetchSongkickCalendar(artist_id, id);
|
||||
}
|
||||
|
||||
void SongkickConcerts::FetchSongkickCalendar(const QString& artist_id, int id) {
|
||||
QUrl url(QString(kSongkickArtistCalendarUrl).arg(artist_id));
|
||||
+ url.addQueryItem("per_page", "5");
|
||||
+ url.addQueryItem("apikey", kSongkickApiKey);
|
||||
qLog(Debug) << url;
|
||||
QNetworkReply* reply = network_.get(QNetworkRequest(url));
|
||||
NewClosure(reply, SIGNAL(finished()), this,
|
||||
--- Clementine-1.3.1/src/songinfo/songkickconcerts.h
|
||||
+++ Clementine-1.3.1/src/songinfo/songkickconcerts.h
|
||||
@@ -44,9 +44,6 @@
|
||||
|
||||
NetworkAccessManager network_;
|
||||
Geolocator::LatLng latlng_;
|
||||
-
|
||||
- static const char* kSongkickArtistBucket;
|
||||
- static const char* kSongkickArtistCalendarUrl;
|
||||
};
|
||||
|
||||
#endif
|
@ -1,3 +1,4 @@
|
||||
DIST lilypond-2.18.2.tar.gz 16027977 SHA256 329d733765b0ba7be1878ae3f457dbbb875cc2840d2b75af4afc48c9454fba07 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6 WHIRLPOOL 95db264992a1e425fd1ee53d980941eef554c1784a1adfc105750d82d11664f61207c2b1897b6e99448790131c0715f08401f45b663c420553925596c6fd4b1c
|
||||
DIST lilypond-2.19.50.tar.gz 17059560 SHA256 169ad09fac39512c780d917f5b164dc6a1570f19f5516f812df9eb2157224eb3 SHA512 14267d7e0b578b8b32913042438e4087904023860d3ad607faa3a702741176f2cecc019e0b6c5c88132a93696b087f59ede58e96972c877c911d20b89de1ecd2 WHIRLPOOL 1b8f31728541a9fcd1c34f22c544b464dc89c0591938a882097af1f0581e76dfa8ddb7c4f09f31ad4d5df413615f99bc774bd08a0a668879f9449ef9cd8ff8e4
|
||||
DIST lilypond-2.19.52.tar.gz 17064855 SHA256 77f4a62b2872f7d6813c7e58b9f8680fc4c3434b86f695117d135b5402e90409 SHA512 afdfa6f277235911b8cfb85985df110d740a580d7d8cb3899e682077674e71faaa050dab16d156d78c0e99243ddb59fb20282a3557309f8679ed457563364020 WHIRLPOOL 54882a8d43ce371ad3a27a955cd464a2296a630b7f274235e24373e08eca746535b0f62b8fca62e82ebed8425d8347a310405ee6134a248dc2e29ff9fd686e73
|
||||
DIST lilypond-2.19.53.tar.gz 17066384 SHA256 ef2e50d064911127e4dfdf0acea85a33bbb5cc0a1db68a90fc4d73f8f2932e17 SHA512 f09f15e80a8339ba71d68239f3a2b1a0df6407ffc89c4ec622c15cff4ea9686eb1f73ff540d89ad14278327002b22e98b2caa3b5f946dca3ae2bdd2705d78a9b WHIRLPOOL 285fe7da99eefef24a12ff52baba06e56ed0193c4a236e880812f5cb21f03a3a2d5c4f213265c5b70cf1722979416fca2633fea9dac0efb4dea0882be4336476
|
||||
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
[[ "${PV}" = "9999" ]] && inherit git-r3
|
||||
inherit elisp-common autotools python-single-r1 xdg-utils
|
||||
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git"
|
||||
else
|
||||
SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU Music Typesetter"
|
||||
HOMEPAGE="http://lilypond.org/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3"
|
||||
SLOT="0"
|
||||
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
|
||||
IUSE="debug emacs guile2 profile vim-syntax ${LANGS// / linguas_}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND=">=app-text/ghostscript-gpl-8.15
|
||||
>=dev-scheme/guile-1.8.2:12[deprecated,regex]
|
||||
media-fonts/tex-gyre
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=x11-libs/pango-1.12.3
|
||||
emacs? ( virtual/emacs )
|
||||
guile2? ( >=dev-scheme/guile-2:12 )
|
||||
!guile2? (
|
||||
>=dev-scheme/guile-1.8.2:12[deprecated,regex]
|
||||
<dev-scheme/guile-2.0:12
|
||||
)
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/t1utils
|
||||
dev-lang/perl
|
||||
dev-libs/kpathsea
|
||||
>=dev-texlive/texlive-metapost-2013
|
||||
|| (
|
||||
>=app-text/texlive-core-2013
|
||||
>=dev-tex/metapost-1.803
|
||||
)
|
||||
virtual/pkgconfig
|
||||
media-gfx/fontforge[png]
|
||||
>=sys-apps/texinfo-4.11
|
||||
>=sys-devel/bison-2.0
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/make"
|
||||
|
||||
# Correct output data for tests isn't bundled with releases
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( DEDICATION HACKING README.txt ROADMAP )
|
||||
|
||||
pkg_setup() {
|
||||
# make sure >=metapost-1.803 is selected if it's installed, bug 498704
|
||||
if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
|
||||
if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
|
||||
einfo "Updating metapost symlink"
|
||||
eselect mpost update || die
|
||||
fi
|
||||
fi
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use vim-syntax ; then
|
||||
sed -i 's/vim//' GNUmakefile.in || die
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
use linguas_${lang} || rm po/${lang}.po || die
|
||||
done
|
||||
|
||||
# respect AR
|
||||
sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
|
||||
|
||||
# remove bundled texinfo file (fixes bug #448560)
|
||||
rm tex/texinfo.tex || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
xdg_environment_reset #586592
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# documentation generation currently not supported since it requires a newer
|
||||
# version of texi2html than is currently in the tree
|
||||
|
||||
local myeconfargs+=(
|
||||
--with-texgyre-dir=/usr/share/fonts/tex-gyre
|
||||
--disable-documentation
|
||||
--disable-optimising
|
||||
--disable-pipe
|
||||
$(use_enable debug debugging)
|
||||
$(use_enable guile2)
|
||||
$(use_enable profile profiling)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
|
||||
|| die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
|
||||
|
||||
# remove elisp files since they are in the wrong directory
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
fi
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 26 Dec 2016 18:43:21 +0000
|
||||
Tue, 27 Dec 2016 05:13:09 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 26 Dec 2016 18:43:21 +0000
|
||||
Tue, 27 Dec 2016 05:13:10 +0000
|
||||
|
@ -1,10 +1,10 @@
|
||||
DEFINED_PHASES=compile install prepare unpack
|
||||
DEPEND=|| ( dev-lang/ruby:2.0 dev-lang/ruby:2.1 ) virtual/rubygems app-i18n/skktools virtual/awk cdb? ( || ( dev-db/tinycdb dev-db/cdb ) ) dev-vcs/cvs
|
||||
DEPEND=|| ( dev-lang/ruby:2.1 ) virtual/rubygems app-i18n/skktools virtual/awk cdb? ( || ( dev-db/tinycdb dev-db/cdb ) ) dev-vcs/cvs
|
||||
DESCRIPTION=Jisyo (dictionary) files for the SKK Japanese-input software
|
||||
EAPI=6
|
||||
HOMEPAGE=http://openlab.ring.gr.jp/skk/dic.html
|
||||
IUSE=cdb
|
||||
LICENSE=GPL-2 freedist public-domain
|
||||
SLOT=0
|
||||
_eclasses_=cvs e94c89c58918dff87fa3db1e817c25be eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 ruby-single a5e86595177a8998cbb9f794f2bf9700 ruby-utils 2f896785ed65442d7e84ab5f5eef3bd3 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_eclasses_=cvs e94c89c58918dff87fa3db1e817c25be eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 ruby-single a5e86595177a8998cbb9f794f2bf9700 ruby-utils 382c3a262907e1219a21618dfd1a01a0 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=29ca5000fa369cacd0b19f29350efd09
|
||||
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DESCRIPTION=A utility which highlights stderr text in red
|
||||
EAPI=0
|
||||
HOMEPAGE=https://sourceforge.net/projects/hilite
|
||||
KEYWORDS=amd64 ~hppa ~ia64 ~mips ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/hilite-1.5.c
|
||||
_eclasses_=multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=fff7bb8b8837cf1db8a45b024fe4f9a8
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install
|
||||
DESCRIPTION=Command-line trash can emulation
|
||||
EAPI=0
|
||||
HOMEPAGE=https://wiki.gentoo.org/wiki/No_homepage
|
||||
KEYWORDS=x86 ppc amd64
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/perl-5
|
||||
SLOT=0
|
||||
SRC_URI=ftp://www.iq-computing.de/perltrash/perltrash-0.3.tar.bz2
|
||||
_md5_=9d52bb8e06f4bf80143c5809944b27a7
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DESCRIPTION=Command to duplicate standard input to more than one program
|
||||
EAPI=0
|
||||
HOMEPAGE=http://www.eurogaran.com/downloads/tpipe
|
||||
KEYWORDS=amd64 ppc x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=http://www.eurogaran.com/downloads/tpipe/tpipe-1.6.tar.gz
|
||||
_eclasses_=multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=e61ea9f435d900fe9b30af4d6dea8dbf
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=configure install
|
||||
DEPEND=dev-libs/glib:2 dev-util/intltool
|
||||
DESCRIPTION=A command line timer and stopwatch
|
||||
EAPI=6
|
||||
HOMEPAGE=http://utimer.codealpha.net/utimer
|
||||
IUSE=debug nls
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=http://utimer.codealpha.net/dl.php?file=utimer-0.4.tar.gz -> utimer-0.4.tar.gz
|
||||
_md5_=0c80db8c18a6ccaabfed7ac4b6a79a23
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue