parent
97821d8cf1
commit
fc807cc623
@ -1 +1,2 @@
|
||||
DIST aerospike-amc-community-3.6.8.2.all.x86_64.deb 1429424 SHA256 6509c10fa4af2c41aa9f2a17ad75e2f1383010bb9d12586e19858aa990b127d5 SHA512 ed1b82f825888ce2985b77d75e2e9988f87a241159fc0452af12892f66c37ec0d88f7edd2be6fce6d06184a5c09305f5e9727af48774e55b6290402fa406abc3 WHIRLPOOL 7c98bf26f9cd32461a015572fb3f7c9f6d17dff8fa28a13adbac47267db0f83d3d2139faceb1ebb89a259df20dbdd6f9b81c8cdd9f305597835e84c3f985805c
|
||||
DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 SHA256 7c29269746a806f04c3828188a249af6407135ebcf151fe55550d84d2e8dc464 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28 WHIRLPOOL 134a8f6dbd006b9918be787f090ca762b45b4c9083f43b6f039b3f33ab1a43ef38be30e3fa31c137185e35672620eace1a2cff7615091f9a9bfab955dfa1f914
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- cmake/Docbook.cmake 2014-06-21 09:51:44.857916287 +0200
|
||||
+++ cmake/Docbook.cmake.new 2014-06-21 09:53:37.251924303 +0200
|
||||
@@ -72,7 +72,7 @@
|
||||
COMMAND ${APP_XSLTPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml > ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.html
|
||||
|
||||
COMMAND ${APP_DB2X_XSLTPROC} -s man ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml -o ${FIL}.mxml
|
||||
- COMMAND ${APP_DB2X_MANXML} ${FIL}.mxml --output-dir ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
+ COMMAND ${APP_DB2X_MANXML} ${FIL}.mxml --encoding=UTF8 --output-dir ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND ${APP_XSLTPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml > ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.html
|
||||
COMMAND ${APP_MAN} -P '${APP_LESS} -is' ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.1 > ${CMAKE_SOURCE_DIR}/README
|
||||
COMMAND ${APP_SED} -i "s/[[:cntrl:]]\\[[0-9]*m//g" ${CMAKE_SOURCE_DIR}/README
|
@ -1,29 +0,0 @@
|
||||
--- a/cmake/ConkyPlatformChecks.cmake
|
||||
+++ b/cmake/ConkyPlatformChecks.cmake
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
include(FindPkgConfig)
|
||||
include(CheckFunctionExists)
|
||||
-include(CheckIncludeFile)
|
||||
+include(CheckIncludeFiles)
|
||||
include(CheckSymbolExists)
|
||||
|
||||
# Check for some headers
|
||||
@@ -119,7 +119,7 @@ if(BUILD_HTTP)
|
||||
endif(BUILD_HTTP)
|
||||
|
||||
if(BUILD_NCURSES)
|
||||
- check_include_file(ncurses.h NCURSES_H)
|
||||
+ check_include_files(ncurses.h NCURSES_H)
|
||||
find_library(NCURSES_LIB NAMES ncurses)
|
||||
if(NOT NCURSES_H OR NOT NCURSES_LIB)
|
||||
message(FATAL_ERROR "Unable to find ncurses library")
|
||||
@@ -167,7 +167,7 @@ endif(BUILD_PORT_MONITORS)
|
||||
|
||||
# Check for iconv
|
||||
if(BUILD_ICONV)
|
||||
- check_include_file(iconv.h HAVE_ICONV_H)
|
||||
+ check_include_files(iconv.h HAVE_ICONV_H)
|
||||
find_library(ICONV_LIBRARY NAMES iconv)
|
||||
if(NOT ICONV_LIBRARY)
|
||||
# maybe iconv() is provided by libc
|
@ -1,3 +0,0 @@
|
||||
DIST lp_linux-3.2.16.xpi 6328266 SHA256 e06364ce631f436246cfca19ff24a2483bc459a5e31178f2c6acd57c1f408f81 SHA512 343d0763f25c31fb7dbde2c9aa19d797431ee9f7bb1f8ae220fd4cac2cc8f439813d92ecb432047f5889967eca7bd4197a7f2725fc52669d022c9f44b7d4945e WHIRLPOOL 5b64cdf371b9ff9ac46030393b22fd92c4fa6493947f47d91a2f44c7019ffcfe1344447456398c2991aee5cbc45bf95b39d90a6a423f6a2e284ac88d2d75d2f8
|
||||
DIST lpchrome_linux-3.2.16.crx 5310273 SHA256 58ec7c7dfa735c5d052b0ca253f85654fd381952533a4a2b125d3abb88e77d39 SHA512 a7d3198ace665bcbbe0a7bdc9dcb4dc165aaa39214df798fe28930d3cc340976a476b8afc4f19af1acc6cbbe61feff8dfa5cc6c2b4c6d4a04b0377752ce1ca54 WHIRLPOOL 9b281945cd8603516e11a9a2f4869622d6783a56670253cdcc4a51a7ddae84a1a5297956d491b4e17e449a01acf6e8a4e3cc0a8b494f973078e617fe041ed615
|
||||
DIST lplinux-3.2.16.tar.bz2 1621919 SHA256 c06fd97e74298c5e7d698b2c8cffce7d79f0c45126daeb27bca91d3403fd893c SHA512 ed77f3ca979d84021e27088a5d1d7e0b102f6ce15f675a7b99810e88760844182b8597670bbe45c9436b42889597c8c421d1acb6abe24085bbd2623b7984d37d WHIRLPOOL 192d332348db9ad68a5e63441e17c0ef954de058376f110dcd05dfe261d54f1c9a179a9c647dc9d5090ffefe8af68a9dbe446dea7a1fb46b1f6c2e458752417d
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Online password manager and form filler that makes web browsing easier and more secure"
|
||||
HOMEPAGE="https://lastpass.com/misc_download2.php"
|
||||
# sadly, upstream has no versioned distfiles
|
||||
DIST_MAIN=lplinux-${PV}.tar.bz2
|
||||
DIST_CRX=lpchrome_linux-${PV}.crx # Use by both firefox+chrome/chromimum code
|
||||
DIST_XPI=lp_linux-${PV}.xpi
|
||||
SRC_URI="
|
||||
https://lastpass.com/lplinux.tar.bz2 -> ${DIST_MAIN}
|
||||
https://lastpass.com/lpchrome_linux.crx -> ${DIST_CRX}
|
||||
firefox? ( https://lastpass.com/lp_linux.xpi -> ${DIST_XPI} )"
|
||||
|
||||
LICENSE="LastPass"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
IUSE="+chromium +firefox +chrome"
|
||||
RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
!!app-admin/lastpass-binary-component
|
||||
chrome? ( || (
|
||||
www-client/google-chrome
|
||||
www-client/google-chrome-beta
|
||||
www-client/google-chrome-unstable
|
||||
) )
|
||||
chromium? ( >=www-client/chromium-32.0.1700.102 )
|
||||
firefox? ( www-client/firefox )"
|
||||
REQUIRED_USE="|| ( firefox chromium chrome )"
|
||||
|
||||
LASTPASS_EXEDIR=/opt/lastpass/
|
||||
|
||||
QA_PREBUILT="
|
||||
${LASTPASS_EXEDIR}nplastpass*
|
||||
/usr/lib*/nsbrowser/plugins/libnplastpass*.so
|
||||
/usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86_64-gcc3/components/lpxpcom_x86_64.so
|
||||
/usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86-gcc3/components/lpxpcom.so
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${DIST_MAIN}
|
||||
mkdir -p "${S}"/crx || die
|
||||
# bug #524864: strip Chrome CRX header
|
||||
# otherwise the unzip warning can be fatal in some cases
|
||||
dd bs=306 skip=1 if="${DISTDIR}"/${DIST_CRX} of="${T}"/lpchrome_linux.zip 2>/dev/null || die
|
||||
unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is based on the upstream installer script that's in the tarball
|
||||
bin=nplastpass
|
||||
use amd64 && bin="${bin}64"
|
||||
exeinto ${LASTPASS_EXEDIR}
|
||||
doexe "${S}"/$bin
|
||||
|
||||
# despite the name, this piece seems used by both firefox+chrome
|
||||
exeinto /usr/$(get_libdir)/nsbrowser/plugins
|
||||
doexe "${S}"/crx/lib${bin}.so
|
||||
|
||||
cat >"${T}"/lastpass_policy.json <<-EOF || die
|
||||
{
|
||||
"ExtensionInstallSources": [
|
||||
"https://lastpass.com/*",
|
||||
"https://*.lastpass.com/*",
|
||||
"https://*.cloudfront.net/lastpass/*"
|
||||
]
|
||||
}
|
||||
EOF
|
||||
cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
|
||||
{
|
||||
"name": "com.lastpass.nplastpass",
|
||||
"description": "LastPass",
|
||||
"path": "${LASTPASS_EXEDIR}/$bin",
|
||||
"type": "stdio",
|
||||
"allowed_origins": [
|
||||
"chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/",
|
||||
"chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/",
|
||||
"chrome-extension://hnjalnkldgigidggphhmacmimbdlafdo/"
|
||||
]
|
||||
}
|
||||
EOF
|
||||
|
||||
for d in \
|
||||
$(usex chromium /etc/chromium '') \
|
||||
$(usex chrome /etc/opt/chrome '') \
|
||||
; do
|
||||
insinto ${d}/policies/managed
|
||||
doins "${T}"/lastpass_policy.json
|
||||
insinto ${d}/native-messaging-hosts
|
||||
doins "${T}"/com.lastpass.nplastpass.json
|
||||
done
|
||||
|
||||
if use firefox; then
|
||||
d="$D/usr/$(get_libdir)/firefox/browser/extensions/support@lastpass.com"
|
||||
mkdir -p $d || die
|
||||
unzip -qq -o "${DISTDIR}/${DIST_XPI}" -d "$d" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Visit https://lastpass.com/dl/inline/?full=1 to finish installing for Chrome/Chromium/Firefox"
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gokturk@gentoo.org</email>
|
||||
<name>Göktürk Yüksek</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
<name>Robin H. Johnson</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Lastpass is an online password manager, password generator, form
|
||||
filler and secure notes service.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="firefox">Support for <pkg>www-client/firefox</pkg></flag>
|
||||
<flag name="chromium">Support for <pkg>www-client/chromium</pkg></flag>
|
||||
<flag name="chrome">Support for <pkg>www-client/google-chrome</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,4 +1,5 @@
|
||||
DIST logstash-2.2.4.tar.gz 75221745 SHA256 0d7fa078eb93b1eecea2845b1404b0f05b438cb3ecc9999316477980ef945492 SHA512 fe8aaea2d2d44f3c1b178a72cf760a7bb345110e51905ea2cfe0a493051c53218f473db7bbf6dbb88c36b92c4aaa28e8edf05c91711207249b4a0f01b6b60055 WHIRLPOOL 8c37e72a581a1594706eb14c30c56fc9b6d8e78ca7e8fee63885983c10560cb6250e5a82b8e233d3abb3d234575252d2676cf5429e6589fa1981aefb50c7cfdd
|
||||
DIST logstash-2.3.1.tar.gz 75222794 SHA256 d4bab55c6d59846995fa88ba297387cfa31d7e7e8b21a35441178b7a44cfff45 SHA512 54b03fedd77b62f2e71b39059435fe38c16780b629b35fe25a7e2ef8c51864c6b19978481c740be181cbc83af78b23aea087e06068af2b5f436b0ad28985bce4 WHIRLPOOL e2351ab481a83ab894248715337785562dc392eae22ffe6073d2218dc33c4b62f4499e7b31a4d4301eb85dbe23ac7fd3596a2752d050b348ad46ad17ec62c544
|
||||
DIST logstash-2.3.2.tar.gz 74898843 SHA256 b3c9d943fa273c8087386736ef6809df9c5959bab870a6ab4723f58d48dd38c1 SHA512 87b97ae0548328fe56ab4f2104b4c63db6a424bb5937e7be043f5835d08bcd02fbcb403d5cc9312b72d5314abfce2b4b00016b9b380fb88abed690d8d80e8c55 WHIRLPOOL afa2a53230b3e5390c4c4d2a84a168ed2d6c56babf927fe4b8c3cb2dab49def8457e8df45d33ca020b11d49b52397f5abb6604fb1d8fecd3c9b033f426130bd9
|
||||
DIST logstash-2.3.3.tar.gz 78887475 SHA256 51a20fbfe2aa0c5ea49ceda8278a4667289fd1871cf7be4ba1c32bd6cbc71d74 SHA512 b1b6ab8e323a01a905c923c24916efe7a1b1165c82d692dbd856b8cdb30ab2e3378c5dfec2e6424c8d44813a1bd8a787075a6f9d82ecbd0d6973d8cdfb1b8193 WHIRLPOOL d280c413bdcf50d5cc7151fe9a5385d974405b69f51df5f12fbb1eb8facc90682cc884d8d79d84968d0a7ae8c63eb688e50832208c647e7e2b05d4f21b8f189a
|
||||
DIST logstash-all-plugins-2.3.1.tar.gz 130666101 SHA256 ecdede3d5bd14f8a146abcdc3860467382467a31581bdcc3cd8e417b306822fe SHA512 0848b5dc04116185c9a0069347279035f12b2d79ea4e45a4f91fdbe68d06559e1eea68579e8e0266bcf4f015a91c51571ffb2e52538cd704666cf7e1653800c7 WHIRLPOOL 0cc0297e2c7b0c595862dd0f11bf0d74fb0da6cecdbc79ec8580c2fda63a0441133736bef48657baa2e620d045c6b6b48dbb8a78c58ffdf7ff96a387acaca5e8
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user
|
||||
|
||||
MY_PN="${PN/-bin}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Tool for managing events and logs"
|
||||
HOMEPAGE="https://www.elastic.co/products/logstash"
|
||||
SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${MY_PN}
|
||||
enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -m
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
||||
keepdir "/var/log/${MY_PN}"
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
doins "${FILESDIR}/agent.conf.sample"
|
||||
|
||||
insinto "/opt/${MY_PN}"
|
||||
doins -r .
|
||||
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for"
|
||||
ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in"
|
||||
ewarn "/etc/conf.d/${MY_PN}"
|
||||
einfo
|
||||
einfo "Getting started with logstash:"
|
||||
einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html"
|
||||
einfo ""
|
||||
einfo "Packages that might be interesting:"
|
||||
einfo " app-misc/elasticsearch"
|
||||
einfo " dev-python/elasticsearch-curator"
|
||||
einfo " www-apps/kibana-bin"
|
||||
}
|
@ -0,0 +1,410 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib qt4-r2 systemd user libtool
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 libressl logwatch mysql postgres qt4 readline +sqlite ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp:0
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql:*[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0=[static-libs] )
|
||||
libressl? ( dev-libs/libressl:0=[static-libs] )
|
||||
)
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses:=
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite ) bacula-clientonly )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite && export mydbtype="sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/7.2.0/${PN}-7.2.0-fix-static.patch
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
|
||||
# fix file not found error during make depend
|
||||
epatch "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch
|
||||
|
||||
# Fix systemd unit files:
|
||||
# bug 497748
|
||||
sed -i -e '/Requires/d' platforms/systemd/*.service.in || die
|
||||
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die
|
||||
# bug 504370
|
||||
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die
|
||||
# bug 584442 and 504368
|
||||
sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
--with-${mydbtype} \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-systemd=$(systemd_get_unitdir) \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
|
||||
ewarn "ATTENTION!"
|
||||
ewarn "The format of the database may have changed."
|
||||
ewarn "If you just upgraded from a version below 7.2.0 you must run"
|
||||
ewarn "'update_bacula_tables' now."
|
||||
ewarn "Make sure to have a backup of your catalog before."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lyx-2.0.8.1.tar.xz 10481988 SHA256 fa0a9c6070554e0d12d24e9b3c4a1e5fc2ee853b3fbe83e2a415635cdc973c59 SHA512 17e313d3118dfe439f5251384f2fffdb45ffef5ec515953b7af0762d35c8e156a9338de698cea91cf8b3cedca1fc08364d8f3c50c9345f304d57004af695f901 WHIRLPOOL 6a9ef2df39861d373e1c6288f5443f910632a09ed4d84e409efe06459f2f39d3c30462b3a26aafe37c5216b765882e7ab5189e7d164b71def97f50877784754c
|
||||
DIST lyx-2.1.4.tar.xz 10928716 SHA256 d13548cf183f2fc241df8121420933702491a7460c78a0ef6dba0e9e438ef32a SHA512 7547950e3c11e88f0ccf2cacb56709f9722d4cd03a5ee751af4489f6d343e13ee6b4e0ff7b830532572975c6cc9506686ade2afa5093f765d21b4d1b9ee7339d WHIRLPOOL a5d8533902fd5dd5a696645941c532bfe35eeaf76f411798a0aafcd01674e678dd65d2c0a58af09a6739adaf80f821a2676c340a349fca61929edfc5a9389938
|
||||
DIST lyx-2.1.5.tar.xz 10361112 SHA256 2e677591aebdd484efb7d2920357f1358f9525ab1feaa59a63a8cf92b7ee2cf3 SHA512 6f8c62ff96458d0c8c8057ae1e587be4c63bd3bdf2d4f095c24d447017034eda8c6b645efbd258f0956a9bbfe5fde2f90df36515be7b8a94cb63674bc3a58672 WHIRLPOOL 46ee376a7ef9594d22c0c5385e07221dbc5fb3ae1c8e3e754cbc11f53d665d2c9db66a250716fc03384f23ec7133556cca0c500555c471bb7be288c47fc13db5
|
||||
DIST lyx-2.2.0.tar.xz 14640052 SHA256 d867986870e3f7451f0d4512c60d9c3c7682da59c6c638f18b731f4ad3fa7c80 SHA512 3bc6a3dcd2271d942d1d34cf5f7b7c74d1d58499d070e5b7c056ee03d5195467a4230d18a65e9a591e76655970413370fd6233495c8d3ab977270488082425df WHIRLPOOL 5cd3b13ad8852d4ed5c59a11872547f0bb602119ce2ddbc29c5f7c240b7ca091cf341c0d22ff13c63980057706abf4a35cf5d03625545f598261c98ec4292497
|
||||
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/${MY_P}.tar.xz
|
||||
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/${MY_P}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
>=dev-libs/boost-1.34:=
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
app-text/texlive
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht[java]
|
||||
)
|
||||
)
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
|
||||
|| ( gnome-base/librsvg media-gfx/inkscape )
|
||||
)
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.1-python.patch
|
||||
sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
doicon -s 48 "${S}/lib/images/lyx.png"
|
||||
doicon -s scalable "${S}/lib/images/lyx.svg"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -0,0 +1,248 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# The version of readline this bash normally ships with.
|
||||
READLINE_VER="6.3"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-${READLINE_VER} )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.3-mapfile-improper-array-name-validation.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-arrayfunc.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-protos.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"${EPREFIX}/usr/local/sbin:${EPREFIX}/usr/local/bin:${EPREFIX}/usr/sbin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"${EPREFIX}/bin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"${EPREFIX}/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"${EPREFIX}/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
-DUSE_MKTEMP -DUSE_MKSTEMP \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER}
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
if use plugins; then
|
||||
append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
else
|
||||
# Disable the plugins logic by hand since bash doesn't
|
||||
# provide a way of doing it.
|
||||
export ac_cv_func_dl{close,open,sym}=no \
|
||||
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
|
||||
sed -i \
|
||||
-e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
|
||||
configure || die
|
||||
fi
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--docdir='$(datarootdir)'/doc/${PF} \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/bash_logout
|
||||
doins "${FILESDIR}"/bashrc
|
||||
keepdir /etc/bash/bashrc.d
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,startup-files} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]] ; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]] ; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
--- a/redir.c
|
||||
+++ b/redir.c
|
||||
@@ -31,6 +31,7 @@
|
||||
#endif
|
||||
#include "filecntl.h"
|
||||
#include "posixstat.h"
|
||||
+#include "trap.h"
|
||||
|
||||
#if defined (HAVE_UNISTD_H)
|
||||
# include <unistd.h>
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Flash-optimized, in-memory, nosql database"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}-debian7.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}-debian7"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup aerospike
|
||||
enewuser aerospike -1 /bin/bash /opt/aerospike aerospike
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local server_deb="${P}.debian7.x86_64.deb"
|
||||
local tools_deb="aerospike-tools-3.8.3.debian7.x86_64.deb"
|
||||
|
||||
ar x "${server_deb}" || die
|
||||
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||
|
||||
ar x "${tools_deb}" || die
|
||||
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||
|
||||
rm *.deb asinstall control.tar.gz debian-binary LICENSE SHA256SUMS
|
||||
rm usr/bin/{asfixownership,asmigrate2to3}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/
|
||||
doins -r opt/aerospike
|
||||
|
||||
fperms +x -R /opt/aerospike/bin/
|
||||
fperms +x -R /opt/aerospike/lib/python/
|
||||
|
||||
for dir in '/etc' '/var/log'; do
|
||||
keepdir "${dir}/aerospike"
|
||||
done
|
||||
|
||||
insinto /etc/aerospike
|
||||
for conf in 'aerospike.conf' 'aerospike_mesh.conf' 'aerospike_ssd.conf'; do
|
||||
doins "${FILESDIR}/${conf}"
|
||||
done
|
||||
|
||||
insinto /usr/bin
|
||||
doins usr/bin/*
|
||||
fperms +x -R /usr/bin/asd
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/aerospike.logrotate aerospike
|
||||
|
||||
newinitd "${FILESDIR}"/aerospike.init aerospike
|
||||
|
||||
fowners -R aerospike:aerospike /opt/aerospike/
|
||||
fowners aerospike:aerospike /usr/bin/asd
|
||||
fowners -R aerospike:aerospike /var/log/aerospike
|
||||
}
|
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1 versionator toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
|
||||
KEYWORDS=""
|
||||
else
|
||||
ABI_VER="$(get_version_component_range 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# from src/snapshots.txt
|
||||
RUST_SNAPSHOT_DATE="2016-03-18"
|
||||
RUST_SNAPSHOT_SRCHASH="235d774"
|
||||
RUST_SNAPSHOT_HASH_amd64="1273b6b6aed421c9e40c59f366d0df6092ec0397"
|
||||
RUST_SNAPSHOT_HASH_x86="0e0e4448b80d0a12b75485795244bb3857a0a7ef"
|
||||
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
|
||||
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
|
||||
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clang debug doc libcxx +system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
RDEPEND="libcxx? ( sys-libs/libcxx )
|
||||
system-llvm? ( >=sys-devel/llvm-3.7.1-r1:=[multitarget]
|
||||
<sys-devel/llvm-3.9.0:=[multitarget] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
"
|
||||
|
||||
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "rustc-${PV}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
local stagename="RUST_STAGE0_${ARCH}"
|
||||
local stage0="${!stagename}"
|
||||
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT%%/*} \
|
||||
--disable-manage-submodules \
|
||||
--default-linker=$(tc-getBUILD_CC) \
|
||||
--default-ar=$(tc-getBUILD_AR) \
|
||||
--python=${EPYTHON} \
|
||||
--disable-rpath \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ocaml-re-1.5.0.tar.gz 103242 SHA256 53322f763a8d771a68f986c9c323cab7d3afa56873c3eefa528fb92b1b511dd3 SHA512 f094eadabf4fd976cbae0f288673ef27c9c3fbc4ddf6ada283e20a240fc9865139956096030b7ae8173bf71bd98cf67cadca72562524a7be168dfe77fe4c6469 WHIRLPOOL 6b13262476e9ee143a662243d1efc07bf227d48450c7892fc8667a1efd45853e48dff3d391c49ed8f43dde932a4ed3d63b63118919bc930e8d1c2ed05426e17a
|
||||
DIST ocaml-re-1.6.0.tar.gz 104014 SHA256 5e719921bcc0a2d772b4ec2f611af708b9bc992b7f1233aa7ff389ab08c141cb SHA512 e93aa35e76b6942a68ef65771654ee4cd1530428d253e4a00c89efa8593021748bfb00c75163c3a8a2d96660d6845252474bc73f134199cffb820f707df6a1de WHIRLPOOL 5800a1726cafab3c36d9ba5ab262d9523ea36f3647480b9b7dee03b6aaa17e856af77ded9413d51d4b76c3a699b726154f083f2cc772f8522cd853845030eb22
|
||||
DIST ocaml-re-1.6.1.tar.gz 104143 SHA256 4fe88b095bb65abc3e9b132bdd6fba7451eb3a32f1a5cd6a0f9a92faca099f47 SHA512 5e3c170ce62fbfcf23572ef49ff861835c8c5e86a274ef8db6039476d89f2643b12d5f72e81e56dc0d8f71580f9b7e55b39ed26b31fb65657e9adc50c7d72345 WHIRLPOOL 548046d98fec6c92649fbf023ee3bb5d1240645f3924509cce9bda34e2f0574bbbb86824ba571552472f66d1661fe7597fb004764f68e81f255148313a7b3c48
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="Regular expression library for OCaml"
|
||||
HOMEPAGE="https://github.com/ocaml/ocaml-re"
|
||||
SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-4.02:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ml/ounit )"
|
||||
DOCS=( "CHANGES" "TODO.txt" "README.md" )
|
@ -1 +1,2 @@
|
||||
DIST django_polymorphic-0.7.2.tar.gz 36041 SHA256 f2f64fcf818b824316fb86fb1b5e8b18fa0b82c58eb881c05a0d06045cf4539a SHA512 afe391f635fcde0490a4bfd64d373794134a2e56066e07236299c07669eaa8afbef6f6d1a6116061716edb95ef1db0c0e4da91a7e8516f517206499d41051250 WHIRLPOOL dae7a2e6b7c29eab63de736498b9cb991e36a06df42df1da3632e0e257d0987ea1f1e9a7e3367e2e4b5b88efbe6bfd031759a94f94fa6400645db1075a52a393
|
||||
DIST django_polymorphic-0.9.2.tar.gz 39400 SHA256 fd8e88ed6b01b038fedf8eb63392f29a158143b36bde71424e194cbc382a447c SHA512 db22b880e042bf70ae215c95ce2cc5bca5f8622e7554af7c9e4b15daf10f45e70b255d9db2280a5de3a0c7a07dee3eb2b8cea5552b28c24ec8c301713165d993 WHIRLPOOL 35c51330c2ef1645ed6edebee941a3404fbc9414fd1edf29ac3c03e753672e20675a03940692402436bffcc887935795aba434201f1a087cc9785d44200b54c0
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Seamless Polymorphic Inheritance for Django Models"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-polymorphic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.4
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/setuptools
|
||||
"
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python{3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Glance API"
|
||||
HOMEPAGE="https://github.com/openstack/python-glanceclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
REQUIRED_USE="test? ( doc )"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/ordereddict[$(python_gen_usedep 'python2_7')]
|
||||
>=dev-python/os-client-config-1.13.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/reno-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
|
||||
<dev-python/fixtures-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-lib-0.14.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.3.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.3.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.3.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/python-keystoneclient-1.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.8.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/warlock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/warlock-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
|
||||
sed -i '/^argparse/d' requirements.txt || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "testsuite failed under python2.7"
|
||||
flake8 tests && einfo "run flake8 over tests folder passed" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST desktop-file-utils-0.21.tar.xz 128972 SHA256 b6c9b860538ef1cffbcdfbc9cb578f85a080ad8c1207c8b3a39e9fd183f9782b SHA512 c7372d820e996eef72e85c7190c7f7cce61a3e08ebc348822013d1b28971db294242ce108d8f5e8e6c7539f9044619511d2bba0459a319bddbe5e5cf5d8665aa WHIRLPOOL 04e4957c52f5093db72a92735ac2438163303eac3edb3f0ec0361aa08c8cbca3a06cc648074f13dd5764afc86a1725fc6e9d85fac2e10bc2352b2ce56e970379
|
||||
DIST desktop-file-utils-0.22.tar.xz 131028 SHA256 843532672692f98e9b2d6ae6cc8658da562dfde1606c7f33d9d227a344de56c5 SHA512 26c1f0da44e4d3fc286640084ad1fad0595fc94edb5d2edd2a4d8cbed0aea4e409aa1a610cbba372f8e540188b62aed764fc7fdecddefbcfeeaedd1d19e3d20a WHIRLPOOL 70d57623cb16d5ecdb4a1cb24fd4545f6d4dfe7aba51446570684cf09eb1d498c0ce575ad8f3255289dd15987d632b76c51b99a335cb9f3a3099d2901bdaf2ea
|
||||
DIST desktop-file-utils-0.23.tar.xz 132000 SHA256 6c094031bdec46c9f621708f919084e1cb5294e2c5b1e4c883b3e70cb8903385 SHA512 66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a WHIRLPOOL 3d2fd970eda245e03ef566741f24433b601e76f100dfd7b33fad5035eca55b8e0d3b7b62d46b6749dafb682c1c6db46ad293010aecca54e1f729372ca87c6da6
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit elisp-common eutils
|
||||
|
||||
DESCRIPTION="Command line utilities to work with desktop menu entries"
|
||||
HOMEPAGE="https://freedesktop.org/wiki/Software/desktop-file-utils"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.12:2
|
||||
emacs? ( virtual/emacs )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
DOCS=( AUTHORS ChangeLog HACKING NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e '/SUBDIRS =/s:misc::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf "$(use_with emacs lispdir "${SITELISP}"/${PN})"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use emacs && elisp-compile misc/desktop-entry-mode.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use emacs; then
|
||||
elisp-install ${PN} misc/*.el misc/*.elc || die
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
From dece8fd89979cd1a86c03bcaceef6e9221e8d8cd Mon Sep 17 00:00:00 2001
|
||||
From: taro yamada <archer_ame@yahoo.co.jp>
|
||||
Date: Wed, 18 May 2016 00:08:09 +0200
|
||||
Subject: [PATCH] Fix permissions of /tmp/xauth-xxx-_y
|
||||
|
||||
BUGS: 358593
|
||||
---
|
||||
src/kdeinit/kinit.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp
|
||||
index ca18603..19e38b8 100644
|
||||
--- a/src/kdeinit/kinit.cpp
|
||||
+++ b/src/kdeinit/kinit.cpp
|
||||
@@ -1531,6 +1531,7 @@ static void setupX()
|
||||
QSaveFile xauthfile(xauth);
|
||||
QFile xauthfrom(QFile::decodeName(qgetenv("XAUTHORITY")));
|
||||
if (!xauthfrom.open(QFile::ReadOnly) || !xauthfile.open(QFile::WriteOnly)
|
||||
+ || !xauthfile.setPermissions(QFile::ReadOwner | QFile::WriteOwner)
|
||||
|| xauthfile.write(xauthfrom.readAll()) != xauthfrom.size() || !xauthfile.commit()) {
|
||||
// error
|
||||
} else {
|
||||
--
|
||||
2.7.3
|
||||
|
||||
From 72f3702dbe6cf15c06dc13da2c99c864e9022a58 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Sat, 21 May 2016 17:48:36 +0200
|
||||
Subject: [PATCH] Fix race in which the file containing the X11 cookie has the
|
||||
wrong permissions for a small while
|
||||
|
||||
if someone is very fast can watch the file between the open and the setPermissions
|
||||
|
||||
REVIEW: 127973
|
||||
Acked-by: mpyne
|
||||
---
|
||||
src/kdeinit/kinit.cpp | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp
|
||||
index 19e38b8..216c87e 100644
|
||||
--- a/src/kdeinit/kinit.cpp
|
||||
+++ b/src/kdeinit/kinit.cpp
|
||||
@@ -1530,13 +1530,15 @@ static void setupX()
|
||||
+ QString::number(getuid()) + QLatin1Char('-') + QString::fromLocal8Bit(display);
|
||||
QSaveFile xauthfile(xauth);
|
||||
QFile xauthfrom(QFile::decodeName(qgetenv("XAUTHORITY")));
|
||||
+ // Set umask to make sure the file permissions of xauthfile are correct
|
||||
+ mode_t oldMask = umask(S_IRGRP | S_IROTH | S_IWGRP | S_IWOTH);
|
||||
if (!xauthfrom.open(QFile::ReadOnly) || !xauthfile.open(QFile::WriteOnly)
|
||||
- || !xauthfile.setPermissions(QFile::ReadOwner | QFile::WriteOwner)
|
||||
|| xauthfile.write(xauthfrom.readAll()) != xauthfrom.size() || !xauthfile.commit()) {
|
||||
// error
|
||||
} else {
|
||||
qputenv("XAUTHORITY", QFile::encodeName(xauth));
|
||||
}
|
||||
+ umask(oldMask);
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.7.3
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_TEST="false"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Helper library to speed up start of applications on KDE work spaces"
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+caps +man"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
caps? ( sys-libs/libcap )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
man? ( $(add_frameworks_dep kdoctools) )
|
||||
x11-proto/xproto
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cve-2016-3100.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package caps Libcap)
|
||||
$(cmake-utils_use_find_package man KF5DocTools)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
From 6d804bf9ae77bc86a0a97f9b944a129844df9395 Mon Sep 17 00:00:00 2001
|
||||
From: Shmuel H <shmuelgimp@gmail.com>
|
||||
Date: Mon, 20 Jun 2016 17:14:41 +0300
|
||||
Subject: Bug 767873 - (CVE-2016-4994) Multiple Use-After-Free when parsing...
|
||||
|
||||
...XCF channel and layer properties
|
||||
|
||||
The properties PROP_ACTIVE_LAYER, PROP_FLOATING_SELECTION,
|
||||
PROP_ACTIVE_CHANNEL saves the current object pointer the @info
|
||||
structure. Others like PROP_SELECTION (for channel) and
|
||||
PROP_GROUP_ITEM (for layer) will delete the current object and create
|
||||
a new object, leaving the pointers in @info invalid (dangling).
|
||||
|
||||
Therefore, if a property from the first type will come before the
|
||||
second, the result will be an UaF in the last lines of xcf_load_image
|
||||
(when it actually using the pointers from @info).
|
||||
|
||||
I wasn't able to exploit this bug because that
|
||||
g_object_instance->c_class gets cleared by the last g_object_unref and
|
||||
GIMP_IS_{LAYER,CHANNEL} detects that and return FALSE.
|
||||
---
|
||||
app/xcf/xcf-load.c | 29 +++++++++++++++++++++++++++++
|
||||
1 file changed, 29 insertions(+)
|
||||
|
||||
diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c
|
||||
index f48558a..244d5c2 100644
|
||||
--- a/app/xcf/xcf-load.c
|
||||
+++ b/app/xcf/xcf-load.c
|
||||
@@ -1141,6 +1141,18 @@ xcf_load_layer_props (XcfInfo *info,
|
||||
case PROP_GROUP_ITEM:
|
||||
{
|
||||
GimpLayer *group;
|
||||
+ gboolean is_active_layer;
|
||||
+
|
||||
+ /* We're going to delete *layer, Don't leave its pointers
|
||||
+ * in @info. After that, we'll restore them back with the
|
||||
+ * new pointer. See bug #767873.
|
||||
+ */
|
||||
+ is_active_layer = (*layer == info->active_layer);
|
||||
+ if (is_active_layer)
|
||||
+ info->active_layer = NULL;
|
||||
+
|
||||
+ if (*layer == info->floating_sel)
|
||||
+ info->floating_sel = NULL;
|
||||
|
||||
group = gimp_group_layer_new (image);
|
||||
|
||||
@@ -1150,6 +1162,13 @@ xcf_load_layer_props (XcfInfo *info,
|
||||
g_object_ref_sink (*layer);
|
||||
g_object_unref (*layer);
|
||||
*layer = group;
|
||||
+
|
||||
+ if (is_active_layer)
|
||||
+ info->active_layer = *layer;
|
||||
+
|
||||
+ /* Don't restore info->floating_sel because group layers
|
||||
+ * can't be floating selections
|
||||
+ */
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1220,6 +1239,12 @@ xcf_load_channel_props (XcfInfo *info,
|
||||
{
|
||||
GimpChannel *mask;
|
||||
|
||||
+ /* We're going to delete *channel, Don't leave its pointer
|
||||
+ * in @info. See bug #767873.
|
||||
+ */
|
||||
+ if (*channel == info->active_channel)
|
||||
+ info->active_channel = NULL;
|
||||
+
|
||||
mask =
|
||||
gimp_selection_new (image,
|
||||
gimp_item_get_width (GIMP_ITEM (*channel)),
|
||||
@@ -1234,6 +1259,10 @@ xcf_load_channel_props (XcfInfo *info,
|
||||
*channel = mask;
|
||||
(*channel)->boundary_known = FALSE;
|
||||
(*channel)->bounds_known = FALSE;
|
||||
+
|
||||
+ /* Don't restore info->active_channel because the
|
||||
+ * selection can't be the active channel
|
||||
+ */
|
||||
}
|
||||
break;
|
||||
|
||||
--
|
||||
cgit v0.12
|
||||
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="http://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
LANGS="am ar ast az be bg br ca ca@valencia cs csb da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko lt lv mk ml ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW"
|
||||
IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms cpu_flags_x86_mmx mng pdf png python smp cpu_flags_x86_sse svg tiff udev webkit wmf xpm"
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.30.2:2
|
||||
>=dev-libs/atk-2.2.0
|
||||
>=x11-libs/gtk+-2.24.10:2
|
||||
>=x11-libs/gdk-pixbuf-2.24.1:2
|
||||
>=x11-libs/cairo-1.10.2
|
||||
>=x11-libs/pango-1.29.4
|
||||
xpm? ( x11-libs/libXpm )
|
||||
>=media-libs/freetype-2.1.7
|
||||
>=media-libs/fontconfig-2.2.0
|
||||
sys-libs/zlib
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
x11-themes/hicolor-icon-theme
|
||||
>=media-libs/babl-0.1.10
|
||||
>=media-libs/gegl-0.2.0:0
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
aqua? ( x11-libs/gtk-mac-integration )
|
||||
curl? ( net-misc/curl )
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
gnome? ( gnome-base/gvfs )
|
||||
webkit? ( >=net-libs/webkit-gtk-1.6.1:2 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
exif? ( >=media-libs/libexif-0.6.15 )
|
||||
lcms? ( >=media-libs/lcms-2.2:2 )
|
||||
mng? ( media-libs/libmng )
|
||||
pdf? ( >=app-text/poppler-0.12.4[cairo] )
|
||||
png? ( >=media-libs/libpng-1.2.37:0 )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
tiff? ( >=media-libs/tiff-3.5.7:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.36.0:2 )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
x11-libs/libXcursor
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
udev? ( virtual/libgudev:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.19
|
||||
doc? ( >=dev-util/gtk-doc-1 )
|
||||
>=sys-devel/libtool-2.2
|
||||
>=sys-devel/automake-1.11
|
||||
dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
|
||||
|
||||
DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
|
||||
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="--enable-default-binary \
|
||||
--disable-silent-rules \
|
||||
$(use_with !aqua x) \
|
||||
$(use_with aalib aa) \
|
||||
$(use_with alsa) \
|
||||
$(use_enable altivec) \
|
||||
$(use_with bzip2) \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnome gvfs) \
|
||||
$(use_with webkit) \
|
||||
$(use_with jpeg libjpeg) \
|
||||
$(use_with jpeg2k libjasper) \
|
||||
$(use_with exif libexif) \
|
||||
$(use_with lcms lcms lcms2) \
|
||||
$(use_with postscript gs) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx) \
|
||||
$(use_with mng libmng) \
|
||||
$(use_with pdf poppler) \
|
||||
$(use_with png libpng) \
|
||||
$(use_enable python) \
|
||||
$(use_enable smp mp) \
|
||||
$(use_enable cpu_flags_x86_sse sse) \
|
||||
$(use_with svg librsvg) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with udev gudev) \
|
||||
$(use_with wmf) \
|
||||
--with-xmc \
|
||||
$(use_with xpm libxpm) \
|
||||
--without-xvfb-run"
|
||||
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-blend-center.patch # bug 558878
|
||||
epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
|
||||
epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
|
||||
epatch "${FILESDIR}"/${PN}-2.9.2-CVE-2016-4994.patch # bug 586666
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
_clean_up_locales() {
|
||||
einfo "Cleaning up locales..."
|
||||
for lang in ${LANGS}; do
|
||||
use "linguas_${lang}" && {
|
||||
einfo "- keeping ${lang}"
|
||||
continue
|
||||
}
|
||||
rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use python; then
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
local gimp_app_version=$(get_version_component_range 1-2)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
||||
|
||||
_clean_up_locales
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="http://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
LANGS="am ar ast az be bg br ca ca@valencia cs csb da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko lt lv mk ml ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW"
|
||||
IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms cpu_flags_x86_mmx mng pdf png python smp cpu_flags_x86_sse svg tiff udev webkit wmf xpm"
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.30.2:2
|
||||
>=dev-libs/atk-2.2.0
|
||||
>=x11-libs/gtk+-2.24.10:2
|
||||
>=x11-libs/gdk-pixbuf-2.24.1:2
|
||||
>=x11-libs/cairo-1.10.2
|
||||
>=x11-libs/pango-1.29.4
|
||||
xpm? ( x11-libs/libXpm )
|
||||
>=media-libs/freetype-2.1.7
|
||||
>=media-libs/fontconfig-2.2.0
|
||||
sys-libs/zlib
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
x11-themes/hicolor-icon-theme
|
||||
>=media-libs/babl-0.1.10
|
||||
>=media-libs/gegl-0.2.0:0
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
aqua? ( x11-libs/gtk-mac-integration )
|
||||
curl? ( net-misc/curl )
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
gnome? ( gnome-base/gvfs )
|
||||
webkit? ( >=net-libs/webkit-gtk-1.6.1:2 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
exif? ( >=media-libs/libexif-0.6.15 )
|
||||
lcms? ( >=media-libs/lcms-2.2:2 )
|
||||
mng? ( media-libs/libmng )
|
||||
pdf? ( >=app-text/poppler-0.12.4[cairo] )
|
||||
png? ( >=media-libs/libpng-1.2.37:0 )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
tiff? ( >=media-libs/tiff-3.5.7:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.36.0:2 )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
x11-libs/libXcursor
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
udev? ( virtual/libgudev:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.19
|
||||
doc? ( >=dev-util/gtk-doc-1 )
|
||||
>=sys-devel/libtool-2.2
|
||||
>=sys-devel/automake-1.11
|
||||
dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
|
||||
|
||||
DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
|
||||
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="--enable-default-binary \
|
||||
--disable-silent-rules \
|
||||
$(use_with !aqua x) \
|
||||
$(use_with aalib aa) \
|
||||
$(use_with alsa) \
|
||||
$(use_enable altivec) \
|
||||
$(use_with bzip2) \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnome gvfs) \
|
||||
$(use_with webkit) \
|
||||
$(use_with jpeg libjpeg) \
|
||||
$(use_with jpeg2k libjasper) \
|
||||
$(use_with exif libexif) \
|
||||
$(use_with lcms lcms lcms2) \
|
||||
$(use_with postscript gs) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx) \
|
||||
$(use_with mng libmng) \
|
||||
$(use_with pdf poppler) \
|
||||
$(use_with png libpng) \
|
||||
$(use_enable python) \
|
||||
$(use_enable smp mp) \
|
||||
$(use_enable cpu_flags_x86_sse sse) \
|
||||
$(use_with svg librsvg) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with udev gudev) \
|
||||
$(use_with wmf) \
|
||||
--with-xmc \
|
||||
$(use_with xpm libxpm) \
|
||||
--without-xvfb-run"
|
||||
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.8.14-blend-center.patch # bug 558878
|
||||
epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
|
||||
epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
|
||||
epatch "${FILESDIR}"/${PN}-2.9.2-CVE-2016-4994.patch # bug 586666
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
_clean_up_locales() {
|
||||
einfo "Cleaning up locales..."
|
||||
for lang in ${LANGS}; do
|
||||
use "linguas_${lang}" && {
|
||||
einfo "- keeping ${lang}"
|
||||
continue
|
||||
}
|
||||
rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use python; then
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
local gimp_app_version=$(get_version_component_range 1-2)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
||||
|
||||
_clean_up_locales
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -0,0 +1,168 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="http://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
LANGS="am ar ast az be bg br ca ca@valencia cs csb da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko lt lv mk ml ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW"
|
||||
IUSE="alsa aalib altivec aqua debug doc openexr gnome postscript jpeg2k cpu_flags_x86_mmx mng pdf python smp cpu_flags_x86_sse svg tiff udev webkit wmf xpm"
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.30.2:2
|
||||
>=dev-libs/atk-2.2.0
|
||||
>=x11-libs/gtk+-2.24.10:2
|
||||
dev-util/gtk-update-icon-cache
|
||||
>=x11-libs/gdk-pixbuf-2.31:2
|
||||
>=x11-libs/cairo-1.12.2
|
||||
>=x11-libs/pango-1.29.4
|
||||
xpm? ( x11-libs/libXpm )
|
||||
>=media-libs/freetype-2.1.7
|
||||
>=media-libs/harfbuzz-0.9.19
|
||||
>=media-libs/gexiv2-0.6.1
|
||||
>=media-libs/fontconfig-2.2.0
|
||||
sys-libs/zlib
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
x11-themes/hicolor-icon-theme
|
||||
>=media-libs/babl-0.1.14
|
||||
>=media-libs/gegl-0.3.4:0.3[cairo]
|
||||
>=dev-libs/glib-2.43
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
aqua? ( x11-libs/gtk-mac-integration )
|
||||
dev-util/gdbus-codegen
|
||||
gnome? ( gnome-base/gvfs )
|
||||
webkit? ( >=net-libs/webkit-gtk-1.6.1:2 )
|
||||
virtual/jpeg:0
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
>=media-libs/lcms-2.2:2
|
||||
mng? ( media-libs/libmng )
|
||||
openexr? ( >=media-libs/openexr-1.6.1 )
|
||||
pdf? ( >=app-text/poppler-0.12.4[cairo] >=app-text/poppler-data-0.4.7 )
|
||||
>=media-libs/libpng-1.2.37:0
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
tiff? ( >=media-libs/tiff-3.5.7:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.36.0:2 )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
x11-libs/libXcursor
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
>=app-arch/xz-utils-5.0.0
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
udev? ( virtual/libgudev:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.19
|
||||
doc? ( >=dev-util/gtk-doc-1 )
|
||||
>=sys-devel/libtool-2.2
|
||||
>=sys-devel/automake-1.11
|
||||
dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
|
||||
|
||||
DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
|
||||
|
||||
S="${WORKDIR}"/${P}
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="--enable-default-binary \
|
||||
--disable-silent-rules \
|
||||
$(use_with !aqua x) \
|
||||
--without-libmypaint \
|
||||
$(use_with aalib aa) \
|
||||
$(use_with alsa) \
|
||||
$(use_enable altivec) \
|
||||
$(use_with webkit) \
|
||||
$(use_with jpeg2k libjasper) \
|
||||
$(use_with postscript gs) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx) \
|
||||
$(use_with mng libmng) \
|
||||
$(use_with openexr) \
|
||||
$(use_with pdf poppler) \
|
||||
$(use_enable python) \
|
||||
$(use_enable smp mp) \
|
||||
$(use_enable cpu_flags_x86_sse sse) \
|
||||
$(use_with svg librsvg) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with udev gudev) \
|
||||
$(use_with wmf) \
|
||||
--with-xmc \
|
||||
$(use_with xpm libxpm) \
|
||||
--without-xvfb-run"
|
||||
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.9.2-version.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.9.2-no-deprecation.patch # bug 395695, comment 9 and 16
|
||||
epatch "${FILESDIR}"/${P}-CVE-2016-4994.patch # bug 586666
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
_clean_up_locales() {
|
||||
einfo "Cleaning up locales..."
|
||||
for lang in ${LANGS}; do
|
||||
use "linguas_${lang}" && {
|
||||
einfo "- keeping ${lang}"
|
||||
continue
|
||||
}
|
||||
rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use python; then
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
local gimp_app_version=$(get_version_component_range 1-2)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
||||
|
||||
_clean_up_locales
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="hamlib nls portaudio pulseaudio sndfile"
|
||||
|
||||
RDEPEND="x11-libs/fltk:1[threads,xft]
|
||||
media-libs/libsamplerate
|
||||
media-libs/libpng:0
|
||||
x11-misc/xdg-utils
|
||||
dev-perl/RPC-XML
|
||||
dev-perl/Term-ReadLine-Perl
|
||||
hamlib? ( media-libs/hamlib )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre20071207 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sndfile? ( >=media-libs/libsndfile-1.0.10 )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sndfile) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with hamlib) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pulseaudio) \
|
||||
--disable-silent-rules \
|
||||
--without-asciidoc
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kmetronome-0.10.1.tar.bz2 201241 SHA256 76907378433fe1e7041ba575b4cef8132819a3eed63373e1c2d4bfc746eb2d30 SHA512 27203f2a85e13cb61ccb214f445c9ce51c4b101a0114e6bf0133128a8998886b73b38c6215ee51c095de7494933706043c925d5be7a268c17a9086cabea78b86 WHIRLPOOL 759819de4d1586f616e210be69baaf36f42f464224f8247b809c1d85c7dd5090934fff6110d3b34a885b67b2815df9b79574e3c63167c069cd2432aff8533e69
|
||||
DIST kmetronome-1.0.0.tar.bz2 225715 SHA256 8b8acc5af534679ae947ee4b0fd415c298aecaefcef174988ea1f211c8d56e9f SHA512 69290c56119de78a75863c8afd891fbff2d26eeb739a5e65938ba6238e522b1fb79edc6ac0264b912cb70bc3028a6245ab16cc3d22f19e30ea9a33817589f426 WHIRLPOOL 24f769381bd8bdfcffeeb3b7bc8c9bbed8f9f04e74439f1694f7bbde348c3c8c8dcfc276d51eaadc9fee04b02d40b05338cba32de67193e4738035f793a3074e
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="cs de es fr tr"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="MIDI based metronome using ALSA sequencer"
|
||||
HOMEPAGE="http://kmetronome.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-sound/drumstick
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DSTATIC_DRUMSTICK=OFF
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
Description: transition to libsystemd from deprecated libsystemd-daemon
|
||||
systemd 209 merged the various libsystemd-* libraries into a single
|
||||
libsystemd.so, so we check for that instead and rename the configure
|
||||
option, define, etc accordingly.
|
||||
Author: Florian Schlichting <fsfs@debian.org>
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779762
|
||||
Forwarded: not-needed (solved in a less invasive and backward-compatible way upstream)
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -572,10 +572,10 @@
|
||||
MPD_DEPENDS([enable_sqlite], [enable_glib],
|
||||
[Cannot use --enable-sqlite with --disable-glib])
|
||||
|
||||
-AC_ARG_ENABLE(systemd-daemon,
|
||||
- AS_HELP_STRING([--enable-systemd-daemon],
|
||||
- [use the systemd daemon library (default=auto)]),,
|
||||
- [enable_systemd_daemon=$linux_auto])
|
||||
+AC_ARG_ENABLE(systemd,
|
||||
+ AS_HELP_STRING([--enable-systemd],
|
||||
+ [use the systemd library (default=auto)]),,
|
||||
+ [enable_systemd=$linux_auto])
|
||||
|
||||
AC_ARG_ENABLE(tcp,
|
||||
AS_HELP_STRING([--disable-tcp],
|
||||
@@ -762,11 +762,11 @@
|
||||
AC_MSG_ERROR([No client interfaces configured!])
|
||||
fi
|
||||
|
||||
-MPD_AUTO_PKG(systemd_daemon, SYSTEMD_DAEMON, libsystemd-daemon,
|
||||
- [systemd activation], [libsystemd-daemon not found])
|
||||
-AM_CONDITIONAL(ENABLE_SYSTEMD_DAEMON, test x$enable_systemd_daemon = xyes)
|
||||
-if test x$enable_systemd_daemon = xyes; then
|
||||
- AC_DEFINE([ENABLE_SYSTEMD_DAEMON], 1, [Define to use the systemd daemon library])
|
||||
+MPD_AUTO_PKG(systemd, SYSTEMD, libsystemd,
|
||||
+ [systemd activation], [libsystemd not found])
|
||||
+AM_CONDITIONAL(ENABLE_SYSTEMD, test x$enable_systemd = xyes)
|
||||
+if test x$enable_systemd = xyes; then
|
||||
+ AC_DEFINE([ENABLE_SYSTEMD], 1, [Define to use the systemd library])
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -58,7 +58,7 @@
|
||||
$(ICU_LDADD) \
|
||||
libutil.a \
|
||||
$(FS_LIBS) \
|
||||
- $(SYSTEMD_DAEMON_LIBS) \
|
||||
+ $(SYSTEMD_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
src_mpd_SOURCES = \
|
||||
--- a/config.h.in
|
||||
+++ b/config.h.in
|
||||
@@ -75,8 +75,8 @@
|
||||
/* Define to enable sqlite database support */
|
||||
#undef ENABLE_SQLITE
|
||||
|
||||
-/* Define to use the systemd daemon library */
|
||||
-#undef ENABLE_SYSTEMD_DAEMON
|
||||
+/* Define to use the systemd library */
|
||||
+#undef ENABLE_SYSTEMD
|
||||
|
||||
/* Define to enable the TwoLAME encoder plugin */
|
||||
#undef ENABLE_TWOLAME_ENCODER
|
||||
--- a/src/Listen.cxx
|
||||
+++ b/src/Listen.cxx
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
-#ifdef ENABLE_SYSTEMD_DAEMON
|
||||
+#ifdef ENABLE_SYSTEMD
|
||||
#include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-#ifdef ENABLE_SYSTEMD_DAEMON
|
||||
+#ifdef ENABLE_SYSTEMD
|
||||
|
||||
static bool
|
||||
listen_systemd_activation(Error &error_r)
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
listen_socket = new ClientListener(loop, partition);
|
||||
|
||||
-#ifdef ENABLE_SYSTEMD_DAEMON
|
||||
+#ifdef ENABLE_SYSTEMD
|
||||
if (listen_systemd_activation(error))
|
||||
return true;
|
||||
|
||||
--- a/doc/user.xml
|
||||
+++ b/doc/user.xml
|
||||
@@ -110,7 +110,7 @@
|
||||
libupnp-dev \
|
||||
libavahi-client-dev \
|
||||
libsqlite3-dev \
|
||||
- libsystemd-daemon-dev libwrap0-dev \
|
||||
+ libsystemd-dev libwrap0-dev \
|
||||
libcppunit-dev xmlto \
|
||||
libboost-dev \
|
||||
libglib2.0-dev libicu-dev
|
@ -0,0 +1,257 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic linux-info multilib systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="http://www.musicpd.org"
|
||||
SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
"${FILESDIR}"/${PN}-0.9.15-systemd.patch # bug 584742
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
|
||||
elog "If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
sed -i '/WantedBy=/c WantedBy=default.target' \
|
||||
"${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 22 Jun 2016 06:40:46 +0000
|
||||
Thu, 23 Jun 2016 09:48:47 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 22 Jun 2016 06:40:46 +0000
|
||||
Thu, 23 Jun 2016 09:48:47 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DEPEND=app-crypt/gcr dev-python/eventlet dev-python/flask dev-python/greenlet dev-python/setproctitle www-servers/gunicorn
|
||||
DESCRIPTION=Web UI based monitoring tool for Aerospike Community Edition Server
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.aerospike.com
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=app-crypt/gcr dev-python/eventlet dev-python/flask dev-python/greenlet dev-python/setproctitle www-servers/gunicorn
|
||||
SLOT=0
|
||||
SRC_URI=http://www.aerospike.com/artifacts/aerospike-amc-community/3.6.8.2/aerospike-amc-community-3.6.8.2.all.x86_64.deb
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=ecbf4c92092b64cbb207fea9b2875fcc
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=install postinst unpack
|
||||
DEPEND=app-arch/unzip
|
||||
DESCRIPTION=Online password manager and form filler that makes web browsing easier and more secure
|
||||
EAPI=5
|
||||
HOMEPAGE=https://lastpass.com/misc_download2.php
|
||||
IUSE=+chromium +firefox +chrome
|
||||
KEYWORDS=-* ~x86 ~amd64
|
||||
LICENSE=LastPass
|
||||
RDEPEND=!!app-admin/lastpass-binary-component chrome? ( || ( www-client/google-chrome www-client/google-chrome-beta www-client/google-chrome-unstable ) ) chromium? ( >=www-client/chromium-32.0.1700.102 ) firefox? ( www-client/firefox )
|
||||
REQUIRED_USE=|| ( firefox chromium chrome )
|
||||
RESTRICT=strip mirror
|
||||
SLOT=0
|
||||
SRC_URI=https://lastpass.com/lplinux.tar.bz2 -> lplinux-3.2.16.tar.bz2 https://lastpass.com/lpchrome_linux.crx -> lpchrome_linux-3.2.16.crx firefox? ( https://lastpass.com/lp_linux.xpi -> lp_linux-3.2.16.xpi )
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde multilib d062ae4ba2fc40a19c11de2ad89b6616 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=27e7fdf60d7b1790db082c65c7595306
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install postinst setup
|
||||
DESCRIPTION=Tool for managing events and logs
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.elastic.co/products/logstash
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=|| ( virtual/jre:1.8 virtual/jre:1.7 )
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://download.elastic.co/logstash/logstash/logstash-2.3.3.tar.gz
|
||||
_eclasses_=user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=e91a850a62dc40cd715ba4d468fc36d8
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup unpack
|
||||
DEPEND=dev-libs/gmp:0 !bacula-clientonly? ( postgres? ( dev-db/postgresql:*[threads] ) mysql? ( virtual/mysql ) sqlite? ( dev-db/sqlite:3 ) !bacula-nodir? ( virtual/mta ) ) qt4? ( dev-qt/qtsvg:4 x11-libs/qwt:5 ) logwatch? ( sys-apps/logwatch ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) readline? ( sys-libs/readline:0 ) static? ( acl? ( virtual/acl[static-libs] ) sys-libs/zlib[static-libs] dev-libs/lzo[static-libs] sys-libs/ncurses:=[static-libs] ssl? ( !libressl? ( dev-libs/openssl:0=[static-libs] ) libressl? ( dev-libs/libressl:0=[static-libs] ) ) ) !static? ( acl? ( virtual/acl ) sys-libs/zlib dev-libs/lzo sys-libs/ncurses:= ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) ) virtual/pkgconfig
|
||||
DESCRIPTION=Featureful client/server network backup suite
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.bacula.org/
|
||||
IUSE=acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 libressl logwatch mysql postgres qt4 readline +sqlite ssl static tcpd vim-syntax X
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86
|
||||
LICENSE=AGPL-3
|
||||
RDEPEND=dev-libs/gmp:0 !bacula-clientonly? ( postgres? ( dev-db/postgresql:*[threads] ) mysql? ( virtual/mysql ) sqlite? ( dev-db/sqlite:3 ) !bacula-nodir? ( virtual/mta ) ) qt4? ( dev-qt/qtsvg:4 x11-libs/qwt:5 ) logwatch? ( sys-apps/logwatch ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) readline? ( sys-libs/readline:0 ) static? ( acl? ( virtual/acl[static-libs] ) sys-libs/zlib[static-libs] dev-libs/lzo[static-libs] sys-libs/ncurses:=[static-libs] ssl? ( !libressl? ( dev-libs/openssl:0=[static-libs] ) libressl? ( dev-libs/libressl:0=[static-libs] ) ) ) !static? ( acl? ( virtual/acl ) sys-libs/zlib dev-libs/lzo sys-libs/ncurses:= ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) ) !bacula-clientonly? ( !bacula-nosd? ( sys-block/mtx app-arch/mt-st ) ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
REQUIRED_USE=|| ( ^^ ( mysql postgres sqlite ) bacula-clientonly ) static? ( bacula-clientonly )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/bacula/bacula-7.4.0.tar.gz
|
||||
_eclasses_=base 3fe4f8980633fd7bc69e9887209ba2fe eutils 792f83d5ec9536cb5ccef375469d8bde libtool 4890219c51da247200223277f993e054 multilib d062ae4ba2fc40a19c11de2ad89b6616 qmake-utils 0a242e7177789b0028b4045f336dd4db qt4-r2 d6c113024bb3086a1facc65cd338930e systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=b01d9096ef433d74e5339845e86c3100
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst postrm preinst prepare setup
|
||||
DEPEND=dev-qt/qtgui:4 dev-qt/qtcore:4 >=dev-libs/boost-1.34:= >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] virtual/pkgconfig nls? ( sys-devel/gettext ) >=sys-apps/sed-4 X? ( x11-apps/mkfontdir media-fonts/encodings )
|
||||
DESCRIPTION=WYSIWYM frontend for LaTeX, DocBook, etc.
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.lyx.org/
|
||||
IUSE=cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant linguas_ar linguas_ca linguas_cs linguas_de linguas_da linguas_el linguas_en linguas_es linguas_eu linguas_fi linguas_fr linguas_gl linguas_he linguas_hu linguas_ia linguas_id linguas_it linguas_ja linguas_nb linguas_nn linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW X python_targets_python2_7
|
||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-qt/qtgui:4 dev-qt/qtcore:4 >=dev-libs/boost-1.34:= >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] dev-texlive/texlive-fontsextra || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) cups? ( net-print/cups ) latex? ( app-text/texlive app-text/ghostscript-gpl app-text/noweb app-text/dvipng dev-tex/dvipost dev-tex/chktex app-text/ps2eps dev-texlive/texlive-latexextra dev-texlive/texlive-pictures dev-texlive/texlive-science dev-texlive/texlive-genericextra dev-texlive/texlive-fontsrecommended || ( dev-tex/latex2html dev-tex/tth dev-tex/hevea dev-tex/tex4ht[java] ) ) html? ( dev-tex/html2latex ) rtf? ( dev-tex/latex2rtf app-text/unrtf dev-tex/html2latex ) linguas_he? ( dev-tex/culmus-latex ) docbook? ( app-text/sgmltools-lite ) dot? ( media-gfx/graphviz ) dia? ( app-office/dia ) subversion? ( dev-vcs/subversion ) rcs? ( dev-vcs/rcs ) svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] ) || ( gnome-base/librsvg media-gfx/inkscape ) ) gnumeric? ( app-office/gnumeric ) hunspell? ( app-text/hunspell ) aspell? ( app-text/aspell ) enchant? ( app-text/enchant )
|
||||
REQUIRED_USE=python_targets_python2_7
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-2.1.5.tar.xz ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.5/lyx-2.1.5.tar.xz
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic d270fa247153df66074f795fa42dba3e font cd7790315ca5b8c505e1e0513df6acce gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 multilib d062ae4ba2fc40a19c11de2ad89b6616 python-single-r1 2ebea8fbab356d63110245129a67a6dd python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=fbe3c8b7d7745366946941d466c68a59
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue