parent
53040638a2
commit
6e3939e636
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST lz4-1.7.5.tar.gz 208019 BLAKE2B a3d79d622eb0be2447cc6b0459bd81ae22b44ebe536ebd34b1c394bf1ff560c9b53e3f9203d5c94d046101a48d9b1ea7db74c39875d0a67b3a5f71d9633aa3b7 SHA512 b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295
|
||||
DIST lz4-1.8.0.tar.gz 222840 BLAKE2B 0b33f920f59a5ec9576051baa9ba887b320d424f8f64e1a752124371797d3f8bf2dbf13ee2e7268ef363d70697b8358e7ad627489c6843c61bdba004df80c5ec SHA512 aea46d4a900a3ede7dd7b498ee938ecd98397d3277c5b3a85b4236a44777cba85cd68a2f32c993b872afda96c5dafe0cb3dd391101fe8181e17c9f48884c1535
|
||||
DIST lz4-1.8.1.2.tar.gz 228640 BLAKE2B e5e7176dcce5319e2dcb1f6d69c47749976fd7e8c53c2379bdd0ef4c6f60bf426b2b58d606407f69d0b91e6835c9740265299107d11554e7a13963cdc855e8e5 SHA512 f4ed450bc05477cc6c2b42e6fe1fbb1fb0907f1d05b68b1d69d975b555ddb385550f204258e6d91642e14ce373815141dc218cda03b711793935d5458bc45c7f
|
||||
DIST lz4-1.8.2.tar.gz 320742 BLAKE2B cd97b6a31a1f45d410d598af0b0b696b3ccc3ffdc4fd523316576ebc68e24e545b8ce359889b0dca1968b1c296cb69951617b91b49cbe8eb98cfdb9ce400803c SHA512 5fadc79334d37739c947d6dfc24f48ce82989fc5ee4f2bb8201ccf7ee3230b9e6e7c8488beb64050a035369f4247161d258bdb539578bec224ccebfef1b8a763
|
||||
DIST lz4-r131.tar.gz 133784 BLAKE2B f072d1f97ac6f804140c3896dfa95c16eb3c2c2208cfeb35a07535bb345fa100e4169ea91b2aa05655fb61f6f2d64a7c25444778b99841d3e3d0f09b10f570d8 SHA512 60bd95d529691ffee2c43f0d8a62484c3cff74c0154094f073192606806ac8182dced61e0534ffa7e0ccf5f18e9a8cfd2738883a83814c0711a6d7f1d1b252e5
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/lz4/lz4.git"
|
||||
EGIT_BRANCH=dev
|
||||
else
|
||||
SRC_URI="https://github.com/Cyan4973/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Extremely Fast Compression algorithm"
|
||||
HOMEPAGE="https://github.com/lz4/lz4"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
# https://abi-laboratory.pro/tracker/timeline/lz4/
|
||||
SLOT="0/r131"
|
||||
IUSE="static-libs"
|
||||
|
||||
CMAKE_USE_DIR=${S}/contrib/cmake_unofficial
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
Binary file not shown.
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Measures I/O performance and/or generates I/O load"
|
||||
HOMEPAGE="http://spew.berlios.de/"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/spew/1.0.8/spew-1.0.8.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86"
|
||||
IUSE="static"
|
||||
|
||||
DEPEND="static? ( sys-libs/ncurses[-gpm] dev-libs/popt[static-libs] )
|
||||
!static? ( sys-libs/ncurses dev-libs/popt )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/fix-automake-1.13.patch
|
||||
epatch "${FILESDIR}"/remove-symlinks-makefile.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static static-link)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dosym ${PN} /usr/bin/gorge
|
||||
dosym ${PN} /usr/bin/regorge
|
||||
dosym ${PN}.1.bz2 /usr/share/man/man1/gorge.1.bz2
|
||||
dosym ${PN}.1.bz2 /usr/share/man/man1/reorge.1.bz2
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST cdrdao-1.2.3.tar.bz2 1428695 BLAKE2B d5d8e9f2f17b4e4a385e226233d219afdf48fa98bade0dad57292ba45fc4f25c3bb146289884c9ad35224c26a826b305c6f8a1e43c22fe7f1cbd812f1a69790a SHA512 36b14180acf476de062f5f31e2b9dece39e3cc7a84552e80a6714931fa35d6090ec90ddfcdbd2651d690be8ce3fc78d483aa13856c3c311bcc2f571f0040adf6
|
||||
DIST cdrdao-1.2.4.tar.bz2 1442181 BLAKE2B e1163b25c165a7acd7ec8c53069794724d93f09a486150255a58985e3fd0a222ba7ac5c124cb7a6991cf440ac701651be38754615fd3d0d295affa93595dc388 SHA512 41f20275ca44ec9003d0e3ed280cc98012353005cda6f544ebfa44f3f79f991845c0ef17af74db9456f1bacc342a7fd48c9e942d757927a4a9ff91808f7bbb09
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
|
||||
HOMEPAGE="http://cdrdao.sourceforge.net/"
|
||||
if [[ ${PV/*_rc*} ]]
|
||||
then
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.poolshark.org/src/${P/_}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="encode mad vorbis"
|
||||
|
||||
COMMON_DEPEND="
|
||||
virtual/cdrtools
|
||||
encode? ( >=media-sound/lame-3.99 )
|
||||
mad? (
|
||||
media-libs/libmad
|
||||
media-libs/libao
|
||||
)
|
||||
vorbis? (
|
||||
media-libs/libvorbis
|
||||
media-libs/libao
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-cdr/cue2toc
|
||||
!dev-util/pccts"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-ax_pthread.patch"
|
||||
"${FILESDIR}/${P}-wformat-security.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${P/_}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fix building with latest libsigc++
|
||||
append-cxxflags -std=c++11
|
||||
find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die
|
||||
|
||||
local myeconfargs=(
|
||||
--without-gcdmaster
|
||||
$(use_with vorbis ogg-support)
|
||||
$(use_with mad mp3-support)
|
||||
$(use_with encode lame)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
@ -0,0 +1,418 @@
|
||||
Use AX_PTHREAD for finding proper pthread flags. Forcibly add these flags
|
||||
to CFLAGS, CXXFLAGS and LIBS.
|
||||
Also use AM_PROG_AR to detect proper ar
|
||||
See also: https://bugs.gentoo.org/548004
|
||||
|
||||
--- cdrdao-1.2.4/configure.ac
|
||||
+++ cdrdao-1.2.4/configure.ac
|
||||
@@ -2,6 +2,7 @@
|
||||
AC_REVISION($Revision: 1.26 $)dnl
|
||||
|
||||
AC_INIT(cdrdao, 1.2.4)
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AC_CONFIG_SRCDIR(dao/main.cc)
|
||||
AM_INIT_AUTOMAKE
|
||||
@@ -32,7 +33,7 @@
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
-AC_CHECK_PROG(AR,ar,ar)
|
||||
+AM_PROG_AR
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
||||
|
||||
@@ -113,7 +114,10 @@
|
||||
fi
|
||||
|
||||
if test "$use_pthreads" = yes; then
|
||||
- AC_CHECK_FUNC(pthread_create,have_pthread_std=yes,have_pthread_std=no)
|
||||
+ AX_PTHREAD([have_pthread_std=yes],[have_pthread_std=no])
|
||||
+ LIBS="$PTHREAD_LIBS $PTHREAD_CFLAGS $LIBS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+ CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
|
||||
|
||||
if test "$have_pthread_std" = yes; then
|
||||
AC_DEFINE(USE_POSIX_THREADS,1,"")
|
||||
--- cdrdao-1.2.4/m4/ax_pthread.m4
|
||||
+++ cdrdao-1.2.4/m4/ax_pthread.m4
|
||||
@@ -0,0 +1,332 @@
|
||||
+# ===========================================================================
|
||||
+# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
|
||||
+# ===========================================================================
|
||||
+#
|
||||
+# SYNOPSIS
|
||||
+#
|
||||
+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||
+#
|
||||
+# DESCRIPTION
|
||||
+#
|
||||
+# This macro figures out how to build C programs using POSIX threads. It
|
||||
+# sets the PTHREAD_LIBS output variable to the threads library and linker
|
||||
+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
|
||||
+# flags that are needed. (The user can also force certain compiler
|
||||
+# flags/libs to be tested by setting these environment variables.)
|
||||
+#
|
||||
+# Also sets PTHREAD_CC to any special C compiler that is needed for
|
||||
+# multi-threaded programs (defaults to the value of CC otherwise). (This
|
||||
+# is necessary on AIX to use the special cc_r compiler alias.)
|
||||
+#
|
||||
+# NOTE: You are assumed to not only compile your program with these flags,
|
||||
+# but also link it with them as well. e.g. you should link with
|
||||
+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
|
||||
+#
|
||||
+# If you are only building threads programs, you may wish to use these
|
||||
+# variables in your default LIBS, CFLAGS, and CC:
|
||||
+#
|
||||
+# LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+# CC="$PTHREAD_CC"
|
||||
+#
|
||||
+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
|
||||
+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
|
||||
+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
|
||||
+#
|
||||
+# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
|
||||
+# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
|
||||
+# PTHREAD_CFLAGS.
|
||||
+#
|
||||
+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
|
||||
+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
|
||||
+# is not found. If ACTION-IF-FOUND is not specified, the default action
|
||||
+# will define HAVE_PTHREAD.
|
||||
+#
|
||||
+# Please let the authors know if this macro fails on any platform, or if
|
||||
+# you have any other suggestions or comments. This macro was based on work
|
||||
+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
|
||||
+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
|
||||
+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
|
||||
+# grateful for the helpful feedback of numerous users.
|
||||
+#
|
||||
+# Updated for Autoconf 2.68 by Daniel Richard G.
|
||||
+#
|
||||
+# LICENSE
|
||||
+#
|
||||
+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||
+# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
|
||||
+#
|
||||
+# This program is free software: you can redistribute it and/or modify it
|
||||
+# under the terms of the GNU General Public License as published by the
|
||||
+# Free Software Foundation, either version 3 of the License, or (at your
|
||||
+# option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful, but
|
||||
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
+# Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License along
|
||||
+# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
+#
|
||||
+# As a special exception, the respective Autoconf Macro's copyright owner
|
||||
+# gives unlimited permission to copy, distribute and modify the configure
|
||||
+# scripts that are the output of Autoconf when processing the Macro. You
|
||||
+# need not follow the terms of the GNU General Public License when using
|
||||
+# or distributing such scripts, even though portions of the text of the
|
||||
+# Macro appear in them. The GNU General Public License (GPL) does govern
|
||||
+# all other use of the material that constitutes the Autoconf Macro.
|
||||
+#
|
||||
+# This special exception to the GPL applies to versions of the Autoconf
|
||||
+# Macro released by the Autoconf Archive. When you make and distribute a
|
||||
+# modified version of the Autoconf Macro, you may extend this special
|
||||
+# exception to the GPL to apply to your modified version as well.
|
||||
+
|
||||
+#serial 21
|
||||
+
|
||||
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
|
||||
+AC_DEFUN([AX_PTHREAD], [
|
||||
+AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
+AC_LANG_PUSH([C])
|
||||
+ax_pthread_ok=no
|
||||
+
|
||||
+# We used to check for pthread.h first, but this fails if pthread.h
|
||||
+# requires special compiler flags (e.g. on True64 or Sequent).
|
||||
+# It gets checked for in the link test anyway.
|
||||
+
|
||||
+# First of all, check if the user has set any of the PTHREAD_LIBS,
|
||||
+# etcetera environment variables, and if threads linking works using
|
||||
+# them:
|
||||
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
|
||||
+ save_CFLAGS="$CFLAGS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+ save_LIBS="$LIBS"
|
||||
+ LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
|
||||
+ AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes])
|
||||
+ AC_MSG_RESULT([$ax_pthread_ok])
|
||||
+ if test x"$ax_pthread_ok" = xno; then
|
||||
+ PTHREAD_LIBS=""
|
||||
+ PTHREAD_CFLAGS=""
|
||||
+ fi
|
||||
+ LIBS="$save_LIBS"
|
||||
+ CFLAGS="$save_CFLAGS"
|
||||
+fi
|
||||
+
|
||||
+# We must check for the threads library under a number of different
|
||||
+# names; the ordering is very important because some systems
|
||||
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
||||
+# libraries is broken (non-POSIX).
|
||||
+
|
||||
+# Create a list of thread flags to try. Items starting with a "-" are
|
||||
+# C compiler flags, and other items are library names, except for "none"
|
||||
+# which indicates that we try without any flags at all, and "pthread-config"
|
||||
+# which is a program returning the flags for the Pth emulation library.
|
||||
+
|
||||
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
|
||||
+
|
||||
+# The ordering *is* (sometimes) important. Some notes on the
|
||||
+# individual items follow:
|
||||
+
|
||||
+# pthreads: AIX (must check this before -lpthread)
|
||||
+# none: in case threads are in libc; should be tried before -Kthread and
|
||||
+# other compiler flags to prevent continual compiler warnings
|
||||
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
||||
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
||||
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
||||
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
||||
+# -pthreads: Solaris/gcc
|
||||
+# -mthreads: Mingw32/gcc, Lynx/gcc
|
||||
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
||||
+# doesn't hurt to check since this sometimes defines pthreads too;
|
||||
+# also defines -D_REENTRANT)
|
||||
+# ... -mt is also the pthreads flag for HP/aCC
|
||||
+# pthread: Linux, etcetera
|
||||
+# --thread-safe: KAI C++
|
||||
+# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
+
|
||||
+case ${host_os} in
|
||||
+ solaris*)
|
||||
+
|
||||
+ # On Solaris (at least, for some versions), libc contains stubbed
|
||||
+ # (non-functional) versions of the pthreads routines, so link-based
|
||||
+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
|
||||
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
||||
+ # a function called by this macro, so we could check for that, but
|
||||
+ # who knows whether they'll stub that too in a future libc.) So,
|
||||
+ # we'll just look for -pthreads and -lpthread first:
|
||||
+
|
||||
+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
|
||||
+ ;;
|
||||
+
|
||||
+ darwin*)
|
||||
+ ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+# Clang doesn't consider unrecognized options an error unless we specify
|
||||
+# -Werror. We throw in some extra Clang-specific options to ensure that
|
||||
+# this doesn't happen for GCC, which also accepts -Werror.
|
||||
+
|
||||
+AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags])
|
||||
+save_CFLAGS="$CFLAGS"
|
||||
+ax_pthread_extra_flags="-Werror"
|
||||
+CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
|
||||
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])],
|
||||
+ [AC_MSG_RESULT([yes])],
|
||||
+ [ax_pthread_extra_flags=
|
||||
+ AC_MSG_RESULT([no])])
|
||||
+CFLAGS="$save_CFLAGS"
|
||||
+
|
||||
+if test x"$ax_pthread_ok" = xno; then
|
||||
+for flag in $ax_pthread_flags; do
|
||||
+
|
||||
+ case $flag in
|
||||
+ none)
|
||||
+ AC_MSG_CHECKING([whether pthreads work without any flags])
|
||||
+ ;;
|
||||
+
|
||||
+ -*)
|
||||
+ AC_MSG_CHECKING([whether pthreads work with $flag])
|
||||
+ PTHREAD_CFLAGS="$flag"
|
||||
+ ;;
|
||||
+
|
||||
+ pthread-config)
|
||||
+ AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
|
||||
+ if test x"$ax_pthread_config" = xno; then continue; fi
|
||||
+ PTHREAD_CFLAGS="`pthread-config --cflags`"
|
||||
+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
|
||||
+ ;;
|
||||
+
|
||||
+ *)
|
||||
+ AC_MSG_CHECKING([for the pthreads library -l$flag])
|
||||
+ PTHREAD_LIBS="-l$flag"
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
+ save_LIBS="$LIBS"
|
||||
+ save_CFLAGS="$CFLAGS"
|
||||
+ LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
|
||||
+
|
||||
+ # Check for various functions. We must include pthread.h,
|
||||
+ # since some functions may be macros. (On the Sequent, we
|
||||
+ # need a special flag -Kthread to make this header compile.)
|
||||
+ # We check for pthread_join because it is in -lpthread on IRIX
|
||||
+ # while pthread_create is in libc. We check for pthread_attr_init
|
||||
+ # due to DEC craziness with -lpthreads. We check for
|
||||
+ # pthread_cleanup_push because it is one of the few pthread
|
||||
+ # functions on Solaris that doesn't have a non-functional libc stub.
|
||||
+ # We try pthread_create on general principles.
|
||||
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
|
||||
+ static void routine(void *a) { a = 0; }
|
||||
+ static void *start_routine(void *a) { return a; }],
|
||||
+ [pthread_t th; pthread_attr_t attr;
|
||||
+ pthread_create(&th, 0, start_routine, 0);
|
||||
+ pthread_join(th, 0);
|
||||
+ pthread_attr_init(&attr);
|
||||
+ pthread_cleanup_push(routine, 0);
|
||||
+ pthread_cleanup_pop(0) /* ; */])],
|
||||
+ [ax_pthread_ok=yes],
|
||||
+ [])
|
||||
+
|
||||
+ LIBS="$save_LIBS"
|
||||
+ CFLAGS="$save_CFLAGS"
|
||||
+
|
||||
+ AC_MSG_RESULT([$ax_pthread_ok])
|
||||
+ if test "x$ax_pthread_ok" = xyes; then
|
||||
+ break;
|
||||
+ fi
|
||||
+
|
||||
+ PTHREAD_LIBS=""
|
||||
+ PTHREAD_CFLAGS=""
|
||||
+done
|
||||
+fi
|
||||
+
|
||||
+# Various other checks:
|
||||
+if test "x$ax_pthread_ok" = xyes; then
|
||||
+ save_LIBS="$LIBS"
|
||||
+ LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+ save_CFLAGS="$CFLAGS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+
|
||||
+ # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
|
||||
+ AC_MSG_CHECKING([for joinable pthread attribute])
|
||||
+ attr_name=unknown
|
||||
+ for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
|
||||
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
|
||||
+ [int attr = $attr; return attr /* ; */])],
|
||||
+ [attr_name=$attr; break],
|
||||
+ [])
|
||||
+ done
|
||||
+ AC_MSG_RESULT([$attr_name])
|
||||
+ if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
|
||||
+ AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name],
|
||||
+ [Define to necessary symbol if this constant
|
||||
+ uses a non-standard name on your system.])
|
||||
+ fi
|
||||
+
|
||||
+ AC_MSG_CHECKING([if more special flags are required for pthreads])
|
||||
+ flag=no
|
||||
+ case ${host_os} in
|
||||
+ aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
|
||||
+ osf* | hpux*) flag="-D_REENTRANT";;
|
||||
+ solaris*)
|
||||
+ if test "$GCC" = "yes"; then
|
||||
+ flag="-D_REENTRANT"
|
||||
+ else
|
||||
+ # TODO: What about Clang on Solaris?
|
||||
+ flag="-mt -D_REENTRANT"
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
+ AC_MSG_RESULT([$flag])
|
||||
+ if test "x$flag" != xno; then
|
||||
+ PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
||||
+ fi
|
||||
+
|
||||
+ AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
|
||||
+ [ax_cv_PTHREAD_PRIO_INHERIT], [
|
||||
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
|
||||
+ [[int i = PTHREAD_PRIO_INHERIT;]])],
|
||||
+ [ax_cv_PTHREAD_PRIO_INHERIT=yes],
|
||||
+ [ax_cv_PTHREAD_PRIO_INHERIT=no])
|
||||
+ ])
|
||||
+ AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
|
||||
+ [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])])
|
||||
+
|
||||
+ LIBS="$save_LIBS"
|
||||
+ CFLAGS="$save_CFLAGS"
|
||||
+
|
||||
+ # More AIX lossage: compile with *_r variant
|
||||
+ if test "x$GCC" != xyes; then
|
||||
+ case $host_os in
|
||||
+ aix*)
|
||||
+ AS_CASE(["x/$CC"],
|
||||
+ [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
|
||||
+ [#handle absolute path differently from PATH based program lookup
|
||||
+ AS_CASE(["x$CC"],
|
||||
+ [x/*],
|
||||
+ [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
|
||||
+ [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
|
||||
+ ;;
|
||||
+ esac
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
|
||||
+
|
||||
+AC_SUBST([PTHREAD_LIBS])
|
||||
+AC_SUBST([PTHREAD_CFLAGS])
|
||||
+AC_SUBST([PTHREAD_CC])
|
||||
+
|
||||
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
+if test x"$ax_pthread_ok" = xyes; then
|
||||
+ ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
|
||||
+ :
|
||||
+else
|
||||
+ ax_pthread_ok=no
|
||||
+ $2
|
||||
+fi
|
||||
+AC_LANG_POP
|
||||
+])dnl AX_PTHREAD
|
||||
--- cdrdao-1.2.4/m4/gconf-2.m4
|
||||
+++ cdrdao-1.2.4/m4/gconf-2.m4
|
||||
@@ -0,0 +1,44 @@
|
||||
+dnl AM_GCONF_SOURCE_2
|
||||
+dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
|
||||
+dnl (i.e. pass to gconftool-2
|
||||
+dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
|
||||
+dnl you should install foo.schemas files
|
||||
+dnl
|
||||
+
|
||||
+AC_DEFUN([AM_GCONF_SOURCE_2],
|
||||
+[
|
||||
+ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
|
||||
+ GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
+ else
|
||||
+ GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
|
||||
+ fi
|
||||
+
|
||||
+ AC_ARG_WITH([gconf-source],
|
||||
+ AC_HELP_STRING([--with-gconf-source=sourceaddress],
|
||||
+ [Config database for installing schema files.]),
|
||||
+ [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
|
||||
+
|
||||
+ AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
|
||||
+ AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
|
||||
+
|
||||
+ if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
|
||||
+ GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
|
||||
+ fi
|
||||
+
|
||||
+ AC_ARG_WITH([gconf-schema-file-dir],
|
||||
+ AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
|
||||
+ [Directory for installing schema files.]),
|
||||
+ [GCONF_SCHEMA_FILE_DIR="$withval"],)
|
||||
+
|
||||
+ AC_SUBST(GCONF_SCHEMA_FILE_DIR)
|
||||
+ AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
|
||||
+
|
||||
+ AC_ARG_ENABLE(schemas-install,
|
||||
+ AC_HELP_STRING([--disable-schemas-install],
|
||||
+ [Disable the schemas installation]),
|
||||
+ [case ${enableval} in
|
||||
+ yes|no) ;;
|
||||
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
|
||||
+ esac])
|
||||
+ AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
|
||||
+])
|
@ -0,0 +1,130 @@
|
||||
Fix -Werror=format-security errors
|
||||
Also fix incorrect printf() format specifiers
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=520988
|
||||
|
||||
* gen.c: In function 'genHdr':
|
||||
* gen.c:3869:17: error: format not a string literal and no format arguments [-Werror=format-security]
|
||||
|
||||
--- cdrdao-1.2.4/pccts/antlr/bits.c
|
||||
+++ cdrdao-1.2.4/pccts/antlr/bits.c
|
||||
@@ -574,13 +574,13 @@
|
||||
else
|
||||
fprintf(DefFile, "extern SetWordType zzerr%d[];\n", esetnum);
|
||||
if ( name!=NULL ) {
|
||||
- fprintf(ErrFile, "SetWordType %s%s[%d] = {",
|
||||
+ fprintf(ErrFile, "SetWordType %s%s[%lu] = {",
|
||||
name,
|
||||
suffix,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
}
|
||||
else {
|
||||
- fprintf(ErrFile, "SetWordType zzerr%d[%d] = {",
|
||||
+ fprintf(ErrFile, "SetWordType zzerr%d[%lu] = {",
|
||||
esetnum,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
}
|
||||
@@ -642,20 +642,20 @@
|
||||
esetnum++;
|
||||
|
||||
if ( name!=NULL ) {
|
||||
- fprintf(Parser_h, "\tstatic SetWordType %s%s[%d];\n", name, suffix,
|
||||
+ fprintf(Parser_h, "\tstatic SetWordType %s%s[%lu];\n", name, suffix,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
- fprintf(Parser_c, "SetWordType %s::%s%s[%d] = {",
|
||||
+ fprintf(Parser_c, "SetWordType %s::%s%s[%lu] = {",
|
||||
CurrentClassName,
|
||||
name,
|
||||
suffix,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
}
|
||||
else {
|
||||
- fprintf(Parser_c, "SetWordType %s::err%d[%d] = {",
|
||||
+ fprintf(Parser_c, "SetWordType %s::err%d[%lu] = {",
|
||||
CurrentClassName,
|
||||
esetnum,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
- fprintf(Parser_h, "\tstatic SetWordType err%d[%d];\n", esetnum,
|
||||
+ fprintf(Parser_h, "\tstatic SetWordType err%d[%lu];\n", esetnum,
|
||||
NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
}
|
||||
|
||||
@@ -788,7 +788,7 @@
|
||||
|
||||
/* Build constructors */
|
||||
fprintf(Parser_c, "\n%s::", CurrentClassName);
|
||||
- fprintf(Parser_c, "%s(ANTLRTokenBuffer *input) : %s(input,%d,%d,%d,%d)\n",
|
||||
+ fprintf(Parser_c, "%s(ANTLRTokenBuffer *input) : %s(input,%d,%d,%d,%lu)\n",
|
||||
CurrentClassName,
|
||||
(BaseClassName == NULL ? "ANTLRParser" : BaseClassName),
|
||||
OutputLL_k,
|
||||
@@ -913,7 +913,7 @@
|
||||
#ifdef DUM
|
||||
if ( LexGen ) fprintf(ErrFile, "#define zzEOF_TOKEN %d\n", (TokenInd!=NULL?TokenInd[EofToken]:EofToken));
|
||||
#endif
|
||||
- fprintf(ErrFile, "#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
+ fprintf(ErrFile, "#define zzSET_SIZE %lu\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
if ( DemandLookahead ) fprintf(ErrFile, "#define DEMAND_LOOK\n");
|
||||
fprintf(ErrFile, "#include \"antlr.h\"\n");
|
||||
if ( GenAST ) fprintf(ErrFile, "#include \"ast.h\"\n");
|
||||
--- cdrdao-1.2.4/pccts/antlr/gen.c
|
||||
+++ cdrdao-1.2.4/pccts/antlr/gen.c
|
||||
@@ -159,7 +159,7 @@
|
||||
#define gen6(s,a,b,c,d,e,f) {tab(); fprintf(output, s,a,b,c,d,e,f);}
|
||||
#define gen7(s,a,b,c,d,e,f,g) {tab(); fprintf(output, s,a,b,c,d,e,f,g);}
|
||||
|
||||
-#define _gen(s) {fprintf(output, s);}
|
||||
+#define _gen(s) {fprintf(output, "%s", s);}
|
||||
#define _gen1(s,a) {fprintf(output, s,a);}
|
||||
#define _gen2(s,a,b) {fprintf(output, s,a,b);}
|
||||
#define _gen3(s,a,b,c) {fprintf(output, s,a,b,c);}
|
||||
@@ -3911,7 +3911,7 @@
|
||||
}
|
||||
#endif
|
||||
/* ###WARNING: This will have to change when SetWordSize changes */
|
||||
- if ( !GenCC ) _gen1("#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
+ if ( !GenCC ) _gen1("#define zzSET_SIZE %lu\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
if (TraceGen) {
|
||||
_gen("#ifndef zzTRACE_RULES\n"); /* MR20 */
|
||||
_gen("#define zzTRACE_RULES\n"); /* MR20 */
|
||||
@@ -4125,7 +4125,7 @@
|
||||
if ( LexGen ) fprintf(f, "#define zzEOF_TOKEN %d\n", (TokenInd!=NULL?TokenInd[EofToken]:EofToken));
|
||||
#endif
|
||||
/* ###WARNING: This will have to change when SetWordSize changes */
|
||||
- fprintf(f, "#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
+ fprintf(f, "#define zzSET_SIZE %lu\n", NumWords(TokenNum-1)*sizeof(unsigned));
|
||||
if (TraceGen) {
|
||||
fprintf(f,"#ifndef zzTRACE_RULES\n"); /* MR20 */
|
||||
fprintf(f,"#define zzTRACE_RULES\n"); /* MR20 */
|
||||
--- cdrdao-1.2.4/pccts/antlr/set.c
|
||||
+++ cdrdao-1.2.4/pccts/antlr/set.c
|
||||
@@ -263,7 +263,7 @@
|
||||
static set a;
|
||||
|
||||
if ( b == nil ) return( empty );
|
||||
- set_new(a, b);
|
||||
+ set_new(a, (long unsigned int) b);
|
||||
a.setword[DIVWORD(b)] = bitmask[MODWORD(b)];
|
||||
|
||||
return(a);
|
||||
--- cdrdao-1.2.4/pccts/dlg/set.c
|
||||
+++ cdrdao-1.2.4/pccts/dlg/set.c
|
||||
@@ -263,7 +263,7 @@
|
||||
static set a;
|
||||
|
||||
if ( b == nil ) return( empty );
|
||||
- set_new(a, b);
|
||||
+ set_new(a, (long unsigned int) b);
|
||||
a.setword[DIVWORD(b)] = bitmask[MODWORD(b)];
|
||||
|
||||
return(a);
|
||||
--- cdrdao-1.2.4/pccts/h/set.h
|
||||
+++ cdrdao-1.2.4/pccts/h/set.h
|
||||
@@ -55,7 +55,7 @@
|
||||
/* make arg1 a set big enough to hold max elem # of arg2 */
|
||||
#define set_new(a,_max) \
|
||||
if (((a).setword=(unsigned *)calloc(NumWords(_max),BytesPerWord))==NULL) \
|
||||
- fprintf(stderr, "set_new: Cannot allocate set with max of %d\n", _max); \
|
||||
+ fprintf(stderr, "set_new: Cannot allocate set with max of %lu\n", _max); \
|
||||
(a).n = NumWords(_max);
|
||||
|
||||
#define set_free(a) \
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST yubikey-manager-qt-0.4.0.tar.gz 183566 BLAKE2B 2364d0d257ab5c05d0555aba4bb01ee1639a2c3a42b47173ae905945a6265b123985ad7d8fe50b0cfd38a1a0a588f3e1424aa46585ddbf50337ce2456899067e SHA512 12cef9636f06a92fdb3fce7cea5b97af3255b9cdd1b4feb4e184999eb77c17e465db927f56cd0e443a8ce8afc27b7e4be19ed07da7c41259f909ac4e98971de2
|
||||
DIST yubikey-manager-qt-0.5.1.tar 655360 BLAKE2B 6b109190750bd9675e32c836831a7e0ea286021303deffc64a351f2a127f5a5ee0190e3ca99abf0407bbb34a1a1c454f453fab464de2726f6cae539d5f865da1 SHA512 a8ceab5fd8d20eca2424d3f9a92ad12066e8fc26a7640df478965e5d9e2896fbc64885b26f599fcb2588f5b64d2f046af373f87e23ef266178ddf877e422ed36
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit eutils qmake-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
|
||||
# >yubikey-manager-qt-0.5.1 should have the tarball issue fixed: https://github.com/Yubico/yubikey-manager-qt/issues/49
|
||||
SRC_URI="https://github.com/Yubico/yubikey-manager-qt/releases/download/${P}/${P}.tar.gz -> ${P}.tar"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>=app-crypt/yubikey-manager-0.7.0[${PYTHON_USEDEP}]
|
||||
<app-crypt/yubikey-manager-0.8
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyotherside[${PYTHON_USEDEP}]
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtquickcontrols:5[widgets]
|
||||
dev-qt/qtwidgets:5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s/ykman-cli//" ${PN}.pro || die
|
||||
sed -e "/qtsingleapplication.pri/d" \
|
||||
-e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
|
||||
-i ykman-gui/ykman-gui.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
|
||||
domenu resources/ykman-gui.desktop
|
||||
doicon -s 128 resources/icons/ykman.png
|
||||
doicon -s scalable resources/icons/ykman.svg
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST sublime_text_3_build_3143_x32.tar.bz2 9847438 BLAKE2B bca62736e3dbaae5aa5318af5aca4c78c5abff1189a58b354205351f21ba1caa8a6b479e9a7e01fdb4a56dec68d50e0e43522918b461463cdada7e6dbda6441c SHA512 471716815a171f786ad5f12b743ec3c17dcde2fc165522e523d338c9184af7789095e2de41e89d0c4b0dc58bfe409f116662016e7014c528650ce074c101084b
|
||||
DIST sublime_text_3_build_3143_x64.tar.bz2 9857381 BLAKE2B bf69810574eda5bb3afaa82dcbf8b68f9bef1db19af2382e0ee4b93cb87f08caa3f7bdc754419284b3902e0e715a97d211adcd234f35d8038071818368b3fb54 SHA512 db6375cbcaf1cb6e1d583aa043abeaeecf0236e1d2e23b965b6c2dd616ec2277d73786d2a9c273329c1a94890edc7ddce1551292b5170dc5b558cd7246c5093f
|
||||
DIST sublime_text_3_build_3176_x32.tar.bz2 10352060 BLAKE2B 97d6e7bcc838ecac53ffa68cc3d355b01d06ea1903fd92b9894f27cf402d0506728be69f27d91dccbcba1bab876f94fd619bcf4877a9d935fb5517e91d2be4ac SHA512 640920a92995aac4af711cb4eb58d142d1afe2cbcbc485a111bc407ce464e81b984cd2110074072cc3805ed8656a4a60acce6f1a014f8a3f27f1b340222b0071
|
||||
DIST sublime_text_3_build_3176_x64.tar.bz2 10314226 BLAKE2B 98b0cda71b8a859614a1a6510afa073ca1aae6b9ac5d4b6db259723e8aa057a8b2bf22a0d26f0b6ccce31f39e047293ed84c4a63b8739a6d08c05af5791967bd SHA512 c37bd0d6d7fbbe2757f4244ae2803086d5fe1e25b32a1dd2de4241dc55f66f7c4588f3f9d56059c9d0ef7fe2ae69e76005f16dad60060f38fe10b92fd8eda969
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop gnome2-utils
|
||||
|
||||
# get the major version from PV
|
||||
MV=${PV:0:1}
|
||||
MY_PV=${PV#*_p}
|
||||
|
||||
DESCRIPTION="Sophisticated text editor for code, markup and prose"
|
||||
HOMEPAGE="https://www.sublimetext.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 )
|
||||
x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )"
|
||||
|
||||
LICENSE="Sublime"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
dbus? ( sys-apps/dbus )"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
S="${WORKDIR}/sublime_text_${MV}"
|
||||
|
||||
# Sublime bundles the kitchen sink, which includes python and other assorted
|
||||
# modules. Do not try to unbundle these because you are guaranteed to fail.
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}${MV}
|
||||
doins -r Packages Icon
|
||||
doins changelog.txt sublime_plugin.py sublime.py python3.3.zip
|
||||
|
||||
exeinto /opt/${PN}${MV}
|
||||
doexe crash_reporter plugin_host sublime_text
|
||||
dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
|
||||
|
||||
local size
|
||||
for size in 32 48 128 256; do
|
||||
dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
|
||||
/usr/share/icons/hicolor/${size}x${size}/apps/subl.png
|
||||
done
|
||||
|
||||
make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \
|
||||
"TextEditor;IDE;Development" "StartupNotify=true"
|
||||
|
||||
# needed to get WM_CLASS lookup right
|
||||
mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST fcitx-cloudpinyin-0.3.5.tar.xz 22424 BLAKE2B 9f44bf3a16681d994a8f202c7b9ba5bcb14a77c70e6e854626df675f647582632b6b4c110cf315fe376a6dd876607fe815d57d07361e219ddc11222ad1a95d6c SHA512 b56cde4955fab02d204cfe937b46aeb5b6adf9e4eb4fead6e7b8e0b5cd1ebce06a0de3f9d477a1cb58eb077655f17975b7e13951074d1766b283b86eeb5b276e
|
||||
DIST fcitx-cloudpinyin-0.3.6.tar.xz 22596 BLAKE2B e53f64dc999eb1ffb1d3c37b6ed75272da9a76d196df681b71876281ded778f83c73eef2f9100233f580a389e36bfc8681cd7be5e23ce4d9c27c26384062cf9a SHA512 d3a05fc48659db64a0a827c9b75cfb8b33f7cdb48bd936a2ba33f49469e29558a7da0f58cb7e6929b1265d451d23b0a37d87b7b69752599656c94049077d9914
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-cloudpinyin"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Internet look-up support for Chinese Pinyin input methods for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-cloudpinyin"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
net-misc/curl:=
|
||||
virtual/libiconv
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
@ -1,4 +1,2 @@
|
||||
DIST fcitx-qt5-1.1.1.tar.xz 56352 BLAKE2B 1fea4484f79fa9f9bcd52ac59b4e64cb9947a2cdc46e3df3c3729ef37d136c4fcf787d7a8abd946e5a0d02f909c0a94b6d19b98a93cf9dc2ec49d172a5f19550 SHA512 ea7faa953561527fd0f6224a06ab97ab84a9e36a06d44f9807e38e6d8e537ab2c7126c4cda2d4718473ace1245709ce6175ac9431b6f0527a63b2d6e92feb18c
|
||||
DIST fcitx-qt5-1.2.0.tar.xz 134224 BLAKE2B 8358ec0b1cf95534f15536dd9529d4f7da47e6c08c050cc93503db958348ce4d940eb1903be8f161fec8adeca58c03838f021e36ecf39908361cddee40d806d4 SHA512 38d49d626e4aaee80f44ddeb627b07e45430c6eb1c1c37f2a5fb0c73d5dae6da5ed276366c40c3b6e8609543af95396091e240b5a88b684f399752b3eceee915
|
||||
DIST fcitx-qt5-1.2.1.tar.xz 134304 BLAKE2B c158b20bdcb287e9cb52aa74d6a7f66f113a759538b6748b1d38dcbb2213956e88dec54ed29307427d45d84861654bf5e70c9effba70d88738bf0a1a664cc3cd SHA512 0fd726974492e173084e29d3308aa1d97141a1e4034b7192cf505391540533eff473849929e931e4a84589d233fefac70cbd9c122cf6d0d0de412150cad1b1d3
|
||||
DIST fcitx-qt5-1.2.2.tar.xz 134216 BLAKE2B 9922dafaa42937737f5ef0018f519e83ed3c3105bef5a30505b323239c999ac8c921435b2bb72b35a73ebf1a9b7787ecd4ad405d8b6311e806e3bcbcbd79ff5e SHA512 902180ff8336c688d5d548a1628dc481f1ce0ea6cc79719ab53337ebfbb745232bfc58cf6e739a60c562d30c3d996eb5e07bd8ef932eade72a79fb35e096e1c3
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-qt5"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Fcitx input method module for Qt 5"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+ LGPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
# Private headers of dev-qt/qtgui:5 used.
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libintl
|
||||
x11-libs/libxkbcommon"
|
||||
DEPEND="${RDEPEND}
|
||||
kde-frameworks/extra-cmake-modules:5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-qt5"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Fcitx input method module for Qt 5"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="BSD GPL-2+ GPL-3+ LGPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Private headers of dev-qt/qtgui:5 used.
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libintl
|
||||
x11-libs/libxkbcommon"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qtconcurrent:5
|
||||
kde-frameworks/extra-cmake-modules:5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
@ -1,2 +1 @@
|
||||
DIST fcitx-unikey-0.2.6.tar.xz 75124 BLAKE2B f3adedefca336deb73e9a8ddfc5829e6b9455d97ec9f6454c484847e57dc2af9db32f8bd6eb7285f0a4f430ba8fb048105b60e42348271220ac90129c6d8491c SHA512 18efb387387c29bb059e1260bfb3c91e97f9989aedbe590596f1ad8659e9fad20777f048f20fb24e0fb5e2318eee1c25fc20a2d57ac846368c4c9bebf4eb2b90
|
||||
DIST fcitx-unikey-0.2.7.tar.xz 75204 BLAKE2B a0d70747a560b2493a3b7f7e06ff35f7e465bb4c4c8d22cb4db02f70a6298c49780fd0045874faeba1f20ad188a01a81fefc67a4f6ac9d6946d959f731a376a4 SHA512 1bb78e4f27f0cda1e3aa5a633be45e0a26d121d5b472b1325b0c028ff65ca156d23e7ffee0367badeac1dd21ba1743ee8a2c9c27c629ae0996e84e0062b67ad2
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vietnamese Unikey input methods for Fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+ LGPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="+macro-editor"
|
||||
|
||||
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||
virtual/libintl
|
||||
macro-editor? (
|
||||
>=app-i18n/fcitx-4.2.9:4[qt4]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=()
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_QT=$(usex macro-editor)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit cmake-utils gnome2-utils xdg-utils
|
||||
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/fcitx/fcitx"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz
|
||||
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz
|
||||
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
|
||||
https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz
|
||||
https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz"
|
||||
else
|
||||
SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
|
||||
IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls opencc +pango qt4 static-libs +table test +xml"
|
||||
REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/dbus
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
x11-libs/libxkbcommon
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrender
|
||||
xml? (
|
||||
x11-libs/libxkbfile
|
||||
x11-misc/xkeyboard-config
|
||||
)
|
||||
)
|
||||
cairo? (
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXext
|
||||
pango? ( x11-libs/pango )
|
||||
!pango? ( media-libs/fontconfig )
|
||||
)
|
||||
enchant? ( app-text/enchant:0= )
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
lua? ( dev-lang/lua:= )
|
||||
nls? ( sys-devel/gettext )
|
||||
opencc? ( app-i18n/opencc:= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
xml? (
|
||||
app-text/iso-codes
|
||||
dev-libs/libxml2
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
kde-frameworks/extra-cmake-modules:5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog THANKS)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" src/module/pinyin-enhance/data/py_table-20121124.tar.gz || die
|
||||
ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/module/spell/dict/en_dict-20121020.tar.gz || die
|
||||
fi
|
||||
|
||||
# https://github.com/fcitx/fcitx/issues/250
|
||||
sed \
|
||||
-e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \
|
||||
-e "/find_package(XkbFile REQUIRED)/s/^/ /" \
|
||||
-e "/find_package(XkbFile REQUIRED)/a\\ find_package(XKeyboardConfig REQUIRED)\n endif(ENABLE_X11)" \
|
||||
-e "/^find_package(XKeyboardConfig REQUIRED)/,+1d" \
|
||||
-i CMakeLists.txt
|
||||
|
||||
cmake-utils_src_prepare
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
-DSYSCONFDIR="${EPREFIX}/etc"
|
||||
-DENABLE_CAIRO=$(usex cairo)
|
||||
-DENABLE_DEBUG=$(usex debug)
|
||||
-DENABLE_ENCHANT=$(usex enchant)
|
||||
-DENABLE_GETTEXT=$(usex nls)
|
||||
-DENABLE_GIR=$(usex introspection)
|
||||
-DENABLE_GTK2_IM_MODULE=$(usex gtk2)
|
||||
-DENABLE_GTK3_IM_MODULE=$(usex gtk3)
|
||||
-DENABLE_LIBXML2=$(usex xml)
|
||||
-DENABLE_LUA=$(usex lua)
|
||||
-DENABLE_OPENCC=$(usex opencc)
|
||||
-DENABLE_PANGO=$(usex pango)
|
||||
-DENABLE_QT=$(usex qt4)
|
||||
-DENABLE_QT_GUI=$(usex qt4)
|
||||
-DENABLE_QT_IM_MODULE=$(usex qt4)
|
||||
-DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi)
|
||||
-DENABLE_STATIC=$(usex static-libs)
|
||||
-DENABLE_TABLE=$(usex table)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DENABLE_XDGAUTOSTART=$(usex autostart)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
rm -r "${ED}usr/share/doc/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST poppler-0.62.0.tar.xz 1423372 BLAKE2B 01c8745d0c1fa5b412ec92295a8784f5c1deff8b9fa709d09a3236d630f78fecc6af23fe3302964478d6356562712726db422ef51fe59a8b42e13e08370a77ac SHA512 91f7eae7b05965ae97a34e658bed2a676be8a6e4d34f82148ece6eb58932632dcf9a34d50c66412f93f560ce575abf5c608ed6b1e5184604b96024801886c706
|
||||
DIST poppler-0.63.0.tar.xz 1439552 BLAKE2B 9bf5cff7f5fec93ec7d49d1745aadb2b03a68d38216003e4bff54a5d264c9dda10265da79a755af1f31b582602d034cfefb16b807185d674a2cfe0d20e5de277 SHA512 a151d08480e9940a02191355ef5e7499d6494cff05f22f49de2bb8223512f5e5c9bb9b33651943ded30b4cd7096a2423fb7a01fa62228fbcd1d3a221b885cfe9
|
||||
DIST poppler-0.64.0.tar.xz 1449904 BLAKE2B 260bcc9c1b109b58b66057665d11c0685b525803206497ad0516998d93c132befd6b0ae28f187afd77dace6b35af6c08b8210ad05143d6d068109dc57caf5a4a SHA512 2799c3f628e63803eb11a25e54798a136aad91ea843d4bc1fb284af478f4a8cde87b7f95fc28cf23baf25975fbde6ca93f6ac91befb87af42e642c7650053f1c
|
||||
DIST poppler-0.65.0.tar.xz 1451720 BLAKE2B 8d8d785a2d2b9b501e2db0736e5256236eecd72e4cd4659d198db45b8a3f219e4949f6fe460bf2429cd5ea0a5ea26e1d5d5640d1e75b1443c38f43de9b17efc4 SHA512 4a2c31307ab703bd25e1b5ac1185a897e1c96de13daa4fc4849974f6ea6cec8066e8cd9ea061f65620c71ea56a09b2cd355c4e42e9a4eb9a674a11648e3ec977
|
||||
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
|
||||
SLOT="0/76" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.7 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.62.0-openjpeg2.patch"
|
||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if [[ ${CC} == clang ]] ; then
|
||||
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
|
||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||
sed '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||
-i CMakeLists.txt || die
|
||||
else
|
||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||
fi
|
||||
|
||||
# we need to up the C++ version, bug #622526, #643278
|
||||
append-cxxflags -std=c++11
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
-DSPLASH_CMYK=OFF
|
||||
-DUSE_FIXEDPOINT=OFF
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo=$(usex cairo)
|
||||
-DENABLE_LIBCURL=$(usex curl)
|
||||
-DENABLE_CPP=$(usex cxx)
|
||||
-DWITH_GObjectIntrospection=$(usex introspection)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||
-DWITH_NSS3=$(usex nss)
|
||||
-DWITH_PNG=$(usex png)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DENABLE_UTILS=$(usex utils)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != 9999 ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
From 37d57ae9572b7d74aa385a30313eceae7f2d3fce Mon Sep 17 00:00:00 2001
|
||||
From: Kjell Ahlstedt <kjellahlstedt@gmail.com>
|
||||
Date: Wed, 20 Dec 2017 20:00:32 +0100
|
||||
Subject: [PATCH] Glib::Threads::Private: Fix gobj()
|
||||
|
||||
Bug 791711
|
||||
---
|
||||
glib/src/threads.hg | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/glib/src/threads.hg b/glib/src/threads.hg
|
||||
index 86d7a17b..c82a6130 100644
|
||||
--- a/glib/src/threads.hg
|
||||
+++ b/glib/src/threads.hg
|
||||
@@ -628,7 +628,7 @@ public:
|
||||
*/
|
||||
inline void replace(T* data);
|
||||
|
||||
- GPrivate* gobj() { return gobject_; }
|
||||
+ GPrivate* gobj() { return &gobject_; }
|
||||
|
||||
private:
|
||||
GPrivate gobject_;
|
||||
--- a/glib/glibmm/threads.h 2017-09-04 15:27:31.000000000 +0200
|
||||
+++ b/glib/glibmm/threads.h 2018-05-05 10:53:44.339288554 +0200
|
||||
@@ -657,7 +657,7 @@
|
||||
*/
|
||||
inline void replace(T* data);
|
||||
|
||||
- GPrivate* gobj() { return gobject_; }
|
||||
+ GPrivate* gobj() { return &gobject_; }
|
||||
|
||||
private:
|
||||
GPrivate gobject_;
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST libbsd-0.8.6.tar.xz 371112 BLAKE2B adab6c17267e0cff128351efccf5c1225b7dd85dc61dd8168bf212ba5aff8d726fa5be687c041821af9a427ddad9dfcd3630cac9134b9e81c86ab2599e43aef9 SHA512 ece01ced324f840c2cee6321c7dcf97ff123d55ea9f203c1ce35e1b46643dc7b34ef6dc6c8d128252b36848624850b40823411cc96b99a66a401eb1e9d8cea6b
|
||||
DIST libbsd-0.8.7.tar.xz 371772 BLAKE2B aa4aa1c19872edf9e7e6ed270275199366345531a48ee28c25e209f17c5403a22269b91ab1c806cb1b54ba33a8464f4b035fe7ee2bc5dddd0a4fda09c540b058 SHA512 605a14eb5d33c0e45c3bd29e585ebc15832e2ed1efa9356291a0562622168da96db1a20766e9dae8910ea0c1516429f43905edc8d4f2a40a5a341a689d08fcc3
|
||||
DIST libbsd-0.9.0.tar.xz 385792 BLAKE2B c9628bea4b97ea2c8b042b50a1807da216f265ade30043811199527d28df55deb891fd521fb09e5aa9a9373222426a1b365cf710cd5988ac8e154d1c5d5d85df SHA512 76adcb03f7ef2299178aa489ab6d298a2e2b0a38ea4341ea18f8d1a24fc46a6f9612d2138481d2c7e0ad248490dc0a2d018eb86e3e13a11ceb2383a3d4207642
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
|
||||
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=sys-kernel/linux-headers-3.17"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
|
||||
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
|
||||
if ! has_version ${CATEGORY}/${PN}; then
|
||||
if [[ -e ${f} ]]; then
|
||||
eerror "${m}"
|
||||
die "${m}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
|
||||
# which is correct, see:
|
||||
# https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-multilib versionator
|
||||
|
||||
DESCRIPTION="Small, safe and fast formatting library"
|
||||
HOMEPAGE="https://github.com/fmtlib/fmt"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
IUSE="test"
|
||||
SLOT="0/$(get_major_version)"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/fmt-${PV}"
|
||||
fi
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
|
||||
-DFMT_LIB_DIR="$(get_libdir)"
|
||||
-DFMT_TEST=$(usex test)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST satyr-0.26.tar.gz 434820 BLAKE2B 4463c69e6ac2eb8237f599bfeed308265a906c6e3efa154b14eb6ee7acdc65580da9baf5ecb99e4efa4f8c00f7656ff2a747e607f2293b12a513ed680986fe08 SHA512 45dfc42e05e93fa0417c8c5d6811097cabaa0f4dcfb79df13d3840d789cfd41c84382ae84882ca120b1a3120987123a306656324cf39f306046a5d30547db656
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit autotools python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Satyr is a collection of low-level algorithms for program failure processing"
|
||||
HOMEPAGE="https://github.com/abrt/satyr"
|
||||
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/3"
|
||||
|
||||
IUSE="python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
>=dev-libs/elfutils-0.158
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
./gen-version || die # Needs to be run before full autoreconf
|
||||
eautoreconf
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myargs=(
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-rpm
|
||||
# Build breaks without and we aren't supporting Python2 anyway
|
||||
--without-python2
|
||||
$(usex python "--with-python3" "--without-python3")
|
||||
)
|
||||
|
||||
econf "${myargs[@]}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST volume_key-0.3.10.tar.xz 474720 BLAKE2B 726252263976b63c3e73dc42bd0166aa1c05df7a61715ca19921e9cd92abf1f8c84347127c94f724e385e0a36411ffae92341d91d06d679c052c83edb5ab6c49 SHA512 b050d333e021bc3721f5e72c1d2498adea3265afe7f702e1b1e859546755745ac70dcffc194739a4833d4b0b77168506f7fe90fde382d8aab4df2af7b635932b
|
||||
DIST volume_key-0.3.9.tar.xz 445092 BLAKE2B b9cec52ca02e331501d378482484535413f3ef7675b6592b9f26f272d36448a2ffee1a0ca1c7a552764324ab20cd6dac98447914faafbea96e4c526796bec587 SHA512 bc0e690997b9fa1c9fff361d04e7eddcac4cac09779d7a1f9e161be117f5c589a7e444ac16dab25fb3e3ce201591f7dc937595ddf2745d7daa625d4ab0a255e0
|
||||
|
@ -0,0 +1,55 @@
|
||||
From ab21d82bc0186627451d16be45568fcf2b590817 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Tue, 22 May 2018 15:08:44 +0200
|
||||
Subject: [PATCH] Use pkgconfig to find python
|
||||
|
||||
otherwise linkage and include of python fails if python is not in
|
||||
default (python$(PYTHON_VERSION)) location.
|
||||
---
|
||||
Makefile.am | 4 ++--
|
||||
configure.ac | 7 +++++--
|
||||
2 files changed, 7 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 68560b1..0bc1a5b 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
AM_CPPFLAGS = $(blkid_CFLAGS) $(glib_CFLAGS) $(GPGME_CFLAGS) \
|
||||
$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
|
||||
LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
|
||||
-PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
|
||||
+PYTHON_CPPFLAGS = $(PYTHON_CFLAGS)
|
||||
|
||||
## Targets
|
||||
SUBDIRS = po
|
||||
@@ -65,7 +65,7 @@ lib_libvolume_key_la_LIBADD = $(blkid_LIBS) $(glib_LIBS) $(GPGME_LIBS) \
|
||||
python__volume_key_la_SOURCES = python/volume_key_wrap.c
|
||||
python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
|
||||
python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
|
||||
-python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
|
||||
+python__volume_key_la_LIBADD = lib/libvolume_key.la $(PYTHON_LIBS) \
|
||||
$(glib_LIBS) $(nss_LIBS)
|
||||
|
||||
src_volume_key_SOURCES = src/volume_key.c
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 40c3906..c9680e4 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -28,8 +28,11 @@ AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AM_PROG_AR
|
||||
LT_INIT([disable-static])
|
||||
-AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2 python, [Python is required])
|
||||
-AM_PATH_PYTHON([2.6], [], AC_MSG_ERROR([Python 2.6 or 2.7 is required]))
|
||||
+PKG_PROG_PKG_CONFIG
|
||||
+PKG_CHECK_MODULES(PYTHON, [python], [
|
||||
+ AM_PATH_PYTHON
|
||||
+ ], AC_MSG_ERROR([Python is required])
|
||||
+)
|
||||
|
||||
AC_PATH_PROG([GPG], [gpg2])
|
||||
AC_ARG_VAR([GPG])
|
||||
--
|
||||
2.17.0
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
|
||||
HOMEPAGE="https://pagure.io/volume_key"
|
||||
SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gpgme
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
sys-apps/util-linux
|
||||
sys-fs/cryptsetup:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/gettext
|
||||
test? ( dev-libs/nss[utils] )
|
||||
"
|
||||
|
||||
RESTRICT="test" # possible gpgme issue
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.10-find_python.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
Binary file not shown.
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_5 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
|
||||
HOMEPAGE="https://pypi.org/project/pytest-qt/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pytest-2.7.0[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/PyQt4
|
||||
dev-python/PyQt5
|
||||
)
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# Test make assumptions about Qt environment
|
||||
RESTRICT="test"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && sphinx-build -b html docs _build/html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( _build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST vision_opencv-1.12.5.tar.gz 81739 BLAKE2B 5c135009f4e766b34c217b6de1dba836bf225b4cc7aca53b34c297f0c0986a79c3c629990464599da98fa32424a87467037caf3b51f3f6dcab2add615d613c08 SHA512 df3ad951262a692124eead5751f64c04fbf831486db8c000e23e2f0b10f645d830c38cf2d99d23b696b96cd0388c4d732ddda4e5d8e8b7cb88a3fd5909c62c71
|
||||
DIST vision_opencv-1.12.7.tar.gz 81877 BLAKE2B 216a82ec377e0bc3d85866da3ed3b9e8e90f7615bfbf0e3cacc30cd2bc2aeeb3f822d8daa1f0be42dab45dbdfc69c043a3a4c29b8357561356a2f874b3f61552 SHA512 e02f9450183e8e927d947d2382859ed01aaa5dc7a8f299e5a39815c53ee726b96781e961b1cf0f5cc3ac16699d162d4ed80678de4b6517e5139a5a8bd592e39c
|
||||
DIST vision_opencv-1.12.8.tar.gz 82043 BLAKE2B 9eb18ea9a4d3ddf6d2103ab3a2e53557349880ea665f8089d64319e8c99fb4ea922e8de1ab04fb749bed5c2503041d27d8e9b773d6142a5b5366aae937ca2514 SHA512 fadd84bb5e9586a5b04833100d9e1267ce8d153ca95a3257e1c3e6fe825dae524e25b2cc7deebb48d326cce8ef04523c5803eeecd88362cf6ff0384c52557608
|
||||
DIST vision_opencv-1.13.0.tar.gz 82177 BLAKE2B 1c863f3c9e6b856d61a0e879f958f0f1fd184f088e208023a504cf5bb982c5496b71e1f2b4761e4456ca76348e51bc2bc760b2c43e1a35b02fa5c23c8e444502 SHA512 a20ec2f41a0c94dde51b19f902ae078cbf5449a2aadbeacbc49bbfc2ab52c39878e63448a3137591f7e1b2f6025baef616579463cf32274e7838157137d214bc
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Converts between ROS Image messages and OpenCV images"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/rosconsole
|
||||
>=media-libs/opencv-3:=[contrib(+)]
|
||||
dev-libs/boost:=[threads,python,${PYTHON_USEDEP}]
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1,2 @@
|
||||
DIST geometric_shapes-0.5.3.tar.gz 60799 BLAKE2B 77bfde8f7b1f3e11bd4bb12c82374e34ca0efc0f75125a1c5a58d4ce797feb70b70803526f4b8cbdf651d762082a4bbcb03df5e6ace2bdc69ed84be20a963731 SHA512 13c1b85cab4d0d5d35bd010927a5fd789312b4c11667ee73295722067968504054a8f24628db2f78782078ff3cbcd6878bd403979c29526b2183c3ae2414b2b1
|
||||
DIST geometric_shapes-0.5.4.tar.gz 62028 BLAKE2B 6873019c54872077ec88ad6107bdf1a69092d73bd1f73b38dbbdcd88a3e5da9cfffd0782ec2e01f87fd90082ed856e3a2f5161dec606ba08c0510752a813359c SHA512 bd0909fb0feeddebf65793aa77a6803217e39e782767cd2d58b26266ff79018ebb352c77385e20043a069caaa7e00ba63366a703d52605562e8535f1d3af2dac
|
||||
DIST geometric_shapes-0.6.0.tar.gz 62152 BLAKE2B ebd2b6260a212e1ba3513d064d69af91fe2141e2ee696b6781829c83a5df44c9de9a9ee68c0c9354adbfc954350cde6c339529955c506e3e2c45e7eaa2a54d52 SHA512 b580f2e2acf864d3d03dd67d088d5c0d04cf8f28c1db8ebb3f4155ff9cf77af92cc268aecc41ad3d983d9e021044404af03309fb94d99162ea84d2d16681b562
|
||||
|
@ -1,213 +0,0 @@
|
||||
https://github.com/ros-planning/geometric_shapes/issues/71
|
||||
|
||||
Index: geometric_shapes-0.5.3/src/bodies.cpp
|
||||
===================================================================
|
||||
--- geometric_shapes-0.5.3.orig/src/bodies.cpp
|
||||
+++ geometric_shapes-0.5.3/src/bodies.cpp
|
||||
@@ -788,7 +788,7 @@ void bodies::ConvexMesh::useDimensions(c
|
||||
|
||||
if (exitcode != 0)
|
||||
{
|
||||
- logWarn("Convex hull creation failed");
|
||||
+ CONSOLE_BRIDGE_logWarn("Convex hull creation failed");
|
||||
qh_freeqhull (!qh_ALL);
|
||||
int curlong, totlong;
|
||||
qh_memfreeshort (&curlong, &totlong);
|
||||
@@ -1174,7 +1174,7 @@ void bodies::BodyVector::setPose(unsigne
|
||||
{
|
||||
if (i >= bodies_.size())
|
||||
{
|
||||
- logError("There is no body at index %u", i);
|
||||
+ CONSOLE_BRIDGE_logError("There is no body at index %u", i);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1185,7 +1185,7 @@ const bodies::Body* bodies::BodyVector::
|
||||
{
|
||||
if (i >= bodies_.size())
|
||||
{
|
||||
- logError("There is no body at index %u", i);
|
||||
+ CONSOLE_BRIDGE_logError("There is no body at index %u", i);
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
Index: geometric_shapes-0.5.3/src/body_operations.cpp
|
||||
===================================================================
|
||||
--- geometric_shapes-0.5.3.orig/src/body_operations.cpp
|
||||
+++ geometric_shapes-0.5.3/src/body_operations.cpp
|
||||
@@ -59,7 +59,7 @@ bodies::Body* bodies::createBodyFromShap
|
||||
body = new bodies::ConvexMesh(shape);
|
||||
break;
|
||||
default:
|
||||
- logError("Creating body from shape: Unknown shape type %d", (int)shape->type);
|
||||
+ CONSOLE_BRIDGE_logError("Creating body from shape: Unknown shape type %d", (int)shape->type);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ Body* constructBodyFromMsgHelper(const T
|
||||
Eigen::Quaterniond q(pose.orientation.w, pose.orientation.x, pose.orientation.y, pose.orientation.z);
|
||||
if (fabs(q.squaredNorm() - 1.0) > 1e-3)
|
||||
{
|
||||
- logError("Quaternion is not normalized. Assuming identity.");
|
||||
+ CONSOLE_BRIDGE_logError("Quaternion is not normalized. Assuming identity.");
|
||||
q = Eigen::Quaterniond(1.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
Eigen::Affine3d af(Eigen::Translation3d(pose.position.x, pose.position.y, pose.position.z) * q.toRotationMatrix());
|
||||
Index: geometric_shapes-0.5.3/src/mesh_operations.cpp
|
||||
===================================================================
|
||||
--- geometric_shapes-0.5.3.orig/src/mesh_operations.cpp
|
||||
+++ geometric_shapes-0.5.3/src/mesh_operations.cpp
|
||||
@@ -133,7 +133,7 @@ Mesh* createMeshFromVertices(const Eigen
|
||||
return NULL;
|
||||
|
||||
if (source.size() % 3 != 0)
|
||||
- logError("The number of vertices to construct a mesh from is not divisible by 3. Probably constructed triangles will not make sense.");
|
||||
+ CONSOLE_BRIDGE_logError("The number of vertices to construct a mesh from is not divisible by 3. Probably constructed triangles will not make sense.");
|
||||
|
||||
std::set<detail::LocalVertexType, detail::ltLocalVertexValue> vertices;
|
||||
std::vector<unsigned int> triangles;
|
||||
@@ -220,7 +220,7 @@ Mesh* createMeshFromBinary(const char *b
|
||||
{
|
||||
if (!buffer || size < 1)
|
||||
{
|
||||
- logWarn("Cannot construct mesh from empty binary buffer");
|
||||
+ CONSOLE_BRIDGE_logWarn("Cannot construct mesh from empty binary buffer");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -285,21 +285,21 @@ Mesh* createMeshFromResource(const std::
|
||||
}
|
||||
catch (resource_retriever::Exception& e)
|
||||
{
|
||||
- logError("%s", e.what());
|
||||
+ CONSOLE_BRIDGE_logError("%s", e.what());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (res.size == 0)
|
||||
{
|
||||
- logWarn("Retrieved empty mesh for resource '%s'", resource.c_str());
|
||||
+ CONSOLE_BRIDGE_logWarn("Retrieved empty mesh for resource '%s'", resource.c_str());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Mesh *m = createMeshFromBinary(reinterpret_cast<const char*>(res.data.get()), res.size, scale, resource);
|
||||
if (!m)
|
||||
{
|
||||
- logWarn("Assimp reports no scene in %s.", resource.c_str());
|
||||
- logWarn("This could be because of a resource filename that is too long for the Assimp library, a known bug. As a workaround shorten the filename/path.");
|
||||
+ CONSOLE_BRIDGE_logWarn("Assimp reports no scene in %s.", resource.c_str());
|
||||
+ CONSOLE_BRIDGE_logWarn("This could be because of a resource filename that is too long for the Assimp library, a known bug. As a workaround shorten the filename/path.");
|
||||
}
|
||||
return m;
|
||||
}
|
||||
@@ -344,7 +344,7 @@ Mesh* createMeshFromAsset(const aiScene*
|
||||
{
|
||||
if (!scene->HasMeshes())
|
||||
{
|
||||
- logWarn("Assimp reports scene in %s has no meshes", resource_name.c_str());
|
||||
+ CONSOLE_BRIDGE_logWarn("Assimp reports scene in %s has no meshes", resource_name.c_str());
|
||||
return NULL;
|
||||
}
|
||||
EigenSTL::vector_Vector3d vertices;
|
||||
@@ -352,12 +352,12 @@ Mesh* createMeshFromAsset(const aiScene*
|
||||
extractMeshData(scene, scene->mRootNode, aiMatrix4x4(), scale, vertices, triangles);
|
||||
if (vertices.empty())
|
||||
{
|
||||
- logWarn("There are no vertices in the scene %s", resource_name.c_str());
|
||||
+ CONSOLE_BRIDGE_logWarn("There are no vertices in the scene %s", resource_name.c_str());
|
||||
return NULL;
|
||||
}
|
||||
if (triangles.empty())
|
||||
{
|
||||
- logWarn("There are no triangles in the scene %s", resource_name.c_str());
|
||||
+ CONSOLE_BRIDGE_logWarn("There are no triangles in the scene %s", resource_name.c_str());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ Mesh* createMeshFromShape(const Shape *s
|
||||
if (shape->type == shapes::CONE)
|
||||
return shapes::createMeshFromShape(static_cast<const shapes::Cone&>(*shape));
|
||||
else
|
||||
- logError("Conversion of shape of type '%s' to a mesh is not known", shapeStringName(shape).c_str());
|
||||
+ CONSOLE_BRIDGE_logError("Conversion of shape of type '%s' to a mesh is not known", shapeStringName(shape).c_str());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Index: geometric_shapes-0.5.3/src/shape_operations.cpp
|
||||
===================================================================
|
||||
--- geometric_shapes-0.5.3.orig/src/shape_operations.cpp
|
||||
+++ geometric_shapes-0.5.3/src/shape_operations.cpp
|
||||
@@ -62,7 +62,7 @@ Shape* constructShapeFromMsg(const shape
|
||||
{
|
||||
if (shape_msg.triangles.empty() || shape_msg.vertices.empty())
|
||||
{
|
||||
- logWarn("Mesh definition is empty");
|
||||
+ CONSOLE_BRIDGE_logWarn("Mesh definition is empty");
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
@@ -117,7 +117,7 @@ Shape* constructShapeFromMsg(const shape
|
||||
shape_msg.dimensions[shape_msgs::SolidPrimitive::CONE_HEIGHT]);
|
||||
}
|
||||
if (shape == NULL)
|
||||
- logError("Unable to construct shape corresponding to shape_msg of type %d", (int)shape_msg.type);
|
||||
+ CONSOLE_BRIDGE_logError("Unable to construct shape corresponding to shape_msg of type %d", (int)shape_msg.type);
|
||||
|
||||
return shape;
|
||||
}
|
||||
@@ -202,7 +202,7 @@ bool constructMarkerFromShape(const Shap
|
||||
}
|
||||
catch (std::runtime_error &ex)
|
||||
{
|
||||
- logError("%s", ex.what());
|
||||
+ CONSOLE_BRIDGE_logError("%s", ex.what());
|
||||
}
|
||||
if (ok)
|
||||
return true;
|
||||
@@ -451,7 +451,7 @@ bool constructMsgFromShape(const Shape*
|
||||
}
|
||||
else
|
||||
{
|
||||
- logError("Unable to construct shape message for shape of type %d", (int)shape->type);
|
||||
+ CONSOLE_BRIDGE_logError("Unable to construct shape message for shape of type %d", (int)shape->type);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -512,7 +512,7 @@ void saveAsText(const Shape *shape, std:
|
||||
}
|
||||
else
|
||||
{
|
||||
- logError("Unable to save shape of type %d", (int)shape->type);
|
||||
+ CONSOLE_BRIDGE_logError("Unable to save shape of type %d", (int)shape->type);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -580,7 +580,7 @@ Shape* constructShapeFromText(std::istre
|
||||
m->computeVertexNormals();
|
||||
}
|
||||
else
|
||||
- logError("Unknown shape type: '%s'", type.c_str());
|
||||
+ CONSOLE_BRIDGE_logError("Unknown shape type: '%s'", type.c_str());
|
||||
}
|
||||
}
|
||||
return result;
|
||||
Index: geometric_shapes-0.5.3/src/shapes.cpp
|
||||
===================================================================
|
||||
--- geometric_shapes-0.5.3.orig/src/shapes.cpp
|
||||
+++ geometric_shapes-0.5.3/src/shapes.cpp
|
||||
@@ -224,12 +224,12 @@ shapes::Shape* shapes::OcTree::clone() c
|
||||
|
||||
void shapes::OcTree::scaleAndPadd(double scale, double padd)
|
||||
{
|
||||
- logWarn("OcTrees cannot be scaled or padded");
|
||||
+ CONSOLE_BRIDGE_logWarn("OcTrees cannot be scaled or padded");
|
||||
}
|
||||
|
||||
void shapes::Plane::scaleAndPadd(double scale, double padding)
|
||||
{
|
||||
- logWarn("Planes cannot be scaled or padded");
|
||||
+ CONSOLE_BRIDGE_logWarn("Planes cannot be scaled or padded");
|
||||
}
|
||||
|
||||
void shapes::Shape::scale(double scale)
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="C++ and Python libraries for interpreting images geometrically"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
media-libs/opencv:=
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] dev-cpp/gtest )"
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
# Be careful: It needs opencv with python support but opencv is python-single-r1
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Tests for ROS OpenCV integration"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/cv_bridge[${PYTHON_USEDEP}]
|
||||
dev-ros/rospy[${PYTHON_USEDEP}]
|
||||
media-libs/opencv[python,${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
ros-catkin_src_install
|
||||
insinto /usr/share/${PN}/launch
|
||||
doins launch/*.launch
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe nodes/*
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST faraday-0.12.2.tar.gz 62809 BLAKE2B 4dcd60192df36e1b9766eab3bcbacd729239b0e09d9e82a73d825c750fdbcfae8161cf803f078b841236a5e18b1849b4cdc34e6adebb9eaea0f0442cd65b2e74 SHA512 966fc419d529a8bba5caa6d3932ee94f7b248110edc880b532860c24abd70cb50182e40b94b4143e26575c6db7ce046fa71ac0d25010385d7f0c3dda87f39439
|
||||
DIST faraday-0.14.0.tar.gz 65105 BLAKE2B bf5101083bd828e2ea98dcd487c7c082f8b2d2eb4d03ac7ad04e1873666db9e2cec1e6eb9887364874ea5f32d0313019d1eada5e05e25e0415bdd5aa2bcfca97 SHA512 25bba07e76a2a8bf02b0c81c045329e72d5911a2aacae56611db33dc25c89bd48bb1b4de9b20c6edc1514d3ceae8b06fca6076c85580533047c222cb30ef8dc7
|
||||
DIST faraday-0.15.0.tar.gz 66086 BLAKE2B 5018d8e92b2988b08f4e7a5b0876ca6cd4049c74199ee0356adc48867611fd6d30d884bd3cf3e7703a02c7a6e967f9c47cdc44deb75045b8cee46992977fb834 SHA512 46602d89b1bbf5a41143a9a71fab193642e7c41db39dc1edc0efb99f4a7a924c5a698460a0a4f921f7ce1f73ee8eb12e6d79a08dea02c7142856d0aa1b95b521
|
||||
DIST faraday-0.15.1.tar.gz 66461 BLAKE2B 476fa62bf9cf138fd52d0d455d7bdd970d77f0337ec1cf42f7833def9ba77a3e94f0bdbbda4136ac03c5a98465081e3093c6a7a6e193cbd7494a284444516679 SHA512 cb4a14b29b88c356063e2d504e0a93b84b33b6488060a313b2eb6ecbf17eaf09c6fb0e0fabd0bb057623438de2a8538034551d62d719a1c90b6158a768f38a1b
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="HTTP/REST API client library with pluggable components"
|
||||
HOMEPAGE="https://github.com/lostisland/faraday"
|
||||
SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" test? ( sys-process/lsof )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/test-unit-2.4
|
||||
dev-ruby/httpclient
|
||||
dev-ruby/rack-test
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/net-http-persistent
|
||||
dev-ruby/patron
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support.
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
|
||||
sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
|
||||
|
||||
# Remove simplecov and coveralls support, not needed to run tests.
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' \
|
||||
-e '1igem "rack", "~>1.0"; require "yaml"' \
|
||||
test/helper.rb || die
|
||||
|
||||
# Remove tests for adapters that are not packaged for Gentoo.
|
||||
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
|
||||
|
||||
# The proxy server is already killed, may be OS X vs Linux issue.
|
||||
sed -i -e '138 s/^/#/' script/test || die
|
||||
|
||||
sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure the test scripts use the right ruby interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' script/* || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
MT_NO_PLUGINS=true each_fakegem_test
|
||||
|
||||
# Sleep some time to allow the sinatra test server to die
|
||||
einfo "Waiting for test server to stop"
|
||||
sleep 10
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST minitest-hooks-1.4.2.gem 10752 BLAKE2B fa02dd6885acb285bfa45bb3a1a7cdafa136c916ef794935d0439e4e1f13748a0f17d1081c1d3c963a0b1c9936b055079bfb1b53c466a0f5daf5c04563b6969b SHA512 f6f5a96bc2cbb581b5b6a8cab507da8c560b853ff722fcafba45d08fde1e75a41da5bffe0287bbb5a861eef84145a38a6b25d3e671fdccfb15c0fce3bce85804
|
||||
DIST minitest-hooks-1.5.0.gem 11264 BLAKE2B 740df3b75ade3372fbf75ed7bd861c70af6f11d8cd1f37819272b98bc8cd1fad6ea09375856cd48a75499e0a692411c6da4f5aec212ebae91b47531c4bedda54 SHA512 4e7c969485c6e8d3414710b787c8880ad26b71de9f0b4a93ca1bf343deba426feee1cc06fcc51eee05c4880d851664fff045026d44728e217607e4cb32aa8f4b
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
# Skip tests since they require unpackaged sequel
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Adds around and before_all/after_all/around_all hooks for Minitest"
|
||||
HOMEPAGE="https://github.com/jeremyevans/minitest-hooks"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
@ -1,2 +1,3 @@
|
||||
DIST rack-attack-4.4.1.gem 16896 BLAKE2B 0c7248c3676250a94078c23256d6f33471b619f0f3948bfb8a3d6b00e97e7731ff5d84e94bc4a53eb35f22b5027709ab0d5b04f28716724762683add42a2c669 SHA512 1373cd47fdc06a1d4bfc751f3c8ca7c7394117090d190f5b58c4d7b91ac91babfc7bfed7690961ad6534ccb0ce8918f721d3e1b33902d12e686978c1c459e572
|
||||
DIST rack-attack-5.0.1.gem 17408 BLAKE2B 5aaba2c1b4b2c69a02734d082bc18e670c1c7ad8e2ea40945f3f3afa1f136c11bf74a582763d914ed0ef442e26ccfb35fc7328b0d7deaea74110deec9e91c84e SHA512 e5833d8506990d352073573de3b52deff910201f89f31bf9c4ded53644aadf52ee85b63a239f41e38d37baee4fb4c630f4c00abb1f0ea1fca1be78ca56e0e648
|
||||
DIST rack-attack-5.2.0.gem 22528 BLAKE2B 474b70dd4a4a949cb295922bdf9d141fd1c8241d9d2179fd43fe38a7d9687c39a712ad7473956302fa8f4f4bcf84cb284475a90e7e264f18f45a1e7228a66659 SHA512 f9d9e07a993e8bd93e7f09110055bb4ba0478019f1d08f44cc9ac497cd0badf1095a512fb5e556dc82ecc8ba3b9ddbe38ae6c8cd3c570bd29237a550788fe0ab
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
# Skip integration tests since they require additional unpackaged
|
||||
# dependencies and running daemons.
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A DSL for blocking & throttling abusive clients"
|
||||
HOMEPAGE="https://github.com/kickstarter/rack-attack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rack:*"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/actionpack
|
||||
dev-ruby/activesupport
|
||||
dev-ruby/rack-test
|
||||
dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(bundler\|byebug\)/ s:^:#:' Rakefile spec/spec_helper.rb || die
|
||||
sed -i -e '3igem "actionpack"' spec/spec_helper.rb || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="cucumber"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="aruba.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Cucumber steps for driving out command line applications"
|
||||
HOMEPAGE="https://github.com/cucumber/aruba"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} test? ( sys-devel/bc )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/childprocess-0.3.6
|
||||
>=dev-ruby/rspec-expectations-2.7:2
|
||||
>=dev-util/cucumber-1.1.1"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.11:2 >=dev-ruby/bcat-0.6.1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler-related code.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove references to git ls-files.
|
||||
sed -i -e '/git ls-files/d' aruba.gemspec || die
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="a simpler alternative to Regular Expressions"
|
||||
HOMEPAGE="https://github.com/cucumber/cucumber-expressions-ruby#readme"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~x86"
|
||||
SLOT="5.0"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Executable feature scenarios"
|
||||
HOMEPAGE="https://github.com/aslakhellesoy/cucumber/wikis"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-util/cucumber )"
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST tortoisehg-4.5.2.tar.gz 7935559 BLAKE2B c69107f28767936232937ee0b730b9b937dc1a475d142f0783b59b434072be1b2413f141e02985f3efe09a107782e64411323bd7c0a41be8802b1f23f54fdc77 SHA512 7be831203a33a9d7ea9e3caebb5a4d3f21ff0f07c508926b33b43db39ae11b3533c4274af78cdc2955fbea20f3e4ebe364004c9ad0a781ec7d49c19c2f5a1935
|
||||
DIST tortoisehg-4.5.3.tar.gz 7929645 BLAKE2B 95b867f372d636ed84eda918a707e24f4b11e34679ae9ed1c25f82a7aa6bb77f424bd68a99b5f961d14960a2f33005536996de2f3df9871684bb53f68130b1b2 SHA512 0c6c512f7a46a084904a5e66912deb8ef4abb99a6a97c46b6b058537332f091395f4b9b8a4b645d7c42637abbb4e8abe16f5040fd694bb43ea8b4c6ddb1e18f6
|
||||
DIST tortoisehg-4.6.tar.gz 7947478 BLAKE2B b2176e3fd508a84c247802490822d47ed117f3102b4ddc10987114018611a710696e2910f3e4b63f80357611fd2ebd8333322df1e5f549a9a618ea1b9017e430 SHA512 a57d3f10dde22da48b03252e41286dd40b7e261ae9ac9a0c09c8ccc361773d9f66ddb0f71c7eb800bfdae65587915a988367472885eb473ee810a07828044ce0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue