diff options
author | Repository QA checks <repo-qa-checks@gentoo.org> | 2017-06-06 17:50:57 +0000 |
---|---|---|
committer | Repository QA checks <repo-qa-checks@gentoo.org> | 2017-06-06 17:50:57 +0000 |
commit | d671f134603ecad21dc5190603adf4e5ad752a4a (patch) | |
tree | 16ceb9ab1d4fe2a1c0502ec27736f0b4a0662757 | |
parent | 2017-06-06 17:24:25 UTC (diff) | |
parent | app-editors/vim-core: remove unsecure version. (diff) | |
download | gentoo-d671f134603ecad21dc5190603adf4e5ad752a4a.tar.gz gentoo-d671f134603ecad21dc5190603adf4e5ad752a4a.tar.bz2 gentoo-d671f134603ecad21dc5190603adf4e5ad752a4a.zip |
Merge updates from master
102 files changed, 2405 insertions, 2456 deletions
diff --git a/app-admin/ansible/ansible-2.3.0.0-r1.ebuild b/app-admin/ansible/ansible-2.3.0.0-r1.ebuild index 7770aafc460f..e813dc57098a 100644 --- a/app-admin/ansible/ansible-2.3.0.0-r1.ebuild +++ b/app-admin/ansible/ansible-2.3.0.0-r1.ebuild @@ -18,7 +18,7 @@ IUSE="test" RDEPEND=" dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/jinja-2.9[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] diff --git a/app-admin/ansible/ansible-2.3.0.0-r2.ebuild b/app-admin/ansible/ansible-2.3.0.0-r2.ebuild index 80636e8fdd81..000bb855c149 100644 --- a/app-admin/ansible/ansible-2.3.0.0-r2.ebuild +++ b/app-admin/ansible/ansible-2.3.0.0-r2.ebuild @@ -19,7 +19,7 @@ IUSE="test" RDEPEND=" dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/jinja-2.9[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] || ( diff --git a/app-admin/ansible/ansible-2.3.1.0.ebuild b/app-admin/ansible/ansible-2.3.1.0.ebuild index 1e73cf04d35e..a1704fce31a3 100644 --- a/app-admin/ansible/ansible-2.3.1.0.ebuild +++ b/app-admin/ansible/ansible-2.3.1.0.ebuild @@ -18,7 +18,7 @@ IUSE="test" RDEPEND=" dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/jinja-2.9[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] || ( diff --git a/app-admin/ansible/ansible-9999.ebuild b/app-admin/ansible/ansible-9999.ebuild index 1457485e6f37..20c705ac2918 100644 --- a/app-admin/ansible/ansible-9999.ebuild +++ b/app-admin/ansible/ansible-9999.ebuild @@ -18,7 +18,7 @@ KEYWORDS="" IUSE="test" RDEPEND=" - dev-python/jinja[${PYTHON_USEDEP}] + <dev-python/jinja-2.9[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/paramiko[${PYTHON_USEDEP}] >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] diff --git a/app-arch/libarchive/libarchive-3.3.1.ebuild b/app-arch/libarchive/libarchive-3.3.1.ebuild index 44990e98f447..387b4ad52cbc 100644 --- a/app-arch/libarchive/libarchive-3.3.1.ebuild +++ b/app-arch/libarchive/libarchive-3.3.1.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.libarchive.org/downloads/${P}.tar.gz" LICENSE="BSD BSD-2 BSD-4 public-domain" SLOT="0/13" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="acl +bzip2 +e2fsprogs expat +iconv kernel_linux libressl lz4 +lzma lzo nettle static-libs +threads xattr +zlib" RDEPEND=" diff --git a/app-arch/xar/files/xar-1.6.1-ext2.patch b/app-arch/xar/files/xar-1.6.1-ext2.patch new file mode 100644 index 000000000000..da413b03e522 --- /dev/null +++ b/app-arch/xar/files/xar-1.6.1-ext2.patch @@ -0,0 +1,24 @@ +--- a/lib/ext2.c.orig ++++ b/lib/ext2.c +@@ -139,8 +139,10 @@ + if(! (flags & ~EXT2_NOCOMPR_FL) ) + x_addprop(f, "NoCompBlock"); + #endif ++#ifdef EXT2_ECOMPR_FL + if(! (flags & ~EXT2_ECOMPR_FL) ) + x_addprop(f, "CompError"); ++#endif + if(! (flags & ~EXT2_BTREE_FL) ) + x_addprop(f, "BTree"); + if(! (flags & ~EXT2_INDEX_FL) ) +@@ -225,8 +227,10 @@ + if( e2prop_get(f, "NoCompBlock", (char **)&tmp) == 0 ) + flags |= EXT2_NOCOMPR_FL ; + #endif ++#ifdef EXT2_ECOMPR_FL + if( e2prop_get(f, "CompError", (char **)&tmp) == 0 ) + flags |= EXT2_ECOMPR_FL ; ++#endif + if( e2prop_get(f, "BTree", (char **)&tmp) == 0 ) + flags |= EXT2_BTREE_FL ; + if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 ) diff --git a/app-arch/xar/xar-1.5.2-r2.ebuild b/app-arch/xar/xar-1.5.2-r2.ebuild deleted file mode 100644 index 8c75414b2eaf..000000000000 --- a/app-arch/xar/xar-1.5.2-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit autotools eutils - -DESCRIPTION="An easily extensible archive format" -HOMEPAGE="https://github.com/mackyle/xar" -SRC_URI="https://github.com/mackyle/${PN}/archive/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="acl +bzip2 libressl" - -DEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - dev-libs/libxml2 - sys-libs/zlib - acl? ( sys-apps/acl ) - bzip2? ( app-arch/bzip2 )" -RDEPEND="${DEPEND}" - -DOCS=( TODO ) - -src_prepare() { - epatch "${FILESDIR}/${P}-automagic_acl_and_bzip2.patch" - epatch "${FILESDIR}/${P}-respect_ldflags.patch" - epatch_user - eautoconf -} - -src_configure() { - econf $(use_enable acl) $(use_enable bzip2) -} diff --git a/app-arch/xar/xar-1.6.1.ebuild b/app-arch/xar/xar-1.6.1-r1.ebuild index 74285ae0d43a..fe744682e35c 100644 --- a/app-arch/xar/xar-1.6.1.ebuild +++ b/app-arch/xar/xar-1.6.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit autotools eutils +EAPI=6 +inherit autotools ltprune DESCRIPTION="An easily extensible archive format" HOMEPAGE="https://github.com/mackyle/xar" @@ -14,19 +14,15 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-li IUSE="+bzip2 libressl" DEPEND=" - !libressl? ( - dev-libs/openssl:0= - ) - libressl? ( - dev-libs/libressl:0= - ) - bzip2? ( - app-arch/bzip2 - ) - sys-libs/zlib" - + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + bzip2? ( app-arch/bzip2 ) + sys-libs/zlib +" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/${P}-ext2.patch ) + src_prepare() { default eautoconf @@ -34,5 +30,11 @@ src_prepare() { src_configure() { econf \ - $(use_with bzip2) + $(use_with bzip2) \ + --disable-static +} + +src_install() { + default + prune_libtool_files } diff --git a/app-editors/gvim/Manifest b/app-editors/gvim/Manifest index fa600747941e..210d7aea1a61 100644 --- a/app-editors/gvim/Manifest +++ b/app-editors/gvim/Manifest @@ -1,3 +1,2 @@ DIST vim-8.0.0106-gentoo-patches.tar.bz2 2281 SHA256 9823a91b050eb4b001cc50f508d2ad03c7c256ed49183c1af7582318667f48d4 SHA512 39edd9f518c230d2b0486b18aa155572a9eada4a5e21108573d6e66e2eef1276f23b77d766648f018c9cf973a7d03712d8861be6ea13255d7b389912d554a47a WHIRLPOOL d6d01e3944d56762a2a999ee631f89e212360aa030ddd16ea96e32d518ec171e04d8565dcb89e804248d53e4c6e06b19be239ad2316ea88bb57364815b85d26b -DIST vim-8.0.0106.tar.gz 12945768 SHA256 cbace3e7a2db3df73720c4181fa4cdbf7df94310522b1c7a4fd7d6afeaa1e145 SHA512 4e40d9ba8ba694d951be78c653d8fcfebe2b3cc460986ef8e3478f81f2dfd5e4b3c2bc5d22082536b9c275e41beeac343cee0aa1e4de125b71fe95c772e26c20 WHIRLPOOL 569a8f50ebdb7f380f675ed0a4b4aa5e7e226303a8e92db2a8e81f5d8acc0e466620c60c160e2204f3af615b91ca2481eb9716f9c2e6dbdb416050d758a49f09 DIST vim-8.0.0386.tar.gz 13000882 SHA256 25b28f6ef55a8d0b3f255f0fbed90ad1450bde7f7b231cc09d86c5119adc95bc SHA512 3169ea4dbc836c724f63d99cd345227f870a3a922beba84a6b42011685c0dd209f6bba8c69af0650c9a57bb47fc541e1150ca8cefb21fcada022259bf4c94a66 WHIRLPOOL 99a5582e0db0dc53fd8385cddf1fbf13d2fe1dd5c8e33c9959288c19d4b85f50139791269edd4ec3d5cbed6548cc3d9c7962ec1706eb422a4ef83c207aac009b diff --git a/app-editors/gvim/gvim-8.0.0106.ebuild b/app-editors/gvim/gvim-8.0.0106.ebuild deleted file mode 100644 index 6bf0bbfc4800..000000000000 --- a/app-editors/gvim/gvim-8.0.0106.ebuild +++ /dev/null @@ -1,407 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -VIM_VERSION="8.0" -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -PYTHON_REQ_USE=threads -inherit eutils vim-doc flag-o-matic fdo-mime gnome2-utils versionator bash-completion-r1 prefix python-r1 - -if [[ ${PV} == 9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/vim/vim.git" - EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV} -else - SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz - https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2" - KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -fi - -DESCRIPTION="GUI version of the Vim text editor" -HOMEPAGE="http://www.vim.org/ https://github.com/vim/vim" - -SLOT="0" -LICENSE="vim" -IUSE="acl aqua cscope debug gnome gtk gtk3 lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl" -REQUIRED_USE=" - luajit? ( lua ) - python? ( - || ( $(python_gen_useflags '*') ) - ?? ( $(python_gen_useflags 'python2*') ) - ?? ( $(python_gen_useflags 'python3*') ) - ) -" - -RDEPEND=" - ~app-editors/vim-core-${PV} - >=app-eselect/eselect-vi-1.1 - >=sys-libs/ncurses-5.2-r2:0= - x11-libs/libICE - x11-libs/libSM - x11-libs/libXext - x11-libs/libXt - acl? ( kernel_linux? ( sys-apps/acl ) ) - !aqua? ( - gtk3? ( - x11-libs/gtk+:3 - x11-libs/libXft - ) - !gtk3? ( - gtk? ( - >=x11-libs/gtk+-2.6:2 - x11-libs/libXft - gnome? ( >=gnome-base/libgnomeui-2.6 ) - ) - !gtk? ( - motif? ( >=x11-libs/motif-2.3:0 ) - !motif? ( - neXt? ( x11-libs/neXtaw ) - !neXt? ( x11-libs/libXaw ) - ) - ) - ) - ) - cscope? ( dev-util/cscope ) - lua? ( - luajit? ( dev-lang/luajit:2= ) - !luajit? ( dev-lang/lua:0[deprecated] ) - ) - nls? ( virtual/libintl ) - perl? ( dev-lang/perl:= ) - python? ( ${PYTHON_DEPS} ) - racket? ( dev-scheme/racket ) - ruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) ) - selinux? ( sys-libs/libselinux ) - session? ( x11-libs/libSM ) - tcl? ( dev-lang/tcl:0= ) -" -DEPEND="${RDEPEND} - dev-util/ctags - sys-devel/autoconf - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -S=${WORKDIR}/vim-${PV} - -pkg_setup() { - # people with broken alphabets run into trouble. bug 82186. - unset LANG LC_ALL - export LC_COLLATE="C" - - # Gnome sandbox silliness. bug #114475. - mkdir -p "${T}"/home - export HOME="${T}"/home -} - -src_prepare() { - if [[ ${PV} != 9999* ]] ; then - # Gentoo patches to fix runtime issues, cross-compile errors, etc - eapply "${WORKDIR}"/patches/ - fi - - # Fixup a script to use awk instead of nawk - sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \ - || die "mve.awk sed failed" - - # Read vimrc and gvimrc from /etc/vim - echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h - echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h - - # Use exuberant ctags which installs as /usr/bin/exuberant-ctags. - # Hopefully this pattern won't break for a while at least. - # This fixes bug 29398 (27 Sep 2003 agriffis) - sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \ - "${S}"/runtime/doc/syntax.txt \ - "${S}"/runtime/doc/tagsrch.txt \ - "${S}"/runtime/doc/usr_29.txt \ - "${S}"/runtime/menu.vim \ - "${S}"/src/configure.ac || die 'sed failed' - - # Don't be fooled by /usr/include/libc.h. When found, vim thinks - # this is NeXT, but it's actually just a file in dev-libs/9libs - # This fixes bug 43885 (20 Mar 2004 agriffis) - sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed' - - # gcc on sparc32 has this, uhm, interesting problem with detecting EOF - # correctly. To avoid some really entertaining error messages about stuff - # which isn't even in the source file being invalid, we'll do some trickery - # to make the error never occur. bug 66162 (02 October 2004 ciaranm) - find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done - - # Try to avoid sandbox problems. Bug #114475. - if [[ -d "${S}"/src/po ]] ; then - sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \ - "${S}"/src/po/Makefile - fi - - if version_is_at_least 7.3.122 ; then - cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk - fi - - # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0 - if version_is_at_least 7.3 ; then - sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \ - "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed' - fi - - eapply_user -} - -src_configure() { - local myconf=() - - # Fix bug 37354: Disallow -funroll-all-loops on amd64 - # Bug 57859 suggests that we want to do this for all archs - filter-flags -funroll-all-loops - - # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for - # everyone since previous flag filtering bugs have turned out to affect - # multiple archs... - replace-flags -O3 -O2 - - # Fix bug 18245: Prevent "make" from the following chain: - # (1) Notice configure.ac is newer than auto/configure - # (2) Rebuild auto/configure - # (3) Notice auto/configure is newer than auto/config.mk - # (4) Run ./configure (with wrong args) to remake auto/config.mk - sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed" - rm -f src/auto/configure - emake -j1 -C src autoconf - - # This should fix a sandbox violation (see bug 24447). The hvc - # things are for ppc64, see bug 86433. - for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do - [[ -e ${file} ]] && addwrite $file - done - - use debug && append-flags "-DDEBUG" - - myconf=( - --with-features=huge - --disable-gpm - --enable-multibyte - $(use_enable acl) - $(use_enable cscope) - $(use_enable lua luainterp) - $(use_with luajit) - $(use_enable netbeans) - $(use_enable nls) - $(use_enable perl perlinterp) - $(use_enable racket mzschemeinterp) - $(use_enable ruby rubyinterp) - $(use_enable selinux) - $(use_enable session xsmp) - $(use_enable tcl tclinterp) - ) - - if use python ; then - py_add_interp() { - local v - - [[ ${EPYTHON} == python3* ]] && v=3 - myconf+=( - --enable-python${v}interp - vi_cv_path_python${v}="${PYTHON}" - ) - } - - python_foreach_impl py_add_interp - else - myconf+=( - --disable-pythoninterp - --disable-python3interp - ) - fi - - # --with-features=huge forces on cscope even if we --disable it. We need - # to sed this out to avoid screwiness. (1 Sep 2004 ciaranm) - if ! use cscope ; then - sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \ - die "couldn't disable cscope" - fi - - # gvim's GUI preference order is as follows: - # aqua CARBON (not tested) - # -aqua gtk3 GTK3 - # -aqua -gtk3 gnome GNOME2 - # -aqua -gtk3 -gnome gtk GTK2 - # -aqua -gtk -gtk3 motif MOTIF - # -aqua -gtk -gtk3 -motif neXt NEXTAW - # -aqua -gtk -gtk3 -motif -neXt ATHENA - echo ; echo - if use aqua ; then - einfo "Building gvim with the Carbon GUI" - myconf+=( - --enable-darwin - --enable-gui=carbon - ) - elif use gtk3 ; then - myconf+=( --enable-gtk3-check ) - einfo "Building gvim with the gtk+-3 GUI" - myconf+=( --enable-gui=gtk3 ) - elif use gtk ; then - myconf+=( --enable-gtk2-check ) - if use gnome ; then - einfo "Building gvim with the Gnome 2 GUI" - myconf+=( --enable-gui=gnome2 ) - else - einfo "Building gvim with the gtk+-2 GUI" - myconf+=( --enable-gui=gtk2 ) - fi - elif use motif ; then - einfo "Building gvim with the MOTIF GUI" - myconf+=( --enable-gui=motif ) - elif use neXt ; then - einfo "Building gvim with the neXtaw GUI" - myconf+=( --enable-gui=nextaw ) - else - einfo "Building gvim with the Athena GUI" - myconf+=( --enable-gui=athena ) - fi - echo ; echo - - # let package manager strip binaries - export ac_cv_prog_STRIP="$(type -P true ) faking strip" - - # keep prefix env contained within the EPREFIX - use prefix && myconf+=( --without-local-dir ) - - if [[ ${CHOST} == *-interix* ]]; then - # avoid finding of this function, to avoid having to patch either - # configure or the source, which would be much more hackish. - # after all vim does it right, only interix is badly broken (again) - export ac_cv_func_sigaction=no - fi - - econf \ - --with-modified-by=Gentoo-${PVR} \ - --with-vim-name=gvim \ - --with-x \ - "${myconf[@]}" -} - -src_compile() { - # The following allows emake to be used - emake -j1 -C src auto/osdef.h objects - - emake -} - -src_test() { - echo - einfo "Starting vim tests. Several error messages will be shown" - einfo "while the tests run. This is normal behaviour and does not" - einfo "indicate a fault." - echo - ewarn "If the tests fail, your terminal may be left in a strange" - ewarn "state. Usually, running 'reset' will fix this." - echo - - # Don't let vim talk to X - unset DISPLAY - - # Make gvim not try to connect to X. See :help gui-x11-start in vim for how - # this evil trickery works. - ln -s "${S}"/src/gvim "${S}"/src/testvim || die - - # Make sure our VIMPROG is used. - sed -i 's:\.\./vim:../testvim:' src/testdir/test49.vim || die - - # Don't do additional GUI tests. - emake -j1 VIMPROG=../testvim -C src/testdir nongui -} - -# Make convenience symlinks, hopefully without stepping on toes. Some -# of these links are "owned" by the vim ebuild when it is installed, -# but they might be good for gvim as well (see bug 45828) -update_vim_symlinks() { - local f syms - syms="vimdiff rvim rview" - einfo "Calling eselect vi update..." - # Call this with --if-unset to respect user's choice (bug 187449) - eselect vi update --if-unset - - # Make or remove convenience symlink, vim -> gvim - if [[ -f "${EROOT}"/usr/bin/gvim ]]; then - ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null - elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then - rm "${EROOT}"/usr/bin/vim - fi - - # Make or remove convenience symlinks to vim - if [[ -f "${EROOT}"/usr/bin/vim ]]; then - for f in ${syms}; do - ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null - done - else - for f in ${syms}; do - if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then - rm -f "${EROOT}"/usr/bin/${f} - fi - done - fi - - # This will still break if you merge then remove the vi package, - # but there's only so much you can do, eh? Unfortunately we don't - # have triggers like are done in rpm-land. -} - -src_install() { - local vimfiles=/usr/share/vim/vim${VIM_VERSION/.} - - dobin src/gvim - dosym gvim /usr/bin/gvimdiff - dosym gvim /usr/bin/evim - dosym gvim /usr/bin/eview - dosym gvim /usr/bin/gview - dosym gvim /usr/bin/rgvim - dosym gvim /usr/bin/rgview - - emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons - - dodir /usr/share/man/man1 - echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 - echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 - echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 - - insinto /etc/vim - newins "${FILESDIR}"/gvimrc-r1 gvimrc - eprefixify "${ED}"/etc/vim/gvimrc - - doicon -s scalable "${FILESDIR}"/gvim.svg - - # bash completion script, bug #79018. - newbashcomp "${FILESDIR}"/${PN}-completion ${PN} - - # don't install vim desktop file - rm "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop" -} - -pkg_postinst() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags - - # Update fdo mime stuff, bug #78394 - fdo-mime_desktop_database_update - - # Update icon cache - gnome2_icon_cache_update - - # Make convenience symlinks - update_vim_symlinks -} - -pkg_postrm() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags - - # Update fdo mime stuff, bug #78394 - fdo-mime_desktop_database_update - - # Update icon cache - gnome2_icon_cache_update - - # Make convenience symlinks - update_vim_symlinks -} diff --git a/app-editors/vim-core/Manifest b/app-editors/vim-core/Manifest index fa600747941e..210d7aea1a61 100644 --- a/app-editors/vim-core/Manifest +++ b/app-editors/vim-core/Manifest @@ -1,3 +1,2 @@ DIST vim-8.0.0106-gentoo-patches.tar.bz2 2281 SHA256 9823a91b050eb4b001cc50f508d2ad03c7c256ed49183c1af7582318667f48d4 SHA512 39edd9f518c230d2b0486b18aa155572a9eada4a5e21108573d6e66e2eef1276f23b77d766648f018c9cf973a7d03712d8861be6ea13255d7b389912d554a47a WHIRLPOOL d6d01e3944d56762a2a999ee631f89e212360aa030ddd16ea96e32d518ec171e04d8565dcb89e804248d53e4c6e06b19be239ad2316ea88bb57364815b85d26b -DIST vim-8.0.0106.tar.gz 12945768 SHA256 cbace3e7a2db3df73720c4181fa4cdbf7df94310522b1c7a4fd7d6afeaa1e145 SHA512 4e40d9ba8ba694d951be78c653d8fcfebe2b3cc460986ef8e3478f81f2dfd5e4b3c2bc5d22082536b9c275e41beeac343cee0aa1e4de125b71fe95c772e26c20 WHIRLPOOL 569a8f50ebdb7f380f675ed0a4b4aa5e7e226303a8e92db2a8e81f5d8acc0e466620c60c160e2204f3af615b91ca2481eb9716f9c2e6dbdb416050d758a49f09 DIST vim-8.0.0386.tar.gz 13000882 SHA256 25b28f6ef55a8d0b3f255f0fbed90ad1450bde7f7b231cc09d86c5119adc95bc SHA512 3169ea4dbc836c724f63d99cd345227f870a3a922beba84a6b42011685c0dd209f6bba8c69af0650c9a57bb47fc541e1150ca8cefb21fcada022259bf4c94a66 WHIRLPOOL 99a5582e0db0dc53fd8385cddf1fbf13d2fe1dd5c8e33c9959288c19d4b85f50139791269edd4ec3d5cbed6548cc3d9c7962ec1706eb422a4ef83c207aac009b diff --git a/app-editors/vim-core/vim-core-8.0.0106.ebuild b/app-editors/vim-core/vim-core-8.0.0106.ebuild deleted file mode 100644 index 9851a0f1b953..000000000000 --- a/app-editors/vim-core/vim-core-8.0.0106.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -VIM_VERSION="8.0" -inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix - -if [[ ${PV} == 9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/vim/vim.git" - EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV} -else - SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz - https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="vim and gvim shared files" -HOMEPAGE="http://www.vim.org/ https://github.com/vim/vim" - -SLOT="0" -LICENSE="vim" -IUSE="nls acl minimal" - -DEPEND="sys-devel/autoconf" -PDEPEND="!minimal? ( app-vim/gentoo-syntax )" - -S=${WORKDIR}/vim-${PV} - -pkg_setup() { - # people with broken alphabets run into trouble. bug 82186. - unset LANG LC_ALL - export LC_COLLATE="C" - - # Gnome sandbox silliness. bug #114475. - mkdir -p "${T}"/home - export HOME="${T}"/home -} - -src_prepare() { - if [[ ${PV} != 9999* ]] ; then - # Gentoo patches to fix runtime issues, cross-compile errors, etc - eapply "${WORKDIR}"/patches - fi - - # Fixup a script to use awk instead of nawk - sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \ - || die "mve.awk sed failed" - - # Read vimrc and gvimrc from /etc/vim - echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h - echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h - - # Use exuberant ctags which installs as /usr/bin/exuberant-ctags. - # Hopefully this pattern won't break for a while at least. - # This fixes bug 29398 (27 Sep 2003 agriffis) - sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \ - "${S}"/runtime/doc/syntax.txt \ - "${S}"/runtime/doc/tagsrch.txt \ - "${S}"/runtime/doc/usr_29.txt \ - "${S}"/runtime/menu.vim \ - "${S}"/src/configure.ac || die 'sed failed' - - # Don't be fooled by /usr/include/libc.h. When found, vim thinks - # this is NeXT, but it's actually just a file in dev-libs/9libs - # This fixes bug 43885 (20 Mar 2004 agriffis) - sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed' - - # gcc on sparc32 has this, uhm, interesting problem with detecting EOF - # correctly. To avoid some really entertaining error messages about stuff - # which isn't even in the source file being invalid, we'll do some trickery - # to make the error never occur. bug 66162 (02 October 2004 ciaranm) - find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done - - # Try to avoid sandbox problems. Bug #114475. - if [[ -d "${S}"/src/po ]] ; then - sed -i -e \ - '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \ - "${S}"/src/po/Makefile - fi - - if version_is_at_least 7.3.122 ; then - cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk - fi - - # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0 - if version_is_at_least 7.3 ; then - sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \ - "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed' - fi - - eapply_user -} - -src_configure() { - local myconf - - # Fix bug 37354: Disallow -funroll-all-loops on amd64 - # Bug 57859 suggests that we want to do this for all archs - filter-flags -funroll-all-loops - - # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for - # everyone since previous flag filtering bugs have turned out to affect - # multiple archs... - replace-flags -O3 -O2 - - # Fix bug 18245: Prevent "make" from the following chain: - # (1) Notice configure.ac is newer than auto/configure - # (2) Rebuild auto/configure - # (3) Notice auto/configure is newer than auto/config.mk - # (4) Run ./configure (with wrong args) to remake auto/config.mk - sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed" - rm -f src/auto/configure - emake -j1 -C src autoconf - - # This should fix a sandbox violation (see bug 24447). The hvc - # things are for ppc64, see bug 86433. - for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do - [[ -e ${file} ]] && addwrite $file - done - - # Let Portage do the stripping. Some people like that. - export ac_cv_prog_STRIP="$(type -P true ) faking strip" - - # Keep Gentoo Prefix env contained within the EPREFIX - use prefix && myconf+=" --without-local-dir" - - econf \ - --with-modified-by=Gentoo-${PVR} \ - --enable-gui=no \ - --without-x \ - --disable-darwin \ - --disable-perlinterp \ - --disable-pythoninterp \ - --disable-rubyinterp \ - --disable-gpm \ - --disable-selinux \ - $(use_enable nls) \ - $(use_enable acl) \ - ${myconf} -} - -src_compile() { - # The following allows emake to be used - emake -j1 -C src auto/osdef.h objects - - emake tools -} - -src_test() { :; } - -src_install() { - local vimfiles=/usr/share/vim/vim${VIM_VERSION/.} - - dodir /usr/{bin,share/{man/man1,vim}} - emake -C src \ - installruntime \ - installmanlinks \ - installmacros \ - installtutor \ - installtutorbin \ - installtools \ - install-languages \ - DESTDIR="${D}" \ - BINDIR="${EPREFIX}"/usr/bin \ - MANDIR="${EPREFIX}"/usr/share/man \ - DATADIR="${EPREFIX}"/usr/share - - keepdir ${vimfiles}/keymap - - # default vimrc is installed by vim-core since it applies to - # both vim and gvim - insinto /etc/vim/ - newins "${FILESDIR}"/vimrc-r5 vimrc - eprefixify "${ED}"/etc/vim/vimrc - - if use minimal ; then - # To save space, install only a subset of the files. - # Helps minimalize the livecd, bug 65144. - eshopts_push -s extglob - - rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} - rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor} - rm "${ED}"/usr/bin/vimtutor - - local keep_colors="default" - ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim ) - - local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig" - # tinkering with the next line might make bad things happen ... - keep_syntax="${keep_syntax}|syntax|nosyntax|synload" - ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim ) - - eshopts_pop - fi - - # These files might have slight security issues, so we won't - # install them. See bug #77841. We don't mind if these don't - # exist. - rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null - - newbashcomp "${FILESDIR}"/xxd-completion xxd - - # We shouldn't be installing the ex or view man page symlinks, as they - # are managed by eselect-vi - rm -f "${ED}"/usr/share/man/man1/{ex,view}.1 -} - -pkg_postinst() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags -} - -pkg_postrm() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags -} diff --git a/app-editors/vim/Manifest b/app-editors/vim/Manifest index fa600747941e..210d7aea1a61 100644 --- a/app-editors/vim/Manifest +++ b/app-editors/vim/Manifest @@ -1,3 +1,2 @@ DIST vim-8.0.0106-gentoo-patches.tar.bz2 2281 SHA256 9823a91b050eb4b001cc50f508d2ad03c7c256ed49183c1af7582318667f48d4 SHA512 39edd9f518c230d2b0486b18aa155572a9eada4a5e21108573d6e66e2eef1276f23b77d766648f018c9cf973a7d03712d8861be6ea13255d7b389912d554a47a WHIRLPOOL d6d01e3944d56762a2a999ee631f89e212360aa030ddd16ea96e32d518ec171e04d8565dcb89e804248d53e4c6e06b19be239ad2316ea88bb57364815b85d26b -DIST vim-8.0.0106.tar.gz 12945768 SHA256 cbace3e7a2db3df73720c4181fa4cdbf7df94310522b1c7a4fd7d6afeaa1e145 SHA512 4e40d9ba8ba694d951be78c653d8fcfebe2b3cc460986ef8e3478f81f2dfd5e4b3c2bc5d22082536b9c275e41beeac343cee0aa1e4de125b71fe95c772e26c20 WHIRLPOOL 569a8f50ebdb7f380f675ed0a4b4aa5e7e226303a8e92db2a8e81f5d8acc0e466620c60c160e2204f3af615b91ca2481eb9716f9c2e6dbdb416050d758a49f09 DIST vim-8.0.0386.tar.gz 13000882 SHA256 25b28f6ef55a8d0b3f255f0fbed90ad1450bde7f7b231cc09d86c5119adc95bc SHA512 3169ea4dbc836c724f63d99cd345227f870a3a922beba84a6b42011685c0dd209f6bba8c69af0650c9a57bb47fc541e1150ca8cefb21fcada022259bf4c94a66 WHIRLPOOL 99a5582e0db0dc53fd8385cddf1fbf13d2fe1dd5c8e33c9959288c19d4b85f50139791269edd4ec3d5cbed6548cc3d9c7962ec1706eb422a4ef83c207aac009b diff --git a/app-editors/vim/vim-8.0.0106.ebuild b/app-editors/vim/vim-8.0.0106.ebuild deleted file mode 100644 index 90798503aa8d..000000000000 --- a/app-editors/vim/vim-8.0.0106.ebuild +++ /dev/null @@ -1,348 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -VIM_VERSION="8.0" -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -PYTHON_REQ_USE=threads -inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-r1 - -if [[ ${PV} == 9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/vim/vim.git" -else - SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="Vim, an improved vi-style text editor" -HOMEPAGE="http://www.vim.org/ https://github.com/vim/vim" - -SLOT="0" -LICENSE="vim" -IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager" -REQUIRED_USE=" - luajit? ( lua ) - python? ( - || ( $(python_gen_useflags '*') ) - ?? ( $(python_gen_useflags 'python2*') ) - ?? ( $(python_gen_useflags 'python3*') ) - ) -" - -RDEPEND=" - >=app-eselect/eselect-vi-1.1 - >=sys-libs/ncurses-5.2-r2:0= - nls? ( virtual/libintl ) - acl? ( kernel_linux? ( sys-apps/acl ) ) - cscope? ( dev-util/cscope ) - gpm? ( >=sys-libs/gpm-1.19.3 ) - lua? ( - luajit? ( dev-lang/luajit:2= ) - !luajit? ( dev-lang/lua:0[deprecated] ) - ) - !minimal? ( - ~app-editors/vim-core-${PV} - dev-util/ctags - ) - perl? ( dev-lang/perl:= ) - python? ( ${PYTHON_DEPS} ) - racket? ( dev-scheme/racket ) - ruby? ( || ( dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) ) - selinux? ( sys-libs/libselinux ) - tcl? ( dev-lang/tcl:0= ) - X? ( x11-libs/libXt ) -" -DEPEND="${RDEPEND} - sys-devel/autoconf - nls? ( sys-devel/gettext ) -" - -pkg_setup() { - # people with broken alphabets run into trouble. bug 82186. - unset LANG LC_ALL - export LC_COLLATE="C" - - # Gnome sandbox silliness. bug #114475. - mkdir -p "${T}"/home - export HOME="${T}"/home -} - -src_prepare() { - if [[ ${PV} != 9999* ]] ; then - # Gentoo patches to fix runtime issues, cross-compile errors, etc - eapply "${WORKDIR}"/patches/ - fi - - # Fixup a script to use awk instead of nawk - sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \ - || die "mve.awk sed failed" - - # Read vimrc and gvimrc from /etc/vim - echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h - echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h - - # Use exuberant ctags which installs as /usr/bin/exuberant-ctags. - # Hopefully this pattern won't break for a while at least. - # This fixes bug 29398 (27 Sep 2003 agriffis) - sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \ - "${S}"/runtime/doc/syntax.txt \ - "${S}"/runtime/doc/tagsrch.txt \ - "${S}"/runtime/doc/usr_29.txt \ - "${S}"/runtime/menu.vim \ - "${S}"/src/configure.ac || die 'sed failed' - - # Don't be fooled by /usr/include/libc.h. When found, vim thinks - # this is NeXT, but it's actually just a file in dev-libs/9libs - # This fixes bug 43885 (20 Mar 2004 agriffis) - sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed' - - # gcc on sparc32 has this, uhm, interesting problem with detecting EOF - # correctly. To avoid some really entertaining error messages about stuff - # which isn't even in the source file being invalid, we'll do some trickery - # to make the error never occur. bug 66162 (02 October 2004 ciaranm) - find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done - - # conditionally make the manpager.sh script - if use vim-pager ; then - cat <<-END > "${S}"/runtime/macros/manpager.sh - #!/bin/sh - sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\ - vim \\ - -c 'let no_plugin_maps = 1' \\ - -c 'set nolist nomod ft=man ts=8' \\ - -c 'let g:showmarks_enable=0' \\ - -c 'runtime! macros/less.vim' - - END - fi - - # Try to avoid sandbox problems. Bug #114475. - if [[ -d "${S}"/src/po ]] ; then - sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \ - "${S}"/src/po/Makefile - fi - - if version_is_at_least 7.3.122 ; then - cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk - fi - - # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0 - if version_is_at_least 7.3 ; then - sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \ - "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed' - fi - - eapply_user -} - -src_configure() { - local myconf=() - - # Fix bug 37354: Disallow -funroll-all-loops on amd64 - # Bug 57859 suggests that we want to do this for all archs - filter-flags -funroll-all-loops - - # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for - # everyone since previous flag filtering bugs have turned out to affect - # multiple archs... - replace-flags -O3 -O2 - - # Fix bug 18245: Prevent "make" from the following chain: - # (1) Notice configure.ac is newer than auto/configure - # (2) Rebuild auto/configure - # (3) Notice auto/configure is newer than auto/config.mk - # (4) Run ./configure (with wrong args) to remake auto/config.mk - sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed" - rm -f src/auto/configure - emake -j1 -C src autoconf - - # This should fix a sandbox violation (see bug 24447). The hvc - # things are for ppc64, see bug 86433. - for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do - [[ -e ${file} ]] && addwrite $file - done - - if use minimal ; then - myconf=( - --with-features=tiny - --disable-nls - --disable-multibyte - --disable-acl - --enable-gui=no - --without-x - --disable-darwin - --disable-luainterp - --disable-perlinterp - --disable-pythoninterp - --disable-mzschemeinterp - --disable-rubyinterp - --disable-selinux - --disable-tclinterp - --disable-gpm - ) - else - use debug && append-flags "-DDEBUG" - - myconf=( - --with-features=huge - --enable-multibyte - $(use_enable acl) - $(use_enable cscope) - $(use_enable gpm) - $(use_enable lua luainterp) - $(usex lua "--with-lua-prefix=${EPREFIX}/usr" "") - $(use_with luajit) - $(use_enable nls) - $(use_enable perl perlinterp) - $(use_enable racket mzschemeinterp) - $(use_enable ruby rubyinterp) - $(use_enable selinux) - $(use_enable tcl tclinterp) - ) - - if use python ; then - py_add_interp() { - local v - - [[ ${EPYTHON} == python3* ]] && v=3 - myconf+=( - --enable-python${v}interp - vi_cv_path_python${v}="${PYTHON}" - ) - } - - python_foreach_impl py_add_interp - else - myconf+=( - --disable-pythoninterp - --disable-python3interp - ) - fi - - # --with-features=huge forces on cscope even if we --disable it. We need - # to sed this out to avoid screwiness. (1 Sep 2004 ciaranm) - if ! use cscope ; then - sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \ - die "couldn't disable cscope" - fi - - # don't test USE=X here ... see bug #19115 - # but need to provide a way to link against X ... see bug #20093 - myconf+=( - --enable-gui=no - --disable-darwin - $(use_with X x) - ) - fi - - # let package manager strip binaries - export ac_cv_prog_STRIP="$(type -P true ) faking strip" - - # keep prefix env contained within the EPREFIX - use prefix && myconf+=( --without-local-dir ) - - econf \ - --with-modified-by=Gentoo-${PVR} \ - "${myconf[@]}" -} - -src_compile() { - # The following allows emake to be used - emake -j1 -C src auto/osdef.h objects - - emake -} - -src_test() { - echo - einfo "Starting vim tests. Several error messages will be shown" - einfo "while the tests run. This is normal behaviour and does not" - einfo "indicate a fault." - echo - ewarn "If the tests fail, your terminal may be left in a strange" - ewarn "state. Usually, running 'reset' will fix this." - echo - - # Don't let vim talk to X - unset DISPLAY - - emake -j1 -C src/testdir nongui -} - -# Make convenience symlinks, hopefully without stepping on toes. Some -# of these links are "owned" by the vim ebuild when it is installed, -# but they might be good for gvim as well (see bug 45828) -update_vim_symlinks() { - local f syms - syms="vimdiff rvim rview" - einfo "Calling eselect vi update..." - # Call this with --if-unset to respect user's choice (bug 187449) - eselect vi update --if-unset - - # Make or remove convenience symlink, vim -> gvim - if [[ -f "${EROOT}"/usr/bin/gvim ]]; then - ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null - elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then - rm "${EROOT}"/usr/bin/vim - fi - - # Make or remove convenience symlinks to vim - if [[ -f "${EROOT}"/usr/bin/vim ]]; then - for f in ${syms}; do - ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null - done - else - for f in ${syms}; do - if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then - rm -f "${EROOT}"/usr/bin/${f} - fi - done - fi - - # This will still break if you merge then remove the vi package, - # but there's only so much you can do, eh? Unfortunately we don't - # have triggers like are done in rpm-land. -} - -src_install() { - local vimfiles=/usr/share/vim/vim${VIM_VERSION/.} - - # Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are - # managed by eselect-vi - dobin src/vim - dosym vim /usr/bin/vimdiff - dosym vim /usr/bin/rvim - dosym vim /usr/bin/rview - if use vim-pager ; then - dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager - dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager - insinto ${vimfiles}/macros - doins runtime/macros/manpager.sh - fperms a+x ${vimfiles}/macros/manpager.sh - fi - - newbashcomp "${FILESDIR}"/${PN}-completion ${PN} - # keep in sync with 'complete ... -F' list - bashcomp_alias vim ex vi view rvim rview vimdiff - - # We shouldn't be installing the ex or view man page symlinks, as they - # are managed by eselect-vi - rm -f "${ED}"/usr/share/man/man1/{ex,view}.1 -} - -pkg_postinst() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags - - # Make convenience symlinks - update_vim_symlinks -} - -pkg_postrm() { - # Update documentation tags (from vim-doc.eclass) - update_vim_helptags - - # Make convenience symlinks - update_vim_symlinks -} diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest index e8f6f1634b12..73f0e7344a06 100644 --- a/app-pda/libplist/Manifest +++ b/app-pda/libplist/Manifest @@ -1 +1,2 @@ DIST libplist-1.12.tar.bz2 384321 SHA256 0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be SHA512 8af40d8f457ca9a8a9061e9429698c696200714cc05dcbe981e900106c52cd5222edb9dd8d8976bccd0c8997508ed14fb2e10f0ed29383f2ad4f7c5eb7eec0b3 WHIRLPOOL 7d3c4f7822683018b5b0e794d509b9cf5a703605ed772df849ad9ebba6e8191f2eb629444c07d2dcb265520d24c94f13287f200fec34779c9e6fe029536183a7 +DIST libplist-2.0.0.tar.bz2 421405 SHA256 3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602 SHA512 81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee WHIRLPOOL cfea767321dda602722281f189dae708969c7471bc4b9388638b671257f3808358e1227cdf29cba7751cb715a8ec92fccb1c0dd5c8d150ebac19fdf8633c6339 diff --git a/app-pda/libplist/libplist-2.0.0.ebuild b/app-pda/libplist/libplist-2.0.0.ebuild new file mode 100644 index 000000000000..64e5408872fb --- /dev/null +++ b/app-pda/libplist/libplist-2.0.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit autotools eutils python-r1 + +DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" +HOMEPAGE="http://www.libimobiledevice.org/" +SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0/3.1.0" # based on SONAME of libplist.so +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd" +IUSE="python static-libs" + +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig + python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DOCS=( AUTHORS NEWS README ) + +BUILD_DIR="${S}_build" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local ECONF_SOURCE=${S} + local myeconfargs=( $(use_enable static-libs static) ) + + do_configure() { + mkdir -p "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" >/dev/null || die + econf "${myeconfargs[@]}" "${@}" + popd >/dev/null || die + } + + do_configure_python() { + PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@" + } + + do_configure --without-cython + use python && python_foreach_impl do_configure_python +} + +src_compile() { + python_compile() { + emake -C "${BUILD_DIR}"/cython -j1 \ + VPATH="${S}/cython:${native_builddir}/cython" \ + plist_la_LIBADD="${native_builddir}/src/libplist.la" + } + + local native_builddir=${BUILD_DIR} + pushd "${BUILD_DIR}" >/dev/null || die + emake -j1 + use python && python_foreach_impl python_compile + popd >/dev/null || die +} + +src_install() { + python_install() { + emake -C "${BUILD_DIR}/cython" -j1 \ + VPATH="${S}/cython:${native_builddir}/cython" \ + DESTDIR="${D}" install + } + + local native_builddir=${BUILD_DIR} + pushd "${BUILD_DIR}" >/dev/null || die + emake -j1 DESTDIR="${D}" install + use python && python_foreach_impl python_install + popd >/dev/null || die + + einstalldocs + + if use python ; then + insinto /usr/include/plist/cython + doins cython/plist.pxd + fi + prune_libtool_files --all +} diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml index 6f49eba8f496..7cae0531e52c 100644 --- a/app-pda/libplist/metadata.xml +++ b/app-pda/libplist/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> + <upstream> + <bugs-to>https://github.com/libimobiledevice/libplist/issues</bugs-to> + <remote-id type="github">libimobiledevice/libplist</remote-id> + </upstream> </pkgmetadata> diff --git a/app-text/apvlv/apvlv-0.1.5-r1.ebuild b/app-text/apvlv/apvlv-0.1.5-r1.ebuild index dc6b7a188bc1..94e7aec16202 100644 --- a/app-text/apvlv/apvlv-0.1.5-r1.ebuild +++ b/app-text/apvlv/apvlv-0.1.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -26,6 +26,7 @@ DEPEND="${RDEPEND} src_prepare() { # preserve cflags epatch "${FILESDIR}/${PN}-0.1.5-cflags.patch" + epatch "${FILESDIR}/${PN}-0.1.5-gcc6.patch" } src_configure() { diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch new file mode 100644 index 000000000000..0ffe3659d6d7 --- /dev/null +++ b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch @@ -0,0 +1,12 @@ +diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc +--- apvlv-0.1.5.orig/src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100 ++++ apvlv-0.1.5/src/ApvlvParams.cc 2017-02-09 20:03:08.655402750 +0100 +@@ -90,7 +90,7 @@ + return false; + } + +- while ((getline (os, str)) != NULL) ++ while (getline (os, str)) + { + string argu, data, crap; + stringstream is (str); diff --git a/dev-db/freetds/Manifest b/dev-db/freetds/Manifest index 53b8f1bde3b5..85ce4597c297 100644 --- a/dev-db/freetds/Manifest +++ b/dev-db/freetds/Manifest @@ -1,4 +1,5 @@ DIST freetds-0.91.tar.gz 2136329 SHA256 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465 SHA512 4dadafe49848ab5505b0fa5bd650e19e7652c3e1181d3c49f087c50ed055f395eaf5917a99744ed3594e4af9032c4e18f397af58fb1010e695ac2c0bc601b5e3 WHIRLPOOL 63662b56011edb6d22ce28cc7bad3af272ff81862f0d8ff65b113af260e3c8d05a9d941c1cf4b8039b99f460c3a5c8364dd69d42d8e98c0c92530462f732dec2 DIST freetds-1.00.1.tar.gz 4649187 SHA256 a00048d5b1b568b62a7d1dd0e517e064273c9c7d807ca4a986f4e5ef0fc65e6c SHA512 dab5139ddc6e3c7a2c61f76dd833d7ff499c9b63329eb9712bb94e47700991ecd05e86aaa0900682dd7626660b13c124ecbf23c1dcc40f5ca855b3fb00a54d45 WHIRLPOOL 33096719913b81d90462b5392041117996ae942815e69b793723a5c90d17c2f1ebb16db193d93363c2d98525698c6ec741cc62b6430613163ad89da795defd79 DIST freetds-1.00.13.tar.gz 4639311 SHA256 ebb6dfc0ce34432e3712fbc638f18bc98f4af0c6f327fd2a0edd8ee16f00c15f SHA512 202d5a9477b1e924317b04a54d3186c333ef8f9d5054c3346635a2a3af268938a5bbf58fe8500ef6c21801046d9024d57404e99f9a8e2b0e639fcea39aecaa69 WHIRLPOOL 6a3be06872cb57e51c5c3181e1b141c659be6a290b5ec312e656e05998c2bae1f7ebf353c02dbd8c1b665ab6722fbb2c4122c3eabedc8bc1b7916fb61b5f4486 +DIST freetds-1.00.41.tar.gz 2904915 SHA256 f054f1ac09d933527b634e081f5b36856669b7a507601cde93eda32174681e59 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1 WHIRLPOOL de396ba6fa04c7fb580614297c62f61c77a606417e749eb1dd4ad352e7f87cea05ed1567d7dd7f97b189f83d48f711e1254a59d0f9c897050b505e31f6fe8da7 DIST freetds-1.00.tar.gz 4648806 SHA256 604ff9fe95bf5e2e650f8648b19ae488959269a4274e95dc17e3b66f29779a9b SHA512 713aec9ac7952aa70a3e7f5fe3ab2d9be7b19511f1d58cf3397e80f99f155835508d9a7bf8dad37f64f07bc1c78258df3f17f3049f89e32cd2d654fd3b689bb4 WHIRLPOOL bf94e4b71602e779638df481a706bad147eb5c9596d8993b1409e1026a79e82162b5afdde923bdcb2b9bee498ade1b474fa7f99deb74652faf81b9c2dbed23a3 diff --git a/dev-db/freetds/freetds-1.00.41.ebuild b/dev-db/freetds/freetds-1.00.41.ebuild new file mode 100644 index 000000000000..757aaf1714dc --- /dev/null +++ b/dev-db/freetds/freetds-1.00.41.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Tabular Datastream Library" +HOMEPAGE="http://www.freetds.org/" +SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos" +IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl" +RESTRICT="test" + +DEPEND=" + gnutls? ( net-libs/gnutls ) + iconv? ( virtual/libiconv ) + iodbc? ( dev-db/libiodbc ) + kerberos? ( virtual/krb5 ) + odbc? ( dev-db/unixODBC ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + )" + +# bind-tools is needed because the osql script calls "host". +RDEPEND="${DEPEND} + net-dns/bind-tools + sys-apps/grep + sys-apps/sed + virtual/awk" + +src_prepare() { + default + # Fix the iodbc include path in the configure script. Otherwise, it + # can't find isql.h. + sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' \ + configure.ac \ + || die "failed to fix the iodbc include path in configure.ac" + eautoreconf +} + +src_configure() { + local myconf=( --with-tdsver=7.4 ) + + # The configure script doesn't support --without-{i,unix}odbc and + # it will still search for the associated headers if you try that + # Instead, to disable {i,unix}odbc, you just have to omit the + # --with-{i,unix}odbc line. + if use iodbc ; then + myconf+=( --enable-odbc --with-iodbc="${EPREFIX}/usr" ) + fi + + if use odbc ; then + myconf+=( --enable-odbc --with-unixodbc="${EPREFIX}/usr" ) + fi + + myconf+=( $(use_enable iconv libiconv) ) + use iconv && myconf+=( --with-libiconv-prefix="${EPREFIX}/usr" ) + myconf+=( $(use_enable kerberos krb5) ) + myconf+=( $(use_enable mssql msdblib) ) + myconf+=( $(use_with gnutls) ) + myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") ) + + # The docdir doesn't contain ${PV} without this + myconf+=( --docdir="/usr/share/doc/${PF}" ) + + econf "${myconf[@]}" +} diff --git a/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild b/dev-db/unixODBC/unixODBC-2.3.4-r1.ebuild index 300a544a84e2..fb7380bcb36d 100644 --- a/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild +++ b/dev-db/unixODBC/unixODBC-2.3.4-r1.ebuild @@ -1,45 +1,50 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit libtool autotools-multilib eutils +EAPI=6 +inherit libtool ltprune multilib-minimal DESCRIPTION="A complete ODBC driver manager" HOMEPAGE="http://www.unixodbc.org/" -SRC_URI="http://ftp.unixodbc.org/pub/${PN}/${P}.tar.gz" +SRC_URI="ftp://ftp.unixodbc.org/pub/${PN}/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+minimal odbcmanual static-libs unicode" -RDEPEND="|| ( +RDEPEND=" + || ( dev-libs/libltdl:0[${MULTILIB_USEDEP}] >=sys-devel/libtool-2.4.2-r1[${MULTILIB_USEDEP}] ) >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] - abi_x86_32? ( !app-emulation/emul-linux-x86-db[-abi_x86_32(-)] )" + abi_x86_32? ( !app-emulation/emul-linux-x86-db[-abi_x86_32(-)] ) +" DEPEND="${RDEPEND} - sys-devel/flex" + sys-devel/flex +" -DOCS="AUTHORS ChangeLog NEWS README" MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config ) MULTILIB_WRAPPED_HEADERS=( /usr/include/unixodbc_conf.h ) -src_configure() { +multilib_src_configure() { # --enable-driver-conf is --enable-driverc as per configure.in myeconfargs=( --sysconfdir="${EPREFIX}"/etc/${PN} + --disable-static --enable-iconv + --enable-shared $(use_enable static-libs static) $(use_enable !minimal drivers) $(use_enable !minimal driverc) $(use_with unicode iconv-char-enc UTF8) $(use_with unicode iconv-ucode-enc UTF16LE) ) - autotools-multilib_src_configure + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" } multilib_src_install_all() { @@ -48,5 +53,5 @@ multilib_src_install_all() { use prefix && dodoc README* use odbcmanual && dohtml -a css,gif,html,sql,vsd -r doc/* - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + + prune_libtool_files } diff --git a/dev-lang/vala/vala-0.34.8.ebuild b/dev-lang/vala/vala-0.34.8.ebuild index f9e7e668ea0b..c0468e1930e6 100644 --- a/dev-lang/vala/vala-0.34.8.ebuild +++ b/dev-lang/vala/vala-0.34.8.ebuild @@ -9,7 +9,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Vala" LICENSE="LGPL-2.1" SLOT="0.34" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" IUSE="test" RDEPEND=" diff --git a/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild b/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild index 47aa6d36e782..c91922d481dc 100644 --- a/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild +++ b/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip" LICENSE="Boost-1.0" SLOT="0/5.6" # subslot is so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" IUSE="static-libs" DEPEND="app-arch/unzip" diff --git a/dev-libs/klibc/Manifest b/dev-libs/klibc/Manifest index cec70f846d25..b011c20c02a0 100644 --- a/dev-libs/klibc/Manifest +++ b/dev-libs/klibc/Manifest @@ -1,7 +1,3 @@ -DIST klibc-1.5.25.tar.bz2 510064 SHA256 0b910ec0b2a97d4c775ed06e44ad7bca7be150efdf2a77a19253a573e16367d3 SHA512 e550afb319cd995fb9c7fb086bc8ede550e5e4a48856ff5856e2296f691ba643c9fcc314c5e973f4d5b4f33b543ef4bc10d29b389f83e5418ec860a80e7cac45 WHIRLPOOL d986dcdcc95e2c7846d2eda9338519d5d84f50e94f82f1eee0234a17504ae10abaa75b6c89e9cf4c228690c0cc489d4323d98e5e62cde10cf7a04581026309f3 DIST klibc-2.0.4.tar.xz 469348 SHA256 7f9a0850586def7cf4faeeb75e5d0f66e613674c524f6e77b0f4d93a26c801cb SHA512 7a01d1744b49f3de64111fefc522b1d63f054199acf671254bc046d6f1d0b6ca68e050c99025bf8303751c2466a5e034677555649ae5909c40997858d393db8d WHIRLPOOL f5dc71b48f118155df512d8ac839b66d361b22ff4e040e49a562722d82f18ac83a8c682bf0b4c59a9b108473f74bebc673d38456cf0ab5b1051071ca3fa9b78e -DIST klibc_2.0.2-1.debian.tar.gz 21305 SHA256 93f4b9be5a3c725a38b7ac137850311e3cf8d8094874006c7dce793d2b71e469 SHA512 9cbcc39396a49bc37ace79eaefad6e704ddc9f30aba1b39f40dd2888dad06eeeb7b9c1a387cee60a95cf5641f50bd7f225cf8209547c75a8bae8af4285152d91 WHIRLPOOL a42e148550a27426e8f38b54cb4f3b1f355759d573ab27c0ecadb0c68d0afd54a5950471628ec4e2e27ac9c8b9d841940d6b0f2c0a873d4feab7af37e7989a52 DIST klibc_2.0.4-9.debian.tar.xz 28628 SHA256 069f3496d66bda23bca227acdbf2b5e5b57e57419db619c293b81ed4929aba12 SHA512 0fe9a6642be962fa631919850d7eeed5a87c10682766ee10fe31dec2b19a6179e0067602acb26bdc2aa8ceecfd39b1dc95a76f3b0a9bc813b172c0ffe9f0ff53 WHIRLPOOL 96de652f4b0cea4e2c117f541d820b9e869c05763e408b7bd203d04ae2b70a89939713794e0dda27f253b2662ef03aea62bd669b06de4a2290f807890b1b01e8 -DIST linux-2.6.39.tar.bz2 76096559 SHA256 584d17f2a3ee18a9501d7ff36907639e538cfdba4529978b8550c461d45c61f6 SHA512 06cb5aba7c53c68d43afcebbbb9507d8b398b3e994d8a237c66a49374ca569237f074adaa3fccba7f908eab4f51f99bae40656793eab5c2f5ce03cd3a65fa02c WHIRLPOOL 2f2c833ab1d8ddbe3e0b862b71a38d47fd3fc5688ea81cdd818369b09e72fa50481bf84533ddcea992af1130b2ceec10b6ff5eaff393a14ee70639293a555912 -DIST linux-3.12.tar.xz 76384600 SHA256 2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02 SHA512 4ba5797e0772726d05c9f2eee66dc6dc2a5033c749ef44764c805a83da739ed5d0c6443b76785e38fe1ef74cc7ade787e48144faed0cfcb6f124f05248c700ff WHIRLPOOL a40195f6b53ba3440cf90a44495f6a59670f750851d1518e2bdfe3b949f0e898d1df5d37e271c31c555087026ddb6cc2c9109b22b9639e3222735e6f650a1417 DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc diff --git a/dev-libs/klibc/klibc-1.5.25.ebuild b/dev-libs/klibc/klibc-1.5.25.ebuild deleted file mode 100644 index 0a7041be8582..000000000000 --- a/dev-libs/klibc/klibc-1.5.25.ebuild +++ /dev/null @@ -1,265 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Robin H. Johnson <robbat2@gentoo.org>, 12 Nov 2007: -# This still needs major work. -# But it is significently better than the previous version. -# In that it will now build on biarch systems, such as ppc64-32ul. - -# NOTES: -# ====== -# We need to bring in the kernel sources seperately -# Because they have to be configured in a way that differs from the copy in -# /usr/src/. The sys-kernel/linux-headers are too stripped down to use -# unfortunately. -# This will be able to go away once the klibc author updates his code -# to build again the headers provided by the kernel's 'headers_install' target. - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="A minimal libc subset for use with initramfs" -HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc" -KV_MAJOR="2" KV_MINOR="6" KV_SUB="39" -PKV_EXTRA="" -if [ -n "${PKV_EXTRA}" ]; then - PKV="${KV_MAJOR}.${KV_MINOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" - PATCH_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PKV}.bz2" -fi -OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}" -KERNEL_URI=" - mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2 - mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/testing/linux-${OKV}.tar.bz2" -SRC_URI=" - mirror://kernel/linux/libs/klibc/${PV:0:3}/${P}.tar.bz2 - ${PATCH_URI} - ${KERNEL_URI}" - -LICENSE="|| ( GPL-2 LGPL-2 )" -KEYWORDS="~alpha amd64 ~arm ia64 -mips ~ppc ~ppc64 ~sparc x86" -SLOT="0" -IUSE="debug" - -DEPEND="dev-lang/perl" -RDEPEND="${DEPEND}" - -KS="${WORKDIR}/linux-${OKV}" - -# Klibc has no PT_GNU_STACK support, so scanning for execstacks is moot -QA_EXECSTACK="*" -# Do not strip -RESTRICT="strip" - -kernel_asm_arch() { - a="${1:${ARCH}}" - case ${a} in - # Merged arches - x86|amd64) echo x86 ;; - ppc*) echo powerpc ;; - # Non-merged - alpha|arm|ia64|m68k|mips|sh|sparc*) echo ${1} ;; - *) die "TODO: Update the code for your asm-ARCH symlink" ;; - esac -} - -# For a given Gentoo ARCH, -# specify the kernel defconfig most relevant -kernel_defconfig() { - a="${1:${ARCH}}" - # most, but not all arches have a sanely named defconfig - case ${a} in - ppc64) echo ppc64_defconfig ;; - ppc) echo pmac32_defconfig ;; - sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;; - *) echo defconfig ;; - esac -} - -src_unpack() { - unpack linux-${OKV}.tar.bz2 ${P}.tar.bz2 - [ -n "${PKV}" ] && EPATCH_OPTS="-d ${KS} -p1" epatch "${DISTDIR}"/patch-${PKV}.bz2 - cd "${S}" - - # Symlink /usr/src/linux to ${S}/linux - ln -snf "${KS}" linux - #ln -snf "/usr" linux - - # Build interp.o with EXTRA_KLIBCAFLAGS (.S source) - epatch "${FILESDIR}"/${PN}-1.4.11-interp-flags.patch - - # Fix usage of -s, bug #201006 - epatch "${FILESDIR}"/klibc-1.5.7-strip-fix-dash-s.patch -} - -# klibc has it's own ideas of arches -# They reflect userspace strictly. -# This functions maps from a Gentoo ARCH, to an arch that klibc expects -# Look at klibc-${S}/usr/klibc/arch for a list of these arches -klibc_arch() { - a="${1:${ARCH}}" - case ${a} in - amd64) echo x86_64;; - mips) die 'TODO: Use the $ABI' ;; - x86) echo i386;; - *) echo ${a} ;; - esac -} - -src_compile() { - local myargs="all" - local myARCH="${ARCH}" myABI="${ABI}" - # TODO: For cross-compiling - # You should set ARCH and ABI here - CC="$(tc-getCC)" - HOSTCC="$(tc-getBUILD_CC)" - KLIBCARCH="$(klibc_arch ${ARCH})" - KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" - libdir="$(get_libdir)" - # This should be the defconfig corresponding to your userspace! - # NOT your kernel. PPC64-32ul would choose 'ppc' for example. - defconfig=$(kernel_defconfig ${ARCH}) - unset ABI ARCH # Unset these, because they interfere - unset KBUILD_OUTPUT # we are using a private copy - - cd "${KS}" - emake ${defconfig} CC="${CC}" HOSTCC="${HOSTCC}" || die "No defconfig" - if [[ "${KLIBCARCH/arm}" != "${KLIBCARCH}" ]] && \ - [[ "${CHOST/eabi}" != "${CHOST}" ]]; then - # The delete and insert are seperate statements - # so that they are reliably used. - sed -i \ - -e '/CONFIG_AEABI/d' \ - -e '1iCONFIG_AEABI=y' \ - -e '/CONFIG_OABI_COMPAT/d' \ - -e '1iCONFIG_OABI_COMPAT=y' \ - "${KS}"/.config \ - "${S}"/defconfig - fi - emake prepare CC="${CC}" HOSTCC="${HOSTCC}" || die "Failed to prepare kernel sources for header usage" - - cd "${S}" - - use debug && myargs="${myargs} V=1" - use test && myargs="${myargs} test" - - emake \ - EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ - EXTRA_KLIBCLDFLAGS="-z noexecstack" \ - HOSTCC="${HOSTCC}" CC="${CC}" \ - INSTALLDIR="/usr/${libdir}/klibc" \ - KLIBCARCH=${KLIBCARCH} \ - KLIBCASMARCH=${KLIBCASMARCH} \ - SHLIBDIR="/${libdir}" \ - libdir="/usr/${libdir}" \ - mandir="/usr/share/man" \ - T="${T}" \ - ${myargs} || die "Compile failed!" - - #SHLIBDIR="/${libdir}" \ - - ARCH="${myARCH}" ABI="${myABI}" -} - -src_install() { - local myargs - local myARCH="${ARCH}" myABI="${ABI}" - # TODO: For cross-compiling - # You should set ARCH and ABI here - CC="$(tc-getCC)" - HOSTCC="$(tc-getBUILD_CC)" - KLIBCARCH="$(klibc_arch ${ARCH})" - KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" - libdir="$(get_libdir)" - # This should be the defconfig corresponding to your userspace! - # NOT your kernel. PPC64-32ul would choose 'ppc' for example. - defconfig=$(kernel_defconfig ${ARCH}) - - use debug && myargs="${myargs} V=1" - - local klibc_prefix - if tc-is-cross-compiler ; then - klibc_prefix=$("${S}/klcc/${KLIBCARCH}-klcc" -print-klibc-prefix) - else - klibc_prefix=$("${S}/klcc/klcc" -print-klibc-prefix) - fi - - unset ABI ARCH # Unset these, because they interfere - unset KBUILD_OUTPUT # we are using a private copy - - emake \ - EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ - EXTRA_KLIBCLDFLAGS="-z noexecstack" \ - HOSTCC="${HOSTCC}" CC="${CC}" \ - INSTALLDIR="/usr/${libdir}/klibc" \ - INSTALLROOT="${D}" \ - KLIBCARCH=${KLIBCARCH} \ - KLIBCASMARCH=${KLIBCASMARCH} \ - SHLIBDIR="/${libdir}" \ - libdir="/usr/${libdir}" \ - mandir="/usr/share/man" \ - ${myargs} \ - install || die "Install failed!" - - #SHLIBDIR="/${libdir}" \ - - # klibc doesn't support prelinking, so we need to mask it - cat > "${T}/70klibc" <<-EOF - PRELINK_PATH_MASK="/usr/${libdir}/klibc" - EOF - - doenvd "${T}"/70klibc - - # Fix the permissions (bug #178053) on /usr/${libdir}/klibc/include - # Actually I have no idea, why the includes have those weird-ass permissions - # on a particular system, might be due to inherited permissions from parent - # directory - find "${D}"/usr/${libdir}/klibc/include | xargs chmod o+rX - - # Hardlinks becoming copies - for x in gunzip zcat ; do - rm -f "${D}/${klibc_prefix}/bin/${x}" - dosym gzip "${klibc_prefix}/bin/${x}" - done - - # Restore now, so we can use the tc- functions - ARCH="${myARCH}" ABI="${myABI}" - if ! tc-is-cross-compiler ; then - cd "${S}" - insinto /usr/share/aclocal - doins contrib/klibc.m4 - - dodoc README usr/klibc/CAVEATS - docinto gzip; dodoc usr/gzip/README - fi - - # Fix up the symlink - # Mainly for merged arches - linkname="${D}/usr/${libdir}/klibc/include/asm" - if [ -L "${linkname}" ] && [ ! -e "${linkname}" ] ; then - ln -snf asm-${KLIBCASMARCH} "${linkname}" - fi -} - -src_test() { - if ! tc-is-cross-compiler ; then - cd "${S}"/usr/klibc/tests - ALL_TESTS="$(ls *.c |sed 's,\.c$,,g')" - BROKEN_TESTS="fcntl fnmatch testrand48" - failed=0 - for t in $ALL_TESTS ; do - if has $t $BROKEN_TESTS ; then - echo "=== $t SKIP" - else - echo -n "=== $t " - ./$t </dev/null >/dev/null - rc=$? - if [ $rc -eq 0 ]; then - echo PASS - else - echo FAIL - failed=1 - fi - fi - done - [ $failed -ne 0 ] && die "Some tests failed." - fi -} diff --git a/dev-libs/klibc/klibc-2.0.4.ebuild b/dev-libs/klibc/klibc-2.0.4.ebuild deleted file mode 100644 index 907298dfb3da..000000000000 --- a/dev-libs/klibc/klibc-2.0.4.ebuild +++ /dev/null @@ -1,316 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Robin H. Johnson <robbat2@gentoo.org>, 12 Nov 2007: -# This still needs major work. -# But it is significently better than the previous version. -# In that it will now build on biarch systems, such as ppc64-32ul. - -# NOTES: -# ====== -# We need to bring in the kernel sources seperately -# Because they have to be configured in a way that differs from the copy in -# /usr/src/. The sys-kernel/linux-headers are too stripped down to use -# unfortunately. -# This will be able to go away once the klibc author updates his code -# to build again the headers provided by the kernel's 'headers_install' target. - -EAPI=5 -K_TARBALL_SUFFIX="xz" - -inherit eutils multilib toolchain-funcs flag-o-matic - -DESCRIPTION="A minimal libc subset for use with initramfs" -HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc/ https://www.kernel.org/pub/linux/libs/klibc/" -KV_MAJOR="3" KV_MINOR="x" KV_SUB="12" -PKV_EXTRA="" -if [[ ${PKV_EXTRA} ]]; then - if [[ ${KV_MAJOR} == 2 ]]; then - PKV="${KV_MAJOR}.${KV_MINOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" - else - PKV="${KV_MAJOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" - fi - PATCH_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PKV}.${K_TARBALL_SUFFIX}" -fi -if [[ ${KV_MAJOR} == 2 ]]; then - OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}" -else - OKV="${KV_MAJOR}.${KV_SUB}" -fi -KERNEL_URI=" - mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.${K_TARBALL_SUFFIX} - mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/testing/linux-${OKV}.tar.${K_TARBALL_SUFFIX}" -DEBIAN_PV=2.0.2 -DEBIAN_PR=1 -DEBIAN_A="${PN}_${DEBIAN_PV}-${DEBIAN_PR}.debian.tar.gz" -SRC_URI=" - mirror://kernel/linux/libs/klibc/${PV:0:3}/${P}.tar.${K_TARBALL_SUFFIX} - mirror://debian/pool/main/k/klibc/${DEBIAN_A} - ${PATCH_URI} - ${KERNEL_URI}" - -LICENSE="|| ( GPL-2 LGPL-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 -mips ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="debug test custom-cflags" - -DEPEND="dev-lang/perl" -RDEPEND="${DEPEND}" - -KS="${WORKDIR}/linux-${OKV}" - -# Klibc has no PT_GNU_STACK support, so scanning for execstacks is moot -QA_EXECSTACK="*" -# Do not strip -RESTRICT="strip" - -kernel_asm_arch() { - a="${1:${ARCH}}" - case ${a} in - # Merged arches - x86) echo i386 ;; # for build on x86 userspace & 64bit kernel - amd64) echo x86 ;; - ppc*) echo powerpc ;; - # Non-merged - alpha|arm|arm64|ia64|m68k|mips|sh|sparc*) echo ${1} ;; - *) die "TODO: Update the code for your asm-ARCH symlink" ;; - esac -} - -# For a given Gentoo ARCH, -# specify the kernel defconfig most relevant -kernel_defconfig() { - a="${1:${ARCH}}" - # most, but not all arches have a sanely named defconfig - case ${a} in - ppc64) echo ppc64_defconfig ;; - ppc) echo pmac32_defconfig ;; - sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;; - *) echo defconfig ;; - esac -} - -src_unpack() { - unpack linux-${OKV}.tar.${K_TARBALL_SUFFIX} ${P}.tar.${K_TARBALL_SUFFIX} ${DEBIAN_A} -} - -src_prepare() { - [[ ${PKV} ]] && EPATCH_OPTS="-d ${KS} -p1" epatch "${DISTDIR}"/patch-${PKV}.${K_TARBALL_SUFFIX} - cd "${S}" - - # Symlink /usr/src/linux to ${S}/linux - ln -snf "${KS}" linux - #ln -snf "/usr" linux - - # Build interp.o with EXTRA_KLIBCAFLAGS (.S source) - epatch "${FILESDIR}"/${PN}-1.4.11-interp-flags.patch - - # Fix usage of -s, bug #201006 - epatch "${FILESDIR}"/klibc-1.5.7-strip-fix-dash-s.patch - - # The inline definition from sys/stat.h does not seem to get used - # So just copy it to make this compile for now - epatch "${FILESDIR}"/klibc-2.0.2-mkfifo.patch - - # Newer kernels have some headers in the uapi dir - epatch "${FILESDIR}"/klibc-2.0.3-kernel-uapi.patch - - # Borrow the debian fixes too - for p in $(<"${S}"/debian/patches/series) ; do - epatch "${S}/debian/patches/${p}" - done -} - -# klibc has it's own ideas of arches -# They reflect userspace strictly. -# This functions maps from a Gentoo ARCH, to an arch that klibc expects -# Look at klibc-${S}/usr/klibc/arch for a list of these arches -klibc_arch() { - a="${1:${ARCH}}" - case ${a} in - amd64) echo x86_64;; - mips) die 'TODO: Use the $ABI' ;; - x86) echo i386;; - *) echo ${a} ;; - esac -} - -src_compile() { - local myargs="all" - local myARCH="${ARCH}" myABI="${ABI}" - # TODO: For cross-compiling - # You should set ARCH and ABI here - CC="$(tc-getCC)" - LD="$(tc-getLD)" - HOSTCC="$(tc-getBUILD_CC)" - HOSTLD="$(tc-getBUILD_LD)" - KLIBCARCH="$(klibc_arch ${ARCH})" - KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" - libdir="$(get_libdir)" - # This should be the defconfig corresponding to your userspace! - # NOT your kernel. PPC64-32ul would choose 'ppc' for example. - defconfig=$(kernel_defconfig ${ARCH}) - unset ABI ARCH # Unset these, because they interfere - unset KBUILD_OUTPUT # we are using a private copy - - cd "${KS}" - emake ${defconfig} CC="${CC}" HOSTCC="${HOSTCC}" ARCH="${KLIBCASMARCH}" || die "No defconfig" - if [[ "${KLIBCARCH/arm}" != "${KLIBCARCH}" ]] && \ - [[ "${CHOST/eabi}" != "${CHOST}" ]]; then - # The delete and insert are seperate statements - # so that they are reliably used. - sed -i \ - -e '/CONFIG_AEABI/d' \ - -e '1iCONFIG_AEABI=y' \ - -e '/CONFIG_OABI_COMPAT/d' \ - -e '1iCONFIG_OABI_COMPAT=y' \ - -e '1iCONFIG_ARM_UNWIND=y' \ - "${KS}"/.config \ - "${S}"/defconfig - fi - emake prepare CC="${CC}" HOSTCC="${HOSTCC}" ARCH="${KLIBCASMARCH}" || die "Failed to prepare kernel sources for header usage" - - cd "${S}" - - use debug && myargs="${myargs} V=1" - use test && myargs="${myargs} test" - append-ldflags -z noexecstack - append-flags -nostdlib - - emake \ - EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ - EXTRA_KLIBCLDFLAGS="-z noexecstack" \ - HOSTLDFLAGS="-z noexecstack" \ - KLIBCOPTFLAGS='-nostdlib' \ - HOSTCC="${HOSTCC}" CC="${CC}" \ - HOSTLD="${HOSTLD}" LD="${LD}" \ - INSTALLDIR="/usr/${libdir}/klibc" \ - KLIBCARCH=${KLIBCARCH} \ - KLIBCASMARCH=${KLIBCASMARCH} \ - SHLIBDIR="/${libdir}" \ - libdir="/usr/${libdir}" \ - mandir="/usr/share/man" \ - T="${T}" \ - $(use custom-cflags || echo SKIP_)HOSTCFLAGS="${CFLAGS}" \ - $(use custom-cflags || echo SKIP_)HOSTLDFLAGS="${LDFLAGS}" \ - $(use custom-cflags || echo SKIP_)KLIBCOPTFLAGS="${CFLAGS}" \ - ${myargs} || die "Compile failed!" - - #SHLIBDIR="/${libdir}" \ - - ARCH="${myARCH}" ABI="${myABI}" -} - -src_install() { - local myargs - local myARCH="${ARCH}" myABI="${ABI}" - # TODO: For cross-compiling - # You should set ARCH and ABI here - CC="$(tc-getCC)" - HOSTCC="$(tc-getBUILD_CC)" - KLIBCARCH="$(klibc_arch ${ARCH})" - KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" - libdir="$(get_libdir)" - # This should be the defconfig corresponding to your userspace! - # NOT your kernel. PPC64-32ul would choose 'ppc' for example. - defconfig=$(kernel_defconfig ${ARCH}) - - use debug && myargs="${myargs} V=1" - - local klibc_prefix - if tc-is-cross-compiler ; then - klibc_prefix=$("${S}/klcc/${KLIBCARCH}-klcc" -print-klibc-prefix) - else - klibc_prefix=$("${S}/klcc/klcc" -print-klibc-prefix) - fi - - unset ABI ARCH # Unset these, because they interfere - unset KBUILD_OUTPUT # we are using a private copy - - emake \ - EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ - EXTRA_KLIBCLDFLAGS="-z noexecstack" \ - HOSTLDFLAGS="-z noexecstack" \ - KLIBCOPTFLAGS='-nostdlib' \ - HOSTCC="${HOSTCC}" CC="${CC}" \ - HOSTLD="${HOSTLD}" LD="${LD}" \ - INSTALLDIR="/usr/${libdir}/klibc" \ - INSTALLROOT="${D}" \ - KLIBCARCH=${KLIBCARCH} \ - KLIBCASMARCH=${KLIBCASMARCH} \ - SHLIBDIR="/${libdir}" \ - libdir="/usr/${libdir}" \ - mandir="/usr/share/man" \ - T="${T}" \ - $(use custom-cflags || echo SKIP_)HOSTCFLAGS="${CFLAGS}" \ - $(use custom-cflags || echo SKIP_)HOSTLDFLAGS="${LDFLAGS}" \ - $(use custom-cflags || echo SKIP_)KLIBCOPTFLAGS="${CFLAGS}" \ - ${myargs} \ - install || die "Install failed!" - - #SHLIBDIR="/${libdir}" \ - - # klibc doesn't support prelinking, so we need to mask it - cat > "${T}/70klibc" <<-EOF - PRELINK_PATH_MASK="/usr/${libdir}/klibc" - EOF - - doenvd "${T}"/70klibc - - # Fix the permissions (bug #178053) on /usr/${libdir}/klibc/include - # Actually I have no idea, why the includes have those weird-ass permissions - # on a particular system, might be due to inherited permissions from parent - # directory - find "${D}"/usr/${libdir}/klibc/include | xargs chmod o+rX - find "${D}"/usr/${libdir}/klibc/include -type f \ - \( -name '.install' -o -name '..install.cmd' \) -delete || die - - # Hardlinks becoming copies - for x in gunzip zcat ; do - rm -f "${D}/${klibc_prefix}/bin/${x}" - dosym gzip "${klibc_prefix}/bin/${x}" - done - - # Restore now, so we can use the tc- functions - ARCH="${myARCH}" ABI="${myABI}" - if ! tc-is-cross-compiler ; then - cd "${S}" - insinto /usr/share/aclocal - doins contrib/klibc.m4 - - dodoc README usr/klibc/CAVEATS - docinto gzip; dodoc usr/gzip/README - fi - - # Fix up the symlink - # Mainly for merged arches - linkname="${D}/usr/${libdir}/klibc/include/asm" - if [ -L "${linkname}" ] && [ ! -e "${linkname}" ] ; then - ln -snf asm-${KLIBCASMARCH} "${linkname}" - fi -} - -src_test() { - if ! tc-is-cross-compiler ; then - cd "${S}"/usr/klibc/tests - ALL_TESTS="$(ls *.c |sed 's,\.c$,,g')" - BROKEN_TESTS="fcntl fnmatch testrand48" - failed=0 - for t in $ALL_TESTS ; do - if has $t $BROKEN_TESTS ; then - echo "=== $t SKIP" - else - echo -n "=== $t " - ./$t </dev/null >/dev/null - rc=$? - if [ $rc -eq 0 ]; then - echo PASS - else - echo FAIL - failed=1 - fi - fi - done - [ $failed -ne 0 ] && die "Some tests failed." - fi -} diff --git a/dev-libs/vala-common/vala-common-0.34.8.ebuild b/dev-libs/vala-common/vala-common-0.34.8.ebuild index 07794b16e2c3..257ba5bfb406 100644 --- a/dev-libs/vala-common/vala-common-0.34.8.ebuild +++ b/dev-libs/vala-common/vala-common-0.34.8.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Vala" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x64-solaris" IUSE="" # Previously ${PN} was part of dev-lang/vala diff --git a/dev-perl/Archive-Zip/Archive-Zip-1.590.0.ebuild b/dev-perl/Archive-Zip/Archive-Zip-1.590.0.ebuild index 6aad088fc2f1..e49a5972c839 100644 --- a/dev-perl/Archive-Zip/Archive-Zip-1.590.0.ebuild +++ b/dev-perl/Archive-Zip/Archive-Zip-1.590.0.ebuild @@ -11,7 +11,7 @@ inherit perl-module DESCRIPTION="A wrapper that lets you read Zip archive members as if they were files" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="test" RDEPEND=" diff --git a/dev-perl/SUPER/SUPER-1.201.411.170.ebuild b/dev-perl/SUPER/SUPER-1.201.411.170.ebuild index c2930fb15308..139fa0199c35 100644 --- a/dev-perl/SUPER/SUPER-1.201.411.170.ebuild +++ b/dev-perl/SUPER/SUPER-1.201.411.170.ebuild @@ -9,7 +9,7 @@ inherit perl-module DESCRIPTION="control superclass method dispatch" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="test" RDEPEND=" diff --git a/dev-perl/Sub-Identify/Sub-Identify-0.140.0.ebuild b/dev-perl/Sub-Identify/Sub-Identify-0.140.0.ebuild index 0c3f068d1678..40d7478ad0cf 100644 --- a/dev-perl/Sub-Identify/Sub-Identify-0.140.0.ebuild +++ b/dev-perl/Sub-Identify/Sub-Identify-0.140.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Retrieve names of code references" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris" IUSE="test" RDEPEND=" diff --git a/dev-perl/Test-MockModule/Test-MockModule-0.110.0.ebuild b/dev-perl/Test-MockModule/Test-MockModule-0.110.0.ebuild index 0db50a4653e0..466de9c20dc8 100644 --- a/dev-perl/Test-MockModule/Test-MockModule-0.110.0.ebuild +++ b/dev-perl/Test-MockModule/Test-MockModule-0.110.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Override subroutines in a module for unit testing" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="test" RDEPEND=" diff --git a/dev-qt/assistant/assistant-4.8.7.ebuild b/dev-qt/assistant/assistant-4.8.7.ebuild index 8ae91407db7c..41eb312612bc 100644 --- a/dev-qt/assistant/assistant-4.8.7.ebuild +++ b/dev-qt/assistant/assistant-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit eutils qt4-build-multilib DESCRIPTION="Tool for viewing on-line documentation in Qt help file format" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" + KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" fi IUSE="webkit" diff --git a/dev-qt/designer/designer-4.8.7.ebuild b/dev-qt/designer/designer-4.8.7.ebuild index fa3792775f23..f4c310ff463a 100644 --- a/dev-qt/designer/designer-4.8.7.ebuild +++ b/dev-qt/designer/designer-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit eutils qt4-build-multilib DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi DESIGNER_PLUGINS="declarative phonon qt3support webkit" diff --git a/dev-qt/linguist/linguist-4.8.7.ebuild b/dev-qt/linguist/linguist-4.8.7.ebuild index 77e399dc0546..7b2aba029c96 100644 --- a/dev-qt/linguist/linguist-4.8.7.ebuild +++ b/dev-qt/linguist/linguist-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit eutils qt4-build-multilib DESCRIPTION="Graphical tool for translating Qt applications" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/dev-qt/pixeltool/pixeltool-4.8.7.ebuild b/dev-qt/pixeltool/pixeltool-4.8.7.ebuild index 6cafb15825f5..9cf60ffbfbaa 100644 --- a/dev-qt/pixeltool/pixeltool-4.8.7.ebuild +++ b/dev-qt/pixeltool/pixeltool-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="Qt screen magnifier" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" + KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" fi IUSE="" diff --git a/dev-qt/qdbusviewer/qdbusviewer-4.8.7.ebuild b/dev-qt/qdbusviewer/qdbusviewer-4.8.7.ebuild index 578d1f630b68..5a0ad0e6e7bc 100644 --- a/dev-qt/qdbusviewer/qdbusviewer-4.8.7.ebuild +++ b/dev-qt/qdbusviewer/qdbusviewer-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit eutils qt4-build-multilib DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/dev-qt/qt3support/qt3support-4.8.7.ebuild b/dev-qt/qt3support/qt3support-4.8.7.ebuild index d1941fdec6d7..6dc258487e99 100644 --- a/dev-qt/qt3support/qt3support-4.8.7.ebuild +++ b/dev-qt/qt3support/qt3support-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The Qt3Support module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+accessibility" diff --git a/dev-qt/qtbearer/qtbearer-4.8.7.ebuild b/dev-qt/qtbearer/qtbearer-4.8.7.ebuild index a7276146f106..bde97360a22b 100644 --- a/dev-qt/qtbearer/qtbearer-4.8.7.ebuild +++ b/dev-qt/qtbearer/qtbearer-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The network bearer plugins for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="connman networkmanager" diff --git a/dev-qt/qtcore/qtcore-4.8.7-r2.ebuild b/dev-qt/qtcore/qtcore-4.8.7-r2.ebuild index e384674860c2..19f8832d3108 100644 --- a/dev-qt/qtcore/qtcore-4.8.7-r2.ebuild +++ b/dev-qt/qtcore/qtcore-4.8.7-r2.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="Cross-platform application development framework" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+glib iconv icu libressl qt3support ssl" diff --git a/dev-qt/qtdbus/qtdbus-4.8.7.ebuild b/dev-qt/qtdbus/qtdbus-4.8.7.ebuild index 16e9dd306302..1272e6a85ac6 100644 --- a/dev-qt/qtdbus/qtdbus-4.8.7.ebuild +++ b/dev-qt/qtdbus/qtdbus-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The DBus module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/dev-qt/qtdeclarative/qtdeclarative-4.8.7.ebuild b/dev-qt/qtdeclarative/qtdeclarative-4.8.7.ebuild index 7aa923223a7c..98bdbce906d8 100644 --- a/dev-qt/qtdeclarative/qtdeclarative-4.8.7.ebuild +++ b/dev-qt/qtdeclarative/qtdeclarative-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The Declarative module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+accessibility qt3support webkit" diff --git a/dev-qt/qtdemo/qtdemo-4.8.7.ebuild b/dev-qt/qtdemo/qtdemo-4.8.7.ebuild index bb1b815f68c9..cfcb9167b11c 100644 --- a/dev-qt/qtdemo/qtdemo-4.8.7.ebuild +++ b/dev-qt/qtdemo/qtdemo-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="Demonstration module and examples for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="amd64 ~arm ppc ppc64 x86" + KEYWORDS="amd64 arm ppc ppc64 x86" fi IUSE="dbus declarative kde multimedia opengl phonon webkit xmlpatterns" diff --git a/dev-qt/qtgui/qtgui-4.8.7.ebuild b/dev-qt/qtgui/qtgui-4.8.7.ebuild index f3e687084a1e..dda69ac8593d 100644 --- a/dev-qt/qtgui/qtgui-4.8.7.ebuild +++ b/dev-qt/qtgui/qtgui-4.8.7.ebuild @@ -8,7 +8,7 @@ DESCRIPTION="The GUI module for the Qt toolkit" SRC_URI+=" https://dev.gentoo.org/~pesa/patches/${PN}-systemtrayicon-plugin-system.patch" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+accessibility cups egl +glib gtkstyle mng nas nis qt3support tiff trace xinerama +xv" diff --git a/dev-qt/qthelp/qthelp-4.8.7.ebuild b/dev-qt/qthelp/qthelp-4.8.7.ebuild index 4facf8b4486f..434040447405 100644 --- a/dev-qt/qthelp/qthelp-4.8.7.ebuild +++ b/dev-qt/qthelp/qthelp-4.8.7.ebuild @@ -12,7 +12,7 @@ SRC_URI+=" )" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" + KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" fi IUSE="compat doc" diff --git a/dev-qt/qtmultimedia/qtmultimedia-4.8.7.ebuild b/dev-qt/qtmultimedia/qtmultimedia-4.8.7.ebuild index 69b761490e63..9f09836ab606 100644 --- a/dev-qt/qtmultimedia/qtmultimedia-4.8.7.ebuild +++ b/dev-qt/qtmultimedia/qtmultimedia-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The Multimedia module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86" + KEYWORDS="amd64 arm ~ia64 ppc ppc64 x86" fi IUSE="alsa" diff --git a/dev-qt/qtopengl/qtopengl-4.8.7.ebuild b/dev-qt/qtopengl/qtopengl-4.8.7.ebuild index 92b6dac2f1ce..1aa3635ae83a 100644 --- a/dev-qt/qtopengl/qtopengl-4.8.7.ebuild +++ b/dev-qt/qtopengl/qtopengl-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The OpenGL module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="egl qt3support" diff --git a/dev-qt/qtphonon/qtphonon-4.8.7.ebuild b/dev-qt/qtphonon/qtphonon-4.8.7.ebuild index aada2dd5c482..d346189534d8 100644 --- a/dev-qt/qtphonon/qtphonon-4.8.7.ebuild +++ b/dev-qt/qtphonon/qtphonon-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The Phonon module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 x86 ~x86-fbsd" + KEYWORDS="amd64 arm hppa ~ia64 ppc ppc64 x86 ~x86-fbsd" fi IUSE="dbus qt3support" diff --git a/dev-qt/qtscript/qtscript-4.8.7.ebuild b/dev-qt/qtscript/qtscript-4.8.7.ebuild index 20de94ca2064..e5acb7448823 100644 --- a/dev-qt/qtscript/qtscript-4.8.7.ebuild +++ b/dev-qt/qtscript/qtscript-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The QtScript module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+jit" diff --git a/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild b/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild index a52792919abc..ccc0ded8d9c8 100644 --- a/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild +++ b/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild @@ -7,7 +7,7 @@ inherit multilib qt4-build-multilib DESCRIPTION="The SQL module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="freetds mysql oci8 odbc postgres qt3support +sqlite" diff --git a/dev-qt/qtsvg/qtsvg-4.8.7.ebuild b/dev-qt/qtsvg/qtsvg-4.8.7.ebuild index b4948a670b74..4f0a92da6a8b 100644 --- a/dev-qt/qtsvg/qtsvg-4.8.7.ebuild +++ b/dev-qt/qtsvg/qtsvg-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The SVG module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+accessibility" diff --git a/dev-qt/qttest/qttest-4.8.7.ebuild b/dev-qt/qttest/qttest-4.8.7.ebuild index 816c74a5a683..365ad5ad15c8 100644 --- a/dev-qt/qttest/qttest-4.8.7.ebuild +++ b/dev-qt/qttest/qttest-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The QtTest module for unit testing Qt applications and libraries" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/dev-qt/qttranslations/qttranslations-4.8.7.ebuild b/dev-qt/qttranslations/qttranslations-4.8.7.ebuild index b619409183c2..9bd9fc5d35bc 100644 --- a/dev-qt/qttranslations/qttranslations-4.8.7.ebuild +++ b/dev-qt/qttranslations/qttranslations-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="Translation files for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/dev-qt/qtwebkit/qtwebkit-4.8.7.ebuild b/dev-qt/qtwebkit/qtwebkit-4.8.7.ebuild index 0f985dd706a5..0eba2efb1006 100644 --- a/dev-qt/qtwebkit/qtwebkit-4.8.7.ebuild +++ b/dev-qt/qtwebkit/qtwebkit-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The WebKit module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="amd64 ~arm ia64 ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="amd64 arm ia64 ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="+gstreamer icu +jit" diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.7.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.7.ebuild index 4b184e7c5731..20cd5a7736b0 100644 --- a/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.7.ebuild +++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.7.ebuild @@ -7,7 +7,7 @@ inherit qt4-build-multilib DESCRIPTION="The XmlPatterns module for the Qt toolkit" if [[ ${QT4_BUILD_TYPE} == release ]]; then - KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" fi IUSE="" diff --git a/media-gfx/gimp/gimp-2.8.22.ebuild b/media-gfx/gimp/gimp-2.8.22.ebuild index b3a51d232730..64bb734b9d95 100644 --- a/media-gfx/gimp/gimp-2.8.22.ebuild +++ b/media-gfx/gimp/gimp-2.8.22.ebuild @@ -11,7 +11,7 @@ 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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~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 wmf xpm" diff --git a/media-gfx/openmesh/Manifest b/media-gfx/openmesh/Manifest index fdcf0346edbe..bcaf6909b88b 100644 --- a/media-gfx/openmesh/Manifest +++ b/media-gfx/openmesh/Manifest @@ -1,3 +1 @@ -DIST OpenMesh-3.2.tar.bz2 23766435 SHA256 c74890539846c8222aae93ad63316132e84bf4b2080c9b8321790767723f32e5 SHA512 40b346a6c7b141c284183ca66a489d20b668e3c3c0fb5b4e4185b86ea4552f031ea3106e918b2c3cf8e1bc713f3aac325dd17b50ec4d29f6446cf2cbde9a3dd9 WHIRLPOOL 93d8a2d2443f3de8938bf02836f1e1af92fc5adcd0c8c8fbc404a489d566d8d0e4dc4ed86665a8de0c94b171c045713497a7ef6fdb2aa83e04c5a3e2c18a79d5 -DIST OpenMesh-3.3.tar.bz2 24797682 SHA256 4eff6fff5685c57e2e7cdbf5b4b1ef183b3806db822eb01f74c8895e0fbe7a1d SHA512 3bed1f6a3d7db9b67d6c17647bf6c5efa26aca394763d14f5106f70573660329618d99287a51bea23c3a34b495117e38d5756d6d5bf49ea1add711d9e68bab8d WHIRLPOOL 3e6469940dd0ea5c6b83f79841faae8917c25558ea2bc43d78b7576c070fb8ab14b0280c1900e7d871f30a305ab42791a5498373a8869674179b0fd73dc626d5 DIST OpenMesh-4.1.tar.bz2 24728164 SHA256 3e30cd7325db6367175e2e88c7516c23b7f90c9e1ff739c7d62e7de21228bb8e SHA512 064a4d5cb467589869baf4a302e6c620bd84de874b24019252b97ef863b59e83f2fe23ea45e4a5162a7765847da19f75f563f084cf2b3ae77c7e704b4c859b71 WHIRLPOOL 6989d0ff9dd24bf5b8252e6fc0a416258015d1b5a6202b4e7583c1f2eefe59826a5e2aaa6d50f105083f43680431a67e1cab5b81ace06b119d4e3737267f79ee diff --git a/media-gfx/openmesh/openmesh-3.2.ebuild b/media-gfx/openmesh/openmesh-3.2.ebuild deleted file mode 100644 index b2c87867bb93..000000000000 --- a/media-gfx/openmesh/openmesh-3.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -inherit eutils cmake-utils - -MY_PN="OpenMesh" -MY_PV="${PV/_rc/-RC}" -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -DESCRIPTION="A generic and efficient data structure for representing and manipulating polygonal meshes" -HOMEPAGE="http://www.openmesh.org/" -SRC_URI="http://openmesh.org/media/Releases/${MY_PV/-RC/RC}/${MY_PN}-${MY_PV}.tar.bz2" - -LICENSE="LGPL-3-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 ia64 x86" -IUSE="qt4 qt5 static-libs" - -RDEPEND=" - qt4? ( dev-qt/qtgui:4 - dev-qt/qtopengl:4 - media-libs/freeglut ) - qt5? ( dev-qt/qtgui:5 - dev-qt/qtopengl:5 - media-libs/freeglut )" -DEPEND="${RDEPEND}" - -src_prepare() { - # Fix libdir and remove rpath. - sed -i \ - -e "s|\(set (ACG_PROJECT_LIBDIR \"\).*|\1$(get_libdir)/\")|" \ - -e "s|\(set (ACG_PROJECT_PLUGINDIR \"\)lib\(.*\)|\1$(get_libdir)\2|" \ - -e "s|\(BUILD_WITH_INSTALL_RPATH \)1|\1 0|" \ - -e "s|\(SKIP_BUILD_RPATH\) 0|\1 1|" \ - -e '/^ *INSTALL_RPATH/d' \ - cmake/ACGCommon.cmake || die - - if ! use static-libs; then - sed -i "s|\(SHARED\)ANDSTATIC|\1|" \ - src/${MY_PN}/{Core,Tools}/CMakeLists.txt || die - sed -i '/OpenMeshCoreStatic/d' \ - src/${MY_PN}/Tools/CMakeLists.txt || die - fi -} - -src_configure() { - mycmakeargs="" - - if ! use qt4 && ! use qt5; then - mycmakeargs="${mycmakeargs} -DBUILD_APPS=OFF" - fi - - if use qt4 && ! use qt5; then - mycmakeargs="${mycmakeargs} -DFORCE_QT4=ON" - fi - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc LICENSE/* README CHANGELOG -} diff --git a/media-gfx/openmesh/openmesh-3.3.ebuild b/media-gfx/openmesh/openmesh-3.3.ebuild deleted file mode 100644 index 9e56fb662b23..000000000000 --- a/media-gfx/openmesh/openmesh-3.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -inherit eutils cmake-utils - -MY_PN="OpenMesh" -MY_PV="${PV/_rc/-RC}" -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -DESCRIPTION="A generic and efficient data structure for representing and manipulating polygonal meshes" -HOMEPAGE="http://www.openmesh.org/" -SRC_URI="http://openmesh.org/media/Releases/${MY_PV/-RC/RC}/${MY_PN}-${MY_PV}.tar.bz2" - -LICENSE="LGPL-3-with-linking-exception" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~x86" -IUSE="qt4 qt5 static-libs test" - -RDEPEND=" - qt4? ( dev-qt/qtgui:4 - dev-qt/qtopengl:4 - media-libs/freeglut ) - qt5? ( dev-qt/qtgui:5 - dev-qt/qtopengl:5 - media-libs/freeglut )" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" - -src_prepare() { - # Fix libdir and remove rpath. - sed -i \ - -e "s|\(set (ACG_PROJECT_LIBDIR \"\).*|\1$(get_libdir)/\")|" \ - -e "s|\(set (ACG_PROJECT_PLUGINDIR \"\)lib\(.*\)|\1$(get_libdir)\2|" \ - -e "s|\(BUILD_WITH_INSTALL_RPATH \)1|\1 0|" \ - -e "s|\(SKIP_BUILD_RPATH\) 0|\1 1|" \ - -e '/^ *INSTALL_RPATH/d' \ - cmake/ACGCommon.cmake || die - - if ! use static-libs; then - sed -i "s|\(SHARED\)ANDSTATIC|\1|" \ - src/${MY_PN}/{Core,Tools}/CMakeLists.txt || die - sed -i '/OpenMeshCoreStatic/d' \ - src/${MY_PN}/Tools/CMakeLists.txt || die - fi -} - -src_configure() { - mycmakeargs="" - - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_UNIT_TESTS=TRUE" - - # Disable python bindings until someone wants them. - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE" - mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE" - - if ! use qt4 && ! use qt5; then - mycmakeargs="${mycmakeargs} -DBUILD_APPS=OFF" - fi - - if use qt4 && ! use qt5; then - mycmakeargs="${mycmakeargs} -DFORCE_QT4=ON" - fi - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc LICENSE/* README CHANGELOG -} diff --git a/media-libs/libcuefile/libcuefile-477-r1.ebuild b/media-libs/libcuefile/libcuefile-477-r1.ebuild index d0fa277946e9..1c0ddff5a6f1 100644 --- a/media-libs/libcuefile/libcuefile-477-r1.ebuild +++ b/media-libs/libcuefile/libcuefile-477-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r2 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" diff --git a/media-libs/libreplaygain/libreplaygain-477-r1.ebuild b/media-libs/libreplaygain/libreplaygain-477-r1.ebuild index 300d702b8a87..5d23fc278db0 100644 --- a/media-libs/libreplaygain/libreplaygain-477-r1.ebuild +++ b/media-libs/libreplaygain/libreplaygain-477-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r2 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index 040a04683052..a529669fefa9 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -1,3 +1,4 @@ +DIST opencv-2.4.13.tar.gz 91669572 SHA256 94ebcca61c30034d5fb16feab8ec12c8a868f5162d20a9f0396f0f5f6d8bbbff SHA512 efdc4340fdf557dae44ac604c8c20f61ced89f99274264b61c2640f28741504462c6b57076e207040ca2513e3921275bdfbe6c22fc123bd50df78745e6b7bcd6 WHIRLPOOL 9fdbf2e47edeb8c177cb03ed5dc129475dd704c022975bc875d444a6e6c3df630f1151e738cf07fbe48343d0eb87723091131063fe776c63a386c46c0153f1d5 DIST opencv-2.4.13.zip 94319943 SHA256 fa6a45f635f4e1dbc982b8ccc93206650e7fc584b2f3dd945759ce28b047b94f SHA512 b5ccaa22deabfedd29b697296d265a32c7db959f2e94ca3643c1cde65fb84463809535f2e6bd49c4baa06958fa223a32bbfdd7234b8e160ec333fd9cd7800d3b WHIRLPOOL 86f7690b460dbcf70dec30c29784d96b2bb99e43ba70fe967d18b375fcee4f8934591f0d9fe2ff6717346eb9be8628766658d589eae9943d528352d1ce1df455 DIST opencv-3.1.0.tar.gz 76135587 SHA256 f00b3c4f42acda07d89031a2ebb5ebe390764a133502c03a511f67b78bbd4fbf SHA512 57e0fe41e3d5d1dc036e7fc5673523e53d54f5f62e4d3bcb95238a9cd53e79da7c1704dc136ce632f7cfce369ebf5eb27f629a9b6ac4f7fa34120b80b5c7438f WHIRLPOOL b2825d5cafa87e0fe9cacd093ddb969913d916c0370819073b2bde3c598798efcf23c406aae2116f2628c564ca99e5f871a448a3ece97d8d29ec73841ac283b4 DIST opencv-3.1.0_contrib-75b3ea9.tar.gz 54277105 SHA256 478f742457d3f4e96f857b726e35b28a8d20a1de8e5f51b8671251bc896d443b SHA512 d1d11520b8729fbaf0257c927654251ff9ac1ba5cf937af9dd973ec39f483d1ee08aff7ad3f1a9941fef921a35dc466ac5574918197ddecd3f6c66b682bf671a WHIRLPOOL 18b70014428c4fa532658ca5ac332bffaae049b468f46cb027a6972f21f5b2bd17d02b33d68c43b84f821a77fa09efb9c372499cfa4f645a0516b93acb858353 diff --git a/media-libs/opencv/files/opencv-2.4.13-gcc-6.0.patch b/media-libs/opencv/files/opencv-2.4.13-gcc-6.0.patch new file mode 100644 index 000000000000..b0a5084752ca --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.13-gcc-6.0.patch @@ -0,0 +1,23 @@ +From fb598bb76a0431aa3a880ecfa45054c996a070fb Mon Sep 17 00:00:00 2001 +From: Maksim Shabunin <maksim.shabunin@itseez.com> +Date: Fri, 13 May 2016 13:28:09 +0300 +Subject: [PATCH] Disabled PCH support for gcc >= 6.0.0 + +Command line generation routine uses "-isystem" to include headers outside of "<opencv>/modules" folder, but GCC 6 does not work when passed "-isystem /usr/include" option. +--- + cmake/OpenCVPCHSupport.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/OpenCVPCHSupport.cmake b/cmake/OpenCVPCHSupport.cmake +index 13619daf27e..e6585cae020 100644 +--- a/cmake/OpenCVPCHSupport.cmake ++++ b/cmake/OpenCVPCHSupport.cmake +@@ -19,7 +19,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) + ARGS ${CMAKE_CXX_COMPILER_ARG1} -dumpversion + OUTPUT_VARIABLE gcc_compiler_version) + #MESSAGE("GCC Version: ${gcc_compiler_version}") +- IF(gcc_compiler_version VERSION_GREATER "4.2.-1") ++ IF(gcc_compiler_version VERSION_GREATER "4.2.-1" AND gcc_compiler_version VERSION_LESS "6.0.0") + SET(PCHSupport_FOUND TRUE) + ENDIF() + diff --git a/media-libs/opencv/files/opencv-3.2.0-gcc-6.0.patch b/media-libs/opencv/files/opencv-3.2.0-gcc-6.0.patch new file mode 100644 index 000000000000..457d3595e49b --- /dev/null +++ b/media-libs/opencv/files/opencv-3.2.0-gcc-6.0.patch @@ -0,0 +1,11 @@ +--- a/cmake/OpenCVPCHSupport.cmake 2017-06-06 15:05:09.180022719 +0200 ++++ b/cmake/OpenCVPCHSupport.cmake 2017-06-06 15:05:50.775022684 +0200 +@@ -14,7 +14,7 @@ + + IF(CMAKE_COMPILER_IS_GNUCXX) + +- IF(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2.0") ++ IF(gcc_compiler_version VERSION_GREATER "4.2.-1" AND gcc_compiler_version VERSION_LESS "6.0.0") + SET(PCHSupport_FOUND TRUE) + ENDIF() + diff --git a/media-libs/opencv/opencv-2.4.13-r1.ebuild b/media-libs/opencv/opencv-2.4.13-r1.ebuild new file mode 100644 index 000000000000..b57b26524934 --- /dev/null +++ b/media-libs/opencv/opencv-2.4.13-r1.ebuild @@ -0,0 +1,240 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit toolchain-funcs cmake-utils python-single-r1 java-pkg-opt-2 java-ant-2 + +DESCRIPTION="A collection of algorithms and sample code for various computer vision problems" +HOMEPAGE="http://opencv.org" + +SRC_URI="https://github.com/Itseez/opencv/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/2.4" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="cuda +eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k libav opencl openexr opengl openmp pch png +python qt4 qt5 testprograms threads tiff v4l vtk xine" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + ?? ( qt4 qt5 ) +" + +# The following logic is intrinsic in the build system, but we do not enforce +# it on the useflags since this just blocks emerging pointlessly: +# gtk? ( !qt4 ) +# opengl? ( || ( gtk qt4 ) ) +# openmp? ( !threads ) + +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:2 + opengl? ( x11-libs/gtkglext ) + ) + java? ( >=virtual/jre-1.6:* ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/jasper:= ) + ieee1394? ( + media-libs/libdc1394 + sys-libs/libraw1394 + ) + ipp? ( sci-libs/ipp ) + opencl? ( virtual/opencl ) + openexr? ( media-libs/openexr ) + opengl? ( virtual/opengl virtual/glu ) + png? ( media-libs/libpng:0= ) + python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] ) + qt4? ( + dev-qt/qtgui:4 + dev-qt/qttest:4 + opengl? ( dev-qt/qtopengl:4 ) + ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + threads? ( dev-cpp/tbb ) + tiff? ( media-libs/tiff:0 ) + v4l? ( >=media-libs/libv4l-0.8.3 ) + vtk? ( sci-libs/vtk[rendering] ) + xine? ( media-libs/xine-lib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + eigen? ( dev-cpp/eigen:3 ) + java? ( >=virtual/jdk-1.6 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.1a-libav-0.7.patch" + "${FILESDIR}/${PN}-2.4.3-gcc47.patch" + "${FILESDIR}/${PN}-2.4.2-cflags.patch" + "${FILESDIR}/${PN}-2.4.8-javamagic.patch" + "${FILESDIR}/${PN}-2.4.9-cuda-pkg-config.patch" + "${FILESDIR}/${PN}-3.0.0-gles.patch" + "${FILESDIR}/${P}-gcc-6.0.patch" +) +#"${FILESDIR}/${P}-git-autodetect.patch + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + use python && python-single-r1_pkg_setup + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # remove bundled stuff + rm -rf 3rdparty || die "Removing 3rd party components failed" + sed -i \ + -e '/add_subdirectory(3rdparty)/ d' \ + CMakeLists.txt || die + + java-pkg-opt-2_src_prepare +} + +src_configure() { + + JAVA_ANT_ENCODING="iso-8859-1" + # set encoding so even this cmake build will pick it up. + export ANT_OPTS+=" -Dfile.encoding=iso-8859-1" + java-ant-2_src_configure + + # please dont sort here, order is the same as in CMakeLists.txt + local mycmakeargs=( + # the optinal dependency libraries + -DWITH_1394=$(usex ieee1394) + -DWITH_AVFOUNDATION=OFF + -DWITH_VTK=$(usex vtk) + -DWITH_EIGEN=$(usex eigen) + -DWITH_VFW=OFF + -DWITH_FFMPEG=$(usex ffmpeg) + -DWITH_GSTREAMER=$(usex gstreamer) + -DWITH_GSTREAMER_0_10=OFF + -DWITH_GTK=$(usex gtk) + -DWITH_IMAGEIO=OFF + -DWITH_IPP=$(usex ipp) + -DWITH_JASPER=$(usex jpeg2k) + -DWITH_JPEG=$(usex jpeg) + -DWITH_OPENEXR=$(usex openexr) + -DWITH_OPENGL=$(usex opengl) + -DWITH_OPENCL=$(usex opencl) + -DWITH_OPENNI=OFF + -DWITH_PNG=$(usex png) + -DWITH_PVAPI=OFF + -DWITH_GIGEAPI=OFF + -DWITH_WIN32UI=OFF + -DWITH_QUICKTIME=OFF + -DWITH_TBB=$(usex threads) + -DWITH_OPENMP=$(usex openmp) + -DWITH_CSTRIPES=OFF + -DWITH_TIFF=$(usex tiff) + -DWITH_UNICAP=OFF + -DWITH_V4L=$(usex v4l) + -DWITH_LIBV4L=$(usex v4l) + -DWITH_DSHOW=ON + -DWITH_MSMF=OFF + -DWITH_XIMEA=OFF + -DWITH_XINE=$(usex xine) + -DWITH_OPENCL=$(usex opencl) + -DWITH_OPENCLAMDFFT=$(usex opencl) + -DWITH_OPENCLAMDBLAS=$(usex opencl) + -DWITH_INTELPERC=OFF + -DWITH_JAVA=$(usex java) + + # the build components + -DBUILD_SHARED_LIBS=ON + -DBUILD_ANDROID_EXAMPLES=OFF + -DBUILD_DOCS=OFF #too much dark magic in cmakelists + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_PERF_TESTS=OFF + -DBUILD_TESTS=$(usex testprograms) + + # install examples + -DINSTALL_C_EXAMPLES=$(usex examples) + -DINSTALL_TESTS=$(usex testprograms) + + # build options + -DENABLE_PRECOMPILED_HEADERS=$(usex pch) + -DENABLE_SOLUTION_FOLDERS=OFF + -DENABLE_PROFILING=OFF + -DENABLE_COVERAGE=OFF + -DENABLE_OMIT_FRAME_POINTER=OFF + -DENABLE_FAST_MATH=OFF # + -DENABLE_SSE=OFF # these options do nothing but + -DENABLE_SSE2=OFF # add params to CFLAGS + -DENABLE_SSE3=OFF + -DENABLE_SSSE3=OFF + -DENABLE_SSE41=OFF + -DENABLE_SSE42=OFF + + -DOPENCV_EXTRA_FLAGS_RELEASE="" # black magic + ) + + if use qt4; then + mycmakeargs+=( -DWITH_QT=4 ) + elif use qt5; then + mycmakeargs+=( -DWITH_QT=5 ) + else + mycmakeargs+=( -DWITH_QT=OFF ) + fi + + if use cuda; then + if [[ "$(gcc-version)" > "4.8" ]]; then + # bug 577410 + # #error -- unsupported GNU version! gcc 4.9 and up are not supported! + ewarn "CUDA and >=sys-devel/gcc-4.9 do not play well together. Disabling CUDA support." + mycmakeargs+=( -DWITH_CUDA=OFF ) + mycmakeargs+=( -DWITH_CUBLAS=OFF ) + mycmakeargs+=( -DWITH_CUFFT=OFF ) + + else + mycmakeargs+=( -DWITH_CUDA=ON ) + mycmakeargs+=( -DWITH_CUBLAS=ON ) + mycmakeargs+=( -DWITH_CUFFT=ON ) + mycmakeargs+=( -DCUDA_NPP_LIBRARY_ROOT_DIR=/opt/cuda ) + fi + else + mycmakeargs+=( -DWITH_CUDA=OFF ) + mycmakeargs+=( -DWITH_CUBLAS=OFF ) + mycmakeargs+=( -DWITH_CUFFT=OFF ) + fi + + if use examples && use python; then + mycmakeargs+=( -DINSTALL_PYTHON_EXAMPLES=ON ) + else + mycmakeargs+=( -DINSTALL_PYTHON_EXAMPLES=OFF ) + fi + + # things we want to be hard off or not yet figured out + mycmakeargs+=( + -DOPENCV_BUILD_3RDPARTY_LIBS=OFF + -DBUILD_PACKAGE=OFF + ) + + # things we want to be hard enabled not worth useflag + mycmakeargs+=( + -DCMAKE_SKIP_RPATH=ON + -DOPENCV_DOC_INSTALL_PATH= + ) + + # workaround for bug 413429 + tc-export CC CXX + + cmake-utils_src_configure +} diff --git a/media-libs/opencv/opencv-3.2.0-r1.ebuild b/media-libs/opencv/opencv-3.2.0-r1.ebuild new file mode 100644 index 000000000000..6e33ecd87af9 --- /dev/null +++ b/media-libs/opencv/opencv-3.2.0-r1.ebuild @@ -0,0 +1,330 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit toolchain-funcs cmake-utils python-r1 java-pkg-opt-2 java-ant-2 + +DESCRIPTION="A collection of algorithms and sample code for various computer vision problems" +HOMEPAGE="http://opencv.org" + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + contrib? ( https://github.com/${PN}/${PN}_contrib/archive/${PV}.tar.gz -> ${P}_contrib.tar.gz + contrib_xfeatures2d? ( http://dev.gentoo.org/~amynka/snap/vgg_boostdesc-${PV}.tar.gz ) )" +LICENSE="BSD" +SLOT="0/3.2" # subslot = libopencv* soname version +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="contrib cuda debug +eigen examples ffmpeg gdal gflags glog gphoto2 gstreamer gtk ieee1394 ipp jpeg jpeg2k lapack libav opencl openexr opengl openmp pch png +python qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine contrib_cvv contrib_hdf contrib_sfm contrib_xfeatures2d" + +# OpenGL needs gtk or Qt installed to activate, otherwise build system +# will silently disable it without the user knowing, which defeats the +# purpose of the opengl use flag. +REQUIRED_USE=" + cuda? ( tesseract? ( opencl ) ) + gflags? ( contrib ) + glog? ( contrib ) + contrib_cvv? ( contrib qt5 ) + contrib_hdf? ( contrib ) + contrib_sfm? ( contrib eigen gflags glog ) + opengl? ( || ( gtk qt5 ) ) + python? ( ${PYTHON_REQUIRED_USE} ) + tesseract? ( contrib )" + +# The following logic is intrinsic in the build system, but we do not enforce +# it on the useflags since this just blocks emerging pointlessly: +# gtk? ( !qt5 ) +# openmp? ( !threads ) + +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + cuda? ( dev-util/nvidia-cuda-toolkit:0= ) + contrib_hdf? ( sci-libs/hdf5 ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + gdal? ( sci-libs/gdal:= ) + gflags? ( dev-cpp/gflags ) + glog? ( dev-cpp/glog ) + gphoto2? ( media-libs/libgphoto2 ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:2 + opengl? ( x11-libs/gtkglext ) + ) + ieee1394? ( + media-libs/libdc1394 + sys-libs/libraw1394 + ) + ipp? ( sci-libs/ipp ) + java? ( >=virtual/jre-1.6:* ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/jasper:= ) + lapack? ( virtual/lapack ) + opencl? ( virtual/opencl ) + openexr? ( media-libs/openexr ) + opengl? ( virtual/opengl virtual/glu ) + png? ( media-libs/libpng:0= ) + python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + tesseract? ( app-text/tesseract[opencl=] ) + threads? ( dev-cpp/tbb ) + tiff? ( media-libs/tiff:0 ) + v4l? ( >=media-libs/libv4l-0.8.3 ) + vtk? ( sci-libs/vtk[rendering] ) + webp? ( media-libs/libwebp ) + xine? ( media-libs/xine-lib )" +DEPEND="${RDEPEND} + virtual/pkgconfig + eigen? ( dev-cpp/eigen:3 ) + java? ( >=virtual/jdk-1.6 )" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-gles.patch" + "${FILESDIR}/${PN}-3.1.0-java-magic.patch" + "${FILESDIR}/${PN}-3.1.0-find-libraries-fix.patch" + "${FILESDIR}/${P}-vtk.patch" + "${FILESDIR}/${P}-gcc-6.0.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # remove bundled stuff + rm -rf 3rdparty || die "Removing 3rd party components failed" + sed -e '/add_subdirectory(.*3rdparty.*)/ d' \ + -i CMakeLists.txt cmake/*cmake || die + + if use contrib && use contrib_xfeatures2d; then + cd "${WORKDIR}/${PN}_contrib-${PV}" || die + eapply "${FILESDIR}/${P}-contrib_xfeatures2d-autodownload.patch" + mv "${WORKDIR}"/*.i "${WORKDIR}/${PN}_contrib-${PV}"/modules/xfeatures2d/src/ || die + fi + + java-pkg-opt-2_src_prepare +} + +src_configure() { + JAVA_ANT_ENCODING="iso-8859-1" + # set encoding so even this cmake build will pick it up. + export ANT_OPTS+=" -Dfile.encoding=iso-8859-1" + java-ant-2_src_configure + + # please dont sort here, order is the same as in CMakeLists.txt + GLOBALCMAKEARGS=( + # Optional 3rd party components + # =================================================== + -DWITH_1394=$(usex ieee1394) + # -DWITH_AVFOUNDATION=OFF # IOS + -DWITH_VTK=$(usex vtk) + -DWITH_EIGEN=$(usex eigen) + -DWITH_VFW=OFF # Video windows support + -DWITH_FFMPEG=$(usex ffmpeg) + -DWITH_GSTREAMER=$(usex gstreamer) + -DWITH_GSTREAMER_0_10=OFF # Don't want this + -DWITH_GTK=$(usex gtk) + -DWITH_GTK_2_X=$(usex gtk) + -DWITH_IPP=$(usex ipp) + -DWITH_JASPER=$(usex jpeg2k) + -DWITH_JPEG=$(usex jpeg) + -DWITH_WEBP=$(usex webp) + -DWITH_OPENEXR=$(usex openexr) + -DWITH_OPENGL=$(usex opengl) + -DWITH_OPENVX=OFF + -DWITH_OPENNI=OFF # Not packaged + -DWITH_OPENNI2=OFF # Not packaged + -DWITH_PNG=$(usex png) + -DWITH_GDCM=OFF + -DWITH_PVAPI=OFF + -DWITH_GIGEAPI=OFF + -DWITH_ARAVIS=OFF + -DWITH_QT=$(usex qt5 5 OFF) + -DWITH_WIN32UI=OFF # Windows only + # -DWITH_QUICKTIME=OFF + # -DWITH_QTKIT=OFF + -DWITH_TBB=$(usex threads) + -DWITH_OPENMP=$(usex openmp) + -DWITH_CSTRIPES=OFF + -DWITH_PTHREADS_PF=ON + -DWITH_TIFF=$(usex tiff) + -DWITH_UNICAP=OFF # Not packaged + -DWITH_V4L=$(usex v4l) + -DWITH_LIBV4L=$(usex v4l) + -DWITH_DSHOW=ON # direct show supp + -DWITH_MSMF=OFF + -DWITH_XIMEA=OFF # Windows only + -DWITH_XINE=$(usex xine) + -DWITH_CLP=OFF + -DWITH_OPENCL=$(usex opencl) + -DWITH_OPENCL_SVM=OFF + -DWITH_OPENCLAMDFFT=$(usex opencl) + -DWITH_OPENCLAMDBLAS=$(usex opencl) + -DWITH_DIRECTX=OFF + -DWITH_INTELPERC=OFF + -DWITH_JAVA=$(usex java) # Ant needed, no compile flag + -DWITH_IPP_A=OFF + -DWITH_MATLAB=OFF + -DWITH_VA=$(usex vaapi) + -DWITH_VA_INTEL=$(usex vaapi) + -DWITH_GDAL=$(usex gdal) + -DWITH_GPHOTO2=$(usex gphoto2) + -DWITH_LAPACK=$(usex lapack) + # =================================================== + # CUDA build components: nvidia-cuda-toolkit takes care of GCC version + # =================================================== + -DWITH_CUDA=$(usex cuda) + -DWITH_CUBLAS=$(usex cuda) + -DWITH_CUFFT=$(usex cuda) + -DWITH_NVCUVID=OFF +# -DWITH_NVCUVID=$(usex cuda) + -DCUDA_NPP_LIBRARY_ROOT_DIR=$(usex cuda "${EPREFIX}/opt/cuda" "") + # =================================================== + # OpenCV build components + # =================================================== + -DBUILD_SHARED_LIBS=ON + -DBUILD_ANDROID_EXAMPLES=OFF + -BUILD_opencv_apps= + -DBUILD_DOCS=OFF # Doesn't install anyways. + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_PERF_TESTS=OFF + -DBUILD_TESTS=$(usex testprograms) + -DBUILD_WITH_DEBUG_INFO=$(usex debug) + # -DBUILD_WITH_STATIC_CRT=OFF + -DBUILD_WITH_DYNAMIC_IPP=OFF + -DBUILD_FAT_JAVA_LIB=$(usex java) + # -DBUILD_ANDROID_SERVICE=OFF + -DBUILD_CUDA_STUBS=$(usex cuda) + -DOPENCV_EXTRA_MODULES_PATH=$(usex contrib "${WORKDIR}/opencv_contrib-${PV}/modules" "") + # =================================================== + # OpenCV installation options + # =================================================== + -DINSTALL_CREATE_DISTRIB=OFF + -DINSTALL_C_EXAMPLES=$(usex examples) + -DINSTALL_TESTS=$(usex testprograms) + -DINSTALL_PYTHON_EXAMPLES=$(usex examples) + # -DINSTALL_ANDROID_EXAMPLES=OFF + -DINSTALL_TO_MANGLED_PATHS=OFF + # =================================================== + # OpenCV build options + # =================================================== + -DENABLE_CCACHE=OFF + -DENABLE_PRECOMPILED_HEADERS=$(usex pch) + -DENABLE_SOLUTION_FOLDERS=OFF + -DENABLE_PROFILING=OFF + -DENABLE_COVERAGE=OFF + -DENABLE_OMIT_FRAME_POINTER=OFF + -DENABLE_FAST_MATH=OFF + -DENABLE_SSE=OFF + -DENABLE_SSE2=OFF + -DENABLE_SSE3=OFF + -DENABLE_SSSE3=OFF + -DENABLE_SSE41=OFF + -DENABLE_SSE42=OFF + -DENABLE_POPCNT=OFF + -DENABLE_AVX=OFF + -DENABLE_AVX=OFF + -DENABLE_AVX2=OFF + -DENABLE_FMA3=OFF + -DENABLE_NEON=OFF + + -DHAVE_opencv_java=$(usex java YES NO) + -DENABLE_NOISY_WARNINGS=OFF + -DOPENCV_WARNINGS_ARE_ERRORS=OFF + -DENABLE_IMPL_COLLECTION=OFF + -DENABLE_INSTRUMENTATION=OFF + -DGENERATE_ABI_DESCRIPTOR=OFF + -DDOWNLOAD_EXTERNAL_TEST_DATA=OFF + # =================================================== + # things we want to be hard off or not yet figured out + # =================================================== + -DBUILD_PACKAGE=OFF + -DENABLE_PROFILING=OFF + # =================================================== + # things we want to be hard enabled not worth useflag + # =================================================== + -DCMAKE_SKIP_RPATH=ON + -DOPENCV_DOC_INSTALL_PATH= + ) + + # =================================================== + # OpenCV Contrib Modules + # =================================================== + if use contrib; then + GLOBALCMAKEARGS+=( + -DBUILD_opencv_dnn=OFF + -DBUILD_opencv_dnns_easily_fooled=OFF + -DBUILD_opencv_xfeatures2d=$(usex contrib_xfeatures2d ON OFF) + -DBUILD_opencv_cvv=$(usex contrib_cvv ON OFF) + -DBUILD_opencv_hdf=$(usex contrib_hdf ON OFF) + -DBUILD_opencv_sfm=$(usex contrib_sfm ON OFF) + ) + fi + + # workaround for bug 413429 + tc-export CC CXX + + local mycmakeargs=( ${GLOBALCMAKEARGS[@]} + -DPYTHON_EXECUTABLE=OFF + -DINSTALL_PYTHON_EXAMPLES=OFF + ) + + cmake-utils_src_configure +} + +python_module_compile() { + local mycmakeargs=( ${GLOBALCMAKEARGS[@]} ) + + # Set all python variables to load the correct Gentoo paths + mycmakeargs+=( + # cheap trick: python_setup sets one of them as a symlink + # to the correct interpreter, and the other to fail-wrapper + -DPYTHON2_EXECUTABLE=$(type -P python2) + -DPYTHON3_EXECUTABLE=$(type -P python3) + -DINSTALL_PYTHON_EXAMPLES=$(usex examples) + ) + + # Compile and install all at once because configuration will be wiped + # for each impl of Python + BUILD_DIR="${WORKDIR}"/${P}_build + cd "${BUILD_DIR}" || die "cd failed" + + # Regenerate cache file. Can't use rebuild_cache as it won't + # have the Gentoo specific options. + rm -rf CMakeCache.txt || die "rm failed" + cmake-utils_src_configure + cmake-utils_src_compile + cmake-utils_src_install + + # Remove compiled binary so new version compiles + # Avoid conflicts with new module builds as build system doesn't + # really support it. + rm -rf modules/python2 || die "rm failed" +} + +src_install() { + cmake-utils_src_install + + # Build and install the python modules for all targets + use python && python_foreach_impl python_module_compile +} diff --git a/media-radio/qrq/qrq-0.3.1-r1.ebuild b/media-radio/qrq/qrq-0.3.1-r1.ebuild index 9b3638030629..12d00478938c 100644 --- a/media-radio/qrq/qrq-0.3.1-r1.ebuild +++ b/media-radio/qrq/qrq-0.3.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="pulseaudio" DEPEND="sys-libs/ncurses:= diff --git a/media-radio/tlf/tlf-1.3.0.ebuild b/media-radio/tlf/tlf-1.3.0.ebuild index 593ef01306c6..cbf723bbde84 100644 --- a/media-radio/tlf/tlf-1.3.0.ebuild +++ b/media-radio/tlf/tlf-1.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.hs-mittweida.de/tb/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="" RDEPEND="sys-libs/ncurses:= diff --git a/media-sound/musepack-tools/musepack-tools-465-r1.ebuild b/media-sound/musepack-tools/musepack-tools-465-r1.ebuild index e06f51cd2e02..57f7f6afb860 100644 --- a/media-sound/musepack-tools/musepack-tools-465-r1.ebuild +++ b/media-sound/musepack-tools/musepack-tools-465-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="BSD LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" RDEPEND=">=media-libs/libcuefile-${PV}[${MULTILIB_USEDEP}] diff --git a/media-video/libav/Manifest b/media-video/libav/Manifest index 3a2762ff3b0c..fcef865fbb90 100644 --- a/media-video/libav/Manifest +++ b/media-video/libav/Manifest @@ -8,5 +8,6 @@ DIST libav-11.4.tar.xz 4860264 SHA256 0b7dabc2605f3a254ee410bb4b1a857945696aab49 DIST libav-11.6.tar.xz 4860268 SHA256 542f30e4266d2d2226e681b888bc718c995f5438f2db66a9a27d581243d27aed SHA512 bff3e22de93e4ab357715ae20e25b6435df52d1868c5164426a693d14fe7f54e47a46c4c62a36fbf27bd204e12f6a29a6f58016c7deaa838915d424b5ce530bd WHIRLPOOL 060bd61e784112a56e02ba86d0901ff488d6ef1735d731a869c68a27da72a209734648148edf9922efe2d15fed3380c36129a92c6917af812bf9e606ef97c131 DIST libav-11.7.tar.xz 4861984 SHA256 8c9a75c89c6df58dd5e3f6f735d1ba5448680e23013fd66a51b50b4f49913c46 SHA512 23c6ffd0efdfa6b22c7863bf440d7469eba03a7990382fe33c8c4c7871edf250641ac536572516225679b0934e5c250ee0e2e91ea093c770a0c4c32b4776e3c5 WHIRLPOOL adb106828ae1e3c802b719a5c9feede1c96d02d79512bf04e2bf29da3d24e969a044a887eeb94dc76d528582026aed6cb1e0e342115507aaa98a8918de358ecd DIST libav-11.8.tar.xz 4865796 SHA256 7014b869570b9ea759e5c06beb3e9debd024a1c5af517655a9e1ccfe145baf4e SHA512 26f9a6bb7312acc08b6785c260220ada3ca2a8db0d0f2bd4621b47082c275fbdb7978457cb423693ba9a61dc4570b05d0dceb5861ff0bcce859c349a6a8f49be WHIRLPOOL e6ca039aa8919b9e6b593de8d99728980e32176fc33276b419e5d73cb36981f487e1c35eac1f07d2fc0f0672e1b0d59d9fda022e16afe96467f77226c95a34a0 +DIST libav-12.1.tar.xz 5267292 SHA256 fad96aa265d3d64b9e53c159559621ec888effa022908da8372164fa4cbe5d2d SHA512 a0dd5fcc95cb62901b05b59a63ce4fcc6fb2943f0032a824ff6cfeeab2d13bd5edc65811aba1d06fe4d794119da049c52e5a9efbbc3599b445b61769992c9919 WHIRLPOOL 31c0f8c0451b81b48a0373f94fcde68f5f23fa7e71fd040f6d97e7e7b20995627a59b08d4f2dfa07e55df3d23e8313af275b38872d923f9455031b8ec66e80b1 DIST libav-12.tar.xz 5265280 SHA256 72291ec223b08716fe5204b7b79ea8b90d75003730caa1c575dbf4232277a90e SHA512 55f7dd171882d191c79c6ade10f02123b8b7d897cbbd13c77766c9af944c5ba4bfbc81487966bac1ee459bc61f7a2471ddd9a3ea29b412296e9044b98440c423 WHIRLPOOL 3e52280b09354fddcf35002010d35b19657756a5b2c77e5c35551f899c1fa2c4e939f97058a1a77801caf7c8a9e8955d7d556ae1874c78f210eaf26b368c20ec DIST libav-9.17.tar.xz 4080028 SHA256 e32d5f152bce1de283c002a35eb6e71f265877633dee8a40db4d16381dd5d17c SHA512 20af83d4b6a23c159c2386b6592ba6a6acf3f2c54e8aeb16dd0c8a64d637fbde24f37b864698b1143c6802b64a7b5e8ddfe0e7601b35c35686a789e2b3232f5a WHIRLPOOL ec07b5dd116e87416a9841044e09a6ef9b124fe4882f53e88711a32813d3d3a1d71f5067854bbd553ecdadec401dbbb8b504bfc1c6966bfd5e2db79459fb9995 diff --git a/media-video/libav/libav-12.1.ebuild b/media-video/libav/libav-12.1.ebuild new file mode 100644 index 000000000000..35f9021007d8 --- /dev/null +++ b/media-video/libav/libav-12.1.ebuild @@ -0,0 +1,358 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs + +if [[ ${PV} == *9999 ]] ; then + : ${EGIT_REPO_URI:="git://git.libav.org/libav.git"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +fi + +DESCRIPTION="Complete solution to record, convert and stream audio and video" +HOMEPAGE="https://libav.org/" +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" + SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV}.tar.xz )" +else # Official release + SRC_URI="https://libav.org/releases/${P}.tar.xz" + FATE_VER=${PV%%_*} + SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-12-r1.tar.xz )" +fi + +SRC_URI+=" https://dev.gentoo.org/~lu_zero/libav/0001-xcb-Add-all-the-libraries-to-the-link-line-explicitl.patch" +# 9999 does not have fate-*.tar.xz + +LICENSE="LGPL-2.1 gpl? ( GPL-3 )" +SLOT="0/12" +[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 +~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos +~x64-solaris ~x86-solaris" +IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk + frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3 + +network nvidia openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl + static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X + wavpack webp x264 x265 xvid +zlib" + +# String for CPU features in the useflag[:configure_option] form +# if :configure_option isn't set, it will use 'useflag' as configure option +CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon" +X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2" +for i in ${X86_CPU_FEATURES} ; do + CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}" +done +for i in ${CPU_FEATURES} ; do + IUSE+=" ${i%:*}" +done + +RDEPEND=" + !media-video/ffmpeg:0 + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] ) + bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] ) + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] ) + encode? ( + aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] ) + amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] ) + faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] ) + mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) + theora? ( + >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] + ) + twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] ) + vorbis? ( + >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] + ) + webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] ) + wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] ) + x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] ) + x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] ) + xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] ) + ) + nvidia? ( media-video/nvidia-video-codec ) + fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] ) + frei0r? ( media-plugins/frei0r-plugins ) + gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] ) + ieee1394? ( + >=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}] + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] + ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] ) + opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] ) + ssl? ( + openssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + !openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] ) + ) + sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] ) + schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] ) + speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] ) + truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] ) + fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] ) + vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] ) + vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] ) + vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] ) + X? ( >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + doc? ( app-text/texi2html ) + ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + cpu_flags_x86_mmx? ( dev-lang/yasm ) + rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + test? ( sys-devel/bc ) + truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) + v4l? ( sys-kernel/linux-headers ) +" + +RDEPEND="${RDEPEND} + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" + +# faac can't be binary distributed +# openssl support marked as nonfree +# faac and aac are concurent implementations +# amr and aac require at least lgpl3 +# x264 requires gpl2 +REQUIRED_USE=" + rtmp? ( network ) + amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) cdio? ( gpl ) x265? ( gpl ) + test? ( encode zlib ) + fontconfig? ( truetype ) +" +RESTRICT="faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist ) nvidia? ( bindist )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/libavutil/avconfig.h +) + +src_unpack() { + [[ ${PV} == *9999 ]] && git-r3_src_unpack + # 9999 does not have fate-*.tar.xz + [[ ${PV%9999} != "" ]] && default_src_unpack +} + +src_prepare() { + epatch_user + + epatch "${DISTDIR}/0001-xcb-Add-all-the-libraries-to-the-link-line-explicitl.patch" + + # if we have snapshot then we need to hardcode the version + if [[ ${PV%_p*} != ${PV} ]]; then + sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die + fi + + TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher ) + use zlib && TOOLS+=( cws2fws ) + + MAKEOPTS+=" V=1" +} + +multilib_src_configure() { + local myconf=( ${EXTRA_LIBAV_CONF} ) + local uses i + + # 9999 does not have fate-*.tar.xz + [[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" ) + + myconf+=( + $(use_enable gpl) + $(use_enable gpl version3) + --enable-avfilter + ) + + # enabled by default + uses="debug doc network zlib" + for i in ${uses}; do + use ${i} || myconf+=( --disable-${i} ) + done + use bzip2 || myconf+=( --disable-bzlib ) + use sdl || myconf+=( --disable-avplay ) + + if use ssl; then + use openssl && myconf+=( --enable-openssl --enable-nonfree ) \ + || myconf+=( --enable-gnutls ) + fi + + use custom-cflags && myconf+=( --disable-optimizations ) + use cpudetection && myconf+=( --enable-runtime-cpudetect ) + + use vdpau || myconf+=( --disable-vdpau ) + + use vaapi && myconf+=( --enable-vaapi ) + + NVIDIA_INCLUDES="-I/opt/nvidia-video-codec/include -I/opt/cuda/include" + NVIDIA_LIBS="-L/opt/cuda/lib64" + use nvidia && myconf+=( --enable-nonfree --enable-cuda --enable-libnpp + --extra-cflags="$NVIDIA_INCLUDES" --extra-ldflags="$NVIDIA_LIBS" ) + + # Encoders + if use encode; then + use faac && myconf+=( --enable-nonfree ) + use mp3 && myconf+=( --enable-libmp3lame ) + use amr && myconf+=( --enable-libvo-amrwbenc ) + use aac && myconf+=( --enable-libvo-aacenc ) + use nvidia && myconf+=( --enable-nvenc ) + uses="faac theora twolame vorbis wavpack webp x264 x265 xvid" + for i in ${uses}; do + use ${i} && myconf+=( --enable-lib${i} ) + done + else + myconf+=( --disable-encoders ) + fi + + # libavdevice options + use cdio && myconf+=( --enable-libcdio ) + use ieee1394 && myconf+=( --enable-libdc1394 ) + use pulseaudio && myconf+=( --enable-libpulse ) + + # Indevs + # v4l1 is gone since linux-headers-2.6.38 + myconf+=( --disable-indev=v4l ) + use v4l || myconf+=( --disable-indev=v4l2 ) + for i in alsa oss jack; do + use ${i} || myconf+=( --disable-indev=${i} ) + done + use X && myconf+=( --enable-libxcb ) + # Outdevs + for i in alsa oss ; do + use ${i} || myconf+=( --disable-outdev=${i} ) + done + # libavfilter options + use bs2b && myconf+=( --enable-libbs2b ) + multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r ) + use truetype && myconf+=( --enable-libfreetype ) + use fontconfig && myconf+=( --enable-libfontconfig ) + + # Threads; we only support pthread for now + use threads && myconf+=( --enable-pthreads ) + + # Decoders + use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb ) + use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac ) + uses="gsm opus rtmp schroedinger speex vpx" + for i in ${uses}; do + use ${i} && myconf+=( --enable-lib${i} ) + done + use jpeg2k && myconf+=( --enable-libopenjpeg ) + + # CPU features + for i in ${CPU_FEATURES}; do + use ${i%:*} || myconf+=( --disable-${i#*:} ) + done + + # pass the right -mfpu as extra + use neon && append-cflags -mfpu=neon + + # disable mmx accelerated code if PIC is required + # as the provided asm decidedly is not PIC for x86. + if use pic && [[ ${ABI} == x86 ]]; then + myconf+=( --disable-mmx --disable-mmxext ) + fi + + # Option to force building pic + use pic && myconf+=( --enable-pic ) + + # cross compile support + if tc-is-cross-compiler ; then + myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) + case ${CHOST} in + *freebsd*) + myconf+=( --target-os=freebsd ) + ;; + mingw32*) + myconf+=( --target-os=mingw32 ) + ;; + *linux*) + myconf+=( --target-os=linux ) + ;; + esac + fi + + # Misc stuff + use hardcoded-tables && myconf+=( --enable-hardcoded-tables ) + + # Forcing arm would make the compiler break left and right + if [[ ${ABI} == arm ]]; then + filter-flags -marm + fi + + # Specific workarounds for too-few-registers arch... + if [[ ${ABI} == x86 ]]; then + local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + filter-flags -fforce-addr -momit-leaf-frame-pointer + append-flags -fomit-frame-pointer + is-flag -O? || append-flags -O2 + if use debug; then + # no need to warn about debug if not using debug flag + ewarn "" + ewarn "Debug information will be almost useless as the frame pointer is omitted." + ewarn "This makes debugging harder, so crashes that has no fixed behavior are" + ewarn "difficult to fix. Please have that in mind." + ewarn "" + fi + fi + + set -- "${S}"/configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --enable-shared \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --optflags="${CFLAGS}" \ + --extra-cflags="${CFLAGS}" \ + $(use_enable static-libs static) \ + "${myconf[@]}" + echo "${@}" + "${@}" || die +} + +multilib_src_compile() { + emake + + if use tools; then + tc-export CC + + emake ${TOOLS[@]/#/tools/} + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install install-man + use doc && dodoc doc/*.html + + if use tools; then + dobin ${TOOLS[@]/#/tools/} + fi +} + +multilib_src_install_all() { + dodoc Changelog README.md INSTALL +} + +multilib_src_test() { + local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)" + einfo "LD_LIBRARY_PATH is set to \"${_libs}\"" + LD_LIBRARY_PATH="${_libs}" make -j1 fate V=1 +} diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index 2d2aa0935645..48ca56b1b059 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -1 +1,2 @@ DIST vlc-2.2.4.tar.xz 22199316 SHA256 1632e91d2a0087e0ef4c3fb4c95c3c2890f7715a9d1d43ffd46329f428cf53be SHA512 2fc1fe957ba7903f2e0c9640884ed850cb10a60132d80658dee8da0b5abaf4a6ccdf95fa2b8c0a4a827be5e7e40341318bce44662a5248e04442f4779010f85c WHIRLPOOL 0d59d9c2a623f72a6c708f9face6f29b7c7e71a9b38faf3717b8f223641c6f599d1407a4976874226dbbd9e553ec528249dc4f301c5682bfb49f5745468934b2 +DIST vlc-2.2.6.tar.xz 22198720 SHA256 c403d3accd9a400eb2181c958f3e7bc5524fe5738425f4253d42883b425a42a8 SHA512 9aff5922eb8b3c6a24e6153c367b0170dbc67602ae3e9304f52d2da00c9081d66cc98abd722b7c95b6c7d2e6cc7c86f21f9cba42c7d4bf29ca97d0f2d3553f8d WHIRLPOOL a2747219e4b12b4274468348c47c543f3266bb1ebc222d02f34d6679dfb8e56a6f2eebda4e1749de0eb91a84e3358700ea2e5ed1a6871ddfc9f19ef1e191cbc8 diff --git a/media-video/vlc/vlc-2.2.6.ebuild b/media-video/vlc/vlc-2.2.6.ebuild new file mode 100644 index 000000000000..2a6dab0946fe --- /dev/null +++ b/media-video/vlc/vlc-2.2.6.ebuild @@ -0,0 +1,513 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +SCM="" +if [[ ${PV} = *9999 ]] ; then + SCM="git-r3" + + if [ "${PV%.9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" + else + EGIT_REPO_URI="git://git.videolan.org/vlc.git" + fi +fi + +inherit autotools flag-o-matic toolchain-funcs versionator virtualx ${SCM} + +MY_PV="${PV/_/-}" +MY_PV="${MY_PV/-beta/-test}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="VLC media player - Video player and streamer" +HOMEPAGE="http://www.videolan.org/vlc/" +if [[ ${PV} = *9999 ]] ; then # Live ebuild + SRC_URI="" +elif [[ "${MY_P}" == "${P}" ]]; then + SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" +else + SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" +fi + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5-8" # vlc - vlccore + +if [[ ${PV} != *9999 ]] ; then + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" +fi + +IUSE="a52 aalib alsa altivec atmo +audioqueue +avcodec + +avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug + directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc +encode faad fdk + fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls + growl gstreamer httpd ieee1394 jack jpeg kate kde libass libav libcaca libnotify + +libsamplerate libtiger linsys libtar lirc live lua + macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit + matroska cpu_flags_x86_mmx modplug mp3 mpeg + mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus + png postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba + schroedinger sdl sdl-image sftp shout sid skins speex cpu_flags_x86_sse svg +swscale + taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau + vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zeroconf zvbi" + +RDEPEND=" + dev-libs/libgpg-error:0 + net-dns/libidn:0 + sys-libs/zlib:0[minizip] + virtual/libintl:0 + a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) + aalib? ( media-libs/aalib:0 ) + alsa? ( >=media-libs/alsa-lib-1.0.24:0 ) + avcodec? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + avformat? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + bidi? ( dev-libs/fribidi:0 ) + bluray? ( >=media-libs/libbluray-0.3:0= ) + cddb? ( >=media-libs/libcddb-1.2:0 ) + chromaprint? ( >=media-libs/chromaprint-0.6:0 ) + dbus? ( >=sys-apps/dbus-1.6:0 ) + dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1:2 ) + directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) + dts? ( >=media-libs/libdca-0.0.5:0 ) + dvbpsi? ( >=media-libs/libdvbpsi-1.0.0:0= ) + dvd? ( >=media-libs/libdvdread-4.9:0 >=media-libs/libdvdnav-4.9:0 ) + elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) + faad? ( >=media-libs/faad2-2.6.1:0 ) + fdk? ( media-libs/fdk-aac:0 ) + flac? ( >=media-libs/libogg-1:0 >=media-libs/flac-1.1.2:0 ) + fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) + fontconfig? ( media-libs/fontconfig:1.0 ) + gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0= ) + gme? ( media-libs/game-music-emu:0 ) + gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) + gnutls? ( >=net-libs/gnutls-3.0.20:0 ) + gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) + ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) + jack? ( virtual/jack ) + jpeg? ( virtual/jpeg:0 ) + kate? ( >=media-libs/libkate-0.3:0 ) + libass? ( >=media-libs/libass-0.9.8:0= media-libs/fontconfig:1.0 ) + libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) + libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) + libsamplerate? ( media-libs/libsamplerate:0 ) + libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) + libtiger? ( >=media-libs/libtiger-0.3.1:0 ) + linsys? ( >=media-libs/zvbi-0.2.28:0 ) + lirc? ( app-misc/lirc:0 ) + live? ( >=media-plugins/live-2011.12.23:0 ) + lua? ( >=dev-lang/lua-5.1:0 ) + matroska? ( >=dev-libs/libebml-1:0= >=media-libs/libmatroska-1:0= ) + modplug? ( >=media-libs/libmodplug-0.8.4:0 !~media-libs/libmodplug-0.8.8 ) + mp3? ( media-libs/libmad:0 ) + mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) + mtp? ( >=media-libs/libmtp-1:0 ) + musepack? ( >=media-sound/musepack-tools-444:0 ) + ncurses? ( sys-libs/ncurses:0=[unicode] ) + ogg? ( >=media-libs/libogg-1:0 ) + opencv? ( >media-libs/opencv-2:0= ) + opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) + opus? ( >=media-libs/opus-1.0.3:0 ) + png? ( media-libs/libpng:0= sys-libs/zlib:0 ) + postproc? ( + !libav? ( >=media-video/ffmpeg-2.2:0= ) + libav? ( media-libs/libpostproc:0= ) + ) + projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) + pulseaudio? ( >=media-sound/pulseaudio-1:0 ) + !qt5? ( qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) ) + qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 ) + rdp? ( =net-misc/freerdp-1*:0=[client] ) + samba? ( >=net-fs/samba-4.0.0_alpha1:0[client] ) + schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) + sdl? ( >=media-libs/libsdl-1.2.10:0 + sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) + sftp? ( net-libs/libssh2:0 ) + shout? ( >=media-libs/libshout-2.1:0 ) + sid? ( media-libs/libsidplay:2 ) + skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) + speex? ( media-libs/speex:0 ) + svg? ( >=gnome-base/librsvg-2.9:2 >=x11-libs/cairo-1.13.1:0 ) + swscale? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + taglib? ( >=media-libs/taglib-1.9:0 sys-libs/zlib:0 ) + theora? ( >=media-libs/libtheora-1.0_beta3:0 ) + tremor? ( media-libs/tremor:0 ) + truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 + !fontconfig? ( media-fonts/dejavu:0 ) ) + twolame? ( media-sound/twolame:0 ) + udev? ( >=virtual/udev-142:0 ) + upnp? ( net-libs/libupnp:0 ) + v4l? ( media-libs/libv4l:0 ) + vaapi? ( + x11-libs/libva:0[X,drm] + !libav? ( media-video/ffmpeg:0=[vaapi] ) + libav? ( media-video/libav:0=[vaapi] ) + ) + vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) + zeroconf? ( >=net-dns/avahi-0.6:0[dbus] ) +" + +# Temporarily block non-live FFMPEG versions as they break vdpau, 9999 works; +# thus we'll have to wait for a new release there. +RDEPEND="${RDEPEND} + vdpau? ( + x11-libs/libvdpau:0 + !libav? ( media-video/ffmpeg:0= ) + libav? ( >=media-video/libav-10:0= ) + ) + vnc? ( >=net-libs/libvncserver-0.9.9:0 ) + vorbis? ( media-libs/libvorbis:0 ) + vpx? ( media-libs/libvpx:0= ) + X? ( x11-libs/libX11:0 ) + x264? ( media-libs/x264:0= ) + x265? ( media-libs/x265:0= ) + xcb? ( x11-libs/libxcb:0 x11-libs/xcb-util:0 x11-libs/xcb-util-keysyms:0 ) + xml? ( dev-libs/libxml2:2 ) + zvbi? ( media-libs/zvbi:0 ) +" + +DEPEND="${RDEPEND} + !qt5? ( kde? ( kde-frameworks/kdelibs:4 ) ) + amd64? ( dev-lang/yasm:* ) + x86? ( dev-lang/yasm:* ) + xcb? ( x11-proto/xproto:0 ) + app-arch/xz-utils:0 + >=sys-devel/gettext-0.18.3:* + virtual/pkgconfig:* +" + +REQUIRED_USE=" + aalib? ( X ) + bidi? ( truetype ) + cddb? ( cdda ) + dvb? ( dvbpsi ) + dxva2? ( avcodec ) + ffmpeg? ( avcodec avformat swscale ) + fontconfig? ( truetype ) + gnutls? ( gcrypt ) + httpd? ( lua ) + libcaca? ( X ) + libtar? ( skins ) + libtiger? ( kate ) + qt4? ( X ) + qt5? ( X ) + sdl? ( X ) + skins? ( truetype X xml || ( qt4 qt5 ) ) + vaapi? ( avcodec X ) + vdpau? ( X ) + vlm? ( encode ) + xv? ( xcb ) +" + +PATCHES=( + # Fix build system mistake. + "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch + + # Patch up incompatibilities and reconfigure autotools. + "${FILESDIR}"/${PN}-9999-libva-1.2.1-compat.patch + + # Fix up broken audio when skipping using a fixed reversed bisected commit. + "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch + + # Bug #541678 + "${FILESDIR}"/qt4-select.patch + + # Allow QT5.5 since Gentoo has a patched QTwidgets + "${FILESDIR}"/${PN}-2.2.2-qt5widgets.patch + + # Bug #575072 + "${FILESDIR}"/${PN}-2.2.4-relax_ffmpeg.patch + "${FILESDIR}"/${PN}-2.2.4-ffmpeg3.patch + + # Bug #589396 + "${FILESDIR}"/${PN}-2.2.4-cxx0x.patch + + # Bug #594126 + "${FILESDIR}"/${PN}-2.2.4-decoder-lock-scope.patch + "${FILESDIR}"/${PN}-2.2.4-alsa-large-buffers.patch + + # Bug #593460 + "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch +) + +DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt ) + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if [[ "${MERGE_TYPE}" != "binary" ]] && tc-is-gcc ; then + if ! version_is_at_least 4.5 $(gcc-version) ; then + die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." + fi + fi +} + +src_unpack() { + if [[ ${PV} = *9999 ]] ; then + git-r3_src_unpack + else + unpack ${A} + fi +} + +src_prepare() { + # Remove unnecessary warnings about unimplemented pragmas on gcc for now. + # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. + # + # config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] + # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] + # + # https://gcc.gnu.org/c99status.html + if tc-is-gcc ; then + sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die + fi + + # Bootstrap when we are on a git checkout. + if [[ ${PV} = *9999 ]] ; then + ./bootstrap + fi + + # Make it build with libtool 1.5 + rm -f m4/lt* m4/libtool.m4 || die + + # We are not in a real git checkout due to the absence of a .git directory. + touch src/revision.txt || die + + default + + # Don't use --started-from-file when not using dbus. + if ! use dbus ; then + sed -i 's/ --started-from-file//' share/vlc.desktop.in || die + fi + + eautoreconf + + # Disable automatic running of tests. + find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die + + # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt + # version may be used. Setting QT_SELECT environment variable will enforce correct binaries. + if use qt5; then + export QT_SELECT=qt5 + elif use qt4; then + export QT_SELECT=qt4 + fi +} + +src_configure() { + local myconf + + # Compatibility fix for Samba 4. + use samba && append-cppflags "-I/usr/include/samba-4.0" + + # We need to disable -fstack-check if use >=gcc 4.8.0. + # See bug #499996 + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + + # Needs libresid-builder from libsidplay:2 which is in another directory... + # FIXME! + append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" + + if use truetype || use projectm ; then + local dejavu="/usr/share/fonts/dejavu/" + myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \ + --with-default-font-family=Sans \ + --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf + --with-default-monospace-font-family=Monospace" + fi + + if use qt5 ; then + myconf+=" --enable-qt=5" + else + if use qt4 ; then + myconf+=" --enable-qt=4" + else + myconf+=" --disable-qt" + fi + use kde && myconf+=" --with-kde-solid" + fi + + econf \ + ${myconf} \ + --enable-vlc \ + --docdir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + --disable-optimizations \ + --disable-update-check \ + --enable-fast-install \ + --enable-screen \ + $(use_enable a52) \ + $(use_enable aalib aa) \ + $(use_enable alsa) \ + $(use_enable altivec) \ + $(use_enable atmo) \ + $(use_enable audioqueue) \ + $(use_enable avcodec) \ + $(use_enable avformat) \ + $(use_enable bidi fribidi) \ + $(use_enable bluray) \ + $(use_enable cdda vcd) \ + $(use_enable cddb libcddb) \ + $(use_enable chromaprint) \ + $(use_enable dbus) \ + $(use_enable directfb) \ + $(use_enable directx) \ + $(use_enable dc1394) \ + $(use_enable debug) \ + $(use_enable dts dca) \ + $(use_enable dvbpsi) \ + $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ + $(use_enable dxva2) \ + $(use_enable encode sout) \ + $(use_enable faad) \ + $(use_enable fdk fdkaac) \ + $(use_enable flac) \ + $(use_enable fluidsynth) \ + $(use_enable fontconfig) \ + $(use_enable gcrypt libgcrypt) \ + $(use_enable gme) \ + $(use_enable gnome gnomevfs) \ + $(use_enable gnutls) \ + $(use_enable growl) \ + $(use_enable gstreamer gst-decode) \ + $(use_enable httpd) \ + $(use_enable ieee1394 dv1394) \ + $(use_enable jack) \ + $(use_enable jpeg) \ + $(use_enable kate) \ + $(use_enable libass) \ + $(use_enable libcaca caca) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable libtar) \ + $(use_enable libtiger tiger) \ + $(use_enable linsys) \ + $(use_enable lirc) \ + $(use_enable live live555) \ + $(use_enable lua) \ + $(use_enable macosx-dialog-provider) \ + $(use_enable macosx-eyetv) \ + $(use_enable macosx-qtkit) \ + $(use_enable macosx-quartztext) \ + $(use_enable matroska mkv) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable modplug mod) \ + $(use_enable mp3 mad) \ + $(use_enable mpeg libmpeg2) \ + $(use_enable mtp) \ + $(use_enable musepack mpc) \ + $(use_enable ncurses) \ + $(use_enable neon) \ + $(use_enable ogg) $(use_enable ogg mux_ogg) \ + $(use_enable omxil) \ + $(use_enable omxil omxil-vout) \ + $(use_enable opencv) \ + $(use_enable opengl glspectrum) \ + $(use_enable opus) \ + $(use_enable optimisememory optimize-memory) \ + $(use_enable png) \ + $(use_enable postproc) \ + $(use_enable projectm) \ + $(use_enable pulseaudio pulse) \ + $(use_enable rdp freerdp) \ + $(use_enable rtsp realrtsp) \ + $(use_enable run-as-root) \ + $(use_enable samba smbclient) \ + $(use_enable schroedinger) \ + $(use_enable sdl) \ + $(use_enable sdl-image) \ + $(use_enable sid) \ + $(use_enable sftp) \ + $(use_enable shout) \ + $(use_enable skins skins2) \ + $(use_enable speex) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable svg) \ + $(use_enable svg svgdec) \ + $(use_enable swscale) \ + $(use_enable taglib) \ + $(use_enable theora) \ + $(use_enable tremor) \ + $(use_enable truetype freetype) \ + $(use_enable twolame) \ + $(use_enable udev) \ + $(use_enable upnp) \ + $(use_enable v4l v4l2) \ + $(use_enable vaapi libva) \ + $(use_enable vcdx) \ + $(use_enable vdpau) \ + $(use_enable vlm) \ + $(use_enable vnc) \ + $(use_enable vorbis) \ + $(use_enable vpx) \ + $(use_enable wma-fixed) \ + $(use_with X x) \ + $(use_enable x264) \ + $(use_enable x265) \ + $(use_enable xcb) \ + $(use_enable xml libxml2) \ + $(use_enable xv xvideo) \ + $(use_enable zeroconf bonjour) \ + $(use_enable zvbi) $(use_enable !zvbi telx) \ + --disable-asdcp \ + --disable-coverage \ + --disable-cprof \ + --disable-crystalhd \ + --disable-decklink \ + --disable-gles1 \ + --disable-gles2 \ + --disable-goom \ + --disable-kai \ + --disable-kva \ + --disable-maintainer-mode \ + --disable-merge-ffmpeg \ + --disable-mfx \ + --disable-mmal-codec \ + --disable-mmal-vout \ + --disable-opensles \ + --disable-oss \ + --disable-quicktime \ + --disable-rpi-omxil \ + --disable-shine \ + --disable-sndio \ + --disable-vda \ + --disable-vsxu \ + --disable-wasapi + + # ^ We don't have these disabled libraries in the Portage tree yet. + + # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. + # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h. + # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file + sed -i '1i#undef _FORTIFY_SOURCE' "${S}"/config.h || die +} + +src_test() { + virtx emake check-TESTS +} + +src_install() { + default + + # Punt useless libtool's .la files + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then + einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" + "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" + else + ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" + ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" + ewarn "If you do not do it, vlc will take a long time to load." + fi +} diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest index 0886686ea08c..2ac67f0326d1 100644 --- a/net-dialup/freeradius/Manifest +++ b/net-dialup/freeradius/Manifest @@ -1,3 +1 @@ -DIST freeradius-2.2.0-patches-4.tar.xz 3140 SHA256 9fd7b6f7e1501d63a073e6279b20eb6d8154e7898d81c85a5c548543ab33c1af SHA512 38ebd65d9ad8ce8f513f2f5c7fd9ff43b81cf468038a49f9eb7f4a54d13783e88866c3031e7abc0fc8b65d2aec4f347efa358b9e7e2aadb2d15567ce7e125d1d WHIRLPOOL a532444f6bfebe260a6b4bf43157fa1624ce9920a86635172ac94e0f757263904bac6ca6a472e12df73e32a8d25d6f7b094272bd743d13c566f23bfcbff6df27 -DIST freeradius-server-2.2.9.tar.gz 4424239 SHA256 e1b8fcdb7467719ecd760678b628a733b3d14e998dc240d8563c5093f98aacd3 SHA512 a631f68165fe96d030c7d15ebc72ed3885badf089ad155204a773686747f17f355181f087e389c76b96525affcd54f4c16e4a7788375968eef0899c6a416a27e WHIRLPOOL 14382f14a7fe0943733e445b8ea334745d5c01596bf2530ff0c8dd53c3cc3836f8895b95c1128dcc71db5b95361e9a5829a6abb136422cb819e98656ca8a2ca9 DIST freeradius-server-3.0.13.tar.gz 4810570 SHA256 34da25c1a0e39dc57821ed6d1af1c1cc8bb7e280169cc8b4003acbfc4184328e SHA512 b4cb6203ca34ec459ea0f4f7960b4c5039ecd1be3de005251213ab6a9254d11fa9534b96d222eb83e6b35966aaeb6081362fd103eb73e0d76c009a655a47277f WHIRLPOOL 74dffb672cfc42060a9b133d60b4e4fe90207912f87549b212f5cf3e34adc315006edec161a5884d6977ede35c3f7f9bcd72085ee07ecc1c0dc6fe16b9d9e9b7 diff --git a/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch b/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch deleted file mode 100644 index c51597cbb929..000000000000 --- a/net-dialup/freeradius/files/freeradius-2.2.5-gentoo.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- a/raddb/radiusd.conf.in -+++ b/raddb/radiusd.conf.in -@@ -103,7 +103,7 @@ - # make - # make install - # --libdir = @libdir@ -+libdir = @libdir@/freeradius - - # pidfile: Where to place the PID of the RADIUS server. - # ---- a/src/modules/Makefile -+++ b/src/modules/Makefile -@@ -12,7 +12,7 @@ - @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common - - install: -- $(INSTALL) -d -m 755 $(R)$(libdir) -+ $(INSTALL) -d -m 755 $(R)$(pkglibdir) - @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common - - clean: ---- a/src/modules/rules.mak -+++ b/src/modules/rules.mak -@@ -122,7 +122,7 @@ - $(TARGET).la: $(RLM_SUBDIRS) $(LT_OBJS) - $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION_STRING) \ - -module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) -o $@ \ -- -rpath $(libdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS) -+ -rpath $(pkglibdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS) - - ####################################################################### - # -@@ -163,13 +163,11 @@ - # Do any module-specific installation. - # - # If there isn't a TARGET defined, then don't do anything. --# Otherwise, install the libraries into $(libdir) -+# Otherwise, install the libraries into $(pkglibdir) - # - install: - @[ "x$(RLM_INSTALL)" = "x" ] || $(MAKE) $(MFLAGS) $(RLM_INSTALL) - if [ "x$(TARGET)" != "x" ]; then \ - $(LIBTOOL) --mode=install $(INSTALL) -c \ -- $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \ -- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la; \ -- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la || exit $$?; \ -+ $(TARGET).la $(R)$(pkglibdir)/$(TARGET).la || exit $$?; \ - fi ---- a/src/modules/rlm_sql/drivers/rules.mak -+++ b/src/modules/rlm_sql/drivers/rules.mak -@@ -103,7 +103,7 @@ - $(TARGET).la: $(LT_OBJS) - $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION_STRING) \ - -module $(LINK_MODE) $(LDFLAGS) $(RLM_SQL_LDFLAGS) -o $@ \ -- -rpath $(libdir) $^ $(RLM_SQL_LIBS) -+ -rpath $(pkglibdir) $^ $(RLM_SQL_LIBS) - - ####################################################################### - # -@@ -141,12 +141,10 @@ - # Do any module-specific installation. - # - # If there isn't a TARGET defined, then don't do anything. --# Otherwise, install the libraries into $(libdir) -+# Otherwise, install the libraries into $(pkglibdir) - # - install: - if [ "x$(TARGET)" != "x" ]; then \ - $(LIBTOOL) --mode=install $(INSTALL) -c \ -- $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \ -- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la; \ -- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION_STRING).la || exit $$?; \ -+ $(TARGET).la $(R)$(pkglibdir)/$(TARGET).la || exit $$?; \ - fi ---- a/src/lib/Makefile -+++ b/src/lib/Makefile -@@ -42,7 +42,7 @@ - - $(TARGET).la: $(LT_OBJS) - $(LIBTOOL) --mode=link --tag=CC $(CC) -release $(RADIUSD_VERSION) \ -- $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ -+ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ $(LIBS) - - $(LT_OBJS): $(INCLUDES) - -@@ -54,7 +54,5 @@ - $(INSTALL) -d -m 755 $(R)$(libdir) - $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \ - $(R)$(libdir)/$(TARGET).la -- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; -- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la - - reconfig: ---- a/Make.inc.in -+++ b/Make.inc.in -@@ -10,6 +10,7 @@ - sysconfdir = @sysconfdir@ - localstatedir = @localstatedir@ - libdir = @libdir@ -+pkglibdir = @libdir@/freeradius - bindir = @bindir@ - sbindir = @sbindir@ - docdir = @docdir@ diff --git a/net-dialup/freeradius/files/radius.conf-r3 b/net-dialup/freeradius/files/radius.conf-r3 deleted file mode 100644 index 3c1bf3228cb0..000000000000 --- a/net-dialup/freeradius/files/radius.conf-r3 +++ /dev/null @@ -1,16 +0,0 @@ -# Config file for /etc/init.d/radiusd - -# see man pages for radiusd run `radiusd -h` -# for valid cmdline options -#RADIUSD_OPTS="" - -# Change this value if you change it in /etc/raddb/radiusd.conf -pidfile=/var/run/radiusd/radiusd.pid - -# Change these values if you change them in /etc/raddb/radiusd.conf -#RADIUSD_USER=radius -#RADIUSD_GROUP=radius - -# If you set up logging to syslog in /etc/raddb/radiusd.conf, you want -# to uncomment the following line. -#rc_use="logger" diff --git a/net-dialup/freeradius/freeradius-2.2.9-r2.ebuild b/net-dialup/freeradius/freeradius-2.2.9-r2.ebuild deleted file mode 100644 index e3291aaa99ab..000000000000 --- a/net-dialup/freeradius/freeradius-2.2.9-r2.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit autotools eutils pam python-any-r1 user - -PATCHSET=4 - -MY_P="${PN}-server-${PV}" - -DESCRIPTION="Highly configurable free RADIUS server" -SRC_URI=" - ftp://ftp.freeradius.org/pub/radius/${MY_P}.tar.gz - ftp://ftp.freeradius.org/pub/radius/old/${MY_P}.tar.gz - https://dev.gentoo.org/~flameeyes/${PN}/${PN}-2.2.0-patches-${PATCHSET}.tar.xz - -" -HOMEPAGE="http://www.freeradius.org/" - -KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" -LICENSE="GPL-2" -SLOT="0" - -IUSE=" - debug firebird iodbc kerberos ldap mysql odbc oracle pam pcap - postgres python readline sqlite ssl -" -RESTRICT="firebird? ( bindist )" - -RDEPEND="!net-dialup/cistronradius - !net-dialup/gnuradius - sys-devel/libtool - dev-lang/perl:= - sys-libs/gdbm - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:0= ) - pcap? ( net-libs/libpcap ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql:= ) - firebird? ( dev-db/firebird ) - pam? ( virtual/pam ) - ssl? ( dev-libs/openssl:0= ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - sqlite? ( dev-db/sqlite:3 ) - odbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) - oracle? ( dev-db/oracle-instantclient-basic )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup radius - enewuser radius -1 -1 /var/log/radius radius - - python-any-r1_pkg_setup - export PYTHONBIN="${EPYTHON}" -} - -src_prepare() { - eapply \ - "${WORKDIR}"/patches/0002*patch \ - "${WORKDIR}"/patches/0004*patch \ - "${FILESDIR}"/${PN}-2.2.5-gentoo.patch - - # most of the configuration options do not appear as ./configure - # switches. Instead it identifies the directories that are available - # and run through them. These might check for the presence of - # various libraries, in which case they are not built. To avoid - # automagic dependencies, we just remove all the modules that we're - # not interested in using. - - use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; } - use ldap || { rm -r src/modules/rlm_ldap || die ; } - use kerberos || { rm -r src/modules/rlm_krb5 || die ; } - use pam || { rm -r src/modules/rlm_pam || die ; } - use python || { rm -r src/modules/rlm_python || die ; } - # Do not install ruby rlm module, bug #483108 - rm -r src/modules/rlm_ruby || die - - # these are all things we don't have in portage/I don't want to deal - # with myself - rm -r src/modules/rlm_eap/types/rlm_eap_tnc || die # requires TNCS library - rm -r src/modules/rlm_eap/types/rlm_eap_ikev2 || die # requires libeap-ikev2 - rm -r src/modules/rlm_opendirectory || die # requires some membership.h - rm -r src/modules/rlm_redis{,who} || die # requires redis - rm -r src/modules/rlm_sql/drivers/rlm_sql_{db2,freetds,sybase} || die - - # sql drivers that are not part of experimental are loaded from a - # file, so we have to remove them from the file itself when we - # remove them. - usesqldriver() { - local flag=$1 - local driver=rlm_sql_${2:-${flag}} - - if ! use ${flag}; then - rm -r src/modules/rlm_sql/drivers/${driver} || die - sed -i -e /${driver}/d src/modules/rlm_sql/stable || die - fi - } - - usesqldriver mysql - usesqldriver postgres postgresql - usesqldriver firebird - usesqldriver iodbc - usesqldriver odbc unixodbc - usesqldriver oracle - usesqldriver sqlite - - # remove bundled ltdl to avoid conflicts - rm -r libltdl - - default - - eautoreconf -} - -src_configure() { - # fix bug #77613 - if has_version app-crypt/heimdal; then - myconf+=( --enable-heimdal-krb5 ) - fi - - use readline || export ac_cv_lib_readline=no - use pcap || export ac_cv_lib_pcap_pcap_open_live=no - - # do not try to enable static with static-libs; upstream is a - # massacre of libtool best practices so you also have to make sure - # to --enable-shared explicitly. - econf \ - --enable-shared --disable-static \ - --disable-ltdl-install \ - --with-system-libtool \ - --with-system-libltdl \ - --with-ascend-binary \ - --with-udpfromto \ - --with-dhcp \ - --with-iodbc-include-dir=/usr/include/iodbc \ - --with-experimental-modules \ - --with-docdir=/usr/share/doc/${PF} \ - --with-logdir=/var/log/radius \ - $(use_enable debug developer) \ - $(use_with ldap edir) \ - $(use_with ssl openssl) \ - ${myconf[@]} -} - -src_compile() { - emake LIBTOOL=libtool -} - -src_install() { - dodir /etc - diropts -m0750 -o root -g radius - dodir /etc/raddb - diropts -m0750 -o radius -g radius - dodir /var/log/radius - keepdir /var/log/radius/radacct - diropts - - emake LIBTOOL=libtool R="${D}" install - - fowners -R root:radius /etc/raddb - - # Fixing pidfile location (#546482) - sed \ - '/^run_dir =/s@${localstatedir}@@' \ - -i "${D}"/etc/raddb/radiusd.conf || die - - pamd_mimic_system radiusd auth account password session - - dodoc CREDITS - - rm "${D}/usr/sbin/rc.radiusd" || die - - newinitd "${FILESDIR}/radius.init-r3" radiusd - newconfd "${FILESDIR}/radius.conf-r3" radiusd -} - -pkg_config() { - if use ssl; then - cd "${ROOT}"/etc/raddb/certs - ./bootstrap - fi -} - -pkg_preinst() { - if ! has_version ${CATEGORY}/${PN} && use ssl; then - elog "You have to run \`emerge --config =${CATEGORY}/${PF}\` to be able" - elog "to start the radiusd service." - fi -} diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index ae7313c76fce..5bc36bf3d139 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,6 @@ -DIST tdesktop-1.0.29.tar.gz 16561823 SHA256 3277246e57e6605ba8d0444d1a218cac7409f3aa2d00e06b6ae6e365f1666bbb SHA512 8dc1d0a1e20108b4ef27fc0865e24d9bd7eb1e3417266ae786921625bb58f0fce5bc059d4fcdeb5203f42b940e7851c9811e26f4e48c1758280ac550fa7b0cd7 WHIRLPOOL 90c05b18b7cc6235443d737605ae4c356340ad134eac47b7d0c197433e2bb5cec8c4fc47986b6d8d8c816f1b9372c31c0df0ed07ecf516f535103161f7514112 DIST tdesktop-1.1.2.tar.gz 16742147 SHA256 c5b8bbd07a6c68bd9123b6e5ccee1e623127b8672e332bce3dcb4663db57f058 SHA512 a3529225a0a373f796a93b8756af70da5c1558fa7618812922dcf39e412ae42722114bc1de0ebcb768cee6e2ff4b6dc053709493c9d7d010e98549c2887ca96a WHIRLPOOL f62317879214387b9cc5287cb9acd3051194254760613e5ad7e9e94df9ec10499c2bf9effdfdd789baf2d3816f35eb6ce82417645d3972b9f0f23584000738a1 -DIST tsetup.1.0.29.tar.xz 28953124 SHA256 f8b03a5ad782b45cd3308fdcfb582a365c11c11ace07d0d7ae4bfc3e7407d792 SHA512 009dd4ed337f50103232cc1fcd012139199522b42de2081183c5db1f28c011169eefc4853c07603d65a811ca2d5197b883dc73a6aaffe342b800067210342d59 WHIRLPOOL 51eaceeda864fb3604c094b3430adfde6e0a52bc9191d3c698e88a54d1021b816e4cd8cb65faa7afe3c18b5096b897dece964b2825efb88a776b4b559ca69a42 +DIST tdesktop-1.1.7.tar.gz 16754793 SHA256 760f9ff4864e1c4cfd3a955ff493644d0e6aff5bb6d1012e12d33ede2314b622 SHA512 a79e5ba19149be3e6fdae5759cfb399fd45bb68c32a8e0fabef1633a0f1c25220fdc93a94081ab3edbf1b9fb8790821cf46c602174a5e8c94ec35040b089fd30 WHIRLPOOL 7a6a61ae40b280b9a5ce61ea7a70546cc84b331a520b3e6497db939a6447cf4d0740d839251585d2403f5a9f30a0eaf92bba1eb420eb857368af269d21dfd596 DIST tsetup.1.1.2.tar.xz 29779044 SHA256 7aa05a4afe260329ac407ea1d2fceb152a288b938d234227624040132d546dd5 SHA512 5824ff88e563025dd6f0d0ea76c367fbb2ee55a31bbdf67a1ef9e3e7e4580d82a08d57d88a20cc683c1c44a30e91f027c77d5f67100b69eb5d38807b77080f1f WHIRLPOOL 4bfd2db6079c23de5f9a89af9ff0cc9bcd68375a59df6a344f5115b29cbc9871efb481459b260823f6418b3e1944c0186e061ee105d6fbbe0fc278bec03dfa7b -DIST tsetup32.1.0.29.tar.xz 29755440 SHA256 bfd07d59f07e80f2d32faa5d6f5c5e973dec8d4cb0c66e2a13429112f1a51720 SHA512 99bab32f0ca9a3fd386a96add11ae79d375c9aa38b581229325eab94de3711fca1f9e5cd94705c374d23ffa82d545e26b35b00cad742bd67eef0541a3073b99d WHIRLPOOL d84ca6340a7265619b458ae5955d238fc59bc9bbe660e80736d76af567beb1b06d44235e3211f8286d40652af41bda55daa9ed8415ae880637b5531952afe9d7 +DIST tsetup.1.1.7.tar.xz 29797328 SHA256 c0a2d38219f2923294fda46fb11da868523808abccd88f60c979a32828b9473e SHA512 a308616d0223eb4561b1855643fc8c7fb2653670dd2333e837d0496c3fc5d2ae01e395f34171baa68eeef4c2181f5a485e30288346c07584399b5306248dcb2a WHIRLPOOL eea299139b8659a419e489116054f76bb14a137cf089ab839dbf69babe538c86f99861e0fe298419636a5ecb7cc673a830385929aeca0cf7b5a7f6f1fc7fd50e DIST tsetup32.1.1.2.tar.xz 30577744 SHA256 b3b93fc1cad70996e1c962a1132205371c02a327763a66a2e61542d33b6384a1 SHA512 74e3fd7f58129466e170c0796d3552161cbc30d87f9eae0cfedc454e9f82a85b11cfa1f8ea1649ec2b5abcb3a52d33403e1678674b993345e91525bfb944815a WHIRLPOOL c92edfc173672556ad170b4a065cdd6c98aa3db3a6697dc6e601a584fcfbfaeb2854b6221dceed2fe0b049ced9492486c8f1552c33cc81ec2b87a491f3b18e95 +DIST tsetup32.1.1.7.tar.xz 30618984 SHA256 49db49c089efa680e8ce68ee7153e7a3f601e485a1305857f5cf1b13a5e7e5b0 SHA512 1fcbd2af833ca925eb721f67896b0c0e2fac0e8b704211fc6d07599e909f773dba8e758de67fe9de1c7353cda10cec02462df3c3a7a212cca593c22b2f06f55e WHIRLPOOL 102c676e2076dfa150f6225066d9e5d6f0222ea45c19ecb8c91bfe4be7077ca8ad1ebe99846566677b319b0b660ce3814b995676ef32c3fe76d79134c3769ef0 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.7.ebuild index 5858bacb2f9d..3bcebcb59b80 100644 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.0.29.ebuild +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.7.ebuild @@ -45,7 +45,6 @@ src_install() { pkg_preinst() { xdg_pkg_preinst - gnome2_icon_savelist } pkg_postinst() { diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest index 398b00621a55..ec89e0814495 100644 --- a/net-mail/dovecot/Manifest +++ b/net-mail/dovecot/Manifest @@ -3,3 +3,4 @@ DIST dovecot-2.2-pigeonhole-0.4.9.tar.gz 1577127 SHA256 82892f876d26008a076973df DIST dovecot-2.2.19.tar.gz 5256627 SHA256 759e1e3f9d907cdaabad1f5fbacc793ca191d234c084bec3bba42966952a4e9f SHA512 1b9d605a6a5862ade9d1ca634a9e0171b7c212ab025fc2059051c3795470685b66516fa9fbe5ad91d84388268ea15795f2dcd70ffdf81736ce4d80fd284835e9 WHIRLPOOL 30dbe70bfeef10dbe414ebf3f091041ad66926a8748cd401ecaf9ed5c7602939e86943d98bfb839f32c0aa1d0081ab71adacf23bb4adba34e828ee296e9a7278 DIST dovecot-2.2.29.1.tar.gz 5972119 SHA256 ccfa9ffb7eb91e9e87c21c108324b911250c9ffa838bffb64b1caafadcb0f388 SHA512 1e5ea6080ebe7dd4afe6fcfe8e98ed6d2ad2735655a18cc96e439dd044ccc3a1a6a80428bc746b4d6250820895d6a62121562e97e4b46c8b1cf88a19443bc111 WHIRLPOOL 97a3b45191a32e78a08b4113a6e8b34e0bc538ec8359210d0bdf63990246af89be25cdaf9017c46f3107a7ec82758fa25820d61c25eda94f14ce7351d3aaea7a DIST dovecot-2.2.30.1.tar.gz 6004223 SHA256 9049db49f7ccd76850a17872896dfb8778676bab38454575f59bb39f16b083a4 SHA512 f95e85093e1f671b1e9d067974880eaaf8ab021df1f6d298977c40146a1db2a2b71b4029842785ffaae1aeedec83b2218ff03112537045e08dfc7c845f9e27c3 WHIRLPOOL c4c180b3f92c5af832e6da95173eacf52e16680221968d03c62cec59d96fde84975c81687a2bd256c4f2ed4720690b278f4f706bc0d16710f6b043a6bb348797 +DIST dovecot-2.2.30.2.tar.gz 6008134 SHA256 f3dba79c1ceeaa9dd0633f648d3a607704bf3d0591e7d48168084c8add87189e SHA512 740118e3081864234168593bd83f2f5e7b9f5c7cefff3a3a7795369cf791f300c0881fbfacae2c76c0bb42e366ad26e7613c487708d113b19887ebe869d711ea WHIRLPOOL 34eaa59d3cbd837ae92aa9e7e3640cfd181ff2ce01ab80aa27143cb70987e4e5e1369ace7f5d7f2cf7f564a3e26e8c31368d0e60a1716abfed250dc812af0dcb diff --git a/net-mail/dovecot/dovecot-2.2.30.2.ebuild b/net-mail/dovecot/dovecot-2.2.30.2.ebuild new file mode 100644 index 000000000000..9a811261c576 --- /dev/null +++ b/net-mail/dovecot/dovecot-2.2.30.2.ebuild @@ -0,0 +1,290 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit ssl-cert systemd user versionator + +MY_P="${P/_/.}" +major_minor="$(get_version_component_range 1-2)" +sieve_version="0.4.18" +if [[ ${PV} == *_rc* ]] ; then + rc_dir="rc/" +else + rc_dir="" +fi +SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz + sieve? ( + https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz + ) + managesieve? ( + https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz + ) " +DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" +HOMEPAGE="http://www.dovecot.org/" + +SLOT="0" +LICENSE="LGPL-2.1 MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~x86" + +IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail" +IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib" +IUSE_DOVECOT_OTHER="caps doc ipv6 libressl lucene managesieve selinux sieve solr +ssl static-libs suid tcpd textcat" + +IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" + +DEPEND="bzip2? ( app-arch/bzip2 ) + caps? ( sys-libs/libcap ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + lucene? ( >=dev-cpp/clucene-2.3 ) + lzma? ( app-arch/xz-utils ) + lz4? ( app-arch/lz4 ) + mysql? ( virtual/mysql ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) + selinux? ( sec-policy/selinux-dovecot ) + solr? ( net-misc/curl dev-libs/expat ) + sqlite? ( dev-db/sqlite:* ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + tcpd? ( sys-apps/tcp-wrappers ) + textcat? ( app-text/libexttextcat ) + vpopmail? ( net-mail/vpopmail ) + zlib? ( sys-libs/zlib ) + virtual/libiconv + dev-libs/icu:=" + +RDEPEND="${DEPEND} + net-mail/mailbase" + +# Dovecot does not support building without ssl. Force it for now +REQUIRED_USE="ssl" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use managesieve && ! use sieve; then + ewarn "managesieve USE flag selected but sieve USE flag unselected" + ewarn "sieve USE flag will be turned on" + fi + # default internal user + enewgroup dovecot 97 + enewuser dovecot 97 -1 /dev/null dovecot + # default login user + enewuser dovenull -1 -1 /dev/null + # add "mail" group for suid'ing. Better security isolation. + if use suid; then + enewgroup mail + fi +} + +src_prepare() { + eapply -p0 "${FILESDIR}/${PN}-10-ssl.patch" + eapply_user +} + +src_configure() { + local conf="" + + if use postgres || use mysql || use sqlite; then + conf="${conf} --with-sql" + fi + + # turn valgrind tests off. Bug #340791 + VALGRIND=no econf \ + --localstatedir="${EPREFIX}/var" \ + --runstatedir="${EPREFIX}/run" \ + --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ + --without-stemmer \ + --disable-rpath \ + --with-icu \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + $( use_with bzip2 bzlib ) \ + $( use_with caps libcap ) \ + $( use_with kerberos gssapi ) \ + $( use_with ldap ) \ + $( use_with lucene ) \ + $( use_with lz4 ) \ + $( use_with lzma ) \ + $( use_with mysql ) \ + $( use_with pam ) \ + $( use_with postgres pgsql ) \ + $( use_with sqlite ) \ + $( use_with solr ) \ + $( use_with ssl ) \ + $( use_with tcpd libwrap ) \ + $( use_with textcat ) \ + $( use_with vpopmail ) \ + $( use_with zlib ) \ + $( use_enable static-libs static ) \ + ${conf} + + if use sieve || use managesieve ; then + # The sieve plugin needs this file to be build to determine the plugin + # directory and the list of libraries to link to. + emake dovecot-config + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + econf \ + $( use_enable static-libs static ) \ + --localstatedir="${EPREFIX}/var" \ + --enable-shared \ + --with-dovecot="../${MY_P}" \ + $( use_with managesieve ) + fi +} + +src_compile() { + default + if use sieve || use managesieve ; then + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" + fi +} + +src_test() { + default + if use sieve || use managesieve ; then + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + default + fi +} + +src_install () { + default + + # insecure: + # use suid && fperms u+s /usr/libexec/dovecot/deliver + # better: + if use suid;then + einfo "Changing perms to allow deliver to be suided" + fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda" + fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda" + fi + + newinitd "${FILESDIR}"/dovecot.init-r4 dovecot + + rm -rf "${ED}"/usr/share/doc/dovecot + + dodoc AUTHORS NEWS README TODO + dodoc doc/*.{txt,cnf,xml,sh} + docinto example-config + dodoc doc/example-config/*.{conf,ext} + docinto example-config/conf.d + dodoc doc/example-config/conf.d/*.{conf,ext} + docinto wiki + dodoc doc/wiki/* + doman doc/man/*.{1,7} + + # Create the dovecot.conf file from the dovecot-example.conf file that + # the dovecot folks nicely left for us.... + local conf="${ED}/etc/dovecot/dovecot.conf" + local confd="${ED}/etc/dovecot/conf.d" + + insinto /etc/dovecot + doins doc/example-config/*.{conf,ext} + insinto /etc/dovecot/conf.d + doins doc/example-config/conf.d/*.{conf,ext} + fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext + rm -f "${confd}/../README" + + # .maildir is the Gentoo default + local mail_location="maildir:~/.maildir" + sed -i -e \ + "s|#mail_location =|mail_location = ${mail_location}|" \ + "${confd}/10-mail.conf" \ + || die "failed to update mail location settings in 10-mail.conf" + + # We're using pam files (imap and pop3) provided by mailbase + if use pam; then + sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ + "${confd}/auth-system.conf.ext" \ + || die "failed to update PAM settings in auth-system.conf.ext" + # mailbase does not provide a sieve pam file + use managesieve && dosym imap /etc/pam.d/sieve + sed -i -e \ + 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ + "${confd}/10-auth.conf" \ + || die "failed to update PAM settings in 10-auth.conf" + fi + + # Disable ipv6 if necessary + if ! use ipv6; then + sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ + || die "failed to update listen settings in dovecot.conf" + fi + + # Update ssl cert locations + if use ssl; then + sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ + || die "ssl conf failed" + sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ + -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ + "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" + fi + + # Install SQL configuration + if use mysql || use postgres; then + sed -i -e \ + 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ + "${confd}/10-auth.conf" || die "failed to update SQL settings in \ + 10-auth.conf" + fi + + # Install LDAP configuration + if use ldap; then + sed -i -e \ + 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ + "${confd}/10-auth.conf" \ + || die "failed to update ldap settings in 10-auth.conf" + fi + + if use vpopmail; then + sed -i -e \ + 's/#!include auth-vpopmail.conf.ext/!include auth-vpopmail.conf.ext/' \ + "${confd}/10-auth.conf" \ + || die "failed to update vpopmail settings in 10-auth.conf" + fi + + if use sieve || use managesieve ; then + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + emake DESTDIR="${ED}" install + sed -i -e \ + 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ + || die "failed to update sieve settings in 15-lda.conf" + rm -rf "${ED}"/usr/share/doc/dovecot + docinto example-config/conf.d + dodoc doc/example-config/conf.d/*.conf + insinto /etc/dovecot/conf.d + doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf + use managesieve && doins doc/example-config/conf.d/20-managesieve.conf + docinto sieve/rfc + dodoc doc/rfc/*.txt + docinto sieve/devel + dodoc doc/devel/DESIGN + docinto plugins + dodoc doc/plugins/*.txt + docinto extensions + dodoc doc/extensions/*.txt + docinto locations + dodoc doc/locations/*.txt + doman doc/man/*.{1,7} + fi + + use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete +} + +pkg_postinst() { + if use ssl; then + # Let's not make a new certificate if we already have one + if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ + -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then + einfo "Creating SSL certificate" + SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" + install_cert /etc/ssl/dovecot/server + fi + fi + + elog "Please read http://wiki2.dovecot.org/Upgrading/ for upgrade notes." +} diff --git a/net-misc/cbqinit/cbqinit-0.7.3-r2.ebuild b/net-misc/cbqinit/cbqinit-0.7.3-r3.ebuild index 56527c022a00..6ab3386730f8 100644 --- a/net-misc/cbqinit/cbqinit-0.7.3-r2.ebuild +++ b/net-misc/cbqinit/cbqinit-0.7.3-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -24,6 +24,7 @@ src_unpack() { src_prepare() { eapply -p0 "${FILESDIR}"/${P}-gentoo.patch + sed -i -e 's:/sbin/ip:/bin/ip:' cbqinit || die default } diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest index 52c8c9b317a2..84d7b2a1a018 100644 --- a/net-proxy/shadowsocks-libev/Manifest +++ b/net-proxy/shadowsocks-libev/Manifest @@ -1,2 +1,3 @@ DIST shadowsocks-libev-2.5.6.tar.gz 1552674 SHA256 fa232047d12d39bf19f3539828ca1662da5e5905bfc03163ba20c37fe8e94d8f SHA512 577d8a6af9eac0aa5fe419cdf7d8be7396d654cec32b274d0db756480c340b3b61500c3b60e48aa82537b57a6a8c13dc00781790691897b139e0e7cc60161fb7 WHIRLPOOL bf33e32335120bdebe0d9a86abed9c8594f6289d709089caa9099cea0502e573979c624fcf741fe39a383a3c68ced41a9b77d494f0ec28e139fb44f4481d04bc DIST shadowsocks-libev-2.6.2.tar.gz 1566835 SHA256 1fa5b70177f7c125cd10b46d590274c22b4bded26bf3d2372ab73829dc4b7c97 SHA512 29093b25a24d64e01877d1d9ac7d4b2966c4f9934b58a8fca45235248c3b1fb625faf083f28089a03122c2f8d1a20a59d7608ff0487c684e36cadf2f736cddfd WHIRLPOOL d1366d9fa9e24a2b749f74740b120bf5ad6817a5874532180e9c76bf8a10f41248e462e70aeebbc97090af04d412d04a4eda95ed9f7295049c70d9b400b45ba5 +DIST shadowsocks-libev-3.0.6.tar.xz 1512740 SHA256 c890bd96d73b89d9bb28031fa17d6bba3ab2262085394f03d9ea60f7f81d861b SHA512 439080b70541e828db8a60092794d8c8cfcc2ed19468f943f3c0ccd63a2ed1581d1278450ca2964f35adad3ed889f466ef55ff293e86b9a17b84fc6551ffaa8c WHIRLPOOL 559e547e171a40197363b6e7cfe472d472e7544a50c3b06cf6c209e8b04291968ac029492b445a781545dba5f1416b91ebde8d587af460393757a594e4f631da diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild new file mode 100644 index 000000000000..136bc28dcc32 --- /dev/null +++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils systemd + +DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low end boxes" +HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev" + +#repack with git submodule populated: libbloom, libcork, libipset +SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc" + +RDEPEND="net-libs/mbedtls + >=dev-libs/libsodium-1.0.8 + dev-libs/libev + net-libs/udns + dev-libs/libpcre + " +DEPEND="${RDEPEND} + sys-kernel/linux-headers + doc? ( + app-text/asciidoc + app-text/xmlto + ) + " + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=" \ + $(use_enable debug assert) \ + " + use doc || myconf+="--disable-documentation" + econf ${myconf} +} + +src_install() { + default + prune_libtool_files --all + + dodir "/etc/${PN}" + insinto "/etc/${PN}" + newins "${FILESDIR}/shadowsocks.json" shadowsocks.json + + newinitd "${FILESDIR}/shadowsocks.initd" shadowsocks + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.server + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.client + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.redir + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.tunnel + + dodoc -r acl + + systemd_newunit "${FILESDIR}/${PN}-local_at.service" "${PN}-local@.service" + systemd_newunit "${FILESDIR}/${PN}-server_at.service" "${PN}-server@.service" + systemd_newunit "${FILESDIR}/${PN}-redir_at.service" "${PN}-redir@.service" + systemd_newunit "${FILESDIR}/${PN}-tunnel_at.service" "${PN}-tunnel@.service" +} + +pkg_setup() { + elog "You need to choose the mode" + elog " server: rc-update add shadowsocks.server default" + elog " client: rc-update add shadowsocks.client default" + elog " redir: rc-update add shadowsocks.redir default" + elog " tunnel: rc-update add shadowsocks.tunnel default" +} diff --git a/net-wireless/ndiswrapper/Manifest b/net-wireless/ndiswrapper/Manifest index d74f905ae7cc..6cbfeb5beec9 100644 --- a/net-wireless/ndiswrapper/Manifest +++ b/net-wireless/ndiswrapper/Manifest @@ -1 +1,2 @@ DIST ndiswrapper-1.59.tar.gz 201257 SHA256 66a5d3ffb3fc8a63d87e381bbc627511597dfd25c4c37dda3b953ccf98f5d4bc SHA512 dd1d486b6178185e813217e4fff38f6ea6b21f8a3544c5cc25be9edbca60f34b21656e5d46b9d02cb1e43c8cc82856283aaa428964b8f85cb07146a41e40e44d WHIRLPOOL ae4dca59911625146de4e2da02b72bcf1b695e63c8d0d900a91ec9b0c5b7452c9ba0de37ad95129d330d96be16d9c4b488b5d40936f51af14dca2597281b7b84 +DIST ndiswrapper-1.61.tar.gz 202240 SHA256 2ac1847c24cbfa4f48a800b04c9721219614f1663a4ac94af3c7939b45c47584 SHA512 67a50071a2e04113b91259e0d5236b4bf02b46a0d60ecae779c34e047f678c70b18e3191bad1435525c8499e554bd26794a03a79a71e1e603987432f4c590b43 WHIRLPOOL 39b2cae9eab28147a5e7103f1b4b2fa44618afe4d1bbdd6f8108180b867ec319f4f2a3f4dc7b1e141f51e39765dccb9c3476537ed4158d38f7ff9eda3ffd2bea diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-1.61-kernel-4.11.patch b/net-wireless/ndiswrapper/files/ndiswrapper-1.61-kernel-4.11.patch new file mode 100644 index 000000000000..f39c7bde4d20 --- /dev/null +++ b/net-wireless/ndiswrapper/files/ndiswrapper-1.61-kernel-4.11.patch @@ -0,0 +1,55 @@ +commit fa2aeeccd5366378ca2eb83c6daee64b511fe792 +Author: Felix Yan <felixonmars@archlinux.org> +Date: Tue May 16 01:32:56 2017 +0800 + + Add support for Linux 4.11+ + +diff --git a/ndiswrapper/driver/ndis.c b/ndiswrapper/driver/ndis.c +index c1913a05..2ab4dd21 100644 +--- a/driver/ndis.c ++++ b/driver/ndis.c +@@ -2258,7 +2258,9 @@ wstdcall void NdisMIndicateReceivePacket(struct ndis_mp_block *nmb, + WARNING("empty packet ignored"); + continue; + } ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) + wnd->net_dev->last_rx = jiffies; ++#endif + /* get total number of bytes in packet */ + NdisGetFirstBufferFromPacketSafe(packet, &buffer, &virt, + &length, &total_length, +@@ -2346,7 +2348,9 @@ wstdcall void EthRxIndicateHandler(struct ndis_mp_block *nmb, void *rx_ctx, + ERROR("nmb is NULL"); + EXIT3(return); + } ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) + wnd->net_dev->last_rx = jiffies; ++#endif + + if (look_ahead_size < packet_size) { + struct ndis_packet *packet; +@@ -2461,7 +2465,9 @@ wstdcall void NdisMTransferDataComplete(struct ndis_mp_block *nmb, + WARNING("illegal packet"); + EXIT3(return); + } ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) + wnd->net_dev->last_rx = jiffies; ++#endif + oob_data = NDIS_PACKET_OOB_DATA(packet); + skb_size = sizeof(oob_data->header) + oob_data->look_ahead_size + + bytes_txed; +diff --git a/ndiswrapper/driver/ntoskernel.h b/ndiswrapper/driver/ntoskernel.h +index 3c4c6ff0..f1c52e51 100644 +--- a/driver/ntoskernel.h ++++ b/driver/ntoskernel.h +@@ -296,6 +296,10 @@ static inline void (INIT_WORK)(struct work_struct *work, work_func_t func) + #define add_taint(flag, lockdep_ok) add_taint(flag) + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) ++#include <linux/sched/signal.h> ++#endif ++ + #include "winnt_types.h" + #include "ndiswrapper.h" + #include "pe_linker.h" diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.61.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.61.ebuild new file mode 100644 index 000000000000..19f6f4ad1e84 --- /dev/null +++ b/net-wireless/ndiswrapper/ndiswrapper-1.61.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-mod toolchain-funcs + +DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" +HOMEPAGE="http://ndiswrapper.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/stable/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="debug usb" + +DEPEND="sys-apps/pciutils" +RDEPEND="${DEPEND} + net-wireless/wireless-tools +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.59-cflags.patch + "${FILESDIR}"/${PN}-1.61-kernel-4.11.patch +) + +MODULE_NAMES="ndiswrapper(misc:${S}/driver)" +BUILD_TARGETS="all" +MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") + +pkg_pretend() { + CONFIG_CHECK="~WEXT_PRIV" + use usb && CONFIG_CHECK="${CONFIG_CHECK} ~USB" + ERROR_USB="You need to enable USB support in your kernel to use usb support in ndiswrapper." + ERROR_WEXT_PRIV="Your kernel does not support WEXT_PRIV. To enable it you need to enable a wireless driver that enables it, for example PRISM54 or IPW2200" + linux-mod_pkg_setup +} + +src_compile() { + local params + + # Enable verbose debugging information + if use debug; then + params="DEBUG=3" + use usb && params="${params} USB_DEBUG=1" + fi + + cd utils + emake CC=$(tc-getCC) + + use usb || params="${params} DISABLE_USB=1" + + BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD='${KV_OUT_DIR}' ${params}" + linux-mod_src_compile +} + +src_install() { + dodoc AUTHORS ChangeLog INSTALL README + doman ndiswrapper.8 + + keepdir /etc/ndiswrapper + + linux-mod_src_install + + cd utils + emake DESTDIR="${D}" install +} + +pkg_postinst() { + linux-mod_pkg_postinst + + echo + elog "NDISwrapper requires .inf and .sys files from a Windows(tm) driver" + elog "to function. Download these to /root for example, then" + elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." + elog "They will be copied to /etc/ndiswrapper/." + elog "Once done, please run 'update-modules'." + echo + + elog "Please look at ${HOMEPAGE}" + elog "for the FAQ, HowTos, tips, configuration, and installation" + elog "information." + echo + + for i in $(lspci -n | egrep '(0280|0200):' | cut -d' ' -f1) + do + i_desc=$(lspci -nn | grep "$i" | awk -F': ' '{print $2}' | awk -F'[' '{print $1}') + if [[ -n "${i_desc}" ]] ; then + elog "Possible hardware: ${i_desc}" + fi + done + + echo + elog "NDISwrapper devs need support (_hardware_, cash)." + elog "Don't hesitate if you can help." + elog "See ${HOMEPAGE} for details." + echo + + if [[ ${ROOT} == "/" ]]; then + + einfo "Attempting to automatically reinstall any Windows drivers" + einfo "you might already have." + echo + + local driver + for driver in $(ls /etc/ndiswrapper) ; do + einfo "Driver: ${driver}" + mv "/etc/ndiswrapper/${driver}" "${T}" + ndiswrapper -i "${T}/${driver}/${driver}.inf" + done + fi +} diff --git a/profiles/package.mask b/profiles/package.mask index 08b5327d26e6..d3b0fc7074e9 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -29,6 +29,11 @@ #--- END OF EXAMPLES --- +# Matthias Maier <tamiko@gentoo.org> (06 Jun 2017) +# Dead upstream, unmaintained, no homepage, no SRC_URI, x86-only, does not +# compile, bug #620964. Removal in 30 days. +app-text/7plus + # Michał Górny <mgorny@gentoo.org> (05 Jun 2017) # Mask split *-sharp packages for removal. Replaced by combined: # - >=dev-dotnet/gtk-sharp-2.12.21, diff --git a/sci-geosciences/xtide/xtide-2.13.2.ebuild b/sci-geosciences/xtide/xtide-2.13.2.ebuild index 72ccfeb0273f..2695519ca75e 100644 --- a/sci-geosciences/xtide/xtide-2.13.2.ebuild +++ b/sci-geosciences/xtide/xtide-2.13.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.flaterco.com/xtide/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="gps" DEPEND=" diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index f6f3c9a16407..8480503c7bdf 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -1 +1,2 @@ DIST elogind-229.3.tar.gz 757313 SHA256 8506145e6071a637aec91276e19cd932b3d9cd297c8e833f7b08b8d53fd7a1d7 SHA512 5449f6b8ca1cb14d91681de1273819e193c88f6ec22b790cfe2c9d9d6e0d37bfc3b707a650d14471e0cb3a577289f725e1a47d22a14db2154a2c0552ecde32ca WHIRLPOOL e71fc14453017a570c3c2766b42fb444e41b2a703689e745ea3a01bd915fdab896b4bd3f229f74d438d48b8383a0b590c456b9269a739e9bf7b8d60441fbb33c +DIST elogind-229.4.tar.gz 757388 SHA256 a34012b087d1da4a5c23ab66a3debe34a4dc01cf61fd4ba91a28a9579aafa2ed SHA512 d26a1297755ca262b9ac5b85d8c4e8f706d5eccdc69d9de312297812bafc20eeb5180824fb85d6f6c9cdfe4966ca1acc4ce62902c6b8816e4e8fb244aa4b9518 WHIRLPOOL 6e9a1a97ce317d3ae562663b1cac5115507487694aed3bd16e500f2c4b295a8735705b2e1c24c1ddf10c00a0eb1d2c444a6bdbb154b1e20c6e7210fdbfa95f8f diff --git a/sys-auth/elogind/elogind-229.4.ebuild b/sys-auth/elogind/elogind-229.4.ebuild new file mode 100644 index 000000000000..a5912caf290c --- /dev/null +++ b/sys-auth/elogind/elogind-229.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info pam udev + +DESCRIPTION="The systemd project's logind, extracted to a standalone package" +HOMEPAGE="https://github.com/elogind/elogind" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0 LGPL-2.1+ public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="acl debug pam policykit selinux" + +RDEPEND=" + sys-apps/util-linux + sys-libs/libcap + virtual/libudev:= + acl? ( sys-apps/acl ) + pam? ( virtual/pam ) + selinux? ( sys-libs/libselinux ) + !sys-apps/systemd +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-util/gperf + dev-util/intltool + sys-devel/libtool + virtual/pkgconfig +" +PDEPEND=" + sys-apps/dbus + policykit? ( sys-auth/polkit ) +" + +PATCHES=( "${FILESDIR}/${PN}-226.4-docs.patch" ) + +pkg_setup() { + local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SECURITY_SMACK + ~SIGNALFD ~TIMERFD" + + if use kernel_linux; then + linux-info_pkg_setup + fi +} + +src_prepare() { + default + eautoreconf # Makefile.am patched by "${FILESDIR}/${P}-docs.patch" +} + +src_configure() { + econf \ + --with-pamlibdir=$(getpam_mod_dir) \ + --with-udevrulesdir="$(get_udevdir)"/rules.d \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ + --enable-smack \ + --disable-kdbus \ + $(use_enable debug debug elogind) \ + $(use_enable acl) \ + $(use_enable pam) \ + $(use_enable selinux) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + + newinitd "${FILESDIR}"/${PN}.init ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} +} + +pkg_postinst() { + if [ "$(rc-config list default | grep elogind)" = "" ]; then + ewarn "To enable the elogind daemon, elogind must be" + ewarn "added to the default runlevel:" + ewarn "# rc-update add elogind default" + fi +} diff --git a/sys-kernel/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest index f175bd55304e..4b1fc535fd04 100644 --- a/sys-kernel/vanilla-sources/Manifest +++ b/sys-kernel/vanilla-sources/Manifest @@ -10,8 +10,8 @@ DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f1 DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a DIST patch-3.10.105.xz 1397064 SHA256 f80c551ebb34df1244b3cec5e06d09fb3eff30289c00cb6347f5d1c874976fda SHA512 f1b54e53c11f98f1f07a31aa77a65dfc8f69d8a420c7a68b6e75d72ab82e3d8b5f16a43d75840439f01a8b9af55ecc941f82f436561c6af410ffd930a89c4625 WHIRLPOOL 45c31a090fb1f4747e78eed106b03408bce9cd45a8b657e4b3010ac409676ca554c22202cafe3aa75ba3377e5cf8e3c85b03d1a4a0e1ae50d5bfe052bfb6a0a8 DIST patch-3.12.74.xz 1801960 SHA256 254a7c27c5b3d10797dad625cef1e309e488feb63b358338632e170e631314c9 SHA512 267a0d59f6d14550b1c626f6d2bea5e4c7b683f372e5fd08df312a364fc074b6ec4aa92ea97047cf3fe5e989307ea47382cb0c159b5394bfe696dbdb78add93a WHIRLPOOL b3531baead607934cfaad4c0a93bd9b059c6cdd8365b1b3e9c142750facfdd908199c0c65ed723117511f980935ee9b37a94718239ccc4df07a0294778e5dd0a -DIST patch-3.16.43.xz 1521552 SHA256 613fc4663e1d7979c1530291e39a3118a4fff59c7de3d3f41ccd20c9a7bcd8ae SHA512 1685e1e16a6bf0e2255ce4dc3f88437c800747f3206383c4cadb60045f34c66a66d25d6fa061a57a779353bad6a5a939e0d334d881521ac889a81f6289cba872 WHIRLPOOL 8f52ce7fce4daaa106fb3b0be6ff37d3b8881c3bf8c96dfdefcebf540b685c0b94f4b45bb112118b46b220fd148e5afe4707010642bdb32a29717ad75657079c -DIST patch-3.2.88.xz 1704968 SHA256 1414b22403824525a6c82a6ac4bbe2e35a2537a81ed012424e0c30b86dcbe245 SHA512 4df324dc009ce086bd20ae9c435f5e3aa990103d514c7057d79ddd451e889a5ded0781287269dad374e472dd3de05b9f2097fe602e1fc857cfa2e2bf304046fd WHIRLPOOL 03c99b887c11eb0832cd42d8bc1e505fa25591f2a5a9b6f2c4c18aa1d85d45b5614d0a0969f0174c089e83d87f4241d64c4111b73b2eb4d40a6eeda19fc95d2a +DIST patch-3.16.44.xz 1562768 SHA256 6edf090d0080d9096a5872bd4cb01d3883f9ab79e65c03cb0a5fc9a2e263f744 SHA512 af5d0bbb76afb365d62f9ae34c5dfb03e7e06e8e771e0e5b798333d2917ad7e39bb75cf7ce3f4ee955303e05df04525aa5d82874b707a060db864503b4671ffb WHIRLPOOL bf355ad70514ea2b5c1553fd1551176114166daa986ce23ec1969f8642d22b072481e76fd8afa01e8b2621531e8526687a72c166de962a96f7f88852bc14d1fe +DIST patch-3.2.89.xz 1721336 SHA256 33bc9f07e86f330a1ffaa19a845e12b2ede6aeee516006d3d038e30d931d6b43 SHA512 5af811fc4b0d03658cdee1e4e9124b3a96373106fea45318c96313b218fd53d2f43e06bf30d567825611742fb60ddd737a0545c70d5fe4b9b8f5f0bfb10e0e3f WHIRLPOOL 8caebcc9ccd3ceb769abfd0c7c9a64b315ee66d71d1a246523235a215c840ca57f1c098ac38b4acc5805e14a75729b62e839e1977118368d26bcee748a73a9a3 DIST patch-3.4.113.xz 1362096 SHA256 d5492eeaadcf12aaad471011066e447907999035c26368da8e4f82b1871ef03a SHA512 cd212cb2c2d6fb911571472466027c7e502277f7af2426050a5afcd4c7799920e48414190b8a8a039f88d85bbf0d9e164c7d8c45982bf51f7567da9304137688 WHIRLPOOL bc88441d583b9ed2f315b6ed809c168cb00af5a3c1f91fd1e4bd651a5f21cc69fd9343460976b5707916ec992b3e7a2f519953ce1bbc55fbb3290237ec4b44a3 DIST patch-4.1.40.xz 1022520 SHA256 05f034e695720101c52a088791c2bfc20e5487c7a886ead6575d1d305c138511 SHA512 936079277ca7fc1478a6d0540026205ad856fba6f13aeb602a36bbac8d340e204f63b25541bdd1682828e90a70e80868f81d1fa8689f11f0330f70fba03e2b96 WHIRLPOOL 34e694893d549e1ae6db21342d92f24139695d45a81e385bc21fbb6c86e354f8969d8d8468fc955152e9bcedf9b6512091dc85020f139d2df116c0c92d430b40 DIST patch-4.10.17.xz 347932 SHA256 5d6b91751fb0ec2b0fd8c30ceb792f0f90ea665fe5967345aeaa64c8bfeb19ba SHA512 98700d32b4787eae26bdece45563c171b6b8af43a1a15cf5674530fa5cd1dd47fced054b740b568a4a7a1fdbe1b10cdb8126ef43dc92551e06dc4d3245b2fb56 WHIRLPOOL 1c7e2a3ac4b96672a1983ba6b5c4ab200fad173ac9e111ffe6151bcaec2e0f3cf5fc84b59606d247b4774f918014d6de8c41d21624c99af952a8c7f913f0c748 diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.16.43.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.16.44.ebuild index 20e2c109b44b..20e2c109b44b 100644 --- a/sys-kernel/vanilla-sources/vanilla-sources-3.16.43.ebuild +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.16.44.ebuild diff --git a/sys-kernel/vanilla-sources/vanilla-sources-3.2.88.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-3.2.89.ebuild index 20e2c109b44b..20e2c109b44b 100644 --- a/sys-kernel/vanilla-sources/vanilla-sources-3.2.88.ebuild +++ b/sys-kernel/vanilla-sources/vanilla-sources-3.2.89.ebuild diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest index e0d52ae77f22..5a04a612708d 100644 --- a/www-apps/otrs/Manifest +++ b/www-apps/otrs/Manifest @@ -1,3 +1 @@ -DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2 -DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11 -DIST otrs-5.0.19.tar.bz2 20458807 SHA256 15f0493119f0dec570357d4916929535ae320623475fb4e37ff8cf9a015bce44 SHA512 24ea42171d742f78b7a10619e7d153d702270460a9bdc5d44c6e57e3e4500454c297e87d0696740f3e59571e7985ed6d606cf16d12898a76200bc651f107e84f WHIRLPOOL 3752fbc70d01f80048971491517284dd8799457650eee05f4b5185da195e2c890845303a397c46d8214e2c357552c0a173821ee5fdf6848fec839237a30b64a9 +DIST otrs-5.0.20.tar.bz2 20638821 SHA256 1dfebd86dc55c7e125593e0bb5307a74217f15e23469fead66e2a4f6e00e27e5 SHA512 29b5c52478af6c95fc529db9d031c79e131a1ffaf7cc323ecfa5527145049e6b6762c04138bab5e6a49863b423829c474b6dbdc77777a84e8ea7f5081c2fdd8c WHIRLPOOL 81536727b7b918b2ddb9c206bb5643effbad584a70b9acdebb18e2b4b911837c246215bab23600f0724b789b3e5718ee22dbbd3daf24874da6ef2ce79fd91a2e diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild deleted file mode 100644 index c58f1acd4e27..000000000000 --- a/www-apps/otrs/otrs-5.0.16.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit user systemd - -DESCRIPTION="OTRS is an Open source Ticket Request System" -HOMEPAGE="https://otrs.org/" -SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" - -LICENSE="AGPL-3" -KEYWORDS="~amd64 ~x86" -IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap" -SLOT="0" - -REQUIRED_USE="|| ( mysql postgres )" - -DEPEND="media-libs/libpng:0" - -RDEPEND="dev-perl/Apache-Reload - dev-perl/Archive-Zip - dev-perl/DBI - dev-perl/IO-Socket-SSL - dev-perl/JSON-XS - dev-perl/LWP-UserAgent-Determined - dev-perl/Mail-POP3Client - dev-perl/Mail-IMAPClient - >dev-perl/Net-DNS-0.60 - dev-perl/Template-Toolkit - dev-perl/Text-CSV_XS - dev-perl/TimeDate - dev-perl/XML-Parser - dev-perl/YAML-LibYAML - apache2? ( - mod_perl? ( - www-servers/apache:2 - =www-apache/libapreq2-2* www-apache/mod_perl - ) - !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) ) - ) - fastcgi? ( - dev-perl/FCGI - virtual/httpd-fastcgi - ) - !fastcgi? ( !apache2? ( virtual/httpd-cgi ) ) - gd? ( - dev-perl/GD - dev-perl/GDTextUtil - dev-perl/GDGraph - ) - ldap? ( dev-perl/perl-ldap ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - pdf? ( - >=dev-perl/PDF-API2-0.73 - virtual/perl-Compress-Raw-Zlib - ) - soap? ( - dev-perl/SOAP-Lite - !=dev-perl/SOAP-Lite-0.711 - !=dev-perl/SOAP-Lite-0.712 - ) - " - -OTRS_HOME="${EROOT%/}/var/lib/otrs" - -pkg_setup() { - # The enewuser otrs will fail if apache isn't there, but it's an optional dep - # so we create the apache user here just in case - enewgroup apache 81 - enewuser apache 81 -1 /var/www apache - enewuser otrs -1 -1 ${OTRS_HOME} apache -} - -src_prepare() { - rm -r "${S}/scripts"/auto_* || die - - pushd Kernel >/dev/null || die - for i in *.dist; do - cp ${i} $(basename ${i} .dist) || die - done - popd >/dev/null || die - - # Fix broken png file (and see pngfix help for exit codes) - pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" - if [[ $? -gt 15 ]]; then - die "pngfix failed" - fi - mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die - - sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ - || die "sed failed" - - sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \ - || die "sed failed" - - grep -lR "/opt" "${S}"/scripts | \ - xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \ - || die "sed failed" - - echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \ - ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die - - eapply_user -} - -# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred -pkg_config() { - einfo "Installing cronjobs" - crontab -u otrs /usr/share/doc/${PF}/crontab || die -} - -src_install() { - dodoc CHANGES.md README* - - insinto "${OTRS_HOME}" - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \ - Custom Kernel bin scripts var - - cat "${S}"/var/cron/*.dist > crontab || die - insinto /usr/share/doc/${PF}/ - doins crontab - - local a - for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable - do - keepdir "${OTRS_HOME}/var/${a}" - done - doenvd "${T}/50${PN}" - - systemd_dounit "${FILESDIR}/otrs.service" -} - -pkg_postinst() { - einfo "Setting correct permissions ..." - /usr/bin/env perl "${OTRS_HOME%}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \ - --otrs-user=otrs \ - --web-group=apache \ - || die "Could not set permissions" - - einfo "Installation done!" - elog "1) Rebuild your config now by running the following commands:" - elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild" - elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete" - elog "" - elog "2) Enable cronjobs with the following command:" - elog "crontab -u otrs crontab" - elog "" - elog "3) systemd users: enable and start OTRS daemon:" - elog "systemctl enable otrs" - elog "systemctl start otrs" -} diff --git a/www-apps/otrs/otrs-5.0.19.ebuild b/www-apps/otrs/otrs-5.0.19.ebuild deleted file mode 100644 index 16e682a03da4..000000000000 --- a/www-apps/otrs/otrs-5.0.19.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit user systemd - -DESCRIPTION="OTRS is an Open source Ticket Request System" -HOMEPAGE="https://www.otrs.com/" -SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" - -LICENSE="AGPL-3+" -KEYWORDS="~amd64 ~x86" -IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap" -SLOT="0" - -REQUIRED_USE="|| ( mysql postgres )" - -DEPEND="media-libs/libpng:0" - -RDEPEND="dev-perl/Apache-Reload - dev-perl/Archive-Zip - dev-perl/DBI - dev-perl/IO-Socket-SSL - dev-perl/JSON-XS - dev-perl/LWP-UserAgent-Determined - dev-perl/Mail-POP3Client - dev-perl/Mail-IMAPClient - >dev-perl/Net-DNS-0.60 - dev-perl/Template-Toolkit - dev-perl/Text-CSV_XS - dev-perl/TimeDate - dev-perl/XML-Parser - dev-perl/YAML-LibYAML - apache2? ( - mod_perl? ( - www-servers/apache:2 - =www-apache/libapreq2-2* www-apache/mod_perl - ) - !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) ) - ) - fastcgi? ( - dev-perl/FCGI - virtual/httpd-fastcgi - ) - !fastcgi? ( !apache2? ( virtual/httpd-cgi ) ) - gd? ( - dev-perl/GD - dev-perl/GDTextUtil - dev-perl/GDGraph - ) - ldap? ( dev-perl/perl-ldap ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - pdf? ( - >=dev-perl/PDF-API2-0.73 - virtual/perl-Compress-Raw-Zlib - ) - soap? ( - dev-perl/SOAP-Lite - !=dev-perl/SOAP-Lite-0.711 - !=dev-perl/SOAP-Lite-0.712 - ) - " - -OTRS_HOME="/var/lib/otrs" - -pkg_setup() { - # The enewuser otrs will fail if apache isn't there, but it's an optional dep - # so we create the apache user here just in case - enewgroup apache 81 - enewuser apache 81 -1 /var/www apache - enewuser otrs -1 -1 "${OTRS_HOME}" apache -} - -src_prepare() { - rm -r "${S}/scripts"/auto_* || die - - pushd Kernel >/dev/null || die - for i in *.dist; do - cp "${i}" $(basename "${i}" .dist) || die - done - popd >/dev/null || die - - # Fix broken png file (and see pngfix help for exit codes) - pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" - if [[ $? -gt 15 ]]; then - die "pngfix failed" - fi - mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die - - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ - || die "sed failed" - - sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \ - || die "sed failed" - - grep -lR "/opt" "${S}"/scripts | \ - xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \ - || die "sed failed" - - echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \ - ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die - - eapply_user -} - -# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred -pkg_config() { - einfo "Installing cronjobs" - crontab -u otrs "${EROOT%/}"/usr/share/doc/${PF}/crontab || die -} - -src_install() { - dodoc CHANGES.md README* - - insinto "${OTRS_HOME}" - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \ - Custom Kernel bin scripts var - - cat "${S}"/var/cron/*.dist > "${T}"/crontab || die - insinto /usr/share/doc/${PF}/ - doins "${T}"/crontab - - local a - for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable - do - keepdir "${OTRS_HOME}/var/${a}" - done - doenvd "${T}/50${PN}" - - systemd_dounit "${FILESDIR}/otrs.service" -} - -pkg_postinst() { - einfo "Setting correct permissions ..." - /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \ - --otrs-user=otrs \ - --web-group=apache \ - || die "Could not set permissions" - - einfo "Installation done!" - elog "1) Rebuild your config now by running the following commands:" - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild" - elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete" - elog "" - elog "2) Enable cronjobs with the following command:" - elog "crontab -u otrs crontab" - elog "" - elog "3) systemd users: enable and start OTRS daemon:" - elog "systemctl enable otrs" - elog "systemctl start otrs" -} diff --git a/www-apps/otrs/otrs-5.0.18.ebuild b/www-apps/otrs/otrs-5.0.20.ebuild index 16e682a03da4..16e682a03da4 100644 --- a/www-apps/otrs/otrs-5.0.18.ebuild +++ b/www-apps/otrs/otrs-5.0.20.ebuild diff --git a/www-client/chromium/chromium-59.0.3071.86.ebuild b/www-client/chromium/chromium-59.0.3071.86.ebuild index 6228360e18ec..05648cf9d767 100644 --- a/www-client/chromium/chromium-59.0.3071.86.ebuild +++ b/www-client/chromium/chromium-59.0.3071.86.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" IUSE="component-build cups gconf gnome-keyring +gtk3 +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-libvpx +tcmalloc widevine" RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" diff --git a/www-client/chromium/chromium-60.0.3112.10.ebuild b/www-client/chromium/chromium-60.0.3112.10.ebuild index 20b237d4b708..b6eb7690264b 100644 --- a/www-client/chromium/chromium-60.0.3112.10.ebuild +++ b/www-client/chromium/chromium-60.0.3112.10.ebuild @@ -45,7 +45,7 @@ COMMON_DEPEND=" media-libs/libjpeg-turbo:= media-libs/libpng:= system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) - media-libs/openh264:= + >=media-libs/openh264-1.6.0:= media-libs/opus:= pulseaudio? ( media-sound/pulseaudio:= ) system-ffmpeg? ( >=media-video/ffmpeg-3:= ) diff --git a/x11-libs/gtk+/gtk+-3.22.15.ebuild b/x11-libs/gtk+/gtk+-3.22.15.ebuild index b7fe72f09d67..f090a22ec2df 100644 --- a/x11-libs/gtk+/gtk+-3.22.15.ebuild +++ b/x11-libs/gtk+/gtk+-3.22.15.ebuild @@ -17,7 +17,7 @@ REQUIRED_USE=" xinerama? ( X ) " -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Upstream wants us to do their job: # https://bugzilla.gnome.org/show_bug.cgi?id=768662#c1 diff --git a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild index bd02ae76e2ec..98d37fe3622e 100644 --- a/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild +++ b/x11-plugins/purple-plugin_pack/purple-plugin_pack-2.7.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - +EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils python-any-r1 + +inherit python-any-r1 MY_PN=${PN/_/-} MY_P=${MY_PN}-${PV} @@ -17,16 +17,20 @@ SLOT="0" KEYWORDS="amd64 hppa ppc x86" IUSE="debug gtk ncurses spell talkfilters" -RDEPEND="dev-libs/json-glib +RDEPEND=" + dev-libs/json-glib net-im/pidgin[gtk?,ncurses?] talkfilters? ( app-text/talkfilters ) - spell? ( app-text/gtkspell:2 )" + spell? ( app-text/gtkspell:2 ) +" DEPEND="${RDEPEND} - ${PYTHON_DEPS}" + ${PYTHON_DEPS} +" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" src_prepare() { + default sed -e '/CFLAGS=/{s| -g3||}' -i configure || die } @@ -45,7 +49,7 @@ src_configure() { eval DISABLED_PLUGINS="\$${PN//[^a-z]/_}_DISABLED_PLUGINS" # disable known broken plugins - DISABLED_PLUGINS+=" schedule findip" + DISABLED_PLUGINS+=" schedule findip xmmsremote" use gtk || DISABLED_PLUGINS+=" $(list_plugins_dep pidgin)" use ncurses || DISABLED_PLUGINS+=" $(list_plugins_dep finch)" use spell || DISABLED_PLUGINS+=" $(list_plugins_dep gtkspell)" @@ -62,11 +66,6 @@ src_configure() { $(use_enable debug) } -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog NEWS README VERSION -} - pkg_preinst() { elog "Note: if you want to disable some plugins in pack, define" elog "${PN//[^a-z]/_}_DISABLED_PLUGINS with a list of plugins to" |