diff options
author | 2016-11-06 15:50:05 +0000 | |
---|---|---|
committer | 2016-11-06 15:50:05 +0000 | |
commit | 21db5d768a095d883403cd6b01b2070853f62592 (patch) | |
tree | ce48f99e018efa46715dcbd223e4c8800c00b628 | |
parent | 2016-11-06 15:22:44 UTC (diff) | |
parent | dev-libs/icu-layoutex: Initial commit. (diff) | |
download | gentoo-21db5d768a095d883403cd6b01b2070853f62592.tar.gz gentoo-21db5d768a095d883403cd6b01b2070853f62592.tar.bz2 gentoo-21db5d768a095d883403cd6b01b2070853f62592.zip |
Merge updates from master
18 files changed, 486 insertions, 112 deletions
diff --git a/app-portage/eix/eix-0.32.1-r1.ebuild b/app-portage/eix/eix-0.32.1-r1.ebuild new file mode 100644 index 000000000000..4665d7be2714 --- /dev/null +++ b/app-portage/eix/eix-0.32.1-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PLOCALES="de ru" +inherit bash-completion-r1 l10n systemd + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug doc nls sqlite" + +BOTHDEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${BOTHDEPEND} + app-shells/push + app-shells/quoter" +DEPEND="${BOTHDEPEND} + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache=${EROOT%/}/var/cache/${PN} + if [[ -f ${old_cache} ]]; then + rm "${old_cache}" || die + fi +} + +src_prepare() { + default + sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die +} + +src_configure() { + local myconf=( + $(use_enable debug paranoicasserts) + $(use_enable nls) + $(use_with doc extra-doc) + $(use_with sqlite) + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security + ) + + econf "${myconf[@]}" +} + +src_install() { + default + dobashcomp bash/eix + systemd_dotmpfilesd tmpfiles.d/eix.conf + + keepdir /var/cache/eix +} + +pkg_postinst() { + if ! use prefix; then + # note: if this is done in src_install(), portage:portage + # ownership may be reset to root + fowners portage:portage "${EROOT%/}"/var/cache/eix + fi + + local obs=${EROOT%/}/var/cache/eix.previous + if [[ -f ${obs} ]]; then + ewarn "Found obsolete ${obs}, please remove it" + fi +} + +pkg_postrm() { + if [[ ! -n ${REPLACED_BY_VERSION} ]]; then + rm -rf "${EROOT%/}/var/cache/${PN}" || die + fi +} diff --git a/app-portage/eix/eix-0.32.1.ebuild b/app-portage/eix/eix-0.32.1.ebuild deleted file mode 100644 index 3a9d4bf52801..000000000000 --- a/app-portage/eix/eix-0.32.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PLOCALES="de ru" -inherit bash-completion-r1 l10n systemd - -DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays and more" -HOMEPAGE="https://github.com/vaeth/eix/" -SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug +dep doc nls optimization +required-use security strong-optimization strong-security sqlite swap-remote tools" - -BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 ) - nls? ( virtual/libintl )" -RDEPEND="${BOTHDEPEND} - app-shells/push - app-shells/quoter" -DEPEND="${BOTHDEPEND} - app-arch/xz-utils - nls? ( sys-devel/gettext )" - -pkg_setup() { - case " ${REPLACING_VERSIONS}" in - *\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*) - local eixcache="${EROOT}/var/cache/${PN}" - test -f "${eixcache}" && rm -f -- "${eixcache}";; - esac -} - -src_prepare() { - sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die - eapply_user -} - -src_configure() { - econf $(use_with sqlite) $(use_with doc extra-doc) \ - $(use_enable nls) $(use_enable tools separate-tools) \ - $(use_enable security) $(use_enable optimization) \ - $(use_enable strong-security) \ - $(use_enable strong-optimization) $(use_enable debug debugging) \ - $(use_enable swap-remote) \ - $(use_with prefix always-accept-keywords) \ - $(use_with dep dep-default) \ - $(use_with required-use required-use-default) \ - --with-zsh-completion \ - --with-portage-rootpath="${ROOTPATH}" \ - --with-eprefix-default="${EPREFIX}" -} - -src_install() { - default - dobashcomp bash/eix - systemd_dotmpfilesd tmpfiles.d/eix.conf -} - -pkg_postinst() { - test -d "${EROOT}var/cache/${PN}" || { - mkdir "${EROOT}var/cache/${PN}" - use prefix || chown portage:portage "${EROOT}var/cache/${PN}" - } - local obs="${EROOT}var/cache/eix.previous" - ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it" -} - -pkg_postrm() { - [ -n "${REPLACED_BY_VERSION}" ] || rm -rf -- "${EROOT}var/cache/${PN}" -} diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest new file mode 100644 index 000000000000..18f5e73ccb97 --- /dev/null +++ b/dev-libs/icu-layoutex/Manifest @@ -0,0 +1 @@ +DIST icu4c-58_1-src.tgz 23366443 SHA256 0eb46ba3746a9c2092c8ad347a29b1a1b4941144772d13a88667a7b11ea30309 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155 WHIRLPOOL faf2624a83f0d6f874166b328522dc9c89088db2690433ab05e96371722b635b81fd5210c7e87fe8e5df6681e881cf10204832925b448552affe8c2f6c851e37 diff --git a/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch b/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch new file mode 100644 index 000000000000..ef60ce4569b8 --- /dev/null +++ b/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch @@ -0,0 +1,224 @@ +diff -ruN a/config/Makefile.inc.in b/config/Makefile.inc.in +--- a/config/Makefile.inc.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/Makefile.inc.in 2016-11-05 19:43:07.688466668 +0100 +@@ -124,12 +124,6 @@ + # with usually. Many applications will want to add $(ICULIBS_I18N) as well. + ICULIBS = $(ICULIBS_BASE) $(ICULIBS_I18N) $(ICULIBS_COMMON) $(ICULIBS_DATA) + +-# Proper echo newline handling is needed in icu-config +-ECHO_N=@ICU_ECHO_N@ +-ECHO_C=@ICU_ECHO_C@ +-# Not currently being used but good to have for proper tab handling +-ECHO_T=@ICU_ECHO_T@ +- + ################################################################## + ################################################################## + # +diff -ruN a/config/icu-config-bottom b/config/icu-config-bottom +--- a/config/icu-config-bottom 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/icu-config-bottom 2016-11-05 19:49:00.854481361 +0100 +@@ -218,65 +218,65 @@ + ;; + + --cflags) +- echo $ECHO_N "${CFLAGS} ${ECHO_C}" ++ printf "%s" "${CFLAGS} " + ;; + + --cc) +- echo $ECHO_N "${CC} ${ECHO_C}" ++ printf "%s" "${CC} " + ;; + + --cxx) +- echo $ECHO_N "${CXX} ${ECHO_C}" ++ printf "%s" "${CXX} " + ;; + + --cxxflags) +- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}" ++ printf "%s" "${CXXFLAGS} " + ;; + + --cppflags) + # Don't echo the -I. - it's unneeded. +- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //' ++ printf "%s" "${CPPFLAGS} " | sed -e 's/-I. //' + ;; + + --cppflags-searchpath) +- echo $ECHO_N "-I${prefix}/include ${ECHO_C}" ++ printf "%s" "-I${prefix}/include " + ;; + + --cppflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCPPFLAGS} " + ;; + + --cxxflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCXXFLAGS} " + ;; + + --cflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCFLAGS} " + ;; + + --ldflags-system) +- echo $ECHO_N "${LIBS} ${ECHO_C}" ++ printf "%s" "${LIBS} " + ;; + + --ldflags) +- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}" ++ printf "%s" "${LDFLAGS} ${ICULIBS} " + # $RPATH_LDFLAGS + ;; + + --ldflags-libsonly) +- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}" ++ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} " + ;; + + --ldflags-icuio) +- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_ICUIO} " + ;; + + --ldflags-obsolete) +- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}" ++ printf "%s" "${ICULIBS_OBSOLETE} " + ;; + + --ldflags-toolutil) +- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_TOOLUTIL} " + ;; + + --ldflags-layout) +@@ -285,7 +285,7 @@ + ;; + + --ldflags-searchpath) +- echo $ECHO_N "-L${libdir} ${ECHO_C}" ++ printf "%s" "-L${libdir} " + ;; + + --detect-prefix) +@@ -321,47 +321,47 @@ + ;; + + --shared-datadir) +- echo $ECHO_N "${datadir} ${ECHO_C}" ++ printf "%s" "${datadir} " + ;; + + --incfile) +- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/Makefile.inc " + ;; + + --incpkgdatafile) +- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/pkgdata.inc " + ;; + + --icudata) +- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}" ++ printf "%s" "${ICUDATA_NAME} " + ;; + + --icudata-mode) +- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}" ++ printf "%s" "${PKGDATA_MODE} " + ;; + + --icudata-install-dir) +- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUPKGDATA_DIR} " + ;; + + --icudatadir) +- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUDATA_DIR} " + ;; + + --shlib-c) +- echo $ECHO_N "${SHLIB_c} ${ECHO_C}" ++ printf "%s" "${SHLIB_c} " + ;; + + --shlib-cc) +- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}" ++ printf "%s" "${SHLIB_cc} " + ;; + + --version) +- echo $ECHO_N $VERSION ++ printf "%s" "$VERSION" + ;; + + --unicode-version) +- echo $ECHO_N $UNICODE_VERSION ++ printf "%s" "$UNICODE_VERSION" + ;; + + --host) +diff -ruN a/configure.ac b/configure.ac +--- a/configure.ac 2016-10-04 21:30:20.000000000 +0200 ++++ b/configure.ac 2016-11-05 19:43:07.688466668 +0100 +@@ -22,24 +22,6 @@ + PACKAGE="icu" + AC_SUBST(PACKAGE) + +-# Use custom echo test for newline option +-# Current autoconf (2.65) gives incorrect echo newline option +-# for icu-config +-# This may be removed later - mow (June 17, 2010) +-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T= +-case `/bin/sh -c "echo -n x"` in +--n*) +- case `/bin/sh -c "echo 'x\c'"` in +- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character. +- *) ICU_ECHO_C='\c';; +- esac;; +-*) +- ICU_ECHO_N='-n';; +-esac +-AC_SUBST(ICU_ECHO_N) +-AC_SUBST(ICU_ECHO_C) +-AC_SUBST(ICU_ECHO_T) +- + AC_MSG_CHECKING(for ICU version numbers) + + # Get the ICU version from uversion.h or other headers +diff -ruN a/icudefs.mk.in b/icudefs.mk.in +--- a/icudefs.mk.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/icudefs.mk.in 2016-11-05 19:43:07.688466668 +0100 +@@ -157,11 +157,6 @@ + ENABLE_STATIC = @ENABLE_STATIC@ + ENABLE_SHARED = @ENABLE_SHARED@ + +-# Echo w/o newline +- +-#ECHO_N = @ICU_ECHO_N@ +-#ECHO_C = @ICU_ECHO_C@ +- + # Commands to compile + COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c + COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c +diff -ruN a/test/hdrtst/Makefile.in b/test/hdrtst/Makefile.in +--- a/test/hdrtst/Makefile.in 2016-09-28 06:17:24.000000000 +0200 ++++ b/test/hdrtst/Makefile.in 2016-11-05 19:43:07.688466668 +0100 +@@ -35,9 +35,6 @@ + include $(shell icu-config --incfile) + DIRS=$(prefix)/include/unicode + LDIRS=$(prefix)/include/layout +-ECHO_T=@ECHO_T@ +-ECHO_C=@ECHO_C@ +-ECHO_N=@ECHO_N@ + + all: + @echo Please read this Makefile for more information. diff --git a/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild b/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild new file mode 100644 index 000000000000..663248ef1a27 --- /dev/null +++ b/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug static-libs" + +DEPEND=" + virtual/pkgconfig + ~dev-libs/icu-${PV} + dev-libs/icu-le-hb +" + +S="${WORKDIR}/${PN/-layoutex}/source" + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" +) + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --enable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + pushd layoutex &>/dev/null || die + emake -j1 VERBOSE="1" check + popd &>/dev/null || die +} + +multilib_src_install() { + pushd layoutex &>/dev/null || die + default + popd &>/dev/null || die +} diff --git a/dev-libs/icu-layoutex/metadata.xml b/dev-libs/icu-layoutex/metadata.xml new file mode 100644 index 000000000000..c7be278b6458 --- /dev/null +++ b/dev-libs/icu-layoutex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild b/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild index ea8ab465cde4..3c0f12661bfa 100644 --- a/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild +++ b/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild @@ -22,7 +22,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} - dev-libs/icu + >=dev-libs/icu-58.1 " src_prepare() { diff --git a/dev-python/python-debian/python-debian-0.1.28.ebuild b/dev-python/python-debian/python-debian-0.1.28.ebuild index e4c27a510823..05e93d0c8551 100644 --- a/dev-python/python-debian/python-debian-0.1.28.ebuild +++ b/dev-python/python-debian/python-debian-0.1.28.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz" LICENSE="GPL-2 GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" RDEPEND=" diff --git a/dev-ruby/blankslate/blankslate-3.1.3.ebuild b/dev-ruby/blankslate/blankslate-3.1.3.ebuild index 8d93e6eb0156..3cfddaaacf79 100644 --- a/dev-ruby/blankslate/blankslate-3.1.3.ebuild +++ b/dev-ruby/blankslate/blankslate-3.1.3.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="https://rubygems.org/gems/blankslate" IUSE="" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" all_ruby_prepare() { # Avoid test failing with rspec 2.x. diff --git a/dev-ruby/instantiator/instantiator-0.0.6.ebuild b/dev-ruby/instantiator/instantiator-0.0.6.ebuild index 5d940adba0f0..275b0eb7bc0e 100644 --- a/dev-ruby/instantiator/instantiator-0.0.6.ebuild +++ b/dev-ruby/instantiator/instantiator-0.0.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/floehopper/introspection" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" ruby_add_rdepend "dev-ruby/blankslate:*" diff --git a/dev-ruby/introspection/introspection-0.0.3.ebuild b/dev-ruby/introspection/introspection-0.0.3.ebuild index 0cb7deb66a8a..f7f567688bb4 100644 --- a/dev-ruby/introspection/introspection-0.0.3.ebuild +++ b/dev-ruby/introspection/introspection-0.0.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE="http://jamesmead.org/" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" ruby_add_rdepend ">=dev-ruby/metaclass-0.0.1 >=dev-ruby/instantiator-0.0.3" diff --git a/dev-ruby/mocha/mocha-0.14.0.ebuild b/dev-ruby/mocha/mocha-0.14.0.ebuild index 72bca97c8bbe..332ff35919cb 100644 --- a/dev-ruby/mocha/mocha-0.14.0.ebuild +++ b/dev-ruby/mocha/mocha-0.14.0.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="http://gofreerange.com/mocha/docs/" LICENSE="MIT" SLOT="0.14" -KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" ruby_add_bdepend " diff --git a/dev-ruby/mocha/mocha-1.1.0.ebuild b/dev-ruby/mocha/mocha-1.1.0.ebuild index 4f910faa36ef..7a3203c7212a 100644 --- a/dev-ruby/mocha/mocha-1.1.0.ebuild +++ b/dev-ruby/mocha/mocha-1.1.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="http://gofreerange.com/mocha/docs/" LICENSE="MIT" SLOT="1.0" -KEYWORDS="alpha ~amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" ruby_add_bdepend " diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest index a6bd3e0a333f..a6fce541b101 100644 --- a/games-simulation/openttd/Manifest +++ b/games-simulation/openttd/Manifest @@ -1,2 +1,2 @@ -DIST openttd-1.5.3-source.tar.gz 10042384 SHA256 a5525de811ff83e89774d9a7344c7f63ec282b956c3f015af259fd79f54d18e5 SHA512 8185ea4b8e5ac9456c7067a5d662b4a2e1724e14fc0455705ec3b72943421cc5cb10cb67a4f483c47ff2fa6621a219cababd08e21086209a53241a74607b5466 WHIRLPOOL 839067c2c6f8f87ea74df376f3d3d5e2a126c5198f69efce1205603da67d97c1a1b0d5dc3b349aa92f916179ccc48581418b5aa1e9e7e250f636fae78bcbf7ac DIST openttd-1.6.0-source.tar.gz 10064454 SHA256 32f63477aba1ccf238dfe0538a6660163c2b725e077978e570e38d023d269cad SHA512 d235e6e094b2e3fda0cf58a2dce1e5d779654bee638def60f00da4e7c6443b00a6f3b204d5a63cf56e141074c8aa3700ce7e9f1b1eccbb5cd36260f1892ad501 WHIRLPOOL 497272ccc3836710a68cabfbf5b925a30c3d23ee332e5ba5fa24a2b79b199d2b7ce6bd22507ea977986382ae32193247b9eedee638419d1e6f41165f5fa8abd9 +DIST openttd-1.6.1-source.tar.gz 10157130 SHA256 c7bd713377f08d5b63d703e3b8b8eff3bb4ec7042ad13511575fff4640cbc78f SHA512 57ea47689c8eb1cea5b8fd7ae884164a87fc8d442ef32e8234af8306589e587a6397f1a89ee64c797ff0b7310386f0b602365ab1fb61f7765bfb03c0dbd4fdfd WHIRLPOOL 05b3a7a5ebdeb6733a36b5133a17bd143b89d1f84a034061dbb0708c1eb836d13aaeb176d39846283214c15e613c048d5956970c6a09534f46d2bc0727137867 diff --git a/games-simulation/openttd/openttd-1.5.3.ebuild b/games-simulation/openttd/openttd-1.6.1.ebuild index cb4fe056c13c..d3cebc201b41 100644 --- a/games-simulation/openttd/openttd-1.5.3.ebuild +++ b/games-simulation/openttd/openttd-1.6.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit eutils gnome2-utils games +EAPI=6 +inherit eutils gnome2-utils DESCRIPTION="OpenTTD is a clone of Transport Tycoon Deluxe" HOMEPAGE="http://www.openttd.org/" @@ -11,7 +11,7 @@ SRC_URI="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="aplaymidi debug dedicated iconv icu lzo +openmedia +png cpu_flags_x86_sse +timidity +truetype zlib" RESTRICT="test" # needs a graphics set in order to test @@ -41,39 +41,38 @@ PDEPEND=" ) openmedia? ( >=games-misc/opengfx-0.4.7 )" -src_prepare() { - epatch "${FILESDIR}"/${P}-cflags.patch - sed -i \ - -e '/Keywords/s/$/;/' \ - media/openttd.desktop.in || die -} +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-cflags.patch +) src_configure() { + local myopts=() # there is an allegro interface available as well as sdl, but # the configure for it looks broken so the sdl interface is # always built instead. - local myopts=" --without-allegro" + local myopts+=( --without-allegro ) # libtimidity not needed except for some embedded platform # nevertheless, it will be automagically linked if it is # installed. Hence, we disable it. - myopts+=" --without-libtimidity" + myopts+=( --without-libtimidity ) - use debug && myopts+=" --enable-debug=3" + use debug && myopts+=( --enable-debug=3 ) if use dedicated ; then - myopts+=" --enable-dedicated" + myopts+=( --enable-dedicated ) else - use aplaymidi && myopts+=" --with-midi='/usr/bin/aplaymidi'" - myopts+=" + use aplaymidi && myopts+=( --with-midi='/usr/bin/aplaymidi' ) + myopts+=( $(use_with truetype freetype) $(use_with icu) - --with-sdl" + --with-sdl + ) fi if use png || { use !dedicated && use truetype; } || use zlib ; then - myopts+=" --with-zlib" + myopts+=( --with-zlib ) else - myopts+=" --without-zlib" + myopts+=( --without-zlib ) fi # configure is a hand-written bash-script, so econf will not work. @@ -81,8 +80,8 @@ src_configure() { CFLAGS="" ./configure \ --disable-strip \ --prefix-dir="${EPREFIX}" \ - --binary-dir="${GAMES_BINDIR}" \ - --data-dir="${GAMES_DATADIR}/${PN}" \ + --binary-dir="/usr/bin" \ + --data-dir="/usr/share/${PN}" \ --install-dir="${D}" \ --icon-dir=/usr/share/pixmaps \ --menu-dir=/usr/share/applications \ @@ -90,7 +89,7 @@ src_configure() { --man-dir=/usr/share/man/man6 \ --doc-dir=/usr/share/doc/${PF} \ --menu-group="Game;Simulation;" \ - ${myopts} \ + ${myopts[@]} \ $(use_with iconv) \ $(use_with png) \ $(use_with cpu_flags_x86_sse sse) \ @@ -109,17 +108,14 @@ src_install() { rm -rf "${ED}"/usr/share/{applications,icons,pixmaps} fi rm -f "${ED}"/usr/share/doc/${PF}/COPYING - prepgamesdirs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { gnome2_icon_cache_update - games_pkg_postinst if ! use lzo ; then elog "OpenTTD was built without 'lzo' in USE. While 'lzo' is not" diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild index 1a9622c59bb3..b507490492c1 100644 --- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild +++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild @@ -7,7 +7,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) DISTUTILS_OPTIONAL=1 -USE_RUBY="ruby20" +USE_RUBY="ruby20 ruby21" RUBY_OPTIONAL=yes inherit distutils-r1 ruby-ng @@ -91,8 +91,9 @@ each_ruby_compile() { sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon -L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb "${RUBY}" -C ruby-lorcon extconf.rb || die sed -i 's#<lorcon2/lorcon.h>#"../lorcon.h"#' ruby-lorcon/Lorcon2.h - sed -i "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" ruby-lorcon/Makefile || die - emake -C ruby-lorcon + sed -i -e "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" \ + -e "s#-Wl,--no-undefined##" ruby-lorcon/Makefile || die + emake V=1 -C ruby-lorcon } each_ruby_install() { diff --git a/net-wireless/lorcon/lorcon-9999.ebuild b/net-wireless/lorcon/lorcon-9999.ebuild index f91f561b6a11..356a06757605 100644 --- a/net-wireless/lorcon/lorcon-9999.ebuild +++ b/net-wireless/lorcon/lorcon-9999.ebuild @@ -7,7 +7,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) DISTUTILS_OPTIONAL=1 -USE_RUBY="ruby20" +USE_RUBY="ruby20 ruby21" RUBY_OPTIONAL=yes inherit distutils-r1 ruby-ng @@ -91,8 +91,9 @@ each_ruby_compile() { sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon -L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb "${RUBY}" -C ruby-lorcon extconf.rb || die sed -i 's#<lorcon2/lorcon.h>#"../lorcon.h"#' ruby-lorcon/Lorcon2.h - sed -i "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" ruby-lorcon/Makefile || die - emake -C ruby-lorcon + sed -i -e "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" \ + -e "s#-Wl,--no-undefined##" ruby-lorcon/Makefile || die + emake V=1 -C ruby-lorcon } each_ruby_install() { diff --git a/profiles/package.mask b/profiles/package.mask index 72f56620b575..e43aed879a15 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -30,6 +30,11 @@ #--- END OF EXAMPLES --- +# Lars Wendler <polynomial-c@gentoo.org> (06 Nov 2016) +# Masked until >=dev-libs/icu-58.1 got unmasked +dev-libs/icu-le-hb +dev-libs/icu-layoutex + # Andreas K. Hüttel <dilfridge@gentoo.org> (05 Nov 2016) # Masked for initial testing =dev-libs/icu-58.1 |