parent
d34b9534c4
commit
e1f3d13153
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
UPSTREAM_VER=
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
|
||||
REQUIRED_USE="
|
||||
|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
vala? ( introspection )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="To use ibus, you should:
|
||||
1. Get input engines from sunrise overlay.
|
||||
Run \"emerge -s ibus-\" in your favorite terminal
|
||||
for a list of packages we already have.
|
||||
|
||||
2. Setup ibus:
|
||||
$ ibus-setup
|
||||
|
||||
3. Set the following in your user startup scripts
|
||||
such as .xinitrc, .xsession or .xprofile:
|
||||
|
||||
export XMODIFIERS=\"@im=ibus\"
|
||||
export GTK_IM_MODULE=\"ibus\"
|
||||
export QT_IM_MODULE=\"xim\"
|
||||
ibus-daemon -d -x
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/:/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
UPSTREAM_VER=
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
|
||||
REQUIRED_USE="
|
||||
|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
vala? ( introspection )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="To use ibus, you should:
|
||||
1. Get input engines from sunrise overlay.
|
||||
Run \"emerge -s ibus-\" in your favorite terminal
|
||||
for a list of packages we already have.
|
||||
|
||||
2. Setup ibus:
|
||||
$ ibus-setup
|
||||
|
||||
3. Set the following in your user startup scripts
|
||||
such as .xinitrc, .xsession or .xprofile:
|
||||
|
||||
export XMODIFIERS=\"@im=ibus\"
|
||||
export GTK_IM_MODULE=\"ibus\"
|
||||
export QT_IM_MODULE=\"xim\"
|
||||
ibus-daemon -d -x
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/:/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,173 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
|
||||
inherit bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
|
||||
REQUIRED_USE="|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )
|
||||
gnome-base/gconf"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="To use ibus, you should:
|
||||
1. Get input engines from sunrise overlay.
|
||||
Run \"emerge -s ibus-\" in your favorite terminal
|
||||
for a list of packages we already have.
|
||||
|
||||
2. Setup ibus:
|
||||
$ ibus-setup
|
||||
|
||||
3. Set the following in your user startup scripts
|
||||
such as .xinitrc, .xsession or .xprofile:
|
||||
|
||||
export XMODIFIERS=\"@im=ibus\"
|
||||
export GTK_IM_MODULE=\"ibus\"
|
||||
export QT_IM_MODULE=\"xim\"
|
||||
ibus-daemon -d -x
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/:/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
UPSTREAM_VER=0
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test +vala wayland +X"
|
||||
REQUIRED_USE="
|
||||
|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
vala? ( introspection )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="To use ibus, you should:
|
||||
1. Get input engines from sunrise overlay.
|
||||
Run \"emerge -s ibus-\" in your favorite terminal
|
||||
for a list of packages we already have.
|
||||
|
||||
2. Setup ibus:
|
||||
$ ibus-setup
|
||||
|
||||
3. Set the following in your user startup scripts
|
||||
such as .xinitrc, .xsession or .xprofile:
|
||||
|
||||
export XMODIFIERS=\"@im=ibus\"
|
||||
export GTK_IM_MODULE=\"ibus\"
|
||||
export QT_IM_MODULE=\"xim\"
|
||||
ibus-daemon -d -x
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/:/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST freeplane-1.5.18-gradle-cache.tar.xz 23290912 SHA256 888cd2a542ee3f82a7459795528272fa9963fcc9ffae467af777202c00c876e9 SHA512 db9fa368c829b7cffad0aa863823e75efe06be0c7b8480f3be3bfe53adac28a6f1d51a8b0bb91958eecafd1dd61d81c0ef15193ba4e20ebe87f55450b599aece WHIRLPOOL de7076a6d2907c4503f77fd2d64e1b99c1939718e9fb68abc588bfa1bfc127e36eede8b0f76e27a6c5e4892c56a33a954cab80ee5df30c0e8140b86365768ab3
|
||||
DIST freeplane_src-1.5.18.tar.gz 13233435 SHA256 539fb7114ecaca0d4f01ae5910e84376ce18ba7fb25ff28359b19d34e4325e13 SHA512 c7feaf957e1d67cb8e71e0b8aa1193c291b5cbc482f932397baeb8f296062378864e5004b59740d716b5c833b5404732ce17d7551ab0a3b663d3fda44327bccb WHIRLPOOL e28c707ffee2ef79491dd350dae1e2f32ec39735650e2ba828381e71c781d3b66b4ce1bd1047fe17fde659ea1f11dbca2089544d3191fdfd289741ce392e1b90
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc"
|
||||
|
||||
VIRTUALX_REQUIRED="test"
|
||||
|
||||
inherit java-utils-2 virtualx
|
||||
|
||||
DESCRIPTION="Java application for Mind Mapping, Knowledge and Project Management"
|
||||
HOMEPAGE="https://www.freeplane.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}%20stable/${PN}_src-${PV}.tar.gz
|
||||
http://dev.gentoo.org/~xmw/distfiles/freeplane-1.5.18-gradle-cache.tar.xz"
|
||||
#generate cache file by disabling --offline, ebuild clean test and
|
||||
#tar cvJf /var/cache/distfiles/freeplane-1.5.18-gradle-cache.tar.xz -C /var/tmp/portage/app-misc/freeplane-1.5.18/work .gradle/caches/modules-2
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
DEPEND="${DEPEND}
|
||||
>=virtual/jdk-1.8
|
||||
dev-java/gradle-bin"
|
||||
|
||||
src_compile() {
|
||||
GRADLE="gradle --gradle-user-home ${WORKDIR}/.gradle --console rich --no-daemon"
|
||||
GRADLE="${GRADLE} --offline"
|
||||
${GRADLE} build -x check -x test || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx ${GRADLE} check test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd BUILD || die
|
||||
sed -e "/freepath=/s:=.*:=${EROOT}usr/share/${PN}:" \
|
||||
-i freeplane.sh
|
||||
newbin freeplane.sh freeplane
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins framework.jar freeplanelauncher.jar \
|
||||
freeplane.policy props.xargs init.xargs *.l4j.ini
|
||||
doins -r core doc fwdir plugins resources
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,184 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
|
||||
|
||||
IUSE="gnome java"
|
||||
|
||||
BUILDID="9782"
|
||||
BVER="${PV/_rc*/}-${BUILDID}"
|
||||
BVER2=4.1.2-${BUILDID}
|
||||
BASIS="ooobasis4.1"
|
||||
BASIS2="basis4.1"
|
||||
NM="openoffice"
|
||||
NM1="${NM}-brand"
|
||||
NM2="${NM}4"
|
||||
NM3="${NM2}.1.2"
|
||||
FILEPATH="mirror://sourceforge/openofficeorg.mirror"
|
||||
if [ "${ARCH}" = "amd64" ] ; then
|
||||
XARCH="x86_64"
|
||||
else
|
||||
XARCH="i586"
|
||||
fi
|
||||
UP="en-US/RPMS"
|
||||
|
||||
DESCRIPTION="Apache OpenOffice productivity suite"
|
||||
HOMEPAGE="http://www.openoffice.org/"
|
||||
SRC_URI="amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz )
|
||||
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
|
||||
|
||||
# TODO: supports ca_XR (Valencian RACV) locale too
|
||||
LANGS="ast eu bg ca ca_XV zh_CN zh_TW cs da nl en_GB fi fr gd gl de el he hi hu it ja km ko lt nb pl pt_BR pt ru sr sk sl es sv ta th tr vi"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
|
||||
amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
|
||||
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
!app-office/openoffice
|
||||
!prefix? ( sys-libs/glibc )
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
>=dev-lang/perl-5.0
|
||||
dev-lang/python:2.7
|
||||
>=media-libs/freetype-2.1.10-r2
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXinerama"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils"
|
||||
|
||||
PDEPEND="java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="usr/$(get_libdir)/${NM}/program/*"
|
||||
QA_TEXTRELS="usr/$(get_libdir)/${NM}/program/libvclplug_genli.so"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cp "${FILESDIR}"/{50-${PN},wrapper.in} "${T}"
|
||||
eprefixify "${T}"/{50-${PN},wrapper.in}
|
||||
|
||||
for i in base calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ogltrans ooofonts ooolinguistic pyuno ure writer xsltfilter ; do
|
||||
rpm_unpack "./${UP}/${NM}-${i}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/${NM}-${BVER}.${XARCH}.rpm"
|
||||
|
||||
for j in base calc draw impress math writer; do
|
||||
rpm_unpack "./${UP}/${NM1}-${j}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/desktop-integration/${NM3}-freedesktop-menus-${BVER2}.noarch.rpm"
|
||||
|
||||
use gnome && rpm_unpack "./${UP}/${NM}-gnome-integration-${BVER}.${XARCH}.rpm"
|
||||
use java && rpm_unpack "./${UP}/${NM}-javafilter-${BVER}.${XARCH}.rpm"
|
||||
|
||||
# English support installed by default
|
||||
rpm_unpack "./${UP}/${NM}-en-US-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM1}-en-US-${BVER}.${XARCH}.rpm"
|
||||
for s in base calc draw help impress math res writer ; do
|
||||
rpm_unpack "./${UP}/${NM}-en-US-${s}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
# Localization
|
||||
strip-linguas ${LANGS}
|
||||
for l in ${LINGUAS}; do
|
||||
m="${l/_/-}"
|
||||
if [[ ${m} != "en" ]] ; then
|
||||
LANGDIR="${m}/RPMS/"
|
||||
rpm_unpack "./${LANGDIR}/${NM}-${m}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${LANGDIR}/${NM1}-${m}-${BVER}.${XARCH}.rpm"
|
||||
for n in base calc draw help impress math res writer; do
|
||||
rpm_unpack "./${LANGDIR}/${NM}-${m}-${n}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
INSTDIR="/usr/$(get_libdir)/${NM}"
|
||||
dodir ${INSTDIR}
|
||||
# mv "${WORKDIR}"/opt/${NM}/* "${ED}${INSTDIR}" || die
|
||||
mv "${WORKDIR}"/opt/${NM2}/* "${ED}${INSTDIR}" || die
|
||||
|
||||
#Menu entries, icons and mime-types
|
||||
cd "${ED}${INSTDIR}/share/xdg/"
|
||||
for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do
|
||||
if [ "${desk}" = "javafilter" ] ; then
|
||||
use java || { rm javafilter.desktop; continue; }
|
||||
fi
|
||||
mv ${desk}.desktop ${NM}-${desk}.desktop
|
||||
sed -i -e "s/${NM2} /ooffice /g" ${NM}-${desk}.desktop || die
|
||||
domenu ${NM}-${desk}.desktop
|
||||
done
|
||||
insinto /usr/share
|
||||
doins -r "${WORKDIR}"/usr/share/icons
|
||||
doins -r "${WORKDIR}"/usr/share/mime
|
||||
|
||||
# Make sure the permissions are right
|
||||
use prefix || fowners -R root:0 /
|
||||
|
||||
# Install wrapper script
|
||||
newbin "${T}/wrapper.in" ooffice
|
||||
sed -i -e s/LIBDIR/$(get_libdir)/g "${ED}/usr/bin/ooffice" || die
|
||||
|
||||
# Component symlinks
|
||||
for app in base calc draw impress math writer; do
|
||||
cp "${ED}/usr/bin/ooffice" "${ED}/usr/bin/oo${app}"
|
||||
sed -i -e s/soffice/s${app}/ "${ED}/usr/bin/oo${app}" || die
|
||||
done
|
||||
|
||||
dosym ${INSTDIR}/program/spadmin /usr/bin/ooffice-printeradmin
|
||||
dosym ${INSTDIR}/program/soffice /usr/bin/soffice
|
||||
|
||||
# Non-java weirdness see bug #99366
|
||||
use !java && rm -f "${ED}${INSTDIR}/program/javaldx"
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
|
||||
# remove soffice bin to avoid collision with libreoffice
|
||||
rm -rf "${ED}${EPREFIX}/usr/bin/soffice"
|
||||
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
||||
use gnome && gnome2_icon_savelist
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/${NM}/program/soffice.bin
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://mupdf.com/downloads/${P}-source.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X +curl javascript libressl opengl +openssl static static-libs vanilla"
|
||||
|
||||
LIB_DEPEND="
|
||||
!libressl? ( dev-libs/openssl:0[static-libs?] )
|
||||
libressl? ( dev-libs/libressl[static-libs?] )
|
||||
javascript? ( >=dev-lang/mujs-0_p20160504 )
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/harfbuzz[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/libpng:0[static-libs?]
|
||||
>=media-libs/openjpeg-2.1:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )
|
||||
opengl? ( >=media-libs/glfw-3 )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
REQUIRED_USE="opengl? ( X !static !static-libs )"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9a-CFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-1.9a-debug-build.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-add-desktop-pc-xpm-files.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-Makerules-openssl-curl.patch
|
||||
"${FILESDIR}"/${PN}-1.8-system-glfw.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-heap-overflow.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-null-pointer.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use hppa && append-cflags -ffunction-sections
|
||||
|
||||
rm -rf thirdparty || die
|
||||
|
||||
if has_version ">=media-libs/openjpeg-2.1:2" ; then
|
||||
# Remove a switch, which prevents using shared libraries for openjpeg2.
|
||||
# See http://www.linuxfromscratch.org/blfs/view/cvs/pst/mupdf.html
|
||||
sed '/OPJ_STATIC$/d' -i source/fitz/load-jpx.c
|
||||
fi
|
||||
|
||||
use javascript || \
|
||||
sed -e '/* #define FZ_ENABLE_JS/ a\#define FZ_ENABLE_JS 0' \
|
||||
-i include/mupdf/fitz/config.h
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOT}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || eapply \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch
|
||||
|
||||
sed -e "1iOS = Linux" \
|
||||
-e "1iCC = $(tc-getCC)" \
|
||||
-e "1iLD = $(tc-getCC)" \
|
||||
-e "1iAR = $(tc-getAR)" \
|
||||
-e "1iverbose = yes" \
|
||||
-e "1ibuild = debug" \
|
||||
-e "1iprefix = ${ED}usr" \
|
||||
-e "1ilibdir = ${ED}usr/$(get_libdir)" \
|
||||
-e "1idocdir = ${ED}usr/share/doc/${PF}" \
|
||||
-e "1iHAVE_X11 = $(usex X)" \
|
||||
-e "1iWANT_OPENSSL = $(usex openssl)" \
|
||||
-e "1iWANT_CURL = $(usex curl)" \
|
||||
-e "1iHAVE_MUJS = $(usex javascript)" \
|
||||
-e "1iMUJS_LIBS = $(usex javascript -lmujs '')" \
|
||||
-e "1iMUJS_CFLAGS =" \
|
||||
-e "1iHAVE_GLFW = $(usex opengl yes no)" \
|
||||
-i Makerules || die
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.${PV}
|
||||
my_soname_js_none=libmupdf-js-none.so.${PV}
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB =/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/install/s: COPYING : :" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST libev-4.15.tar.gz 513919 SHA256 b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb SHA512 bb3ab98d92e565bf2273d71c9004b84ad3b305c4e883482392fe6c701949344731bb4e391ac77578f71d9a80f0ec4b6afc2ae5449d4093cdcbee26d7dc17929d WHIRLPOOL 9f3c44e4978c5d387bd6478bc3ce41894f875eef00eb2328dc47ab90683e3003662d6ac5c5406c8592ad3dc690d7768dcfb83d6916b6851d4988a53c20d72b51
|
||||
DIST libev-4.19.tar.gz 524429 SHA256 88fc5f89ca96ceca14c16c10e7be3e921dae65e84932d680c2fd6a40173edccb SHA512 0d1c8707ba0b665b4570a1dc4125d1fd9b0a25f8cad6552cb1fe8a7ea90920b14c15ad3a32806ddcd7efe68bb397dab973b3ee609dac5015c0d76959d850aaf1 WHIRLPOOL d0047ef29b45401f246318ed90c568570c584fe6492498cb12f3ef61e79da5f95acf325b75200b363b7c64fc85a54cc2d3a15d9727c94b8bdcc663cc740ddbe5
|
||||
DIST libev-4.20.tar.gz 530091 SHA256 f870334c7fa961e7f31087c7d76abf849f596e3048f8ed2a0aaa983cd73d449e SHA512 0623f3fd4c8125c90b50d20aec2bd1bb2e42e4853723bb987d6289e588b3e063a002adc0fbcf9ee6a6f6c10eaf317b6aceb5cad139ff92f98af4df9001d901a6 WHIRLPOOL cd2e93c9653c4f8a1856f8ce3c4fd6d78613c4fed7e100d59b35b87b116132166b75baefd488cb32a18961d7dfce7e24293d7c586a4adaa2fb7a719df51bed57
|
||||
DIST libev-4.22.tar.gz 531533 SHA256 736079e8ac543c74d59af73f9c52737b3bfec9601f020bf25a87a4f4d0f01bd6 SHA512 333f03065cec2615054892957cb87f8fe8461f7ac4e9f1e3ce362d3d2c32e62bffb635ec8cf1c0ec348923067c635d795d89eefc02e57395ae6aff27dc3ead3e WHIRLPOOL 38de041c8c86b8229102ce4d68884fbf5f74b261a353acb2f0ccac92e85319357eaa2f4e6023239b8680139ea0a3f9a283d8cad4a1516e0eb8aed8edc5cd25f6
|
||||
DIST libev-4.23.tar.gz 524184 SHA256 c7fe743e0c3b50dd34bf222ebdba4e8acac031d41ce174f17890f8f84eeddd7a SHA512 e3d98364b3788a7f5c56be49b99cecc98da6323fc7e6d47aff808580653ab9effffe88636a2f5d357d596a9a580e778c20139cc162467e3e2c5fc736713c6e39 WHIRLPOOL 4ed45531e316fb9193d91b6b8bd24d678b3ccb310d30df1958a53ed4a49f73940c3a5385b81e94daf7ebd936cb2488cb002e7cda920e66d74f5393608d8118c8
|
||||
DIST libev-4.24.tar.gz 524264 SHA256 973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821 SHA512 e4cb3b5dd4b9828d5b8da840c73ae4604258a8c4330aafa5472298b83bf944628f36918f0ddd47d9069d255639f0b24a2cf8d349f0644ffd50de823bcb54a31a WHIRLPOOL 552c5a4fffc1abba7fcc0cfc4e20a3562fc37fe5704953801397c2720a646b9b5b76bfefd5eb9f1c33f30a4431d02d7ce3938f2bb77b051e095b773a2b4d2d9e
|
||||
|
@ -1,21 +0,0 @@
|
||||
Gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=493050
|
||||
Patch-by: Dennis 'dlan' Lan <dennis.yxun@gmail.com>
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 7ea3ec8..290fce0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,11 +1,12 @@
|
||||
AC_INIT
|
||||
|
||||
+AM_INIT_AUTOMAKE(libev,4.15) dnl also update ev.h!
|
||||
+
|
||||
orig_CFLAGS="$CFLAGS"
|
||||
|
||||
AC_CONFIG_SRCDIR([ev_epoll.c])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
-AM_INIT_AUTOMAKE(libev,4.15) dnl also update ev.h!
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_MAINTAINER_MODE
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A high-performance event loop/event model with lots of feature"
|
||||
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
|
||||
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
|
||||
http://dist.schmorp.de/libev/Attic/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="elibc_glibc static-libs"
|
||||
|
||||
# Bug #283558
|
||||
DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( Changes README )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die
|
||||
|
||||
# bug #411847
|
||||
epatch "${FILESDIR}/${PN}-pc.patch"
|
||||
# bug #493050
|
||||
epatch "${FILESDIR}/${P}-automake-1.14.patch"
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A high-performance event loop/event model with lots of feature"
|
||||
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
|
||||
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
|
||||
http://dist.schmorp.de/libev/Attic/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="elibc_glibc static-libs"
|
||||
|
||||
# Bug #283558
|
||||
DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( Changes README )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die
|
||||
|
||||
# bug #493050
|
||||
sed -i -e "/^AM_INIT_AUTOMAKE/a\ " configure.ac || die
|
||||
|
||||
# bug #411847
|
||||
epatch "${FILESDIR}/${PN}-pc.patch"
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A high-performance event loop/event model with lots of feature"
|
||||
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
|
||||
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
|
||||
http://dist.schmorp.de/libev/Attic/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="elibc_glibc static-libs"
|
||||
|
||||
# Bug #283558
|
||||
DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( Changes README )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die
|
||||
|
||||
# bug #411847
|
||||
epatch "${FILESDIR}/${PN}-pc.patch"
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A high-performance event loop/event model with lots of feature"
|
||||
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
|
||||
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
|
||||
http://dist.schmorp.de/libev/Attic/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="elibc_glibc static-libs"
|
||||
|
||||
# Bug #283558
|
||||
DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( Changes README )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die
|
||||
|
||||
# bug #411847
|
||||
epatch "${FILESDIR}/${PN}-pc.patch"
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST cangjie-1.1.tar.xz 221460 SHA256 97391213ec80f885a5dc8fb9e61f3ab511e8106f3dc924535af41822c0c8ac6f SHA512 ef1acd9fcfb8f3da94fa282c173bd82ed7f827f9b33921689e2a811fc9268dfdc25bec6f53ac448cea85b220790f5816c0ee0e4ed95750afab4312850cc14df2 WHIRLPOOL f28aaef1ae982e9cddb85477c1bbc4d4fad4753fe663d4d25cf593f011c1b3305947795683520152a26e42a60d9aeb09e61cdd71704a4a4af9a716cb1634c771
|
||||
DIST cangjie-1.2.tar.xz 221524 SHA256 bc9115904f65581a11e43044c83e999e583468d1bb98c04b33ea059205e07c10 SHA512 4cc3e0e4a77b671c93fe39f17c970d458d6d935c1efa33f9d8de0a0311ed6c3a444fd41431d553f70f3e96065f8136801128d8b16c86d0340c78ab560bd9e63f WHIRLPOOL 72f3b532bf149df0740fc9d3fd137416cb29a0db81285fd67cd51d3a47d34fd2a32655302a912d5caf8666ef55550d2f84242021163bfff12d5734b2d820f13c
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="The Python bindings to libcangjie"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="http://cangjians.github.io/downloads/pycangjie/cangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-i18n/libcangjie
|
||||
dev-python/cython
|
||||
>=dev-python/cython-0.14"
|
||||
RDEPEND="app-i18n/libcangjie
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl autotools-utils_src_install
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||
|
||||
inherit autotools python-r1
|
||||
|
||||
DESCRIPTION="The Python bindings to libcangjie"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="https://github.com/Cangjians/pycangjie/releases/download/v${PV}/cangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/libcangjie
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cython-022.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myeconf() {
|
||||
ECONF_SOURCE="${S}" econf PYTHON="${PYTHON}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir myeconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
einstalldocs
|
||||
|
||||
# package only installs python modules
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="The Python bindings to libcangjie"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="https://github.com/Cangjians/pycangjie/releases/download/v${PV}/cangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-i18n/libcangjie
|
||||
dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
RDEPEND="app-i18n/libcangjie
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cython-022.patch" )
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl autotools-utils_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nose_warnings_filters-0.1.0.tar.gz 3551 SHA256 198f1fb8d69583e555d565a544fb6817366d8493a783bbba6121a7c0adb8a7bb SHA512 6715d3a84fdaa712dfb10e4f48f874900e979dc58cbc8fdb4728a1589c9f0bec42b831e4896fb935b2ed4b2bde49e08210922ac3cda8fc0f18683b992f1b3dad WHIRLPOOL 1b1b65811e788eb27f67b2c7bbe8ee02a74dd53df8daa1af0d191cfdff8e9504d0885ede89657952d24b37a54bc193218ffa823071677e097040b0e7b32ac6cb
|
||||
DIST nose_warnings_filters-0.1.1.tar.gz 4118 SHA256 5d11dc351e6059cc398351140041377cffa1390097bc1564bdf325005163228c SHA512 fee5acff223077a8f5d753a7d01a77c0c3e2981bac8d4d8a847e1c81d363a945f0487a7237950dae9bd07fb3ee79c7404e512eba7e9987608baf70ec85bc684b WHIRLPOOL 2e826c01f70b9c7e4674fcd02fe1e7f129c5195d13cb55a76ca21d87dd032198599ca18a29d4b28cacef95b2f21c03282c31f7b58b9037b33680dd3e7a038477
|
||||
DIST nose_warnings_filters-0.1.5.tar.gz 3895 SHA256 456c5b2ccca24e1d00a7b558274ebf9318305813dcb9585951a73ae11d76bb9d SHA512 7ada463840bb2e3a1c7e357c231f9c7d4c7ce9f24fe7fe1e33404df41711663c8232001f9a258898f49ce89bb542a942240cf7312ee41bc75f86ca2015378405 WHIRLPOOL bff4646af7733229ecfd2b1926aa9036b4ea2b3d219493bcb3a1f1155bab1dc1c064a9a19a6f1ee4c608eaaa118fbba9ff286f9d915a591e7d1fc7ea2536569b
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python module to inject warning filters during nosetest"
|
||||
HOMEPAGE="https://github.com/Carreau/nose_warnings_filters"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
# nose_warnings_filters doesn't have a proper
|
||||
# testing suite, hence we run the only testing
|
||||
# script available
|
||||
distutils_install_for_testing
|
||||
cd "${TEST_DIR}"/lib || die
|
||||
"${EPYTHON}" "${S}"/${PN}/testing/test_config.py || die "Failed running test script"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST xlwt-0.7.5.tar.gz 115100 SHA256 9478bd70b86590b9ac2697967c8a10a4917d900636349ca73eeb362a3227423c SHA512 d385c36c80002998891dd93d4ebcdd962239463ee089965961d3b8955d4783bbcdec96920891a252ee6cb076eab6b13ffad83e7758c179dcbc684e82fa8dfe35 WHIRLPOOL 46d01a1bcfc5f01585082bf3ff8750cecd7ce87b5ebe279a3d9377c8c7e272f070cb28d430285c900d0e2389469097088b6126932c76f3778b274b86696f6adc
|
||||
DIST xlwt-1.0.0.tar.gz 129588 SHA256 ac432939eec8daa9f88af994ff53f009e607a4e1102772ec0be0b2a86b2c1cf9 SHA512 45788a506635f1ef6380d46aa0af724e511e401e8347dcf48dbf4e2d90e7f4c7f66838cd9616cf58807ffb939daba1f47b0d2cf449f8cb528db41fba84cc8866 WHIRLPOOL d3d344faae89fad012f05fe5b19e5ce16dd144016abf7ea15123a9725c77a732e85d93131c692dbcaf306cdc8d1b06efcaf39227265c612200107d2c20541132
|
||||
DIST xlwt-1.1.2.tar.gz 153374 SHA256 aed648c17731f40f84550dd2a1aaa53569f0cbcaf5610ba895cd2632587b723c SHA512 dfe27e1415bd9ebe83b41f45fe8f08396269d4075014bacb7e59384aa8bea0e5479e0a4874fc727ab00c8c8ee44a17f9af8736f78a30db76b7330e79a1942cc3 WHIRLPOOL b44468558b39d3819a75ab1c6b9db8a66fd6fd8e1bfe9bd23661788dc77796bf3788405d386ff191f27b10b361757a5bfc94e8bb4f895bdc85bc18fb9350a5a4
|
||||
DIST xlwt-1.2.0.tar.gz 153909 SHA256 505669c1eb6a60823fd3e2e723b60eea95f2c56254113bf163091ed2bedb4ac9 SHA512 e0be61f6a54ac39c91cf03a1a7535c464045539f6a040f000921815e3280bd341770d72f4353891a10dde7c1b51eab4ccb1ae1c10bbf779108346fba8484eef8 WHIRLPOOL 645746c311d8d2b55022368fd8d5baedf4771d66000baaf0f3eda57241c8c1c1d51bed9fb33e85398d9b79803b8a6a350a10d3abb74bdafc8de0e4408771a38f
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/xlwt"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/pkginfo[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Prevent d'loading in the doc build
|
||||
PATCHES=( "${FILESDIR}"/docbuild.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Don't install documentation and examples in site-packages directories.
|
||||
sed -e "/package_data/d" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "tests failed under ${EPYTHON}}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST css_parser-1.4.6.tar.gz 25922 SHA256 d00522d5a5e116253586e9c45411ea72ed495589cf14254930c67a03dda5012b SHA512 300147893671948603ebd696449235997088cce588b57b6fb59acc2e190bf1c8ddd98c6e59cd41b157807b2cca3cc8edd3aa1c352e1865d3f5f6238a4d13cd01 WHIRLPOOL a912f1b4d9277c436b37aa2aae66f1f7e9c724373239ad7d0e7a357e917afe5ab42bb06e335871f744049611c3966b53b3f098a457ef84694f975a86ab37aaee
|
||||
DIST css_parser-1.4.7.tar.gz 25916 SHA256 2a0a502c80e76784e7d5b162a64d8d4da04653a4491aba39f5f2f548fab27c87 SHA512 f45ae04af3d78ae956392fc478cea3ccfece378acb9e169ffd29a24e3f1ed208cddf1d6d2cb5e0ce12780bd5e0dda12032d920b4cc11e2b3f25b08b3aeb92af8 WHIRLPOOL c9fd1d175d0db7135e814cf0b7205d965fa6a292d47ec4390a581ecde9ac14c6bd6cf0e87e554f8207cdd158d7250ea09fca1380a9fb6d978e86c7fb1255b1be
|
||||
DIST css_parser-1.4.10.tar.gz 26718 SHA256 97e3939c705354a99041b4a741e0e91ed6ac85898fb31bc03ac9e9fb22297fec SHA512 ad48200cd9f6fd36d1b13e8699098380c7d74e5349ed1a6aa294615800689a2959f7a91acff9679a630f525d0141f40aaade498570de4f296333c9525b0f1c22 WHIRLPOOL 736b4d43835e7bd12cb7f987a20dee33cc33907239d58e3bab0615e47d36bc6acfb9a086f2126626af7aad4c0b800a04d9c7b1c9723261d5433a30ee7c198754
|
||||
DIST css_parser-1.4.8.tar.gz 26267 SHA256 62d11ff2b6f27c3658df56da4e98bbc60b4b8cea085b50ef0c6b47046e63c743 SHA512 b311ecbaef5fe4939bd9a947477597a60edb9ac184a36d67bc8d008ac085bd74acbe82e28a4d92b043d855c5881e85245d0a1a2d322ab2a82ca9ea651555b3ef WHIRLPOOL cbf4fb580a8be0922b48cee3b36abb6e0b2eee25aee5e470db223cb31f5da1fc90d937bd5f7930c9a3af9d1f4eb9cd6a5005a9aadd24d1e200425c181352dd8d
|
||||
DIST css_parser-1.4.9.tar.gz 26405 SHA256 2b90c7b4caedc8b15f05e90ed032ff0fa8c1a172ed5c270a04b2206980d06920 SHA512 bf5d053767d56253151786db7915feb1a2c7daf08702ff8d4d431d65f8b3e16ead59055866dd6bf239dfb68e37f35f1578ed4c850bf37e6ba395ea5e53a2f51a WHIRLPOOL 8e958c83eb7f79560c4b31558806d83b7394d9a2ae6eabf7f04f6d5587d3d59a6ab8c4212e46384b78bb6116a572ed6a9860c32a33b9c1357c94630f5caeace5
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOC_DIR="doc"
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOC_DIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md "
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="premailer"
|
||||
GITHUB_PROJECT="${PN}"
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Sass-based Stylesheet Framework"
|
||||
HOMEPAGE="http://compass-style.org/ https://github.com/premailer/css_parser/"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/addressable
|
||||
virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/maxitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# get rid of bundler usage
|
||||
rm Gemfile || die
|
||||
sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die
|
||||
sed -i -e '/bundler/d' test/test_helper.rb || die
|
||||
# Avoid tests using the network.
|
||||
sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/*.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST logging-2.1.0.gem 83456 SHA256 34a0c16415a587c434e1f0d7ac5de9805d33de6e2636d5edc5c0765a7603f3a9 SHA512 e8aad48ef24f8f70fad2aa4d78c25cb675b8c65ea883e14f6e2697af79111de38bced389d2f20d5699bc722274268ddac835c34f89884ea0aee86571a7ca1b55 WHIRLPOOL b397dd205edcf8765aa27b276bd923bf0e1db78e7979f388778e44fc185e6fb53ea021de89a53bd7a9528207647173b305ef8234ca29b2de745311219aa37e46
|
||||
DIST logging-2.2.0.gem 86016 SHA256 827284d29d5a3080ef5415ea78dbb860d2ec02e7eaa93abe720b6a8d600bbeb5 SHA512 738960cf51554bbf1045f63882351bf2d471e6e362f3b391d6063319c8e875c80a9c9e6e9edfce6060f44bf27d31a4a51d386f68d293e2b7036e34f76759db33 WHIRLPOOL f49c1b02d4c367e3905e670e4c737d2c50641e2c8f73ad305b4160aa77875ffe497fce2398481c9ce3465a787b7be0f32fef719c12d5a11c9cc36c1667937ad4
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RAKE_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Flexible logging library based on the design of Java's log4j library"
|
||||
HOMEPAGE="https://rubygems.org/gems/logging"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/little-plugger-1.1.3 >=dev-ruby/multi_json-1.10"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/bones test? ( dev-ruby/flexmock )"
|
@ -0,0 +1,31 @@
|
||||
From a660e3de422731b94d4a134d27555430cbb6fb39 Mon Sep 17 00:00:00 2001
|
||||
From: Werner Lemberg <wl@gnu.org>
|
||||
Date: Fri, 26 Aug 2016 00:23:27 +0200
|
||||
Subject: [PATCH] [type1] Fix heap buffer overflow.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36
|
||||
|
||||
* src/type1/t1load.c (parse_charstrings): Reject fonts that don't
|
||||
contain glyph names.
|
||||
---
|
||||
diff --git a/src/type1/t1load.c b/src/type1/t1load.c
|
||||
index c981adcf..f8bf3132 100644
|
||||
--- a/src/type1/t1load.c
|
||||
+++ b/src/type1/t1load.c
|
||||
@@ -1776,6 +1776,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ if ( !n )
|
||||
+ {
|
||||
+ error = FT_THROW( Invalid_File_Format );
|
||||
+ goto Fail;
|
||||
+ }
|
||||
+
|
||||
loader->num_glyphs = n;
|
||||
|
||||
/* if /.notdef is found but does not occupy index 0, do our magic. */
|
||||
--
|
||||
2.12.0
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic libtool multilib multilib-build multilib-minimal toolchain-funcs
|
||||
|
||||
INFINALITY_PATCH="03-infinality-2.6.3-2016.03.26.patch"
|
||||
|
||||
DESCRIPTION="A high-quality and portable font engine"
|
||||
HOMEPAGE="http://www.freetype.org/"
|
||||
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
|
||||
mirror://nongnu/freetype/${P/_/}.tar.bz2
|
||||
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2
|
||||
mirror://nongnu/freetype/ft2demos-${PV}.tar.bz2 )
|
||||
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2
|
||||
mirror://nongnu/freetype/${PN}-doc-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="|| ( FTL GPL-2+ )"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="X +adobe-cff bindist bzip2 +cleartype_hinting debug doc fontforge harfbuzz
|
||||
infinality png static-libs utils"
|
||||
RESTRICT="!bindist? ( bindist )" # bug 541408
|
||||
|
||||
CDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
harfbuzz? ( >=media-libs/harfbuzz-0.9.19[truetype,${MULTILIB_USEDEP}] )
|
||||
png? ( >=media-libs/libpng-1.2.51:=[${MULTILIB_USEDEP}] )
|
||||
utils? (
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdmcp-1.1.1-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
abi_x86_32? ( utils? ( !app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ) )"
|
||||
PDEPEND="infinality? ( media-libs/fontconfig-infinality )"
|
||||
|
||||
PATCHES=(
|
||||
# This is the same as the 01 patch from infinality
|
||||
"${FILESDIR}"/${PN}-2.7-enable-valid.patch
|
||||
|
||||
"${FILESDIR}"/${PN}-2.4.11-sizeof-types.patch # 459966
|
||||
|
||||
# patches from upstream (can be removed with the next version bump)
|
||||
"${FILESDIR}"/${P}-pcf_fix.patch #606688
|
||||
"${FILESDIR}"/${P}-glyph_name.patch #612192
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
enable_option() {
|
||||
sed -i -e "/#define $1/ { s:/\* ::; s: \*/:: }" \
|
||||
include/${PN}/config/ftoption.h \
|
||||
|| die "unable to enable option $1"
|
||||
}
|
||||
|
||||
disable_option() {
|
||||
sed -i -e "/#define $1/ { s:^:/* :; s:$: */: }" \
|
||||
include/${PN}/config/ftoption.h \
|
||||
|| die "unable to disable option $1"
|
||||
}
|
||||
|
||||
default
|
||||
|
||||
# Will be the new default for >=freetype-2.7.0
|
||||
disable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
|
||||
|
||||
if use infinality && use cleartype_hinting; then
|
||||
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )"
|
||||
elif use infinality; then
|
||||
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 1"
|
||||
elif use cleartype_hinting; then
|
||||
enable_option "TT_CONFIG_OPTION_SUBPIXEL_HINTING 2"
|
||||
fi
|
||||
|
||||
if ! use bindist; then
|
||||
# See http://freetype.org/patents.html
|
||||
# ClearType is covered by several Microsoft patents in the US
|
||||
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
fi
|
||||
|
||||
if ! use adobe-cff; then
|
||||
enable_option CFF_CONFIG_OPTION_OLD_ENGINE
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
enable_option FT_DEBUG_LEVEL_TRACE
|
||||
enable_option FT_DEBUG_MEMORY
|
||||
fi
|
||||
|
||||
if use utils; then
|
||||
cd "${WORKDIR}/ft2demos-${PV}" || die
|
||||
# Disable tests needing X11 when USE="-X". (bug #177597)
|
||||
if ! use X; then
|
||||
sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die
|
||||
fi
|
||||
cd "${S}" || die
|
||||
fi
|
||||
|
||||
# we need non-/bin/sh to run configure
|
||||
if [[ -n ${CONFIG_SHELL} ]] ; then
|
||||
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \
|
||||
"${S}"/builds/unix/configure || die
|
||||
fi
|
||||
|
||||
elibtoolize --patch-only
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
type -P gmake &> /dev/null && export GNUMAKE=gmake
|
||||
|
||||
local myeconfargs=(
|
||||
--enable-biarch-config
|
||||
--enable-shared
|
||||
$(use_with bzip2)
|
||||
$(use_with harfbuzz)
|
||||
$(use_with png)
|
||||
$(use_enable static-libs static)
|
||||
|
||||
# avoid using libpng-config
|
||||
LIBPNG_CFLAGS="$($(tc-getPKG_CONFIG) --cflags libpng)"
|
||||
LIBPNG_LDFLAGS="$($(tc-getPKG_CONFIG) --libs libpng)"
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use utils; then
|
||||
einfo "Building utils"
|
||||
# fix for Prefix, bug #339334
|
||||
emake \
|
||||
X11_PATH="${EPREFIX}/usr/$(get_libdir)" \
|
||||
FT2DEMOS=1 TOP_DIR_2="${WORKDIR}/ft2demos-${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use utils; then
|
||||
einfo "Installing utils"
|
||||
rm "${WORKDIR}"/ft2demos-${PV}/bin/README || die
|
||||
local ft2demo
|
||||
for ft2demo in ../ft2demos-${PV}/bin/*; do
|
||||
./libtool --mode=install $(type -P install) -m 755 "$ft2demo" \
|
||||
"${ED}"/usr/bin || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use fontforge; then
|
||||
# Probably fontforge needs less but this way makes things simplier...
|
||||
einfo "Installing internal headers required for fontforge"
|
||||
local header
|
||||
find src/truetype include/freetype/internal -name '*.h' | \
|
||||
while read header; do
|
||||
mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die
|
||||
cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die
|
||||
done
|
||||
fi
|
||||
|
||||
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,INSTALL.UNIX,*.txt,PROBLEMS,TODO}
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r docs/*
|
||||
fi
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST greatest-1.2.1.tar.gz 19792 SHA256 e3c1211ec5dfea61092833bca56c6a14620ac23aa0d53940d99943587cbe1677 SHA512 c17162fa222c84fef7826ba5202aae573d516a71bc2c59c8991db2a76f7069ed53d00aaab1b792e0c7e4243fae38183764c2e7ae0a61faf2ff13e78b29ccc211 WHIRLPOOL b4e01659539e02224d5396609ba73715eca1391e9da165ac22cf28f25c13cf89a9c4059cfe3f88e1d88d06e35153f7d1d3e012433b9b4f4deaa2a464e6d6b7ca
|
||||
DIST kvazaar-0.8.3.tar.gz 429852 SHA256 a5cebc313bc2edcf631684e67c33227e56d803bfbc940cf8c2f3906b4f543a12 SHA512 7de2c311c75b77d1f9a95f1de79212560b86bd6f8d7ae743240ff33cec52ecb2837be7984f12fe617560445838381ada245196bf1bf67eeb3861f025998fdf60 WHIRLPOOL 1fdcf9835aca8a4d4261c184e957abcc4fa21df5e3d0520a63e95dfc800d086dc6ae5f70fc4110db232a013f84205230f1c5e2043f57db21cc100b33ef504d05
|
||||
DIST kvazaar-1.0.0.tar.gz 473495 SHA256 40eb7b4b23897299e99050f0c011e9380cf898b25615dd143f018b278b972a46 SHA512 94939e9560e82543c0f3a8de6f45e228156544b56cc3ce813385e24d52f5a7b65950f6f752344930951440255ca96c06e93e87ff9e721d7c63d82a7a5714c340 WHIRLPOOL ed0c6332c5a1efa88b569845f2cb5436881c3866e381369d770a3393d61e37605ad5c114dcbdae424035f451ceea5ab1ee0787769c9bf44fc44bbd2815e87ed7
|
||||
DIST kvazaar-1.1.0.tar.gz 484601 SHA256 8e382738a51004bfcfca4c832e8b41fe6a17f889f3c39151dc1c1a37261a3a6d SHA512 72cee44e32c76c0a94acf33347457145d3f88d644fb4703588d0db6bff1c7064c9b623034efe4ba39219150767012544e4f45141b6a6183d41e4a29c6cb258b9 WHIRLPOOL c37df11389c237af2c31cfcdbb6244c7e87f4d95f5550ee46e5f27c6eca39dd0328aaa81fbef3d555fc869072ac2226efb71566b7ca7ddda11bab3508d1f2caf
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
|
||||
GREATEST_PV="1.2.1"
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ultravideo/kvazaar"
|
||||
fi
|
||||
|
||||
inherit eutils multilib autotools multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="An open-source HEVC encoder"
|
||||
HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar"
|
||||
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
# subslot = libkvazaar major
|
||||
SLOT="0/3"
|
||||
IUSE="static-libs test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
REQUIRED_USE="test? ( static-libs )"
|
||||
|
||||
ASM_DEP=">=dev-lang/yasm-1.2.0"
|
||||
DEPEND="${DEPEND}
|
||||
abi_x86_32? ( ${ASM_DEP} )
|
||||
abi_x86_64? ( ${ASM_DEP} )"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
if use test && [ "${PV#9999}" = "${PV}" ]; then
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=595932
|
||||
rmdir "${S}/greatest" || die
|
||||
mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--docdir "/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
--- a/jack_freedb.py
|
||||
+++ b/jack_freedb.py
|
||||
@@ -46,6 +46,12 @@
|
||||
'mail': "freedb-submit@freedb.org",
|
||||
'my_mail': "default"
|
||||
},
|
||||
+ 'musicbrainz': {
|
||||
+ 'host': "freedb.musicbrainz.org",
|
||||
+ 'id': prog_name + " " + prog_version,
|
||||
+ 'mail': "",
|
||||
+ 'my_mail': "default"
|
||||
+ },
|
||||
}
|
||||
|
||||
def interpret_db_file(all_tracks, freedb_form_file, verb, dirs = 0, warn = None):
|
@ -0,0 +1,12 @@
|
||||
--- a/jack_functions.py
|
||||
+++ b/jack_functions.py
|
||||
@@ -219,9 +219,9 @@
|
||||
ff = blocks % CDDA_BLOCKS_PER_SECOND
|
||||
return mm, ss, ff, blocks
|
||||
|
||||
-def starts_with(str, with):
|
||||
- "checks whether str starts with with"
|
||||
- return str[0:len(with)] == with
|
||||
+def starts_with(str, withstr):
|
||||
+ "checks whether str starts with withstr"
|
||||
+ return str[0:len(withstr)] == withstr
|
@ -0,0 +1,47 @@
|
||||
--- a/jack_t_curses.py
|
||||
+++ b/jack_t_curses.py
|
||||
@@ -35,11 +35,9 @@
|
||||
try:
|
||||
from jack_curses import endwin, resizeterm, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak
|
||||
except ImportError:
|
||||
- warning("jack_curses module not found, trying normal curses...")
|
||||
+ info("jack_curses module not found, using normal curses...")
|
||||
try:
|
||||
- from curses import endwin, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak
|
||||
- def resizeterm(y, x):
|
||||
- pass
|
||||
+ from curses import endwin, resizeterm, A_REVERSE, newwin, newpad, initscr, noecho, cbreak, echo, nocbreak
|
||||
except ImportError:
|
||||
print "curses module not found or too old, please install it (see README)"
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
"""Setup script for the jack module distribution."""
|
||||
|
||||
-from distutils.core import setup, Extension
|
||||
+from distutils.core import setup
|
||||
|
||||
setup( # Distribution meta-data
|
||||
name = "jack",
|
||||
@@ -11,11 +11,7 @@
|
||||
author = "Arne Zellentin",
|
||||
author_email = "zarne@users.sf.net",
|
||||
url = "http://www.home.unix-ag.org/arne/jack/",
|
||||
-
|
||||
- # Description of the modules and packages in the distribution
|
||||
- ext_modules = [ Extension('jack_cursesmodule',
|
||||
- ['cursesmodule/jack_cursesmodule.c'], libraries=["ncurses"],
|
||||
- extra_compile_args=["-Wno-strict-prototypes"]) ],
|
||||
+ scripts=['jack'],
|
||||
|
||||
py_modules = [ 'jack_CDTime', 'jack_TOC', 'jack_TOCentry', 'jack_argv',
|
||||
'jack_checkopts', 'jack_children', 'jack_config', 'jack_constants',
|
||||
@@ -26,6 +22,3 @@
|
||||
'jack_ripstuff', 'jack_status', 'jack_t_curses', 'jack_t_dumb', 'jack_tag',
|
||||
'jack_targets', 'jack_term', 'jack_utils', 'jack_version', 'jack_workers']
|
||||
)
|
||||
-
|
||||
-print "If you have installed the modules, copy jack to some place in your $PATH,"
|
||||
-print "like /usr/local/bin/."
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A frontend for several cd-rippers and mp3 encoders"
|
||||
HOMEPAGE="http://www.home.unix-ag.org/arne/jack/"
|
||||
SRC_URI="http://www.home.unix-ag.org/arne/jack/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cddb-py[${PYTHON_USEDEP}]
|
||||
dev-python/id3-py[${PYTHON_USEDEP}]
|
||||
dev-python/pyid3lib[${PYTHON_USEDEP}]
|
||||
dev-python/pyvorbis[${PYTHON_USEDEP}]
|
||||
media-libs/flac
|
||||
media-sound/lame
|
||||
media-sound/cdparanoia"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.1.1-python26.patch"
|
||||
"${FILESDIR}/${PN}-3.1.1-setup-and-cursesmodule.patch"
|
||||
"${FILESDIR}/${PN}-3.1.1-add-cddbserver-musicbrainz.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
insinto /etc
|
||||
newins example.etc.jackrc jackrc
|
||||
|
||||
newman jack.man jack.1
|
||||
|
||||
local DOCS=( README doc/ChangeLog doc/TODO )
|
||||
local HTML_DOCS=( doc/*.{html,css,gif} )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,8 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sound@gentoo.org</email>
|
||||
<name>Gentoo Sound project</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>martin.dummer@gmx.net</email>
|
||||
<name>Martin Dummer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sound@gentoo.org</email>
|
||||
<name>Gentoo Sound project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
Fri, 10 Mar 2017 06:39:19 +0000
|
||||
Fri, 10 Mar 2017 13:09:25 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 10 Mar 2017 06:39:20 +0000
|
||||
Fri, 10 Mar 2017 13:09:25 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue