parent
887503d2df
commit
f8d39ee459
@ -1 +1 @@
|
||||
DIST glance-2014.1.tar.gz 2111279 SHA256 ade12e5ba5be28dc6a0ebde3c579b26ba3e02e6428eaeaa77f6daf2bf5c762c4 SHA512 7ed0ebe3ccbb1d57160a65ba19e48db87f4dd35d5ef0675ee07b7568513e238b220adad6736c9ba9d791ef52ce11305824c9e70c700fa290a39886f6c8db6735 WHIRLPOOL 5e8d4c9fce4d0f45fcb62857901beb3c69f61864f1c24ca6d17c520baea08a796468461f365d17cc905be7a663db92bfcd6ef999eda204cd1aad35020add93aa
|
||||
DIST glance-2014.1.1.tar.gz 2118829 SHA256 9a7aa31571aa5ba89c91f847c4bdf756b434a981075174fac75ef79691f3f45f SHA512 49610d3501105348ddbb659124f33c42ddd6206db0a97c4e9c9fb8867926caf0f4018d87364938e5260d025883d407ca16f33c82f4f95032719175f9ab03f60f WHIRLPOOL 1041e78026089e395325927bcd1c0aaa0f08f5b2a7af6daeb59e5db34fe94c86aa7f88a0dab6b10ed3410948dafdb27b825fded9e8756eb0726d052e787def89
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.1-r1.ebuild,v 1.1 2014/05/11 11:51:25 vadimk Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.1.1.ebuild,v 1.1 2014/06/16 03:21:26 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
@ -0,0 +1,13 @@
|
||||
the symbols provided by RSRT_LIBS are in the main rsyslog binary already,
|
||||
and this plugin is only loaded by rsyslog, so no need to double link them.
|
||||
|
||||
patch by Alex Deymo <deymo@chromium.org>
|
||||
|
||||
--- a/plugins/imuxsock/Makefile.am
|
||||
+++ b/plugins/imuxsock/Makefile.am
|
||||
@@ -3,4 +3,4 @@
|
||||
imuxsock_la_SOURCES = imuxsock.c
|
||||
imuxsock_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
|
||||
imuxsock_la_LDFLAGS = -module -avoid-version
|
||||
-imuxsock_la_LIBADD = $(RSRT_LIBS)
|
||||
+imuxsock_la_LIBADD =
|
@ -0,0 +1,328 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-7.6.3-r2.ebuild,v 1.1 2014/06/16 04:17:00 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils eutils systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc elasticsearch +gcrypt kerberos mongodb mysql normalize omudpspoof oracle postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd usertools zeromq"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/json-c-0.11:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||
>=sys-libs/zlib-1.2.5
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mongodb? ( >=dev-libs/libmongo-client-0.1.4 )
|
||||
mysql? ( virtual/mysql )
|
||||
normalize? (
|
||||
>=dev-libs/libee-0.4.0
|
||||
>=dev-libs/liblognorm-0.3.1:=
|
||||
!>=dev-libs/liblognorm-1.0.0
|
||||
)
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
oracle? ( >=dev-db/oracle-instantclient-basic-10.2 )
|
||||
postgres? ( >=dev-db/postgresql-base-8.4.20 )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0 )
|
||||
relp? ( >=dev-libs/librelp-1.2.5 )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? ( >=dev-libs/openssl-0.9.8y )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? ( >=net-libs/gnutls-2.12.23 )
|
||||
systemd? ( >=sys-apps/systemd-208 )
|
||||
zeromq? ( >=net-libs/czmq-1.2.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
BRANCH="7-stable"
|
||||
|
||||
# Test suite requires a special setup or will always fail
|
||||
RESTRICT="test"
|
||||
|
||||
# Maitainer note : open a bug to upstream
|
||||
# showing that building in a separate dir fails
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
doc/rsyslog-example.conf
|
||||
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${BRANCH}/${PN}-7.x-mmjsonparse.patch
|
||||
"${FILESDIR}"/${BRANCH}/fix-omruleset-default-value.patch
|
||||
"${FILESDIR}"/${BRANCH}/bugfix_52.patch
|
||||
"${FILESDIR}"/${BRANCH}/bugfix_73.patch
|
||||
"${FILESDIR}"/${BRANCH}/${PN}-imuxsock-shrink.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# Input Plugins without depedencies
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
--enable-imttcp
|
||||
# Message Modificiation Plugins without depedencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmsequence
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmcisconames
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmsnare
|
||||
--enable-sm_cust_bindcdr
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable oracle)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug imdiag)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable zeromq imzmq3)
|
||||
$(use_enable zeromq omzmq3)
|
||||
"$(systemd_with_unitdir)"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( "${S}"/doc/ )
|
||||
autotools-utils_src_install
|
||||
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
doins "${FILESDIR}/${BRANCH}/50-default.conf"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate-r1" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 8.0 ]]; then
|
||||
# Show this message until rsyslog-8.x
|
||||
echo
|
||||
elog "Since ${PN}-7.6.3 we no longer use the catch-all log target"
|
||||
elog "\"/var/log/syslog\" due to its redundancy to the other log targets."
|
||||
|
||||
advertise_readme=1
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [ ! -d "${CERTDIR}" ]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/cpuburn/cpuburn-1.4.ebuild,v 1.15 2009/10/12 19:02:05 halcy0n Exp $
|
||||
|
||||
MY_P="${PV/./_}"
|
||||
DESCRIPTION="designed to heavily load CPU chips [testing purposes]"
|
||||
HOMEPAGE="http://pages.sbcglobal.net/redelm/"
|
||||
SRC_URI="http://pages.sbcglobal.net/redelm/cpuburn_${MY_P}_tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND="sys-devel/gcc"
|
||||
RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )"
|
||||
|
||||
src_unpack() {
|
||||
# for some reason he has it _tar instead of .tar ...
|
||||
unpack ${A}
|
||||
tar -xf cpuburn_${MY_P}_tar || die
|
||||
|
||||
if use amd64 ; then #65719
|
||||
cd "${S}"
|
||||
sed -i 's:gcc -s:gcc -m32 -s:' Makefile || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Design README
|
||||
dobin burn{BX,K6,K7,MMX,P5,P6} || die
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/cpuburn/cpuburn-1.4a-r1.ebuild,v 1.1 2014/06/16 06:10:02 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P="${PV/./_}"
|
||||
|
||||
DESCRIPTION="Designed to heavily load CPU chips [testing purposes]"
|
||||
HOMEPAGE="http://pages.sbcglobal.net/redelm/"
|
||||
#SRC_URI="http://pages.sbcglobal.net/redelm/cpuburn_${MY_P}_tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-flags.patch \
|
||||
"${FILESDIR}"/01-variables.patch
|
||||
use amd64 && append-flags -m32 #65719
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Design README
|
||||
dobin burn{BX,K6,K7,MMX,P5,P6}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
--- cpuburn-1.4a.orig/burnK7.S
|
||||
+++ cpuburn-1.4a/burnK7.S
|
||||
@@ -74,6 +74,7 @@ int_exit:
|
||||
push %eax
|
||||
int $0x80
|
||||
#endif
|
||||
+.data # Data allocation
|
||||
.align 32,0
|
||||
.fill 64
|
||||
half: .long 0x7fffffff,0
|
||||
--- cpuburn-1.4a.orig/burnP5.S
|
||||
+++ cpuburn-1.4a/burnP5.S
|
||||
@@ -77,6 +77,7 @@ crunch:
|
||||
#else
|
||||
int $0x80
|
||||
#endif
|
||||
+.data # Data allocation
|
||||
.align 32,0
|
||||
half: .long 0xffffffff,0x3fdfffff
|
||||
one: .long 0xffffffff,0x3fefffff
|
||||
--- cpuburn-1.4a.orig/burnP6.S
|
||||
+++ cpuburn-1.4a/burnP6.S
|
||||
@@ -69,6 +69,7 @@ int_exit: # error abort
|
||||
push %eax # *BSD syscall
|
||||
int $0x80
|
||||
#endif
|
||||
+.data # Data allocation
|
||||
.align 32,0
|
||||
half: .long 0x7fffffff,0
|
||||
e: .long 0xffffffff,0x3fdfffff
|
||||
--- cpuburn-1.4a.orig/burnK6.S
|
||||
+++ cpuburn-1.4a/burnK6.S
|
||||
@@ -68,6 +68,7 @@ int_exit:
|
||||
push %eax
|
||||
int $0x80
|
||||
#endif
|
||||
+.data # Data allocation
|
||||
.align 32,0
|
||||
half: .long 0x7fffffff,0
|
||||
e: .long 0xffffffff,0x3fdfffff
|
@ -0,0 +1,399 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.326.ebuild,v 1.1 2014/06/16 05:59:26 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
tcl? ( dev-lang/tcl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable netbeans)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable session xsmp)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${FILESDIR}"/gvim.xpm
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.3.4.ebuild,v 1.1 2014/06/16 06:45:56 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
|
||||
inherit subversion autotools
|
||||
else
|
||||
MY_P=${PN}-${PV/_}
|
||||
SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="http://www.nano-editor.org/ http://www.gentoo.org/doc/en/nano-basics-guide.xml"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
|
||||
magic? ( sys-apps/file )
|
||||
nls? ( virtual/libintl )
|
||||
!ncurses? ( slang? ( sys-libs/slang ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
|
||||
local myconf=()
|
||||
case ${CHOST} in
|
||||
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
|
||||
esac
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--htmldir=/trash \
|
||||
$(use_enable !minimal color) \
|
||||
$(use_enable !minimal multibuffer) \
|
||||
$(use_enable !minimal nanorc) \
|
||||
--disable-wrapping-as-root \
|
||||
$(use_enable spell speller) \
|
||||
$(use_enable justify) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode utf8) \
|
||||
$(use_enable minimal tiny) \
|
||||
$(usex ncurses --without-slang $(use_with slang)) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/trash
|
||||
|
||||
dodoc doc/nanorc.sample
|
||||
dohtml doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/nanorc.sample nanorc
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
dosym /bin/nano /usr/bin/nano
|
||||
}
|
@ -0,0 +1,232 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.326.ebuild,v 1.1 2014/06/16 05:57:58 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-features=tiny \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,370 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.326.ebuild,v 1.1 2014/06/16 05:59:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcl? ( dev-lang/tcl )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
sys-devel/autoconf
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-mzschemeinterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-selinux \
|
||||
--disable-tclinterp \
|
||||
--disable-gpm"
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nut-19.1.tar.gz 1399743 SHA256 643aaccaeee1122ca785f903bdf9bf19f5c7900941318a833561db204b495f7e SHA512 b89bc3c7919bfcccba6955993f3fbc74b7bf81b8daf314d15ef256581b16e296806b59bfb1e85ecdbdee25cda7b42c5dc14aadfb8b1cca4a54940ae1b62504fc WHIRLPOOL 1b87eb54b05f7df683535f5b1ef04d7ed63c0ceb7449174bd7ac5c0669068c7a8450b647281c193e0ca1c2614c7d9f7800b1c32fcab1348d52daa755cb77c090
|
||||
DIST nut-19.2.tar.gz 1401187 SHA256 9aa1489e6644137c7b9fe2e2520dd4409e2e3c09c0f2e505aba0ad640e7e892c SHA512 c48622c5e81b37c94e2f8c3bdee27324901988260dc05b528280a0c88133d3ce7813e3f1828b69e3c0dd2baa5faa206e2524a437c7c2a4080e864dd8433ce492 WHIRLPOOL 4ea0d11820b451f9d980556790a885756f24a4f7a55eb9121797f49ef1e2339abe5ec891bb152092bfe4cd49a75ddfd52dcd7b4a3f8645f72fcd02c84530d0cb
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-19.2.ebuild,v 1.1 2014/06/16 05:24:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\" \
|
||||
nut
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
|
||||
dobin nut
|
||||
doman nut.1
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/kqoauth/kqoauth-0.98-r1.ebuild,v 1.1 2014/06/16 07:58:28 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification"
|
||||
HOMEPAGE="https://github.com/kypeli/kQOAuth"
|
||||
SRC_URI="https://github.com/kypeli/kQOAuth/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# prevent tests from beeing built at src_compile
|
||||
sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed"
|
||||
# respect libdir
|
||||
sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed"
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libverto-0.2.4.tar.gz 341895 SHA256 36499ea1195d9185f005a74186eaddb3ad878400a5329e6d4bd76dd0faaaffbb SHA512 c6e1b056c691d63cbb6918a26ba4af427804c2cfb8523b14fae229e5a462eb545977c42b8ac5d5465b67d9ba2abb343638dc63e8e0244b29e5ff96a1715ffdb5 WHIRLPOOL 36a64e8941042030768cf874cf9d5c574f9af054a1d053049227b8d3402ee7b0aca18022218e494765c5c91d94fb5a33559933519a6bff65436a5f760544e568
|
||||
DIST libverto-0.2.5.tar.gz 349722 SHA256 b249067e91a98a5a44ff958d77c2e5a45de697d08dfd22800aa760d752d7a6ce SHA512 d57a7f86e714d3fbed391984de3356d8a2769f846985769c1be7d881647c1be95a5fc6a82bba1660ef3241aa1a40150b5e005af6f35dc32473facfdea49c556e WHIRLPOOL af696e8503e2bd8331826bb3c437ab640a83263ab2e9dfaaf63d240c9a8e58803ef0df440ef264add3884d47cb060e60fb2701f1578e845e1c92e74263e7eb89
|
||||
DIST libverto-0.2.6.tar.gz 352690 SHA256 17eca6a3855f4884e2e7095e91501767d834b3bf313a6f59a93303f54ac91c9e SHA512 aa8d047501d28741f2f8185fc4a0ef6dc4b99dbe69b583c40cd4c0afc97db4dd0a928d9ec23861fff61651e9ac82e52da9473b8e62ccc11a91e5e5c6b41dfd3b WHIRLPOOL 518eb5390e3e3a6265e9f3fd049755f737d768efca23f3abef5286b512e6576cf6d16d241e1430debfc15fb974df543a3435bc926784d143dad37883bac04914
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/llvmpy/llvmpy-0.12.6.ebuild,v 1.1 2014/06/16 08:58:07 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper around the llvm C++ library"
|
||||
HOMEPAGE="http://llvmpy.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
# fails with llvm-3.4
|
||||
RDEPEND="=sys-devel/llvm-3.3*:=[multitarget]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
# Usual; req'd for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.12.2-return-type.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib* || die
|
||||
${PYTHON} -c "import llvm; llvm.test()" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.2.1.ebuild,v 1.1 2014/06/16 10:07:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple mock implementation of python-ldap"
|
||||
HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.python.org/pypi/mockldap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="~dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( >=dev-python/passlib-1.6.1[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Disable un-needed d'loading during doc build
|
||||
PATCHES=( "${FILESDIR}"/mapping.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-python/passlib; then
|
||||
elog "Please install dev-python/passlib for hashed password support."
|
||||
fi
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera/hiera-1.3.4-r1.ebuild,v 1.1 2014/06/16 05:24:06 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple pluggable Hierarchical Database"
|
||||
HOMEPAGE="http://projects.puppetlabs.com/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/mocha )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/json"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Our json package is either the compiled version or the pure
|
||||
# version. Fix gemspec accordingly.
|
||||
sed -i -e 's/json_pure/json/' ../metadata || die
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.12.10-r1.ebuild,v 1.1 2014/06/16 05:37:33 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 jruby ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yardoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
|
||||
HOMEPAGE="http://gofreerange.com/mocha/docs/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.12"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake examples || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/unit/*
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.rb || die
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.13.3-r2.ebuild,v 1.1 2014/06/16 05:37:33 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yardoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
|
||||
HOMEPAGE="http://gofreerange.com/mocha/docs/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.13"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/unit/*
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lcov-1.10.tar.gz 150174 SHA256 8a4661becc95fafad7875786672f7f29b080437825c3ff31d55a49492c15b88f SHA512 0fd94b04677dfaadc49a1c936638bbd09dff1fba07f3b2e7789ba6f6f7e2c58c5f5e69341bf33c9a3c3d8b3590a37cf87d1fbc04083736179a6cc56fc70c3c3f WHIRLPOOL fd89e3d3fd55dc4f92a8a216b88d4a99e1660efaa6097492b680a2e4293eac29fd88dcbbf83ec0b6a2b742d3dd76796e6ad9ce0e6306c2d88ae69b978f4f96aa
|
||||
DIST lcov-1.11.tar.gz 155906 SHA256 c282de8d678ecbfda32ce4b5c85fc02f77c2a39a062f068bd8e774d29ddc9bf8 SHA512 db42256c7fbe00d17256ad4944b7e658e65f2dc2b9df1814e25d46a652e92a0ff8bacd4e68de743681df22f4352ffc82b3ccdc0a85723546d7eb64c92e28c0fe WHIRLPOOL 8309d97546a228e3c2c6a4cb95d2dc409be1dde46bd96821c83c3a8105e7026a64b2121f954fbe569f99a70ae4de3b936d7199ff8099bdedf3aee29ba684b3d0
|
||||
DIST lcov-1.7.tar.gz 109396 SHA256 3636cebe44da3c06d0096b4eea96bf7838502cc30611ab25373c03fda382a3b3 SHA512 fdb55ebc3a0a6be8d9d325a89f158c1f755731d66ff69e59eff3776c51fc40ea6ac973964de32cf5b3a191c726a74fe7d04a21342f5676f2854fe174e6bd5b94 WHIRLPOOL a24b78d2383f6b3b73740e5d404b8b9f66c32ee21fabb05e1549c210902a13f0874acc3c4d7fbd53751429983e40cd534dc09fff5ac68d90e9913c2a0eef4e71
|
||||
DIST lcov-1.9.tar.gz 140035 SHA256 c37e125d4f0773339de3600d45ad325fe710ea2f0051d7ee2b8a168f450f1aca SHA512 518f068d5eb4a805985863e7b755ae16b1b2ebb9e42cc57c5cda20a60f22e170c1e2957692086e5eeabe12ddbcf39132494aa2ea7ce33411e8abeddc759852ee WHIRLPOOL 2b7e6f1d743ded96e3ecc16c7733b8c76fccbf0aff07a02c02f3e3e08c9fb8f85aa35d4258830f17291fa5d4eedc554c808528b4158919c65439f524c5fd78c7
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/lcov/lcov-1.11.ebuild,v 1.1 2014/06/16 07:28:50 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
|
||||
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
|
||||
SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5
|
||||
dev-perl/GD[png]"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}" install
|
||||
}
|
@ -1 +1 @@
|
||||
DIST scramble-0.9.5.tar.gz 552301 RMD160 07905c8c3dc73c7411f8d3aeb1a7e0730b3c017f SHA1 da9f7d5046b53b024b1e7bb4ef12335f1e4c594b SHA256 9f0d27c65962f333f2a54294d1b42150aed0302fc12548a89c44d9f721d5d56f
|
||||
DIST scramble-0.9.5.tar.gz 552301 SHA256 9f0d27c65962f333f2a54294d1b42150aed0302fc12548a89c44d9f721d5d56f SHA512 ff361cefe842d6b2019a78571182fe35fc77a1332d6365211af7cf292da8532023bd565b7eed8b44545716474d441b0793253e856a1cad937f62396a5a29bd2b WHIRLPOOL 6361eed7868d79ed556cec368c439a534e08d3a4fd9ab4edd97a4af515f9fe1d2bcb92d8c972e0395755b33a5ca432e820a6a1e960f0003db237f97f4fdda81d
|
||||
|
@ -1,10 +1,3 @@
|
||||
DIST gmic_1.5.8.0.tar.gz 2257558 SHA256 94382a599c23dd0be2ed9bf539072c057b7f780a8ac63b391a27522fec28f1e9 SHA512 46c7d46da2fd1f063dbb23df9cc8e894ff741871cc8d7ee570de54c5313ed101a3352915a71d952913e5bca97e35074fb025646aa05fd087d1575383ac2972b8 WHIRLPOOL 33ea1d72619bb40cc89357732b0f12c14377c9a5c7ab61d40300f9e81570d4e7fb01089597b9bb45e09358c67bbcf0ca2e25841e5e5e7c7b998feb870fccbad9
|
||||
DIST gmic_1.5.8.1.tar.gz 2265467 SHA256 2b0b813253e8c409a8535d350894245b35836cd849af31986055e0a09b8d1cea SHA512 6fea97ae18abe770ba827946457955c74cb4180a272e7fb0a6e2a0f612bec6f8fd83daa4c1010eb236886ebacef331d9b1b0a4f0c64dbde27261e76f71244ef7 WHIRLPOOL f9fc34c21f87c222b081bcef2ae819cbe6f25c1b66a890a569ffae667acbdc5f334496ba8d1d5ddf811550ec0844bd2936ee3564f131bb7f5b1b35ba7a70dcde
|
||||
DIST gmic_1.5.8.2.tar.gz 2319666 SHA256 459d0f8cf6ee0a9e8b2254ef93be18cf985bbec699de5354b52671e15f67c3b4 SHA512 5f54147a8903d49667c825afb28564753b0636d21812bc8f12fc1effc3586063c95fe5676c7e69924c69cd790cc4399c5a87a535195bbbecc1656d3de8bc398c WHIRLPOOL 07601508c81be6d3cc8b79ef0f524a36c507696148ec11524f978ae2df4c1326035de908f5d467d24b6482544a5a02f77f7a2847f74cef8806b50213d937e5a9
|
||||
DIST gmic_1.5.8.3.tar.gz 2341936 SHA256 ed200f839c6b7cfa7df37a5b286d6dc106708a4466fe8d5e316b0a92681ad983 SHA512 70824a618365c9a0a46604ee3892f48284199b34888fc020860091e7ec9f93f5754d030427faa164c3542fa85a198f1dda82e4b7ee598958acfb48269c255663 WHIRLPOOL a0d677dead2038bf286d0e03a000c8c95971ab0868f375febf6637caddf7f1a0bdd90f49e5a9e71b1234a6b1711afa1559d9da37b589e07de7e2255f1c1d1e38
|
||||
DIST gmic_1.5.8.4.tar.gz 2359343 SHA256 1e8d20e93b37bfeee8b402c3a23fe8326f49304218a1537d027983e225726076 SHA512 cbe22391ab86e59707c734f641b79035fc230a696593f0f51c7e622bf4e0ce0c8f3fc14f4b40fa35bb80895e25cb5ec3d4c50511e1dd71fe30a957f078ae9c75 WHIRLPOOL 0c7ac6bba29d1453472a6488488f1f20fd349f84d002db93bf69d4f4cce392b1f7bd85283e0c698106da75f12311268096954e10333807c2dfd9e94900dcc84e
|
||||
DIST gmic_1.5.8.5.tar.gz 2564862 SHA256 823c909f04f333b2d0c420221db1e038a4b9c57891bdbc364b5aef58d25b15e7 SHA512 40461b17a315fd85d16831815a692dfc584326352fb1da10786fe0c486deb51787ed5e20591c24240dd29d113daa42c962ad99e24e9ec063f4856568bafde4ca WHIRLPOOL b4ea08e86e486013aa126e8f06eeab8b750b72b910c5a1a407b76849e69efdb516ddc46c21070a844722992cf8d0351a6508fa9f86178d1dc2d8d90808d3a268
|
||||
DIST gmic_1.5.8.6.tar.gz 2691672 SHA256 21f90a37f2b63070c3d31ad19139c90d3241e62c3b1cca04eb1a5ca45838ad91 SHA512 1687fac247b922cc1d4c42821d3d79eb25e5ab6be0bf6b9b5bf026edec71ba39d2a627cfa604ae9779c49b66e12c56dae2dfdae163e5a3c13d2cf21b2ad5f3a6 WHIRLPOOL c106a7780ef1c542974a78ae2208dcd7dbf8ec714746264ee124876651b7bf3590d75c8c0fef27b3e2fd63627644da52b5572be9935209958a8aa3b5eae7edb8
|
||||
DIST gmic_1.5.9.1.tar.gz 2780328 SHA256 6ef0f700a34398c550ec8c44c53393ef222c0bf6dc998fe14b6e434069158cc9 SHA512 a0298925fca007fc95a4d892e41785050bddff4d891e996217af5110c34d550f935cdd1033338e30495fbcb27b76f16a9f201b7b4ce5eb6af2e030c61a040e85 WHIRLPOOL 7b3e9ec6a38369feea423ebf9e76787e8135a8985a164789e45493b98448f97524508d18d2ae9dd784e5b53f94e22702d0c48f871d283c5544c4f4fcd4a42a08
|
||||
DIST gmic_reference-1.5.8.0.pdf.xz 16097444 SHA256 42b7c29d141fa382d5cdaa2236382682b13f64d705c7c42ac7959decbdfae08b SHA512 6222a729a5d1fdd0ccab50c45b5ce60f92a8122570938e8c71f50e86d91f10bb91f7853d59fc4e6d1b918498fe0483ad4a513192b3f46863a0b7580ffc51d1a7 WHIRLPOOL b1900f4ccb34aebd1a8e5c3cfff901b4fa09ae1f26b8ef96ce298d98d23338e3f9d71bf7a777821e43322dc9fe5ad3d0da452b82b86248467575b5b6b03b4b97
|
||||
DIST gmic_reference-1.5.8.1.pdf.xz 16100496 SHA256 15aa3e4d4e67b8263640dee2a1eae4bb6de6ae6f4f681c320c0f33841e231799 SHA512 aaae69edb2833edd82568449cc428d03dc426001c69ed588442be65c5de75ee5f19d41852fb84b10f0c6c55279d5275eb6aaf929fb4e331e33aa51ecaae276b6 WHIRLPOOL 1003a188d2153046cf463a55ffd45e9693a1be4ad87653af2e76613d634f7e858479f9e1915f351061a7525d197cd3685556222968013e8700aadb8acd1dfd5a
|
||||
DIST gmic_1.5.9.2.tar.gz 2784355 SHA256 8fffca4cf2964f75961f165e507101444da593da8a525551bc359a3e7542d3dc SHA512 f451baabfc3a4e51a9e882a970bb26551c72f3802d3c6bdf76ffe37be9dd69eeada75e02457572037124f914fbed6f96ddf0620771b6c71901a4478f38ad3e53 WHIRLPOOL 9760484589e1e84949e6059d0b681644773259ed9242dfcc43440a6bfedec75fa8e969b4e7eb74c6208b0d21a9d311a6751916850dccfd903593c4b78cc7d659
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- gmic-1.5.2.2/src/CImg.h
|
||||
+++ gmic-1.5.2.2/src/CImg.h
|
||||
@@ -318,6 +318,7 @@
|
||||
extern "C" {
|
||||
#include "avformat.h"
|
||||
#include "avcodec.h"
|
||||
+#include "libavutil/mathematics.h"
|
||||
#include "swscale.h"
|
||||
}
|
||||
#endif
|
||||
@@ -44795,7 +44796,11 @@
|
||||
AVPacket pkt;
|
||||
int got_packet;
|
||||
av_init_packet(&pkt);
|
||||
+#if LIBAVCODEC_VERSION_INT<AV_VERSION_INT(54,1,0)
|
||||
+ out_size = avcodec_encode_video(c,video_outbuf,video_outbuf_size,picture);
|
||||
+#else
|
||||
out_size = avcodec_encode_video2(c,&pkt,picture,&got_packet);
|
||||
+#endif
|
||||
if (got_packet) {
|
||||
pkt.pts = av_rescale_q(c->coded_frame->pts,c->time_base,video_str->time_base);
|
||||
if (c->coded_frame->key_frame) pkt.flags|=AV_PKT_FLAG_KEY;
|
@ -1,126 +0,0 @@
|
||||
--- gmic-1.5.8.0/src/Makefile
|
||||
+++ gmic-1.5.8.0/src/Makefile
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -88,18 +87,7 @@
|
||||
endif
|
||||
|
||||
# Flags to enable debugging.
|
||||
-DEBUG_CFLAGS = -Dcimg_verbosity=3 -g
|
||||
-
|
||||
-# Flags to enable optimizations.
|
||||
-ifeq ($(CC),g++)
|
||||
-OPT_CFLAGS = -O3 -mtune=generic # -fno-tree-pre # -ffast-math
|
||||
-endif
|
||||
-ifeq ($(CC),clang++)
|
||||
-OPT_CFLAGS = -O1
|
||||
-endif
|
||||
-ifeq ($(CC),icc)
|
||||
-OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
|
||||
-endif
|
||||
+DEBUG_CFLAGS = -Dcimg_verbosity=3
|
||||
|
||||
# Flags to enable parallel processing.
|
||||
ifneq ($(OSTYPE),Darwin)
|
||||
@@ -113,14 +101,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -155,7 +143,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -166,14 +154,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -306,10 +288,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -329,10 +311,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -350,10 +332,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -362,7 +343,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -387,7 +367,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -1,106 +0,0 @@
|
||||
--- gmic-1.5.8.3/src/Makefile
|
||||
+++ gmic-1.5.8.3/src/Makefile
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -118,14 +117,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -160,7 +159,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -171,14 +170,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -311,10 +304,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -334,10 +327,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -355,10 +348,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -367,7 +359,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -392,7 +383,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -0,0 +1,313 @@
|
||||
--- gmic-1.5.9.2/src/Makefile
|
||||
+++ gmic-1.5.9.2/src/Makefile
|
||||
@@ -77,10 +77,9 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
-MANDATORY_LDFLAGS += -lm
|
||||
+MANDATORY_LIBS = -lm
|
||||
endif
|
||||
MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS)
|
||||
ifeq ($(OS),Unix)
|
||||
@@ -108,7 +107,7 @@
|
||||
ifneq ($(OS),Darwin)
|
||||
PARALLEL_CFLAGS = -Dgmic_is_parallel
|
||||
ifneq ($(OSTYPE),msys)
|
||||
-PARALLEL_LDFLAGS = -lpthread
|
||||
+PARALLEL_LIBS = -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -121,98 +120,92 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LIBS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LIBS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\"
|
||||
-GDI32_LDFLAGS = -lgdi32
|
||||
+GDI32_LIBS = -lgdi32
|
||||
|
||||
# Flags to enable native support for PNG image files, using the PNG library.
|
||||
# This requires the presence of the libpng include and library files.
|
||||
# (package 'libpng12-dev' on Debian).
|
||||
PNG_CFLAGS = -Dcimg_use_png
|
||||
-PNG_LDFLAGS = -lpng -lz
|
||||
+PNG_LIBS = -lpng -lz
|
||||
|
||||
# Flags to enable native support for JPEG image files, using the JPEG library.
|
||||
# This requires the presence of the libjpeg include and library files.
|
||||
# (package 'libjpeg62-dev' on Debian).
|
||||
JPEG_CFLAGS = -Dcimg_use_jpeg
|
||||
-JPEG_LDFLAGS = -ljpeg
|
||||
+JPEG_LIBS = -ljpeg
|
||||
|
||||
# Flags to enable native support for TIFF image files, using the TIFF library.
|
||||
# This requires the presence of the libtiff include and library files.
|
||||
# (package 'libtiff4-dev' on Debian).
|
||||
TIFF_CFLAGS = -Dcimg_use_tiff
|
||||
-TIFF_LDFLAGS = -ltiff
|
||||
+TIFF_LIBS = -ltiff
|
||||
|
||||
# Flags to enable native support for MINC2 image files, using the MINC2 library.
|
||||
# ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide )
|
||||
# (package 'libminc-dev' on Debian).
|
||||
MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include
|
||||
-MINC2_LDFLAGS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
|
||||
+MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
|
||||
|
||||
# Flags to enable native support for various video files, using the FFMPEG library.
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LIBS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
# (package 'zlib1g-dev' on Debian).
|
||||
ZLIB_CFLAGS = -Dcimg_use_zlib
|
||||
-ZLIB_LDFLAGS = -lz
|
||||
+ZLIB_LIBS = -lz
|
||||
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
+OPENCV_LIBS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
# (package 'libgraphicsmagick++1-dev' on Debian).
|
||||
MAGICK_CFLAGS = -Dcimg_use_magick -I$(USR)/include/GraphicsMagick
|
||||
ifeq ($(OS),Darwin)
|
||||
-MAGICK_LDFLAGS = -L$(USR)/lib -lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lbz2 -lxml2 -lz -lm -lltdl
|
||||
+MAGICK_LIBS = -L$(USR)/lib -lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lbz2 -lxml2 -lz -lm -lltdl
|
||||
else
|
||||
-MAGICK_LDFLAGS = -lGraphicsMagick++
|
||||
+MAGICK_LIBS = -lGraphicsMagick++
|
||||
endif
|
||||
|
||||
# Flags to enable native support of EXR file format, using the OpenEXR library/
|
||||
# This requires the presence of the OpenEXR include and library files.
|
||||
# (package 'libopenexr-dev' on Debian).
|
||||
EXR_CFLAGS = -Dcimg_use_openexr -I$(USR)/include/OpenEXR
|
||||
-EXR_LDFLAGS = -lIlmImf -lHalf
|
||||
+EXR_LIBS = -lIlmImf -lHalf
|
||||
|
||||
# Flags to enable the use of the FFTW3 library.
|
||||
# This requires the presence of the FFTW3 include and library files.
|
||||
# (package 'libfftw3-dev' on Debian).
|
||||
FFTW_CFLAGS = -Dcimg_use_fftw3
|
||||
-FFTW_LDFLAGS = -lfftw3 -lfftw3_threads
|
||||
+FFTW_LIBS = -lfftw3 -lfftw3_threads
|
||||
ifeq ($(OSTYPE),msys)
|
||||
-FFTW_LDFLAGS = -lfftw3-3
|
||||
+FFTW_LIBS = -lfftw3-3
|
||||
endif
|
||||
|
||||
# Flags to enable the use of the BOARD library.
|
||||
# This requires the presence of the BOARD include and library files.
|
||||
# (no packages exist for Debian at this time).
|
||||
BOARD_CFLAGS = -Dcimg_use_board
|
||||
-BOARD_LDFLAGS = -lboard
|
||||
+BOARD_LIBS = -lboard
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# Predefined sets of flags for different default configurations.
|
||||
@@ -222,21 +215,21 @@
|
||||
STD_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(X11_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \
|
||||
$(EXR_CFLAGS) $(FFTW_CFLAGS) # $(XSHM_CFLAGS) $(OPENCV_CFLAGS) $(FFMPEG_CFLAGS) # $(MAGICK_CFLAGS)
|
||||
-STD_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) $(PNG_LDFLAGS) \
|
||||
- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(EXR_LDFLAGS) $(FFTW_LDFLAGS) # $(XSHM_LDFLAGS) $(OPENCV_LDFLAGS) $(FFMPEG_LDFLAGS) # $(MAGICK_LDFLAGS)
|
||||
+STD_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) $(PNG_LIBS) \
|
||||
+ $(JPEG_LIBS) $(TIFF_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(EXR_LIBS) $(FFTW_LIBS) # $(XSHM_LIBS) $(OPENCV_LIBS) $(FFMPEG_LIBS) # $(MAGICK_LIBS)
|
||||
|
||||
# Unix : Minimal build.
|
||||
MINIMAL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) \
|
||||
${TIFF_CFLAGS} ${PNG_CFLAGS} $(ZLIB_CFLAGS) $(FFTW_CFLAGS) $(CHECKIMAGE_CFLAGS) # $(OPENCV_CFLAGS)
|
||||
-MINIMAL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) \
|
||||
- ${TIFF_LDFLAGS} ${PNG_LDFLAGS} $(ZLIB_LDFLAGS) $(FFTW_LDFLAGS) # $(OPENCV_LDFLAGS)
|
||||
+MINIMAL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) \
|
||||
+ ${TIFF_LIBS} ${PNG_LIBS} $(ZLIB_LIBS) $(FFTW_LIBS) # $(OPENCV_LIBS)
|
||||
|
||||
# Unix : Static build.
|
||||
STATIC_PATH = /usr/lib/
|
||||
STATIC_EXTRA =
|
||||
STATIC_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0
|
||||
-STATIC_UNIX_LDFLAGS = $(PARALLEL_LDFLAGS) \
|
||||
+STATIC_UNIX_LIBS = $(PARALLEL_LIBS) \
|
||||
$(STATIC_PATH)/libpng.a \
|
||||
$(STATIC_PATH)/libjpeg.a \
|
||||
$(STATIC_PATH)/libz.a \
|
||||
@@ -246,40 +239,40 @@
|
||||
FULL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \
|
||||
$(FFTW_CFLAGS) $(EXR_CFLAGS) $(OPENCV_CFLAGS) # $(XSHM_CFLAGS) $(FFMPEG_CFLAGS) $(MAGICK_CFLAGS) $(BOARD_CFLAGS) $(MINC2_CFLAGS)
|
||||
-FULL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) $(PNG_LDFLAGS) \
|
||||
- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(FFTW_LDFLAGS) $(EXR_LDFLAGS) $(OPENCV_LDFLAGS) # $(XSHM_LDFLAGS) $(FFMPEG_LDFLAGS) $(MAGICK_LDFLAGS) $(BOARD_LDFLAGS) $(MINC2_LDFLAGS)
|
||||
+FULL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) $(PNG_LIBS) \
|
||||
+ $(JPEG_LIBS) $(TIFF_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(FFTW_LIBS) $(EXR_LIBS) $(OPENCV_LIBS) # $(XSHM_LIBS) $(FFMPEG_LIBS) $(MAGICK_LIBS) $(BOARD_LIBS) $(MINC2_LIBS)
|
||||
|
||||
# Windows : Standard build.
|
||||
STD_WINDOWS_CFLAGS= $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(GDI32_CFLAGS) $(ZLIB_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(FFTW_CFLAGS)
|
||||
-STD_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(GDI32_LDFLAGS) $(ZLIB_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(FFTW_LDFLAGS)
|
||||
+STD_WINDOWS_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(GDI32_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) $(FFTW_LIBS)
|
||||
|
||||
# Windows : Minimal build.
|
||||
MINIMAL_WINDOWS_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(DEBUG_CFLAGS) $(GDI32_CFLAGS) $(CHECKIMAGE_CFLAGS)
|
||||
-MINIMAL_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(GDI32_LDFLAGS)
|
||||
+MINIMAL_WINDOWS_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(GDI32_LIBS)
|
||||
|
||||
# Mac-OSX : Standard build.
|
||||
STD_MACOSX_CFLAGS= $(MANDATORY_CFLAGS) $(X11_CFLAGS) $(ZLIB_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) \
|
||||
$(EXR_CFLAGS) $(FFTW_CFLAGS) # $(MAGICK_CFLAGS)
|
||||
-STD_MACOSX_LDFLAGS = $(MANDATORY_LDFLAGS) $(X11_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) \
|
||||
- $(EXR_LDFLAGS) $(FFTW_LDFLAGS) # $(MAGICK_LDFLAGS)
|
||||
+STD_MACOSX_LIBS = $(MANDATORY_LIBS) $(X11_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) \
|
||||
+ $(EXR_LIBS) $(FFTW_LIBS) # $(MAGICK_LIBS)
|
||||
|
||||
# GIMP plug-in : Standard build.
|
||||
STD_GIMP_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(FFTW_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS) ${IS_BETA_CFLAGS} -Dcimg_display=0 -Dcimg_use_rng
|
||||
-STD_GIMP_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS)
|
||||
+STD_GIMP_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(FFTW_LIBS) $(PNG_LIBS) $(ZLIB_LIBS)
|
||||
ifeq ($(OSTYPE),msys)
|
||||
-STD_GIMP_LDFLAGS += -mwindows -lpthread
|
||||
+STD_GIMP_LIBS += -mwindows -lpthread
|
||||
endif
|
||||
|
||||
# Libgmic : Standard build.
|
||||
STD_LIB_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0 # -fno-ipa-sra
|
||||
-STD_LIB_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(FFTW_LDFLAGS)
|
||||
+STD_LIB_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(FFTW_LIBS)
|
||||
|
||||
# GMICol : Standard build.
|
||||
GMICOL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0
|
||||
-GMICOL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(ZLIB_LDFLAGS) /usr/lib/x86_64-linux-gnu/libfftw3.a /usr/lib/x86_64-linux-gnu/libfftw3_threads.a
|
||||
+GMICOL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(PNG_LIBS) $(JPEG_LIBS) $(ZLIB_LIBS) /usr/lib/x86_64-linux-gnu/libfftw3.a /usr/lib/x86_64-linux-gnu/libfftw3_threads.a
|
||||
|
||||
#--------------------------
|
||||
# Define Makefile entries.
|
||||
@@ -307,63 +300,61 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_GIMP_LIBS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_LIB_LIBS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart
|
||||
else
|
||||
- cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)"
|
||||
+ cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_MACOSX_LIBS) $(OPT_LDFLAGS)"
|
||||
endif
|
||||
|
||||
# Entries for other configurations.
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
solaris:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_cli_standard
|
||||
|
||||
macosx:
|
||||
- $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_MACOSX_LIBS) $(OPT_LDFLAGS)" gmic_cli_standard
|
||||
|
||||
windows:
|
||||
- $(MAKE) "CFLAGS=$(STD_WINDOWS_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_WINDOWS_LDFLAGS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_WINDOWS_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_WINDOWS_LIBS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
|
||||
gmicol:
|
||||
- $(MAKE) "CFLAGS+=$(GMICOL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(GMICOL_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(GMICOL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(GMICOL_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
static:
|
||||
- $(MAKE) "CFLAGS+=$(STATIC_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STATIC_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(STATIC_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STATIC_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
minimal:
|
||||
- $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LIBS=$(MINIMAL_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
full:
|
||||
- $(MAKE) "CFLAGS=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(FULL_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_full
|
||||
+ $(MAKE) "CFLAGS+=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(FULL_UNIX_LIBS)" gmic_cli_full
|
||||
|
||||
winminimal:
|
||||
- $(MAKE) "CFLAGS=$(MINIMAL_WINDOWS_CFLAGS)" "LDFLAGS=$(MINIMAL_WINDOWS_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(MINIMAL_WINDOWS_CFLAGS)" "LIBS=$(MINIMAL_WINDOWS_LIBS)" gmic_cli_standard
|
||||
|
||||
# Internal rules to build compilation modules.
|
||||
gmic_lib.o: gmic.cpp
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LIBS)
|
||||
else
|
||||
- $(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
+ $(CC) $(LDFLAGS) -shared -o libgmic.so gmic_lib.o $(LIBS)
|
||||
endif
|
||||
|
||||
gmic_gimp.o: gmic.cpp
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
+ $(CC) `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --libs` $(LIBS)
|
||||
|
||||
gmic_bool.o: gmic.cpp
|
||||
$(CC) -o gmic_bool.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_bool
|
||||
@@ -384,10 +375,9 @@
|
||||
gmic_double.o: gmic.cpp
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_cli_full: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o
|
||||
- $(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
+ $(CC) $(LDFLAGS) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LIBS)
|
||||
gmic_cli_standard: gmic.cpp
|
||||
- $(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS) -o gmic gmic.cpp $(LIBS)
|
||||
|
||||
gmic_def: gmic_def.gmic
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.0.ebuild,v 1.1 2013/12/11 05:35:48 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz
|
||||
doc? ( http://dev.gentoo.org/~radhermit/dist/gmic_reference-${PV}.pdf.xz )"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/xz-utils )"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.2.2-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# Disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS} ${CPPFLAGS}" custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
use doc && dodoc "${WORKDIR}"/gmic_reference-${PV}.pdf
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.1.ebuild,v 1.1 2013/12/18 10:55:50 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz
|
||||
doc? ( http://dev.gentoo.org/~radhermit/dist/gmic_reference-${PV}.pdf.xz )"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/xz-utils )"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.2.2-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
use doc && dodoc "${WORKDIR}"/gmic_reference-${PV}.pdf
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.2.ebuild,v 1.1 2014/01/27 02:51:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
|
||||
epatch "${FILESDIR}"/${P}-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.3.ebuild,v 1.1 2014/02/11 05:30:27 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.5.ebuild,v 1.1 2014/03/27 04:51:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.4-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediainfo/libmediainfo-0.7.69.ebuild,v 1.1 2014/06/16 05:34:33 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib
|
||||
|
||||
MY_PN="MediaInfo"
|
||||
DESCRIPTION="MediaInfo libraries"
|
||||
HOMEPAGE="http://mediaarea.net/mediainfo/"
|
||||
SRC_URI="mirror://sourceforge/mediainfo/${PN}_${PV}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl doc mms static-libs"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
dev-libs/tinyxml2:=
|
||||
>=media-libs/libzen-0.4.28[static-libs=]
|
||||
curl? ( net-misc/curl )
|
||||
mms? ( >=media-libs/libmms-0.6.1[static-libs=] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}Lib/Project/GNU/Library
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's:-O2::' configure.ac || die
|
||||
append-cppflags -DMEDIAINFO_LIBMMS_DESCRIBE_SUPPORT=0
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.7.63-pkgconfig.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
--with-libtinyxml2 \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with mms libmms) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs staticlibs)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${MY_PN}Lib/Source/Doc
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
edos2unix ${PN}.pc #414545
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
|
||||
for x in ./ Archive Audio Duplicate Export Image Multiple Reader Tag Text Video; do
|
||||
insinto /usr/include/${MY_PN}/${x}
|
||||
doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}/${x}/*.h
|
||||
done
|
||||
|
||||
insinto /usr/include/${MY_PN}DLL
|
||||
doins "${WORKDIR}"/${MY_PN}Lib/Source/${MY_PN}DLL/*.h
|
||||
|
||||
dodoc "${WORKDIR}"/${MY_PN}Lib/*.txt
|
||||
if use doc; then
|
||||
dohtml -r "${WORKDIR}"/${MY_PN}Lib/Doc/*
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,8 +1,3 @@
|
||||
DIST gmic_1.5.8.0.tar.gz 2257558 SHA256 94382a599c23dd0be2ed9bf539072c057b7f780a8ac63b391a27522fec28f1e9 SHA512 46c7d46da2fd1f063dbb23df9cc8e894ff741871cc8d7ee570de54c5313ed101a3352915a71d952913e5bca97e35074fb025646aa05fd087d1575383ac2972b8 WHIRLPOOL 33ea1d72619bb40cc89357732b0f12c14377c9a5c7ab61d40300f9e81570d4e7fb01089597b9bb45e09358c67bbcf0ca2e25841e5e5e7c7b998feb870fccbad9
|
||||
DIST gmic_1.5.8.1.tar.gz 2265467 SHA256 2b0b813253e8c409a8535d350894245b35836cd849af31986055e0a09b8d1cea SHA512 6fea97ae18abe770ba827946457955c74cb4180a272e7fb0a6e2a0f612bec6f8fd83daa4c1010eb236886ebacef331d9b1b0a4f0c64dbde27261e76f71244ef7 WHIRLPOOL f9fc34c21f87c222b081bcef2ae819cbe6f25c1b66a890a569ffae667acbdc5f334496ba8d1d5ddf811550ec0844bd2936ee3564f131bb7f5b1b35ba7a70dcde
|
||||
DIST gmic_1.5.8.2.tar.gz 2319666 SHA256 459d0f8cf6ee0a9e8b2254ef93be18cf985bbec699de5354b52671e15f67c3b4 SHA512 5f54147a8903d49667c825afb28564753b0636d21812bc8f12fc1effc3586063c95fe5676c7e69924c69cd790cc4399c5a87a535195bbbecc1656d3de8bc398c WHIRLPOOL 07601508c81be6d3cc8b79ef0f524a36c507696148ec11524f978ae2df4c1326035de908f5d467d24b6482544a5a02f77f7a2847f74cef8806b50213d937e5a9
|
||||
DIST gmic_1.5.8.3.tar.gz 2341936 SHA256 ed200f839c6b7cfa7df37a5b286d6dc106708a4466fe8d5e316b0a92681ad983 SHA512 70824a618365c9a0a46604ee3892f48284199b34888fc020860091e7ec9f93f5754d030427faa164c3542fa85a198f1dda82e4b7ee598958acfb48269c255663 WHIRLPOOL a0d677dead2038bf286d0e03a000c8c95971ab0868f375febf6637caddf7f1a0bdd90f49e5a9e71b1234a6b1711afa1559d9da37b589e07de7e2255f1c1d1e38
|
||||
DIST gmic_1.5.8.4.tar.gz 2359343 SHA256 1e8d20e93b37bfeee8b402c3a23fe8326f49304218a1537d027983e225726076 SHA512 cbe22391ab86e59707c734f641b79035fc230a696593f0f51c7e622bf4e0ce0c8f3fc14f4b40fa35bb80895e25cb5ec3d4c50511e1dd71fe30a957f078ae9c75 WHIRLPOOL 0c7ac6bba29d1453472a6488488f1f20fd349f84d002db93bf69d4f4cce392b1f7bd85283e0c698106da75f12311268096954e10333807c2dfd9e94900dcc84e
|
||||
DIST gmic_1.5.8.5.tar.gz 2564862 SHA256 823c909f04f333b2d0c420221db1e038a4b9c57891bdbc364b5aef58d25b15e7 SHA512 40461b17a315fd85d16831815a692dfc584326352fb1da10786fe0c486deb51787ed5e20591c24240dd29d113daa42c962ad99e24e9ec063f4856568bafde4ca WHIRLPOOL b4ea08e86e486013aa126e8f06eeab8b750b72b910c5a1a407b76849e69efdb516ddc46c21070a844722992cf8d0351a6508fa9f86178d1dc2d8d90808d3a268
|
||||
DIST gmic_1.5.8.6.tar.gz 2691672 SHA256 21f90a37f2b63070c3d31ad19139c90d3241e62c3b1cca04eb1a5ca45838ad91 SHA512 1687fac247b922cc1d4c42821d3d79eb25e5ab6be0bf6b9b5bf026edec71ba39d2a627cfa604ae9779c49b66e12c56dae2dfdae163e5a3c13d2cf21b2ad5f3a6 WHIRLPOOL c106a7780ef1c542974a78ae2208dcd7dbf8ec714746264ee124876651b7bf3590d75c8c0fef27b3e2fd63627644da52b5572be9935209958a8aa3b5eae7edb8
|
||||
DIST gmic_1.5.9.1.tar.gz 2780328 SHA256 6ef0f700a34398c550ec8c44c53393ef222c0bf6dc998fe14b6e434069158cc9 SHA512 a0298925fca007fc95a4d892e41785050bddff4d891e996217af5110c34d550f935cdd1033338e30495fbcb27b76f16a9f201b7b4ce5eb6af2e030c61a040e85 WHIRLPOOL 7b3e9ec6a38369feea423ebf9e76787e8135a8985a164789e45493b98448f97524508d18d2ae9dd784e5b53f94e22702d0c48f871d283c5544c4f4fcd4a42a08
|
||||
DIST gmic_1.5.9.2.tar.gz 2784355 SHA256 8fffca4cf2964f75961f165e507101444da593da8a525551bc359a3e7542d3dc SHA512 f451baabfc3a4e51a9e882a970bb26551c72f3802d3c6bdf76ffe37be9dd69eeada75e02457572037124f914fbed6f96ddf0620771b6c71901a4478f38ad3e53 WHIRLPOOL 9760484589e1e84949e6059d0b681644773259ed9242dfcc43440a6bfedec75fa8e969b4e7eb74c6208b0d21a9d311a6751916850dccfd903593c4b78cc7d659
|
||||
|
@ -1,126 +0,0 @@
|
||||
--- gmic-1.5.8.0/src/Makefile
|
||||
+++ gmic-1.5.8.0/src/Makefile
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -88,18 +87,7 @@
|
||||
endif
|
||||
|
||||
# Flags to enable debugging.
|
||||
-DEBUG_CFLAGS = -Dcimg_verbosity=3 -g
|
||||
-
|
||||
-# Flags to enable optimizations.
|
||||
-ifeq ($(CC),g++)
|
||||
-OPT_CFLAGS = -O3 -mtune=generic # -fno-tree-pre # -ffast-math
|
||||
-endif
|
||||
-ifeq ($(CC),clang++)
|
||||
-OPT_CFLAGS = -O1
|
||||
-endif
|
||||
-ifeq ($(CC),icc)
|
||||
-OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
|
||||
-endif
|
||||
+DEBUG_CFLAGS = -Dcimg_verbosity=3
|
||||
|
||||
# Flags to enable parallel processing.
|
||||
ifneq ($(OSTYPE),Darwin)
|
||||
@@ -113,14 +101,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -155,7 +143,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -166,14 +154,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -306,10 +288,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -329,10 +311,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -350,10 +332,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -362,7 +343,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -387,7 +367,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -1,106 +0,0 @@
|
||||
--- gmic-1.5.8.3/src/Makefile
|
||||
+++ gmic-1.5.8.3/src/Makefile
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -118,14 +117,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -160,7 +159,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -171,14 +170,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -311,10 +304,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -334,10 +327,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -355,10 +348,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -367,7 +359,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -392,7 +383,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -0,0 +1,313 @@
|
||||
--- gmic-1.5.9.2/src/Makefile
|
||||
+++ gmic-1.5.9.2/src/Makefile
|
||||
@@ -77,10 +77,9 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
-MANDATORY_LDFLAGS += -lm
|
||||
+MANDATORY_LIBS = -lm
|
||||
endif
|
||||
MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS)
|
||||
ifeq ($(OS),Unix)
|
||||
@@ -108,7 +107,7 @@
|
||||
ifneq ($(OS),Darwin)
|
||||
PARALLEL_CFLAGS = -Dgmic_is_parallel
|
||||
ifneq ($(OSTYPE),msys)
|
||||
-PARALLEL_LDFLAGS = -lpthread
|
||||
+PARALLEL_LIBS = -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -121,98 +120,92 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LIBS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LIBS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\"
|
||||
-GDI32_LDFLAGS = -lgdi32
|
||||
+GDI32_LIBS = -lgdi32
|
||||
|
||||
# Flags to enable native support for PNG image files, using the PNG library.
|
||||
# This requires the presence of the libpng include and library files.
|
||||
# (package 'libpng12-dev' on Debian).
|
||||
PNG_CFLAGS = -Dcimg_use_png
|
||||
-PNG_LDFLAGS = -lpng -lz
|
||||
+PNG_LIBS = -lpng -lz
|
||||
|
||||
# Flags to enable native support for JPEG image files, using the JPEG library.
|
||||
# This requires the presence of the libjpeg include and library files.
|
||||
# (package 'libjpeg62-dev' on Debian).
|
||||
JPEG_CFLAGS = -Dcimg_use_jpeg
|
||||
-JPEG_LDFLAGS = -ljpeg
|
||||
+JPEG_LIBS = -ljpeg
|
||||
|
||||
# Flags to enable native support for TIFF image files, using the TIFF library.
|
||||
# This requires the presence of the libtiff include and library files.
|
||||
# (package 'libtiff4-dev' on Debian).
|
||||
TIFF_CFLAGS = -Dcimg_use_tiff
|
||||
-TIFF_LDFLAGS = -ltiff
|
||||
+TIFF_LIBS = -ltiff
|
||||
|
||||
# Flags to enable native support for MINC2 image files, using the MINC2 library.
|
||||
# ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide )
|
||||
# (package 'libminc-dev' on Debian).
|
||||
MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include
|
||||
-MINC2_LDFLAGS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
|
||||
+MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
|
||||
|
||||
# Flags to enable native support for various video files, using the FFMPEG library.
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LIBS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
# (package 'zlib1g-dev' on Debian).
|
||||
ZLIB_CFLAGS = -Dcimg_use_zlib
|
||||
-ZLIB_LDFLAGS = -lz
|
||||
+ZLIB_LIBS = -lz
|
||||
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
+OPENCV_LIBS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
# (package 'libgraphicsmagick++1-dev' on Debian).
|
||||
MAGICK_CFLAGS = -Dcimg_use_magick -I$(USR)/include/GraphicsMagick
|
||||
ifeq ($(OS),Darwin)
|
||||
-MAGICK_LDFLAGS = -L$(USR)/lib -lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lbz2 -lxml2 -lz -lm -lltdl
|
||||
+MAGICK_LIBS = -L$(USR)/lib -lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lbz2 -lxml2 -lz -lm -lltdl
|
||||
else
|
||||
-MAGICK_LDFLAGS = -lGraphicsMagick++
|
||||
+MAGICK_LIBS = -lGraphicsMagick++
|
||||
endif
|
||||
|
||||
# Flags to enable native support of EXR file format, using the OpenEXR library/
|
||||
# This requires the presence of the OpenEXR include and library files.
|
||||
# (package 'libopenexr-dev' on Debian).
|
||||
EXR_CFLAGS = -Dcimg_use_openexr -I$(USR)/include/OpenEXR
|
||||
-EXR_LDFLAGS = -lIlmImf -lHalf
|
||||
+EXR_LIBS = -lIlmImf -lHalf
|
||||
|
||||
# Flags to enable the use of the FFTW3 library.
|
||||
# This requires the presence of the FFTW3 include and library files.
|
||||
# (package 'libfftw3-dev' on Debian).
|
||||
FFTW_CFLAGS = -Dcimg_use_fftw3
|
||||
-FFTW_LDFLAGS = -lfftw3 -lfftw3_threads
|
||||
+FFTW_LIBS = -lfftw3 -lfftw3_threads
|
||||
ifeq ($(OSTYPE),msys)
|
||||
-FFTW_LDFLAGS = -lfftw3-3
|
||||
+FFTW_LIBS = -lfftw3-3
|
||||
endif
|
||||
|
||||
# Flags to enable the use of the BOARD library.
|
||||
# This requires the presence of the BOARD include and library files.
|
||||
# (no packages exist for Debian at this time).
|
||||
BOARD_CFLAGS = -Dcimg_use_board
|
||||
-BOARD_LDFLAGS = -lboard
|
||||
+BOARD_LIBS = -lboard
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# Predefined sets of flags for different default configurations.
|
||||
@@ -222,21 +215,21 @@
|
||||
STD_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(X11_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \
|
||||
$(EXR_CFLAGS) $(FFTW_CFLAGS) # $(XSHM_CFLAGS) $(OPENCV_CFLAGS) $(FFMPEG_CFLAGS) # $(MAGICK_CFLAGS)
|
||||
-STD_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) $(PNG_LDFLAGS) \
|
||||
- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(EXR_LDFLAGS) $(FFTW_LDFLAGS) # $(XSHM_LDFLAGS) $(OPENCV_LDFLAGS) $(FFMPEG_LDFLAGS) # $(MAGICK_LDFLAGS)
|
||||
+STD_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) $(PNG_LIBS) \
|
||||
+ $(JPEG_LIBS) $(TIFF_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(EXR_LIBS) $(FFTW_LIBS) # $(XSHM_LIBS) $(OPENCV_LIBS) $(FFMPEG_LIBS) # $(MAGICK_LIBS)
|
||||
|
||||
# Unix : Minimal build.
|
||||
MINIMAL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) \
|
||||
${TIFF_CFLAGS} ${PNG_CFLAGS} $(ZLIB_CFLAGS) $(FFTW_CFLAGS) $(CHECKIMAGE_CFLAGS) # $(OPENCV_CFLAGS)
|
||||
-MINIMAL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) \
|
||||
- ${TIFF_LDFLAGS} ${PNG_LDFLAGS} $(ZLIB_LDFLAGS) $(FFTW_LDFLAGS) # $(OPENCV_LDFLAGS)
|
||||
+MINIMAL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) \
|
||||
+ ${TIFF_LIBS} ${PNG_LIBS} $(ZLIB_LIBS) $(FFTW_LIBS) # $(OPENCV_LIBS)
|
||||
|
||||
# Unix : Static build.
|
||||
STATIC_PATH = /usr/lib/
|
||||
STATIC_EXTRA =
|
||||
STATIC_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0
|
||||
-STATIC_UNIX_LDFLAGS = $(PARALLEL_LDFLAGS) \
|
||||
+STATIC_UNIX_LIBS = $(PARALLEL_LIBS) \
|
||||
$(STATIC_PATH)/libpng.a \
|
||||
$(STATIC_PATH)/libjpeg.a \
|
||||
$(STATIC_PATH)/libz.a \
|
||||
@@ -246,40 +239,40 @@
|
||||
FULL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \
|
||||
$(FFTW_CFLAGS) $(EXR_CFLAGS) $(OPENCV_CFLAGS) # $(XSHM_CFLAGS) $(FFMPEG_CFLAGS) $(MAGICK_CFLAGS) $(BOARD_CFLAGS) $(MINC2_CFLAGS)
|
||||
-FULL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(X11_LDFLAGS) $(PNG_LDFLAGS) \
|
||||
- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(FFTW_LDFLAGS) $(EXR_LDFLAGS) $(OPENCV_LDFLAGS) # $(XSHM_LDFLAGS) $(FFMPEG_LDFLAGS) $(MAGICK_LDFLAGS) $(BOARD_LDFLAGS) $(MINC2_LDFLAGS)
|
||||
+FULL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(X11_LIBS) $(PNG_LIBS) \
|
||||
+ $(JPEG_LIBS) $(TIFF_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(FFTW_LIBS) $(EXR_LIBS) $(OPENCV_LIBS) # $(XSHM_LIBS) $(FFMPEG_LIBS) $(MAGICK_LIBS) $(BOARD_LIBS) $(MINC2_LIBS)
|
||||
|
||||
# Windows : Standard build.
|
||||
STD_WINDOWS_CFLAGS= $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(GDI32_CFLAGS) $(ZLIB_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(FFTW_CFLAGS)
|
||||
-STD_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(GDI32_LDFLAGS) $(ZLIB_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(FFTW_LDFLAGS)
|
||||
+STD_WINDOWS_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(GDI32_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) $(FFTW_LIBS)
|
||||
|
||||
# Windows : Minimal build.
|
||||
MINIMAL_WINDOWS_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(DEBUG_CFLAGS) $(GDI32_CFLAGS) $(CHECKIMAGE_CFLAGS)
|
||||
-MINIMAL_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(GDI32_LDFLAGS)
|
||||
+MINIMAL_WINDOWS_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(GDI32_LIBS)
|
||||
|
||||
# Mac-OSX : Standard build.
|
||||
STD_MACOSX_CFLAGS= $(MANDATORY_CFLAGS) $(X11_CFLAGS) $(ZLIB_CFLAGS) $(PNG_CFLAGS) \
|
||||
$(JPEG_CFLAGS) $(TIFF_CFLAGS) \
|
||||
$(EXR_CFLAGS) $(FFTW_CFLAGS) # $(MAGICK_CFLAGS)
|
||||
-STD_MACOSX_LDFLAGS = $(MANDATORY_LDFLAGS) $(X11_LDFLAGS) $(ZLIB_LDFLAGS) \
|
||||
- $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) \
|
||||
- $(EXR_LDFLAGS) $(FFTW_LDFLAGS) # $(MAGICK_LDFLAGS)
|
||||
+STD_MACOSX_LIBS = $(MANDATORY_LIBS) $(X11_LIBS) $(ZLIB_LIBS) \
|
||||
+ $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS) \
|
||||
+ $(EXR_LIBS) $(FFTW_LIBS) # $(MAGICK_LIBS)
|
||||
|
||||
# GIMP plug-in : Standard build.
|
||||
STD_GIMP_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(FFTW_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS) ${IS_BETA_CFLAGS} -Dcimg_display=0 -Dcimg_use_rng
|
||||
-STD_GIMP_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS)
|
||||
+STD_GIMP_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(FFTW_LIBS) $(PNG_LIBS) $(ZLIB_LIBS)
|
||||
ifeq ($(OSTYPE),msys)
|
||||
-STD_GIMP_LDFLAGS += -mwindows -lpthread
|
||||
+STD_GIMP_LIBS += -mwindows -lpthread
|
||||
endif
|
||||
|
||||
# Libgmic : Standard build.
|
||||
STD_LIB_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0 # -fno-ipa-sra
|
||||
-STD_LIB_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(FFTW_LDFLAGS)
|
||||
+STD_LIB_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(FFTW_LIBS)
|
||||
|
||||
# GMICol : Standard build.
|
||||
GMICOL_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(PARALLEL_CFLAGS) $(PNG_CFLAGS) $(JPEG_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) -Dcimg_display=0
|
||||
-GMICOL_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(PARALLEL_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(ZLIB_LDFLAGS) /usr/lib/x86_64-linux-gnu/libfftw3.a /usr/lib/x86_64-linux-gnu/libfftw3_threads.a
|
||||
+GMICOL_UNIX_LIBS = $(MANDATORY_LIBS) $(PARALLEL_LIBS) $(PNG_LIBS) $(JPEG_LIBS) $(ZLIB_LIBS) /usr/lib/x86_64-linux-gnu/libfftw3.a /usr/lib/x86_64-linux-gnu/libfftw3_threads.a
|
||||
|
||||
#--------------------------
|
||||
# Define Makefile entries.
|
||||
@@ -307,63 +300,61 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_GIMP_LIBS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_LIB_LIBS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart
|
||||
else
|
||||
- cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)"
|
||||
+ cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_MACOSX_LIBS) $(OPT_LDFLAGS)"
|
||||
endif
|
||||
|
||||
# Entries for other configurations.
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
solaris:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_cli_standard
|
||||
|
||||
macosx:
|
||||
- $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_MACOSX_LIBS) $(OPT_LDFLAGS)" gmic_cli_standard
|
||||
|
||||
windows:
|
||||
- $(MAKE) "CFLAGS=$(STD_WINDOWS_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_WINDOWS_LDFLAGS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(STD_WINDOWS_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_WINDOWS_LIBS)" "STRIP_EXE=1" gmic_cli_standard
|
||||
|
||||
gmicol:
|
||||
- $(MAKE) "CFLAGS+=$(GMICOL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(GMICOL_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(GMICOL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(GMICOL_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
static:
|
||||
- $(MAKE) "CFLAGS+=$(STATIC_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STATIC_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(STATIC_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STATIC_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
minimal:
|
||||
- $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LIBS=$(MINIMAL_UNIX_LIBS)" gmic_cli_standard
|
||||
|
||||
full:
|
||||
- $(MAKE) "CFLAGS=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(FULL_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_full
|
||||
+ $(MAKE) "CFLAGS+=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(FULL_UNIX_LIBS)" gmic_cli_full
|
||||
|
||||
winminimal:
|
||||
- $(MAKE) "CFLAGS=$(MINIMAL_WINDOWS_CFLAGS)" "LDFLAGS=$(MINIMAL_WINDOWS_LDFLAGS)" gmic_cli_standard
|
||||
+ $(MAKE) "CFLAGS=$(MINIMAL_WINDOWS_CFLAGS)" "LIBS=$(MINIMAL_WINDOWS_LIBS)" gmic_cli_standard
|
||||
|
||||
# Internal rules to build compilation modules.
|
||||
gmic_lib.o: gmic.cpp
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LIBS)
|
||||
else
|
||||
- $(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
+ $(CC) $(LDFLAGS) -shared -o libgmic.so gmic_lib.o $(LIBS)
|
||||
endif
|
||||
|
||||
gmic_gimp.o: gmic.cpp
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
+ $(CC) `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --libs` $(LIBS)
|
||||
|
||||
gmic_bool.o: gmic.cpp
|
||||
$(CC) -o gmic_bool.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_bool
|
||||
@@ -384,10 +375,9 @@
|
||||
gmic_double.o: gmic.cpp
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_cli_full: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o
|
||||
- $(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
+ $(CC) $(LDFLAGS) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LIBS)
|
||||
gmic_cli_standard: gmic.cpp
|
||||
- $(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS) -o gmic gmic.cpp $(LIBS)
|
||||
|
||||
gmic_def: gmic_def.gmic
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.0.ebuild,v 1.1 2013/12/11 05:34:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-1.5.8.0-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.1.ebuild,v 1.1 2013/12/18 10:56:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-1.5.8.0-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.2.ebuild,v 1.1 2014/01/27 02:41:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-1.5.8.0-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.4.ebuild,v 1.1 2014/03/19 08:03:29 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-${PV}-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.5.ebuild,v 1.1 2014/03/27 04:47:47 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-1.5.8.4-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.8.3.ebuild,v 1.1 2014/02/11 05:38:56 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.9.2-r1.ebuild,v 1.1 2014/06/16 07:52:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST opus-tools-0.1.6.tar.gz 306902 SHA256 cc86dbc2a4d76da7e1ed9afee85448c8f798c465a5412233f178783220f3a2c1 SHA512 547828082c4838643eeda513f65316b60b0e44c4a0826ef39cbfa3fe81df71b30651c03ceee7729aeb74258c259014bf95ca5f01aba097a4de8334e58c8e7ce6 WHIRLPOOL 68be6525aee01454631a3123cfa6891206cd5a5f5dfb413c044d112e2d6d5c506d1d45591951fb936a07f4f5bcc7e788bcfe266a8a566de4216a34b98df20e75
|
||||
DIST opus-tools-0.1.8.tar.gz 388711 SHA256 e4e188579ea1c4e4d5066460d4a7214a7eafe3539e9a4466fdc98af41ba4a2f6 SHA512 c36181f073e05d1535f149eb638d58fb14386e1caae23a3e1a7008f5530d033f4c7f388b48f3d8b111a9e55b78f5e91b69e8c96b6c9074700a3b15a1796c0ade WHIRLPOOL 0d2c06265bd108edf5ad4daf6c6e2735daff5172f14c6c445b062e04697adbd0bc4f5cba14482702d3a934f12a336893c04ba590f9e41427018f8111daf0fbfd
|
||||
DIST opus-tools-0.1.9.tar.gz 385158 SHA256 b1873dd78c7fbc98cf65d6e10cfddb5c2c03b3af93f922139a2104baedb4643a SHA512 e2cdc0c9c24297565f9d457893bcc548696b1a9c9b66e4cd48ddbe4dcf865bc50da5ed1b438b2b9ecdcd8be1d7c211d2be199f707cdbcd8a46a75353b0173a4c WHIRLPOOL c0acf53763c6263ece4b8b796373ba689006282987043ed15c3d747d08cc9fae76e968a643919b4d9d08a00acc9b8ad46e4fefbdd43263d7293ae2fb93e88278
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/opus-tools/opus-tools-0.1.9.ebuild,v 1.1 2014/06/16 05:29:48 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Royalty-free, highly versatile audio codec"
|
||||
HOMEPAGE="http://opus-codec.org/"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://git.opus-codec.org/${PN}.git"
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="flac"
|
||||
|
||||
RDEPEND=">=media-libs/libogg-1.3.0
|
||||
>=media-libs/opus-1.0.3
|
||||
flac? ( >=media-libs/flac-1.1.3 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with flac)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mediainfo/mediainfo-0.7.69.ebuild,v 1.1 2014/06/16 05:36:27 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils autotools wxwidgets multilib
|
||||
|
||||
DESCRIPTION="MediaInfo supplies technical and tag information about media files"
|
||||
HOMEPAGE="http://mediaarea.net/mediainfo/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl mms wxwidgets"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
media-libs/libzen
|
||||
~media-libs/lib${P}[curl=,mms=]
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/MediaInfo
|
||||
|
||||
pkg_setup() {
|
||||
TARGETS="CLI"
|
||||
use wxwidgets && TARGETS+=" GUI"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
sed -i -e "s:-O2::" configure.ac
|
||||
eautoreconf
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
local args=""
|
||||
[[ ${target} == "GUI" ]] && args="--with-wxwidgets --with-wx-gui"
|
||||
econf ${args}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
default
|
||||
done
|
||||
}
|
||||
src_install() {
|
||||
local target
|
||||
for target in ${TARGETS}; do
|
||||
cd "${S}"/Project/GNU/${target}
|
||||
default
|
||||
dodoc "${S}"/History_${target}.txt
|
||||
if [[ ${target} == "GUI" ]]; then
|
||||
newicon "${S}"/Source/Resource/Image/MediaInfo.png ${PN}.png
|
||||
make_desktop_entry ${PN}-gui MediaInfo ${PN} "AudioVideo;GTK"
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mkvtoolnix/mkvtoolnix-7.0.0.ebuild,v 1.1 2014/06/16 06:12:21 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER="3.0"
|
||||
inherit eutils multilib toolchain-funcs versionator wxwidgets multiprocessing autotools
|
||||
|
||||
DESCRIPTION="Tools to create, alter, and inspect Matroska files"
|
||||
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix"
|
||||
SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="debug pch qt5 wxwidgets"
|
||||
|
||||
ruby_atom() {
|
||||
local ruby_slot=${1/ruby/}
|
||||
ruby_slot="${ruby_slot:0:1}.${ruby_slot:1:2}"
|
||||
echo "dev-lang/ruby:${ruby_slot}"
|
||||
}
|
||||
|
||||
# hacks to avoid using the ruby eclasses since this requires something similar
|
||||
# to the python-any-r1 eclass for ruby which currently doesn't exist
|
||||
RUBY_IMPLS=( ruby19 ruby20 ruby21 )
|
||||
RUBY_BDEPS="$(for ruby_impl in "${RUBY_IMPLS[@]}"; do echo $(ruby_atom ${ruby_impl}); done)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libebml-1.3.0:=
|
||||
>=media-libs/libmatroska-1.4.1:=
|
||||
>=dev-libs/boost-1.46.0:=
|
||||
dev-libs/pugixml
|
||||
media-libs/flac
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
sys-apps/file
|
||||
>=sys-devel/gcc-4.6
|
||||
sys-libs/zlib
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
)
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( ${RUBY_BDEPS} )
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
# http://bugs.gentoo.org/419257
|
||||
local ver=4.6
|
||||
local msg="You need at least GCC ${ver}.x for C++11 range-based 'for' and nullptr support."
|
||||
if ! version_is_at_least ${ver} $(gcc-version); then
|
||||
eerror ${msg}
|
||||
die ${msg}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local ruby_impl
|
||||
for ruby_impl in "${RUBY_IMPLS[@]}"; do
|
||||
if has_version "$(ruby_atom ${ruby_impl})"; then
|
||||
export RUBY=${ruby_impl}
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
[[ -z ${RUBY} ]] && die "No available ruby implementations to build with"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-5.8.0-system-pugixml.patch \
|
||||
"${FILESDIR}"/${PN}-5.8.0-boost-configure.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use wxwidgets ; then
|
||||
need-wxwidgets unicode
|
||||
myconf="--with-wx-config=${WX_CONFIG}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable qt5 qt) \
|
||||
$(use_enable wxwidgets) \
|
||||
$(usex pch "" --disable-precompiled-headers) \
|
||||
${myconf} \
|
||||
--disable-optimization \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-boost="${EPREFIX}"/usr \
|
||||
--with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--without-curl
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
"${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" "${RUBY}" ./drake -j$(makeopts_jobs) install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
doman doc/man/*.1
|
||||
|
||||
use wxwidgets && docompress -x /usr/share/doc/${PF}/guide
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 16 Jun 2014 03:07:01 +0000
|
||||
Mon, 16 Jun 2014 10:37:11 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 16 Jun 2014 03:07:02 +0000
|
||||
Mon, 16 Jun 2014 10:37:11 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile config configure install postinst prepare test
|
||||
DEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-0.3.1:= !>=dev-libs/liblognorm-1.0.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) oracle? ( >=dev-db/oracle-instantclient-basic-10.2 ) postgres? ( >=dev-db/postgresql-base-8.4.20 ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( >=dev-libs/openssl-0.9.8y ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23 ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool virtual/pkgconfig
|
||||
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.rsyslog.com/
|
||||
IUSE=dbi debug doc elasticsearch +gcrypt kerberos mongodb mysql normalize omudpspoof oracle postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd usertools zeromq
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~x86
|
||||
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
||||
RDEPEND=>=dev-libs/json-c-0.11:= >=dev-libs/libestr-0.1.9 >=dev-libs/liblogging-1.0.1:=[stdlog] >=sys-libs/zlib-1.2.5 dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) kerberos? ( virtual/krb5 ) mongodb? ( >=dev-libs/libmongo-client-0.1.4 ) mysql? ( virtual/mysql ) normalize? ( >=dev-libs/libee-0.4.0 >=dev-libs/liblognorm-0.3.1:= !>=dev-libs/liblognorm-1.0.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) oracle? ( >=dev-db/oracle-instantclient-basic-10.2 ) postgres? ( >=dev-db/postgresql-base-8.4.20 ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0 ) redis? ( >=dev-libs/hiredis-0.11.0 ) relp? ( >=dev-libs/librelp-1.2.5 ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( >=dev-libs/openssl-0.9.8y ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( >=net-libs/gnutls-2.12.23 ) systemd? ( >=sys-apps/systemd-208 ) zeromq? ( >=net-libs/czmq-1.2.0 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.6.3.tar.gz
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f autotools-utils fb74970befc9b65ceec689d2ccff3022 eutils 025442f2eecab39ad0b4e541b6e142af libtool 2964b38e7ad7f6998406386ad1c6dbcf multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=1454d53cc3bcdc09bd7358289ab45082
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=sys-devel/gcc
|
||||
DESCRIPTION=designed to heavily load CPU chips [testing purposes]
|
||||
HOMEPAGE=http://pages.sbcglobal.net/redelm/
|
||||
KEYWORDS=-* amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=amd64? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=http://pages.sbcglobal.net/redelm/cpuburn_1_4_tar.gz
|
||||
_md5_=42591d01cbc190682ee8ebacf1d288b5
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=install prepare
|
||||
DESCRIPTION=Designed to heavily load CPU chips [testing purposes]
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pages.sbcglobal.net/redelm/
|
||||
KEYWORDS=-* ~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~jlec/distfiles/cpuburn-1.4a.tar.gz
|
||||
_eclasses_=eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=a11016416f494bbae7fbb01978a045bd
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup test
|
||||
DEPEND=~app-editors/vim-core-7.4.326 >=app-admin/eselect-vi-1.1 >=sys-libs/ncurses-5.2-r2 x11-libs/libXext x11-libs/libXt acl? ( kernel_linux? ( sys-apps/acl ) ) !aqua? ( gtk? ( >=x11-libs/gtk+-2.6:2 x11-libs/libXft gnome? ( >=gnome-base/libgnomeui-2.6 ) ) !gtk? ( motif? ( >=x11-libs/motif-2.3:0 ) !motif? ( neXt? ( x11-libs/neXtaw ) !neXt? ( x11-libs/libXaw ) ) ) ) cscope? ( dev-util/cscope ) lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua[deprecated] ) ) nls? ( virtual/libintl ) perl? ( dev-lang/perl ) python? ( python_single_target_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[threads] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads] ) python_single_target_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[threads] ) python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?,python_single_target_python3_2(+)?,python_single_target_python3_3(+)?,python_single_target_python3_4(+)?] ) racket? ( dev-scheme/racket ) ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) selinux? ( sys-libs/libselinux ) session? ( x11-libs/libSM ) tcl? ( dev-lang/tcl ) >=app-admin/eselect-vi-1.1 dev-util/ctags sys-devel/autoconf virtual/pkgconfig nls? ( sys-devel/gettext )
|
||||
DESCRIPTION=GUI version of the Vim text editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.vim.org/
|
||||
IUSE=acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl python_targets_python2_6 python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 python_single_target_python2_6 python_single_target_python2_7 python_single_target_python3_2 python_single_target_python3_3 python_single_target_python3_4
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris
|
||||
LICENSE=vim
|
||||
RDEPEND=~app-editors/vim-core-7.4.326 >=app-admin/eselect-vi-1.1 >=sys-libs/ncurses-5.2-r2 x11-libs/libXext x11-libs/libXt acl? ( kernel_linux? ( sys-apps/acl ) ) !aqua? ( gtk? ( >=x11-libs/gtk+-2.6:2 x11-libs/libXft gnome? ( >=gnome-base/libgnomeui-2.6 ) ) !gtk? ( motif? ( >=x11-libs/motif-2.3:0 ) !motif? ( neXt? ( x11-libs/neXtaw ) !neXt? ( x11-libs/libXaw ) ) ) ) cscope? ( dev-util/cscope ) lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua[deprecated] ) ) nls? ( virtual/libintl ) perl? ( dev-lang/perl ) python? ( python_single_target_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[threads] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads] ) python_single_target_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[threads] ) python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?,python_single_target_python3_2(+)?,python_single_target_python3_3(+)?,python_single_target_python3_4(+)?] ) racket? ( dev-scheme/racket ) ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) selinux? ( sys-libs/libselinux ) session? ( x11-libs/libSM ) tcl? ( dev-lang/tcl )
|
||||
REQUIRED_USE=python? ( python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_2? ( python_targets_python3_2 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) ^^ ( python_single_target_python2_6 python_single_target_python2_7 python_single_target_python3_2 python_single_target_python3_3 python_single_target_python3_4 ) ) luajit? ( lua )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 http://dev.gentoo.org/~radhermit/vim/vim-patches-7.4.326.patch.bz2
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 025442f2eecab39ad0b4e541b6e142af fdo-mime 0acfe1a88fd8751a1d5dc671168219fa flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f prefix 21058c21ca48453d771df15500873ede python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8ba35e0dacf49c6cae65901d183c971f toolchain-funcs 48b38a216afb92db6314d6c3187abea3 versionator a8a3963967d6140be9a14b08bb8f047f vim-doc 1c18baeec98cec3287524cbf2fee2bd2
|
||||
_md5_=273a5f113b495ec50e27176111222238
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=>=sys-libs/ncurses-5.9-r1[unicode?] magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=GNU GPL'd Pico clone with more functionality
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.nano-editor.org/ http://www.gentoo.org/doc/en/nano-basics-guide.xml
|
||||
IUSE=debug justify +magic minimal ncurses nls slang +spell unicode
|
||||
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=>=sys-libs/ncurses-5.9-r1[unicode?] magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.nano-editor.org/dist/v2.3/nano-2.3.4.tar.gz
|
||||
_eclasses_=eutils 025442f2eecab39ad0b4e541b6e142af multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=1a62ea1e61ccd3009bfe8daa960a1c9c
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup test
|
||||
DEPEND=>=app-admin/eselect-vi-1.1 >=sys-libs/ncurses-5.2-r2 nls? ( virtual/libintl ) acl? ( kernel_linux? ( sys-apps/acl ) ) cscope? ( dev-util/cscope ) gpm? ( >=sys-libs/gpm-1.19.3 ) lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua[deprecated] ) ) !minimal? ( ~app-editors/vim-core-7.4.326 dev-util/ctags ) perl? ( dev-lang/perl ) python? ( python_single_target_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[threads] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads] ) python_single_target_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[threads] ) python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?,python_single_target_python3_2(+)?,python_single_target_python3_3(+)?,python_single_target_python3_4(+)?] ) racket? ( dev-scheme/racket ) ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) selinux? ( sys-libs/libselinux ) tcl? ( dev-lang/tcl ) X? ( x11-libs/libXt ) >=app-admin/eselect-vi-1.1 sys-devel/autoconf >=sys-libs/ncurses-5.2-r2 nls? ( sys-devel/gettext )
|
||||
DESCRIPTION=Vim, an improved vi-style text editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.vim.org/
|
||||
IUSE=X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager python_targets_python2_6 python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 python_single_target_python2_6 python_single_target_python2_7 python_single_target_python3_2 python_single_target_python3_3 python_single_target_python3_4
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=vim
|
||||
RDEPEND=>=app-admin/eselect-vi-1.1 >=sys-libs/ncurses-5.2-r2 nls? ( virtual/libintl ) acl? ( kernel_linux? ( sys-apps/acl ) ) cscope? ( dev-util/cscope ) gpm? ( >=sys-libs/gpm-1.19.3 ) lua? ( luajit? ( dev-lang/luajit ) !luajit? ( dev-lang/lua[deprecated] ) ) !minimal? ( ~app-editors/vim-core-7.4.326 dev-util/ctags ) perl? ( dev-lang/perl ) python? ( python_single_target_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[threads] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads] ) python_single_target_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[threads] ) python_single_target_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads] ) python_single_target_python3_4? ( dev-lang/python:3.4[threads] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?,python_single_target_python3_2(+)?,python_single_target_python3_3(+)?,python_single_target_python3_4(+)?] ) racket? ( dev-scheme/racket ) ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) ) selinux? ( sys-libs/libselinux ) tcl? ( dev-lang/tcl ) X? ( x11-libs/libXt )
|
||||
REQUIRED_USE=python? ( python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_2? ( python_targets_python3_2 ) python_single_target_python3_3? ( python_targets_python3_3 ) python_single_target_python3_4? ( python_targets_python3_4 ) ^^ ( python_single_target_python2_6 python_single_target_python2_7 python_single_target_python3_2 python_single_target_python3_3 python_single_target_python3_4 ) ) luajit? ( lua )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 http://dev.gentoo.org/~radhermit/vim/vim-patches-7.4.326.patch.bz2
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 025442f2eecab39ad0b4e541b6e142af fdo-mime 0acfe1a88fd8751a1d5dc671168219fa flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8ba35e0dacf49c6cae65901d183c971f toolchain-funcs 48b38a216afb92db6314d6c3187abea3 versionator a8a3963967d6140be9a14b08bb8f047f vim-doc 1c18baeec98cec3287524cbf2fee2bd2
|
||||
_md5_=76e22921b09df2760a73875ad81ea3f6
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup test
|
||||
DEPEND=sys-devel/autoconf
|
||||
DESCRIPTION=vim and gvim shared files
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.vim.org/
|
||||
IUSE=nls acl minimal
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=vim
|
||||
PDEPEND=!minimal? ( app-vim/gentoo-syntax )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 http://dev.gentoo.org/~radhermit/vim/vim-core-7.3-gentoo-patches-r4.tar.bz2 http://dev.gentoo.org/~radhermit/vim/vim-patches-7.4.326.patch.bz2
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multilib fac675dcccf94392371a6abee62d909f prefix 21058c21ca48453d771df15500873ede toolchain-funcs 48b38a216afb92db6314d6c3187abea3 versionator a8a3963967d6140be9a14b08bb8f047f vim-doc 1c18baeec98cec3287524cbf2fee2bd2
|
||||
_md5_=91879cde89333c23121cca6c520fdeda
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DESCRIPTION=Record what you eat and analyze your nutrient levels
|
||||
EAPI=5
|
||||
HOMEPAGE=http://nut.sourceforge.net/
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/nut/nut-19.2.tar.gz
|
||||
_eclasses_=multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=6b4b80d62e89b29d7bda377dfcd53865
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||
DEPEND=test? ( dev-vcs/subversion ) app-text/asciidoc python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[xml(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml(+)] ) python_targets_pypy? ( virtual/pypy:0=[xml(+)] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)] dev-vcs/git
|
||||
DEPEND=test? ( dev-vcs/subversion ) app-text/asciidoc python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml(+)] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[xml(+)] ) python_targets_pypy? ( virtual/pypy:0=[xml(+)] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-vcs/git
|
||||
DESCRIPTION=Tool to manage Gentoo overlays
|
||||
EAPI=5
|
||||
HOMEPAGE=http://layman.sourceforge.net
|
||||
IUSE=bazaar cvs darcs +git gpg mercurial subversion test python_targets_python2_6 python_targets_python2_7 python_targets_pypy
|
||||
IUSE=bazaar cvs darcs +git gpg mercurial subversion test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=bazaar? ( dev-vcs/bzr ) cvs? ( dev-vcs/cvs ) darcs? ( dev-vcs/darcs ) git? ( dev-vcs/git ) mercurial? ( dev-vcs/mercurial ) subversion? ( || ( >=dev-vcs/subversion-1.5.4[http] >=dev-vcs/subversion-1.5.4[webdav-neon] >=dev-vcs/subversion-1.5.4[webdav-serf] ) ) gpg? ( =dev-python/pyGPG-9999 ) virtual/python-argparse[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)] sys-apps/portage[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)] >=dev-python/requests-1.2.1 dev-python/ndg-httpsclient dev-python/pyasn1 >=dev-python/pyopenssl-0.13 python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6[xml(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml(+)] ) python_targets_pypy? ( virtual/pypy:0=[xml(+)] ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_6 python_targets_python2_7 python_targets_pypy )
|
||||
RDEPEND=bazaar? ( dev-vcs/bzr ) cvs? ( dev-vcs/cvs ) darcs? ( dev-vcs/darcs ) git? ( dev-vcs/git ) mercurial? ( dev-vcs/mercurial ) subversion? ( || ( >=dev-vcs/subversion-1.5.4[http] >=dev-vcs/subversion-1.5.4[webdav-neon] >=dev-vcs/subversion-1.5.4[webdav-serf] ) ) gpg? ( =dev-python/pyGPG-9999 ) virtual/python-argparse[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] >=dev-python/ssl-fetch-0.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml(+)] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[xml(+)] ) python_targets_pypy? ( virtual/pypy:0=[xml(+)] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
|
||||
SLOT=0
|
||||
_eclasses_=distutils-r1 0ffe72d093023ff4f69e4ceaf6f63e4e eutils 025442f2eecab39ad0b4e541b6e142af git-2 2027b81a576527fa16bece425941e094 git-r3 9e723d78cbd8ea74fd0eba5a1521d7f6 multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed prefix 21058c21ca48453d771df15500873ede python-r1 6f0183db47dc66fccb7a6899f7209b48 python-utils-r1 8ba35e0dacf49c6cae65901d183c971f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=0e5124eb49e41565357eb8ee4b28c461
|
||||
_md5_=93fe4b562bb9ebf29a73d6b31afb5be0
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare unpack
|
||||
DEPEND=dev-qt/qtcore:4 dev-qt/qtgui:4
|
||||
DESCRIPTION=Library for Qt that implements the OAuth 1.0 authentication specification
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/kypeli/kQOAuth
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=dev-qt/qtcore:4 dev-qt/qtgui:4
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/kypeli/kQOAuth/archive/0.98.tar.gz -> kqoauth-0.98.tar.gz
|
||||
_eclasses_=base ec46b36a6f6fd1d0b505a33e0b74e413 eutils 025442f2eecab39ad0b4e541b6e142af multilib fac675dcccf94392371a6abee62d909f qmake-utils 6f4ff01a55830f6d86647dc56dfaf3a7 qt4-r2 25e4f17ed047d9242cb40b70acfb2943 toolchain-funcs 48b38a216afb92db6314d6c3187abea3 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66
|
||||
_md5_=df46f8482d85afc726466b6c46f6299f
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=!=app-crypt/mit-krb5-1.10.1-r0 !=app-crypt/mit-krb5-1.10.1-r1 !=app-crypt/mit-krb5-1.10.1-r2 glib? ( >=dev-libs/glib-2.29 ) libev? ( >=dev-libs/libev-4.11 ) libevent? ( >=dev-libs/libevent-2.0 ) tevent? ( sys-libs/tevent ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Main event loop abstraction library
|
||||
EAPI=4
|
||||
HOMEPAGE=https://fedorahosted.org/libverto/
|
||||
IUSE=glib +libev libevent tevent +threads static-libs
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd
|
||||
LICENSE=MIT
|
||||
RDEPEND=!=app-crypt/mit-krb5-1.10.1-r0 !=app-crypt/mit-krb5-1.10.1-r1 !=app-crypt/mit-krb5-1.10.1-r2 glib? ( >=dev-libs/glib-2.29 ) libev? ( >=dev-libs/libev-4.11 ) libevent? ( >=dev-libs/libevent-2.0 ) tevent? ( sys-libs/tevent )
|
||||
REQUIRED_USE=|| ( glib libev libevent tevent )
|
||||
SLOT=0
|
||||
SRC_URI=https://fedorahosted.org/releases/l/i/libverto/libverto-0.2.4.tar.gz
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f libtool 2964b38e7ad7f6998406386ad1c6dbcf multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=99549a22a0586982b50c0223b76c1d3b
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=!=app-crypt/mit-krb5-1.10.1-r0 !=app-crypt/mit-krb5-1.10.1-r1 !=app-crypt/mit-krb5-1.10.1-r2 glib? ( >=dev-libs/glib-2.29[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) libev? ( >=dev-libs/libev-4.11[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) libevent? ( >=dev-libs/libevent-2.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) tevent? ( sys-libs/tevent[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] )
|
||||
DESCRIPTION=Main event loop abstraction library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://fedorahosted.org/libverto/
|
||||
IUSE=glib +libev libevent tevent +threads static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd
|
||||
LICENSE=MIT
|
||||
RDEPEND=!=app-crypt/mit-krb5-1.10.1-r0 !=app-crypt/mit-krb5-1.10.1-r1 !=app-crypt/mit-krb5-1.10.1-r2 glib? ( >=dev-libs/glib-2.29[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) libev? ( >=dev-libs/libev-4.11[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) libevent? ( >=dev-libs/libevent-2.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) tevent? ( sys-libs/tevent[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] )
|
||||
REQUIRED_USE=|| ( glib libev libevent tevent )
|
||||
SLOT=0
|
||||
SRC_URI=https://fedorahosted.org/releases/l/i/libverto/libverto-0.2.6.tar.gz
|
||||
_eclasses_=eutils 025442f2eecab39ad0b4e541b6e142af multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 02e68fc95064bb486c12ad2de16b8c82 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=c606b5bfba3cdd298d28f639ceb76f50
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue