parent
129731ffc2
commit
2bd5ebbd92
@ -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,7 +1,29 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX 01-variables.patch 879 SHA256 7022b7191746cc5a159fe4db7de556f8f36b95e9e2aa6d214a80c179f55c61dc SHA512 eef2f5dfc3a49712568001a273be117126beac27560b6e4386e89893ef30acda76c956b96a9a86bf1a0a424003f3eb9214a8a4a1c828fcbbf809eed82a5a7af7 WHIRLPOOL ac124c94bc81252946151fe87b31597dd9c9bc509c4285de482a0c318aed35c810df7b8b8baecebdc58825ddea06bb241838d3a09b86035dc3cf8ca50b3be09c
|
||||
AUX cpuburn-1.4a-flags.patch 250 SHA256 478217b059d351cde2d16b57d6c058abbdcf02b68d12d572212f173c845c85ff SHA512 6e786ae47148385003529984da314b56918653d36002dcfa10f995a0568703bb269ddb0b4623693e35659415c12ab2ffc641b799389377863b2df0edcc8fe668 WHIRLPOOL d92639812dfd181f57365be7973fe6a09a07a7713d3692fb44fd7e53ef466c8cd4c337ff4016f71855dc47d35172d343e8ad040906221839ad014a999a5108ea
|
||||
DIST cpuburn-1.4a.tar.gz 9277 SHA256 eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 SHA512 db84cabe70af0b6b3579c746f6df08c268b7145c9521fc609ce5b4cfd497dbb0639e52ab55f34110cff297ec23cf1413db28c6bff4e6f81a69722626886df7ce WHIRLPOOL e119aeaf3453357125fb0f203fdbd0bb68f52479213d6cf6462fcaf53636cb4a13b16f5350cc4b9a382ff9ccc362535f362f6b5b78165c683dcd432e281c7b46
|
||||
DIST cpuburn_1_4_tar.gz 7373 SHA256 1b2a1672f455545a28d0f038737e792e8c3b97789f2029f765847fc2a807244a SHA512 28211de05869785d515e9b5994f5d95d41c0f4b429a1469b20b59a0cd804d5b291c5c8fc74d5c403444c98c8a6ebd156f37713c4461e343793305cc416385daa WHIRLPOOL 128e0ebc20d4c6b01938fba138edb9ed5cb6d4c0eefd242c4c137a79494660049786a7f1bc0ace4081c6efcbd4039aba749335721b47697445bd3f3978969ef3
|
||||
EBUILD cpuburn-1.4.ebuild 928 SHA256 5148c06c3106dfb90565e94897b2c878c469d3fd52eabd4f87ed15b9c98331e4 SHA512 2e4cb809ba799198eedf627cf3c73408e0cbee8f161477469238c0c56db8a6da66937352f102e43c29a100293e39c8b25b2046c162a78cafb29bfd1738c763a2 WHIRLPOOL 539fd15194c40dbfafc78a5a69b41d430cbc0d4bd8f558e8b351ff501038564a0ac08f8956c52a8c451b1e5d3b7c2c049682792e6a0537209ab4b40c6848d17b
|
||||
EBUILD cpuburn-1.4a.ebuild 893 SHA256 9f41ec6f7234b35c0d5b21dd129ef1048840377816d880137e3520a2735e88d3 SHA512 9eea69371df7835888db8a140cd77c92f55379c64250c343633e2b1fac1453a110f34a597af7be5eef953c17d712c2ddbd7366f1f1cc3fdd0ba07674d8b448be WHIRLPOOL 67c7c618f20373c2f27ac1683e8b8f64dfab1fbf3b01dff3baeb2823eced7729ab37a1a54a9f2bc7af0a35f47186ad53623d92e89c34f82e02e2e15d60f1af76
|
||||
MISC ChangeLog 1902 SHA256 fd63cf708bb6af23d7b7ce604282a2bbc2c1d415321c63d1fc87bcc86082a136 SHA512 f6141cc3894c1e80c3615d1ce74c73c41f9cc8957589e6a61b1b6f8776cd704baf1487b5f883e6e0ef0c3e07863e2cad5e39eec67e794e3cdb14252fa2a9675b WHIRLPOOL 6aa4b0b4814f13538ad51598657bc658cfe4afa8ea0a68f4a606f8e6a7542de1f9e6f96218454952ca24007795db1bf58d8c42c5e1f22585998c1066a03cad22
|
||||
MISC metadata.xml 400 SHA256 9aba080fab1b7bc1a6551b484688d991365d9685cb36dca67a0370e26c4ad002 SHA512 ba29a4cf2d56aa36b7c36cdbf30f2fd0d895e35baaa317e1217db809554d200ccd2fa0095af2302456445765914af4520f3ecb0d0eb5b1a98caa05ab66d58aa8 WHIRLPOOL 10c8f3c18a6b4ca648e670d8f00d38868088371b675e605e9ccf55fcfc08569fd9b766ab4c2cb207872e462aab676aa493d83070e27dbbd5f4da0ee068d85033
|
||||
EBUILD cpuburn-1.4a-r1.ebuild 838 SHA256 13d72917bf9add78167d543f9f6679df28f86aded3a37767d41d84348da853a7 SHA512 153dc7ed5b959b52e91510dc87f5a73bb8414d95868c4d2640a20afba0f09e737afdc32c9820b2409aab17736bb48abe30562b2b58247c6d3c3a03da4ca10f6c WHIRLPOOL ef5a49c842b3b5c94bd1df0958f5b5458a7f59d668a3008a262a9a3b13e3070223ffc7630b0145115ab0c691e4af6d17cd6d567afe6a42dc51cee2f83cddfef4
|
||||
EBUILD cpuburn-1.4a.ebuild 792 SHA256 f644fae80c77ee3e4bd60f26d9e23dbf9e8f5045a35002e15c8a785af7139702 SHA512 348c0ceda05a56590227dfda4d84b44a0fa3e572fac8fbd03aee851417473a9faae7169f93cafcf5926be1fcdf4ee354ad6ac4379e5b0b3185b224a592383ee3 WHIRLPOOL 255987d4197610e1e7b0ab25e05dd88b073fdd404eaf539c239aab5aec7190cbba102e3bf109a4144b75d389f816169b55c5c61ea198263df46281644b648920
|
||||
MISC ChangeLog 2200 SHA256 2249ee12338483faf6cd5d2782150a78d897a9e27caf5a6c50f2369697ec19db SHA512 d18fa6b34b26cdc7860ce184fc4ad0e55ef4cd2537f489c6726da0f7decf67a4ea95c7b067150ea231b77ecaa640c75e860e2321bafcb745327be72a9db79061 WHIRLPOOL 7ff22c431c6cabcc5e477d9c8315f9bf298a7b23209ed410d8c38a1550f42f7f0e728956ec2d39f27b6469d9434a95dcf6f647a4cc5d2d6fafec31da280c81b3
|
||||
MISC metadata.xml 402 SHA256 6e5b2b72e2f0003a6dd858f6202d7772963b6dc7fab11f6f2490a9d02eff714a SHA512 5fb5e677beb605dadbb229a049c3c0156cd18223624e35b99f79a9d14c0a2e818a9dbefd751e4f3ce6a208e31134af45cc19e45fed3a818e9536758cd8c0a96a WHIRLPOOL b840a5f5def37e2e97155f2e20ecbe512eb83870d8f0ae5ed0bcebcb4250aca598b67020d8c489b0c2ee3a136f17940d98ec1094e04f0e807132bcd8b865b0f2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJTnoo4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirigEP/jC5JlZjrV+aR6vpFZKthmyH
|
||||
aj+xkOmvyWFkWbP+LjQETUHmsRxg17S8Ln4MrH2Vbsp5riV5IM0wPDBW6AHTLrqR
|
||||
ZylKmus+qvPPT/pwUIOuGC2IPHx6xmUHDrYFMHFJYeqmeEtNb1WYGMyT9lHVF4g0
|
||||
ZwrJNkYM9kwaERCWMSnNX8kFGW1wwE60u88IjC5+NBXnXRd3erCPhLJwLwaq0Q/t
|
||||
W4fbaxwDzBImkZ+a4BVYs6OUT9e2Cf7BORne3Nqgqg7krH9+9dNgmkqNDLUhn/Eu
|
||||
nMPps0mHzLPppzIgUU3AX4gqF8TpMzgJ04bx30Lz9hg/SizBtQKHBnu3za4Vu4Xr
|
||||
QWsdbRNqB5MU2h8NPVxs5+lezB+8wWF4vy6vDnTVZimQMWi0E2li9FDXE14DdD2Z
|
||||
EnY144XzskKHnjxiNvB9eUPYLHsbRePxLGDUqE5AMKS6go2RDtYjZodyiLfqiG4d
|
||||
gEhrFtp6WaawY6QObE85gNrAD/TZ2ZglzioMi2Wxkx2/kkoKuj1wppoDlps+JyVk
|
||||
xOQnSFsuOQTpaqfbhBA02dLivnxcQ67Y5jE/KCvMEG+Fe5wlsKOasgfj51EDY+qN
|
||||
JEjpYHZU0R+OocTNH1ugPXuEBR/1XRxDv52UfNF7A5id+eOQifZMghyaBs3MnNJc
|
||||
4Np3/Ulb+D/7Ky/Pe13h
|
||||
=2Q0o
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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
|
||||
}
|
@ -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,27 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
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
|
||||
EBUILD libverto-0.2.4.ebuild 1644 SHA256 5d7f4ecb4583d8d744427c4888819e8328a0d8075b6a992977bfa24f64bfe6ab SHA512 6ba3245aa3d711e788bc013a1a62de17b86c303e614ec5f5f3fbc178d4f941de1c982e3c205534982799886d09e765627afd883cfd2c7698484b494dd8e69adf WHIRLPOOL c43a60a74df2f48fc4a45ce23521cab963272abba3ff30f48011f4c3450058897695c106ba379f38766fd741fb69c5f025992e3663068389061a156a9142cccb
|
||||
DIST libverto-0.2.6.tar.gz 352690 SHA256 17eca6a3855f4884e2e7095e91501767d834b3bf313a6f59a93303f54ac91c9e SHA512 aa8d047501d28741f2f8185fc4a0ef6dc4b99dbe69b583c40cd4c0afc97db4dd0a928d9ec23861fff61651e9ac82e52da9473b8e62ccc11a91e5e5c6b41dfd3b WHIRLPOOL 518eb5390e3e3a6265e9f3fd049755f737d768efca23f3abef5286b512e6576cf6d16d241e1430debfc15fb974df543a3435bc926784d143dad37883bac04914
|
||||
EBUILD libverto-0.2.5-r1.ebuild 1612 SHA256 9367b50ac7e0c388b1d053d13294bdaade6a6a1a19c63519fb98caf7412a1415 SHA512 015373324aea9e07a8a99183c209cbfb5095fed8d4317b9a4780732daa84e73d893cffff114e97f7031e338005d6c250d4a1724b4076df2a04252ee7d223046e WHIRLPOOL 3c9f36061e71cf43ef7ade878a225cdad9d404632deee3866055253dd372c19bbe1ad656668f533648ffc916230595e83b214067d711f582e3b3d90c5e99d711
|
||||
EBUILD libverto-0.2.5.ebuild 1485 SHA256 02d082193194ba917881993733525f93168177307e9aef6a75f5c0a4f0668b26 SHA512 c3ab6e840253a1b8f94e41e5d4aa38ad886bddb4ecda4ea20aacec5e77d285e9e6d5b0c2f3d48e0e1eb6744f6edaef44b23488c1122fcc65a3a3017a66e6eec9 WHIRLPOOL 80d93285f3707d3926a76a3395a072b34d739ca939f1af402f338278a480956d886f95a9216da239f94fea0812f97f9184cc06262436286a62da2f6c9badaf37
|
||||
MISC ChangeLog 2749 SHA256 b8bd4c3486be46af88ed8408b0452deef041cc195566c35344ec2d34d4243a2c SHA512 b1f036e3a7d6534c709aab5dab676f412865041e6aa4c40c4df85347e7a85dc9b076b12ef444f9b945d3b18163061576610d49379fbc9d036f2ee254e3a99c11 WHIRLPOOL 58e0ad594742c88998dd7621e04d26f4ed3dbfbe74aece48fb67c3a1392ab9072babce97fdc8dd6039776ee5ae4e667359138c36e7690773d73087305f72482d
|
||||
EBUILD libverto-0.2.6.ebuild 1607 SHA256 7ecb210ed85e620a3da9869cb861e52eebf91eaf94fa6f80ea5224eba846f5b8 SHA512 3ae59fa842ef400833583dcb769344b875ead69db301affbb0f668fcd13000dcb5f7fa88b08e40d32739e8fd5ce06cdc35b1a65762614c35c71662f2e3e88e81 WHIRLPOOL 6965375492bdffbe455d8abd9666bb5c2b947d71531e7193580bf24ffd203269bc711ff3ce52fbd6de0c49259e5d60485b81baed1a9768eb0a4aca821b21c29f
|
||||
MISC ChangeLog 2944 SHA256 4bc64cf776e3ba063b4c7d4b10e937320e223959d8f48d22f3d6a55246bf1d46 SHA512 f9d7daebbf40087c3eefdeb3657697ad710aaf553b4ffc43c75349efbb0e493991393e217bab4bb829360ef7e53b8cdf3aca88a9eed57ed25a7acb478475f741 WHIRLPOOL ad287343c08a749bcf947491896face902f3dbd521cecb2146ee41c0a37007d0ea50a753b37482aab6e4bf55a6d72417615dcbc6df39305fac474c8fcd6a5616
|
||||
MISC metadata.xml 1066 SHA256 cff7b9bbaa4ec4aadb9786aed96b931270a9194508d2db03df4fbdc572371013 SHA512 e0e7e64df18b4df5b199047563d244691d2b241f1711f05f3532e4dbb6c3b4f0e192bd35b81e1bc6552045c3133ce15e3fb6cc89ff41bcb6663529147d4c0f8a WHIRLPOOL 6e0024b935c45abb2753d493b33e907a10d2be7c2f5abe069c20df17e61c1c3013a098eb30f3012e5009c3970cc99726dde67cb49b4857e2f0ef18b06dbe50f5
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJTlk3GAAoJEPGu1DbS6WIAuiwP+wQ0i8nTpngjy/K1ZL8BDvnY
|
||||
YUcLfG4no9Yw3ySRlsZDj7De5bc2pZTsM7RRahcY6yshA+olNYEDGz5nr1y1biE4
|
||||
rH/VT1NTtLjXdxK7TTv02KJV33IZimI5EmBcGz5SRchzGmvrETghPdbf+CX2PIiG
|
||||
w9G7pwQX99wpcQIiEdfVJChTOGV6fq8Gq4s4HCZX9YfPfNxG/QExx7aSuWCuUm9L
|
||||
UYPUibONIXlLMMA5G80VvfXqY5ciAq7gsC8TcPmxBhH+5RV8LXW1VmA4jQ4Eo8rW
|
||||
M3MuHGl/uB0p+96W+va2lMCH67/1VN9VoH+PJVSszLWC+qx3wJGK3LZl9p6gm32x
|
||||
RrLEbB51kUj4pMH4OrGJSKdMeJ75eUtR44NZglrS7LCTE4aMpS30/wfkTQ6MYgmR
|
||||
NtOD2Vcs0TIAu28uYspchIMQ62dZ/QuIs3Yv6QSLzgY9yjaQaM+bOdRhKi6UGE05
|
||||
cuaVVKSClM+LtI8LTt93OVOyhHHPCUp/aEHVcqiQGFU6Nxjo5IbBe7fcJUBCbEee
|
||||
7PpxmNr0B+6bDc72/q7AYNLESJ+OZlbk2zU5E6I58Fipo/6fM3zpPcSkGpCqPcPP
|
||||
EQ8+ojmdrmCrLsxu836yOtwIs0sKEcPb5HmgGMtkydgJxFA4djeVK1CdAxYZ+LSo
|
||||
MoY8r+sz+nBY8zm6BGdQ
|
||||
=pRhR
|
||||
iQIcBAEBCAAGBQJTnsAMAAoJEHfx8XVYajsfoj0QAKsfGnLuj2i7U2ZqgrDaXVyh
|
||||
mKmxrqPguqRbYGlPG4rrT1t4ZFBBlseUGni9Jp2uO5fyTYyZWIU+4lpg8JzExmRV
|
||||
utmqoK5+JRo079KVQNH+yafLrmKuWA9pWpFvnyUl0xdfMWaxegiY9UsrDFw9nJ6V
|
||||
h6BlIbnT73KEUPPWx4KP+yIM642jC0E1NvmG1CZGRMz71WRa85KALYhYM1ZTwtat
|
||||
EU2UY2HgE2AyDLhRPS3WE6NdN5gOIqd0/34g5dt1dTZxQ5zbSaJeEc0nlMWYGmwC
|
||||
LwPt/4PJQvl8qwT5uMIxWxPUKhrAhQ9FKMDQQdc5nUmsJuW7bavVcA5+O+PoxSzK
|
||||
xG//Gu2oevd7OAN0onmzhN9Fru+PoX4p3NAeVZmr5D6UFELbLKn+jx8KPQA7PYm6
|
||||
lRXnXanDncDafN1sJUjk66XeJRbwbt8nRCXm6ua6webzgy2S2KjNrYqhVeOFGM4Z
|
||||
13tTL+iXXfx9QtayE5rjFjUeVo+hSwSxodlNhK4IOJA07vlp7xY4nJmESEE8PzUC
|
||||
9gvSAyNAcuXiYuYMgM8zhcSrtdXJOm/odsBKl6A3LbaQfUtpzKz8+526JTsU07dP
|
||||
t3iSi2RkLZ8wSq+gr5Z4YBNcfYa6vl6I9ZWp4+Y7KdmjgphhgcuBaq022NtAvshn
|
||||
MdgqSg3xfUt/1GKswZBI
|
||||
=Kb8r
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,11 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX llvmpy-0.12.2-return-type.patch 421 SHA256 d125e0aeb3044c0b0c729368ae7561384aac93eff2cde45ac729c12397a9001a SHA512 4168bb81781350b6629ab9a3bfc3793310b769cb07a092b6d424e67736b909b48f9dc7e681b4d13ae7ab6cb66cec0b1f0527e432ed2bbb2d2f6a36064ba16877 WHIRLPOOL 1fd35271518610660964dcc994f9b450b753a0d21c63997ea68afb2444032db4aecc4654720211f83e04887f06a7754fbe9b920bf3dc2cbbf724d2d36a6ed4ab
|
||||
DIST llvmpy-0.12.2.tar.gz 570250 SHA256 fd619c872d4c516111fc36c814f6c0112fb3764f02be258c920818ab405484ca SHA512 5a988e994c5c3ab2c00edd4d9df1ec3dcef8774bb10bcc789f7540f88f4a0fd2f7c0374fd96b7ed4e2a923781834b3b1f0aba52bc5fd828553cddf07767e9c82 WHIRLPOOL 3aa4de9e28e6a748300f85f1ddfe63f15df65ad83e67dcbdbd21d0aa923c55ac659813bbc375b68931ba86e4831842d5c5d5463ec4b523821c751953c018fb1c
|
||||
DIST llvmpy-0.12.3.tar.gz 570289 SHA256 864e4a216e2f68b4f05b7a9e41ed200599b9396216b3ed76612b9d4a1cf98ffe SHA512 7155c900f70aef6522cb975f1be6a90cccb1c5c0f2b5a70369757eafe7562ae4324d08cd2f161ddea9af9dfd48c9d0b3049b703cfb4c4dbf0a5a88e50d8999a7 WHIRLPOOL f01fff9b04fa19a2ade70db13bfef23e83637861efd209d82fb1060888c0ec181498fc290d437ea4fff9056a7586c1fceade2bf25ddddf3ebc98715f2551f663
|
||||
DIST llvmpy-0.12.4.tar.gz 570572 SHA256 7f09e1626e890b5ebe916278ed13be0da1dfb66d9cda33acc2c61e91e06da806 SHA512 4efc8f040b68d729387f211b9cdd02d705abaae2f20a283da3f617f7417fcc0181319fcc3cf673ad9c6df6907c705932802eb0b7e0fff1bc3c9d32480d8270c1 WHIRLPOOL 68c6af1288407f7237cd526e9d30782e47e891ef951dc68a8f6d0611fb781706df68c542de9c953efd09d88fe03340fe88f9c7e16625c3eb4ef2bdb18b4d7101
|
||||
DIST llvmpy-0.12.5.tar.gz 570612 SHA256 b95c5c633c8475c1b7a63eda2759fb255a46e064ef2174841a7e75400091a387 SHA512 9d77c3ca5603580a2e0c5944d859424fa85801986ecf53ec8d6fd0386dab77b9936e9af369e7d231d9b31bc658ffdbeece0b273111965fbda33f7cf2d7de5b67 WHIRLPOOL 47982d39076de86415c160acc3498e9236020097af2402bbfecdd348af3306ed9176af72afc68273fcc599c591664058bfd176886a8603ffb68adf7b6c87bc34
|
||||
DIST llvmpy-0.12.6.tar.gz 571494 SHA256 1433062ac890bdb13651dc1bc4f0ee366f4b13789bf9ff18c3520fc5f9862cf5 SHA512 22cc3ac77e7d7d61ece24ccb26f8f19746683252b8cd0eeb5f9751e1177f8a882be43fb21d99ce225c93ef450dcffa83cc63bff3972faa252841fd2ef659f1c4 WHIRLPOOL d232ac61fb9ff3caa160deabc453ca1f1a32db0920cc98b8f2ec03876820dd15713060ae83f18a1b4c22b5f5455a94d14bea95bd39bd6a311813171c27b98cf2
|
||||
EBUILD llvmpy-0.12.2.ebuild 972 SHA256 e1768aff26931ffc3a6a92f8ac1bb2ac6c5deb350450eeb61b1a09c438f8bd88 SHA512 5375738a19db0be28aa186ae24a599324e1d3cd67cd3ff8b5bf477bbc9e7b8e4ec96e90cd549d5999ed512c1724df0cecd432c7f7a30dff077ada9052557d45a WHIRLPOOL 4638ed36f32ecf3849431ea43b1be9ed452cea852c52a5ac150b3d73f538c07cbec21b1998267f6f8f5af2440030d742f8066bf3ff8ba83c5fd1a88c3e355e84
|
||||
EBUILD llvmpy-0.12.3.ebuild 980 SHA256 f830d18b523c2e5bed5ffe3153618e8254ca17a950f2451fd09f4b27b1f3010b SHA512 0d015e7ddf5d8f6b006b242b67a637b531bcf6f227f3443695e115059b2b938cf4f3dbf455b151213e41561c13fbadc51afd38f0e28a7adea83475f56f114114 WHIRLPOOL ea24c69c2f776e8cd026510f28785a794b8802ea59797b2e28fdbf6556097cc6e7fd55255206b713c1c53674cdd9b103be05eb6b37e4df95a3f468babec1a83b
|
||||
EBUILD llvmpy-0.12.4.ebuild 980 SHA256 0000e49c5a9fcef2e9c28f138ab9f11781748c5b48fb74f79ca5b9d42b7e8e78 SHA512 61cdb7dfa15199b670cde7661c1e595c35a52f0f87ae098a510ede5dcc2f86bb0db5e683be663c6488e34dafc7d0717a5cd0e832253ddba00c906e5d3712fb5f WHIRLPOOL abe81a8592e50099c65199fa70cf9f67fd60c15cb598a80823411115726ec25718e033f7619c7fa2d3f911d43cc63675fca4bce3fd2148fd6db119fe341c3542
|
||||
EBUILD llvmpy-0.12.5.ebuild 979 SHA256 aad8d93c4c0fec746903da5ad885be7b65060952cad5a5e17ea29bb82fd3299e SHA512 e5659be84ab3f029cd41160d51df9f37f7b5a70c39d4d1ebe83db3f2d5ba9c8d4754c7c281661ceac1ad0801da6fa238c068d2b3b8806a7e60e0709c9de8c6cb WHIRLPOOL d96f40753271033e5769e65b675d8911194b58289da648cbff447f27679bf43c096a33e1d12939ff8dd91cb5d21498aa19e86380253eb4a410cc60ef600fb400
|
||||
MISC ChangeLog 968 SHA256 55f9186f866f89f05b2657d77eeadc390d702c591ed63f9cccbba48f743d1201 SHA512 fc60c4797f0e9ee049bfa5d0b875d90cb3fe81c772043c55a5218a443a0a07c3a864fb47c0211a761fcb2db6abb028036de7c519260492235610818623cade85 WHIRLPOOL 23ab203585d4933b5d6cd562e0142ded7f1538236971c4348591897d8d3d1ec3cf0014de4cbe70b01e6939c525388a4bee8f8085501564fb2be46ab40a330f14
|
||||
EBUILD llvmpy-0.12.6.ebuild 1199 SHA256 d1397c5fb150ec7186552acf1d2a067cd7f794d5c692ce8fe4468160a767999d SHA512 a07628bea6af5fbbdc2da25facd366e2bbce88860870aa9af7a49297a9372f0494a1c9660fad23c54da8242ca6a4c8d2e308a1f2081cb8febfcd45ad69252e4d WHIRLPOOL 0ba78d57fa694f5537d5d34287f41a4e5b0a8a3802fdd16af116bf4c940ffc2ef3fcc7e9bf6a7b17e51374956319b020382e858fb9a22b4a0fc5e1d18cae60ae
|
||||
MISC ChangeLog 1107 SHA256 b5d2d4cd418425bcacd2edb055e6ad09dbee0df7018e64880fcb97356bf1e903 SHA512 bf1c641a119b15b2741569472063f05002a06e5635828920ab9461e5a966a41de719409f9607d1b26f9fc29a17a5725b5b1a5298d069b7e84c6c50d528da7791 WHIRLPOOL 78756fc93937a59257c3e10921099dbdcd7a3dc739e03c1a6592f20990f8d599bd8e25b8320207aaa5bd6c844393d5d811fc45a67743a4cbf68234215591665a
|
||||
MISC metadata.xml 311 SHA256 14652adafc7a7255e653b88719f804e577bd3fe5ee5f5abc83540ef904e64c90 SHA512 17cc01b98d7ad6385c80241d5a17355213394ed87756fb2eb829e2b238165509a5e450fe22370e6a8a88606318beaf9badaf328d6876fdd2f5ae444a9c3d6fc6 WHIRLPOOL 3232faa1d4ad5365c19a67109f966231ed9961253e0ab35292ec64451898d8197a92699f4e87a92fe7ba1ae15b068dae3c32d4fcd83a0b4e6ef482d9de225052
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlOer7oACgkQso7CE7gHKw3YFgCgqB2OWXkIFOiti9WYDkF5lbDP
|
||||
lEcAnRwaySTMQk32X0ivbQy9AiOji74t
|
||||
=yaJs
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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/*
|
||||
}
|
@ -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,4 +1,4 @@
|
||||
DIST scramble-0.9.5.tar.gz 552301 RMD160 07905c8c3dc73c7411f8d3aeb1a7e0730b3c017f SHA1 da9f7d5046b53b024b1e7bb4ef12335f1e4c594b SHA256 9f0d27c65962f333f2a54294d1b42150aed0302fc12548a89c44d9f721d5d56f
|
||||
EBUILD scramble-0.9.5.ebuild 739 RMD160 9cbb93cfa57de77c06470940436194b00d9c1069 SHA1 697fa65903d94d94f7cc1bac339aeaa7ab8ca5b5 SHA256 9f5fe65e18bb06f306fbb1af232d69e0f0c6883c04f2a49974b7060cce69fdad
|
||||
MISC ChangeLog 1275 RMD160 baaa6f3115dd1df4c95f8596f063b6ccac9a2262 SHA1 eb236ff6a42b0e8d7ba20d7774992d87f72239a5 SHA256 979178ba868f56852ffb94256348883c5f38027f3282a86a78c5d7880d209f88
|
||||
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
|
||||
DIST scramble-0.9.5.tar.gz 552301 SHA256 9f0d27c65962f333f2a54294d1b42150aed0302fc12548a89c44d9f721d5d56f SHA512 ff361cefe842d6b2019a78571182fe35fc77a1332d6365211af7cf292da8532023bd565b7eed8b44545716474d441b0793253e856a1cad937f62396a5a29bd2b WHIRLPOOL 6361eed7868d79ed556cec368c439a534e08d3a4fd9ab4edd97a4af515f9fe1d2bcb92d8c972e0395755b33a5ca432e820a6a1e960f0003db237f97f4fdda81d
|
||||
EBUILD scramble-0.9.5.ebuild 814 SHA256 49bafff2a5ad0876d0138a51672d3469cbf189a4027df6191d36248ff78de987 SHA512 c3dfd4a160df4f970d929e319610a4e59f6fe9c0e29fb2d339e02a934dec80c64598bd244bd62696d052e223c269bf8e4d6d852f29777b04dcd8ac6eed2ed6e8 WHIRLPOOL 7fd86f7dc9002c233299eea9984bf69603f42b5ac6d571b8f0a8e823f3b0b2d9a1dfe9b5ba2fdc8b15167d1ed6b55817c5e93c48183e0ec0954f6d8cb5043a6b
|
||||
MISC ChangeLog 1389 SHA256 68da666067af56e6c86977f0f9e793fa3fda0175b2189ecb40532cae9fcf5dbd SHA512 695d04ef95d942edb2742ad1db8b3573427eef7e4a646a0309498baa2ed6c1b335184870392898e8fadeb2bafe7f1e30cbf24c9dafc77e301407207bee95c209 WHIRLPOOL 326bf0d3572804463dfc1d29093d869c8fc0ffa215be8b9d3350e8f3c7a80dc40668955b6c7e51abe6ed87be28f4c8eba0b7240b3698898cd97fbdb9c0976ede
|
||||
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
|
||||
|
@ -1,40 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX gmic-1.5.2.2-ffmpeg.patch 716 SHA256 068c3bbb808b8e68a8826203e124d8cc86c937b8c77bc998225510abf6080e1a SHA512 9697d41c7f0fb422eb70d9bca38e8822692d95be14c4c337bea3e02cae1ad039a4b1c007536bdda669ff95c30980d13183423504ae70be3da6da53de146b0c1a WHIRLPOOL 3e94e98a0c375573a3a936a281f3b28c0800d331189f21e6afa1d0c2b2b257a7b56e10419c2362eff726d0bdfb93d902d09e14cce76ae41d779b2ae208c80328
|
||||
AUX gmic-1.5.8.0-makefile.patch 5485 SHA256 39b5ff20a26b620f7cda95e1fa62c69532dfe3ecd34d8ef058f7144125ba564c SHA512 d8ea82f745f0bb5093ca328f569de74ba2e7a62f95045812b1932f086ebe9a2ac9adb645cc4a1d1b89f35c59f8bd10dac0a43f083ea6167ecbbb16a9a270f428 WHIRLPOOL 3d797b9d25966076c087ea87c07d9dc2aeceb1185cd4298a4ce2011864889d46aa8d2a2f6c01fe40dd78450b20661fb080a0aa3da4ea0e20634f28256680c4d6
|
||||
AUX gmic-1.5.8.2-ffmpeg.patch 750 SHA256 14eff8233639c8e3384b9abf4acfa08af72595f4f64df015e28a918a23d4cb07 SHA512 51e767fd4f4a9a6bc0090a22502c9ffc1ba41cbbd59223b8fb880ca252d5f49166db5b6a9abf83e5d8c24a893e404823e72336dc0a7b493825cfab868bba2b55 WHIRLPOOL b5793611498cc0483241b615147184bff6b2f10ceb398473c7ee6fc0b89a79ccd572671dc80652dd8e45effe09430891fa52528c21edbc405ede67424f98c215
|
||||
AUX gmic-1.5.8.3-makefile.patch 5037 SHA256 07e2f9d8a1c3d4a5053296f9b9a0f9a0718717e611493961d2907267c8cae380 SHA512 86f504b688bf4cc25fe698ed2d57d3bae719bb876688492b797927e76ac95326f6f2ab71fcc1e4b2f44d42500a90d6f7abe02d24dd7a22e4f617261f837fddb2 WHIRLPOOL f33a74d82fbeb91bd9712237f9e322b0f5aea426f2fff1da7088e0f90de8fb466f572fdc08eed8888dd51ba9235272b57f18de9d082724247bd6daa77355cf73
|
||||
AUX gmic-1.5.8.4-makefile.patch 5384 SHA256 48cd18f8e8086a21b62b59788d34185521dddfa9f42ec228f069d44aac2d7af0 SHA512 009cc63ce747ee0acd917795ff093d9aec4545105cb9a96f837d885d68f420b919557d569e2492cd016b96a723a932f8e7b19cf89f12b8ecb153b96dcf1e49b1 WHIRLPOOL 752c7849074e70f3bf10b5aa144917d9e18276c4d99a0a4b4139b217a1e8edd8036df0c95b9f7a3f3b12f03abc99e8c67666fab8365d5259e1e788096f512998
|
||||
AUX gmic-1.5.9.1-makefile.patch 5285 SHA256 75c0faee9e1fa0796ecd3583de9b81a7281be7fd80d46fede525d385f5c449c3 SHA512 71ffc20d5bc94766ed86012a3f720ab3c43fe229822ecd1325217713fcce4f4305ad34b6bb0a3fc07c1949bf0a1c581a22307b0f49a4302a58de7b3d0261de00 WHIRLPOOL df3b4b59b959e2a56ad829e2446295f6434a13c210d7c83b9dd173e54baf495dddbd71bfe3531670737ebe0769239e1a873635a11439f7cdf94b71ed3029aede
|
||||
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
|
||||
AUX gmic-1.5.9.2-makefile.patch 16211 SHA256 222a8d530aab275b376b4272fc2f7a43fdfddf51a33fa70bd031ca05899b6bb7 SHA512 2e00b93ccc980823641a1704b2684e617ca64c44c00fb4aac0373f0338192b6c768356c806cef3b9baf86d299f492eb0414b7e7f42eb3bcae5e9ab04d8fe1013 WHIRLPOOL acb02abac8d6174afdbb982c29243b0a7e723b83b2d2c538fa9c77c99e1f09400960e0e8b108a770c75c9317ada029d6f8dea7ffe8de5dd14471262a7ccded21
|
||||
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
|
||||
EBUILD gmic-1.5.8.0.ebuild 2048 SHA256 e09a8538c5155a31d082ce30e2f1b6f965cf6999823b3c5e0331ad6fda6247a6 SHA512 45875c92a8d056b4808a8d8c78d02d898963d8ae55b8958249450064ce64d0504abaca343ac052450cd6ccbc3bc3b8772c2253c2d31996aa2043bd75c09f7e7e WHIRLPOOL 90e64fa218cbb9c81485c31c90fcf2791b50b04af57c54bcd3b3b04025ed1855b1b71120616b0b63165276d227651c3e556912774a1cb134c3562086237edeff
|
||||
EBUILD gmic-1.5.8.1.ebuild 2036 SHA256 700fe5b0a92b7dcc2aa7b2e44fec5c33d5799b9c55b072a941f1dfaec6bf8670 SHA512 2976745c93d4e422f278c89c72814aa0d12c44a14253c7820781db7010b36e4188a166fded6a643a391ab782799646fca489c7d3145faec1850ebabce8cce159 WHIRLPOOL 364c142e1471c9db5f0cace1d8be0ef2c8454dbc049b25d675ecc5191c483fb7953b9f447d0ea9df569386da218c06aed2ddcaa89e81c8a54f531338046b59d3
|
||||
EBUILD gmic-1.5.8.2.ebuild 1862 SHA256 c58bb113e420ae7d23ceadede576adb41102ca0215786bc688b17e5df7740a49 SHA512 3f3289ed6b776f87f72301f5053aa6d209d6da712fa3a7fd128e58e078e2f0bbdf0ef5cec6d860ab1a102eb1c74ac1583528a3674f167a058c48e6e0a3df68dd WHIRLPOOL 53e4bfca5c76edf845c9b9b9146f00ea3ed1b708f58dcfee87d30f7cd915fcf248c45ab692c28ac9d16b68811ee3a05228237d12a7f3944b818f37e757ea26bb
|
||||
EBUILD gmic-1.5.8.3.ebuild 1888 SHA256 e77fc9d9fb17989c3a791b72cc63dd6afddafc218bf0846bb223f7e5eab56598 SHA512 970dfd4bc2533d644d327214f24c9985404441272e974e3c12314f9176229656abde38bffd1972176fb3cae1960decfdaa6b0ffca7d56d07da3f831849e4b0d9 WHIRLPOOL 0483593d4f91b0211a8707a97129fcd758c3be720b3870ea97c9e81312fc7c3637c0cb40f683071ac10d5177081f6b9327810560d3ecaa9bc3a708f732f1e782
|
||||
EBUILD gmic-1.5.8.4.ebuild 1888 SHA256 1a5913de3ade9b2f711b310fee3468d9d2a5a9fa7266afae7052aede0a874126 SHA512 e64edc8f0f1efabb4c7cd487a435006972c6e5d67cc9b067289fd0f6e61c1c66336d7d2646906e0d5b038a08cfca1ea31bb969fd9ac0e8c043ddf0d4e61b8909 WHIRLPOOL 0f58500d1b315075648adaa75cd64920011b1a70542ead1b5b46768afb54bb7bd9a8bb3e0c47165b52775621f49b1b70c89234aa610456ac9bd7c774e65c4f35
|
||||
EBUILD gmic-1.5.8.5.ebuild 1897 SHA256 5f8f1bbbb2477c31fc35d77ec17bcbb08d75ee55a7dc5f82f21b52b664ee6ceb SHA512 76e6e20a2cf8ba941ef9f8c1c97184ac1c39aed9d621dc6607a1fbd411480933de77bb77eeeb4673f9122f4dc88a7c5f89054797891ed32f86e0b5c10f996c25 WHIRLPOOL 5bca286a564c52d7927741586660b4d466fb715a9727f894d7a5420f4cfbca62328fd4b32e30af6be3a42b39c8401166d8481c5bbece6033a86e9ff3eb478bf8
|
||||
DIST gmic_1.5.9.2.tar.gz 2784355 SHA256 8fffca4cf2964f75961f165e507101444da593da8a525551bc359a3e7542d3dc SHA512 f451baabfc3a4e51a9e882a970bb26551c72f3802d3c6bdf76ffe37be9dd69eeada75e02457572037124f914fbed6f96ddf0620771b6c71901a4478f38ad3e53 WHIRLPOOL 9760484589e1e84949e6059d0b681644773259ed9242dfcc43440a6bfedec75fa8e969b4e7eb74c6208b0d21a9d311a6751916850dccfd903593c4b78cc7d659
|
||||
EBUILD gmic-1.5.8.6.ebuild 2021 SHA256 ab9535da9cac4aee07f2611903b29a0d7422f44d801c04f6dc6546d0f4f30171 SHA512 39f750fd7313ff1a12acdb031fda95c559844d36f1e90d124fb9aedce830b028da0da0b3275a08649c13bbc1a0c45cd52ae5ef8c295c523b9b0f6d0c1c4ed2d3 WHIRLPOOL 711186da5d60281273b1368438d86f022884cfe5827dc8f4eabcb21ba17d117f99655584216774df18a75d2528cd2efd910945c8f64b041b3900d9f2c328b475
|
||||
EBUILD gmic-1.5.9.1.ebuild 1900 SHA256 c14987c386db5af951cab7c0b090c4f0ff1e7c9f6cf33d6a9fbf02e208df9cf1 SHA512 bf8b3a56ac3a4b2f79b52da03dba5568aaedfdaabd8a73e3b2b44d4dfb539c82f203629724bc5b53e5179a2e5be06a7b725fdabb2f3c9ca7a123aefec7f94c24 WHIRLPOOL c706d64909e6831ab30ad4ef81a0c774a8c5c4df1027258f77230ca73cf914f9e32de09b59748ffbd6a45badb973fc878d0e5a7c8db2582cf366b28ae8940a80
|
||||
MISC ChangeLog 7053 SHA256 1ce186cf9c9a00b731c05f281cd8ffa2afbdc9a87eb85d107ec0dbcc3491cbc5 SHA512 05f044721cc88cd5c6e8a4e9bd9c3b0bafa4df53bdac3e67e9d92e6910f0382553a3157db6fdb18e9dba04323977424e9dcc06cb8d1c8a28d7b17296179af237 WHIRLPOOL 68dda53192e7bcdd29c08a88d1c827a6ae113d8c0d551a29a60cc2ee336329a3bd6bd79a38005b3e70594117af4a83a9e808fd339cb79bec178a405b53765859
|
||||
EBUILD gmic-1.5.9.2-r1.ebuild 1911 SHA256 6370dee1e51c1e299c1a503966eddc857e8fb33c8f5270f960035011f95faad7 SHA512 5905eb47378d61fe0eafec3d834ba0232e17f8097351a5c44487019a08c0c3c860a6c6766cd6d62dc7d08755b4f2ca45467f408dbd0b95d4f89bead93a84ead4 WHIRLPOOL 589162076161c3e95adffe0e56c82970542531a33d7dcd0f789429d84524c69263479bea2358774f3a631decbb4be2ed72dddaf46cc78c1b8036c2d579b2d653
|
||||
MISC ChangeLog 7767 SHA256 8be8405e736a229a16c528b4cff21cfc1cfdd88580d1e436912107374376ce30 SHA512 449063e57068e02039be42bf18d359da788b493bf918dfde661fbae89a51e59f8abbb1edd78e70037a45795d9fcfb39496fbacf4a29775831a79befce4957d5c WHIRLPOOL 4a11b86bac7fb6f4ab30aa03bb80fb84343b0fcf7afb31b598601709a8fb7d1e168d09f7366171076e8c175571e60350ce11b321f70cbf1684098a36a6c9f558
|
||||
MISC metadata.xml 473 SHA256 def06af4d0283b01f9313231ff05df286129ff57afbcac23fcc7c45d8f735a6c SHA512 4bd720129471c24a6b71e32f11054d96bd2eefb3316489806a06b8deed45e5544fe1c74a73c129ec90fe30c8a4c0646c50e6690717046ad93255771627588f32 WHIRLPOOL 9a356f4c399b7a6fdf217b2dbeaeb4fd40dffc080b86c0ad913690c0b0007aaad52ea79d3b7b5b21591432c99a1e59ed02ead94e2578f1915afe2ee0c9f7d090
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJTkVzIAAoJEEqz6FtPBkyjC/8H/1X3ir2wWqKZFfZBYJxwkK3A
|
||||
RexvWEKK0rrREleCOo85FRqPEnSf8qs1DV2UzMxGL2os65bNeU9csXODQfi4I2Vj
|
||||
I7lfG+MCpM7SbiDIRpx5Qup4x1nfzwaYp5Rhz8HzqbAKiL10o7Gw6XEB5p26i+Hi
|
||||
5j/IUe5UgSdG9EbztF4EJ8/RYWGL0vGLla0W2WdvuV2sqndvoxcgZzcMAQ+m1n14
|
||||
EwcWr+Kzagfng6sI0QUJQgDoWgzg7i9Z+ScneQdfYdQyks0hQztaw+tmlaGX0P1Y
|
||||
ntwlG+79dnSKRreYmo2qde53PQdjIW5HNvqAcK3Hzl/g0Eaa2fv9w+l9/9A20NE=
|
||||
=22G8
|
||||
iQEcBAEBCAAGBQJTnqIPAAoJEEqz6FtPBkyjumcH/jlvogBncVfyy8H21OTpo2sA
|
||||
ObOymIeAKFKgdIXDPRkOhQnpPxW1W5xmJuVYdO44HQTOUxS5tf5KX6i8F1x9oPII
|
||||
0VzBCb0zRpUUoPHeun+s3DprYYLJtNyWBpjGMxgmvcagI5WcGg24lOE7mgLIc9gu
|
||||
uwPBs7Qk1IAGihGjgvZuOvAUzVA+LKOjdgmxP53lkSyNgxySIYIaxQKKtcuKNbGI
|
||||
aRaOgurX+xMdELBYdPCWzGuYyBxt7wkKKuTfkYOvwOgctnD1+HeQHXaCjgCbxIF+
|
||||
+yJFD5CGg/HMUSV0FxE8wCZ+pvewnblPH/WAmfAg4oEFKCppWYV7hMw3sGln54Y=
|
||||
=FdSX
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue