[gentoo-commits] repo/gentoo:master commit in: x11-terms/guake/files/, x11-terms/guake/

2018-10-06 Thread Jeroen Roovers
commit: a0a6dcbe1a5668bd29d2668fe959a065d566aaf2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct  6 10:22:46 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct  6 10:25:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a6dcbe

x11-terms/guake: Fix dependencies, runtime

Bug: https://bugs.gentoo.org/667878
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeroen Roovers  gentoo.org>

 x11-terms/guake/files/guake-3.4.0-paths.patch  | 14 ++
 .../guake/{guake-3.4.0.ebuild => guake-3.4.0-r1.ebuild}|  8 +---
 x11-terms/guake/guake-.ebuild  | 10 ++
 3 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/x11-terms/guake/files/guake-3.4.0-paths.patch 
b/x11-terms/guake/files/guake-3.4.0-paths.patch
new file mode 100644
index 000..30a47294d5e
--- /dev/null
+++ b/x11-terms/guake/files/guake-3.4.0-paths.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/667878
+https://github.com/Guake/guake/issues/1436
+
+--- a/guake/paths.py
 b/guake/paths.py
+@@ -35,7 +35,7 @@
+ 
+ 
+ def get_data_files_dir():
+-d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
++d = os.path.dirname(sys.modules["guake"].__file__)
+ p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
+ if p in ["site-packages", "dist-packages"]:
+ # current "guake" package has been installed in a prefix structure 
(/usr, /usr/local or

diff --git a/x11-terms/guake/guake-3.4.0.ebuild 
b/x11-terms/guake/guake-3.4.0-r1.ebuild
similarity index 88%
rename from x11-terms/guake/guake-3.4.0.ebuild
rename to x11-terms/guake/guake-3.4.0-r1.ebuild
index ec3ad80d6f2..a9aeb41ea1c 100644
--- a/x11-terms/guake/guake-3.4.0.ebuild
+++ b/x11-terms/guake/guake-3.4.0-r1.ebuild
@@ -17,13 +17,14 @@ KEYWORDS="~amd64 ~arm ~x86"
 IUSE="utempter"
 
 RDEPEND="
-   dev-libs/keybinder:3
+   dev-libs/glib[${PYTHON_USEDEP}]
+   dev-libs/keybinder:3[introspection]
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pbr[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
-   x11-libs/libnotify
-   x11-libs/vte:2.91
+   x11-libs/libnotify[introspection]
+   x11-libs/vte:2.91[introspection]
utempter? ( sys-libs/libutempter )
 "
 DEPEND="
@@ -36,6 +37,7 @@ DEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-3.3.2-paths.patch
+   "${FILESDIR}"/${PN}-3.4.0-paths.patch
 )
 S=${WORKDIR}/${P^}
 

diff --git a/x11-terms/guake/guake-.ebuild 
b/x11-terms/guake/guake-.ebuild
index 46f3706e7f3..593f8375adb 100644
--- a/x11-terms/guake/guake-.ebuild
+++ b/x11-terms/guake/guake-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,13 +17,14 @@ KEYWORDS=""
 IUSE="utempter"
 
 RDEPEND="
-   dev-libs/keybinder:3
+   dev-libs/glib[${PYTHON_USEDEP}]
+   dev-libs/keybinder:3[introspection]
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pbr[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
-   x11-libs/libnotify
-   x11-libs/vte:2.91
+   x11-libs/libnotify[introspection]
+   x11-libs/vte:2.91[introspection]
utempter? ( sys-libs/libutempter )
 "
 DEPEND="
@@ -36,6 +37,7 @@ DEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-3.3.2-paths.patch
+   "${FILESDIR}"/${PN}-3.4.0-paths.patch
 )
 
 python_compile_all() {



[gentoo-commits] repo/gentoo:master commit in: app-arch/zstd/

2018-10-06 Thread Jeroen Roovers
commit: 6f217441b9714374c955d09f5af62ca8babba9ac
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct  6 07:12:44 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct  6 10:25:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f217441

app-arch/zstd: Mark ~hppa too.

Package-Manager: Portage-2.3.50, Repoman-2.3.11
RepoMan-Options: --ignore-arches
Signed-off-by: Jeroen Roovers  gentoo.org>

 app-arch/zstd/zstd-1.3.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/zstd/zstd-1.3.4-r1.ebuild 
b/app-arch/zstd/zstd-1.3.4-r1.ebuild
index 387524f18c2..c7f95ef51fc 100644
--- a/app-arch/zstd/zstd-1.3.4-r1.ebuild
+++ b/app-arch/zstd/zstd-1.3.4-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="|| ( BSD GPL-2 )"
 SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="lz4 static-libs"
 
 RDEPEND="app-arch/xz-utils



[gentoo-commits] repo/gentoo:master commit in: app-shells/gentoo-zsh-completions/

2018-10-06 Thread Michael Palimaka
commit: 06064488fc45cbb2b6e87a26d1de697c806f98fc
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Oct  6 09:41:45 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Oct  6 09:47:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06064488

app-shells/gentoo-zsh-completions: stabilise 20180228 using ALLARCHES

Bug: https://bugs.gentoo.org/666876
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Michael Palimaka  gentoo.org>

 .../gentoo-zsh-completions/gentoo-zsh-completions-20180228.ebuild   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20180228.ebuild 
b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20180228.ebuild
index a3e3f06fed3..8a7da71514a 100644
--- a/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20180228.ebuild
+++ b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20180228.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/gentoo/gentoo-zsh-completions.git;
 else
SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~sparc64-solaris"
+   KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~sparc64-solaris"
 fi
 
 DESCRIPTION="Gentoo specific zsh completion support (includes emerge and 
ebuild commands)"



[gentoo-commits] repo/gentoo:master commit in: eclass/

2018-10-06 Thread Sergei Trofimovich
commit: 9dd010761f134da0f84ef8a86d77825d62953fe5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct  6 09:13:14 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct  6 09:25:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dd01076

toolchain.eclass: filter out -Wextra -Wstack-protector

On gcc-3.x -Wextra -Wstack-protector were not yet present.
These options are seen occasionally in users' CFLAGS.

Signed-off-by: Sergei Trofimovich  gentoo.org>

 eclass/toolchain.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e2629d40393..0e44d922ebe 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1507,6 +1507,8 @@ gcc_do_filter_flags() {
filter-flags -f{no-,}unit-at-a-time -f{no-,}web 
-mno-tls-direct-seg-refs
filter-flags -f{no-,}stack-protector{,-all}
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
+   # and warning options
+   filter-flags -Wextra -Wstack-protector
fi
if ! tc_version_is_at_least 4.1 ; then
filter-flags -fdiagnostics-show-option



[gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/

2018-10-06 Thread Michał Górny
commit: 67ffc42815419f5b33698f5739de321f6a6edd4a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  6 08:30:50 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  6 08:35:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ffc428

install-qa-check.d: Move 08gentoo-paths check outta Portage

Signed-off-by: Michał Górny  gentoo.org>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=667604

 metadata/install-qa-check.d/08gentoo-paths | 77 ++
 1 file changed, 77 insertions(+)

diff --git a/metadata/install-qa-check.d/08gentoo-paths 
b/metadata/install-qa-check.d/08gentoo-paths
new file mode 100644
index 000..3ee887df08f
--- /dev/null
+++ b/metadata/install-qa-check.d/08gentoo-paths
@@ -0,0 +1,77 @@
+# Check whether ebuilds are not installing new, non-Gentoo-ey paths.
+
+gentoo_path_check() {
+   # allowed path definitions
+   # 
+
+   # directories common to / and /usr
+   local allowed_common_dirs=(
+   bin lib lib32 lib64 libx32 sbin
+   )
+
+   # toplevel directories which can be installed to by ebuilds
+   # /home is not included as no ebuilds should install files there
+   local allowed_paths_toplevel=(
+   "${allowed_common_dirs[@]}"
+   boot dev etc opt srv usr var
+   )
+
+   # directories in /usr which can be installed to by ebuilds
+   # /usr/games is not included as it is banned nowadays
+   local allowed_paths_usr=(
+   "${allowed_common_dirs[@]}"
+   include libexec share src
+   # toolchain stuff
+   "${CHOST}" "${CTARGET}"
+   )
+
+
+   # the logic
+   # -
+   local bad_paths=()
+   local x
+
+   local shopt_save=$(shopt -p nullglob)
+   shopt -s nullglob
+
+   # 1. check for unexpected top-level directories
+   local toplevel_dirs=( "${ED%/}"/* )
+   for x in "${toplevel_dirs[@]##*/}"; do
+   if ! has "${x}" "${allowed_paths_toplevel[@]}"; then
+   bad_paths+=( "/${x}" )
+   fi
+   done
+
+   # 2. check for unexpected /usr subdirectories
+   local usr_dirs=( "${ED%/}"/usr/* )
+   for x in "${usr_dirs[@]##*/}"; do
+   if ! has "${x}" "${allowed_paths_usr[@]}"; then
+   bad_paths+=( "/usr/${x}" )
+   fi
+   done
+
+   # 3. check for unexpected /usr/share/doc subdirectories
+   local doc_dirs=( "${ED%/}"/usr/share/doc/* )
+   for x in "${doc_dirs[@]##*/}"; do
+   if [[ ${x} != ${PF} ]]; then
+   bad_paths+=( "/usr/share/doc/${x}" )
+   fi
+   done
+
+   ${shopt_save}
+
+   # report
+   # --
+   if [[ -n ${bad_paths[@]} ]]; then
+   eqawarn "The ebuild is installing to one or more unexpected 
paths:"
+   eqawarn
+   eqatag -v non-gentoo-paths "${bad_paths[@]}"
+   eqawarn
+   eqawarn "Please fix the ebuild to use correct FHS/Gentoo policy 
paths."
+   fi
+}
+
+gentoo_path_check
+: # guarantee successful exit
+
+# vim:ft=sh



[gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/

2018-10-06 Thread Alon Bar-Lev
commit: e0b2068fa16248598bfe4a7790e532a43a01972c
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Oct  6 08:04:30 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Oct  6 08:05:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b2068f

net-libs/gnutls: revert explicit prefix added for cross-compile

multilib does not work with this configuration.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=667862
Signed-off-by: Alon Bar-Lev  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-libs/gnutls/gnutls-3.5.19-r1.ebuild | 2 +-
 net-libs/gnutls/gnutls-3.6.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/gnutls/gnutls-3.5.19-r1.ebuild 
b/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
index 21b4a74b0dc..9fc06eac7ed 100644
--- a/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
+++ b/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
@@ -117,7 +117,7 @@ multilib_src_configure() {

--with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" \
--without-included-libtasn1 \
"${libconf[@]}" \
-   $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 
's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+   $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed 
-e 's/^ *\([^ ]*\) .*/\1/g')
 }
 
 multilib_src_install_all() {

diff --git a/net-libs/gnutls/gnutls-3.6.3.ebuild 
b/net-libs/gnutls/gnutls-3.6.3.ebuild
index 92679e621dc..e28279bbf27 100644
--- a/net-libs/gnutls/gnutls-3.6.3.ebuild
+++ b/net-libs/gnutls/gnutls-3.6.3.ebuild
@@ -113,7 +113,7 @@ multilib_src_configure() {

--with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" \
--without-included-libtasn1 \
"${libconf[@]}" \
-   $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 
's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+   $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed 
-e 's/^ *\([^ ]*\) .*/\1/g')
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2018-10-06 Thread Miroslav Šulc
commit: 0323ad53928e9e0f0dfc7a9f1e8d82661c291f96
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Oct  6 07:18:11 2018 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Oct  6 07:18:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0323ad53

media-gfx/gimp-: fixed plug-ins path

Signed-off-by: Miroslav Šulc  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-gfx/gimp/gimp-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/gimp/gimp-.ebuild b/media-gfx/gimp/gimp-.ebuild
index ffaa9b6d047..bce92e6ecef 100644
--- a/media-gfx/gimp/gimp-.ebuild
+++ b/media-gfx/gimp/gimp-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -169,7 +169,7 @@ _rename_plugins() {
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout 
(bug #664938)...'
local prepend=gimp-org-
(
-   cd "${ED%/}"/usr/$(get_libdir)/gimp/2.0/plug-ins || exit 1
+   cd "${ED%/}"/usr/$(get_libdir)/gimp/2.99/plug-ins || exit 1
for plugin_slash in $(ls -d1 */); do
plugin=${plugin_slash%/}
if [[ -f ${plugin}/${plugin} ]]; then



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/

2018-10-06 Thread Michał Górny
commit: c7cb35a6deb16e24e672a2dd010b8bf422ac3c49
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  6 06:47:09 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  6 07:10:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7cb35a6

dev-libs/libgit2: Sec-bump to 0.27.5

Bug: https://bugs.gentoo.org/667860
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libgit2/Manifest  |  1 +
 dev-libs/libgit2/libgit2-0.27.5.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
index 3a0fd9818b8..8c606febbe3 100644
--- a/dev-libs/libgit2/Manifest
+++ b/dev-libs/libgit2/Manifest
@@ -1,3 +1,4 @@
 DIST libgit2-0.26.6.tar.gz 4734435 BLAKE2B 
0831d0a78ba74b6cd989821f0abb6774f8879f18906025ce02d7c0f7f8f3e7f03b30121f79e370b85201e110a6fc4aca2ae2e608b12f01cd527ab42bf597099d
 SHA512 
6a5a167bfe8696294cf188feec2aad898af52f4c05a3a40a55f48ea3168d200a60fc42b3819a22b1bf472be696f5dafef473d457c08bab164cbf654c4de6bda7
 DIST libgit2-0.26.7.tar.gz 4737641 BLAKE2B 
dd87ab3048dec361619ff0e42d19161e4b20a07d334ad42aa077b77202bf5e84b85e33a6d6668afef36a7ff23f85a68f28049e08dd7502b241e40a730a78bb44
 SHA512 
5ad0c514b6c1c58031029f4ada278a164cc112f25c36745973df27711f12888000c054816b65889576124e93b71ec9a1c4f4cc0b538f177d93a57bc145fea1e1
 DIST libgit2-0.27.4.tar.gz 4772254 BLAKE2B 
9c0e7b436d8cb07a8f1407d22bcd4c7b161f3ceef9dc4e67f9daec784a1cfb9f8f2e493a78f5ef6b4893e54c1f1b567ae53ead52a992ee10eabe3229195417a1
 SHA512 
d27db86eb1b9f0d4057f8538ba1985ee76c3ca106e57d417fa9bff79d575f91a07ad28693112b58dc1d61d68116a82e6a145f12276158f2806b6c4964d741f61
+DIST libgit2-0.27.5.tar.gz 4775158 BLAKE2B 
118af462a4969bc802451b887386e87da0f855641a774ce7460d6fe7ad9c62ce71a4b35a7461a95c7c4a96c59143c9c1acc78c5a1b21143a651491713f4fa15b
 SHA512 
318b981456d55f60f8aa1897f1f70274329e48f09769b661eb4bbe76399071eca0fbc7deacb3191db16bc89dba8cc69a64adaf8cbc65e34a65b6e72ca122e21f

diff --git a/dev-libs/libgit2/libgit2-0.27.5.ebuild 
b/dev-libs/libgit2/libgit2-0.27.5.ebuild
new file mode 100644
index 000..d10065358a4
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-0.27.5.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+inherit cmake-utils python-any-r1
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/${PN}/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos"
+fi
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="https://libgit2.github.com/;
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0/27"
+IUSE="+curl examples gssapi libressl +ssh test +threads trace"
+
+RDEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   sys-libs/zlib
+   net-libs/http-parser:=
+   curl? (
+   !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] )
+   libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] )
+   )
+   gssapi? ( virtual/krb5 )
+   ssh? ( net-libs/libssh2 )
+"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+"
+
+DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
+
+src_prepare() {
+   # skip online tests
+   sed -i '/libgit2_clar/s/-ionline/-xonline/' tests/CMakeLists.txt || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   -DBUILD_CLAR=$(usex test)
+   -DENABLE_TRACE=$(usex trace)
+   -DUSE_GSSAPI=$(usex gssapi)
+   -DUSE_SSH=$(usex ssh)
+   -DTHREADSAFE=$(usex threads)
+   -DCURL=$(usex curl)
+   )
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if [[ ${EUID} -eq 0 ]] ; then
+   # repo::iterator::fs_preserves_error fails if run as root
+   # since root can still access dirs with  perms
+   ewarn "Skipping tests: non-root privileges are required for all 
tests to pass"
+   else
+   local TEST_VERBOSE=1
+   cmake-utils_src_test
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/

2018-10-06 Thread Michał Górny
commit: 61075eb72a164eae47cf57a1d87cacaf4604b44a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  6 06:46:18 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  6 07:10:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61075eb7

dev-libs/libgit2: Sec-bump to 0.26.7

Bug: https://bugs.gentoo.org/667860
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libgit2/Manifest  |  1 +
 dev-libs/libgit2/libgit2-0.26.7.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest
index 6fd70afa425..3a0fd9818b8 100644
--- a/dev-libs/libgit2/Manifest
+++ b/dev-libs/libgit2/Manifest
@@ -1,2 +1,3 @@
 DIST libgit2-0.26.6.tar.gz 4734435 BLAKE2B 
0831d0a78ba74b6cd989821f0abb6774f8879f18906025ce02d7c0f7f8f3e7f03b30121f79e370b85201e110a6fc4aca2ae2e608b12f01cd527ab42bf597099d
 SHA512 
6a5a167bfe8696294cf188feec2aad898af52f4c05a3a40a55f48ea3168d200a60fc42b3819a22b1bf472be696f5dafef473d457c08bab164cbf654c4de6bda7
+DIST libgit2-0.26.7.tar.gz 4737641 BLAKE2B 
dd87ab3048dec361619ff0e42d19161e4b20a07d334ad42aa077b77202bf5e84b85e33a6d6668afef36a7ff23f85a68f28049e08dd7502b241e40a730a78bb44
 SHA512 
5ad0c514b6c1c58031029f4ada278a164cc112f25c36745973df27711f12888000c054816b65889576124e93b71ec9a1c4f4cc0b538f177d93a57bc145fea1e1
 DIST libgit2-0.27.4.tar.gz 4772254 BLAKE2B 
9c0e7b436d8cb07a8f1407d22bcd4c7b161f3ceef9dc4e67f9daec784a1cfb9f8f2e493a78f5ef6b4893e54c1f1b567ae53ead52a992ee10eabe3229195417a1
 SHA512 
d27db86eb1b9f0d4057f8538ba1985ee76c3ca106e57d417fa9bff79d575f91a07ad28693112b58dc1d61d68116a82e6a145f12276158f2806b6c4964d741f61

diff --git a/dev-libs/libgit2/libgit2-0.26.7.ebuild 
b/dev-libs/libgit2/libgit2-0.26.7.ebuild
new file mode 100644
index 000..e6c58a1e0bc
--- /dev/null
+++ b/dev-libs/libgit2/libgit2-0.26.7.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+inherit cmake-utils python-any-r1
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/${PN}/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos"
+fi
+
+DESCRIPTION="A linkable library for Git"
+HOMEPAGE="https://libgit2.github.com/;
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0/26"
+IUSE="+curl examples gssapi libressl +ssh test +threads trace"
+
+RDEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   sys-libs/zlib
+   net-libs/http-parser:=
+   curl? (
+   !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] )
+   libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] )
+   )
+   gssapi? ( virtual/krb5 )
+   ssh? ( net-libs/libssh2 )
+"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+"
+
+DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md )
+
+src_prepare() {
+   # skip online tests
+   sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   -DBUILD_CLAR=$(usex test)
+   -DENABLE_TRACE=$(usex trace)
+   -DUSE_GSSAPI=$(usex gssapi)
+   -DUSE_SSH=$(usex ssh)
+   -DTHREADSAFE=$(usex threads)
+   -DCURL=$(usex curl)
+   )
+   cmake-utils_src_configure
+}
+
+src_test() {
+   if [[ ${EUID} -eq 0 ]] ; then
+   # repo::iterator::fs_preserves_error fails if run as root
+   # since root can still access dirs with  perms
+   ewarn "Skipping tests: non-root privileges are required for all 
tests to pass"
+   else
+   local TEST_VERBOSE=1
+   cmake-utils_src_test
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-openssl/files/, dev-lua/lua-openssl/

2018-10-06 Thread Michał Górny
commit: 762dee6c53a540946e0c270d7d585464086782e5
Author: Matthias Hauber  fnordpipe  org>
AuthorDate: Mon Oct  1 21:31:27 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  6 07:11:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762dee6c

dev-lua/lua-openssl: fix libressl build

backports libressl compat from master branch and disables
  cms, sm2 and srp.
Additionally set dependency to libressl < 2.7.0 because there
are changes in the libressl-2.7 api that raises
a lot of incompatible pointer types.

Closes: https://bugs.gentoo.org/667390
Signed-off-by: Matthias Hauber  fnordpipe.org>
Signed-off-by: Michał Górny  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10039

 .../files/0001-fix-libressl-compat.patch   | 433 +
 dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild   |   4 +-
 2 files changed, 436 insertions(+), 1 deletion(-)

diff --git a/dev-lua/lua-openssl/files/0001-fix-libressl-compat.patch 
b/dev-lua/lua-openssl/files/0001-fix-libressl-compat.patch
new file mode 100644
index 000..19b0539c082
--- /dev/null
+++ b/dev-lua/lua-openssl/files/0001-fix-libressl-compat.patch
@@ -0,0 +1,433 @@
+From 44d5360d0caed1f4f364691f789fe825fcd17a3e Mon Sep 17 00:00:00 2001
+From: crito 
+Date: Mon, 1 Oct 2018 20:10:05 +0200
+Subject: [PATCH] fix libressl compat
+
+add conditions to build with libressl and add missing functions.
+backported from upstream repo.
+---
+ src/compat.c  | 11 ---
+ src/digest.c  |  2 +-
+ src/ec.c  |  2 +-
+ src/engine.c  | 10 +-
+ src/lhash.c   |  7 ---
+ src/openssl.c | 12 ++--
+ src/ots.c |  5 +
+ src/pkcs7.c   | 24 
+ src/private.h |  7 ---
+ src/sm2.c |  2 +-
+ src/srp.c |  3 ++-
+ src/x509.c|  2 +-
+ 12 files changed, 54 insertions(+), 33 deletions(-)
+
+diff --git a/src/compat.c b/src/compat.c
+index cc4cc21..cc45845 100644
+--- a/src/compat.c
 b/src/compat.c
+@@ -5,7 +5,7 @@
+ #include "openssl.h"
+ #include "private.h"
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+ int BIO_up_ref(BIO *b)
+ {
+   CRYPTO_add(>references, 1, CRYPTO_LOCK_BIO);
+@@ -16,6 +16,11 @@ int X509_up_ref(X509 *x)
+   CRYPTO_add(>references, 1, CRYPTO_LOCK_X509);
+   return 1;
+ }
++int X509_CRL_up_ref(X509_CRL *x)
++{
++  int refs = CRYPTO_add(>references, 1, CRYPTO_LOCK_X509_CRL);
++  return (refs > 1) ? 1 : 0;
++}
+ int X509_STORE_up_ref(X509_STORE *s)
+ {
+   CRYPTO_add(>references, 1, CRYPTO_LOCK_X509_STORE);
+@@ -464,7 +469,7 @@ const ASN1_BIT_STRING 
*TS_STATUS_INFO_get0_failure_info(const TS_STATUS_INFO *a)
+   return a->failure_info;
+ }
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x10002000L
++#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
+ int i2d_re_X509_tbs(X509 *x, unsigned char **pp)
+ {
+   x->cert_info->enc.modified = 1;
+@@ -527,4 +532,4 @@ unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX 
*ctx,
+   return ctx->imprint;
+ }
+ 
+-#endif /* < 1.1.0 */
+\ No newline at end of file
++#endif /* < 1.1.0 */
+diff --git a/src/digest.c b/src/digest.c
+index 02e8fe1..0dcf65b 100644
+--- a/src/digest.c
 b/src/digest.c
+@@ -468,7 +468,7 @@ restore md data
+ static LUA_FUNCTION(openssl_digest_ctx_data)
+ {
+   EVP_MD_CTX *ctx = CHECK_OBJECT(1, EVP_MD_CTX, "openssl.evp_digest_ctx");
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+   if (lua_isnone(L, 2))
+   {
+ lua_pushlstring(L, ctx->md_data, ctx->digest->ctx_size);
+diff --git a/src/ec.c b/src/ec.c
+index f0d2b6b..5db32db 100644
+--- a/src/ec.c
 b/src/ec.c
+@@ -611,7 +611,7 @@ static int openssl_ecdsa_set_method(lua_State *L)
+ {
+   EC_KEY *ec = CHECK_OBJECT(1, EC_KEY, "openssl.ec_key");
+   ENGINE *e = CHECK_OBJECT(2, ENGINE, "openssl.engine");
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+   const ECDSA_METHOD *m = ENGINE_get_ECDSA(e);
+   if (m) {
+ int r = ECDSA_set_method(ec, m);
+diff --git a/src/engine.c b/src/engine.c
+index 1a26d8b..f12ca53 100644
+--- a/src/engine.c
 b/src/engine.c
+@@ -14,7 +14,7 @@ enum
+ {
+   TYPE_RSA,
+   TYPE_DSA,
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+   TYPE_ECDH,
+   TYPE_ECDSA,
+ #else
+@@ -24,7 +24,7 @@ enum
+   TYPE_RAND,
+   TYPE_CIPHERS,
+   TYPE_DIGESTS,
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+   TYPE_STORE,
+ #else
+   TYPE_PKEY_METHODS,
+@@ -150,7 +150,7 @@ static int openssl_engine_register(lua_State*L)
+   else
+ ENGINE_register_DSA(eng);
+   break;
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)

[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/

2018-10-06 Thread Michał Górny
commit: c7552c942ebdc70cce60ea8e00ed89ece39fb855
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  6 06:40:31 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  6 07:10:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7552c94

dev-util/sysdig: Bump to 0.24.1, bugfix

Signed-off-by: Michał Górny  gentoo.org>

 dev-util/sysdig/Manifest |  1 +
 dev-util/sysdig/sysdig-0.24.1.ebuild | 94 
 2 files changed, 95 insertions(+)

diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
index 9db66838d25..967b1b9ac73 100644
--- a/dev-util/sysdig/Manifest
+++ b/dev-util/sysdig/Manifest
@@ -1,2 +1,3 @@
 DIST sysdig-0.23.1.tar.gz 830420 BLAKE2B 
31a8c4cd8b570a308c81b4df53494cff2619d05724e509634671968025ebee0e46c5e59a7c877e6d9f1f1eba86a8a27a0cd9c5b66e75723ec8eec66c6782d4c0
 SHA512 
059a564a5d31381efae4bc50d2b83f83a1d051f1cfb9fa6bfb75a341305149073a6eb3b9a3ce4da12fa293e75b71f8b30c9021ac8d4c4a2f59a40e35a5ffd482
 DIST sysdig-0.24.0.tar.gz 846171 BLAKE2B 
fc65c6df7351e1e1f4afd168cf9eaaed8d714539822ede1ce1941ead191b0d6e9898bd1da36a78737d4662b8e47090d63978441ce01fe30f13c504a3fa09eb5c
 SHA512 
ff8162fbd5941a7a5532e8c1d0300acdd2d7ae85044600021f12e76f3752b50c46c894ea2007d0467761927403a784b85cfc000e735004e5fdbd48c31c20071e
+DIST sysdig-0.24.1.tar.gz 846153 BLAKE2B 
bc64317e02526d9729c9fb3738f2982f4b425cdb43c64f77944938186cde4ed2d8d2649984efe0055bbaed250b08bda4008272805024e1d8993e17bc93509663
 SHA512 
a89ce82527b47104161668e134387a04f4a6753adcd881df25410b629603b58fc8f675de6941f4911ad2da42ffbfd46b38f9cc9837c0809c559fee9a739a204a

diff --git a/dev-util/sysdig/sysdig-0.24.1.ebuild 
b/dev-util/sysdig/sysdig-0.24.1.ebuild
new file mode 100644
index 000..3ba452c42e3
--- /dev/null
+++ b/dev-util/sysdig/sysdig-0.24.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+MODULES_OPTIONAL_USE=modules
+inherit linux-mod bash-completion-r1 cmake-utils
+
+DESCRIPTION="A system exploration and troubleshooting tool"
+HOMEPAGE="https://www.sysdig.org/;
+SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0
+   modules? ( || ( MIT GPL-2 ) )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl +modules"
+
+RDEPEND="
+   app-misc/jq:0=
+   dev-cpp/tbb:0=
+   dev-lang/luajit:2=
+   >=dev-libs/jsoncpp-0.6_pre:0=
+   dev-libs/libb64:0=
+   sys-libs/ncurses:0=
+   sys-libs/zlib:0=
+   libressl? ( dev-libs/libressl:0= )
+   !libressl? ( dev-libs/openssl:0= )
+   net-misc/curl:0="
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/os-headers"
+
+# needed for the kernel module
+CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
+
+pkg_pretend() {
+   linux-mod_pkg_setup
+}
+
+pkg_setup() {
+   linux-mod_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-ggdb::' CMakeLists.txt || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   # we will use linux-mod for that
+   -DBUILD_DRIVER=OFF
+   # libscap examples are not installed or really useful
+   -DBUILD_LIBSCAP_EXAMPLES=OFF
+
+   # unbundle the deps
+   -DUSE_BUNDLED_DEPS=OFF
+   )
+
+   cmake-utils_src_configure
+
+   # setup linux-mod ugliness
+   MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
+   BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
+   BUILD_TARGETS="all"
+
+   if use modules; then
+   cmake-utils_src_make configure_driver
+
+   cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
+   fi
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   linux-mod_src_compile
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   linux-mod_src_install
+
+   # remove sources
+   rm -r "${ED%/}"/usr/src || die
+
+   # move bashcomp to the proper location
+   dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die
+   rm -r "${ED%/}"/usr/etc || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/

2018-10-06 Thread Miroslav Šulc
commit: 174e204358ae1a16c1b73da60b1f201adda92291
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Oct  6 06:57:01 2018 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Oct  6 06:57:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174e2043

media-gfx/valentina: version bump

Signed-off-by: Miroslav Šulc  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-gfx/valentina/Manifest   |   1 +
 media-gfx/valentina/valentina-0.6.0.ebuild | 125 +
 2 files changed, 126 insertions(+)

diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest
index 3072e6c6b36..235fb647dad 100644
--- a/media-gfx/valentina/Manifest
+++ b/media-gfx/valentina/Manifest
@@ -1,4 +1,5 @@
 DIST valentina-0.5.0.zip 37175844 BLAKE2B 
73cfb434c87e7d59efa76c303f4cc13dd9df08b9d5f61becd03943b78ce68e8735d192f2f2d5d5dfe25cda19ba998b0ea4a73bc3d0845bd4a065f7c5b4e66098
 SHA512 
3e69f965de1f8179850a8c6a5a0d3b5e87384158191b9c4a3647a5421d1efe567e98298bd8f47a8288eac358520469ae7979a4a61df64ccfbeb1a36fb231efcf
+DIST valentina-0.6.0.zip 38305855 BLAKE2B 
82733e97cd2ab1c2e0edddc05de228c040c43bd6a21b874b30554c526123ebd26d70f9fb8bb7556062f7df7b8d8f38c370d0f9ccd3d38100dacf841a68d4d1e6
 SHA512 
3bcc943c155b1b848c5328b53c8148448ede8fd057c8a50570045f61519bbeaaf0831f4a16127a24537feacb5251236c3bdc96e02788729635f4ec072686ca16
 DIST valentina-4798.patch 25302 BLAKE2B 
153cc2ccc603703a520b5181e5192bac86410ab51eec305effe43463ce081dbbf3bb48eedb93e8ea5928f3f71351526a175c61a23a7005fda5bf4e14cc57403e
 SHA512 
c3adbd2caa4cfb73960de850b29bee881fc408c9e4032e1fa2f29ba80b91abaa194738ff1cfb607657343990a166ad310387a66ceca546ffae0543d774bc53b4
 DIST valentina-4802.patch 6733 BLAKE2B 
b7e30b77aab75b45e7bfd06165586f8356cfa438e0f5f5fb708d818f04fe9be7fdd025b8098cb5ca1f45cceef0671abf7014c112ab11da8e6c9c1a640e412ab8
 SHA512 
5628599c1dd208ba9ea8ea5e518bf6aed5ef11aa750670335478e5af49d6e9f235901c79d6483b1897f8288259fd06b463462eddcd062c4920ff251430998ff4
 DIST valentina-5406.patch 596 BLAKE2B 
34c5cf51e455416500795c2afd96176b3ca3c2c3e278dbb6311e7cfb38bba6556126beef23d8b98ace76f0156250974d95310a6af046c0884580aa1d19d9
 SHA512 
f504ca766969703a20fc7c16652d4615722afda9156eb07c43845d1a6e9c7d08a2e8f07be7c71b4379326757f95e95e85858add2b1d13b0e4e5e8b1974ce18ae

diff --git a/media-gfx/valentina/valentina-0.6.0.ebuild 
b/media-gfx/valentina/valentina-0.6.0.ebuild
new file mode 100644
index 000..b063352ab94
--- /dev/null
+++ b/media-gfx/valentina/valentina-0.6.0.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="Cloth patternmaking software"
+HOMEPAGE="https://valentinaproject.bitbucket.io/;
+SRC_URI="https://bitbucket.org/dismine/${PN}/get/v${PV}.zip -> ${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+LANGS="cs de el en en es fi fr he id it nl pt-BR ro ru uk zh-CN"
+
+for LANG in ${LANGS}; do
+   IUSE="${IUSE} l10n_${LANG}"
+done
+
+CDEPEND="
+   app-text/poppler
+   dev-qt/linguist:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5[ssl]
+   dev-qt/qtprintsupport:5
+   dev-qt/qtsvg:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   dev-qt/qtxmlpatterns:5"
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}/dismine-${PN}-dd3cff212db5
+
+src_configure() {
+   local locales=""
+   local locale
+
+   for LANG in ${LANGS}; do
+   if use l10n_${LANG}; then
+   case ${LANG} in
+   "cs")
+   locale="cs_CZ"
+   ;;
+   "de")
+   locale="de_DE"
+   ;;
+   "el")
+   locale="el_GR"
+   ;;
+   "en")
+   locale="en_CA en_IN en_US"
+   ;;
+   "es")
+   locale="es_ES"
+   ;;
+   "fi")
+   locale="fi_FI"
+   ;;
+   "fr")
+   locale="fr_FR"
+   ;;
+   "he")
+   locale="he_IL"
+   ;;
+   "id")
+   locale="id_ID"
+   ;;
+   "it")
+   locale="it_IT"
+   ;;
+   "nl")
+   locale="nl_NL"
+   ;;
+   "pt-BR")
+

[gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/

2018-10-06 Thread Miroslav Šulc
commit: 64d58867b35a087538b48b314ea2d5da18fa11b3
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Oct  6 06:57:32 2018 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Oct  6 06:57:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d58867

media-gfx/valentina: updated live ebuild dependencies

Signed-off-by: Miroslav Šulc  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-gfx/valentina/valentina-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/valentina/valentina-.ebuild 
b/media-gfx/valentina/valentina-.ebuild
index a08d1377664..5aaeab21f49 100644
--- a/media-gfx/valentina/valentina-.ebuild
+++ b/media-gfx/valentina/valentina-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,6 +23,8 @@ done
 
 CDEPEND="
app-text/poppler
+   dev-qt/linguist:5
+   dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]



<    1   2   3   4