Sync with portage [Mon Sep 26 13:10:11 MSK 2016].
This commit is contained in:
parent
efbead9297
commit
466dd02a0b
748 changed files with 5928 additions and 7104 deletions
|
@ -24,136 +24,6 @@
|
|||
<remote-id type="github">collectd/collectd</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="collectd_plugins_aggregation">Build the aggregation plugin (aggregates multiplte values into a single value)</flag>
|
||||
<flag name="collectd_plugins_amqp">Build the AMQP output plugin (transmits or receives values collected by collectd via the Advanced Message Queuing Protocol (AMQP))</flag>
|
||||
<flag name="collectd_plugins_apache">Build the apache input plugin (collects statistics from Apache's mod_status module)</flag>
|
||||
<flag name="collectd_plugins_apcups">Build the apcups input plugin (reads various statistics about a connected uninterruptible power supply (UPS))</flag>
|
||||
<flag name="collectd_plugins_ascent">Build the ascent input plugin (reads and parses the statistics page of Ascent)</flag>
|
||||
<flag name="collectd_plugins_battery">Build the battery input plugin (collects the battery's charge, the drawn current and the battery's voltage)</flag>
|
||||
<flag name="collectd_plugins_bind">Build the bind input plugin (collects statistics from bind instances)</flag>
|
||||
<flag name="collectd_plugins_ceph">Build the Ceph input plugin (collects statistics from the Ceph distributed storage system)</flag>
|
||||
<flag name="collectd_plugins_cgroups">Build the cgroups input plugin (collects CPU accounting information for processes in a cgroup)</flag>
|
||||
<flag name="collectd_plugins_chrony">Build the chrony input plugin (collects statistics from a chrony NTP server)</flag>
|
||||
<flag name="collectd_plugins_conntrack">Build the conntrack input plugin (tracks the number of entries in Linux's connection tracking table)</flag>
|
||||
<flag name="collectd_plugins_contextswitch">Build the contextswitch input plugin (collects the number of context switches done by the operating system)</flag>
|
||||
<flag name="collectd_plugins_cpu">Build the cpu input plugin (collects the amount of time spent by the CPU in various states)</flag>
|
||||
<flag name="collectd_plugins_cpufreq">Build the cpufreq input plugin (collects the current CPU's frequency)</flag>
|
||||
<flag name="collectd_plugins_cpusleep">Build the cpusleep input plugin (measures time spent by CPU in deep sleep mode)</flag>
|
||||
<flag name="collectd_plugins_csv">Build the csv output plugin (writes to comma separated values (CSV) files)</flag>
|
||||
<flag name="collectd_plugins_curl">Build the curl input plugin (reads streams using <pkg>net-misc/curl</pkg> and then parses them according to the configuration)</flag>
|
||||
<flag name="collectd_plugins_curl_json">Build the curl_json input plugin (queries JavaScript Object Notation (JSON) data using <pkg>net-misc/curl</pkg> and parses it according to the user's configuration using <pkg>dev-libs/yajl</pkg>)</flag>
|
||||
<flag name="collectd_plugins_curl_xml">Build the curl_xml input plugin (reads files using <pkg>net-misc/curl</pkg> and parses it as Extensible Markup Language (XML))</flag>
|
||||
<flag name="collectd_plugins_dbi">Build the dbi input plugin (executes SQL statements on databases and reads back the result)</flag>
|
||||
<flag name="collectd_plugins_df">Build the df input plugin (collects file system usage information, i. e. basically how much space on a mounted partition is used and how much is available)</flag>
|
||||
<flag name="collectd_plugins_disk">Build the disk input plugin (collects performance statistics of disks and, where supported, partitions)</flag>
|
||||
<flag name="collectd_plugins_dns">Build the dns input plugin (collects statistics of your DNS traffic on port udp/53 using <pkg>net-libs/libpcap</pkg>)</flag>
|
||||
<flag name="collectd_plugins_drbd">Build the Linux's Distributed Replicated Block Device (DRBD) input plugin (reads Linux's DRBD statistics)</flag>
|
||||
<flag name="collectd_plugins_email">Build the email input plugin (opens a UNIX domain socket and starts accepting connections on that socket)</flag>
|
||||
<flag name="collectd_plugins_entropy">Build the entropy input plugin (collects the available entropy on a system)</flag>
|
||||
<flag name="collectd_plugins_ethstat">Build the ethstat input plugin (reads performance statistics directly from ethernet cards)</flag>
|
||||
<flag name="collectd_plugins_exec">Build the exec input/output plugin (executes scripts / applications and reads values back)</flag>
|
||||
<flag name="collectd_plugins_fhcount">Build the file handles input plugin (reports the number of used file handles)</flag>
|
||||
<flag name="collectd_plugins_filecount">Build the filecount input plugin (counts the number of files in a directory and all its subdirectories)</flag>
|
||||
<flag name="collectd_plugins_fscache">Build the fscache input plugin (collects information about the file-system based caching infrastructure for network file-systems and other slow media)</flag>
|
||||
<flag name="collectd_plugins_genericjmx">Build the GenericJMX input plugin (reads Managed Beans (MBeans) from an MBeanServer using JMX input plugin; Requires JAVA)</flag>
|
||||
<flag name="collectd_plugins_gmond">Build the gmond input plugin (receives data from gmond, the client daemon of the Ganglia project)</flag>
|
||||
<flag name="collectd_plugins_gps">Build the gps input plugin (collects number of satellites seen by a GPS receiver using <pkg>sci-geosciences/gpsd</pkg>)</flag>
|
||||
<flag name="collectd_plugins_hddtemp">Build the hddtemp input plugin (collects the temperature of disks from hddtemp daemon)</flag>
|
||||
<flag name="collectd_plugins_interface">Build the interface input plugin (collects information about the traffic, packets per second and errors of interfaces)</flag>
|
||||
<flag name="collectd_plugins_ipc">Build the IPC input plugin (collects information related to shared memory)</flag>
|
||||
<flag name="collectd_plugins_ipmi">Build the ipmi input plugin (reads hardware sensors from servers using the Intelligent Platform Management Interface (IPMI))</flag>
|
||||
<flag name="collectd_plugins_iptables">Build the iptables input plugin (collects statistics from a ip_tables based packet filter)</flag>
|
||||
<flag name="collectd_plugins_ipvs">Build the IPVS input plugin (collects statistics from Linux IP Virtual Server)</flag>
|
||||
<flag name="collectd_plugins_irq">Build the irq input plugin (collects the number of times each interrupt has been handled by the operating system)</flag>
|
||||
<flag name="collectd_plugins_java">Build the java input plugin (embeds a JVM into collectd for writing plugins)</flag>
|
||||
<flag name="collectd_plugins_load">Build the load input plugin (collects the system load)</flag>
|
||||
<flag name="collectd_plugins_logfile">Build the logfile output plugin (receives log messages from collectd and writes them to a text file)</flag>
|
||||
<flag name="collectd_plugins_log_logstash">Build the Logstash output plugin (writes collectd logs and events as Logstash JSON formatted events)</flag>
|
||||
<flag name="collectd_plugins_lua">Build the LUA language binding plugin (uses <pkg>dev-lang/lua</pkg>) for writing plugins</flag>
|
||||
<flag name="collectd_plugins_lvm">Build the LVM input plugin (collects the size of logical volumes (LV) and free space inside a volume group (VG) from Linux' Logical Volume Manager (LVM))</flag>
|
||||
<flag name="collectd_plugins_madwifi">Build the madwifi input plugin (collects information about Atheros wireless LAN chipsets from the MadWifi driver)</flag>
|
||||
<flag name="collectd_plugins_match_empty_counter">Build the match_empty_counter filter plugin</flag>
|
||||
<flag name="collectd_plugins_match_hashed">Build the match_hashed filter plugin</flag>
|
||||
<flag name="collectd_plugins_match_regex">Build the match_regex filter plugin</flag>
|
||||
<flag name="collectd_plugins_match_timediff">Build the match_timediff filter plugin</flag>
|
||||
<flag name="collectd_plugins_match_value">Build the match_value filter plugin</flag>
|
||||
<flag name="collectd_plugins_mbmon">Build the mbmon input plugin (collects information from mainboard sensors)</flag>
|
||||
<flag name="collectd_plugins_md">Build the md input plugin (reports the number of disks in various states in Linux software RAID devices)</flag>
|
||||
<flag name="collectd_plugins_memcachec">Build the memcachec input plugin (queries one or more given pages from a memcached instance and parses the returned data according to user specification)</flag>
|
||||
<flag name="collectd_plugins_memcached">Build the memcached input plugin (collects statistics from memcached daemon)</flag>
|
||||
<flag name="collectd_plugins_memory">Build the memory input plugin (collects physical memory utilization)</flag>
|
||||
<flag name="collectd_plugins_modbus">Build the Modbus input plugin (reads register values from a Modbus "slave" via Modbus/TCP)</flag>
|
||||
<flag name="collectd_plugins_mqtt">Build the MQTT plugin (sends metrics to and/or receives metrics from an MQTT broker using <pkg>app-misc/mosquitto</pkg>)</flag>
|
||||
<flag name="collectd_plugins_multimeter">Build the multimeter input plugin (reads a voltage or current from a multimeter connected to a serial bus)</flag>
|
||||
<flag name="collectd_plugins_mysql">Build the mysql input plugin (collects values from 'SHOW STATUS' command of a MySQL server)</flag>
|
||||
<flag name="collectd_plugins_netlink">Build the netlink input plugin (collects statistics for interfaces, qdiscs, classes and filters using netlink socket)</flag>
|
||||
<flag name="collectd_plugins_network">Build the network input/output plugin (send values to other and/or receive values from from other collectd instances)</flag>
|
||||
<flag name="collectd_plugins_nfs">Build the nfs input plugin (collects information about the usage of the Network File System (NFS))</flag>
|
||||
<flag name="collectd_plugins_nginx">Build the nginx input plugin (collects number of requests handled and the number of current connections by connection state by the nginx daemon)</flag>
|
||||
<flag name="collectd_plugins_notify_desktop">Build the notify_desktop output plugin (uses <pkg>x11-libs/libnotify</pkg> to display notifications to the user)</flag>
|
||||
<flag name="collectd_plugins_notify_email">Build the notify_email output plugin (uses <pkg>net-libs/libesmtp</pkg> to send notifications to a configured email address)</flag>
|
||||
<flag name="collectd_plugins_notify_nagios">Build the notify_nagios output plugin (sends notifications to Nagios as a passive check result)</flag>
|
||||
<flag name="collectd_plugins_ntpd">Build the ntpd input plugin (collects statistics from a NTP server)</flag>
|
||||
<flag name="collectd_plugins_numa">Build the numa input plugin (collects statistics of the Linux Non-Uniform Memory Access (NUMA) subsystem)</flag>
|
||||
<flag name="collectd_plugins_nut">Build the nut input plugin (collects UPS statistics using the Network UPS Tools)</flag>
|
||||
<flag name="collectd_plugins_olsrd">Build the olsrd input plugin (reads information about the Optimized Link State Routing daemon)</flag>
|
||||
<flag name="collectd_plugins_onewire">Build the onewire (1-Wire) input plugin (collects temperature information from sensors)</flag>
|
||||
<flag name="collectd_plugins_openldap">Build the OpenLDAP input plugin (reads monitoring information from OpenLDAP's cn=Monitor subtree)</flag>
|
||||
<flag name="collectd_plugins_openvpn">Build the openvpn input plugin (reads the status file printed by OpenVPN)</flag>
|
||||
<flag name="collectd_plugins_oracle">Build the oracle input plugin (executes SQL statements against Oracle database systems)</flag>
|
||||
<flag name="collectd_plugins_perl">Build the perl language binding plugin (embeds a Perl interpreter into collectd for writing plugins)</flag>
|
||||
<flag name="collectd_plugins_ping">Build the ping input plugin (measures network latency)</flag>
|
||||
<flag name="collectd_plugins_postgresql">Build the postgresql input plugin (executes SQL statements against a PostgreSQL database)</flag>
|
||||
<flag name="collectd_plugins_powerdns">Build the powerdns input plugin (collects statistics from the PowerDNS name server or recursor via control socket)</flag>
|
||||
<flag name="collectd_plugins_processes">Build the processes input plugin (collects the number of processes, grouped by their state or detailed statistics about selected processes)</flag>
|
||||
<flag name="collectd_plugins_protocols">Build the protocols input plugin (collects information about the network protocols supported by the system)</flag>
|
||||
<flag name="collectd_plugins_python">Build the python language binding plugin (embeds a Python interpreter into collectd for writing plugins)</flag>
|
||||
<flag name="collectd_plugins_redis">Build the Redis input plugin (collects usage information from Redis instances)</flag>
|
||||
<flag name="collectd_plugins_routeros">Build the routeros input plugin (collects information from devices running RouterOS)</flag>
|
||||
<flag name="collectd_plugins_rrdcached">Build the rrdcached input/output plugin (connects to rrdcached and submits updates for RRD files)</flag>
|
||||
<flag name="collectd_plugins_rrdtool">Build the rrdtool output plugin (writes values to RRD-files)</flag>
|
||||
<flag name="collectd_plugins_sensors">Build the sensors input plugin (reads hardware sensors from lm-sensors)</flag>
|
||||
<flag name="collectd_plugins_serial">Build the serial input plugin (collects the traffic on serial interfaces)</flag>
|
||||
<flag name="collectd_plugins_sigrok">Build the sigrok input plugin (reads measurements from any supported hardware from sigrok project)</flag>
|
||||
<flag name="collectd_plugins_smart">Build the S.M.A.R.T input plugin (collects S.M.A.R.T statistics from disk drives)</flag>
|
||||
<flag name="collectd_plugins_snmp">Build the snmp input plugin (reads values from network devices using SNMP)</flag>
|
||||
<flag name="collectd_plugins_statsd">Build the statsd input plugin (accepts statsd-type metrics from a UDP socket)</flag>
|
||||
<flag name="collectd_plugins_swap">Build the swap input plugin (collects amount of memory currently written to swap)</flag>
|
||||
<flag name="collectd_plugins_syslog">Build the syslog output plugin (receives messages from collectd and dispatches them to syslog)</flag>
|
||||
<flag name="collectd_plugins_table">Build the table input plugin (parses table-like structured plain text)</flag>
|
||||
<flag name="collectd_plugins_tail">Build the tail input plugin (follows logfiles, e.g. tail -f)</flag>
|
||||
<flag name="collectd_plugins_tail_csv">Build the tail_csv input plugin (follows and parses CSV files, e.g. tail -f *.csv)</flag>
|
||||
<flag name="collectd_plugins_target_notification">Build the target_notification filter plugin</flag>
|
||||
<flag name="collectd_plugins_target_replace">Build the target_replace filter plugin</flag>
|
||||
<flag name="collectd_plugins_target_scale">Build the target_scale filter plugin</flag>
|
||||
<flag name="collectd_plugins_target_set">Build the target_set filter plugin</flag>
|
||||
<flag name="collectd_plugins_tcpconns">Build the tcpconns input plugin (collects numbers of TCP connections to or from a specified port)</flag>
|
||||
<flag name="collectd_plugins_teamspeak2">Build the teamspeak2 input plugin (collects traffic statistics from a teamspeak2 instance)</flag>
|
||||
<flag name="collectd_plugins_ted">Build the ted input plugin (connects to The Energy Detective and reads the current power over connected power lines)</flag>
|
||||
<flag name="collectd_plugins_thermal">Build the thermal input plugin (reads ACPI thermal zone information)</flag>
|
||||
<flag name="collectd_plugins_threshold">Build the threshold plugin (checks values against configured thresholds and creates notifications if values are out of bounds)</flag>
|
||||
<flag name="collectd_plugins_tokyotyrant">Build the tokyotyrant input plugin (collects number of records and file size from a running Tokyo Tyrant server)</flag>
|
||||
<flag name="collectd_plugins_turbostat">Build the turbostat input plugin (reads CPU frequency and C-state residency on modern Intel turbo-capable processors)</flag>
|
||||
<flag name="collectd_plugins_unixsock">Build the unixsock input/output plugin (opens a UNIX domain socket and accepts connections)</flag>
|
||||
<flag name="collectd_plugins_uptime">Build the uptime input plugin (keeps track of the system uptime)</flag>
|
||||
<flag name="collectd_plugins_users">Build the users input plugin (counts the number of users currently logged into the system)</flag>
|
||||
<flag name="collectd_plugins_uuid">Build the uuid plugin (tries hard to determine the UUID of the system it is running on)</flag>
|
||||
<flag name="collectd_plugins_varnish">Build the varnish input plugin (collects information about Varnish)</flag>
|
||||
<flag name="collectd_plugins_virt">Build the (lib)virt input plugin (collects statistics about virtualized guests on a system)</flag>
|
||||
<flag name="collectd_plugins_vmem">Build the vmem input plugin (collects information about the virtual memory subsystem of the kernel)</flag>
|
||||
<flag name="collectd_plugins_vserver">Build the vserver input plugin (collects information about the virtual servers running on a system, using Linux-Vserver)</flag>
|
||||
<flag name="collectd_plugins_wireless">Build the wireless input plugin (collects signal quality, signal power and signal-to-noise ratio for wireless LAN cards)</flag>
|
||||
<flag name="collectd_plugins_write_graphite">Build the write_graphite output plugin (stores values in Carbon, the storage layer of Graphite)</flag>
|
||||
<flag name="collectd_plugins_write_http">Build the write_http output plugin (sends metrics to a web-server using HTTP POST requests)</flag>
|
||||
<flag name="collectd_plugins_write_kafka">Build the Kafka output plugin (sends metrics to Apache Kafka)</flag>
|
||||
<flag name="collectd_plugins_write_log">Build the write_log output plugin (writes metrics to a file)</flag>
|
||||
<flag name="collectd_plugins_write_redis">Build the Redis output plugin (stores values in Redis)</flag>
|
||||
<flag name="collectd_plugins_write_riemann">Build the Riemann output plugin (stores values in Riemann, a stream processing and monitoring system)</flag>
|
||||
<flag name="collectd_plugins_write_sensu">Build the Sensu output plugin (sends metrics to Sensu Core, an open-source monitoring project)</flag>
|
||||
<flag name="collectd_plugins_write_tsdb">Build the TSDB output plugin (writes metrics to OpenTSDB, an open-source distributed time-series database based on Apache HBase)</flag>
|
||||
<flag name="collectd_plugins_xencpu">Build the XEN CPU input plugin (collects XEN Hypervisor CPU stats using <pkg>app-emulation/xen-tools</pkg>)</flag>
|
||||
<flag name="collectd_plugins_zfs_arc">Build the ZFS ARC input plugin (reports information such as the cache size, the various hits and misses (also as a ratio) and the transferred data)</flag>
|
||||
<flag name="collectd_plugins_zookeeper">Build the zookeeper input plugin (reads data from Apache Zookeeper MNTR command)</flag>
|
||||
<flag name="contrib">Install user-contributed files in the doc directory</flag>
|
||||
<flag name="filecaps">When set collectd daemon will have set required capabilities to run most plugins even if run as unprivileged user</flag>
|
||||
<flag name="java">Must be set (workaround for java-pkg-opt-2 eclass limitation) when you want java or genericjmx plugin</flag>
|
||||
|
|
8
app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
Normal file
8
app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -92,4 +92,4 @@
|
||||
target_link_libraries( lsyncd ${LUA_LIBRARIES} )
|
||||
|
||||
install( TARGETS lsyncd RUNTIME DESTINATION bin )
|
||||
-install( FILES doc/lsyncd.1 DESTINATION man)
|
||||
+install( FILES doc/lsyncd.1 DESTINATION share/man/man1)
|
29
app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
Normal file
29
app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Live Syncing (Mirror) Daemon"
|
||||
HOMEPAGE="https://github.com/axkibe/lsyncd"
|
||||
SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||
|
||||
CDEPEND=">=dev-lang/lua-5.1[deprecated]"
|
||||
DEPEND="${CDEPEND}
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
net-misc/rsync"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-mandir.patch
|
||||
)
|
||||
|
||||
S=${WORKDIR}/${PN}-release-${PV}
|
|
@ -11,8 +11,7 @@ SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86
|
||||
~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ppc ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
src_prepare() {
|
||||
|
|
|
@ -29,6 +29,7 @@ RDEPEND="app-crypt/gnupg
|
|||
python? ( ${PYTHON_DEPS} )"
|
||||
#doc? ( app-doc/doxygen[dot] )
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-lang/swig )
|
||||
qt5? (
|
||||
test? ( dev-qt/qttest:5 )
|
||||
)"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST free42-1.5.10.tgz 22616956 SHA256 960d94cce3d67047d8968b4ee8b4d324bf1257002d67f971bd1f6e2552a870d1 SHA512 dfdcbdb051aa7cf7a60c27e44ae8dc5458dd418e08cd71e79eff443d09f8021efacc87e06531f312521e5b1f5af0aa72e77b0ce18b8d657499ad174b6a12578e WHIRLPOOL 8324418ab0047e05136937aa6741a4faa518f39eae203eec181958fdc6aa42f577c66716deb81b0dc6d833f79e4e49cfda37fc80e3917f0157583feac1b66985
|
||||
DIST free42-1.5.7.tgz 8159655 SHA256 63c868880e0c18374f4b309dc19e2ea36b9463471d2d77563f53036eea645316 SHA512 fb18712643f73388512fc4dc069d55ef3597f5e6a4e1b47bcd12ab05224027c4ec981ade2398fd8c1e4534003ee6c4de2b7402bade66a3dbe90a46299e7132a3 WHIRLPOOL 0504da8589d3dbf9270a914b2cb6ad86982b926f40abee43d6bbe3f8ec997efe8b0ae50b9d61952e5acd3f2a70d34e16cf0e665cec06d555b0c92438c7a32a43
|
||||
DIST free42-1.5.8.tgz 45400324 SHA256 f8ffa54a5f77b5061e1a983962e989fc6679f7e128d996a0550922e366855f2f SHA512 1abaeea314b55f456b65eef530fe692534d92dde95876982c6df1715853055632a4a2305774dc691ca0af28632a393d8d9872bd86353c09d57d2dc8a0ef6cfe2 WHIRLPOOL 9b0abef9d548f09e567e8debe15f9a0635038d6ef655a64885ebc02eb241a0f577ca40b4bdc39c881fe8b2c6f4d97e5575c715a05ccc06df37f90bc5d28d16e8
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -Nuar a/gtk/build-intel-lib.sh b/gtk/build-intel-lib.sh
|
||||
--- a/gtk/build-intel-lib.sh 2016-09-04 18:56:12.000000000 +0200
|
||||
+++ b/gtk/build-intel-lib.sh 2016-09-24 19:39:49.284126118 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
cd IntelRDFPMathLib20U1
|
||||
patch -p0 <../intel-lib-linux.patch
|
||||
cd LIBRARY
|
||||
-make CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
|
||||
+make A=a CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
|
||||
mv libbid.a ../../gcc111libbid.a
|
||||
cd ../..
|
||||
( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc
|
38
app-emulation/free42/files/free42-1.5.10-fix-makefile.patch
Normal file
38
app-emulation/free42/files/free42-1.5.10-fix-makefile.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
diff -Nuar a/gtk/Makefile b/gtk/Makefile
|
||||
--- a/gtk/Makefile 2016-09-04 18:56:12.000000000 +0200
|
||||
+++ b/gtk/Makefile 2016-09-24 16:13:34.824116365 +0200
|
||||
@@ -15,11 +15,10 @@
|
||||
# along with this program; if not, see http://www.gnu.org/licenses/.
|
||||
###############################################################################
|
||||
|
||||
-CFLAGS = -MMD \
|
||||
+CFLAGS := -MMD \
|
||||
-Wall \
|
||||
-Wno-parentheses \
|
||||
-Wno-write-strings \
|
||||
- -g \
|
||||
-I/usr/X11R6/include \
|
||||
$(shell pkg-config --cflags gtk+-2.0) \
|
||||
-DVERSION="\"$(shell cat ../VERSION)\"" \
|
||||
@@ -27,14 +26,16 @@
|
||||
-DDECIMAL_GLOBAL_ROUNDING=1 \
|
||||
-DDECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS=1 \
|
||||
-DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \
|
||||
- -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1
|
||||
+ -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 \
|
||||
+ ${CFLAGS}
|
||||
|
||||
-CXXFLAGS = $(CFLAGS) \
|
||||
+CXXFLAGS := $(CFLAGS) \
|
||||
-fno-exceptions \
|
||||
-fno-rtti \
|
||||
- -D_WCHAR_T_DEFINED
|
||||
+ -D_WCHAR_T_DEFINED \
|
||||
+ ${CXXFLAGS}
|
||||
|
||||
-LDFLAGS = -L/usr/X11R6/lib
|
||||
+LDFLAGS := -L/usr/X11R6/lib ${LDFLAGS}
|
||||
-LIBS = gcc111libbid.a -lXmu $(shell pkg-config --libs gtk+-2.0)
|
||||
+LIBS = gcc111libbid.a -lX11 -ldl -lXmu $(shell pkg-config --libs gtk+-2.0)
|
||||
|
||||
ifeq "$(shell uname -s)" "Linux"
|
47
app-emulation/free42/free42-1.5.10.ebuild
Normal file
47
app-emulation/free42/free42-1.5.10.ebuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="An HP-42S Calculator Simulator"
|
||||
HOMEPAGE="http://thomasokken.com/free42/"
|
||||
SRC_URI="mirror://gentoo/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa"
|
||||
|
||||
DEPEND="dev-libs/atk
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
alsa? ( media-libs/alsa-lib )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/print_gif_name\[FILENAMELEN\]/print_gif_name\[1000\]/' \
|
||||
"${S}/gtk/shell_main.cc" || die
|
||||
epatch "${FILESDIR}"/${P}-fix-makefile.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-build-intel-lib.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
use alsa && myconf="AUDIO_ALSA=yes"
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C "${S}/gtk"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CREDITS HISTORY README TODO
|
||||
dobin gtk/free42dec
|
||||
}
|
|
@ -1,685 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt glusterfs \
|
||||
gnutls gtk gtk2 infiniband iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
|
||||
+png pulseaudio python \
|
||||
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
|
||||
static-user systemtap tci test +threads usb usbredir +uuid vde +vhost-net \
|
||||
virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
|
||||
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
|
||||
x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
#
|
||||
# Older versions of gnutls are supported, but it's simpler to just require
|
||||
# the latest versions. This is also why we require nettle.
|
||||
#
|
||||
# TODO: Split out tools deps into another var. e.g. bzip2 is only used by
|
||||
# system binaries and tools, not user binaries.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
dev-libs/libpcre[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? ( app-accessibility/brltty[static-libs(+)] )
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.90 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gles2]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
X86_FIRMWARE_DEPEND="
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.8.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/seabios
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
)"
|
||||
CDEPEND="
|
||||
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
|
||||
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xen? ( app-emulation/xen-tools:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
|
||||
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'.\n
|
||||
For Intel CPUs the module is called 'kvm-intel'.\n
|
||||
Please review /etc/conf.d/modules for how to load these.\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
|
||||
For brand new installs, the default permissions on /dev/kvm might not let you
|
||||
access it. You can tell udev to reset ownership/perms:\n
|
||||
udevadm trigger -c add /dev/kvm"
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-6836.patch # bug 591242
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-7155.patch # bug 593034
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-7156.patch # bug 593036
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-7157-1.patch # bug 593038
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-7157-2.patch # bug 593038
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-7170.patch # bug 593284
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets as the default configure
|
||||
# options will autoprobe and try to link in a bunch of unused junk.
|
||||
conf_softmmu() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_softmmu accessibility brlapi)
|
||||
$(conf_softmmu aio linux-aio)
|
||||
$(conf_softmmu bzip2)
|
||||
$(conf_softmmu bluetooth bluez)
|
||||
$(conf_softmmu caps cap-ng)
|
||||
$(conf_softmmu curl)
|
||||
$(conf_softmmu fdt)
|
||||
$(conf_softmmu glusterfs)
|
||||
$(conf_softmmu gnutls)
|
||||
$(conf_softmmu gnutls nettle)
|
||||
$(conf_softmmu gtk)
|
||||
$(conf_softmmu infiniband rdma)
|
||||
$(conf_softmmu iscsi libiscsi)
|
||||
$(conf_softmmu jpeg vnc-jpeg)
|
||||
$(conf_softmmu kernel_linux kvm)
|
||||
$(conf_softmmu lzo)
|
||||
$(conf_softmmu ncurses curses)
|
||||
$(conf_softmmu nfs libnfs)
|
||||
$(conf_softmmu numa)
|
||||
$(conf_softmmu opengl)
|
||||
$(conf_softmmu png vnc-png)
|
||||
$(conf_softmmu rbd)
|
||||
$(conf_softmmu sasl vnc-sasl)
|
||||
$(conf_softmmu sdl)
|
||||
$(conf_softmmu seccomp)
|
||||
$(conf_softmmu smartcard)
|
||||
$(conf_softmmu snappy)
|
||||
$(conf_softmmu spice)
|
||||
$(conf_softmmu ssh libssh2)
|
||||
$(conf_softmmu usb libusb)
|
||||
$(conf_softmmu usbredir usb-redir)
|
||||
$(conf_softmmu uuid)
|
||||
$(conf_softmmu vde)
|
||||
$(conf_softmmu vhost-net)
|
||||
$(conf_softmmu virgl virglrenderer)
|
||||
$(conf_softmmu virtfs)
|
||||
$(conf_softmmu vnc)
|
||||
$(conf_softmmu vte)
|
||||
$(conf_softmmu xen)
|
||||
$(conf_softmmu xen xen-pci-passthrough)
|
||||
$(conf_softmmu xfs xfsctl)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
$(use_enable bzip2)
|
||||
)
|
||||
static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
fi
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
|
@ -1,678 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt glusterfs \
|
||||
gnutls gtk gtk2 infiniband iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
|
||||
+png pulseaudio python \
|
||||
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
|
||||
static-user systemtap tci test +threads usb usbredir +uuid vde +vhost-net \
|
||||
virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
|
||||
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
|
||||
x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
#
|
||||
# Older versions of gnutls are supported, but it's simpler to just require
|
||||
# the latest versions. This is also why we require nettle.
|
||||
#
|
||||
# TODO: Split out tools deps into another var. e.g. bzip2 is only used by
|
||||
# system binaries and tools, not user binaries.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? ( app-accessibility/brltty[static-libs(+)] )
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.90 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gles2]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
X86_FIRMWARE_DEPEND="
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.8.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/seabios
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
)"
|
||||
CDEPEND="
|
||||
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
|
||||
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xen? ( app-emulation/xen-tools:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
|
||||
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'.\n
|
||||
For Intel CPUs the module is called 'kvm-intel'.\n
|
||||
Please review /etc/conf.d/modules for how to load these.\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
|
||||
For brand new installs, the default permissions on /dev/kvm might not let you
|
||||
access it. You can tell udev to reset ownership/perms:\n
|
||||
udevadm trigger -c add /dev/kvm"
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-6836.patch
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets as the default configure
|
||||
# options will autoprobe and try to link in a bunch of unused junk.
|
||||
conf_softmmu() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_softmmu accessibility brlapi)
|
||||
$(conf_softmmu aio linux-aio)
|
||||
$(conf_softmmu bzip2)
|
||||
$(conf_softmmu bluetooth bluez)
|
||||
$(conf_softmmu caps cap-ng)
|
||||
$(conf_softmmu curl)
|
||||
$(conf_softmmu fdt)
|
||||
$(conf_softmmu glusterfs)
|
||||
$(conf_softmmu gnutls)
|
||||
$(conf_softmmu gnutls nettle)
|
||||
$(conf_softmmu gtk)
|
||||
$(conf_softmmu infiniband rdma)
|
||||
$(conf_softmmu iscsi libiscsi)
|
||||
$(conf_softmmu jpeg vnc-jpeg)
|
||||
$(conf_softmmu kernel_linux kvm)
|
||||
$(conf_softmmu lzo)
|
||||
$(conf_softmmu ncurses curses)
|
||||
$(conf_softmmu nfs libnfs)
|
||||
$(conf_softmmu numa)
|
||||
$(conf_softmmu opengl)
|
||||
$(conf_softmmu png vnc-png)
|
||||
$(conf_softmmu rbd)
|
||||
$(conf_softmmu sasl vnc-sasl)
|
||||
$(conf_softmmu sdl)
|
||||
$(conf_softmmu seccomp)
|
||||
$(conf_softmmu smartcard)
|
||||
$(conf_softmmu snappy)
|
||||
$(conf_softmmu spice)
|
||||
$(conf_softmmu ssh libssh2)
|
||||
$(conf_softmmu usb libusb)
|
||||
$(conf_softmmu usbredir usb-redir)
|
||||
$(conf_softmmu uuid)
|
||||
$(conf_softmmu vde)
|
||||
$(conf_softmmu vhost-net)
|
||||
$(conf_softmmu virgl virglrenderer)
|
||||
$(conf_softmmu virtfs)
|
||||
$(conf_softmmu vnc)
|
||||
$(conf_softmmu vte)
|
||||
$(conf_softmmu xen)
|
||||
$(conf_softmmu xen xen-pci-passthrough)
|
||||
$(conf_softmmu xfs xfsctl)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
$(use_enable bzip2)
|
||||
)
|
||||
static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
fi
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
|
||||
DIST laptop-mode-tools_1.69.2.tar.gz 115082 SHA256 2db1225cc8b6fb214f221362b9fabfffb1cbd25556d00bef3d3a6db9f3b19a59 SHA512 cc1e2ef7c2dd963f542b2e745fc8f3f046199d848a3c2bc44509fb2f08dc5dfa05ce1f9d70b5c678e6c088ed55ce7875eadf4ac806f006806c5bb1b229f980e5 WHIRLPOOL a563fee8497c390060c8820b5b5efa9c58c2222175fb9075f55344888627b2f054ed8aee3e1ecf415f84f19ab4c9f6c21bf20ea4880b8827949f9c05baccf945
|
||||
DIST laptop-mode-tools_1.70.tar.gz 116624 SHA256 12cde7dbec8c35201efab96187be75ec84e0a2424494852413f21be1b7bc6a11 SHA512 755e2d94b63bb2a6e5362365f11181374c5fe159b508076f5def91c4df93983fa3e2553bbd94ae0b5bb4690aa7fb0881eafe3f4dcc7c8e77a8b72de23f6a21c5 WHIRLPOOL a70b0e3353877ffedd87ed3f72f1239addd34e8fecfd0e54b98c328a1f4a48a87a2f278fa4afa227452eb5f874bd58912a1ddf8ae2f385636c6bb3a552ce7b3a
|
||||
|
|
95
app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
Normal file
95
app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
Normal file
|
@ -0,0 +1,95 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib systemd udev
|
||||
|
||||
MY_P="${PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
|
||||
HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
|
||||
SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+acpi apm bluetooth scsi"
|
||||
|
||||
RDEPEND="net-wireless/wireless-tools
|
||||
sys-apps/iproute2
|
||||
sys-apps/ethtool
|
||||
sys-apps/hdparm
|
||||
sys-apps/which
|
||||
acpi? ( sys-power/acpid )
|
||||
apm? ( sys-apps/apmd )
|
||||
bluetooth? ( net-wireless/bluez:= )
|
||||
scsi? ( sys-apps/sdparm )"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# This should avoid conflict with pm-powersave wrt #327443 and #396703
|
||||
cat <<-EOF > "${T}"/${PN}
|
||||
HOOK_BLACKLIST="00powersave"
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
INIT_D="none" \
|
||||
MAN_D="/usr/share/man" \
|
||||
LIB_D="/usr/$(get_libdir)" \
|
||||
UDEV_D="$(get_udevdir)" \
|
||||
SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
|
||||
TMPFILES_D="/usr/lib/tmpfiles.d" \
|
||||
ACPI="$(use acpi && echo force || echo disabled)" \
|
||||
PMU="$(false && echo force || echo disabled)" \
|
||||
APM="$(use apm && echo force || echo disabled)" \
|
||||
SYSTEMD=yes \
|
||||
sh ./install.sh || die
|
||||
|
||||
dodoc Documentation/*.txt README.md
|
||||
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
|
||||
|
||||
# See src_prepare()
|
||||
insinto /etc/pm/config.d
|
||||
doins "${T}"/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use acpi || use apm; then
|
||||
if use acpi; then
|
||||
daemon_name="acpid"
|
||||
elif use apm; then
|
||||
deamon_name="apmd"
|
||||
fi
|
||||
if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
|
||||
ewarn "To enable automatic power state event handling,"
|
||||
ewarn "e.g. enabling laptop_mode after unplugging the battery,"
|
||||
ewarn "both laptop_mode and the ${daemon_name} daemon must be"
|
||||
ewarn "added to default runlevel:"
|
||||
if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
|
||||
ewarn "# rc-update add laptop_mode default"
|
||||
fi
|
||||
if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
|
||||
ewarn "# rc-update add ${daemon_name} default"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
|
||||
ewarn "automatically disable laptop_mode on low battery."
|
||||
ewarn
|
||||
ewarn "This means you can lose up to 10 minutes of work if running"
|
||||
ewarn "out of battery while laptop_mode is enabled."
|
||||
ewarn
|
||||
ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
|
||||
ewarn "information."
|
||||
ewarn
|
||||
fi
|
||||
}
|
107
app-office/calligra-l10n/calligra-l10n-2.9.11-r1.ebuild
Normal file
107
app-office/calligra-l10n/calligra-l10n-2.9.11-r1.ebuild
Normal file
|
@ -0,0 +1,107 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Calligra localization package"
|
||||
HOMEPAGE="https://www.kde.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="sys-devel/gettext"
|
||||
RDEPEND="!app-office/koffice-l10n"
|
||||
|
||||
CAL_FTS="braindump flow karbon kexi krita plan sheets stage words"
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
IUSE+=" calligra_features_${cal_ft}"
|
||||
done
|
||||
unset cal_ft
|
||||
|
||||
MY_LANGS="bs ca ca@valencia cs da de el en_GB es et fi fr gl hu it ja kk nb nl
|
||||
pl pt pt_BR ru sk sv tr uk zh_CN zh_TW"
|
||||
|
||||
case ${PV} in
|
||||
2.[456789].[789]?)
|
||||
# beta or rc releases
|
||||
URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}" ;;
|
||||
2.[456789].?|2.[456789].??)
|
||||
# stable releases
|
||||
URI_BASE="mirror://kde/stable/${PN/-l10n/}-${PV}/${PN}" ;;
|
||||
*)
|
||||
SRC_URI="" ;;
|
||||
esac
|
||||
|
||||
SRC_URI=""
|
||||
|
||||
for MY_LANG in ${MY_LANGS} ; do
|
||||
IUSE="${IUSE} l10n_${MY_LANG/[@_]/-}"
|
||||
SRC_URI="${SRC_URI} l10n_${MY_LANG/[@_]/-}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )"
|
||||
done
|
||||
unset MY_LANG
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ -z ${A} ]]; then
|
||||
elog
|
||||
elog "None of the requested L10N are supported by ${P}."
|
||||
elog
|
||||
elog "${P} supports these language codes:"
|
||||
elog "${MY_LANGS//[@_]/-}"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
[[ -n ${A} ]] && unpack ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat <<-EOF > CMakeLists.txt || die
|
||||
project(${PN})
|
||||
$(printf "add_subdirectory( %s )\n" \
|
||||
`find . -mindepth 1 -maxdepth 1 -type d | sed -e "s:^\./::"`)
|
||||
EOF
|
||||
|
||||
local cal_ft
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
if ! use calligra_features_${cal_ft} ; then
|
||||
if ls -U ./*/messages/calligra/${cal_ft}*po > /dev/null 2>&1; then
|
||||
rm ./*/messages/calligra/${cal_ft}*po || \
|
||||
die "Failed to remove ${cal_ft} messages"
|
||||
fi
|
||||
if ls -U ./*/docs/calligra/${cal_ft} > /dev/null 2>&1; then
|
||||
sed -e "\:add_subdirectory(\s*${cal_ft}\s*): s:^:#:" \
|
||||
-i ./*/docs/calligra/CMakeLists.txt || \
|
||||
die "Failed to comment out ${cal_ft} docs"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
kde4-base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DATA=ON
|
||||
-DBUILD_DOC=$(usex doc)
|
||||
-DBUILD_MESSAGES=ON
|
||||
)
|
||||
[[ -n ${A} ]] && kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ -n ${A} ]] && kde4-base_src_compile
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
[[ -n ${A} ]] && kde4-base_src_install
|
||||
}
|
19
app-vim/curcmdmode/curcmdmode-1.0-r1.ebuild
Normal file
19
app-vim/curcmdmode/curcmdmode-1.0-r1.ebuild
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: library for extending vim's mode() function"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=745"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-vim/genutils"
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides library functions and is not intended to be used
|
||||
directly by the user."
|
|
@ -9,17 +9,17 @@ inherit vim-plugin
|
|||
MY_PN=vim-${PN}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="fugitive extension to manage and merge git branches"
|
||||
DESCRIPTION="vim script: fugitive extension to manage and merge git branches"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4955 https://github.com/idanarye/vim-merginal/"
|
||||
SRC_URI="https://github.com/idanarye/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="app-vim/fugitive"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
rm README.md || die
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
EAPI=6
|
||||
|
||||
VIM_PLUGIN_VIM_VERSION="7.2"
|
||||
|
||||
inherit vim-plugin
|
||||
|
@ -16,8 +17,8 @@ IUSE=""
|
|||
|
||||
VIM_PLUGIN_HELPFILES="txtfmt.txt"
|
||||
|
||||
S=${WORKDIR}
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
rm indent_patch.txt
|
||||
rm indent_patch.txt || die
|
||||
}
|
|
@ -15,7 +15,7 @@ inherit mysql-multilib-r1
|
|||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST tiled-0.16.2.tar.gz 4503339 SHA256 801f607ae1eb306cbffd5d3e42ac1131dca0c0be9511118e126c8cc842474351 SHA512 a8cd9aee4111586de16935e00824b4adcea69a8e610578fa1f0cf417d2320f5e60aa97796221c9962bfbb7a0198bcfc79c47cde6f43531165d93ab6c0263060f WHIRLPOOL b1960db6c7d70ff8be7a4fa0e03df3bfe779eecbc25562e4e6d5c61c7a4963d01f42b6f716f70d23b2cd14bf16a1a5a9fee42c806f49a08cecaf88dec61eeb83
|
||||
DIST tiled-0.17.0.tar.gz 4852620 SHA256 f7fce2006a04c9e6e5d45a15fb31d342a4a66f7a01e1e6bc0753035cfbf42f31 SHA512 bf9b0cdd08c9091238a5e37f0670f2f3c389a46892c682a81f817e5daae0e6e3b13edf5d61a4105d9064e44585a4d6c7f7956b4c69b14488ee04af1834bf066c WHIRLPOOL 9e8b21098016cb20be66071e115f678bd10531a63b99c949e8a0e04ba6302834c414cc1ddf294f36b13bf1e43c22b9403a2aa13dc52ddbe84c24eb95d9b88ddb
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="http://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.6:5
|
||||
>=dev-qt/qtgui-5.6:5
|
||||
>=dev-qt/qtnetwork-5.6:5
|
||||
>=dev-qt/qtopengl-5.6:5
|
||||
>=dev-qt/qtwidgets-5.6:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
DIST julia-0.4.3-bundled.tar.gz 2678787 SHA256 9451160add4c1fa537762627abcd3dd5fecca9ce44f71c4140d89a4bb6b23392 SHA512 919ca7b99a6eb17a651ce24fe07e5c12bfcee54ce86fac8f744765195002e8f3330df9059fadd5af3408c1f7e067e247ad4bb135879ae4ae43e1457245f90db9 WHIRLPOOL 94bb022d4f1586dfdc2f52286db423cb09898a3a5dff2f2086ca111b9117dca808758351dada23cea1056a8e5c3b33f6919410c34af96a92a4a9f8b0e0758783
|
||||
DIST julia-0.4.3.tar.gz 5563437 SHA256 b2c12b267c0d8eb380f6628e7be48c7ec46d2cfb5c585ecb3ca4cc442650e4e0 SHA512 7d5180c69573452c00563c7b98514fc9e4f0f70762912cf4f90cbf632e4b23ec149295ff1955164833ab94efd1feab992067996e3d60f795850542cf2f18f67f WHIRLPOOL 75c3ebf8cb1af67158896872e098bf66a8073eba3daf6cf5903471d34201e1605458e59f14c19ff5177413daee5aac102ec69a0afe9a93a219698a4640acaf33
|
||||
DIST julia-0.4.6-bundled.tar.gz 2678787 SHA256 9451160add4c1fa537762627abcd3dd5fecca9ce44f71c4140d89a4bb6b23392 SHA512 919ca7b99a6eb17a651ce24fe07e5c12bfcee54ce86fac8f744765195002e8f3330df9059fadd5af3408c1f7e067e247ad4bb135879ae4ae43e1457245f90db9 WHIRLPOOL 94bb022d4f1586dfdc2f52286db423cb09898a3a5dff2f2086ca111b9117dca808758351dada23cea1056a8e5c3b33f6919410c34af96a92a4a9f8b0e0758783
|
||||
DIST julia-0.4.6.tar.gz 5548248 SHA256 e5d12b5a8ddff0131e460612ecf222ddf16014fc64c4fc3d8b021da7ebbd9a9f SHA512 744fbae14f7b38d5f7ef1c39d05c66f42833ee0e07b3f4be2ae377f2c997872777c6f7e9e667f52e5a33879032b2d02d76b00fab59f81ba6552f1fd4165953da WHIRLPOOL 3403364fc13bd8012da1ee333cc51fd0a957e94920bbd3f951fad4a689469f514e19a661bf2bdfdd29afbcadac1c9d6948638fd9d4201780a1aa7c0fd2995dee
|
||||
DIST julia-0.5.0-bundled.tar.gz 3461547 SHA256 3f4887fc2c0112666eb28b99f86bd8f7bd50615325e03135c546127885d46fbf SHA512 f8df589edf7d6b0e1e6553583c81d26fd256a79cacd79fbdd0ea1a9eea46b2466e3cbf055b5b7aa2d5c08318a5c35b9c09a30ac46a48689cc5c7245954b615c8 WHIRLPOOL b0137b2ed55aef7dc2c1a8693043ce63305bd2bbb5c2f959b2752fdb68189a506b027b467bfc0bb443fa4202f3735dd9410a257adec08302dfcaa0c9e4bfed98
|
||||
DIST julia-0.5.0.tar.gz 6326490 SHA256 bb62a14806e58f079ecd4941d4a18d1f1c1d89ab33c826d3a58a2244e364112e SHA512 6d76c5050da5050cd541c8407c35c8ecd60ad2ba61c4defcc5c084aaeb09e82ffed09be79a3453000bdf88efe56039948335bab21c8389389ffb8b29806568de WHIRLPOOL 7f0066cc7fa912fe7ce5b6bf43449d828b0b9dcf2ab57df6c13a0df17ee53351c6deb30e7b998dc00ff53c548074d79ed6288bc79507afebc4fd827b3e3c032f
|
||||
|
|
|
@ -1,140 +0,0 @@
|
|||
diff --git a/Make.inc b/Make.inc
|
||||
index da01e38..c751607 100644
|
||||
--- a/Make.inc
|
||||
+++ b/Make.inc
|
||||
@@ -297,7 +297,7 @@ JCFLAGS = -std=gnu99 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
|
||||
JCPPFLAGS =
|
||||
JCXXFLAGS = -pipe $(fPIC) -fno-rtti
|
||||
DEBUGFLAGS = -O0 -ggdb3 -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS = -O3 -ggdb3 -falign-functions
|
||||
+SHIPFLAGS = GENTOOCFLAGS
|
||||
endif
|
||||
|
||||
ifeq ($(USECLANG),1)
|
||||
@@ -307,7 +307,7 @@ JCFLAGS = -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
|
||||
JCPPFLAGS =
|
||||
JCXXFLAGS = -pipe $(fPIC) -fno-rtti
|
||||
DEBUGFLAGS = -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS = -O3 -g
|
||||
+SHIPFLAGS = GENTOOCFLAGS
|
||||
ifeq ($(OS), Darwin)
|
||||
ifeq ($(USE_LIBCPP), 1)
|
||||
CC += -stdlib=libc++ -mmacosx-version-min=10.7
|
||||
@@ -334,7 +334,7 @@ JCFLAGS = -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -
|
||||
JCPPFLAGS =
|
||||
JCXXFLAGS = -pipe $(fPIC) -fno-rtti
|
||||
DEBUGFLAGS = -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS = -O3 -g -falign-functions
|
||||
+SHIPFLAGS = GENTOOCFLAGS
|
||||
endif
|
||||
|
||||
ifeq ($(USECCACHE), 1)
|
||||
diff --git a/deps/Makefile b/deps/Makefile
|
||||
index 051b23d..881ba68 100644
|
||||
--- a/deps/Makefile
|
||||
+++ b/deps/Makefile
|
||||
@@ -862,7 +862,7 @@ OPENSPECFUN_TAR_URL = https://api.github.com/repos/JuliaLang/openspecfun/tarball
|
||||
$(eval $(call git-external,openspecfun,OPENSPECFUN,Makefile,libopenspecfun.$(SHLIB_EXT)))
|
||||
|
||||
# issue 8799
|
||||
-OPENSPECFUN_CFLAGS = -O3 -std=c99
|
||||
+OPENSPECFUN_CFLAGS = GENTOOCFLAGS -std=c99
|
||||
ifeq ($(USEICC),1)
|
||||
OPENSPECFUN_CFLAGS += -fp-model precise
|
||||
endif
|
||||
@@ -902,7 +902,7 @@ DSFMT_OBJ_SOURCE = dsfmt-$(DSFMT_VER)/libdSFMT.$(SHLIB_EXT)
|
||||
|
||||
DSFMT_CFLAGS = $(CFLAGS) -DNDEBUG -DDSFMT_MEXP=19937 $(fPIC) -DDSFMT_DO_NOT_USE_OLD_NAMES
|
||||
ifneq ($(USEMSVC), 1)
|
||||
-DSFMT_CFLAGS += -O3 -finline-functions -fomit-frame-pointer -fno-strict-aliasing \
|
||||
+DSFMT_CFLAGS += GENTOOCFLAGS -finline-functions -fno-strict-aliasing \
|
||||
--param max-inline-insns-single=1800 -Wmissing-prototypes -Wall -std=c99 -shared
|
||||
else
|
||||
DSFMT_CFLAGS += -Wl,-dll,-def:../libdSFMT.def
|
||||
@@ -1181,7 +1181,7 @@ endif
|
||||
endif
|
||||
|
||||
libgfortblas.$(SHLIB_EXT): gfortblas.c gfortblas.alias
|
||||
- $(CC) -Wall -O3 $(CPPFLAGS) $(CFLAGS) $(fPIC) -shared $< -o $@ -pipe \
|
||||
+ $(CC) -Wall GENTOOCFLAGS $(CPPFLAGS) $(CFLAGS) $(fPIC) -shared $< -o $@ -pipe \
|
||||
-Wl,-reexport_framework,Accelerate -Wl,-alias_list,gfortblas.alias
|
||||
$(build_shlibdir)/libgfortblas.$(SHLIB_EXT): libgfortblas.$(SHLIB_EXT)
|
||||
cp -f $< $@
|
||||
@@ -1607,10 +1607,10 @@ install-suitesparse: $(SUITESPARSE_OBJ_TARGET) install-suitesparse-wrapper
|
||||
# SUITESPARSE WRAPPER
|
||||
|
||||
ifeq ($(USE_SYSTEM_SUITESPARSE), 1)
|
||||
-SUITESPARSE_INC = -I /usr/include/suitesparse
|
||||
+
|
||||
SUITESPARSE_LIB = -lumfpack -lcholmod -lamd -lcamd -lcolamd -lspqr
|
||||
else
|
||||
-SUITESPARSE_INC = -I SuiteSparse-$(SUITESPARSE_VER)/CHOLMOD/Include -I SuiteSparse-$(SUITESPARSE_VER)/SuiteSparse_config -I SuiteSparse-$(SUITESPARSE_VER)/SPQR/Include
|
||||
+
|
||||
SUITESPARSE_LIB = -L$(build_shlibdir) -lcholmod -lumfpack -lspqr $(RPATH_ORIGIN)
|
||||
$(build_shlibdir)/libsuitesparse_wrapper.$(SHLIB_EXT): $(SUITESPARSE_OBJ_TARGET)
|
||||
endif
|
||||
diff --git a/deps/checksums/Rmath-julia-0.1.tar.gz/sha512 b/deps/checksums/Rmath-julia-0.1.tar.gz/sha512
|
||||
index 6a64d44..6bbeb34 100644
|
||||
--- a/deps/checksums/Rmath-julia-0.1.tar.gz/sha512
|
||||
+++ b/deps/checksums/Rmath-julia-0.1.tar.gz/sha512
|
||||
@@ -1 +1 @@
|
||||
-1dd94eca05bc06c3f33e8be5087d3b1742d01c8b38588e0fa79b8f6b9998760bca21bee1b65873825c4dde2d994a8271166bc21f670a34810fa9db598473a887
|
||||
+15da0b3ff16113d5ad44c7ec42a1c8e260973883dd85ee174b3526f01137a94136cb03d4bbecb9267b7ca20d5ffc10670496d589cf60b86930f869a9fe219794
|
||||
diff --git a/doc/Makefile b/doc/Makefile
|
||||
index 08ba8dd..078d725 100644
|
||||
--- a/doc/Makefile
|
||||
+++ b/doc/Makefile
|
||||
@@ -56,7 +56,7 @@ help:
|
||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||
|
||||
clean:
|
||||
- -rm -rf _build/*
|
||||
+ @echo "Do not clean doc/_build/html. Just use it..."
|
||||
|
||||
cleanall: clean
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 98fa704..b566791 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -26,15 +26,8 @@ endif
|
||||
|
||||
# In LLVM < 3.4, --ldflags includes both options and libraries, so use it both before and after --libs
|
||||
# In LLVM >= 3.4, --ldflags has only options, and --system-libs has the libraries.
|
||||
-LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --libs) $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --system-libs 2> /dev/null)
|
||||
-ifeq ($(USE_LLVM_SHLIB),1)
|
||||
-ifeq ($(LLVM_USE_CMAKE),1)
|
||||
-LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) -lLLVM
|
||||
-else
|
||||
-LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) -lLLVM-$(call exec,$(LLVM_CONFIG) --version)
|
||||
-endif
|
||||
+LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --libs) $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --system-libs)
|
||||
FLAGS += -DLLVM_SHLIB
|
||||
-endif
|
||||
|
||||
COMMON_LIBS = -L$(build_shlibdir) -L$(build_libdir) $(LIBUV) $(LIBUTF8PROC) $(NO_WHOLE_ARCHIVE) $(LLVMLINK) $(OSLIBS)
|
||||
DEBUG_LIBS = $(WHOLE_ARCHIVE) $(BUILDDIR)/flisp/libflisp-debug.a $(WHOLE_ARCHIVE) $(BUILDDIR)/support/libsupport-debug.a $(COMMON_LIBS)
|
||||
diff --git a/ui/Makefile b/ui/Makefile
|
||||
index c9b5d0e..557a38c 100644
|
||||
--- a/ui/Makefile
|
||||
+++ b/ui/Makefile
|
||||
@@ -20,15 +20,10 @@ OBJS = $(SRCS:%=%.o)
|
||||
DOBJS = $(SRCS:%=%.dbg.obj)
|
||||
DEBUGFLAGS += $(FLAGS)
|
||||
SHIPFLAGS += $(FLAGS)
|
||||
-ifeq ($(USE_LLVM_SHLIB),1)
|
||||
-ifeq ($(LLVM_USE_CMAKE),1)
|
||||
-LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) -lLLVM
|
||||
-else
|
||||
-LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) -lLLVM-$(call exec,$(LLVM_CONFIG) --version)
|
||||
-endif
|
||||
-else
|
||||
-LLVMLINK =
|
||||
-endif
|
||||
+
|
||||
+LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --libs) $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --system-libs)
|
||||
+FLAGS += -DLLVM_SHLIB
|
||||
+
|
||||
JLDFLAGS += $(LDFLAGS) $(NO_WHOLE_ARCHIVE) $(OSLIBS) $(LLVMLINK) $(RPATH)
|
||||
|
||||
ifeq ($(USE_SYSTEM_LIBM),0)
|
|
@ -1,56 +0,0 @@
|
|||
Description: LLVM 3.8 compatibility
|
||||
These fixes come straight from upstream's git.
|
||||
Origin: Upstream, https://github.com/JuliaLang/julia/commit/b67609b988febe062e6709d8972c4f869c82cfc0
|
||||
Origin: Upstream, https://github.com/JuliaLang/julia/commit/3f6abadc9d12bb9d59ec775db4277b3841395d0b
|
||||
Origin: Upstream, https://github.com/JuliaLang/julia/commit/caf3c74426696d43101d9607b1a2cd3a5e05bc0f
|
||||
Author: Graham Inggs <ginggs@debian.org>
|
||||
Last-Update: 2016-02-03
|
||||
--- a/src/cgutils.cpp
|
||||
+++ b/src/cgutils.cpp
|
||||
@@ -219,7 +219,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#ifdef LLVM38
|
||||
+ virtual Value *materializeDeclFor(Value *V)
|
||||
+#else
|
||||
virtual Value *materializeValueFor (Value *V)
|
||||
+#endif
|
||||
{
|
||||
Function *F = dyn_cast<Function>(V);
|
||||
if (F) {
|
||||
@@ -492,7 +496,11 @@
|
||||
|
||||
// now copy the module, since PM.run may modify it
|
||||
ValueToValueMapTy VMap;
|
||||
+#ifdef LLVM38
|
||||
+ Module *clone = CloneModule(shadow_module, VMap).release();
|
||||
+#else
|
||||
Module *clone = CloneModule(shadow_module, VMap);
|
||||
+#endif
|
||||
#ifdef LLVM37
|
||||
// Reset the target triple to make sure it matches the new target machine
|
||||
clone->setTargetTriple(TM->getTargetTriple().str());
|
||||
--- a/src/intrinsics.cpp
|
||||
+++ b/src/intrinsics.cpp
|
||||
@@ -780,12 +780,20 @@
|
||||
jl_options.fast_math == JL_OPTIONS_FAST_MATH_ON)) {
|
||||
FastMathFlags fmf;
|
||||
fmf.setUnsafeAlgebra();
|
||||
+#ifdef LLVM38
|
||||
+ builder.setFastMathFlags(fmf);
|
||||
+#else
|
||||
builder.SetFastMathFlags(fmf);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
IRBuilder<>& operator()() const { return builder; }
|
||||
~math_builder() {
|
||||
+#ifdef LLVM38
|
||||
+ builder.setFastMathFlags(old_fmf);
|
||||
+#else
|
||||
builder.SetFastMathFlags(old_fmf);
|
||||
+#endif
|
||||
}
|
||||
};
|
||||
|
70
dev-lang/julia/files/julia-9999-fix_build_system.patch
Normal file
70
dev-lang/julia/files/julia-9999-fix_build_system.patch
Normal file
|
@ -0,0 +1,70 @@
|
|||
diff --git a/Make.inc b/Make.inc
|
||||
index 651c9df..ff01872 100644
|
||||
--- a/Make.inc
|
||||
+++ b/Make.inc
|
||||
@@ -389,7 +389,7 @@ ifneq ($(OS), WINNT)
|
||||
JCXXFLAGS += -pedantic
|
||||
endif
|
||||
DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS := -O3 -ggdb2 -falign-functions
|
||||
+SHIPFLAGS := GENTOOCFLAGS
|
||||
endif
|
||||
|
||||
ifeq ($(USECLANG),1)
|
||||
@@ -400,7 +400,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
|
||||
JCPPFLAGS := -fasynchronous-unwind-tables
|
||||
JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic
|
||||
DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS := -O3 -g
|
||||
+SHIPFLAGS := GENTOOCFLAGS
|
||||
ifeq ($(OS), Darwin)
|
||||
ifeq ($(USE_LIBCPP), 1)
|
||||
CC += -stdlib=libc++ -mmacosx-version-min=10.7
|
||||
@@ -427,7 +427,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
|
||||
JCPPFLAGS :=
|
||||
JCXXFLAGS := -pipe $(fPIC) -fno-rtti
|
||||
DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
|
||||
-SHIPFLAGS := -O3 -g -falign-functions
|
||||
+SHIPFLAGS := GENTOOCFLAGS
|
||||
endif
|
||||
|
||||
ifeq ($(USECCACHE), 1)
|
||||
diff --git a/doc/Makefile b/doc/Makefile
|
||||
index 0749d73..f4d49ec 100644
|
||||
--- a/doc/Makefile
|
||||
+++ b/doc/Makefile
|
||||
@@ -62,7 +62,7 @@ help:
|
||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||
|
||||
clean:
|
||||
- -rm -rf _build/*
|
||||
+ @echo "Do not clean doc/_build/html. Just use it..."
|
||||
|
||||
cleanall: clean
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index d7ec864..61d2470 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -66,20 +66,8 @@ HEADERS := $(addprefix $(SRCDIR)/,julia.h julia_threads.h julia_internal.h optio
|
||||
|
||||
# In LLVM < 3.4, --ldflags includes both options and libraries, so use it both before and after --libs
|
||||
# In LLVM >= 3.4, --ldflags has only options, and --system-libs has the libraries.
|
||||
-ifneq ($(USE_LLVM_SHLIB),1)
|
||||
-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) $(shell $(LLVM_CONFIG_HOST) --libs $(LLVM_LIBS)) $(shell $(LLVM_CONFIG_HOST) --ldflags) $(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
|
||||
-else
|
||||
-ifeq ($(LLVM_USE_CMAKE),1)
|
||||
-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) -lLLVM
|
||||
-else
|
||||
-ifeq ($(OS),WINNT)
|
||||
-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) -lLLVM-$(LLVM_VER_SHORT)
|
||||
-else
|
||||
-LLVMLINK += $(shell $(LLVM_CONFIG_HOST) --ldflags) -lLLVM-$(shell $(LLVM_CONFIG_HOST) --version)
|
||||
-endif # OS == WINNT
|
||||
-endif # LLVM_USE_CMAKE == 1
|
||||
+LLVMLINK = $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --libs) $(call exec,$(LLVM_CONFIG) --ldflags) $(call exec,$(LLVM_CONFIG) --system-libs)
|
||||
FLAGS += -DLLVM_SHLIB
|
||||
-endif # USE_LLVM_SHLIB == 1
|
||||
|
||||
COMMON_LIBS := -L$(build_shlibdir) -L$(build_libdir) $(LIBUV) $(LIBUTF8PROC) $(NO_WHOLE_ARCHIVE) $(LLVMLINK) $(OSLIBS)
|
||||
DEBUG_LIBS := $(WHOLE_ARCHIVE) $(BUILDDIR)/flisp/libflisp-debug.a $(WHOLE_ARCHIVE) $(BUILDDIR)/support/libsupport-debug.a $(COMMON_LIBS)
|
|
@ -1,186 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit elisp-common eutils multilib pax-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="http://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${PV}/${P}.tar.gz
|
||||
https://dev.gentoo.org/~tamiko/distfiles/${P}-bundled.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/R:0=
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libgit2:0=
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/fftw:3.0=[threads]
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
>=sys-devel/llvm-3.5:0=
|
||||
>=sys-libs/libunwind-1.1:7=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
emacs? ( app-emacs/ess )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.4.3-fix_build_system.patch
|
||||
"${FILESDIR}"/${P}-llvm-3.8.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv "${WORKDIR}"/bundled/dsfmt-2.2.3.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/libuv-efb40768b7c7bd9f173a7868f74b92b1c5a61a0e.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/pcre2-10.20.tar.bz2 deps/ || die
|
||||
mv "${WORKDIR}"/bundled/Rmath-julia-0.1.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/utf8proc-85789180158ac7fff85b9f008828d6ac44f072ea.tar.gz deps/ || die
|
||||
rmdir "${WORKDIR}"/bundled || die
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
# - fix BLAS and LAPACK link interface
|
||||
|
||||
sed -i \
|
||||
-e 's|$(JLDOWNLOAD)|${EPREFIX}/bin/true|' \
|
||||
-e 's|git submodule|${EPREFIX}/bin/true|g' \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|/usr/include|${EPREFIX%/}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
local libblas="$($(tc-getPKG_CONFIG) --libs-only-l blas)"
|
||||
libblas="${libblas%% *}"
|
||||
libblas="lib${libblas#-l}"
|
||||
local liblapack="$($(tc-getPKG_CONFIG) --libs-only-l lapack)"
|
||||
liblapack="${liblapack%% *}"
|
||||
liblapack="lib${liblapack#-l}"
|
||||
|
||||
sed -i \
|
||||
-e "s|\(JULIA_EXECUTABLE = \)\(\$(JULIAHOME)/julia\)|\1 LD_LIBRARY_PATH=\$(BUILD)/$(get_libdir) \2|" \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|LIBDIR = lib|LIBDIR = $(get_libdir)|" \
|
||||
-e "s|/usr/lib|${EPREFIX}/usr/$(get_libdir)|" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|" \
|
||||
-e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" \
|
||||
-e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" \
|
||||
-e "s|= libblas|= ${libblas}|" \
|
||||
-e "s|-llapack|$($(tc-getPKG_CONFIG) --libs lapack)|" \
|
||||
-e "s|= liblapack|= ${liblapack}|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# julia does not play well with the system versions of
|
||||
# dsfmt, libuv, pcre2 and utf8proc
|
||||
cat <<-EOF > Make.user
|
||||
USE_SYSTEM_DSFMT=0
|
||||
USE_SYSTEM_LIBUV=0
|
||||
USE_SYSTEM_PCRE=0
|
||||
USE_SYSTEM_RMATH=0
|
||||
USE_SYSTEM_UTF8PROC=0
|
||||
USE_LLVM_SHLIB=1
|
||||
USE_SYSTEM_ARPACK=1
|
||||
USE_SYSTEM_BLAS=1
|
||||
USE_SYSTEM_FFTW=1
|
||||
USE_SYSTEM_GMP=1
|
||||
USE_SYSTEM_GRISU=1
|
||||
USE_SYSTEM_LAPACK=1
|
||||
USE_SYSTEM_LIBGIT2=1
|
||||
USE_SYSTEM_LIBM=1
|
||||
USE_SYSTEM_LIBUNWIND=1
|
||||
USE_SYSTEM_LLVM=1
|
||||
USE_SYSTEM_MPFR=1
|
||||
USE_SYSTEM_OPENLIBM=1
|
||||
USE_SYSTEM_OPENSPECFUN=1
|
||||
USE_SYSTEM_PATCHELF=1
|
||||
USE_SYSTEM_READLINE=1
|
||||
USE_SYSTEM_SUITESPARSE=1
|
||||
USE_SYSTEM_ZLIB=1
|
||||
VERBOSE=1
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake cleanall
|
||||
emake julia-release \
|
||||
prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')
|
||||
emake
|
||||
use emacs && elisp-compile contrib/julia-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
cat > 99julia <<-EOF
|
||||
LDPATH=${EROOT%/}/usr/$(get_libdir)/julia
|
||||
EOF
|
||||
doenvd 99julia
|
||||
|
||||
if use emacs; then
|
||||
elisp-install "${PN}" contrib/julia-mode.el
|
||||
elisp-site-file-install "${FILESDIR}"/63julia-gentoo.el
|
||||
fi
|
||||
dodoc README.md
|
||||
|
||||
mv "${ED}"/usr/etc/julia "${ED}"/etc || die
|
||||
rmdir "${ED}"/usr/etc || die
|
||||
rmdir "${ED}"/usr/libexec || die
|
||||
mv "${ED}"/usr/share/doc/julia/{examples,html} \
|
||||
"${ED}"/usr/share/doc/${P} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
if [[ $(get_libdir) != lib ]]; then
|
||||
mkdir -p "${ED}"/usr/$(get_libdir) || die
|
||||
mv "${ED}"/usr/lib/julia "${ED}"/usr/$(get_libdir)/julia || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
|
@ -39,7 +39,7 @@ RDEPEND="
|
|||
>=sys-libs/libunwind-1.1:7=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
virtual/blas
|
||||
>=virtual/blas-3.6
|
||||
virtual/lapack
|
||||
emacs? ( app-emacs/ess )"
|
||||
|
||||
|
@ -132,6 +132,7 @@ src_configure() {
|
|||
USE_SYSTEM_SUITESPARSE=1
|
||||
USE_SYSTEM_ZLIB=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
|
||||
}
|
||||
|
@ -171,7 +172,7 @@ src_install() {
|
|||
rmdir "${ED}"/usr/etc || die
|
||||
rmdir "${ED}"/usr/libexec || die
|
||||
mv "${ED}"/usr/share/doc/julia/{examples,html} \
|
||||
"${ED}"/usr/share/doc/${P} || die
|
||||
"${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
if [[ $(get_libdir) != lib ]]; then
|
||||
mkdir -p "${ED}"/usr/$(get_libdir) || die
|
|
@ -2,22 +2,20 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit elisp-common eutils multilib pax-utils toolchain-funcs
|
||||
inherit git-r3 elisp-common eutils multilib pax-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="http://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${PV}/${P}.tar.gz
|
||||
https://dev.gentoo.org/~tamiko/distfiles/${P}-bundled.tar.gz
|
||||
"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://github.com/JuliaLang/julia.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS=""
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="
|
||||
|
@ -39,7 +37,7 @@ RDEPEND="
|
|||
>=sys-libs/libunwind-1.1:7=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
virtual/blas
|
||||
>=virtual/blas-1.1
|
||||
virtual/lapack
|
||||
emacs? ( app-emacs/ess )"
|
||||
|
||||
|
@ -48,21 +46,15 @@ DEPEND="${RDEPEND}
|
|||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix_build_system.patch
|
||||
"${FILESDIR}"/${PN}-9999-fix_build_system.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv "${WORKDIR}"/bundled/dsfmt-2.2.3.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/libuv-efb40768b7c7bd9f173a7868f74b92b1c5a61a0e.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/pcre2-10.20.tar.bz2 deps/ || die
|
||||
mv "${WORKDIR}"/bundled/Rmath-julia-0.1.tar.gz deps/ || die
|
||||
mv "${WORKDIR}"/bundled/utf8proc-85789180158ac7fff85b9f008828d6ac44f072ea.tar.gz deps/ || die
|
||||
rmdir "${WORKDIR}"/bundled || die
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
eapply_user
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
# - fix BLAS and LAPACK link interface
|
||||
|
@ -133,11 +125,16 @@ src_configure() {
|
|||
USE_SYSTEM_SUITESPARSE=1
|
||||
USE_SYSTEM_ZLIB=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Julia accesses /proc/self/mem on Linux
|
||||
addpredict /proc/self/mem
|
||||
|
||||
emake cleanall
|
||||
emake julia-release \
|
||||
prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
|
@ -4,3 +4,4 @@ DIST jsoncpp-1.6.5.tar.gz 200507 SHA256 a2b121eaff56ec88cfd034d17685821a908d0d87
|
|||
DIST jsoncpp-1.7.2.tar.gz 205391 SHA256 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 SHA512 32702147229ea7a3679654325572c38f4188f258ab6ac21f9e04059d53ef2a7cd0542ec4ec3b0e7b9089acd2b7bce389f16b9ff24b2e63e0ba2a5bcd46bab766 WHIRLPOOL a4c71f4c8cd6468f8326120bd106b50c563ab1b7a10df4874d96dd2c03f115645f1016c4e2e52f8056f58f7a40bd6bfc2a75e6aca896bdf98652b1052fde1fd8
|
||||
DIST jsoncpp-1.7.4.tar.gz 205752 SHA256 10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769 SHA512 e674f6f885e2aa7258d3d3d7a14ef148b5182fd883a527b3b9d75334e778142a833bbb295796af503573b9745f889b8bc496a0b2e11dce1b9cc7f079ac538bf7 WHIRLPOOL 510915e507235d2e89d0f8097336c7910af161c2f9b39eb034be429441e457db4d5d01b8e87342654a68cf5fecdfe584ff1d1ba23fabc58012d80a9bb78e4819
|
||||
DIST jsoncpp-1.7.5.tar.gz 205989 SHA256 4338c6cab8af8dee6cdfd54e6218bd0533785f552c6162bb083f8dd28bf8fbbe SHA512 c8217e390d4b15e046a6f14ad54257ac8ecc13b70073a15c502b451df25c6d8bbc645ee50bb12e67433bf2c9053e2a39544d465c19124c7b882b69dd80b70ab2 WHIRLPOOL 312522ed7d8c03a50406f6a93355fab341022ef433b553f50d6d2b9e052c645361a4cea0771f1a16189921a15d025d35f0a6a5ff251d18a9ec48faa90084bb87
|
||||
DIST jsoncpp-1.7.6.tar.gz 206060 SHA256 07cf5d4f184394ec0a9aa657dd4c13ea682c52a1ab4da2fb176cb2d5501101e8 SHA512 514428ec6eeb3082d1399024e3eca0e5f022082654e5015cdaa74234a1625e973dc43c88b572b4ca3dc9a52529e768d60f1252e3bfee3b917b990a2672595065 WHIRLPOOL 807592b000ac27d4b2004dfbe137fc812b813c64fa2a48735b39299d40def8fe4772d4624a329cb27455e4ab38b500807dbab0e58f022f0cb83db80074741e71
|
||||
|
|
74
dev-libs/jsoncpp/jsoncpp-1.7.6.ebuild
Normal file
74
dev-libs/jsoncpp/jsoncpp-1.7.6.ebuild
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils python-any-r1
|
||||
|
||||
DESCRIPTION="C++ JSON reader and writer"
|
||||
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
||||
SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( public-domain MIT )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_setup() {
|
||||
if use doc || use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DJSONCPP_WITH_TESTS=$(usex test)
|
||||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
|
||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
# Follow Debian, Ubuntu, Arch convention for headers location
|
||||
# bug #452234
|
||||
-DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp
|
||||
# Disable implicit ccache use
|
||||
-DCCACHE_FOUND=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
"${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C "${BUILD_DIR}" jsoncpp_check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r dist/doxygen/jsoncpp*/.
|
||||
fi
|
||||
}
|
|
@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
|
|
|
@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="common-lisp nls static-libs"
|
||||
|
||||
RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
|
|
|
@ -10,7 +10,7 @@ SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2"
|
|||
|
||||
LICENSE="LGPL-3+ GPL-2+ GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
|
|
|
@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]]; then
|
|||
inherit git-r3
|
||||
else
|
||||
SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-linux"
|
||||
KEYWORDS="~amd64 ~arm hppa ~x86 ~amd64-linux"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 Apache-2.0"
|
||||
|
|
|
@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]]; then
|
|||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/edenhill/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
KEYWORDS="~amd64 ~arm hppa ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib-minimal
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="ASN.1 library"
|
||||
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
|
||||
|
@ -29,16 +29,20 @@ PATCHES=(
|
|||
)
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||
|
||||
pkg_setup() {
|
||||
if use doc; then
|
||||
DOCS+=( doc/libtasn1.pdf )
|
||||
HTML_DOCS=( doc/reference/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs
|
||||
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
if use doc ; then
|
||||
dodoc doc/libtasn1.pdf
|
||||
dohtml doc/reference/html/*
|
||||
fi
|
||||
}
|
64
dev-perl/Lab-Measurement/Lab-Measurement-3.520.0.ebuild
Normal file
64
dev-perl/Lab-Measurement/Lab-Measurement-3.520.0.ebuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
DIST_VERSION=3.520
|
||||
DIST_AUTHOR="AKHUETTEL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
inherit perl-module
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/lab-measurement/lab-measurement.git"
|
||||
EGIT_BRANCH="master"
|
||||
S=${WORKDIR}/${P}/Measurement
|
||||
inherit perl-module git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Measurement control and automation with Perl"
|
||||
HOMEPAGE="http://www.labmeasurement.de/"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="+xpression"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Class-ISA
|
||||
>=dev-perl/Class-Method-Modifiers-2.110.0
|
||||
>=dev-perl/Clone-0.310.0
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Encode
|
||||
>=dev-perl/Exception-Class-1
|
||||
dev-perl/Hook-LexWrap
|
||||
dev-perl/List-MoreUtils
|
||||
>=dev-perl/Role-Tiny-1.3.4
|
||||
dev-perl/Term-ANSIScreen
|
||||
>=dev-perl/TermReadKey-2.320.0
|
||||
dev-perl/TeX-Encode
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/Try-Tiny-0.220.0
|
||||
dev-perl/XML-DOM
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-Twig
|
||||
dev-perl/YAML
|
||||
>=dev-perl/YAML-LibYAML-0.410.0
|
||||
sci-visualization/gnuplot
|
||||
!dev-perl/Lab-Instrument
|
||||
!dev-perl/Lab-Tools
|
||||
xpression? (
|
||||
dev-perl/Wx
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
if ( ! has_version sci-libs/linuxgpib ) && ( ! has_version dev-perl/Lab-VISA ) ; then
|
||||
elog "You may want to install one or more backend driver modules. Supported are"
|
||||
elog " sci-libs/linuxgpib Open-source GPIB hardware driver"
|
||||
elog " dev-perl/Lab-VISA Bindings for the NI proprietary VISA driver"
|
||||
elog " stack (dilfridge overlay)"
|
||||
fi
|
||||
}
|
|
@ -12,32 +12,39 @@ if [[ "${PV}" != "9999" ]]; then
|
|||
else
|
||||
EGIT_REPO_URI="https://github.com/lab-measurement/lab-measurement.git"
|
||||
EGIT_BRANCH="master"
|
||||
S=${WORKDIR}/${P}/Measurement
|
||||
inherit perl-module git-r3
|
||||
S=${WORKDIR}/${P}/Measurement
|
||||
fi
|
||||
|
||||
DESCRIPTION="Measurement control and automation with Perl"
|
||||
HOMEPAGE="http://www.labmeasurement.de/"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="+xpression"
|
||||
IUSE="test +xpression"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Class-ISA
|
||||
>=dev-perl/Class-Method-Modifiers-2.110.0
|
||||
>=dev-perl/Clone-0.310.0
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Encode
|
||||
>=dev-perl/Exception-Class-1
|
||||
dev-perl/Hook-LexWrap
|
||||
dev-perl/List-MoreUtils
|
||||
>=dev-perl/Moose-2.121.300
|
||||
>=dev-perl/MooseX-Params-Validate-0.180.0
|
||||
>=dev-perl/namespace-autoclean-0.200.0
|
||||
>=dev-perl/Role-Tiny-1.3.4
|
||||
dev-perl/Term-ANSIScreen
|
||||
dev-perl/TermReadKey
|
||||
>=dev-perl/TermReadKey-2.320.0
|
||||
dev-perl/TeX-Encode
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/Try-Tiny-0.220.0
|
||||
dev-perl/XML-DOM
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-Twig
|
||||
dev-perl/YAML
|
||||
>=dev-perl/YAML-LibYAML-0.410.0
|
||||
sci-visualization/gnuplot
|
||||
!dev-perl/Lab-Instrument
|
||||
!dev-perl/Lab-Tools
|
||||
|
@ -48,6 +55,7 @@ RDEPEND="
|
|||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
test? ( dev-perl/Test-Files )
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
DIST Lab-Measurement-3.41.tar.gz 381680 SHA256 38044abae96872bd1717cd9ad38dbb5075dbe458c72349ebfbeae1380d0f1c7f SHA512 21de97972cdc463762d6da83ba15b9407621c3416c19e86ca25ddd05592133811e81950350ecfd0e571dc1e6c8ba3df1ff4daf88d6537af69e5ab5e611820171 WHIRLPOOL bea1c57b5968397b1325068577d12c148933007a434272571e5bfd5ec14ebc6f7cccad78f06db261dc0bebfd41c8a74271a27d6bfa639891809e7225ffdb48c6
|
||||
DIST Lab-Measurement-3.500.tar.gz 415063 SHA256 415041099b8d846c2366d9f86fa23ea5f3231b0595e1fd89fb9e8ff24c133909 SHA512 c75bfd3dd5b3105603777005846b34cfab5fea9a1ecd88f54704c3b5e89011c145dbab8eb7778494884d687a8c1d56c8c09add5af9c7a39e499b33646dc7e5c6 WHIRLPOOL 1cf460ebe9d1d7c2918fa469af5269a63f3c3e01be641e7bf6f9b184b4ee933c63b04934ffbbacc9e2f047793bd392265fa7227f18a2b945b8522194e5601510
|
||||
DIST Lab-Measurement-3.514.tar.gz 385535 SHA256 26458d4f05dbde7cc8cecf3f3472ec1fc31255c4ef47119d99ae97ee0c93f8fd SHA512 2eb48a2938958ed86b8c86b0bc6b510a1e84844d46195b7e86d2ff25ca297da3539a3bb5eef6440bc7ce059c9c633bb015a9cad04170d01f93bc01f6977ec257 WHIRLPOOL aad358dfd2df637679a98c1edf19dea5131764c643f0eaccc6f285dac9fb3fbf45cfd5011f0de2d70108338eee70aa8771defd110207c061b147341161b31f22
|
||||
DIST Lab-Measurement-3.520.tar.gz 449506 SHA256 3fca8c0cd7cdfb57bd390e06603e493d4ec86a35d2388448ecc17aa1c2c43c7b SHA512 9c439842ac958d62214e4116b285a02f879519ef543429a06453d309f895e75c869acc8d31ce10697e4077af1c25adf8b6cbba7849f03b2523d4e77733591e9f WHIRLPOOL 81f5cd59a649adc5521afea35522cdd97ca40b6927b95d8a96140dcc88ec0ad5f731bc71d35b0de91d3b0075ce5b67020af69ce7902beb5186bca3beb5f811e4
|
||||
|
|
1
dev-perl/MooseX-Params-Validate/Manifest
Normal file
1
dev-perl/MooseX-Params-Validate/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST MooseX-Params-Validate-0.21.tar.gz 34300 SHA256 88295446aba999cbb8f998d7fb9a2701d6617394a51d6d724c774e6d9ff139d9 SHA512 73bca04f5368de3d5ac947b6002f8c0801c150fdf24f1d792772ffd36c85fe1095d694725de310cc465ab6e0794643ba372bbfd53595cc2a7f6f91d5df06377b WHIRLPOOL 15472c65eda004afba9d80b5cad177659c7f26cb791a5cc59a0f744a2138ad51acdd038cc2b1bed6441b035c655e67cd00f15926f208b480b615c7d9584b051a
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=0.21
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="An extension of Params::Validate using Moose types"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
dev-perl/Devel-Caller
|
||||
>=dev-perl/Moose-2.120.0
|
||||
>=dev-perl/Params-Validate-1.150.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/Sub-Exporter
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/Test-Fatal
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
)
|
||||
"
|
8
dev-perl/MooseX-Params-Validate/metadata.xml
Normal file
8
dev-perl/MooseX-Params-Validate/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
1
dev-perl/Test-Files/Manifest
Normal file
1
dev-perl/Test-Files/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST Test-Files-0.14.tar.gz 11520 SHA256 96ceabf035243048f591bfe135ed3f7619b63b25597a92658807dbffa21fc3fe SHA512 fe456e5e99f734ca356e0595f79e66e899e0a92e14ccf32a7deb04537789546e3b9f1fd091e2e50dffdee51d01ee9096ffc36f3a6792eaa8be85e6ec8ab25782 WHIRLPOOL 00a20b9449012c23599685386ca0ae5856155ef5d4c4ec82d013975e006a67d727db70d6a3814d4bd406c8f8312a297ab57532241958d22a309b77cf614009fb
|
24
dev-perl/Test-Files/Test-Files-0.140.0.ebuild
Normal file
24
dev-perl/Test-Files/Test-Files-0.140.0.ebuild
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=PHILCROW
|
||||
DIST_VERSION=0.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Test::Builder based module to ease testing with files and dirs"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Algorithm-Diff
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Text-Diff
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -2,5 +2,7 @@ DIST Fabric-1.10.0.tar.gz 208969 SHA256 edb2702b4655600f0a49a97e654c79f5b21490ce
|
|||
DIST Fabric-1.10.1.tar.gz 209750 SHA256 ab9c54e9496c89ae96ed4aa669e01c792376d75a7389ec90d4292282cc26f008 SHA512 a00f46ac28c61d20575af9f34e4e2bc54a79e836c29b395bbdf58538b6c75523a7ec6f3f40caf0f270d2ec8b0500806b14e80c4ed4d2077e39f4dbdd773d8637 WHIRLPOOL 88b5865ec80ff923292b0ba4a868a06fa5cc0f68b3a8ab2fbfb68f17422b9b60a365ea3b14b5f04929425bbcf9350acbc72dc1733200c18a80d954c3c1762ce9
|
||||
DIST Fabric-1.10.2.tar.gz 212942 SHA256 666a3da92273532d3a49dd1ac53e3d721c5ec2f2512cd7dddb7ce19e29e9f038 SHA512 3102616a8fbc6237df74eb9b506e95628487d2bb112a56826d388a943b6e8af926f4f174a8d8810b27b63e58d2018667d927795c6a5e53833a1d3fc87324b0af WHIRLPOOL f08af6300432655786692a99385f4cd4d8605ac3bd952dd198706bd975c737431df7aaa6dc2d737719ca029305cb3e3359876ac32702f3ad539b65a5ad5501fb
|
||||
DIST Fabric-1.11.1.tar.gz 215069 SHA256 336cfa335840136fab8694a539dd61924697b8d0c2f3a12afadf0a6165c0875d SHA512 ab5f10f233d4a37ae74fd166d5b634f1eb4166525a2530b28d3d3a8a28ac792ee7eaa5a7c31379abd065c0e975c17e995707ffcc8e75d6f7e6bf90cd72ee50ad WHIRLPOOL fa3cac7cda273ffb73b28b4c9461a379641a8de53cbf2872fc5fe05b15e2f1177006ae5970b8c016d6959773e24d0d86305a622ca6a6a7203ef47cdc4793cd26
|
||||
DIST Fabric-1.12.0.tar.gz 232840 SHA256 fafa17d69a15fd6ae5f82d28acbf90e1bf15e3d7438fbf0e8691868164c0e9dc SHA512 cc07e811873c296c7e33ddadb00af3b4cbd1a87b2617b82505758e6b646e20e55edafe76cd969f3b2a7931a2deb4daefe8e44a7d6fe6ec67e5d9923d6c64e95e WHIRLPOOL 454cf9b2f7eb2c74ca2e6eed349600d37d4306c49da098e46442001e2f720f2df46f4c2eed973916ece7cbffe1c54100dd3571a8696463e10aa3b0ddde0455e2
|
||||
DIST fabric-1.10.2-completion.bash 4266 SHA256 9346541b636f001d4efe1ee0bf0a7a083e85789c88ebd54910004b39ee3f68fa SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3 WHIRLPOOL 616cefd147905347c38ac7ea91ec465be12435ffe48c487083c9d0f1767bb12e5f82423c132b7cc82a89575869729ac1e530d82cf1831c97f0586be5262d8cab
|
||||
DIST fabric-1.11.1-completion.bash 4266 SHA256 9346541b636f001d4efe1ee0bf0a7a083e85789c88ebd54910004b39ee3f68fa SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3 WHIRLPOOL 616cefd147905347c38ac7ea91ec465be12435ffe48c487083c9d0f1767bb12e5f82423c132b7cc82a89575869729ac1e530d82cf1831c97f0586be5262d8cab
|
||||
DIST fabric-1.12.0-completion.bash 4266 SHA256 9346541b636f001d4efe1ee0bf0a7a083e85789c88ebd54910004b39ee3f68fa SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3 WHIRLPOOL 616cefd147905347c38ac7ea91ec465be12435ffe48c487083c9d0f1767bb12e5f82423c132b7cc82a89575869729ac1e530d82cf1831c97f0586be5262d8cab
|
||||
|
|
75
dev-python/fabric/fabric-1.12.0.ebuild
Normal file
75
dev-python/fabric/fabric-1.12.0.ebuild
Normal file
|
@ -0,0 +1,75 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_PN="Fabric"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
COMP_HASH="83d303e9fb352deaf4885b6db0781b3d9115e9c6"
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
|
||||
HOMEPAGE="http://fabfile.org https://pypi.python.org/pypi/Fabric"
|
||||
SRC_URI="
|
||||
mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
|
||||
https://raw.githubusercontent.com/kbakulin/fabric-completion/${COMP_HASH}/fabric-completion.bash -> ${P}-completion.bash"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/paramiko-1.10[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7
|
||||
dev-python/alabaster[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
<dev-python/fudge-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set intersphinx_mapping for doc build
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed \
|
||||
-e "s|'http://docs.python.org/2.6', None|'${PYTHON_DOC}', '${PYTHON_DOC_INVENTORY}'|" \
|
||||
-e "s| 'www'| #'www'|" \
|
||||
-i sites/docs/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 1 failure, reported https://github.com/fabric/fabric/issues/1360
|
||||
sed \
|
||||
-e 's:test_abort_message_only_printed_once:_&:g' \
|
||||
-i tests/test_utils.py || die
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( sites/docs/html/. )
|
||||
distutils-r1_python_install_all
|
||||
newbashcomp "${DISTDIR}"/${P}-completion.bash ${PN}
|
||||
}
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}-2.tar.gz"
|
|||
|
||||
SLOT="0"
|
||||
LICENSE="PSF-2.4"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"/${P}-2
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -68,6 +68,10 @@ pkg_preinst() {
|
|||
rm -r "${egginfo}" || die "Failed to remove egg-info directory"
|
||||
fi
|
||||
}
|
||||
cd / # Bug 585146
|
||||
# https://bugs.gentoo.org/585146
|
||||
local tmpdir="$(mktemp -d)"
|
||||
[[ -n ${tmpdir} ]] || die
|
||||
cd "${tmpdir}" || die
|
||||
python_foreach_impl _cleanup
|
||||
rmdir "${tmpdir}"
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
# Not shipped
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/v/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]"
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST zc.buildout-2.3.1.tar.gz 292209 SHA256 3295b8944c637f65db3d6c2ded239b7b41a7f2df0e0bceb8b092247edf1866fb SHA512 cb741f02ccb119349e9e734667a64bec3248bbddc58a0e3d9ba10b1d2459e084170713be24051a529996fbc641ca8162d86c1c3ad3efdb2a95d2dd705616b73d WHIRLPOOL c391a6c62b72ce4bd56d12616df8580ab6c247e9bef74cf198bb777846ce7a450a31b7bd2088271d9a3faabd4b0388fb8e5b432b4c0f15e5b921c95c7e33e298
|
||||
DIST zc.buildout-2.5.3.tar.gz 305163 SHA256 3e5f3afcc64416604c5efc554c2fa0901b60657e012a710c320e2eb510efcfb9 SHA512 a4d4becac815531cd180795372ce5896d1fdab8606fff492502ef1f59d6d1ddd8427bb00ea96d36ec284a18b17b9273d8b94a405ebe410bae7e9a6e47a8dfad7 WHIRLPOOL b5d01e3b1a589cafb965cae8992f3657805ec3fd22ed75f43d57cba6260e4a7c2bc047c7355ae37cbbd13bb673ba7509597dbb0ed792bbfcbb80817646d7c4fc
|
||||
|
|
34
dev-python/zc-buildout/zc-buildout-2.5.3.ebuild
Normal file
34
dev-python/zc-buildout/zc-buildout-2.5.3.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="System for managing development buildouts"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/zc.buildout"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
DOCS=( README.rst doc/tutorial.txt )
|
||||
# Tests require zope packages absent from portage
|
||||
|
||||
# Prevent incorrect installation of data file
|
||||
python_prepare_all() {
|
||||
sed -e '/^ include_package_data/d' -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
DIST minitest-4.7.5.gem 57856 SHA256 3e0ac720a6d0787b4c822514739319493e187400e993fba96397bd64d58ae60e SHA512 7ea0a52d37f4631fb8b11d4389da2123e4207093f7b34c497fced8729c9086faaa35e997debdb53b694e05eb52b16e843960f0b54515c32207f87161a76c3851 WHIRLPOOL 49bbc557d62053b58208e6aef13dba085f393dbecd731b2915a0b885393ba2b4f1a612b46a018442d2f4fcfda9dfbe3025ae72d2946106a589623748fa4b382d
|
||||
DIST minitest-5.3.3.gem 67072 SHA256 b17c560235e6ab96ed243d7a821e4370af1316ad7a845188d22c56d7d71302d4 SHA512 e1ea2cea5b61231b3074aea1dfb15b104a4e8a6b361d274194b6876401c29f839be618eb7c0448a42bc51ce57f0c2fcd84a72d1b0e0ba034ec5ffe6fbf2ae509 WHIRLPOOL 66c72352b2cdeeeec494be4b2b0aac49153bce9d37c0dbcc9bb0eec4f4759d3f61fd12bbbda0a2a7f26bb75741033a4208da02f1f1a892ff3819bb597218d45f
|
||||
DIST minitest-5.5.1.gem 68608 SHA256 d63b3136cc48295a1e80b6a3fb3638c3024e632ce53107ad3cc3f3fa32b012c1 SHA512 20763183a6170758705a9110c5e963e6baa210fb449335e529cefa5325f3fa8abdb30cb3e47eec051c4cc72b8f581e6e729748f5c0e28dedfad8f80e21cbc1ae WHIRLPOOL b0f88bc0151fea3eda5cc68c1eacaac3cfaa9001e4cd40ae9de88e3aa434e99653bbac94b0f6dac3cb7f2204460da04439aaed340f3b897a105ecd3e992418e0
|
||||
DIST minitest-5.8.3.gem 71680 SHA256 681b1dffa5af3167889fa23b2bf8860ff516b0fed560f8fb6af8b88c7eafcc4d SHA512 08ed4d7942b89c67cfc2aa7dc3ef8d41262327a23ceee7f4f562f1782a8a09558f8c66bbf5b717a5f6efc7ebf1d84730529269e87ebe3c1943df7b483aa657b3 WHIRLPOOL f629f1b7d6465584edeb2a6b74b176524b5263dd710e33c9152ed3c80fcfb1bf7f13a716d9cae465bd973f34c95f7daad87ea9fd9dbca755ad5e30b1a2a9701e
|
||||
DIST minitest-5.8.4.gem 72192 SHA256 2ad73ec73ef54719efba24961a36ad3a65c0bff9cb5d9fda4ddaba2a38b8d416 SHA512 92569e41e334f209260ac77f9157f1dac8824111c6a810d954f7c66d24cf7a16d7d874186288580bf1f800889d8bdfc80437691d91208990878c295e14c1f906 WHIRLPOOL 02d23b3c96811ab163247bda437e0de163afc8029494c326018a43edab203d9789afbaafdea0794e7e4fc496e338c79859c5e0935634e011b17382627b467237
|
||||
DIST minitest-5.9.0.gem 73216 SHA256 94660b4c3907ec4374a8c6980f63eb26644efe35c05b571567ce6d11c271dfbd SHA512 955dc682d4bcec38e8a99c0f40e04ff464316ad7fd69c533b59c26889c62a24ab554d5620cf5c1e14934e52b732acf073eee9f93b9f838fc72bf1c9ef832fd68 WHIRLPOOL 3e44ed0b0398da58be4c7c6f39ee11a03f15c46684a4d685644ea2f631954593d62cf9658be16e13468fd17dd94a233d7bb2257a6baf93d9d336e33162baad01
|
||||
DIST minitest-5.9.1.gem 73216 SHA256 78b5e553dd15bb12b3bd0b59c8b4fa7152a6134c51a3099c4eedd2489cb2000c SHA512 4b02ea62297ad5be8bbc8d541405b0d73668ec7fe0f78318fb85fcc35321d934285df13aac2f3e5c4f9cb303b2689bca36a13bf1f8359486f9c66d4ca2fc6e72 WHIRLPOOL ae92f125bddbb57e15edd94a8fc1c8f2d64e034fb4106553bff8c06213c2f44729310964f483d40f9f7e70b36614a72694b020f88385999ea5d85b075b2720f3
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit"
|
||||
HOMEPAGE="https://github.com/seattlerb/minitest"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*rbx)
|
||||
# Avoid a single failing test for rbx while we are testing
|
||||
# and bootstrapping it.
|
||||
sed -i -e '/test_mock_args_does_not_raise/,/^ end/ s:^:#:' test/minitest/test_minitest_mock.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed"
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
|
@ -1,3 +1 @@
|
|||
DIST simple_oauth-0.2.0.gem 11776 SHA256 2f76cd61c643086db19cbabacbd73b6f4a0c90e31036d2e52839b9b87c8752ef SHA512 86f785e271470fa1f160216f0bb85bbde2358c2e621ca028dcfef2aac01edc03a977a086122ad2bfdb40e385e9989c4f61f19f2a1605c29b40e3bdc8c9d448a2 WHIRLPOOL 061667b32d310b4f64f8a12dcbe33b919ee1ab2399601145a771419858ae6a48a726a5c339bbd5d7431ff6c3fb79e5b96e358f24b90aff2407531e8db119f589
|
||||
DIST simple_oauth-0.3.0.gem 13824 SHA256 6f343847a198b1acca025e02fc6794cba622287360279399e05ed681c9fe5c2a SHA512 b1b322e8363cf8b1774abe48b18af350a5cf68f0e2a6ccc7c293fdeeaad95528e1feadfb727e5b34faa6d18a536934136b3adfab013fa2488b18067977870861 WHIRLPOOL 3ff7f2297f1e016057689ed6ed3161bc482ad8c85d6c55bc1f1dff82a46a5563269cb1e1736f1dde32b95303490319d7838c953008abe3c7f49aedda979e9a4a
|
||||
DIST simple_oauth-0.3.1.tar.gz 9572 SHA256 e8ff13bdbd440e81a8bab3db9330b9dc9d90f4220a0e4e287be71fad5313c984 SHA512 9de7370b56a179e491dca703d92e093fe8dbab44783056b5f667d20e5475aa97210b5b187918159c1753458b5f80057971bb57f4ac2a6bd2f06ae133bc1a5099 WHIRLPOOL d5067daeae6010a09151686ec77f9900b61f60ce7384acdf27340dfb2e7273e5be08cbb02df52349f70ab49b345189b8a062bf1328e8b5f25f0b800853d5c86b
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simply builds and verifies OAuth headers"
|
||||
HOMEPAGE="https://github.com/laserlemon/simple_oauth"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_test() {
|
||||
export CI=true
|
||||
each_fakegem_test
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simply builds and verifies OAuth headers"
|
||||
HOMEPAGE="https://github.com/laserlemon/simple_oauth"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/simplecov/,+8d" spec/helper.rb || die
|
||||
}
|
||||
each_ruby_test() {
|
||||
export CI=true
|
||||
each_fakegem_test
|
||||
}
|
|
@ -1,3 +1 @@
|
|||
DIST stringex-2.5.2.gem 128000 SHA256 27a8ee92a808a83284438e51ed391f3539ae6b39731b95cb4ad940974f6d0a94 SHA512 06905b5d59b40f59c0901bbaacbf303cd906be110cd69a4b8cc29cecd69b6aa73d80cee0c9c0e2014f662b9fca1611c0fe334fcba3c4fa686224dac94f4e0d41 WHIRLPOOL 21a66f7babd2424035e4874d9f5168736c81f6da8388764633d9618064998bfeb076076cfd0d9125583903be25070fa329c4e8fccd81ebb8f801c4447e6be7b4
|
||||
DIST stringex-2.6.0.gem 129536 SHA256 15611e3765430e6e4cb794d289be6bb7b8a8c873d3ff6fd7dbf8c222c68f7ff6 SHA512 a54bf6ab9fcb0a11f6e27a125e6b1d8a49fa0ef4ca703d512c99a20ad59316184017a30e8fede5e7df3449cac53a395f530dde2033d6b15ca540b2c51aab92eb WHIRLPOOL f9102672888332145cc7548f971d5cde6550391e155c4a27ec5796cfd6aa2cc92dcedd51d431705362fd5b7fe362a713aa718d5741eb35a56348a885f41426f6
|
||||
DIST stringex-2.6.1.gem 130048 SHA256 e19fcf32cc429a12d454b14db3a43a6227ee9da233b10240fe1572c9aae7ce65 SHA512 b2ca4de05a8a1e3ef9fa85324f2280a27de7ef04ac3eb0f76006e07d86e5fa0fc84acd4ee6d39f86416bc769cf4e2804421703533b8609a18228cdfeb769a841 WHIRLPOOL 41e78d6563c166bd2e933caee86d3f61538b60d643344a576c7d636d2664e885c95ff6fafaa42c0563aaf8b9ef8f246016523544dbf88bfc8686be2d34b4ddb1
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_DOC_DIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extensions for Ruby's String class"
|
||||
HOMEPAGE="https://github.com/rsl/stringex"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# we could rely on activerecord[sqlite3], but since we do not remove the
|
||||
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
|
||||
# to just add another dependency, so the user doesn't have to change the
|
||||
# USE flags at all.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/i18n-0.6.9:0.6
|
||||
dev-ruby/redcloth
|
||||
dev-ruby/test-unit:2
|
||||
)"
|
||||
|
||||
USE_RUBY=${USE_RUBY/ruby22/} ruby_add_bdepend "test? ( >=dev-ruby/activerecord-3 dev-ruby/sqlite3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby22)
|
||||
# Avoid tests depending on Rails until we have a version
|
||||
# keyworded.
|
||||
rm -rf test/unit/{acts_as_url,localization}* || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# rake seems to break this
|
||||
ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_DOC_DIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extensions for Ruby's String class"
|
||||
HOMEPAGE="https://github.com/rsl/stringex"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# we could rely on activerecord[sqlite3], but since we do not remove the
|
||||
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
|
||||
# to just add another dependency, so the user doesn't have to change the
|
||||
# USE flags at all.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/i18n-0.6.9:0.6
|
||||
dev-ruby/redcloth
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/activerecord-3
|
||||
dev-ruby/sqlite3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# rake seems to break this
|
||||
ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
|
||||
}
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_DOC_DIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extensions for Ruby's String class"
|
||||
HOMEPAGE="https://github.com/rsl/stringex"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# we could rely on activerecord[sqlite3], but since we do not remove the
|
||||
# sqlite3 adapter from activerecord when building -sqlite3, it's easier
|
||||
# to just add another dependency, so the user doesn't have to change the
|
||||
# USE flags at all.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/i18n-0.6.9:0.6
|
||||
dev-ruby/redcloth
|
||||
dev-ruby/test-unit:2
|
||||
)"
|
||||
|
||||
USE_RUBY=${USE_RUBY/ruby22/} ruby_add_bdepend "test? ( >=dev-ruby/activerecord-3 dev-ruby/sqlite3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby22)
|
||||
# Avoid tests depending on Rails until we have a version
|
||||
# keyworded.
|
||||
rm -rf test/unit/{acts_as_url,localization}* || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# rake seems to break this
|
||||
ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST vcard-0.2.12.gem 51200 SHA256 094d09b936dae17ff3f4f58e158c0d89854bd6e805008a8eac091e13c04d8845 SHA512 c34206387dc2f9e1d05d9bb29482e82daa28882cdc9e6edc93e51d7764e253b9d7e6064a2f02966f21d482064f11522c1a265de01f0f5639263fe8fb16838acf WHIRLPOOL 64247e2fdda5d268b451706f371e053137380ecb1ee1dc0120e58115055f334a24f12da7e1a23c3aedda9df81861823473d7f3017f4b79fa437c3306a7e3539e
|
||||
DIST vcard-0.2.13.gem 51712 SHA256 21dced9d23efcca9151314e378693617767ef47f99de9f91851f4f77be41e2cf SHA512 4ab38ad9408349e7a8fc15ebb75d7bfa50607e81987965bf03625cde0991df8a11c78ae7e2e5d7144e555f7d501ac5e0e4575015068d2dd8f579f4ffd392dae7 WHIRLPOOL f3d592db49396c79c491ba7589b096e62811073ff2c29b91d62405cbd1e431931806a18b57e3249c5ac889f41001fbdb97ef2dd6317094a1193bc42e76460a07
|
||||
|
|
26
dev-ruby/vcard/vcard-0.2.13.ebuild
Normal file
26
dev-ruby/vcard/vcard-0.2.13.ebuild
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
|
||||
RUBY_FAKEGEM_RECIPE_TEST=none
|
||||
RUBY_FAKEGEM_RECIPE_DOC=none
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby vcard support extracted from Vpim"
|
||||
HOMEPAGE="https://github.com/qoobaa/vcard"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 --load-path=lib --pattern='.*_test\.rb' test/
|
||||
}
|
|
@ -171,7 +171,7 @@ gstreamer_get_plugin_dir() {
|
|||
# @USAGE: gstreamer_system_link gst-libs/gst/audio:gstreamer-audio [...]
|
||||
# @DESCRIPTION:
|
||||
# Walks through makefiles in order to make sure build will link against system
|
||||
# librairies.
|
||||
# libraries.
|
||||
# Takes a list of path fragments and corresponding pkgconfig libraries
|
||||
# separated by colon (:). Will replace the path fragment by the output of
|
||||
# pkgconfig.
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="cdinstall? ( http://download.zenimax.com/arxfatalis/patches/1.21/ArxFat
|
|||
|
||||
LICENSE="cdinstall? ( ArxFatalis-EULA-JoWooD ) gog? ( GOG-EULA )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gog"
|
||||
REQUIRED_USE="^^ ( cdinstall gog )"
|
||||
RESTRICT="binchecks mirror gog? ( fetch )"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
DIST warzone2100-3.1.2.tar.xz 86232636 SHA256 e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b SHA512 55046ebb661ccc948b426dd07b116173bce70221a94c55fbe0897b3ad2137e22af6163476a72c4f1a7e00eed3a04f53eb1f2243d64491b48467c67928992ae87 WHIRLPOOL 0d2cc9a09e1118a9afad6fae88682a93fc0622df22f30cedb097cff670329b1a820d04df65538585e92bc0017e3790b1026bf228ad77a8fbb69c423f85d7eb64
|
||||
DIST warzone2100-3.1.5.tar.xz 86236328 SHA256 21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442 SHA512 5d35d314a0fd6df7d52be634e010567f92b7ede617e9dc41523680dc4f4019a9afb9d0660bdd1ac908df70bdbca5e7696730b0861ad764aaea6ef851cf598fca WHIRLPOOL e510cc06de299db2ad79943f199c89fcd6408d6554f1da126666529379a23defa7f7521275502cc699cd6fefd2f0dc5fab64e6a049bcf54abda0e8da2229d696
|
||||
DIST warzone2100-3.2.1-openssl110.patch 1460 SHA256 bef16d511d8bb752b82e0e1debe6c0990c6c91c1e4aa03561ad34a1f7593f676 SHA512 e922d5138ef5de466b26f7473aa553c8ed650470c503f984a99b661ebe87011d644158d2a7a351342c3fd57d5ba55e62c9542f92a1586f40d1ea5c816702d838 WHIRLPOOL 43fca2f48dc930c013aed0c61120feaed73b1ad6cbc6fd59956b742a7c10dab31d0d7bd82e86a718a341959d2143ada5c49ecd80e2afc200020e8fd99303ef88
|
||||
DIST warzone2100-3.2.1-openssl110_v2.patch 2984 SHA256 639b5be0316bd187f804dc708d1fbcfbcae510b09b3d5af5fa2a8f8ef8b84d6f SHA512 557cfc27a6ac26302c4064d8b8d3ce0c94167c1ea758d6bf574d9a4e8d1c7e002ab93e0e34b5a85cb386313d871de1d77a3a7fd74d35aae057fe1155f510096b WHIRLPOOL 1aea245db0990f7f2ab675713869d657bd8e491e40f6651f0da9f5ca0a55fd5a76ddae62dfa73a6a37368efad6d3162fc712e955a1a091ecc1afe43fbb2aa891
|
||||
DIST warzone2100-3.2.1.tar.xz 80759620 SHA256 0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9 SHA512 51338f83cc57bdbd825fd53e776d51192e19d9f4a6f2481ba7f22cc5936203f1a593755771dff844b4186fae85c31eea00489cd573d64288570c2b39db575e23 WHIRLPOOL a93e0f2529e6ddc7a39267e0438ab696aa70d268306cbc3dbb5e950f1f4b51e5487760fd24ece1d7feb510d04522a64d9bd76738a1b9f24cda6c5a1c062f6072
|
||||
DIST warzone2100-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools toolchain-funcs eutils versionator gnome2-utils games
|
||||
EAPI=6
|
||||
inherit autotools toolchain-funcs eutils versionator gnome2-utils
|
||||
|
||||
MY_PV=$(get_version_component_range -2)
|
||||
VIDEOS_PV=2.2
|
||||
|
@ -13,15 +13,23 @@ HOMEPAGE="http://wz2100.net/"
|
|||
SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.xz
|
||||
videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
|
||||
|
||||
LICENSE="GPL-2 CC-BY-SA-3.0 public-domain"
|
||||
# openssl-1.1.0 patches
|
||||
SRC_URI+="
|
||||
https://github.com/Cyp/warzone2100/commit/d29cacac856882b153fa206c49091188af5d95aa.patch -> ${PN}-3.2.1-openssl110.patch
|
||||
https://github.com/Cyp/warzone2100/commit/efe8bf60ec56565b96a26b041a965c925bc58c3b.patch -> ${PN}-3.2.1-openssl110_v2.patch"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
# upstream requested debug support
|
||||
IUSE="debug nls qt4 videos"
|
||||
IUSE="debug nls qt5 videos"
|
||||
|
||||
# TODO: unbundle miniupnpc and quesoglc
|
||||
# quesoglc-0.7.2 is buggy: http://developer.wz2100.net/ticket/2828
|
||||
RDEPEND=">=dev-games/physfs-2[zip]
|
||||
dev-libs/fribidi
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtscript:5
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/glew:=
|
||||
|
@ -35,14 +43,14 @@ RDEPEND=">=dev-games/physfs-2[zip]
|
|||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtscript:4
|
||||
nls? ( virtual/libintl )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
qt5? (
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
)
|
||||
!qt4? ( media-libs/libsdl[opengl,video] )"
|
||||
!qt5? ( media-libs/libsdl[opengl,video,X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
virtual/pkgconfig
|
||||
|
@ -50,19 +58,21 @@ DEPEND="${RDEPEND}
|
|||
RDEPEND="${RDEPEND}
|
||||
media-fonts/dejavu"
|
||||
|
||||
PATCHES=(
|
||||
"${DISTDIR}/${P}-openssl110.patch"
|
||||
"${DISTDIR}/${P}-openssl110_v2.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/#top_builddir/top_builddir/' \
|
||||
po/Makevars || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-pkgconf.patch \
|
||||
"${FILESDIR}"/${P}-openGL.patch
|
||||
default
|
||||
|
||||
sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
|
||||
sed '/appdata\.xml/d' -i icons/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--localedir=/usr/share/locale \
|
||||
--with-distributor="Gentoo ${PF}" \
|
||||
|
@ -70,7 +80,7 @@ src_configure() {
|
|||
--with-applicationdir=/usr/share/applications \
|
||||
$(use_enable debug debug relaxed) \
|
||||
$(use_enable nls) \
|
||||
--with-backend=$(usex qt4 "qt" "sdl")
|
||||
--with-backend=$(usex qt5 "qt" "sdl")
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
@ -81,7 +91,7 @@ src_install() {
|
|||
default
|
||||
rm -f "${D}"/usr/share/doc/${PF}/COPYING*
|
||||
if use videos ; then
|
||||
insinto "${GAMES_DATADIR}"/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
newins "${DISTDIR}"/${VIDEOS_P} sequences.wz
|
||||
fi
|
||||
doman doc/warzone2100.6
|
||||
|
@ -89,17 +99,13 @@ src_install() {
|
|||
|
||||
elog "If you are using opensource drivers you should consider installing: "
|
||||
elog " media-libs/libtxc_dxtn"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST synapse-0.2.99.1.tar.xz 427128 SHA256 846d8a5130580bb47c754bb7f20dc76311e589c00a18b02370a5d78b52409220 SHA512 7f91588759afd950d264b068eb11cd6971b86161f198735897405051a85c6d408d29ca2914c4546899a858673c6830290d63a26bc5e8060df1c821305af3eb92 WHIRLPOOL 1c077eb15c1d5710ccd9066bcc7a51170a4d8cca28d7d50245cbba1e944bb83e60764812de70e5b9f4801fc99d6100cbb2011aa708075f0eea0074fd69154344
|
||||
DIST synapse-0.2.99.2.tar.xz 444156 SHA256 fbef056a788b0ee713a3f4dcf024d214b0128e8a64dd7c601345f5e478d59611 SHA512 e4b6e0399a83fc7880d786e8cff6360850d5ce1ac2eabccb5ce6d3989e4356c42adf1155905b39bb6b10887c02844dad01cdf8d556bc4bd6c7cd11956f8116c7 WHIRLPOOL b5228e4952072f426180c4db7c2f8b6b45912157835b42e0ff57c7fbd5e662aae29cd51dd0647607178003f08bb037498757c070c84b72bcfbb8eda7e72a8668
|
||||
|
|
60
gnome-extra/synapse/synapse-0.2.99.2.ebuild
Normal file
60
gnome-extra/synapse/synapse-0.2.99.2.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no" # gnome2_src_configure is not being used
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
|
||||
inherit gnome2 autotools-utils vala
|
||||
|
||||
DESCRIPTION="A program launcher in the style of GNOME Do"
|
||||
HOMEPAGE="https://launchpad.net/synapse-project/"
|
||||
SRC_URI="https://launchpad.net/synapse-project/0.3/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# "ayatana" support pending on GTK+-3.x version of synapse wrt #411613
|
||||
IUSE="plugins +zeitgeist"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgee:0.8
|
||||
>=dev-libs/glib-2.28.0:2
|
||||
dev-libs/json-glib
|
||||
dev-libs/keybinder:3
|
||||
dev-libs/libunique:1
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtkhotkey
|
||||
>=x11-libs/gtk+-3.0.0:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/pango
|
||||
x11-themes/gnome-icon-theme
|
||||
plugins? ( >=net-libs/rest-0.7 )
|
||||
zeitgeist? (
|
||||
dev-libs/libzeitgeist
|
||||
>=gnome-extra/zeitgeist-0.9.14[fts]
|
||||
)"
|
||||
#ayatana? ( dev-libs/libappindicator )
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in || die
|
||||
vala_src_prepare
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-indicator=no
|
||||
$(use_enable plugins librest yes)
|
||||
$(use_enable zeitgeist)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
|
@ -1,4 +1,2 @@
|
|||
DIST khelpcenter-16.04.3.tar.xz 1475048 SHA256 a981321de2652c30dd53de9b13b115911a55dd14ee8417fdd792b7a0a4a29cc2 SHA512 61c312b7809dacbc63e3bc0abb39444910b92a1dc9cf63474b4264974ebd6bf1e0febbc6e63a71d72591dd40e9bb5636b190c334a169954831648dd7620d12a1 WHIRLPOOL c680f1a2d65ab893dd973713b204f044ffedf1114b5a202f382acd243cc93994360cf78a8d766d692d04ac96b016eed33cf0adf87be51da21685966a69b5f6ea
|
||||
DIST khelpcenter-16.08.1.tar.xz 1464704 SHA256 8f688a05b78c99fb394f9487848a24b7d2b6bc4b0050327ccafc3453db88675b SHA512 445bf0d4517b61711dc8616825931d72444a0d985076eacad5fc6e60304b5cc2c3e02b9a20ea26bd342c2081bf1d4d00a36591e1a4067e5d820ec96dcfc82fc7 WHIRLPOOL 87aa33e20a7a0748d0e475f6ef567271b10b01644b1cffdaea1376d03d586de28a16b87165825a38e872d0aa640d0dc6a081afd7787cc64c44cfd51115aff145
|
||||
DIST khelpcenter-5.5.5.tar.xz 1810236 SHA256 9790973be800fd52bf441f747cd7e6f19c8e8c3134f6be7ffb5820f48acc0513 SHA512 b2941e1cf6a122c1dad8c81519391879823bd69ddb0b67a5d4cdefe160283c8dd30991fd3dc13693324a8d1539db7f8bd271cef79055b7ab2a73660d252cb6bb WHIRLPOOL f641ed1f986451e07b419811683e98051311c364a1fceb15227d0e23e46e7e3f15683969d827be88e81dde703a896e730defa4dfbe15c6ef27d579d3840b3ef1
|
||||
DIST khelpcenter-5.6.2.tar.xz 1722960 SHA256 3cb80cccbb74d7ec7a7462c1a186260bd64c1f2b23cb833c8852ffd9022ba872 SHA512 7dd2d464260995685caea8d62aad2e27add95d6143df0235d352cf8fb5cb741b2e41b339a3fd074aff96bbe5f161d1bd8af576a6426dbde5c74cec7beee9c4b2 WHIRLPOOL 454915a3275b0400b123b4bce0b4b8ad18be71170b2abce18d87d92c634a0d7917d1904d31b995986efcf8ba2d574b772634237c75e7f2d4678a3739ebca67fb
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="true"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="The KDE Help Center"
|
||||
HOMEPAGE+=" https://userbase.kde.org/KHelpCenter"
|
||||
SRC_URI="mirror://kde/stable/plasma/${PV}/${P}.tar.xz"
|
||||
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kcodecs)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kdelibs4support)
|
||||
$(add_frameworks_dep khtml)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kinit)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
rm -rf "${ED}"usr/share/locale || die
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="The KDE Help Center"
|
||||
HOMEPAGE+=" https://userbase.kde.org/KHelpCenter"
|
||||
SRC_URI="mirror://kde/stable/plasma/${PV}/${P}.tar.xz"
|
||||
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kcodecs)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kdelibs4support)
|
||||
$(add_frameworks_dep khtml)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kinit)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
rm -rf "${ED}"usr/share/locale || die
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST bluedevil-5.6.5.tar.xz 172852 SHA256 1ddac54394a5eb94c1c0be03a2f04a9839676d354546f52f132f0d5005a8c97d SHA512 58472d49f8cbf67d4dbc4d2ba63e0f8a4e7c7e1432092b6f4d47a8f3a1a18e7ef192aa8c8c72f9ab713f58ef91921c6493f14f662cf26cdd12c4f81f44c24124 WHIRLPOOL 922ed9928323f42ed0e5b2b728834827045bfbdbfddc810747f96a9f82865f46ecbe12c364fb1339575473504d496180d39c30acc343d142d4904741a960752a
|
||||
DIST bluedevil-5.7.4.tar.xz 139356 SHA256 c9566f70f92759a332542be2c691e0d9f26164708f26a81f9ccad9f40b6dd038 SHA512 1a49ae427f91379452533be23e902b434df54e58ca216ed65314c4bef957c2fc7961a84d89200375c97da171c31d7caad0d3f5d86c1562fac0a42544061cf7b0 WHIRLPOOL a21f658df7168dc5097f2e1f2d6976af17c8029d0baded57f07bc9c3633c4175195e0a4653e3d66eaac287be31b8bcbc2176ff74c640018edd704b97aa73188f
|
||||
DIST bluedevil-5.7.5.tar.xz 139004 SHA256 5d1ca0db68f73ceed3bc3add8b9b9327a136db9740f237e7604efdd982536dcf SHA512 b99ee8f7f2834b62a8b73a6b4434c9cc762a572085c95c442096733a75f9eadb34224585ca18539832580094f855b89bff79c3e94712e1010dcc846d63e9de51 WHIRLPOOL 1797f775c47e34828e6cdb9e56e29f0a80c86fbddadf39183e5778719e07d6f2019af5310eaa79384aeea3e0def272f3c8fed25fe14e90caaa80ba12704f5d82
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Bluetooth stack for KDE Plasma"
|
||||
HOMEPAGE="https://projects.kde.org/projects/extragear/base/bluedevil"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep bluez-qt)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kded)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep plasma)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
!app-mobilephone/obexd
|
||||
!app-mobilephone/obex-data-server
|
||||
!net-wireless/bluedevil
|
||||
!net-wireless/kbluetooth
|
||||
"
|
|
@ -1,3 +1,2 @@
|
|||
DIST breeze-grub-5.6.5.tar.xz 154092 SHA256 e824538a9a1018c5f90322bae2cb80d2e6c0c7fbfa5a0d4ac0129516f14219ce SHA512 af2bf02737083ecd9c8919778461ee585d957d7bc1616d790608e5eeca3f9bb1c5bb1e5b6b1dfb3336156e0840762fe821d52687d354d1c008e878ace5bbcf27 WHIRLPOOL 9c86c0f8d8d77a058b61c3a9f2e06a7e0e245d3774236651f0ab5089611d11f73d864931cf3b20d60eb3a2677ca76157f7e1cae6da695871ff70865172e11054
|
||||
DIST breeze-grub-5.7.4.tar.xz 153544 SHA256 4e22a92cf2bd3bc1a44dec456617c237bc3a9f2f77ed2b0d78a346e86b503d3e SHA512 28f0f4c6ea9990608f386ea6bf3318bb2a76c14bbcd54cced40cf0d5d0bca754aa130bcccd2d360345bf0985680360e0a49b18453a44a210d80b146053cdc880 WHIRLPOOL e4464ec2c8ddef0bbb0adf7940f33638974564d1d67c2f20c3ca6ba8b22441143a2e772d72d4482e1f4933200c599e91f714118ccecbedcf88c1320a64b34998
|
||||
DIST breeze-grub-5.7.5.tar.xz 153836 SHA256 7e4ba530a9c08f755d60757f2c85e21fade202d3038e50b32c9dcd775fef8f0f SHA512 8e7365f3306d508d041d59eb7ee3a29f93abe44edba5a253fb0a55a88791ce750e38749a46f19fa2fee26246799a6a9cc7f33603ea0ba8052f3b68f60e0d22df WHIRLPOOL 51df714aa432d81be88770187b4f261d4912c6ff38e81084ccd5c8f1512cab3184fb630856cdaeaa98b0b932382b30545450b1f9850c574b97dcf6179d7a569a
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_AUTODEPS="false"
|
||||
KDE_DEBUG="false"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Breeze theme for GRUB"
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/grub/themes
|
||||
doins -r breeze
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST breeze-gtk-5.6.5.tar.xz 257656 SHA256 7b313a31b1aac9dcbb6a0d73c76dd7eaea5c410a6eb267d6d52126c42508854c SHA512 39103a36d8bd0de9e8bd9a49248c8a3fbdb284ee44c5d437b1af212e4fb91b2d9bf25cd33c778f413591941adc506a3e19696e772d84d1ba3535614fe06d315b WHIRLPOOL 0fa1500daa273b11e4099e6e0fd38ef3cdee601a24a98b4c3ad0aa10dcd595672a39d3922e8e0996b19a8c5e03650ce93774456efb02f12ed1e137e0112fbaa2
|
||||
DIST breeze-gtk-5.7.4.tar.xz 210724 SHA256 1d3cc83367cc5d68648039c8f5a85c12a0538cd88f0a98c24b66e6cb04caf945 SHA512 805eade2ca3ad55e0f4dc98a25f83a79f822c7fe0e34161135abc80d059b4170a4b7380948b5aa732df12476b117da14308ea73688549ac9c70c6338f2fae43c WHIRLPOOL 891db5d3b76a56fbc44e08c2820360c613392aadac251e6ccc8c18b4a2962c98b0e11047b54cabeadc8fbb196cb838905bccd27a19b7393aaffd86eed0b8dc10
|
||||
DIST breeze-gtk-5.7.5.tar.xz 211352 SHA256 ac7fcaa4eaa9c86ed459c3582d58da1220bfb55956a2674ba437fd94d202e66d SHA512 2b01a74be9e3d8eaa1e2362898eb3396cba592660c684eed7978bd111bf07c19a9cbab177b0d154cc472226ed600767e799dc65802cfeab1d7fa859c0e5da8c1 WHIRLPOOL 7f3a706eb8b96939635a60cde957bbeb45a7ce8abcf34448e7fafc34bb81504e12b05725809d1d4fea539af6ccf773b9898b9f37603c00beca74cf79b52ca457
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Official GTK+ port of KDE's Breeze widget style"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze-gtk"
|
||||
LICENSE="LGPL-2.1+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
|
||||
insinto /usr/share/themes/Breeze/gtk-3.20
|
||||
doins Breeze-gtk/gtk-3.20/gtk.css
|
||||
|
||||
insinto /usr/share/themes/Breeze-Dark/gtk-3.20
|
||||
doins Breeze-dark-gtk/gtk-3.20/gtk.css
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST breeze-plymouth-5.6.5.tar.xz 61560 SHA256 57328155ac14bb660ac0af2b676720635e4c9d5113cc81485272516fc4d85215 SHA512 d711a0cc211971f7191938c35b10d281d143fa191a29a0d2aa657b8e431e11c695366b5e253dfa0a5a3af5b7a28519e9019fe18d07e884478902452208f5e524 WHIRLPOOL 2cb548be6178b8f44375abe83dbf99c5c7fa1a89acb763e36a47bc8072c0ba089fdd765bd778c2c016481c32094cfba76a377c56e90849c9cb58f81f06be62ff
|
||||
DIST breeze-plymouth-5.7.4.tar.xz 56664 SHA256 f31f3998aa94a96437f5b031ad240f45f2eaae0775aa0b4e688f6036b703160b SHA512 88ed22caed627bc91b76ea2bc9082d10d6741c07d5f9eaa3901abcf2d1462c845692727e5fb7241eacad14c9ce8baaa9f4b6b00e01eb5e7859566dda028836d2 WHIRLPOOL 70080d6f9059cd90defd2cd5830c0499862c7b0aed5bde50bbd2ef69e4c8c9118a9cc6e51bff3f25bab281d26ef913767b70e00b05a9fcf788a52dc2c5364baa
|
||||
DIST breeze-plymouth-5.7.5.tar.xz 56760 SHA256 ed7e02eafd44715e16067bc0194ad2526beb56d0fd9b7bfcc5e3ab2ba9d37d21 SHA512 f83f16e3036123a1e0e6adeb5f314356de35c9dd5d0e63d306d8e756d7e5b99e9aee3ed874f07961896a55fbda54b27ed662caa1574f9c4e0dd6733d4cb4ae3f WHIRLPOOL f9fbe5753b4ddb446297772285de0b5e7719460fa3d262361bfba8e78140a35ebc6cff2d9baf1396b1cb6bcade1faf1fca058726178a0312a0f0aaadb06d428e
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_AUTODEPS="false"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Breeze theme for Plymouth"
|
||||
LICENSE="GPL-2+ GPL-3+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-boot/plymouth"
|
||||
DEPEND="${RDEPEND}
|
||||
$(add_frameworks_dep extra-cmake-modules)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDISTRO_NAME="Gentoo Linux"
|
||||
-DDISTRO_VERSION=
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST breeze-5.6.5.tar.xz 19675588 SHA256 ed9fb6ea6b47b869216deda2f4ddfd0e0a81073c54538325581fc978618fff73 SHA512 a83f66cf4d8d3322a235402b04e2b5e04ccba1a32ee4516931f5c4db757c0b6f487df93f3f069081df1d26c099631d9691d5b0d886fb266114c1057c828b1095 WHIRLPOOL 8e4b2d03ac028fd1a89cea15c205f4f6e89eb4d2d01a4bdd3a115781fabae5b150cbafa523e3dd3a88eed614c592b5b543f5d37f7e077ff831e31c58399fc7e0
|
||||
DIST breeze-5.7.4.tar.xz 12514540 SHA256 0695f02b068a72760e9b2a0802820c32fd4627c7d0af14f8b43dcc7f905d4c6a SHA512 3238d8458c6d7c1478f82b6ee2c20a8146f3d988a4dc175a33346e4277e6e822558f25f926db657ea2a55fa39443a99d2e521f2476a9b473a6987f0dcb642569 WHIRLPOOL 312311a93de5e4d29f3556d7a984df18d624585db89f82eeed9eafe1612fd1069ee83117bc55978370b28d0bcbbdae42a55fc4b57e5763107371c3a2e052c6b5
|
||||
DIST breeze-5.7.5.tar.xz 12516824 SHA256 820f60cd2b4b92fb6ebfb890ff539f06b57eb7935aa3a85c7975ac45de60bd2a SHA512 7c86d17d6372cebb369621d183a3235affbf44bd02b63fa816864ce39b3570b7e0cc25f8c4ffbc61f35d241c63363cd4752303b49b9d718be57e8668de2b8e7b WHIRLPOOL e610b4271f80e590961f0c6bcf5800d19d35c6b3482fa5cc3b0f4535c8379475095032cbd6449020cbec00e0ec37c9b927147b1f693ba8c15bb01734f98d3a74
|
||||
|
|
|
@ -1,75 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5 multibuild
|
||||
|
||||
DESCRIPTION="Breeze visual style for the Plasma desktop"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="qt4 wayland"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep frameworkintegration)
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_plasma_dep kdecoration)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtx11extras)
|
||||
x11-libs/libxcb
|
||||
qt4? (
|
||||
kde-base/kdelibs:4
|
||||
x11-libs/libX11
|
||||
)
|
||||
wayland? ( $(add_frameworks_dep kwayland) )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep kpackage)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
$(add_frameworks_dep breeze-icons)
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
kde5_pkg_setup
|
||||
MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconfigure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package wayland KF5Wayland)
|
||||
)
|
||||
|
||||
if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
|
||||
mycmakeargs+=( -DUSE_KDE4=true )
|
||||
fi
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
multibuild_foreach_variant myconfigure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multibuild_foreach_variant kde5_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
multibuild_foreach_variant kde5_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multibuild_foreach_variant kde5_src_install
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST kactivitymanagerd-5.6.5.tar.xz 84828 SHA256 7029b027c0ea2ee620cc254d8c69177b30e3c996b09add53e16b51750df411d0 SHA512 91e5af42a7d4470474fd89b10e9448865a1762e400af4c4b09edc5c20f093af375a50bceb21ffb47e1158fec511ad95bdcfb786a31174ebf6c1d1617ad57449b WHIRLPOOL f94f38a31c4141f64e90c1a266397f4c333c81a69d14e71eb05e91310d6e063f688ed257300175ddc88aceb279934ccc173a0f1ba77188a3c052155049ef72bc
|
||||
DIST kactivitymanagerd-5.7.4.tar.xz 79608 SHA256 2ba109058dede38d183551c7bdc366f581105dd040227ffb6116e6a618e26483 SHA512 7ec92b62c525f98ede00e56e75d4f9ed6bb6cda70fbc3f22811390f67fa49a4c28717810846607d25099e07f150457bfe8ec086b3c279f69a716372afd554f2f WHIRLPOOL cff2f616b78c90d1d3bb02ec607c68e534b0cc0c4e7033b77e1117add1ba4857500f8710814694ab4902f2e67fa974c9b7187f3852cbf13ed53d19bd6bb60540
|
||||
DIST kactivitymanagerd-5.7.5.tar.xz 80340 SHA256 d9300faedf6d27c0afca1d51fc9df669ab9bfb60b63e6154dcfb0826d239c5d3 SHA512 77fee918e36ba23e406a7b98027f162f6816f9f723004a75c038b734af4694f120741611aea1e2b5c2a64f530ead3e0e7a471474dfd5e2bc8ba7c19f83d2fe47 WHIRLPOOL cd8d8419f1f0849d8d1b4e00d1f10ca94df47f5e142ed88226ac84bda852bdb7c72151ebb5467053ad4f17201f717308b49498661f5e01a520081b9066578b55
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="System service to manage user's activities, track the usage patterns etc."
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kglobalaccel)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtsql)
|
||||
$(add_qt_dep qtwidgets)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/boost-1.54
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<kde-base/kactivities-4.13.3-r2:4
|
||||
!kde-plasma/kactivitymanagerd:4
|
||||
!<kde-frameworks/kactivities-5.20.0
|
||||
!<kde-plasma/plasma-desktop-5.6.1
|
||||
"
|
|
@ -1,3 +1,2 @@
|
|||
DIST kde-cli-tools-5.6.5.tar.xz 505216 SHA256 73021303bb5a44573a539ba99a3e687dec68acc435190615b1020876e564b43a SHA512 345ada74d589585bd458ebf4346cf85c662bbc5903d52c4e6fa9f7ffba0706b6231305fe258f0f60dbbf29fa9aebcdd370e1609f529ee4b5a56fc4bc151fcbeb WHIRLPOOL 4498acc137806801f7a0e52db8b80c936f50c30d79944f68dec22edf60c7512442498f6ae354409191eb0d37cff7cf242c124a0b54bf46663776244a2d01207e
|
||||
DIST kde-cli-tools-5.7.4.tar.xz 486136 SHA256 978c64bc0c5450528888467fb4e6aee1f3d2c3aefb1714da611a7fd131fa4d60 SHA512 22c422032095ac73bd66de19630372e81dd5d9dff968781e42fa4734709fb3b60d717b70274674098e5f1aa198d4c0461c5fefbb444324cf4b95409e41b3a7a7 WHIRLPOOL e981735f3e3fae92a5da843770b5a3064ca9e47b6181b5ab10cca1f62ed62499e1f5b43e1f1765cf3d78efd65b9de4f14e8f4d3d34e54ded578e3c501d892f73
|
||||
DIST kde-cli-tools-5.7.5.tar.xz 489072 SHA256 baa03619271003e8127f270b1eb1e5e4150380f5ee4e5114da1b0f3b6bd9aa4a SHA512 1bcae220aa9a505b4c3c9bae71f3e08b7e5ab1d4f3de95e4d06927146d84d684754e7254e71754f3bfae62e7925d6843706ff978bcfcaf8bba44c95b7274ff5f WHIRLPOOL 3205a22ebf8f2a9d9f70959e18a59edaf90462ed3f7e38d263d8e8778d71dfe251e4e8c68cc0a85fec8815ffa9e30cd73c4c4694094e2decceef1ec0a96ffc83
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="true"
|
||||
KDE_TEST="true"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the system"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kde-cli-tools"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+kdesu X"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwidgets)
|
||||
kdesu? ( $(add_frameworks_dep kdesu) )
|
||||
X? (
|
||||
$(add_frameworks_dep kdelibs4support)
|
||||
$(add_qt_dep qtx11extras)
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
handbook? ( !kde-apps/kdesu[handbook] )
|
||||
"
|
||||
|
||||
# requires running kde environment
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package kdesu KF5Su)
|
||||
$(cmake-utils_use_find_package X KF5KDELibs4Support)
|
||||
$(cmake-utils_use_find_package X Qt5X11Extras)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
use kdesu && dosym /usr/$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu5
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST kde-gtk-config-5.6.5.tar.xz 164772 SHA256 9dc2d144295eb0a1a890f135d39f18d9605daf94aeda0bf7689e47acc22fd31a SHA512 4c05e39f873bad2fbab3391fb56cfb07deb10b4ef5f53c570d15c74e00f65b028486ca7e6dceb057285eb4f61083aadb3df601226706c18ce09a498148a1ecae WHIRLPOOL 0793723e735498200342f938b5b9d074dd0bc71949acb38d6ee497e012bf4aa4fbeb7d6d7f4f2d628b5e263450e35ef73e37d9ab818bde959ce084ad1e17d500
|
||||
DIST kde-gtk-config-5.7.4.tar.xz 147292 SHA256 74d5a166aef8e506adf05f8fd501093932aa34dfc96573857a356520b369c950 SHA512 d4012728901e16728ff1c6c16a515f2cbcba618bf41661255854d4307bd2b475cae0358d6c0b10151574a5a3edbc128c3b8850095f5321d4be9267a5def064a1 WHIRLPOOL 7c02f58a00c661aaf5cf2bc953a1d0aa838ddace1e03709da892b108cd36496ee130c9aa4932150abfb47e041f503ed82fa56ebe89274d073df42806296b3538
|
||||
DIST kde-gtk-config-5.7.5.tar.xz 147732 SHA256 3603055a4821a0aa4250a42261004b4384b53c337ee201d03e494bb18e9602e5 SHA512 88635c51a41a5a47351fa77483ad76c27b3881be28124e53fe0e4fc571dff1596c41e61d22a3e842a81180e9e3f955d8206dfc332965f84be20e47295142ffcb WHIRLPOOL 28231cbc4ac576b8b3d059e9b17faef099b103784386c0f54a6c86a1ccecebc500183fb200a438383c36211a49171b48096b0ce0218598746aed7662d847009c
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_TEST="forceoptional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="KDE Plasma systemsettings kcm to set GTK application look&feel"
|
||||
HOMEPAGE="https://projects.kde.org/kde-gtk-config"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+gtk3"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep knewstuff)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
dev-libs/glib:2
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
x11-libs/gtk+:2
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_plasma_dep kde-cli-tools)
|
||||
!kde-base/kde-gtk-config:4
|
||||
!kde-misc/kde-gtk-config
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-5.4.2-gtk3-optional.patch" "${FILESDIR}/${P}-look-for-cursors-in-right-place.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDATA_INSTALL_DIR="${EPREFIX}/usr/share"
|
||||
-DBUILD_gtk3proxies=$(usex gtk3)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde5_pkg_postinst
|
||||
einfo
|
||||
elog "If you notice missing icons in your GTK applications, you may have to install"
|
||||
elog "the corresponding themes for GTK. A good guess would be x11-themes/oxygen-gtk"
|
||||
elog "for example."
|
||||
einfo
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST kdecoration-5.6.5.tar.xz 34840 SHA256 e1eab1c2c495a67ff2ffa4e170e061f333bdf6b22c1e489b4eae845e6e148a20 SHA512 acf0c40e97c7b3a2d07f1464c761d6237ea216056e7f86395fcb2a0d5033755816a5976af1f02025e0072f1edff140596d21878d7efef7510aef185f47a9f590 WHIRLPOOL d90991ccc75f694f2efcb3c3ee8ff8bafabd7c91c50c33763ffa3c2378e9d461432c58f183bff735d105258dc8792ef23f3bce6864af5780726c067fdcc928fb
|
||||
DIST kdecoration-5.7.4.tar.xz 34656 SHA256 817ad5fbf497bd838654ae62c5c0b21c4a502a537a4ffd72f3fdeda4f2580c98 SHA512 36a2e1fc45d85858e52d2c6f607ca8cd561525273d155b35fff16b4ca024d97a7b339215cdb94d27196033b4d3c4d999589bbfe329480028d4e7b7e61b8c66a2 WHIRLPOOL eec46b7222a980032fb0fa85b4324154d94ac63fecd55f6fdbac067174a1e4f21f605981f822acc27bc54bdb15bcf3aafa29f1e2e3faf0adf9423277bd0712d7
|
||||
DIST kdecoration-5.7.5.tar.xz 34816 SHA256 aec3b7cbaf40a663fe4f39c5d100bd55efc1491cd0f87c99311395b9a3323024 SHA512 698eb0a403af497e51a34ca73f423cb5b4539d69f843e0683e1069805caf7c006f05e73cd4fca38ed53136a531ee536f13ca31d19c89683faca40fcc6c4d83f6 WHIRLPOOL 69e4a9548004647138f179ae3bd5833407425a57ba413e71574955b95256a2e8ee671d03c770605a0f181fe6f1fe0a645180c43c826484982c56a33e8f835bf2
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_GCC_MINIMAL="4.8"
|
||||
KDE_TEST="forceoptional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Plugin based library to create window decorations"
|
||||
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="$(add_qt_dep qtgui)"
|
||||
RDEPEND="${DEPEND}"
|
|
@ -1,3 +1,2 @@
|
|||
DIST kdeplasma-addons-5.6.5.tar.xz 2077520 SHA256 7f9690b407e44c2fa1d7dbe7fbea6606ee9801a6e201da245bad38a1f2be32a6 SHA512 9ebe91519e5990c694d5008ffa74fdb3928036ff96f38ec8d8db4bfe4b17eac6e00e8b320c0ba019ea3513a1ec9eb7c46dd2f0c21121e40bfdf62641f9c191bc WHIRLPOOL 9a2b6a78b9eea0768f989a17d1670db48de6949755bf9058298a596ff12c716b8c1eb733a39155c7813286154b7c7fc1cf4c0fc1c5dfb028b0962e5c73cab8e2
|
||||
DIST kdeplasma-addons-5.7.4.tar.xz 2075428 SHA256 99582dfd134a48c1225d3c478b0ca68bda0c688af0225ef2486f80345c31886d SHA512 cfdadd22e0274d6ec1cf2cd7014c7290d13012b7138c9234864b2372d304c286eeeb61237d924e3978fe5dd75b6cf3ba6761a7442dd3967d801a82a29ec1ace1 WHIRLPOOL 60d70f7d34751626c19f8de41a918a57749520645c39ed2312b7889e99ec4effa29fd031923226662a092cdf8fb3dae6f843d054c76cf5545c33afb473027e01
|
||||
DIST kdeplasma-addons-5.7.5.tar.xz 2077476 SHA256 0066badd4c3a76d31946ea0824124c9efd5c05f073672e5123e70f9a155c1613 SHA512 3e3376a3ed19c0965a918ae939903cb99da89af9e18c0e6fa25518d4d6464f34ec84895d6aea3d78594c82b4978194fef8142166c5a788212ca8e8f801cf6b62 WHIRLPOOL 8841f86d20110b2e98220963b87c38a528969bd7c6f0a70d596d828a10e5c64159d8876607b0446941966cce79d7ee63484523d1614e355e1475da0af5413142
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Extra Plasma applets and engines"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="share"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kactivities)
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdelibs4support)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep knewstuff)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep kpackage)
|
||||
$(add_frameworks_dep kross)
|
||||
$(add_frameworks_dep krunner)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kunitconversion)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_frameworks_dep plasma)
|
||||
$(add_frameworks_dep sonnet)
|
||||
$(add_plasma_dep plasma-workspace)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtx11extras)
|
||||
share? ( dev-libs/purpose:5 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_plasma_dep plasma-workspace)
|
||||
!kde-base/kdeplasma-addons:4
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package share KDEExperimentalPurpose)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue