Sync with portage [Thu Nov 26 22:58:51 MSK 2015].

mhiretskiy 130
root 9 years ago
parent 43940aa39b
commit ccaf42ca89

@ -1,2 +1 @@
DIST accerciser-3.12.0.tar.xz 3212432 SHA256 0d421a59cd294966441fb6591d34f28e4b60340815bdf91c9e8f39c2d826e96b SHA512 d15d301f7579a92e3b3aa65d22fd726d71bee8330b450c7ed232d4a8d7fc312402573073f67a490ab659122ad98651f8a073235770caa9eba8a4b6dc9d68e6d3 WHIRLPOOL 4b753de73afc1c8fda7d71a8b6f8007ebb4627985a6049be887d8e916f4e37c3a5484a481d8e516a1d4cc245e987ed29a2a87c2780b882bced032f5d2d14d5d6
DIST accerciser-3.14.0.tar.xz 3213916 SHA256 f5a5915d475e9241396414ccd167724c88807e77e69151cf0b40b32bd57d0574 SHA512 bafc30e15fe0121f8abc64239e48834ab06a03fe64fc368a221d167a13079721962441e0343f17934dde57cd012c9132374739297c23c79c567fc36cc60fb07d WHIRLPOOL 4b9679145ad1ad7f8d059dfdfb12d372c1b27780532a7c19cc25b66bbe0a13db5b864548e332b74e0327eebb488622ae471514046737b738c15624969d8df7a8

@ -1,67 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python{3_3,3_4} )
PYTHON_REQ_USE="xml"
inherit gnome2 python-r1
DESCRIPTION="Interactive Python accessibility explorer"
HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser"
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=app-accessibility/at-spi2-core-2.5.2:2
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
>=x11-libs/gtk+-3.1.13:3[introspection]
dev-libs/atk[introspection]
>=dev-libs/glib-2.28:2
dev-libs/gobject-introspection
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
x11-libs/gdk-pixbuf[introspection]
x11-libs/libwnck:3[introspection]
x11-libs/pango[introspection]
${PYTHON_DEPS}
"
DEPEND="${RDEPEND}
app-text/yelp-tools
>=dev-util/intltool-0.35
sys-devel/gettext
virtual/pkgconfig
"
src_prepare() {
gnome2_src_prepare
# Leave shebang alone
sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
python_copy_sources
}
src_configure() {
python_foreach_impl run_in_build_dir gnome2_src_configure \
ITSTOOL=$(type -P true)
}
src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
}
src_install() {
installing() {
gnome2_src_install
python_doscript src/accerciser
}
python_foreach_impl run_in_build_dir installing
}

@ -1,67 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python3_3 )
PYTHON_REQ_USE="xml"
inherit gnome2 python-r1
DESCRIPTION="Interactive Python accessibility explorer"
HOMEPAGE="https://live.gnome.org/Accerciser"
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
>=app-accessibility/at-spi2-core-2.5.2:2
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
>=x11-libs/gtk+-3.1.13:3[introspection]
dev-libs/atk[introspection]
>=dev-libs/glib-2.28:2
dev-libs/gobject-introspection
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
x11-libs/gdk-pixbuf[introspection]
x11-libs/libwnck:3[introspection]
x11-libs/pango[introspection]
${PYTHON_DEPS}
"
DEPEND="${RDEPEND}
app-text/yelp-tools
>=dev-util/intltool-0.35
sys-devel/gettext
virtual/pkgconfig
"
src_prepare() {
gnome2_src_prepare
# Leave shebang alone
sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
python_copy_sources
}
src_configure() {
python_foreach_impl run_in_build_dir gnome2_src_configure \
ITSTOOL=$(type -P true)
}
src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
}
src_install() {
installing() {
gnome2_src_install
python_doscript src/accerciser
}
python_foreach_impl run_in_build_dir installing
}

@ -1,3 +1,2 @@
DIST at-spi2-core-2.14.1.tar.xz 456272 SHA256 eef9660b14fdf0fb1f30d1be7c72d591fa7cbb87b00ca3a444425712f46ce657 SHA512 263f2353961787b510a22ede6243ebd6f9eba7fe00740b252ba372e78a2b4a20bd6ed1a9f509b2e33342fc5516d1e8b95f886573d51962755e51584771ac86b9 WHIRLPOOL 54d02cd41f1039c3b166c01215d983b768011c99b81831fc3256a4dde66b3a2fbff7b0fafa4958bbce367fee164c5f5c90531de11f57d65a1972af009b5afd62
DIST at-spi2-core-2.16.0.tar.xz 455264 SHA256 1c0b77fb8ce81abbf1d80c0afee9858b3f9229f673b7881995fe0fc16b1a74d0 SHA512 b61cb6dad15e2a6f6cd4788e6b63fed37d0098a56d1417b43aed2ba111a7dd7fccbe7c393f0be794bcaf900f38decbd3974c36e395548000d429086f8717df57 WHIRLPOOL 556c504ba9aef2e4ad2b63e3b4d0417ce24a49fafd45287cf3d669612c2d23058f3e7b373a69a569d63938a0333b62d5c601e8a0f1f4b78d0252bea4b64ede3e
DIST at-spi2-core-2.18.3.tar.xz 451408 SHA256 ada26add94155f97d0f601a20cb7a0e3fd3ba1588c3520b7288316494027d629 SHA512 89abc660b49ca690a027709da4e6ed75d84f6c2dae691a0428057da0514f4c7f1f49b946f19c17c6ea402a0f1c9a236921efedb05865756c71beca29a0fbd6f2 WHIRLPOOL eeff01c9859c6e260ac8de5adf3caa69551523c0247659cc657b1885f175120bad7dc69b47b94c9ad78db14fe44011a6caf973a3b053aed64c1cc99dac863ddf

@ -1,65 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit eutils gnome2 multilib-minimal
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
HOMEPAGE="https://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
IUSE="+X +introspection"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
# x11-libs/libSM is needed until upstream #719808 is solved either
# making the dep unneeded or fixing their configure
# Only libX11 is optional right now
COMMON_DEPEND="
>=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
>=sys-apps/dbus-1[${MULTILIB_USEDEP}]
x11-libs/libSM[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-gtklibs-20140508-r3
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
)
"
DEPEND="${COMMON_DEPEND}
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.40
virtual/pkgconfig[${MULTILIB_USEDEP}]
"
src_prepare() {
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
gnome2_src_prepare
}
multilib_src_configure() {
# xevie is deprecated/broken since xorg-1.6/1.7
ECONF_SOURCE=${S} \
gnome2_src_configure \
--disable-xevie \
$(multilib_native_use_enable introspection) \
$(use_enable X x11)
# work-around gtk-doc out-of-source brokedness
if multilib_is_native_abi; then
ln -s "${S}"/doc/libatspi/html doc/libatspi/html || die
fi
}
multilib_src_compile() { gnome2_src_compile; }
multilib_src_install() { gnome2_src_install; }

@ -1,3 +1,2 @@
DIST orca-3.16.2.tar.xz 2078728 SHA256 cd14b28878cc04166ec43c7d9a8e6b0056c66cbfb1e4f934f12f74568937789a SHA512 768628c4630d84929a8a2b12b73771de7b104b1754e9462b1fe63c2bbadca192e56416a1e2a43ad5f5594c91a4fe94941d2deb1e44cccaf253d4f03704f31ee1 WHIRLPOOL eea3f9a1a0b1aebb4ca3a6da1a5cf016b1ea6d042c4e8e1b7275325cd08e77c6a7c6519048651ace34ef10d69c22663e9009dab20502ff3fca7d6c6c9a888c9a
DIST orca-3.16.3.tar.xz 2124800 SHA256 540deeaa1a973cc7ccc8a463f8fcf51db51f7ccfb130bc2019ac53bf67943dc7 SHA512 c579437d956bee014db61aeb7494a295345e28a147a938a71a8062c30de67fcff3767c5ea8767067ce5f2f5ff84c0aaf2fc250730e4a7036ae100078fd6f058f WHIRLPOOL 839b3c7170f2fd44fa5b97cfd9ed6989dd94721d379d21428a166b8321fb5162a56f758327df0ea632bf320711362b0e03916358d023fba8dffec2a36f62b970
DIST orca-3.18.2.tar.xz 2213548 SHA256 986244af7a0891b758eb8e772bc61d72483808e7e9c790360f9f389045d7262a SHA512 ec1210cea7a540bd931f7ede45c173829e780a4da4e61245920d15bb11b62d803771e32b791b2d0c307e15a8ef61b619b5e79e9909bf438a94252842a0dd8613 WHIRLPOOL 31475d1eacbf322cdd49d286c3585d97c93de08f92b0533fa58905d4ea089272bc16e8bb748041cc6f27dd54c19996b3d72993c5b148b3c8e6c873f9e452fe98

@ -1,77 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_COMPAT=( python3_{3,4} )
PYTHON_REQ_USE="threads"
inherit gnome2 python-r1
DESCRIPTION="Extensible screen reader that provides access to the desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="+braille"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# liblouis is not in portage yet
# it is used to provide contracted braille support
# XXX: Check deps for correctness
COMMON_DEPEND="${PYTHON_DEPS}
>=app-accessibility/at-spi2-atk-2.10:2
>=app-accessibility/at-spi2-core-2.10:2[introspection]
>=dev-libs/atk-2.10
>=dev-libs/glib-2.28:2
>=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}]
>=x11-libs/gtk+-3.6.2:3[introspection]
braille? (
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
dev-libs/liblouis[python,${PYTHON_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
dev-libs/atk[introspection]
dev-python/pyatspi[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
x11-libs/libwnck:3[introspection]
x11-libs/pango[introspection]
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.50
virtual/pkgconfig
"
# app-text/yelp-tools
src_prepare() {
gnome2_src_prepare
python_copy_sources
}
src_configure() {
python_foreach_impl run_in_build_dir gnome2_src_configure \
ITSTOOL="$(type -P true)" \
$(use_with braille liblouis)
}
src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
}
src_install() {
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
installing() {
gnome2_src_install
# Massage shebang to make python_doscript happy
sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \
-i src/orca/orca || die
python_doscript src/orca/orca
}
python_foreach_impl run_in_build_dir installing
}

@ -10,9 +10,11 @@ AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils eutils flag-o-matic linux-info readme.gentoo systemd user
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
HOMEPAGE="https://netfilter.org/projects/ulogd/index.html"
SRC_URI="
https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
"
LICENSE="GPL-2"
SLOT="0"

@ -9,9 +9,11 @@ AUTOTOOLS_AUTORECONF=1
inherit autotools-utils eutils flag-o-matic linux-info readme.gentoo systemd user
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
HOMEPAGE="https://netfilter.org/projects/ulogd/index.html"
SRC_URI="
https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
"
LICENSE="GPL-2"
SLOT="0"
@ -42,9 +44,10 @@ DEPEND="${RDEPEND}
)
"
DOCS=( AUTHORS README TODO )
PATCHES=( "${FILESDIR}/${P}-remove-db-automagic.patch" )
DOCS=( AUTHORS README TODO )
DOC_CONTENTS="
You must have at least one logging stack enabled to make ulogd work.
Please edit example configuration located at /etc/ulogd.conf
@ -81,7 +84,7 @@ src_prepare() {
sed -i \
-e 's:var/log:var/log/ulogd:g' \
-e 's:tmp:run:g' \
ulogd.conf.in || die 'sed on ulogd.conf.in failed'
ulogd.conf.in || die
append-lfs-flags
autotools-utils_src_prepare
@ -126,12 +129,13 @@ src_install() {
use mysql && dodoc doc/mysql-*.sql
use postgres && dodoc doc/pgsql-*.sql
use sqlite && dodoc doc/sqlite3.table
doman ${PN}.8
insinto /etc
doins "${BUILD_DIR}/${PN}.conf"
fowners root:ulogd /etc/ulogd.conf
fperms 640 /etc/ulogd.conf
fowners root:ulogd /etc/${PN}.conf
fperms 640 /etc/${PN}.conf
newinitd "${FILESDIR}/${PN}.init-r2" ${PN}
systemd_newunit "${FILESDIR}/${PN}.service-r1" ${PN}.service

@ -14,7 +14,7 @@ SRC_URI="http://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="qt4"
RDEPEND="${PYTHON_DEPS}

@ -1,2 +1 @@
DIST brasero-3.12.0.tar.xz 3652832 SHA256 68fef2699b772fa262d855dac682100dbfea05563a7e4056eff8fe6447aec2fc SHA512 d8e40bc505d7bb77b1c74914895a8ccfd2a8773e5a86fe0d4ae2625710fc56a654cf125e7799d4bd1e4d38e1d8a255de3c9f028ce1b770c163dff2033fb662d2 WHIRLPOOL adc1d3d773679a1ca0b76031a8065d8e2d7447eb94db595bfbe5e33226b5f189166781b33718337f489baf9fbb9e1d0adc14410a0c2060aeeebe073020f82029
DIST brasero-3.12.1.tar.xz 3683836 SHA256 9a5eea53e57b66de3c7c8c2393ac21a58d5afa81c6cfb16b3c7f010a3d147127 SHA512 c9a78b9bc627f4420f5cf70825aa8de6e42497e63e293a0382916c9cd1a2bb3ae0beb2b95b624b7203ab17dfd8c8bb10c18c16848079b82077663abe34674eda WHIRLPOOL d7a5cd528d2c7ab37c5adeaf894646c989a29d806f6384e3a3cbcc6044785905f80907b9dec32e8228ade8558c227fe6ecbccf4bc0871e6d7a1581300a0e0550

@ -1,80 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit gnome2
DESCRIPTION="CD/DVD burning application for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Apps/Brasero"
LICENSE="GPL-2+ CC-BY-SA-3.0"
SLOT="0/3.1" # subslot is 3.suffix of libbrasero-burn3
IUSE="+css +introspection +libburn mp3 nautilus packagekit playlist test tracker"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.29.14:2
>=x11-libs/gtk+-3:3[introspection?]
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
>=dev-libs/libxml2-2.6:2
>=x11-libs/libnotify-0.6.1:=
media-libs/libcanberra[gtk3]
x11-libs/libICE
x11-libs/libSM
introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
libburn? (
>=dev-libs/libburn-0.4:=
>=dev-libs/libisofs-0.6.4:= )
nautilus? ( >=gnome-base/nautilus-2.91.90 )
playlist? ( >=dev-libs/totem-pl-parser-2.29.1:= )
tracker? ( >=app-misc/tracker-0.12:0= )
"
RDEPEND="${COMMON_DEPEND}
media-libs/gst-plugins-good:1.0
media-plugins/gst-plugins-meta:1.0
x11-themes/hicolor-icon-theme
css? ( media-libs/libdvdcss:1.2 )
!libburn? (
app-cdr/cdrdao
app-cdr/dvd+rw-tools
virtual/cdrtools )
mp3? (
media-libs/gst-plugins-ugly:1.0
media-plugins/gst-plugins-mad:1.0 )
packagekit? ( app-admin/packagekit-base )
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.50
>=dev-util/gtk-doc-am-1.12
sys-devel/gettext
virtual/pkgconfig
test? ( app-text/docbook-xml-dtd:4.3 )
"
# eautoreconf deps
# app-text/yelp-tools
# gnome-base/gnome-common
PDEPEND="gnome-base/gvfs"
src_configure() {
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
gnome2_src_configure \
--disable-caches \
$(use_enable !libburn cdrtools) \
$(use_enable !libburn cdrkit) \
$(use_enable !libburn cdrdao) \
$(use_enable !libburn growisofs) \
$(use_enable introspection) \
$(use_enable libburn libburnia) \
$(use_enable nautilus) \
$(use_enable playlist) \
$(use_enable tracker search) \
ITSTOOL=$(type -P true)
}

@ -1,3 +1,2 @@
DIST gcr-3.14.0.tar.xz 1340764 SHA256 2a2231147a01e2061f57fa9ca77557ff97bc6ceab028cee5528079f4b2fca63d SHA512 2538b2575c0d325587f8b5423ac6f9c522a69b415977398dc5c4330ce1de896c966e541eb6e536e87e81013bb2dedea4d0ae8baabdab9318db5b97e0977671b8 WHIRLPOOL 755842ad30608162bb81ed58a027a26be6d12ecb12e037b826841612c2481ea564f727e2bc4e03f13f8100257b2d2ee3dae213b56b5f04319718ff30c5eee2a9
DIST gcr-3.16.0.tar.xz 1335348 SHA256 ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075 SHA512 1db6e2532d2d0ceb6f339551b009baae5815fcf8a12b76b0eb9e13f301d1205c2e2c9b8f555ae011a84521e55fe9cccb703c3dd539d638b476e0474c34672be4 WHIRLPOOL 88a0d5936b6dd54923fd476f3af0acac9c068268416cb30c65670ae8bf8bec3940cdee84e72e6218c3cf9e59a023508e5961357b2e80a297428e573cddc6bd7b
DIST gcr-3.18.0.tar.xz 1311368 SHA256 d4d16da5af55148a694055835ccd07ad34daf0ad03bdad929bf7cad15637ce00 SHA512 3733a462c23b0cf1d3579ea4b0b6eea9b5e3eb98e81e7c0e0364e540ec60a7a7bc567d1d159c674df280fb20c305cbaef796dffef73801ece4f4474352786e6b WHIRLPOOL 1bb299e386415c86dbb4f6afb48e365fd69e12a13e7349cefcd05c2685841fb0fb76c499780c2e275114c185a67b6be66989c6f989794ebbf1fd18ca501ed4b6

@ -1,29 +0,0 @@
From 58de2d787a31175b26687b9a228da0fb1cea5809 Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andreas@fatal.se>
Date: Mon, 29 Sep 2014 20:28:00 +0000
Subject: gcr: Fix race building gdbus-codegen header and source
https://bugzilla.gnome.org/show_bug.cgi?id=737622
diff --git a/gcr/Makefile.am b/gcr/Makefile.am
index 0834c67..59f32b7 100644
--- a/gcr/Makefile.am
+++ b/gcr/Makefile.am
@@ -161,12 +161,12 @@ gcr/gcr-dbus-generated.c: $(DBUS_XML_DEFINITIONS)
$(AM_V_GEN) sed -e 's/gcr_dbus/_gcr_dbus/g' \
gcr/gcr-dbus-generated.c > gcr/gcr-dbus-generated.c.tmp && \
mv gcr/gcr-dbus-generated.c.tmp gcr/gcr-dbus-generated.c
-
-gcr/gcr-dbus-generated.h: gcr/gcr-dbus-generated.c
$(AM_V_GEN) sed -e 's/gcr_dbus/_gcr_dbus/g' \
gcr/gcr-dbus-generated.h > gcr/gcr-dbus-generated.h.tmp && \
mv gcr/gcr-dbus-generated.h.tmp gcr/gcr-dbus-generated.h
+gcr/gcr-dbus-generated.h: gcr/gcr-dbus-generated.c
+
pkgconfig_DATA += \
gcr-base-$(GCR_MAJOR).pc
--
cgit v0.10.1

@ -1,83 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
VALA_USE_DEPEND="vapigen"
PYTHON_COMPAT=( python2_7 )
inherit autotools eutils gnome2 python-any-r1 vala virtualx
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
HOMEPAGE="https://developer.gnome.org/gcr/"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0/1" # subslot = suffix of libgcr-3
IUSE="debug gtk +introspection vala"
REQUIRED_USE="vala? ( introspection )"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris"
COMMON_DEPEND="
>=app-crypt/gnupg-2
>=app-crypt/p11-kit-0.19
>=dev-libs/glib-2.38:2
>=dev-libs/libgcrypt-1.2.2:0=
>=dev-libs/libtasn1-1:=
>=sys-apps/dbus-1
gtk? ( >=x11-libs/gtk+-3.12:3[X,introspection?] )
introspection? ( >=dev-libs/gobject-introspection-1.34 )
"
RDEPEND="${COMMON_DEPEND}
!<gnome-base/gnome-keyring-3.3
"
# gcr was part of gnome-keyring until 3.3
DEPEND="${COMMON_DEPEND}
${PYTHON_DEPS}
dev-libs/gobject-introspection-common
dev-libs/libxslt
dev-libs/vala-common
dev-util/gdbus-codegen
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.35
sys-devel/gettext
virtual/pkgconfig
vala? ( $(vala_depend) )
"
# eautoreconf needs:
# dev-libs/gobject-introspection-common
# dev-libs/vala-common
pkg_setup() {
python-any-r1_pkg_setup
}
src_prepare() {
# Fix race building gdbus-codegen header and source (from '3.14')
epatch "${FILESDIR}"/${P}-race-building.patch
# Disable stupid flag changes
sed -e 's/CFLAGS="$CFLAGS -g"//' \
-e 's/CFLAGS="$CFLAGS -O0"//' \
-i configure.ac configure || die
eautoreconf
use vala && vala_src_prepare
gnome2_src_prepare
}
src_configure() {
DOCS="AUTHORS ChangeLog HACKING NEWS README"
gnome2_src_configure \
$(use_with gtk) \
$(use_enable introspection) \
$(use_enable vala) \
$(usex debug --enable-debug=yes --enable-debug=default) \
--disable-update-icon-cache \
--disable-update-mime
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
Xemake check
}

@ -1,2 +1 @@
DIST libsecret-0.18.2.tar.xz 483980 SHA256 12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443 SHA512 414580e2f717ba0a3adacd79da093dc5e982f49455c1d6dd0cc60d87d7d3ff9ce3147685a3f5091488b9c98840002739b9e1aa2252f0fd71639b471b34ff5c54 WHIRLPOOL 2c113d81893562a54eef28c095968dca43ef5c6e940b20eb9266034d29231e3bbcb173855a6db3695a294f0028012fd45ccd8d5330e34a9c1a3abd9c041e01b6
DIST libsecret-0.18.3.tar.xz 481256 SHA256 f2bf1d0c5ab4640664f3e3c7ef6b086c180e50ff415720b5e22f96750dbf84c9 SHA512 ff2cdc01f2d68eaa4e3de925616e22532aa41b489ba3da7d071eef64a11b652e78ed44447c5c161eca4aa13d7f3cfb5a6ddef67fee9e520cb58782cc0acac258 WHIRLPOOL b78eb8a3a0cdc7fecd2c74a96eeb6fab9b48f7d994b0a2b0b3e60763956426ce1aab3db3da92cbc1dfdee993a9b7b70920f863fd1859dd2fc047ce659ef5e8e0

@ -1,66 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
VALA_MIN_API_VERSION=0.18
VALA_USE_DEPEND=vapigen
inherit gnome2 python-any-r1 vala virtualx
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
HOMEPAGE="https://live.gnome.org/Libsecret"
LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
SLOT="0"
IUSE="+crypt debug +introspection test vala"
REQUIRED_USE="vala? ( introspection )"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd"
RDEPEND="
>=dev-libs/glib-2.38:2
crypt? ( >=dev-libs/libgcrypt-1.2.2:0= )
introspection? ( >=dev-libs/gobject-introspection-1.29 )
"
PDEPEND=">=gnome-base/gnome-keyring-3
"
# PDEPEND to avoid circular dep (bug #547456)
# Add ksecrets to PDEPEND when it's added to portage
DEPEND="${RDEPEND}
dev-libs/libxslt
dev-util/gdbus-codegen
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.35.0
sys-devel/gettext
virtual/pkgconfig
test? (
dev-python/mock
introspection? (
${PYTHON_DEPS}
>=dev-libs/gjs-1.32
dev-python/pygobject:3 )
)
vala? ( $(vala_depend) )
"
src_prepare() {
use vala && vala_src_prepare
gnome2_src_prepare
}
src_configure() {
DOCS="AUTHORS ChangeLog NEWS README"
gnome2_src_configure \
--enable-manpages \
--disable-strict \
--disable-coverage \
--disable-static \
$(use_enable crypt gcrypt) \
$(use_enable introspection) \
$(use_enable vala)
}
src_test() {
Xemake check
}

@ -28,6 +28,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-libs/appstream-glib
dev-util/gdbus-codegen
>=dev-util/intltool-0.50.1
dev-util/itstool
sys-devel/gettext

@ -0,0 +1,53 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit gnome2 systemd user versionator
MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="A geoinformation D-Bus service"
HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue"
SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
LICENSE="LGPL-2"
SLOT="2.0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
IUSE="+introspection +modemmanager zeroconf"
RDEPEND="
>=dev-libs/glib-2.34:2
>=dev-libs/json-glib-0.14
>=net-libs/libsoup-2.42:2.4
sys-apps/dbus
introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
modemmanager? ( >=net-misc/modemmanager-1 )
zeroconf? ( >=net-dns/avahi-0.6.10 )
!<sci-geosciences/geocode-glib-3.10.0
"
DEPEND="${RDEPEND}
dev-util/gdbus-codegen
>=dev-util/gtk-doc-am-1
>=dev-util/intltool-0.40
sys-devel/gettext
virtual/pkgconfig
"
src_configure() {
# debug only affects CFLAGS
gnome2_src_configure \
--with-dbus-service-user=geoclue \
$(use_enable introspection) \
$(use_enable modemmanager 3g-source) \
$(use_enable modemmanager cdma-source) \
$(use_enable modemmanager modem-gps-source) \
$(use_enable zeroconf nmea-source) \
$(systemd_with_unitdir)
}
pkg_preinst() {
enewgroup geoclue
enewuser geoclue -1 -1 /var/lib/geoclue geoclue
}

@ -14,5 +14,6 @@
<flag name="plazes">Install plazes.com provider</flag>
<flag name="skyhook">Install skyhookwireless.com provider</flag>
<flag name="yahoo-geo">Install Yahoo geolocation provider</flag>
<flag name="zeroconf">Enable retrieval of GPS location from Android devices with https://wiki.gnome.org/Apps/GeoclueShare</flag>
</use>
</pkgmetadata>

@ -0,0 +1,30 @@
From f36016ae8352ecc7aba800fe3f2057c016d644df Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Wed, 25 Nov 2015 10:07:15 +0100
Subject: [PATCH 1/2] Fix X11 support configure switch
---
configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 64a5e21..a28eb04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,9 +147,11 @@ fi
AC_SUBST(DBUS_SERVICE_DIR)
AC_ARG_WITH(x11_support, [ --with-x11-support Compile with X11 support.],
- [with_x11_support=yes;AC_DEFINE(HAVE_X11_SUPPORT, [1], [Define to 1 to include X11 support.])],
+ [],
[with_x11_support=no])
-AM_CONDITIONAL(HAVE_X11_SUPPORT, test "x$with_x11_support" != "x")
+AS_IF([test "$with_x11_support" = "yes"],
+ [AC_DEFINE(HAVE_X11_SUPPORT, [1], [Define to 1 to include X11 support.])])
+AM_CONDITIONAL(HAVE_X11_SUPPORT, test "x$with_x11_support" = "xyes")
IT_PROG_INTLTOOL([0.35.0])
--
2.6.3

@ -0,0 +1,80 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit autotools eutils gnome2 readme.gentoo
DESCRIPTION="Desktop note-taking application"
HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
LICENSE="GPL-3+ FDL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug X"
# Automagic glib-2.32 dep
COMMON_DEPEND="
>=app-crypt/libsecret-0.8
>=app-text/gtkspell-3.0:3
>=dev-cpp/glibmm-2.32:2
>=dev-cpp/gtkmm-3.10:3.0
>=dev-libs/boost-1.34
>=dev-libs/glib-2.32:2[dbus]
>=dev-libs/libxml2-2:2
dev-libs/libxslt
>=sys-apps/util-linux-2.16:=
>=x11-libs/gtk+-3.10:3
X? ( x11-libs/libX11 )
"
RDEPEND="${COMMON_DEPEND}
gnome-base/gsettings-desktop-schemas
"
DEPEND="${DEPEND}
app-text/docbook-xml-dtd:4.1.2
dev-util/desktop-file-utils
>=dev-util/intltool-0.35.0
dev-util/itstool
virtual/pkgconfig
"
src_prepare() {
# Fix x11-support switch
# https://bugzilla.gnome.org/show_bug.cgi?id=758636
epatch "${FILESDIR}"/${PN}-3.18.2-x11-support-switch.patch
# Do not alter CFLAGS
sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
eautoreconf
gnome2_src_prepare
if has_version net-fs/wdfs; then
DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
synchronize notes."
else
DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
If you want to use that functionality just emerge net-fs/wdfs.
Gnote will automatically detect that you did and let you use it."
fi
}
src_configure() {
gnome2_src_configure \
--disable-static \
$(use_enable debug) \
$(use_with X x11-support)
}
src_install() {
gnome2_src_install
readme.gentoo_create_doc
}
pkg_postinst() {
gnome2_pkg_postinst
readme.gentoo_print_elog
}

@ -79,7 +79,7 @@ RDEPEND="
>=app-text/poppler-0.16:=[cairo,utils]
>=x11-libs/gtk+-2.12:2 )
playlist? ( >=dev-libs/totem-pl-parser-3 )
rss? ( net-libs/libgrss:0 )
rss? ( >=net-libs/libgrss-0.7:0 )
stemmer? ( dev-libs/snowball-stemmer )
thunderbird? ( || (
>=mail-client/thunderbird-5.0

@ -1,2 +1,2 @@
DIST texmaker-4.3.tar.bz2 11334013 SHA256 670eef7c51630342c87f1c2a77da0b36798fdb971c7893841e13c9342b18da51 SHA512 9bb94a104c6324d2c712b522c60513189575d01d8ea24a6eeef4201ff17c719ab816775eae5239637f5ef2084d7beb8c1d76addc10d5000a1ae53ab33c1adc3d WHIRLPOOL 5942f0262b02746a4fa6ec77c2944b1165fadaf060b8a7248bc4a32b5c74334745c21b221c234e0ddc66d0bb7250a6cdc1a3eb12043de4f19471cf0ce4bb7844
DIST texmaker-4.4.1.tar.bz2 11274997 SHA256 80939493ffb6c92f47c47109dff6de4c91259244247e90ddfb1bb6153559b4b4 SHA512 a165b7757f2170d42f3d48d644cb351efd4d308b1a0601105952c3253084ae4a3d0bbfb7915207ff60d0ba7036283c6c8305a901d7ac8aab4e79c1bb78f68ddd WHIRLPOOL 3b00a894a194659d64ea8058ca1f0d04a68904f4eb638121f935ab83583b83c57bae3d1abb8d1e0541bed4bbaa44336e9733e8de3d346098dafae319437909f2
DIST texmaker-4.5.tar.bz2 11287724 SHA256 2ce9966e410bf878649d1c756e3dc2a077e55e1eaa9f4beb10aa7224cd94d614 SHA512 623ae1496f11e5cd1328b997dbb29ec7188d6c1b256b6370c6fdd4fcda4bfc4b301d29cfa3b2ce529391b8f9913ea4678a6895abfb4fa6f9820e7177c676ab11 WHIRLPOOL 0fb00957cb6fe2f3181ac6a6ad917fd60d90ca05bcbaa14da62045ac6c5d78126d9abeb1429bd1fe48a25416d95a1a52c53f83cad91cb0540fcd043a9ea63045

@ -1,167 +0,0 @@
configdialog.cpp | 4 ++--
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.h | 2 +-
texmaker.pro | 42 ++++++------------------------------------
7 files changed, 13 insertions(+), 43 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index 136072d..550db58 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -122,9 +122,9 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
-QDir spelldir(PREFIX"/share/myspell/dicts");
+QDir spelldir("@GENTOO_PORTAGE_EPREFIX@/usr/share/myspell");
#else
-QDir spelldir(PREFIX"/share/texmaker");
+QDir spelldir("@GENTOO_PORTAGE_EPREFIX@/usr/share/texmaker");
#endif
#endif
diff --git a/latexeditor.h b/latexeditor.h
index b9b8d75..a9ec1ef 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -26,7 +26,7 @@
#include <QTimer>
#include "latexhighlighter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index c6cb362..2ecf876 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -22,7 +22,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index 83ca79c..a1e437a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.h b/texmaker.h
index fa56129..4b1367e 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -46,7 +46,7 @@
#include "symbollistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 5c90e44..4513937 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -4,7 +4,8 @@ TARGET = texmaker
QT += network \
xml \
webkit
-CONFIG += qt warn_off release
+CONFIG += qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell
TEXMAKERVERSION=3.1
DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
DEFINES += HAVE_SPLASH
@@ -62,25 +63,6 @@ HEADERS += texmaker.h \
usercompletiondialog.h \
synctex_parser.h \
synctex_parser_utils.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -162,18 +144,6 @@ SOURCES += main.cpp \
usercompletiondialog.cpp \
synctex_parser.c \
synctex_parser_utils.c \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -262,13 +232,13 @@ isEmpty( ICONDIR ) {
ICONDIR=/usr/share/pixmaps
}
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/poppler/qt4
+LIBS += -lpoppler-qt4
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target
HEADERS += x11fontdialog.h

@ -1,15 +0,0 @@
main.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/main.cpp b/main.cpp
index e979c1b..da2831a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -14,6 +14,7 @@
#include "texmakerapp.h"
#include <QStringList>
+#include <GL/glu.h>
int main( int argc, char ** argv )

@ -1,167 +0,0 @@
configdialog.cpp | 4 ++--
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.h | 2 +-
texmaker.pro | 42 ++++++------------------------------------
7 files changed, 13 insertions(+), 43 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index 3b91fd0..338b166 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -210,9 +210,9 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
-QDir spelldir(PREFIX"/share/myspell/dicts");
+QDir spelldir("@GENTOO_PORTAGE_EPREFIX@/usr/share/myspell");
#else
-QDir spelldir(PREFIX"/share/texmaker");
+QDir spelldir("@GENTOO_PORTAGE_EPREFIX@/usr/share/texmaker");
#endif
#endif
diff --git a/latexeditor.h b/latexeditor.h
index e053390..0e82f08 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index fb8d7d4..716b466 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -22,7 +22,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.h b/texmaker.h
index 584be7f..b0069a4 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 17d0a24..28ad193 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -4,7 +4,8 @@ TARGET = texmaker
QT += network \
xml \
webkit
-CONFIG += qt warn_off release
+CONFIG += qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell
TEXMAKERVERSION=3.3.4
DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
DEFINES += HAVE_SPLASH
@@ -67,25 +68,6 @@ HEADERS += texmaker.h \
synctex_parser_utils.h \
usertagslistwidget.h \
addtagdialog.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -171,18 +153,6 @@ SOURCES += main.cpp \
synctex_parser_utils.c \
usertagslistwidget.cpp \
addtagdialog.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -276,13 +246,13 @@ isEmpty( ICONDIR ) {
ICONDIR=/usr/share/pixmaps
}
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/poppler/qt4
+LIBS += -lpoppler-qt4
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target

@ -1,148 +0,0 @@
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.h | 2 +-
texmaker.pro | 40 ++++------------------------------------
6 files changed, 9 insertions(+), 41 deletions(-)
diff --git a/latexeditor.h b/latexeditor.h
index 1ad4195..8f43b61 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index 5951656..796eb28 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -22,7 +22,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.h b/texmaker.h
index 83093d7..7f44645 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 3c0986a..a26295a 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -4,7 +4,8 @@ TARGET = texmaker
QT += network \
xml \
webkit
-CONFIG += qt warn_off release
+CONFIG += qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell poppler-qt4
TEXMAKERVERSION=3.5
DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
DEFINES += HAVE_SPLASH
@@ -67,25 +68,6 @@ HEADERS += texmaker.h \
synctex_parser_utils.h \
usertagslistwidget.h \
addtagdialog.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -171,18 +153,6 @@ SOURCES += main.cpp \
synctex_parser_utils.c \
usertagslistwidget.cpp \
addtagdialog.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -277,13 +247,11 @@ isEmpty( ICONDIR ) {
ICONDIR=/usr/share/pixmaps
}
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target

@ -1,148 +0,0 @@
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.h | 2 +-
texmaker.pro | 40 ++++------------------------------------
6 files changed, 9 insertions(+), 41 deletions(-)
diff --git a/latexeditor.h b/latexeditor.h
index 1ad4195..8f43b61 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index 5951656..796eb28 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -22,7 +22,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.h b/texmaker.h
index 83093d7..7f44645 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 3c0986a..a26295a 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -4,7 +4,8 @@ TARGET = texmaker
QT += network \
xml \
webkit
-CONFIG += qt warn_off release
+CONFIG += qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell poppler-qt4
TEXMAKERVERSION=3.5.1
DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
DEFINES += HAVE_SPLASH
@@ -67,25 +68,6 @@ HEADERS += texmaker.h \
synctex_parser_utils.h \
usertagslistwidget.h \
addtagdialog.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -171,18 +153,6 @@ SOURCES += main.cpp \
synctex_parser_utils.c \
usertagslistwidget.cpp \
addtagdialog.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -277,13 +247,11 @@ isEmpty( ICONDIR ) {
ICONDIR=/usr/share/pixmaps
}
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target

@ -1,16 +0,0 @@
texmaker.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/texmaker.h b/texmaker.h
index 3b7135e..acd49d8 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -121,7 +121,7 @@ UserTagsListWidget *usertagsListWidget;
XmlTagsListWidget *MpListWidget, *PsListWidget, *leftrightWidget, *tikzWidget, *asyWidget;
SymbolListWidget *RelationListWidget, *ArrowListWidget, *MiscellaneousListWidget, *DelimitersListWidget, *GreekListWidget, *MostUsedListWidget, *FavoriteListWidget;
QTreeWidget *StructureTreeWidget;
-QVBoxLayout *OutputLayoutV, *CentralLayoutBis,*LeftPanelLayoutBis,;
+QVBoxLayout *OutputLayoutV, *CentralLayoutBis,*LeftPanelLayoutBis;
QHBoxLayout *OutputLayoutH, *LeftPanelLayout, *CentralLayout;
QTableWidget *OutputTableWidget;
//menu-toolbar

@ -1,181 +0,0 @@
configdialog.cpp | 2 +-
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.cpp | 4 ++--
texmaker.h | 2 +-
texmaker.pro | 40 +++++-----------------------------------
8 files changed, 13 insertions(+), 43 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index c2354d3..dea2bc1 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -211,7 +211,7 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
-QDir spelldir(PREFIX"/share/myspell/dicts");
+QDir spelldir(PREFIX"/share/myspell");
#else
QDir spelldir(PREFIX"/share/texmaker");
#endif
diff --git a/latexeditor.h b/latexeditor.h
index 1ad4195..8f43b61 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index 5951656..796eb28 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -22,7 +22,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.cpp b/texmaker.cpp
index 6e8f41b..c94d76a 100644
--- a/texmaker.cpp
+++ b/texmaker.cpp
@@ -4302,7 +4302,7 @@ geometry_options=config->value("Quick/GeometryOptions","left=2cm,right=2cm,top=2
QString dicDir=QCoreApplication::applicationDirPath() + "/";
#else
#ifdef DEBIAN_SPELLDIR
-QString dicDir=PREFIX"/share/myspell/dicts/";
+QString dicDir=PREFIX"/share/myspell/";
#else
QString dicDir=PREFIX"/share/texmaker/";
#endif
@@ -10747,4 +10747,4 @@ if (singlemode && currentEditorView())
UpdateBibliography();
}
}
-}
\ No newline at end of file
+}
diff --git a/texmaker.h b/texmaker.h
index 3b7135e..5713b5a 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 9b9083a..9feef01 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -68,25 +68,6 @@ HEADERS += texmaker.h \
synctex_parser_utils.h \
usertagslistwidget.h \
addtagdialog.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -173,18 +154,6 @@ SOURCES += main.cpp \
synctex_parser_utils.c \
usertagslistwidget.cpp \
addtagdialog.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -280,13 +249,11 @@ isEmpty( ICONDIR ) {
ICONDIR=/usr/share/pixmaps
}
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target
@@ -717,3 +684,6 @@ INSTALLS += utilities
ICON = texmaker.icns
QMAKE_INFO_PLIST =Info.plist
}
+
+CONFIG += link_pkgconfig
+PKGCONFIG = hunspell poppler-qt4
\ No newline at end of file

@ -1,180 +0,0 @@
configdialog.cpp | 2 +-
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.cpp | 4 ++--
texmaker.h | 2 +-
texmaker.pro | 40 +++++-----------------------------------
8 files changed, 13 insertions(+), 43 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index 8a73c4d..6b94401 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -216,7 +216,7 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
-QDir spelldir(PREFIX"/share/myspell/dicts");
+QDir spelldir(PREFIX"/share/myspell");
#else
QDir spelldir(PREFIX"/share/texmaker");
#endif
diff --git a/latexeditor.h b/latexeditor.h
index 1ad4195..8f43b61 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index 603d82e..844386c 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -23,7 +23,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.cpp b/texmaker.cpp
index a364143..c4f7d50 100644
--- a/texmaker.cpp
+++ b/texmaker.cpp
@@ -4328,7 +4328,7 @@ geometry_options=config->value("Quick/GeometryOptions","left=2cm,right=2cm,top=2
QString dicDir=QCoreApplication::applicationDirPath() + "/";
#else
#ifdef DEBIAN_SPELLDIR
-QString dicDir=PREFIX"/share/myspell/dicts/";
+QString dicDir=PREFIX"/share/myspell/";
#else
QString dicDir=PREFIX"/share/texmaker/";
#endif
@@ -10786,4 +10786,4 @@ if (singlemode && currentEditorView())
UpdateBibliography();
}
}
-}
\ No newline at end of file
+}
diff --git a/texmaker.h b/texmaker.h
index 9680c8f..c8f1f24 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index 32c3463..e5db444 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -70,25 +70,6 @@ HEADERS += texmaker.h \
synctex_parser_utils.h \
usertagslistwidget.h \
addtagdialog.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -175,18 +156,6 @@ SOURCES += main.cpp \
synctex_parser_utils.c \
usertagslistwidget.cpp \
addtagdialog.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -283,13 +252,11 @@ isEmpty( ICONDIR ) {
}
## QT5
#INCLUDEPATH +=$${QTDIR}/include/
-INCLUDEPATH += /usr/include/poppler/qt4
-LIBS += -L/usr/lib -lpoppler-qt4
-LIBS += -L/usr/lib -lz
+LIBS += -lz
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
target.path = $${PREFIX}/bin
-#DEFINES += DEBIAN_SPELLDIR
+DEFINES += DEBIAN_SPELLDIR
INSTALLS = target
@@ -720,3 +687,6 @@ INSTALLS += utilities
ICON = texmaker.icns
QMAKE_INFO_PLIST =Info.plist
}
+
+CONFIG += link_pkgconfig
+PKGCONFIG = hunspell poppler-qt4

@ -1,165 +0,0 @@
configdialog.cpp | 2 +-
latexeditor.h | 2 +-
latexeditorview.h | 2 +-
latexhighlighter.h | 2 +-
spellerdialog.h | 2 +-
texmaker.cpp | 4 ++--
texmaker.h | 2 +-
texmaker.pro | 37 +++----------------------------------
8 files changed, 11 insertions(+), 42 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index e596a2c..3660429 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -220,7 +220,7 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
-QDir spelldir(PREFIX"/share/myspell/dicts");
+QDir spelldir(PREFIX"/share/myspell");
#else
QDir spelldir(PREFIX"/share/texmaker");
#endif
diff --git a/latexeditor.h b/latexeditor.h
index 29b01f8..1db88ad 100644
--- a/latexeditor.h
+++ b/latexeditor.h
@@ -33,7 +33,7 @@
#include "latexhighlighter.h"
#include "textblockselection.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
typedef int UserBookmarkList[3];
diff --git a/latexeditorview.h b/latexeditorview.h
index 9809d86..adca0b2 100644
--- a/latexeditorview.h
+++ b/latexeditorview.h
@@ -23,7 +23,7 @@
#include "gotolinewidget.h"
#include "replacewidget.h"
#include "minisplitter.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class LatexEditorView : public QWidget {
Q_OBJECT
diff --git a/latexhighlighter.h b/latexhighlighter.h
index e0b91b1..74ec42a 100644
--- a/latexhighlighter.h
+++ b/latexhighlighter.h
@@ -20,7 +20,7 @@
#include <QColor>
#include <QTextBlockUserData>
//#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class QTextDocument;
class LatexEditor;
diff --git a/spellerdialog.h b/spellerdialog.h
index 83248ae..cd16dad 100644
--- a/spellerdialog.h
+++ b/spellerdialog.h
@@ -13,7 +13,7 @@
#include "ui_spellerdialog.h"
#include "latexeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include <QTextCursor>
diff --git a/texmaker.cpp b/texmaker.cpp
index 51d2082..607f66e 100644
--- a/texmaker.cpp
+++ b/texmaker.cpp
@@ -4363,7 +4363,7 @@ geometry_options=config->value("Quick/GeometryOptions","left=2cm,right=2cm,top=2
QString dicDir=QCoreApplication::applicationDirPath() + "/";
#else
#ifdef DEBIAN_SPELLDIR
-QString dicDir=PREFIX"/share/myspell/dicts/";
+QString dicDir=PREFIX"/share/myspell/";
#else
QString dicDir=PREFIX"/share/texmaker/";
#endif
@@ -10835,4 +10835,4 @@ if (singlemode && currentEditorView())
UpdateBibliography();
}
}
-}
\ No newline at end of file
+}
diff --git a/texmaker.h b/texmaker.h
index f7e278c..e80d9e5 100644
--- a/texmaker.h
+++ b/texmaker.h
@@ -48,7 +48,7 @@
#include "usertagslistwidget.h"
#include "xmltagslistwidget.h"
#include "logeditor.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
#include "browser.h"
#include "pdfviewerwidget.h"
#include "pdfviewer.h"
diff --git a/texmaker.pro b/texmaker.pro
index d2312d1..0009663 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -87,25 +87,6 @@ HEADERS += texmaker.h \
versiondialog.h \
unicodedialog.h \
unicodeview.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/replist.hxx \
- hunspell/w_char.hxx \
singleapp/qtlocalpeer.h \
singleapp/qtlockedfile.h \
singleapp/qtsingleapplication.h \
@@ -196,18 +174,6 @@ SOURCES += main.cpp \
versiondialog.cpp \
unicodedialog.cpp \
unicodeview.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/replist.cxx \
- hunspell/hunzip.cxx \
singleapp/qtlocalpeer.cpp \
singleapp/qtlockedfile.cpp \
singleapp/qtsingleapplication.cpp \
@@ -454,3 +420,6 @@ INSTALLS += desktop
icon.files = utilities/texmaker.png
INSTALLS += icon
}
+
+CONFIG += link_pkgconfig
+PKGCONFIG += hunspell
\ No newline at end of file

@ -0,0 +1,16 @@
--- a/texmaker.cpp 2014-11-26 09:06:56.000000000 -0300
+++ b/texmaker.cpp 2015-06-19 20:49:58.801377000 -0300
@@ -4451,7 +4451,12 @@
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
if (modern_style)
{
-qApp->setStyle(new ManhattanStyle(QLatin1String("fusion")));
+ if(desktop_env == 1){
+ if (styles.contains("GTK+")) qApp->setStyle(new ManhattanStyle(QLatin1String("gtkstyle")));
+ else if (styles.contains("Windows")) qApp->setStyle(new ManhattanStyle(QLatin1String("windows")));
+ else qApp->setStyle(new ManhattanStyle(QLatin1String("fusion")));
+ }
+ else qApp->setStyle(new ManhattanStyle(QLatin1String("fusion")));
}
// else
// {

@ -1,13 +1,8 @@
configdialog.cpp | 2 +-
texmaker.cpp | 4 ++--
texmaker.pro | 42 +-----------------------------------------
3 files changed, 4 insertions(+), 44 deletions(-)
diff --git a/configdialog.cpp b/configdialog.cpp
index e596a2c..3660429 100644
index dddb11e..9a1aee7 100644
--- a/configdialog.cpp
+++ b/configdialog.cpp
@@ -220,7 +220,7 @@ void ConfigDialog::browseAspell()
@@ -222,7 +222,7 @@ void ConfigDialog::browseAspell()
QDir spelldir(QCoreApplication::applicationDirPath());
#else
#ifdef DEBIAN_SPELLDIR
@ -17,10 +12,10 @@ index e596a2c..3660429 100644
QDir spelldir(PREFIX"/share/texmaker");
#endif
diff --git a/texmaker.cpp b/texmaker.cpp
index 51d2082..607f66e 100644
index b8a2143..a8bcd46 100644
--- a/texmaker.cpp
+++ b/texmaker.cpp
@@ -4363,7 +4363,7 @@ geometry_options=config->value("Quick/GeometryOptions","left=2cm,right=2cm,top=2
@@ -2787,7 +2787,7 @@ if (hasDecodingError)
QString dicDir=QCoreApplication::applicationDirPath() + "/";
#else
#ifdef DEBIAN_SPELLDIR
@ -29,21 +24,14 @@ index 51d2082..607f66e 100644
#else
QString dicDir=PREFIX"/share/texmaker/";
#endif
@@ -10835,4 +10835,4 @@ if (singlemode && currentEditorView())
UpdateBibliography();
}
}
-}
\ No newline at end of file
+}
diff --git a/texmaker.pro b/texmaker.pro
index bce8dd4..2f205bb 100644
index 7e9b706..909eb62 100644
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -95,29 +95,6 @@ HEADERS += texmaker.h \
versiondialog.h \
unicodedialog.h \
@@ -98,29 +98,6 @@ HEADERS += texmaker.h \
unicodeview.h \
quickbeamerdialog.h \
svnhelper.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
@ -70,10 +58,10 @@ index bce8dd4..2f205bb 100644
encodingprober/CharDistribution.h \
encodingprober/ChineseGroupProber.h \
encodingprober/ctype_test_p.h \
@@ -204,22 +181,6 @@ SOURCES += main.cpp \
versiondialog.cpp \
unicodedialog.cpp \
@@ -210,22 +187,6 @@ SOURCES += main.cpp \
unicodeview.cpp \
quickbeamerdialog.cpp \
svnhelper.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
@ -93,13 +81,13 @@ index bce8dd4..2f205bb 100644
encodingprober/CharDistribution.cpp \
encodingprober/ChineseGroupProber.cpp \
encodingprober/JapaneseGroupProber.cpp \
@@ -328,8 +289,7 @@ icon.path = $${ICONDIR}
@@ -336,8 +297,7 @@ icon.path = $${ICONDIR}
INSTALLS = target
HEADERS += x11fontdialog.h
-SOURCES += x11fontdialog.cpp \
- singleapp/qtlockedfile_unix.cpp
+SOURCES += x11fontdialog.cpp
+SOURCES += x11fontdialog.cpp
FORMS += x11fontdialog.ui
utilities.files = doc/doc1.png \

@ -1,87 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit qt4-r2 versionator
# The upstream version numbering is bad, so we have to remove a dot in the
# minor version number
MAJOR="$(get_major_version)"
MINOR_1="$(($(get_version_component_range 2)/10))"
MINOR_2="$(($(get_version_component_range 2)%10))"
if [ ${MINOR_2} -eq "0" ] ; then
MY_P="${PN}-${MAJOR}.${MINOR_1}"
else
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
fi
MY_P="${P}"
DESCRIPTION="A nice LaTeX-IDE"
HOMEPAGE="http://www.xm1math.net/texmaker/"
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
S="${WORKDIR}/${MY_P}"
COMMON_DEPEND="
app-text/hunspell
app-text/poppler:=[qt4]
sys-libs/zlib
x11-libs/libX11
x11-libs/libXext
dev-qt/qtgui:4
dev-qt/qtcore:4
dev-qt/qtscript:4
dev-qt/qtsingleapplication[X,qt4(+)]
dev-qt/qtwebkit:4
"
RDEPEND="${COMMON_DEPEND}
virtual/latex-base
app-i18n/ibus-qt
app-text/psutils
app-text/ghostscript-gpl
media-libs/netpbm"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-4.1-unbundle.patch )
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
HTML_DOCS=( doc/. )
src_prepare() {
find singleapp hunspell -delete || die
qt4-r2_src_prepare
cat >> ${PN}.pro <<- EOF
exists(texmakerx_my.pri):include(texmakerx_my.pri)
EOF
cp "${FILESDIR}"/texmakerx_my.pri . || die
sed \
-e '/^#include/s:hunspell/::g' \
-e '/^#include/s:singleapp/::g' \
-i *.cpp *.h || die
}
src_configure() {
eqmake4 \
${PN}.pro \
PREFIX="${EPREFIX}/usr" \
DESKTOPDIR="${EPREFIX}/usr/share/applications" \
ICONDIR="${EPREFIX}/usr/share/pixmaps"
}
pkg_postinst() {
elog "A user manual with many screenshots is available at:"
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
}

@ -12,8 +12,8 @@ SRC_URI="http://www.xm1math.net/texmaker/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="+qt4 qt5"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="qt4 +qt5"
REQUIRED_USE="^^ ( qt4 qt5 )"
@ -50,7 +50,10 @@ RDEPEND="${COMMON_DEPEND}
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-4.1-unbundle.patch )
PATCHES=(
"${FILESDIR}"/${P}-unbundle.patch
"${FILESDIR}"/${P}-modern-styles.patch
)
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
HTML_DOCS=( doc/. )

@ -0,0 +1,185 @@
See https://gitlab.com/agmartin/linuxdoc-tools/issues/4
diff --git a/Makefile.in b/Makefile.in
index adb85d0..7038d97 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -83,13 +83,14 @@ ifneq ($(BUILDDOC_FORMATS),)
# -- Build documentation
@echo "Building documentation ..."
(cd doc; \
+ MAKE="$(MAKE)" \
PREFIX=$(prefix) \
BUILD_ISO_ENTITIES=$(BUILD_ISO_ENTITIES) \
BUILD_ENTITY_MAP=$(BUILD_ENTITY_MAP) \
- PKGPERL5LIB=$(CURDIR)/perl5lib \
- PKGDATADIR=$(CURDIR)/lib \
+ PKGPERL5LIB=$(CURDIR)/perl5lib \
+ PKGDATADIR=$(CURDIR)/lib \
PKGENTITYMAPDIR=$(CURDIR)/entity-map \
- BUILDDOC_FORMATS="$(BUILDDOC_FORMATS)" \
+ BUILDDOC_FORMATS="$(BUILDDOC_FORMATS)" \
sh Makedoc.sh)
endif
diff --git a/doc/Makedoc.sh b/doc/Makedoc.sh
index b7e2efb..da4be99 100644
--- a/doc/Makedoc.sh
+++ b/doc/Makedoc.sh
@@ -33,7 +33,7 @@ if [ "${BUILD_ENTITY_MAP}" = "true" ]; then
# Create a modified EntityMap.pm with entity-map location in doc
# build temporary dir. Need to properly install entity-map there.
mkdir $TMPDIR/Text
- make -C ../entity-map install DESTDIR="$TMPDIR"
+ ${MAKE} -C ../entity-map install DESTDIR="$TMPDIR"
sed < ../entity-map/EntityMap.pm.in > $TMPDIR/Text/EntityMap.pm \
-e 's|\@localentitymapdir\@|'${TMPDIR}'/usr/share/entity-map|g' \
-e 's|\@entitymapdir\@|'${TMPDIR}'/usr/share/entity-map/0.1.0|g'
@@ -49,7 +49,7 @@ fi
if [ "${BUILD_ISO_ENTITIES}" = "true" ]; then
# --without-installed-iso-entities: Install iso-entities in
# "$TMPDIR/usr" and set it as iso-entities prefix.
- make -C ../iso-entities install DESTDIR="$TMPDIR"
+ ${MAKE} -C ../iso-entities install DESTDIR="$TMPDIR"
ISOENTITIES_PREFIX="${TMPDIR}/usr"
else
# --with-installed-iso-entities: Use system prefix.
@@ -88,45 +88,42 @@ fi
# Build actual documentation
echo "- Building documentation for formats: ${BUILDDOC_FORMATS}" >&2
+BUILDDOC_MAKE=""
for docformat in ${BUILDDOC_FORMATS}; do
case ${docformat} in
txt)
- echo "- Building txt docs" >&2
if [ -n "`which groff`" ]; then
- $TMPDIR/linuxdoc --backend=txt --filter --blanks=1 ./guide.sgml
+ echo "- Add to build list: guide.txt" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.txt"
else
echo "- ++ Warning: groff not available, cannot build \"${docformat}\" format." >&2
fi
;;
pdf)
- echo "- Building pdf docs" >&2
- $TMPDIR/linuxdoc --backend=latex --output=pdf \
- --pass="\usepackage{times}" ./guide.sgml
+ echo "- Add to build list: guide.pdf" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.pdf"
;;
info)
- echo "- Building info docs" >&2
- $TMPDIR/linuxdoc --backend=info ./guide.sgml
+ echo "- Add to build list: guide.info" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.info"
;;
lyx)
- echo "- Building lyx docs" >&2
- $TMPDIR/linuxdoc --backend=lyx ./guide.sgml
+ echo "- Add to build list: guide.lyx" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.lyx"
;;
html)
- echo "- Building html docs" >&2
- $TMPDIR/linuxdoc --imagebuttons --backend=html ./guide.sgml \
- && mv -f ./guide*.html ./html
+ echo "- Add to build list: guide.html" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} html/guide.html"
;;
rtf)
- echo "- Building rtf docs" >&2
- $TMPDIR/linuxdoc --backend=rtf ./guide.sgml && if [ ! -d ./rtf ]; \
- then mkdir -m 755 ./rtf; fi && mv -f ./guide*.rtf ./rtf
+ echo "- Add to build list: guide.rtf" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} rtf/guide.rtf"
;;
dvi+ps)
echo "- Building latex docs" >&2
if [ -n "`which latex`" ]; then
- echo "- Building dvi docs" >&2
- $TMPDIR/linuxdoc --backend=latex --output=dvi \
- --pass="\usepackage{times}" ./guide.sgml
+ echo "- Add to build list: guide.dvi" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.dvi"
if [ -n "`which dvips`" ]; then
echo " + dvips" >&2
@@ -137,9 +134,13 @@ for docformat in ${BUILDDOC_FORMATS}; do
DVIPS_PAPER="letter"
fi
fi
- dvips -t ${DVIPS_PAPER} -o ./guide.ps ./guide.dvi
- if [ -n "`which gzip`" -a -f ./guide.ps ]; then
- gzip -fn ./guide.ps
+
+ if [ -n "`which gzip`" ]; then
+ echo "- Add to build list: guide.ps.gz" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.ps.gz"
+ else
+ echo "- Add to build list: guide.ps" >&2
+ BUILDDOC_MAKE="${BUILDDOC_MAKE} guide.ps"
fi
else
echo "- ++ Warning: dvips not available, cannot build \"guide.ps\"." >&2
@@ -156,7 +157,9 @@ for docformat in ${BUILDDOC_FORMATS}; do
esac
done
+${MAKE} TMPDIR="${TMPDIR}" DVIPS_PAPER="${DVIPS_PAPER}" ${BUILDDOC_MAKE}
+
# Remove temporary directory.
-rm -rf $TMPDIR
+rm -rf "${TMPDIR}"
exit 0
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..79c5382
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,44 @@
+
+
+%.txt: %.sgml
+ @echo "- Building txt docs" >&2
+ $(TMPDIR)/linuxdoc --backend=txt --filter --blanks=1 $<
+
+%.pdf: %.sgml
+ @echo "- Building pdf docs" >&2
+ $(TMPDIR)/linuxdoc --backend=latex \
+ --output=pdf \
+ --pass="\usepackage{times}" $<
+
+%.info: %.sgml
+ @echo "- Building info docs" >&2
+ $(TMPDIR)/linuxdoc --backend=info $<
+
+%.lyx: %.sgml
+ @echo "- Building lyx docs" >&2
+ $(TMPDIR)/linuxdoc --backend=lyx $<
+
+html/%.html: %.sgml
+ @echo "- Building html docs" >&2
+ $(TMPDIR)/linuxdoc --imagebuttons --backend=html $<
+ mv -f ./guide*.html ./html
+
+rtf/%.rtf: %.sgml
+ @echo "- Building rtf docs" >&2
+ $(TMPDIR)/linuxdoc --backend=rtf $<
+ mkdir -m 755 -p ./rtf
+ mv -f ./guide*.rtf ./rtf
+
+%.dvi: %.sgml
+ @echo "- Building dvi docs" >&2
+ $(TMPDIR)/linuxdoc --backend=latex \
+ --output=dvi \
+ --pass="\usepackage{times}" $<
+
+%.ps: %.dvi
+ @echo "- Building ps docs" >&2
+ dvips -t $(DVIPS_PAPER) -o $@ $<
+
+%.ps.gz: %.ps
+ @echo "- Building ps.gz docs" >&2
+ gzip -fn $<

@ -37,14 +37,14 @@ DEPEND="${RDEPEND}
DOCS=( ChangeLog README )
S="${WORKDIR}/${PN}-upstream/${PV}-${GIT_SHA1}"
PATCHES=( "${FILESDIR}/${P}-fix-parallel-doc-build.patch" )
sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" "/usr/share/${PN}/${PN}.catalog"
S="${WORKDIR}/${PN}-upstream/${PV}-${GIT_SHA1}"
src_prepare() {
# Use Gentoo doc install path.
sed -i \
-e "s%/share/doc/linuxdoc-tools%/share/doc/${PF}%" \
-e "s%/share/doc/${PN}%/share/doc/${PF}%" \
Makefile.in || die
autotools-utils_src_prepare
@ -75,6 +75,8 @@ src_install() {
autotools-utils_src_install
}
sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" "/usr/share/${PN}/${PN}.catalog"
pkg_postinst() {
latex-package_pkg_postinst
sgml-catalog_pkg_postinst

@ -0,0 +1,49 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
GCONF_DEBUG="no"
inherit gnome2 multilib-minimal
DESCRIPTION="C++ bindings for the Cairo vector graphics library"
HOMEPAGE="http://cairographics.org/cairomm"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="aqua doc +svg X"
RDEPEND="
>=x11-libs/cairo-1.12.10[aqua=,svg=,X=,${MULTILIB_USEDEP}]
>=dev-libs/libsigc++-2.5.1:2[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? (
app-doc/doxygen
dev-libs/libxslt
media-gfx/graphviz )
"
src_prepare() {
# don't waste time building examples because they are marked as "noinst"
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || die
# don't waste time building tests
# they require the boost Unit Testing framework, that's not in base boost
sed -i 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' Makefile.in || die
gnome2_src_prepare
}
multilib_src_configure() {
ECONF_SOURCE="${S}" gnome2_src_configure \
--disable-tests \
$(multilib_native_use_enable doc documentation)
}
multilib_src_install() {
gnome2_src_install
}

@ -1,4 +1,3 @@
DIST gtkmm-2.24.4.tar.xz 10262212 SHA256 443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee SHA512 75d8c7a7c32adb33a9867b36877422bce52d8486d66be5aaa2afe1eee439efc2ba09aab7d06b9986d74879103415062c5386d5354aff6d44a63b2ba2d75f7c89 WHIRLPOOL 06074ec3f2f7adfe1f24b4d629ef73e852a9b21d719f2705f254389802813b53625be0be4aa30e191df134609b8349ea0725afcf858d26c0bf18282dd8358ab0
DIST gtkmm-3.14.0.tar.xz 11400284 SHA256 d9f528a62c6ec226fa08287c45c7465b2dce5aae5068e9ac48d30a64a378e48b SHA512 0525381c19fd0ac0c2f1895f8acd1401caa4b3486b4ca644fb032e1dc984a39deac6552f0bd59e6892705c77d050e0642618bd48ad28e353eaf331c790a684c2 WHIRLPOOL 877e6f7ce7d7ce97a4361829320215bb308f05cda27475bf8f925905ac86054bf03a3137336085ccf244bac87cdeb285b5229628ec09c484a6b12d51a8cb88cd
DIST gtkmm-3.16.0.tar.xz 11468644 SHA256 9b8d4af5e1bb64e52b53bc8ef471ef43e1b9d11a829f16ef54c3a92985b0dd0c SHA512 282e53a0f3f3c4d1594057e4367bb4f4abe8fbf7f2bae2a819b35d4e4137a3e739aa83039114eb52eba16a9dd048abd78f011fb14635e53cf61019c6f4c06397 WHIRLPOOL 87c4dbccb79472c264621b3b96f5e06c73d03f4bbc0121f25e9c29f75e5c3e3e57aede9398b6c8b00e47d4eccd5eb6dfc6068c242af744f77f1d59af14bd2f25
DIST gtkmm-3.18.0.tar.xz 11862504 SHA256 829fa113daed74398c49c3f2b7672807f58ba85d0fa463f5bc726e1b0138b86b SHA512 486a0c4bf6f5e6756c7eb0143374ef14d82ad41bca62403ece6ce76b4e56815a34751e331896126098c96983e767afbee35c9342bbb3908e551d5f31cadd496b WHIRLPOOL 5a268f65dbd067fd749e19e5cb9c2bf8ca718282b730ae3221297549d8a0dae4c6aa1eb7d744b0f9c4dd28a6ac5491e5a5f888975abc967ff792e87dd094ab6b

@ -12,26 +12,22 @@ HOMEPAGE="http://www.gtkmm.org"
LICENSE="LGPL-2.1+"
SLOT="3.0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="aqua doc examples test wayland +X"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="aqua doc examples test wayland X"
REQUIRED_USE="|| ( aqua wayland X )"
COMMON_DEPEND="
>=dev-cpp/glibmm-2.41.2:2[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-3.14:3[aqua?,wayland?,X?,${MULTILIB_USEDEP}]
RDEPEND="
>=dev-cpp/glibmm-2.46.1:2[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-3.18.0:3[aqua?,wayland?,X?,${MULTILIB_USEDEP}]
>=x11-libs/gdk-pixbuf-2.28:2[${MULTILIB_USEDEP}]
>=dev-cpp/atkmm-2.22.7[${MULTILIB_USEDEP}]
>=dev-cpp/cairomm-1.10.0-r1[${MULTILIB_USEDEP}]
>=dev-cpp/pangomm-2.34.0:1.4[${MULTILIB_USEDEP}]
>=dev-cpp/atkmm-2.24.1[${MULTILIB_USEDEP}]
>=dev-cpp/cairomm-1.12.0[${MULTILIB_USEDEP}]
>=dev-cpp/pangomm-2.38.1:1.4[${MULTILIB_USEDEP}]
>=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
"
RDEPEND="${COMMON_DEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-gtkmmlibs-20140508
!app-emulation/emul-linux-x86-gtkmmlibs[-abi_x86_32(-)] )
"
DEPEND="${COMMON_DEPEND}
DEPEND="${RDEPEND}
virtual/pkgconfig
examples? ( >=media-libs/libepoxy-1.2[${MULTILIB_USEDEP}] )
doc? (
media-gfx/graphviz
dev-libs/libxslt

@ -77,6 +77,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
abi_ppc_64) arch=ppc64 ;;
abi_ppc_32) arch=ppc32 ;;
esac
case "$(tc-getCXX)" in

@ -1,3 +1 @@
DIST gjs-1.42.0.tar.xz 449264 SHA256 0c9afb7d5be6ead5b68059596f08eb7c3902b1676ee9c8846aa8df09647dba13 SHA512 8b2b118b832710ccb790b771416c1280b9ed07ed529afb2ae76fd50fa459e1f847ab6239899d5aea3c4136d32c36ac4c639afcc7374d8a98768e8f79b1338105 WHIRLPOOL b19fe1d94a96cf624433c972c7ce42057ee4ebc5c8012bf1237c553f268ea7d6f51de7fd4dab3f3f6a33b9f6c8231da9d83f47474fbe40c10b122db1c07138b0
DIST gjs-1.43.3.tar.xz 455968 SHA256 82b54dd4590ea1622d19b2e27978bcb9c2c5b46922e1e1780ea79b6a28aa1c4e SHA512 7a97c80233203ef31ee5386558388f674f511e46884061f2cb058389cff8c1a11f629eb5f06de33b2086d8c69d9a5b39722f56d7de60b77e1a302041a0056ac9 WHIRLPOOL c3b71c5fcf10a5fce6418416b42a154d49036dce8436ad752430a3457833e247da70603b5e15c236e5709364cb7fc61aaf11dd3ce27f536081341c80e771c768
DIST gjs-1.44.0.tar.xz 486144 SHA256 88c960f6ad47a6931d123f5d6317d13704f58572f68a4391913a254ff27dce80 SHA512 3866e124f05221fd47275951f8c2c6954ba28a9b1443cc3c01789284709e2dd69f496efa094e6ddc9fcae563b9def68441aa398c1488076701fa1e873f9b9735 WHIRLPOOL ee165353e08c6a5f69785e04fb12e582778695fb8b20f93153d6f648bd8597988a5d12349f73e70c2d52aed4d80d53484086f212c427fe2c7675eb858d41cad0

@ -1,72 +0,0 @@
From a432e83f967f3d15ef14cfa8040f868af13d1e74 Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampagna@src.gnome.org>
Date: Tue, 6 May 2014 19:03:15 +0200
Subject: function: respect ownership transfer of instance parameters
When calling a method that is (transfer full) on the instance
parameter we need to make an extra ref/copy.
https://bugzilla.gnome.org/show_bug.cgi?id=729545
diff --git a/gi/function.cpp b/gi/function.cpp
index 859ea44..792778c 100644
--- a/gi/function.cpp
+++ b/gi/function.cpp
@@ -543,6 +543,7 @@ gjs_fill_method_instance (JSContext *context,
GIBaseInfo *container = g_base_info_get_container((GIBaseInfo *) function->info);
GIInfoType type = g_base_info_get_type(container);
GType gtype = g_registered_type_info_get_g_type ((GIRegisteredTypeInfo *)container);
+ GITransfer transfer = g_callable_info_get_instance_ownership_transfer (function->info);
switch (type) {
case GI_INFO_TYPE_STRUCT:
@@ -553,6 +554,8 @@ gjs_fill_method_instance (JSContext *context,
return JS_FALSE;
out_arg->v_pointer = gjs_gerror_from_error(context, obj);
+ if (transfer == GI_TRANSFER_EVERYTHING)
+ out_arg->v_pointer = g_error_copy ((GError*) out_arg->v_pointer);
} else {
if (!gjs_typecheck_boxed(context, obj,
container, gtype,
@@ -560,6 +563,14 @@ gjs_fill_method_instance (JSContext *context,
return JS_FALSE;
out_arg->v_pointer = gjs_c_struct_from_boxed(context, obj);
+ if (transfer == GI_TRANSFER_EVERYTHING) {
+ if (gtype != G_TYPE_NONE)
+ out_arg->v_pointer = g_boxed_copy (gtype, out_arg->v_pointer);
+ else {
+ gjs_throw (context, "Cannot transfer ownership of instance argument for non boxed structure");
+ return JS_FALSE;
+ }
+ }
}
break;
@@ -569,6 +580,8 @@ gjs_fill_method_instance (JSContext *context,
return JS_FALSE;
out_arg->v_pointer = gjs_c_union_from_union(context, obj);
+ if (transfer == GI_TRANSFER_EVERYTHING)
+ out_arg->v_pointer = g_boxed_copy (gtype, out_arg->v_pointer);
break;
case GI_INFO_TYPE_OBJECT:
@@ -577,10 +590,14 @@ gjs_fill_method_instance (JSContext *context,
if (!gjs_typecheck_object(context, obj, gtype, JS_TRUE))
return JS_FALSE;
out_arg->v_pointer = gjs_g_object_from_object(context, obj);
+ if (transfer == GI_TRANSFER_EVERYTHING)
+ g_object_ref (out_arg->v_pointer);
} else if (gjs_typecheck_is_fundamental(context, obj, JS_FALSE)) {
if (!gjs_typecheck_fundamental(context, obj, gtype, JS_TRUE))
return JS_FALSE;
out_arg->v_pointer = gjs_g_fundamental_from_object(context, obj);
+ if (transfer == GI_TRANSFER_EVERYTHING)
+ gjs_fundamental_ref (context, out_arg->v_pointer);
} else {
gjs_throw_custom(context, "TypeError",
"%s.%s is not an object instance neither a fundamental instance of a supported type",
--
cgit v0.10.1

@ -1,45 +0,0 @@
From 791b1a33424897549f487eb75a80f13c4f94437a Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampagna@src.gnome.org>
Date: Fri, 11 Apr 2014 18:38:57 +0200
Subject: Ratelimit RSS-triggered GCs
When loading a lot of data in memory (for example in the shell
opening the overview, which loads all the desktop files and icons)
the RSS can increase a lot, so we would trigger GCs continously
without any hope of freeing memory, so ratelimit full GCs to at
most one every 5 frames.
https://bugzilla.gnome.org/show_bug.cgi?id=728048
--- a/gjs/jsapi-util.cpp
+++ b/gjs/jsapi-util.cpp
@@ -1176,6 +1176,7 @@
}
static gulong linux_rss_trigger;
+static gint64 last_gc_time;
#endif
/**
@@ -1193,6 +1194,13 @@
/* We initiate a GC if VM or RSS has grown by this much */
gulong vmsize;
gulong rss_size;
+ gint64 now;
+
+ /* We rate limit GCs to at most one per 5 frames.
+ One frame is 16666 microseconds (1000000/60)*/
+ now = g_get_monotonic_time();
+ if (now - last_gc_time < 5 * 16666)
+ return;
_linux_get_self_process_size (&vmsize, &rss_size);
@@ -1209,6 +1217,7 @@
if (rss_size > linux_rss_trigger) {
linux_rss_trigger = (gulong) MIN(G_MAXULONG, rss_size * 1.25);
JS_GC(JS_GetRuntime(context));
+ last_gc_time = now;
} else if (rss_size < (0.75 * linux_rss_trigger)) {
/* If we've shrunk by 75%, lower the trigger */
linux_rss_trigger = (rss_size * 1.25);

@ -1,48 +0,0 @@
From 554c220e78172213e9637f9a901009b4bc964e3a Mon Sep 17 00:00:00 2001
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
Date: Wed, 15 Jan 2014 17:00:22 -0500
Subject: [PATCH] gjs-tests: Remove dumpstack test
OK, I lied. This is the most useless test ever.
---
test/gjs-tests.cpp | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
index b79b616..6cade7b 100644
--- a/test/gjs-tests.cpp
+++ b/test/gjs-tests.cpp
@@ -163,22 +163,6 @@ gjstest_test_func_gjs_jsapi_util_string_js_string_utf8(void)
}
static void
-gjstest_test_func_gjs_stack_dump(void)
-{
- GjsContext *context;
-
- /* TODO this test could be better - maybe expose dumpstack as a JS API
- * so that we have a JS stack to dump? At least here we're getting some
- * coverage.
- */
- context = gjs_context_new();
-
- gjs_dumpstack();
- g_object_unref(context);
- gjs_dumpstack();
-}
-
-static void
gjstest_test_func_gjs_jsapi_util_error_throw(void)
{
GjsUnitTestFixture fixture;
@@ -348,7 +332,6 @@ main(int argc,
g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang);
g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang);
g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang);
- g_test_add_func("/gjs/stack/dump", gjstest_test_func_gjs_stack_dump);
g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null);
g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers);
--
2.1.2

@ -1,40 +0,0 @@
From 4ea9fda3f323355d10e946d19d817fe8c4e6b533 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Sun, 12 Oct 2014 21:57:11 +0200
Subject: [PATCH 1/2] Comment broken unittests
---
test/gjs-tests.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
index 6cade7b..4d6c61e 100644
--- a/test/gjs-tests.cpp
+++ b/test/gjs-tests.cpp
@@ -324,18 +324,18 @@ main(int argc,
g_test_init(&argc, &argv, NULL);
- g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy);
+ /* g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); */
g_test_add_func("/gjs/context/construct/eval", gjstest_test_func_gjs_context_construct_eval);
- g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array);
- g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw);
- g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8);
+ /* g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); */
+ /* g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); */
+ /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */
g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang);
g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang);
g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang);
g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null);
g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers);
- gjs_test_add_tests_for_coverage ();
+ /* gjs_test_add_tests_for_coverage (); */
g_test_run();
--
2.1.2

@ -1,35 +0,0 @@
From da18a2676477138693e893d3245316f987d74497 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Sun, 12 Oct 2014 21:57:45 +0200
Subject: [PATCH 2/2] Comment broken JS unittest
---
installed-tests/js/testLocale.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js
index b086a66..0c5abb1 100644
--- a/installed-tests/js/testLocale.js
+++ b/installed-tests/js/testLocale.js
@@ -1,14 +1,14 @@
// tests for JS_SetLocaleCallbacks().
const JSUnit = imports.jsUnit;
-function testToLocaleDateString() {
- let date = new Date();
+//function testToLocaleDateString() {
+ //let date = new Date();
// %A is the weekday name, this tests locale_to_unicode
// we're basically just testing for a non-crash, since
// we'd have to run in a specific locale to have any
// idea about the result.
- date.toLocaleDateString("%A");
-}
+ //date.toLocaleDateString("%A");
+//}
function testToLocaleLowerCase() {
JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase());
--
2.1.2

@ -1,69 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit eutils gnome2 pax-utils virtualx
DESCRIPTION="Javascript bindings for GNOME"
HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
SLOT="0"
IUSE="+cairo examples gtk test"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
RDEPEND="
>=dev-libs/glib-2.36:2
>=dev-libs/gobject-introspection-1.41.4
sys-libs/readline:0
dev-lang/spidermonkey:24
virtual/libffi
cairo? ( x11-libs/cairo[X] )
gtk? ( x11-libs/gtk+:3 )
"
DEPEND="${RDEPEND}
gnome-base/gnome-common
sys-devel/gettext
virtual/pkgconfig
test? ( sys-apps/dbus )
"
src_prepare() {
# Disable broken unittests
epatch "${FILESDIR}"/${PN}-1.42.0-disable-unittest-*.patch
gnome2_src_prepare
}
src_configure() {
# FIXME: add systemtap/dtrace support, like in glib:2
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
# XXX: Do NOT enable coverage, completely useless for portage installs
gnome2_src_configure \
--disable-systemtap \
--disable-dtrace \
--disable-coverage \
$(use_with cairo cairo) \
$(use_with gtk)
}
src_test() {
Xemake check
}
src_install() {
# installation sometimes fails in parallel
gnome2_src_install -j1
if use examples; then
insinto /usr/share/doc/"${PF}"/examples
doins "${S}"/examples/*
fi
# Required for gjs-console to run correctly on PaX systems
pax-mark mr "${ED}/usr/bin/gjs-console"
}

@ -1,69 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit eutils gnome2 pax-utils virtualx
DESCRIPTION="Javascript bindings for GNOME"
HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
SLOT="0"
IUSE="+cairo examples gtk test"
KEYWORDS="alpha amd64 arm ~ia64 ~ppc ppc64 sparc x86"
RDEPEND="
>=dev-libs/glib-2.36:2
>=dev-libs/gobject-introspection-1.41.4
sys-libs/readline:0
dev-lang/spidermonkey:24
virtual/libffi
cairo? ( x11-libs/cairo[X] )
gtk? ( x11-libs/gtk+:3 )
"
DEPEND="${RDEPEND}
gnome-base/gnome-common
sys-devel/gettext
virtual/pkgconfig
test? ( sys-apps/dbus )
"
src_prepare() {
# Disable broken unittests
epatch "${FILESDIR}"/${PN}-1.43.3-disable-unittest-*.patch
gnome2_src_prepare
}
src_configure() {
# FIXME: add systemtap/dtrace support, like in glib:2
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
# XXX: Do NOT enable coverage, completely useless for portage installs
gnome2_src_configure \
--disable-systemtap \
--disable-dtrace \
--disable-coverage \
$(use_with cairo cairo) \
$(use_with gtk)
}
src_test() {
Xemake check
}
src_install() {
# installation sometimes fails in parallel
gnome2_src_install -j1
if use examples; then
insinto /usr/share/doc/"${PF}"/examples
doins "${S}"/examples/*
fi
# Required for gjs-console to run correctly on PaX systems
pax-mark mr "${ED}/usr/bin/gjs-console"
}

@ -8,7 +8,6 @@ inherit gnome2 multilib-minimal
DESCRIPTION="GObject bindings for libudev"
HOMEPAGE="https://wiki.gnome.org/Projects/libgudev"
SRC_URI="https://download.gnome.org/sources/libgudev/${PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0/0"
@ -24,11 +23,9 @@ RDEPEND="${DEPEND}
!sys-apps/systemd[gudev(-)]"
multilib_src_configure() {
local G2CONF="
$(multilib_native_use_enable introspection)
ECONF_SOURCE=${S} gnome2_src_configure \
$(multilib_native_use_enable introspection) \
$(use_enable static-libs static)
"
ECONF_SOURCE=${S} gnome2_src_configure
}
multilib_src_install() {

@ -1,2 +1 @@
DIST libgusb-0.2.6.tar.xz 276608 SHA256 6f638bdbc4e77643c0a198a300e50b592ad326e56bddf359de15e04689209c06 SHA512 4b13166f4b02f1c10ee074564d1e25de0b4763a19b83f56d40b2f43b595cfeb1c7fe4ecdeceaf0b32f51f2156d1e26c42a976cab5db4ad269533b803dbc27bdb WHIRLPOOL d976567c41ef6ef11232ac999b9efd14667312112efec8bb4d4700a0e2d89f0310eabe7542ceda66df3d39bc95f92c88f1da90e6c5b563bd4fb20da2eeabadbb
DIST libgusb-0.2.7.tar.xz 275492 SHA256 0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee SHA512 9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac WHIRLPOOL 7ce8652167f3bf553d33d2b2504e1b1a8fdbdd0844b9fa8f2b54ad5d91b0db505cdedb3d1b6827212bde36bea39c28160f51f0253c921db4f33dae1e9368c07d

@ -1,52 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
GCONF_DEBUG="no"
VALA_USE_DEPEND="vapigen"
inherit eutils gnome2 multilib-minimal vala
DESCRIPTION="GObject wrapper for libusb"
HOMEPAGE="https://github.com/hughsie/libgusb"
SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="+introspection static-libs vala"
REQUIRED_USE="vala? ( introspection )"
# Yes, we really need API from dev-libs/libusb-1.0.19, not virtual/libusb
RDEPEND="
>=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
virtual/libusb:1[udev,${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-1.29:= )
"
DEPEND="${RDEPEND}
dev-libs/libxslt
dev-util/gtk-doc-am
virtual/pkgconfig[${MULTILIB_USEDEP}]
vala? ( $(vala_depend) )
"
# Tests try to access usb devices in /dev
RESTRICT="test"
multilib_src_configure() {
ECONF_SOURCE=${S} \
gnome2_src_configure \
$(multilib_native_use_enable introspection) \
$(use_enable static-libs static) \
$(multilib_native_use_enable vala)
if multilib_is_native_abi; then
ln -s "${S}"/docs/api/html docs/api/html || die
fi
}
multilib_src_install() {
gnome2_src_install
}

@ -19,7 +19,7 @@ fi
LICENSE="BSD"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
REQUIRED_USE="readline? ( !libedit )
libedit? ( !readline )"

@ -1,3 +1 @@
DIST totem-pl-parser-3.10.3.tar.xz 1593180 SHA256 14512c76c7f375d8bb9e9a220afbac20be2d2eb82abee9a8986d264079a0c72f SHA512 564c745e1662da9c65f118080e792557176b29cb02864d3e4fd5d56649e1db67d5a9de92a306805e7430bac7f0e7112af2fa49b3756df587ec2b08b1dfff06bf WHIRLPOOL 121aba890caa7c198288d669a01e920ef730aa6eb638de3d2882bec66e4b3676bcb931dd7673f6281fa0e803aa9c3916128bf22061d734fd8be3c9d3b76e8127
DIST totem-pl-parser-3.10.4.tar.xz 1595992 SHA256 482353f8466b1cab06d99c0a112a4adc414bf43b9c8f3bd636570d20d1f4e265 SHA512 f806daca2ad7de4645482fd382d3ee7fa137b124ebc6068d0b6104dda1760d080d713c971ed15ed6ff57e7971e6a317191a52c37bee0c3ed462ace5f12acfacc WHIRLPOOL 3dd74bf5dcb7cc4cd1df4129be68b1e8a02c9addd9a339615d5d618fda8c345424e432aacb3a59b08a77dc025c5ee22afb42b2218d5e3517317a0178502fcfba
DIST totem-pl-parser-3.10.5.tar.xz 1594516 SHA256 a746580f61b678029dadaa824a6923445afd944d12c40c5fccb27159799c8137 SHA512 d3b29b8bd265e4e8df2820b309bf78f58faec3ee4314b0453f11a0db754ed3b6c2b223e697498925810df660a89d5d6275959b7104f632054b5984f7d9aad553 WHIRLPOOL 06e38e67212764fca629b592d7dc5c4dfa222ac61076fd73434721f3dd78d8da5f6a716085bccf65e50512aabf5d92ad3d04797ab87275dc4e4ee14df4699964

@ -1,64 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit gnome2
DESCRIPTION="Playlist parsing library"
HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/"
LICENSE="LGPL-2+"
SLOT="0/18"
IUSE="archive crypt +introspection +quvi test"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
RDEPEND="
>=dev-libs/glib-2.31:2
dev-libs/gmime:2.6
>=net-libs/libsoup-2.43:2.4
archive? ( >=app-arch/libarchive-3 )
crypt? ( dev-libs/libgcrypt:0 )
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
quvi? ( >=media-libs/libquvi-0.9.1:0= )
"
DEPEND="${RDEPEND}
!<media-video/totem-2.21
>=dev-util/intltool-0.35
>=dev-util/gtk-doc-am-1.14
>=sys-devel/gettext-0.17
virtual/pkgconfig
test? (
gnome-base/gvfs[http]
sys-apps/dbus )
"
# eautoreconf needs:
# dev-libs/gobject-introspection-common
# >=gnome-base/gnome-common-3.6
src_prepare() {
# Disable tests requiring network access, bug #346127
# 3rd test fails on upgrade, not once installed
sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
-e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
-e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\
-i plparse/tests/parser.c || die "sed failed"
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
--disable-static \
$(use_enable archive libarchive) \
$(use_enable crypt libgcrypt) \
$(use_enable quvi) \
$(use_enable introspection)
}
src_test() {
# This is required as told by upstream in bgo#629542
GVFS_DISABLE_FUSE=1 dbus-launch emake check || die "emake check failed"
}

@ -1,64 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit gnome2
DESCRIPTION="Playlist parsing library"
HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/"
LICENSE="LGPL-2+"
SLOT="0/18"
IUSE="archive crypt +introspection +quvi test"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
RDEPEND="
>=dev-libs/glib-2.31:2
dev-libs/gmime:2.6
>=net-libs/libsoup-2.43:2.4
archive? ( >=app-arch/libarchive-3 )
crypt? ( dev-libs/libgcrypt:0 )
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
quvi? ( >=media-libs/libquvi-0.9.1:0= )
"
DEPEND="${RDEPEND}
!<media-video/totem-2.21
>=dev-util/intltool-0.35
>=dev-util/gtk-doc-am-1.14
>=sys-devel/gettext-0.17
virtual/pkgconfig
test? (
gnome-base/gvfs[http]
sys-apps/dbus )
"
# eautoreconf needs:
# dev-libs/gobject-introspection-common
# >=gnome-base/gnome-common-3.6
src_prepare() {
# Disable tests requiring network access, bug #346127
# 3rd test fails on upgrade, not once installed
sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
-e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
-e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\
-i plparse/tests/parser.c || die "sed failed"
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
--disable-static \
$(use_enable archive libarchive) \
$(use_enable crypt libgcrypt) \
$(use_enable quvi) \
$(use_enable introspection)
}
src_test() {
# This is required as told by upstream in bgo#629542
GVFS_DISABLE_FUSE=1 dbus-launch emake check || die "emake check failed"
}

@ -20,6 +20,10 @@ RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
PATCHES=(
"${FILESDIR}"/${P}-pypy-test-backport.patch
)
python_prepare_all() {
# Disable test failing with dev-python/pyxml installed.
if has_version dev-python/pyxml; then
@ -35,8 +39,6 @@ python_prepare_all() {
}
python_test() {
# https://bitbucket.org/cthedot/cssutils/issues/55
[[ "${EPYTHON}" =~ "pypy" ]] && return
ln -s "${S}/sheets" "${BUILD_DIR}/sheets" || die
# esetup.py test
# exclude tests that connect to the network

@ -0,0 +1,32 @@
# HG changeset patch
# User Daniel <kingdread@gmx.de>
# Date 1448482419 -3600
# Node ID 01a19d494b6f31e91c54ae39c5a6f43f6292a85d
# Parent 3a01bd18118a6466ad93aa23caaa4164528b59ac
Fix tests on PyPy 2
Tests fail because of the extra "u" prefix in the error message
diff --git a/src/cssutils/tests/test_profiles.py b/src/cssutils/tests/test_profiles.py
--- a/src/cssutils/tests/test_profiles.py
+++ b/src/cssutils/tests/test_profiles.py
@@ -2,6 +2,7 @@
__version__ = '$Id: test_cssvalue.py 1443 2008-08-31 13:54:39Z cthedot $'
import sys
+import platform
import basetest
import cssutils
@@ -124,6 +125,11 @@
expmsg = u"invalid literal for int(): x"
elif sys.platform.startswith('java'):
expmsg = u"invalid literal for int() with base 10: x"
+ # PyPy adds the u prefix, but only in versions lower than Python 3
+ elif (platform.python_implementation() == "PyPy" and
+ sys.version_info < (3, 0)):
+ expmsg = u"invalid literal for int() with base 10: u'x'"
+
self.assertRaisesMsg(Exception, expmsg,
cssutils.profile.validate, u'-test-funcval', u'x')

@ -2,5 +2,7 @@ DIST Django-1.4.22.tar.gz 7802249 SHA256 d0e2c9d772fcab2cf9c09e1c05e711cf5fe5eb9
DIST Django-1.5.12.tar.gz 8202839 SHA256 b3de77beb6e59b72071ca66f20c2ad34e1b90d39b0241e62c1f03c668ddd6ced SHA512 37736827618737c54e7b63f2376b915d8dc0cdaf1900a2f6c3c9e0edd69e50379f95e3b6a31c930efdca88793b6330e7226175af91951d8637e5db780bc9fd8d WHIRLPOOL a3d17e364b0f90ff3a059afbfb57fdb9988ad777048f3caa30244d7ae6b0c87f42e1e5af5bdcda8f09c713518e0fb2471e1e4da3a988f37e45e6bca7678ecafa
DIST Django-1.6.11.tar.gz 6764000 SHA256 7e50e573e484435873b3515d7982d80093b2695aba17fd0ff024307454dc3a56 SHA512 de6024b49e0344bf153f73ec344180fb701e415e4f9c330118821744d0e579436cc265724f7ef7213c9551847022ba9570312633f317b9003db533d06deb9829 WHIRLPOOL 5de086952bda9449f85798e8fe3bac82f11e1b856c1d39e340399e71ca6bf183318eebf1f536714567036485637166a929082a1ba9d6c1816f07c53dcc12c72a
DIST Django-1.7.10.tar.gz 7584312 SHA256 b9357d2cebe61997055d417d607f9c650e817cd1a383b9a1b88bf1edad797c75 SHA512 ef9c8f3f5db17474970805bd5a3956c65766362d883013c19d32cb0fcc795de74a831758d66d18103255e5c510b2ee384099f08e12d75c567caad2d80404cc20 WHIRLPOOL 380f05ff7f51dfc50f578f946b5b83ae36ab8a96a10ccce9c62642f5b2434c2ba9de2d1d9bc57859db003e4569fa0c3e118cf51cd80a9fe40c04c49fdf213999
DIST Django-1.7.11.tar.gz 7586798 SHA256 2039144fce8f1b603d03fa5a5643578df1ad007c4ed41a617f02a3943f7059a1 SHA512 2e3415295ee6b590e366b09adb261baccb750519b9bcef1bb09bd52a2db705c8082bfc13440c621a5f41dd4f9bd626792eba4a572e78de3b7caf93c951c406ee WHIRLPOOL 8797862021c6acdfcba5752f6f5f2d567a564812fc5089678a9d00b9d8f1cb13c03bd0cb9b369b68ce1d1f1dc1522f05d41778f5181aef9c7d49783afc280e7c
DIST Django-1.8.5.tar.gz 7270297 SHA256 2d174e4a3f54708d0d5b6ff1bf54ae71652e83bb06d7576b3b20d916b29c3653 SHA512 91a8788ec6a9f3592615da55948d080719425a2135e241e7b5014c6b9c354daa53c2caeadd9ac3d991730c8ef8fba579a0aa4f3094a1e83b0600811e9a3bd20b WHIRLPOOL af7037d853f6d9ea67df412589aab22113a8f4fb41c79d9f42e9b8fa0184b273a75815a558dddfeb8650f14532f77fc9585fc3c72912beaa152a932e667fcb06
DIST Django-1.8.6.tar.gz 7341303 SHA256 359d56f55a033a92831eab1f7ec47db3f9ad8e07f28ead9035d961886d54459a SHA512 bab5dbc83e73413b12aabc78e686d912775c881c9f9d4dee70bcec66782ae3a564019b0bbc62f8b3d4f642167f9e31c9083364debbe4b9c862be82e7ca654794 WHIRLPOOL 4a3e3b83be74b4b74fa6d27b58e5c3066a9d3179c05e507071072bde3bed6eef7e08fdf1f254af8e8ea485acfcbf78015daaa1615d34d2511ac22ad86dea984b
DIST Django-1.8.7.tar.gz 7276831 SHA256 17a66de5cf59b5ee81c3dc57609b145bb45adddc0dc06937b998597d6e7b4523 SHA512 74b89efd4fd2d19542a30e0fa0648652aa85ea309804afadae1162b1cac3492e599beaf5ea868d67bcef5f016283952dcc869726cbf6f15141f0816a0377b041 WHIRLPOOL adae3d00ceab8bb3e526107068270d53de968b782d5e37a64f59ecaf75e8933d3895dc6de5c934ea180c8436a88acb4949f7f4f8bba56c13c92d08874596c784

@ -0,0 +1,105 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
PYTHON_REQ_USE='sqlite?,threads(+)'
WEBAPP_NO_AUTO_INSTALL="yes"
inherit bash-completion-r1 distutils-r1 eutils versionator webapp
MY_P="Django-${PV}"
DESCRIPTION="High-level Python web framework"
HOMEPAGE="http://www.djangoproject.com/ https://pypi.python.org/pypi/Django"
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
test? (
${PYTHON_DEPS//sqlite?/sqlite}
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/numpy[$(python_gen_usedep 'python*')]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)"
# dev-python/python-sqlparse[${PYTHON_USEDEP}]
# dev-python/bcrypt[${PYTHON_USEDEP}]
# dev-python/selenium[${PYTHON_USEDEP}]
# sci-libs/gdal[geos,${PYTHON_USEDEP}]
S="${WORKDIR}/${MY_P}"
WEBAPP_MANUAL_SLOT="yes"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.6-bashcomp.patch
)
pkg_setup() {
webapp_pkg_setup
}
python_prepare_all() {
# Prevent d'loading in the doc build
sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
# Tests have non-standard assumptions about PYTHONPATH,
# and don't work with ${BUILD_DIR}/lib.
PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|| die "Tests fail with ${EPYTHON}"
}
src_install() {
distutils-r1_src_install
webapp_src_install
elog "Additional Backend support can be enabled via"
optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
optfeature "GEO Django" sci-libs/gdal[geos]
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
optfeature "ImageField Support" dev-python/pillow
echo ""
}
python_install_all() {
newbashcomp extras/django_bash_completion ${PN}-admin
bashcomp_alias ${PN}-admin django-admin.py
if use doc; then
rm -fr docs/_build/html/_sources || die
local HTML_DOCS=( docs/_build/html/. )
fi
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
doins -r django/contrib/admin/static/admin/.
distutils-r1_python_install_all
}
pkg_postinst() {
elog "A copy of the admin media is available to webapp-config for installation in a"
elog "webroot, as well as the traditional location in python's site-packages dir"
elog "for easy development."
webapp_pkg_postinst
}

@ -0,0 +1,107 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
PYTHON_REQ_USE='sqlite?,threads(+)'
WEBAPP_NO_AUTO_INSTALL="yes"
inherit bash-completion-r1 distutils-r1 eutils versionator webapp
MY_PN="Django"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="High-level Python web framework"
HOMEPAGE="http://www.djangoproject.com/ https://pypi.python.org/pypi/Django"
SRC_URI="
https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz
mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
test? (
${PYTHON_DEPS//sqlite?/sqlite}
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/numpy[$(python_gen_usedep 'python*')]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
WEBAPP_MANUAL_SLOT="yes"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.6-bashcomp.patch
)
pkg_setup() {
webapp_pkg_setup
}
python_prepare_all() {
# Prevent d'loading in the doc build
sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
# Tests have non-standard assumptions about PYTHONPATH,
# and don't work with ${BUILD_DIR}/lib.
PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|| die "Tests fail with ${EPYTHON}"
}
python_install_all() {
newbashcomp extras/django_bash_completion ${PN}-admin
bashcomp_alias ${PN}-admin django-admin.py
if use doc; then
rm -fr docs/_build/html/_sources || die
local HTML_DOCS=( docs/_build/html/. )
fi
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
doins -r django/contrib/admin/static/admin/.
distutils-r1_python_install_all
}
src_install() {
distutils-r1_src_install
webapp_src_install
}
pkg_postinst() {
elog "Additional Backend support can be enabled via"
optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
echo ""
elog "Other features can be enhanced by"
optfeature "GEO Django" sci-libs/gdal[geos]
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
optfeature "ImageField Support" dev-python/pillow
optfeature "Password encryption" dev-python/bcrypt
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
echo ""
elog "A copy of the admin media is available to webapp-config for installation in a"
elog "webroot, as well as the traditional location in python's site-packages dir"
elog "for easy development."
webapp_pkg_postinst
}

@ -1,2 +1 @@
DIST json-rpc-1.10.1.tar.gz 25410 SHA256 3edffc0905a08090edb4036f8767a08826ec618f9f02717251fd2eb3e1c6983b SHA512 bb69cbb12c0a64286fb1e98db21ca75cb19daf20c6d6f5721f82891a17e44d2cda172e73bd389a02077d094b8f6deb0959952b0498b0c1b4a0acfaa5e3ba3922 WHIRLPOOL c08c465be4951055a12979de5bca056cf56e35c874f491ba4891125e9fbfcc985f85d120c2a5fcb1d8b8264487af90efb34e0316981ccf546190421df5fdc885
DIST json-rpc-1.7.0.tar.gz 21699 SHA256 9961113fc66bb4e34abd4fa6e8eb2086d14aee88c789e00a023751b5c84dd34b SHA512 f89ae1c2da9f0fa3e3a6552ea89a13ef1806b1a5d4d03ab7c420a1648dde6980af6743a5c70d500224ad5d0d8a5aa6b74ad7de43ea3aeefb1cba0e5dc6cc5fa4 WHIRLPOOL 02bd37b82b6259b9b8fb513615499b1105a0cbbea8b4e6e37800560b6114beb237efa397bf6f50312a26e500eedd0ddc89bf798162742788200f51a563a713ab

@ -1,27 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=(python{2_7,3_{3,4}})
inherit distutils-r1
DESCRIPTION="JSON-RPC transport implementation for python"
HOMEPAGE="https://github.com/pavlov99/json-rpc"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)"
python_test() {
esetup.py test
}

@ -7,6 +7,8 @@ EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
PYTHON_REQ_USE="threads(+)"
VIRTUALX_REQUIRED="manual"
inherit distutils-r1 eutils flag-o-matic virtualx
DESCRIPTION="Powerful data structures for data analysis and statistics"
@ -63,6 +65,7 @@ DEPEND="${MINIMAL_DEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
doc? (
${VIRTUALX_DEPEND}
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
@ -79,6 +82,7 @@ DEPEND="${MINIMAL_DEPEND}
x11-misc/xclip
)
test? (
${VIRTUALX_DEPEND}
${RECOMMENDED_DEPEND}
${OPTIONAL_DEPEND}
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
@ -115,9 +119,10 @@ python_compile_all() {
# To build docs the need be located in $BUILD_DIR,
# else PYTHONPATH points to unusable modules.
if use doc; then
VIRTUALX_COMMAND="${EPYTHON}"
cd "${BUILD_DIR}"/lib || die
cp -ar "${S}"/doc . && cd doc || die
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
LANG=C PYTHONPATH=. virtualmake make.py html || die
fi
}

@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

@ -41,11 +41,8 @@ DEPEND="${COMMON_DEPEND}
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection]
!sparc? ( python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
"
# FIXME: remove "!sparc?" automagic nonsense above when pyflakes is
# keyworded on sparc, bug #553380
# gnome-base/gnome-common required by eautoreconf
# We now disable introspection support in slot 2 per upstream recommendation

@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ~sparc x86"
KEYWORDS="alpha amd64 arm hppa ppc sparc x86"
S=${WORKDIR}/${MY_P}

@ -1,3 +1,4 @@
DIST mysql2-0.3.19.gem 52224 SHA256 d34c6804e1916361ff352da0f0f57e615909cad0edcbf18d9aba78e1ddc2918a SHA512 1486e6016854776307a42b8edd1b51f222c9ec4a3aa769aba03579c132e778673ed5cd788d129fecb73085a01989adf9813d36d20ff292573b6db041354270f5 WHIRLPOOL 12db1a0c0b8260bae189590094978038903e871e1e91cf9d502117a05807344a60d9b40be0c8a45e5be74f027eefbf7e2c2ab5d5ba2d8e9bcdabaf6b41c8024b
DIST mysql2-0.3.20.gem 52224 SHA256 37166b21ca4b92a7af9bea566d78884b05391cfc14f786c18e7f264b422f0758 SHA512 65088e57b3693cb2b28cd37fc595de43edb85dba14421c1c43cd0c4e41efc0a8a39bd541213170af95e712998b44411a4212d9b96750207ed9d7292aa1e66c91 WHIRLPOOL 23e9852f3f9ee76e4463c4397b1e96288e2f8575030f33540c7c8cc8ca8fc106be2aec1c117dd008e4026872850731b4396babbbbeb971e8dacf523fe33387c9
DIST mysql2-0.4.1.gem 71680 SHA256 1ba5e782424a7a8d9ed75456c0df22d4196d6ca84a3a8a1ba3d009c5783d0fe2 SHA512 6abd2e63c5a24fa935d706afecba1a14b6fbb408a1a5e88b78b19a034426d7dbaaa82646b471d5d3965547d8377b196031f1a00e86a0da54665e485aa051ce7c WHIRLPOOL 21e6aa216a564335dd9e980e93ee29bd29a5958392c759d6e86c8a88f35d843eb8b9292c904ec3102c079e023757d0555a7faf8c9bb028151815bb68ad0024a2
DIST mysql2-0.4.2.gem 72704 SHA256 0a12414109d6f1c328ed29a2157daff265eab81f1b3bce7794fcb4804fdaeb66 SHA512 d6883149dbd505c5d7f73c657a5fd2eebaeff9f78d411ac2fcb9bf78dc7f45866290067f20af2dd40a1851a26b09f1af404bc7aba3c60dd979475b7db81e2dae WHIRLPOOL 999b87d21acb6f8dfeb33770c27dc0b00d4576edc5e14311e543bca09be79bf56fe8d9aa93b881dca99ed5a21634c2bb1328cb0f0877ee7f0573013bb0688284

@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
# Tests require a live MySQL database but should all pass.
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit multilib ruby-fakegem
DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql"
HOMEPAGE="https://github.com/brianmario/mysql2"
LICENSE="MIT"
SLOT="0.4"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND="${DEPEND} virtual/libmysqlclient"
RDEPEND="${RDEPEND} virtual/libmysqlclient:="
each_ruby_configure() {
${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
}
each_ruby_compile() {
emake V=1 -Cext/mysql2
cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
}

@ -1,3 +1,4 @@
DIST slop-3.6.0.tgz 19570 SHA256 8fdb0e81e0636f7a266b5f12e1fa419c27bf1b529f0c48addaaa9b02bcccf1ca SHA512 48bc2f56070a6f65b865b76dd5ba2e0e434c2ac5f9efef89301833746c0d01e5d9769ae02cdff8a4cfb0ed67d4306d921eafe086f49dafa0af8521d14bcee2a6 WHIRLPOOL c33dfb201a24c07e3abc56fa5c0944caff55814ac42d462e607a63c7d60e7fb02ba80accd020f572331c0bd9abd823446538e81b8039fdf5bab6bfa26d24e5d4
DIST slop-4.1.0.tgz 12644 SHA256 d07e6bb256cc1392ddeafcd071bd6407c469af4496de9e429333a50514281a33 SHA512 b1dfa808821b210681917e2cec6878482287e3be0e8ea1a1b3b311bf94e53a109e9b77524bca0030600904545c3e7a5b2ad3850210e53c7ee5bbff1efd8adef2 WHIRLPOOL ebdca4c84c7dc9997be8a1a492389c43b907a4d8c1f7bbad74ebff9335459d83f989b6e1a3e04ca76926c08737f1244abdd461ae8fc72d87532bf9003af30427
DIST slop-4.2.0.tgz 13291 SHA256 72fb5cc0d3847d44b3e4a6eba6ce7c0042819db3b952fc91ce662146b7797f49 SHA512 5857b749cee508a5ac94b1c247b23cb9b0dd23bb51ade3909472f597ee1c4a73571afb499731a7b55e65125c5555ee83d9ce582b87a10f68086debc30e70f044 WHIRLPOOL 5a881a86ba79925174d0f88933302fcabe79889f1570b6bc14ee3c20d9b1cadae761641d499de86c5cb82cc0a2dd71a5f87082026758d474001db5f0e0804887
DIST slop-4.2.1.tgz 13788 SHA256 a825f9a6e9a450e5d1968b52cb4c1b662d678a94063e0d5f3d6ae50a4f788b62 SHA512 698c8dc10aa450486b43d2a2d2447616bc7dc42a6ea6b0b5db4aa0be651641d780f002161ab6fd6f6d1b4b6fb59ac38a8b56a4b27daa80680c5f2a94e13fbb11 WHIRLPOOL 8539c9308edb0744fd74170c945bcf44564daaebcfdb7347769932747e7167ac4edddc365eb4e058b26a08850809cbaa91d2e645c6f027e5145123baff09a6d0

@ -0,0 +1,27 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
inherit ruby-fakegem
DESCRIPTION="A simple option parser with an easy to remember syntax and friendly API"
HOMEPAGE="https://github.com/injekt/slop"
SRC_URI="https://github.com/injekt/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
LICENSE="MIT"
SLOT="4"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/minitest )"
all_ruby_prepare() {
sed -i -e '/git ls-files/d' slop.gemspec || die
}

@ -19,7 +19,6 @@ KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="gedit"
REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )"
# FIXME: automagic python dependency
COMMON_DEPEND="
>=dev-libs/glib-2.37.3:2
>=x11-libs/gtk+-3.13.4:3

@ -19,7 +19,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd
IUSE="gedit"
REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )"
# FIXME: automagic python dependency
COMMON_DEPEND="
>=dev-libs/glib-2.37.3:2[dbus]
>=x11-libs/gtk+-3.13.4:3

@ -1,3 +1,3 @@
DIST idea-ultimate-14.1.5.141.2735.5.tar.gz 318054935 SHA256 6912902ec97a57f5553247367d6dd5b8e3041e99faf32c48b672cd31413dab73 SHA512 7ab3a45593c2324957455b254ae0257a36e8ecbc63014e18feba813413432dccb25d18971840f43cf22174c3338738eec44304091eb30c6ba2d0119b73cc6fa0 WHIRLPOOL 44a4bef99fdb638cf3cb0f24559b7765b7a4c7cb94aed5c3b8e503cbdf9fa1354f6d6026a9650fc58faec037b95482190891681f41219c61fc7d67a40e71f168
DIST idea-ultimate-15.0.0.142.5239.7_pre.tar.gz 383822428 SHA256 6f3d963e05e241c04d7bf71530dd71b45f398a5fb906545b4d8a5c432beca59a SHA512 ef7788329b486c569cdf11ba4a9531463272e19b69f460f24d12c522cd7dd8bcd3465dc21a3ead70077adbb2af4e4adbdbf8ecedbe630c945c93667da2b5bb0e WHIRLPOOL 3b81c379a8ab5d5610794af0295eecb110c9933833522eea5befeda5977b5001956da421c2383780434b6edfbb19fbd7cf95ff89ae86f83c7fe8df707b4ae481
DIST idea-ultimate-15.0.0.143.116.4_pre.tar.gz 384442119 SHA256 d26cba9242b70f68eb8b9f76320e3e23a0573207bf89a93718a9c688426b518b SHA512 02b93c372ad1b35b74d59fba04984c0fb99399f670662c4fdac07e793b3e872830e1b0d56b505753343dd00483a14f551314e92c6bfb0e2d5ad0f5ef295fe8b9 WHIRLPOOL c8d3b3900694721e3bc90950739a713881c2f11f5d0f0dc22158510afc8b7a61eb28e91944b6ec1d9f516a1b95faf1788adb8f576171c571223e51a205dbb794
DIST ideaIU-143.382.35.tar.gz 379524583 SHA256 1f4c6f55eeb0ce08f697008935c5b7356e74a85dfaad00f6521670b8f5c6862f SHA512 cd3fe075be726695144a70b8f6477a7d547ca6c67bfacdf91d64f352066305d18ad0696608ac54d316adb95b3ae7d4d1218d34b28875a084de35dc03da77b91f WHIRLPOOL 99ba3fb796f40bd8cf22c42302fec7e279dc749b681952066d49f6a079ca06e532cc10274bc19a6b12a81cb6f15ebcde8450f774109a6d21a9a8c9b9ea235710
DIST ideaIU-143.870.1.tar.gz 390127689 SHA256 2055f6f43c98836c44023372d4dade1a2e4085b5c807298f13bdf4c50690b7cc SHA512 c3dc326021ab86ce09b05e207f399f5b1738e0ae41c94d64261f42ddbcbf5b43290b50ed02c5aa36df6bc982f9a890f9a8c67a285c712e9b911f1db5053fc860 WHIRLPOOL 4a23e74f4913279e8d01698d31a6b1c44cbb85f685af5966dc03fd409b2ddcaf8c300243480238cb412ec92740d249eab3b57568d3e8c093251eb7bf4bfe5447

@ -1,73 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)" # Always name EAP-versions with '_pre' for clarity!
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="http://www.jetbrains.com/idea"
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz -> ${P}.tar.gz"
LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal"
IUSE=""
KEYWORDS="~amd64 ~x86" # No keywords for EAP versions. Code quality sucks.
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so"
QA_PRESTRIPPED="opt/${PN}-${MY_PV}/lib/libpty/linux/x86/libpty.so
opt/${PN}-${MY_PV}/lib/libpty/linux/x86_64/libpty.so
opt/${PN}-${MY_PV}/bin/libyjpagent-linux.so
opt/${PN}-${MY_PV}/bin/libyjpagent-linux64.so"
src_prepare() {
if ! use amd64; then
rm -rf plugins/tfsIntegration/lib/native/linux/x86_64
fi
if ! use arm; then
rm bin/fsnotifier-arm
rm -rf plugins/tfsIntegration/lib/native/linux/arm
fi
if ! use ppc; then
rm -rf plugins/tfsIntegration/lib/native/linux/ppc
fi
if ! use x86; then
rm -rf plugins/tfsIntegration/lib/native/linux/x86
fi
rm -rf plugins/tfsIntegration/lib/native/solaris
rm -rf plugins/tfsIntegration/lib/native/hpux
}
src_install() {
local dir="/opt/${PN}-${MY_PV}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/"
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf"
}
pkg_postinst() {
if [[ "$(get_version_component_range 7)x" = "prex" ]]
then
ewarn "Be aware, this is a release from their EAP. According to JetBrains, the code"
ewarn "quality of such releases may be considerably below of what you might usually"
ewarn "be used to from beta releases."
ewarn "Don't use it for critical tasks. You have been warned."
fi
}

@ -6,22 +6,23 @@ EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)" # Always name EAP-versions with '_pre' for clarity!
PV_STRING="$(get_version_component_range 4-6)"
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="http://www.jetbrains.com/idea"
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-15-PublicPreview.tar.gz -> ${P}.tar.gz"
SRC_URI="http://download-cf.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz"
LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal"
LICENSE="IDEA
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
IUSE=""
KEYWORDS="~amd64 ~x86" # No keywords for EAP versions. Code quality sucks.
KEYWORDS="amd64 x86"
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7"
>=virtual/jdk-1.7:*"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so"
@ -49,20 +50,20 @@ QA_WX_LOAD="
src_prepare() {
if ! use amd64; then
rm -rf plugins/tfsIntegration/lib/native/linux/x86_64
rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
fi
if ! use arm; then
rm bin/fsnotifier-arm
rm -rf plugins/tfsIntegration/lib/native/linux/arm
rm bin/fsnotifier-arm || die
rm -r plugins/tfsIntegration/lib/native/linux/arm || die
fi
if ! use ppc; then
rm -rf plugins/tfsIntegration/lib/native/linux/ppc
rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
fi
if ! use x86; then
rm -rf plugins/tfsIntegration/lib/native/linux/x86
rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
fi
rm -rf plugins/tfsIntegration/lib/native/solaris
rm -rf plugins/tfsIntegration/lib/native/hpux
rm -r plugins/tfsIntegration/lib/native/solaris || die
rm -r plugins/tfsIntegration/lib/native/hpux || die
}
src_install() {
@ -75,16 +76,6 @@ src_install() {
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/"
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf"
}
pkg_postinst() {
if [[ "$(get_version_component_range 7)x" = "prex" ]]
then
ewarn "Be aware, this is a release from their EAP. According to JetBrains, the code"
ewarn "quality of such releases may be considerably below of what you might usually"
ewarn "be used to from beta releases."
ewarn "Don't use it for critical tasks. You have been warned."
fi
mkdir -p "${D}/etc/sysctl.d/" || die
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
}

@ -0,0 +1,81 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)"
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="http://www.jetbrains.com/idea"
SRC_URI="http://download-cf.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz"
LICENSE="IDEA
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
IUSE=""
KEYWORDS="~amd64 ~x86"
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7:*"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so"
QA_PRESTRIPPED="opt/${PN}-${MY_PV}/lib/libpty/linux/x86/libpty.so
opt/${PN}-${MY_PV}/lib/libpty/linux/x86_64/libpty.so
opt/${PN}-${MY_PV}/bin/libyjpagent-linux.so
opt/${PN}-${MY_PV}/bin/libyjpagent-linux64.so"
QA_WX_LOAD="
opt/${PN}-${MY_PV}/bin/fsnotifier-arm
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_auth.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_console.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_filesystem.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_misc.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_synchronization.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_auth.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_console.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_filesystem.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_misc.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_synchronization.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_auth.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_console.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_filesystem.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_misc.so
opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_synchronization.so"
src_prepare() {
if ! use amd64; then
rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
fi
if ! use arm; then
rm bin/fsnotifier-arm || die
rm -r plugins/tfsIntegration/lib/native/linux/arm || die
fi
if ! use ppc; then
rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
fi
if ! use x86; then
rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
fi
rm -r plugins/tfsIntegration/lib/native/solaris || die
rm -r plugins/tfsIntegration/lib/native/hpux || die
}
src_install() {
local dir="/opt/${PN}-${MY_PV}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/" || die
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
}

@ -1,2 +1 @@
DIST itstool-1.2.0.tar.bz2 82479 SHA256 46fed63fb89c72dbfc03097b4477084ff05ad6f171212d8f1f1546ea543978aa SHA512 d738c8d2ba610e723b241a02c3f15fea038df54361abd4b63350887d9a14ce3306e05d7389388f898ec37ef25afc29601810e9fe4ff1f010502a081c13f1a8a6 WHIRLPOOL f241b15f60af8b309278092e6ff7670f00d5f2b0b2f251a733268abdddff2d0ccee702e042e8583f5b112e258a425d0f2a0df912aa32e2f43907e4dd76ef2bc6
DIST itstool-2.0.2.tar.bz2 96748 SHA256 bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a SHA512 b7915c4d463fe5969e282029c2080730c78e18d2d5878da53c6a370f471056b51a7b3f3c08417b801212ba674f55548a112a12a9d81634f60d1e52a8a47a4aa2 WHIRLPOOL 9e027e9e01cdfd5d4e14b83d2cf85e2c6b9778f5f966de50fe501e56547a4c014b68cc242b33f073756cdf8d217f0171baaff5a8f1b86c47aab1f31437b4773e

@ -1,35 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="xml"
inherit python-single-r1
DESCRIPTION="Translation tool for XML documents that uses gettext files and ITS rules"
HOMEPAGE="http://itstool.org/"
SRC_URI="http://files.itstool.org/itstool/${P}.tar.bz2"
# files in /usr/share/itstool/its are HPND/as-is || GPL-3
LICENSE="GPL-3+ || ( HPND GPL-3+ )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~arm-linux ~x86-linux"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
dev-libs/libxml2[python,${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_setup() {
DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
python-single-r1_pkg_setup
}
src_prepare() {
python_fix_shebang .
}

@ -3,4 +3,5 @@ DIST pycharm-professional-4.0.6.tar.gz 155933406 SHA256 b914f55dab1bff6e8707ca64
DIST pycharm-professional-4.5.2.tar.gz 160339662 SHA256 a736a1d648ff7ae742b86ff278b2eeb53c61c875037d44f863b1abc78ffdf7b5 SHA512 3c79ee632554499b13b5d3096a3e60d3c578ef29ae985f7daef0555f217650686f6cd0d700a3a6f8fec809fc11a12c476365a594b167aa76f4720a9dabce66d7 WHIRLPOOL fb69b0cada495ba88872b2c0a38b4b272501a022338d600fc8ccb3cb7ea70c374bf898882e4e35eff2bd199da8ba15e721e765e156e3ee86edb9e3bf019d3c76
DIST pycharm-professional-4.5.3.tar.gz 160688951 SHA256 5ac0ff2ad0e5a61d93182637ff308c30227f1c2f7e396149a9720782bc336601 SHA512 ea21e30d98bd5f83438fb3c51c366828dc1ab62540b7c22c3164afdd93f338ec677795dc43177e698efc86b72d2337fc3546abb1d78bc388697312afa4f7c018 WHIRLPOOL d89217d63086b5b0213b267eabb301900e0f4fb8b16a69260ba50a153fb7568f5dfbe6dec89f6c64083fd51d9fa089fced55a324a2837cfffd2c1abebffd8db6
DIST pycharm-professional-4.5.4.tar.gz 160665389 SHA256 0d3a0a627901a1519ee77a0f2b34bc9cd7ba9a20c1276862ed5324187d25c6b7 SHA512 2f0fc1018128984bc1763c263e185763e9f2af03306d61bdc30f229dfd54bf7094e46a3758eeaacd34c9c47bb0522d52f17206ce3da283d52be685a4a34da90e WHIRLPOOL d76ec00b68642fd716bfca94e9465de1855fd4e60dc15a49ae683abc48a172d57dde166b3a13d178680bbe25b54fa863494b01bfdff575d7b0f75ddfb124d39b
DIST pycharm-professional-5.0.1.tar.gz 183926748 SHA256 038501f116f5b18e5fc30c7b7edf1c076f0ec6d5f2e2c14348004dc8b6745a80 SHA512 1ffd2b8c50600d2ead207ffe6f9439dd3f008258fd530c45587779bb99c4a49f2238d956552add72f908672e69e22712699efd56f1e831f470e496734b6a702a WHIRLPOOL dc4163b7f0986e8ed6cf9643a6612743cb9279537bb8c779bb8f89ef4442ca2033a4c440458625a33860ee00771ee7d903c278a4d413c0ca0db4110009925870
DIST pycharm-professional-5.0.tar.gz 183117515 SHA256 066ca91c7d810765a96e82673d4241de855b82cd0d46dc88e46f00da00789c9a SHA512 183597e004604cc49dfff674f8fb9c05fa73d1a3e01dc66368f0b49ea2ada653fe28a64181697449d9adeecfda3e8d8e7105bd75aa82f9ccd9331d783146e18a WHIRLPOOL 94b5030d3131ae92c83596ff6c9f547068022048d3bf9cff9d21d3c8664664b4bf9805098bd677fe7f48ad7160f9a6d6923fe930edb99612f6718a4cd1294122

@ -0,0 +1,42 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils readme.gentoo
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
HOMEPAGE="http://www.jetbrains.com/pycharm/"
SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6
dev-python/pip"
DEPEND=""
RESTRICT="mirror strip"
QA_PREBUILT="opt/${PN}/bin/fsnotifier
opt/${PN}/bin/fsnotifier64
opt/${PN}/bin/libyjpagent-linux.so
opt/${PN}/bin/libyjpagent-linux64.so"
MY_PN=${PN/-professional/}
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
insinto /opt/${PN}
doins -r *
fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
dosym /opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
newicon "bin/${MY_PN}.png" ${PN}.png
make_desktop_entry ${PN} "${PN}" "${PN}"
readme.gentoo_src_install
}

@ -71,7 +71,7 @@ esac
# @FUNCTION: virtualmake
# @DESCRIPTION:
# Function which attach to running X session or start new Xvfb session
# Function which start new Xvfb session
# where the VIRTUALX_COMMAND variable content gets executed.
virtualmake() {
debug-print-function ${FUNCNAME} "$@"
@ -91,77 +91,65 @@ virtualmake() {
VIRTUALX_COMMAND=${maketype}
fi
# If $DISPLAY is not set, or xhost cannot connect to an X
# display, then do the Xvfb hack.
if [[ -n ${XVFB} && -n ${XHOST} ]] && \
( [[ -z ${DISPLAY} ]] || ! (${XHOST} &>/dev/null) ) ; then
debug-print "${FUNCNAME}: running Xvfb hack"
export XAUTHORITY=
# The following is derived from Mandrake's hack to allow
# compiling without the X display
einfo "Scanning for an open DISPLAY to start Xvfb ..."
# If we are in a chrooted environment, and there is already a
# X server started outside of the chroot, Xvfb will fail to start
# on the same display (most cases this is :0 ), so make sure
# Xvfb is started, else bump the display number
#
# Azarah - 5 May 2002
XDISPLAY=$(i=0; while [[ -f /tmp/.X${i}-lock ]] ; do ((i++));done; echo ${i})
debug-print "${FUNCNAME}: XDISPLAY=${XDISPLAY}"
# We really do not want SANDBOX enabled here
export SANDBOX_ON="0"
debug-print "${FUNCNAME}: running Xvfb hack"
export XAUTHORITY=
# The following is derived from Mandrake's hack to allow
# compiling without the X display
einfo "Scanning for an open DISPLAY to start Xvfb ..."
# If we are in a chrooted environment, and there is already a
# X server started outside of the chroot, Xvfb will fail to start
# on the same display (most cases this is :0 ), so make sure
# Xvfb is started, else bump the display number
#
# Azarah - 5 May 2002
XDISPLAY=$(i=0; while [[ -f /tmp/.X${i}-lock ]] ; do ((i++));done; echo ${i})
debug-print "${FUNCNAME}: XDISPLAY=${XDISPLAY}"
# We really do not want SANDBOX enabled here
export SANDBOX_ON="0"
debug-print "${FUNCNAME}: ${XVFB} :${XDISPLAY} ${xvfbargs}"
${XVFB} :${XDISPLAY} ${xvfbargs} &>/dev/null &
sleep 2
local start=${XDISPLAY}
while [[ ! -f /tmp/.X${XDISPLAY}-lock ]]; do
# Stop trying after 15 tries
if ((XDISPLAY - start > 15)) ; then
eerror "'${XVFB} :${XDISPLAY} ${xvfbargs}' returns:"
echo
${XVFB} :${XDISPLAY} ${xvfbargs}
echo
eerror "If possible, correct the above error and try your emerge again."
die "Unable to start Xvfb"
fi
((XDISPLAY++))
debug-print "${FUNCNAME}: ${XVFB} :${XDISPLAY} ${xvfbargs}"
${XVFB} :${XDISPLAY} ${xvfbargs} &>/dev/null &
sleep 2
done
local start=${XDISPLAY}
while [[ ! -f /tmp/.X${XDISPLAY}-lock ]]; do
# Stop trying after 15 tries
if ((XDISPLAY - start > 15)) ; then
eerror "'${XVFB} :${XDISPLAY} ${xvfbargs}' returns:"
echo
${XVFB} :${XDISPLAY} ${xvfbargs}
echo
eerror "If possible, correct the above error and try your emerge again."
die "Unable to start Xvfb"
fi
# Now enable SANDBOX again if needed.
export SANDBOX_ON="${OLD_SANDBOX_ON}"
((XDISPLAY++))
debug-print "${FUNCNAME}: ${XVFB} :${XDISPLAY} ${xvfbargs}"
${XVFB} :${XDISPLAY} ${xvfbargs} &>/dev/null &
sleep 2
done
# Now enable SANDBOX again if needed.
export SANDBOX_ON="${OLD_SANDBOX_ON}"
einfo "Starting Xvfb on \$DISPLAY=${XDISPLAY} ..."
export DISPLAY=:${XDISPLAY}
# Do not break on error, but setup $retval, as we need
# to kill Xvfb
debug-print "${FUNCNAME}: ${VIRTUALX_COMMAND} \"$@\""
if has "${EAPI}" 2 3; then
${VIRTUALX_COMMAND} "$@"
retval=$?
else
nonfatal ${VIRTUALX_COMMAND} "$@"
retval=$?
fi
einfo "Starting Xvfb on \$DISPLAY=${XDISPLAY} ..."
# Now kill Xvfb
kill $(cat /tmp/.X${XDISPLAY}-lock)
else
debug-print "${FUNCNAME}: attaching to running X display"
# Normal make if we can connect to an X display
debug-print "${FUNCNAME}: ${VIRTUALX_COMMAND} \"$@\""
export DISPLAY=:${XDISPLAY}
# Do not break on error, but setup $retval, as we need
# to kill Xvfb
debug-print "${FUNCNAME}: ${VIRTUALX_COMMAND} \"$@\""
if has "${EAPI}" 2 3; then
${VIRTUALX_COMMAND} "$@"
retval=$?
else
nonfatal ${VIRTUALX_COMMAND} "$@"
retval=$?
fi
# Now kill Xvfb
kill $(cat /tmp/.X${XDISPLAY}-lock)
# die if our command failed
[[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed."

@ -21,10 +21,13 @@ case "${EAPI:-0}" in
*) die "EAPI=${EAPI} is not supported" ;;
esac
# Avoid dependency loop as both depend on glib-2
if [[ ${CATEGORY}/${P} != dev-libs/glib-2.* ]] ; then
DEPEND="
dev-util/desktop-file-utils
x11-misc/shared-mime-info
"
fi
# @FUNCTION: xdg_src_prepare
# @DESCRIPTION:

@ -0,0 +1,21 @@
DIST butelo.npz 7209 SHA256 3c1984f135ed5fbf101ee05bbbbcf46f3aaeddf90b710192735aebd04ec2def0 SHA512 a1f6ce15c0a921969a0e6c96d2e354aa666e760275a86d45b85db833731273e16ac9cdb4975beca71c1abcfe5dd64a0181f74bbc3e3aba1c2bb541c3bbe80090 WHIRLPOOL a849dfbd5e0e983b64bd0a33d8b1526b202a4d376f7388e5767d787a477ae2d77760d8446493b3cb92ebc04ad6ca974b8a813e6a05f0cbfac98fd4f7d2080ce5
DIST catalyst.npz 8778 SHA256 2278d331c354e9db0f89a0f3df1c6ac190a0f3b21f9ea12310d9e715fd5538f5 SHA512 ad2c02721e1b2ded3621a5a5217f78ed1022a86472f4de030c9b3d258f0b7b580e953fc2d017519477cea4df1b482e61fca565a3d98d511e894805e6683e6830 WHIRLPOOL 6abf8ecd88fcfa79f87268cbe9af85f4e9a8c227b8e59ab43b5438330d961c7e00546383957c38cc9143ef1c45f2880e6dda8615fa26a832268c1c79fe1af20f
DIST christeck.npz 4868 SHA256 d265f1f6a0dfa1c8a6b4a20f919f0f4c3f57ccb25f15f895ba7a0932644486e3 SHA512 562ed1fe6caa026dcc897aa914c5cad648aa191127714c888f5d1fbf82bbac15477928e49e02a5ab8940a84a085afb6e282e04ac1478a0ace5449541137f89fc WHIRLPOOL c250266e6aaf3e9b52ed81ca8899af219d594451a7bc965ba8a1866b13f42aae1cadbb38a0ee49510739a57960673ce38456df5f99ec432a283d55660bfa9f30
DIST dneary.npz 5041 SHA256 4966d1c5d453dee3a6cfd6135acb13d6e1e6cd572240224c38767ff510ad5276 SHA512 94bf7238bda8c9ba4133bd4bb8f6c978bb06f42432a6854ba570466d3a4b780a737a2138702072fbb9d6b913307a52734b3747a255d3f611df8e8753751d1c55 WHIRLPOOL c5237d9ea0793f6c25350823121aac6d87711a63dc0891388f0f7361f07fabdccafee3dc5b1c6041d26788ff462a4e5d51b2605ab69ca6f6efedc5f86c509abe
DIST gnuton.npz 3734 SHA256 271df127e20358f8ca02785405ea5fc5a9d3dc9cf1fa4dd2a014795cd8c36634 SHA512 f3c910ac426b8044400ff882c0f8e193a19d35d1de2f6a8b5729acb9cc2fe383b116f79854897d3162c9ce223df92c76981a676ffc83268716fb20d8fecca13c WHIRLPOOL 2e95e234a46448b6cc5527e7eec1beeb0d3d3bb2c0cb92806bf3f2cca6c1c990c6a8e8d86793ea46394c199f76d02edf5374ed6883be19b366f9ca04702ae5e9
DIST gudger.npz 7101 SHA256 f2417fb30bbbd0cf397cd21eabbc775492d7320a82056ab1abac9fb30f4537a8 SHA512 507536e83ef99a135d187b54369e12ea585a0aaa354ee4e8cf50540ffcd9b12798f11807940ee487d759617379794d447ab06bc185cb1021d06cca51908f35aa WHIRLPOOL 24882ecb0176c1c210c5a2bc6d998bc1b9b456fcf617336a5104df47f9b943bdc1a3c9b180faea4df0ef0f320d4314ff0a69482afbb4ad44337005464133f901
DIST guile.npz 27182 SHA256 fdb0c4210909fa24b8c264638ca9620a4111a7a20b8106413c1a4ecd22b068eb SHA512 62a98d028335ce0a2a78cec86ef0e9164d10d057f0d99e5c27352f604ca06c6f0634617517ffb5d4c2609859f4316367ce805669d70002058168d332dee2f81e WHIRLPOOL 0ed910dac91d3a014f5364ff7701155fbfe831f809edb3458037c08ef2aacbf5785e22d7ca0ca25a8aa192b566fd74a155def33fca693e6789794a428423979d
DIST hurd.npz 7819 SHA256 0fa386f6b1b86bdc34cf7a09e4bfc09866338cd8e472b7b78d2f61721eebba85 SHA512 5a7ce05af8c0cb8b63296a19827286bee46e41c876817cd4a190f8294be8c3c53fdfab63908c9d64b93c9e104d9b36f812fc3c3e05e47dcfdb7a47f9c0a15dab WHIRLPOOL 354b3eeddbd866c7fa2828d650beb7869c74028aac94f64c6a05e27f7f0e2bd6d34aadd23f7c3dda22c0ee359dd8159137805f08110a1b89d197f9660a03bfe8
DIST ioan.npz 8672 SHA256 96a45a8f704d79edd80cde152a7548e304ffc4500c12264b70855a50b7852dc5 SHA512 aeb707ffa3a7fc64d1a401a9f1f2c59b5d031c4443e6b679cf534be0824493f54dc20e1ceb127352e7847ac403dc1971470b52369b0bb0933f0c8ade299961d4 WHIRLPOOL 93452fc4a17d8ab005cd8b14a8b84c861e7786f0f811763bc43e98408641285827523ca4c48174c7482b121f7c976d78919c08c1c670467fd078ae2d1f91de66
DIST jhoff80.npz 4612 SHA256 357c638f227628ca778c701ffc5c7e15d81842d7c3e8dbaac34ba2957826a15f SHA512 4d060a35f18204509726db2f1cdfd8a69444bf10e784fcc32ce54a76aa541628903e5ce70d65a64b3ea079095cdc979475ff553e428bb321640d7a87e60f6384 WHIRLPOOL 3fc99ccf86afed4ea2297b700efb7139aa013cfdfd9b34365ff2c84475189e1bd8046eb016542b896c994829096952018048fc938be396301338f85d4eb8910d
DIST leonet.npz 4885 SHA256 f1c51f0b75288c08188492cfc16fa7605cfa0d54ff56a6ddd261a2013eb81499 SHA512 789cdde6313b7cc9e8616c7969d86ed44866baa9ae88befa605d7066ca8134f167aac9490afa3918305929dbbc0acaf46708e02be4353f98ebeb3dbe3b0eefa1 WHIRLPOOL c21b464dda92167c5b3e1e09f8c254e1b2bb1e7dbc38d867d0dc48ada244b574f64ab28091b7032debe3cf19bb5d0bd248056cffce3c98b8c8017410316eb2db
DIST melvin.npz 18147 SHA256 8d5310f0f434511c10f4fe89d513040ebc7242d3573e6f2629aa7f6c32238a18 SHA512 391a82b4c42cd2597dd06b299f15cf41302ec593658929d320b66caa69cd73e7cbe3128a18c811017c3b73c435a6f42b763c6e531c8fd193715bc41f85a6b5c2 WHIRLPOOL a8f547bed4c8a91ee3885ee692220359a2cbc5561920fc3409bdb1d6b6e2a0792d1477d03642c4f94a4c2ee7f142366df016229f90bcab90d4259a40fc494ce6
DIST noodleman.npz 46574 SHA256 f392f24deb190eba36b1fcfe1fcc7801c60b9b4eee9bcd8046b3a04a17b35741 SHA512 a088c2c86303985e7d8beec34809f09fcf8e510f7c2af2530620774d1f6579ac1e5ac73989b8e423079c1171a79c92a0cb6e6e01dca950fc519007c91b86ea82 WHIRLPOOL b9581a8d1cc5969c0946d9985b5111f0e987354a580fd84c456621b44c56cbbd9a592cf81ac17c5b7deaf83da67ddd0a319f892e1b75699db43c5db009d47a8b
DIST papky.npz 2075 SHA256 b12a342c652f16c33852d1429eae2b0cc8020bac5e36f37fa48ba930023e163b SHA512 69733167ef00f64c19e4f8805e1a881332698e26950f996fc5d41e9e5580f5578b2b9d3f9781bacc9293519e139b7d531891b91f36c45031ac06da6e8e78fbfa WHIRLPOOL b22a55208d4dd9dcd1809662aca04fb798c0ef0c921940c5fcd1318d2b4aea5d827c3fcd612e23a352e88cc270acd7c52ea5007f0ea0750602ca4739c74d8e25
DIST perli.npz 15452 SHA256 23943313d53d16e7eda2000646f4c74ebe66ee254334dde97f8e5a886b262a56 SHA512 cee513ed0e728334f0e60571e38dc68e476681bad8a22497ac01f790c6975bbffba727ede054bfc6f594f289c9bf6346c3e9b3537145707c3ed6f4d6c21136c8 WHIRLPOOL 80be04c33917502dd94d2582a6d1be35b1b9f177a5f5e71792cb02dbcaed1ed5ffbc108f184c008484e673a51d3f7d417b834e0bf4a424721165bd161ce5528e
DIST qole.npz 6533 SHA256 0b76d6790e787948cb70edd7d7aec6e791e97befee15925a61bfd23e7adae71f SHA512 dc624c5ffdcb0f9f18c20db7a08d7e9d9d4fa5314e3fabfa730e21bb0a27d4b415432ec66eab64d8252c7fe4793a2cff231e856ca06d85c61558a867bf2fb03b WHIRLPOOL 8d1a48f0c107e4aad3dc58d0e53cc631ed6bf22538175f7db70b16ffbe4d0ed9e7f80aa61727d77dabb89e0b20d31d08d5071112760f897500075eb107a12507
DIST siminz.npz 187396 SHA256 e7ea601648b944c8540e9dfd7fa79cfc5b375c15e283555319653a48106a8904 SHA512 cedf3d90bc93adb2dac45ea69a8f87965002810527ce35122c5b1bcf1bf07fa1de9230f33bb84e542eeb0b4235216eb633d8a79cef1db34e24f8fff25f846758 WHIRLPOOL 9cd1d86dd08b1a8f2ef1b1f4c4c8b52dfcd251612ca9efbfc7678c2ef99994ad4e3f822052e3a6e5b3291d8180791b06dde982da2e010170d4457c956923b5c4
DIST szymanowski.npz 2577 SHA256 2ab70473acc4b66a5946f6462ef9efc80fea5d8312edc432d32643100c5dfa57 SHA512 b87be9d66cb3025a6168855fa473377609268c7d5fd6dbe53df7fc6156bc58dbb2d35c7e7a5d6caf88bbd92eb08ae2ac5b5d06dce6da9858e1ff1fa3553d3228 WHIRLPOOL 11f6a732d2dec25887482239e07faafb4a06019b9ff36d8e4ecb961eec389f2509976b1cae561379d5828eab272ac65242e38cadc2228c00a766187827262abe
DIST therealbubba.npz 6684 SHA256 fa23a79cbf373e88585c80dbea3bada09d6c0044278c53f8fc1bcb98738e91db SHA512 c71a84345f0c6e0cde87e76b3084d89b2222d33b512458efd98d91c099b54e817b8421ea70001de6e5556c0e28be1c9fc1c19ad1411dd1b2bf194f987cdbdec6 WHIRLPOOL 6e047cc423bd06b549558354e1de1b6c2a61c1b6d281091569cb5e89a46957b9b5f0c72643a5d18d4a9dee0e37bd24e1b22a2704bd55546a6bbe6b4bd5c4766d
DIST werre.npz 7739 SHA256 8df9dbd75bdb1efd806dfac29e06ba18e94833eb6d82919d5c1fc0178c054bda SHA512 1caac7964cc51c6300648fa6be21f7ac3c0d585288ea2e18e725f5575a732b461b77bfd0ddf3118f5d4c922f16a30466e168bb38e81498291214597fd4442bcd WHIRLPOOL c5208f787ba5d59227c45a7bfaef4d7dd4d3efc392c8b315f7ffe563a24279cbc327eac27f36efea0362836939602825409508b5fcb68cceb86a4412053cdec7
DIST zeez.npz 8633 SHA256 50dcdb465fa8c29c0e5ac93748212315220cbe25f03f10527ebcf839fef636d0 SHA512 8f1945d79dc43e0bc6e2b814640d1587fc38bf8ca19f6b949821d3095eb22e9837a3f82433e452ce851b97e29d90440045866dfc6a28f9f5b31ffcf35f467e41 WHIRLPOOL 4475e52033c2d6ef951ebdaf7ce7cd68223c2786a1e845e63d3f99925b1ac3ad5026160cc5b199ed647cd0ced4d5ec8a7888bf03396f8b724e36cb1f137c3b6e

@ -0,0 +1,79 @@
diff -ru numptyphysics-9999.orig/external/Box2D/Source/Makefile numptyphysics-9999/external/Box2D/Source/Makefile
--- numptyphysics-9999.orig/external/Box2D/Source/Makefile 2015-11-25 22:27:36.155865064 -0500
+++ numptyphysics-9999/external/Box2D/Source/Makefile 2015-11-25 22:28:12.924578877 -0500
@@ -6,8 +6,6 @@
TARGETS += Gen/nds-float/lib/libbox2d.a Gen/nds-fixed/lib/libbox2d.a
endif
-CXXFLAGS= -g -O2
-
SOURCES = \
./Dynamics/b2Body.cpp \
./Dynamics/b2Island.cpp \
diff -ru numptyphysics-9999.orig/external/glaserl/makefile numptyphysics-9999/external/glaserl/makefile
--- numptyphysics-9999.orig/external/glaserl/makefile 2015-11-25 22:27:36.156865029 -0500
+++ numptyphysics-9999/external/glaserl/makefile 2015-11-25 22:28:12.924578877 -0500
@@ -1,7 +1,5 @@
TARGET := libglaserl.a
-CFLAGS += -g -O2
-
SOURCES := $(wildcard *.c)
OBJECTS := $(SOURCES:.c=.o)
diff -ru numptyphysics-9999.orig/makefile numptyphysics-9999/makefile
--- numptyphysics-9999.orig/makefile 2015-11-25 22:27:36.167864644 -0500
+++ numptyphysics-9999/makefile 2015-11-25 22:28:12.925578842 -0500
@@ -1,7 +1,6 @@
APP := numptyphysics
SOURCES := $(wildcard src/*.cpp)
-CXXFLAGS += -std=c++11 -Isrc -Wall -Wno-sign-compare
all: app
@@ -13,7 +12,7 @@
$(TARGET): $(OBJECTS) $(LOCAL_LIBS)
$(SILENTMSG) "\tLD\t$@"
- $(SILENTCMD) $(CXX) -o $@ $^ $(LIBS)
+ $(SILENTCMD) $(CXX) -o $@ $^ $(LDFLAGS) $(LIBS)
clean: $(ADDITIONAL_CLEAN_TARGETS)
$(SILENTMSG) "\tCLEAN"
diff -ru numptyphysics-9999.orig/mk/silent.mk numptyphysics-9999/mk/silent.mk
--- numptyphysics-9999.orig/mk/silent.mk 2015-11-25 22:27:36.168864609 -0500
+++ numptyphysics-9999/mk/silent.mk 2015-11-25 22:28:12.925578842 -0500
@@ -2,6 +2,6 @@
SILENTMSG := @true
SILENTCMD :=
else
- SILENTMSG := @echo
+ SILENTMSG := @echo -e
SILENTCMD := @
endif
diff -ru numptyphysics-9999.orig/platform/gl/gl.mk numptyphysics-9999/platform/gl/gl.mk
--- numptyphysics-9999.orig/platform/gl/gl.mk 2015-11-25 22:27:36.172864469 -0500
+++ numptyphysics-9999/platform/gl/gl.mk 2015-11-25 22:28:12.925578842 -0500
@@ -3,9 +3,9 @@
LIBS += -framework OpenGL
else
ifneq ($(wildcard $(patsubst %,%/libGL.so.1,/usr/lib /usr/lib64 /usr/lib/*)),)
-add_pkgconfig(gl)
+$(eval $(call add_pkgconfig,gl))
else
-add_pkgconfig(glesv2)
+$(eval $(call add_pkgconfig,glesv2))
CFLAGS += -DUSE_OPENGL_ES
CXXFLAGS += -DUSE_OPENGL_ES
endif
diff -ru numptyphysics-9999.orig/src/Os.cpp numptyphysics-9999/src/Os.cpp
--- numptyphysics-9999.orig/src/Os.cpp 2015-11-25 22:27:36.183864084 -0500
+++ numptyphysics-9999/src/Os.cpp 2015-11-25 22:29:17.177331313 -0500
@@ -262,5 +262,5 @@
}
// System-wide installation
- return thp::format("%s/../share/%s/data", g_appDir.c_str(), appName().c_str());
+ return "@GENTOO_DATADIR@";
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
<use>
<flag name="user-levels">Install some fun user-created levels</flag>
</use>
</pkgmetadata>

@ -0,0 +1,89 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils gnome2-utils flag-o-matic git-r3 games
DESCRIPTION="A drawing puzzle game in the spirit of Crayon Physics using the same excellent Box2D engine"
HOMEPAGE="http://thp.io/2015/numptyphysics/"
# This is only the SRC_URI for the user levels. The code is in git repo.
SRC_URI="user-levels? (
http://numptyphysics.garage.maemo.org/levels/butelo/butelo.npz
http://numptyphysics.garage.maemo.org/levels/catalyst/catalyst.npz
http://numptyphysics.garage.maemo.org/levels/christeck/christeck.npz
http://numptyphysics.garage.maemo.org/levels/dneary/dneary.npz
http://numptyphysics.garage.maemo.org/levels/gnuton/gnuton.npz
http://numptyphysics.garage.maemo.org/levels/gudger/gudger.npz
http://numptyphysics.garage.maemo.org/levels/guile/guile.npz
http://numptyphysics.garage.maemo.org/levels/hurd/hurd.npz
http://numptyphysics.garage.maemo.org/levels/ioan/ioan.npz
http://numptyphysics.garage.maemo.org/levels/jhoff80/jhoff80.npz
http://numptyphysics.garage.maemo.org/levels/leonet/leonet.npz
http://numptyphysics.garage.maemo.org/levels/melvin/melvin.npz
http://numptyphysics.garage.maemo.org/levels/noodleman/noodleman.npz
http://numptyphysics.garage.maemo.org/levels/papky/papky.npz
http://numptyphysics.garage.maemo.org/levels/perli/perli.npz
http://numptyphysics.garage.maemo.org/levels/qole/qole.npz
http://numptyphysics.garage.maemo.org/levels/siminz/siminz.npz
http://numptyphysics.garage.maemo.org/levels/szymanowski/szymanowski.npz
http://numptyphysics.garage.maemo.org/levels/therealbubba/therealbubba.npz
http://numptyphysics.garage.maemo.org/levels/werre/werre.npz
http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz
)"
EGIT_REPO_URI="https://github.com/thp/numptyphysics"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="+user-levels"
RDEPEND="media-libs/libsdl2[opengl,video]
media-libs/sdl2-image[png]
media-libs/sdl2-ttf
virtual/opengl
dev-libs/glib:2"
DEPEND="${DEPEND}
virtual/pkgconfig"
src_prepare() {
append-cxxflags -std=c++11 -Isrc
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s^@GENTOO_DATADIR@^${GAMES_DATADIR}/${PN}/data^" \
src/Os.cpp || die
}
src_install() {
dogamesbin ${PN}
insinto "${GAMES_DATADIR}/${PN}"
doins -r data
if use user-levels ; then
local f
for f in ${A} ; do
[[ ${f} = ${f/.tar.gz/} ]] && doins "${DISTDIR}"/${f}
done
fi
make_desktop_entry ${PN} 'Numpty Physics'
doicon -s 256 platform/freedesktop/numptyphysics.png
doman platform/freedesktop/numptyphysics.6
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,3 +1,2 @@
DIST gnome-keyring-3.14.0.tar.xz 1172092 SHA256 c7059516cc47192e8bc5f1095e8e57cd3388825a4584ea8ad67a97763b7c9040 SHA512 5f8e1cd636e6293efe2b70e981efe80adc22152531530ace8d704fc2f7596c3502ff8a8ffdb1b15fa69d642d04eabd875761588f13269847116fd72416596be8 WHIRLPOOL b6913bd252697cf8822c51a93aef2501c32ed5d128947e137730d7a16722f4806e0dcefc5b452ff01a55d26a4e53126dfdba368a093f106cb13ec97ebdb58723
DIST gnome-keyring-3.16.0.tar.xz 1179776 SHA256 15a3bb8c53855a4ff0dbbdfbe4ec3df206c32048f50bdc76a51f8e3e14ece1f5 SHA512 eeb5c614395dda0e046056899f9eb6f962253b48d6b668bb966328e75863010c1f653ba2d8f7ca60bdd8ff5c43f77604396f0e4c448236c5b010dd0c61ffa069 WHIRLPOOL dae5b7294b8274623cd0ccebd57b348b8b73e58bd88f32b12f982f1e0413a042e72adf69a36a21619c34c4726965031e1a5aec476d143f99315a4132bc19df8a
DIST gnome-keyring-3.18.3.tar.xz 1205108 SHA256 3f670dd61789bdda75b9c9e31e289bf7b1d23ba012433474790081ba7dc0ed98 SHA512 123819218477cd9b617d9cc2c1d10483d9c790bb90edd5b20298a1ba38aeef10dcddf85fcb6b9b92969dd64e53caaaf825b5cbb741e57461050be4973e8c2f78 WHIRLPOOL 01fbda3232cfdb3f2f79f5718c5ad22a871b43ed75722a9ab69f2932f8afc01809b4dc5b5ea1aaf9f17ed8efe973dd12bd700831a9dd62300513d91655359ca6

@ -1,75 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="yes" # Not gnome macro but similar
GNOME2_LA_PUNT="yes"
PYTHON_COMPAT=( python2_7 )
inherit fcaps gnome2 pam python-any-r1 versionator virtualx
DESCRIPTION="Password and keyring managing daemon"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="+caps debug pam selinux +ssh-agent test"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris"
RDEPEND="
>=app-crypt/gcr-3.5.3:=[gtk]
>=dev-libs/glib-2.38:2
app-misc/ca-certificates
>=dev-libs/libgcrypt-1.2.2:0=
>=sys-apps/dbus-1.1.1
caps? ( sys-libs/libcap-ng )
pam? ( virtual/pam )
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.3
dev-libs/libxslt
>=dev-util/intltool-0.35
sys-devel/gettext
virtual/pkgconfig
test? ( ${PYTHON_DEPS} )
"
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
# Disable stupid CFLAGS
sed -e 's/CFLAGS="$CFLAGS -g"//' \
-e 's/CFLAGS="$CFLAGS -O0"//' \
-i configure.ac configure || die
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
$(use_with caps libcap-ng) \
$(use_enable pam) \
$(use_with pam pam-dir $(getpam_mod_dir)) \
$(use_enable selinux) \
$(use_enable ssh-agent) \
--enable-doc \
--enable-gpg-agent
}
src_test() {
# FIXME: this should be handled at eclass level
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/schema" || die
unset DBUS_SESSION_BUS_ADDRESS
GSETTINGS_SCHEMA_DIR="${S}/schema" Xemake check
}
pkg_postinst() {
# cap_ipc_lock only needed if building --with-libcap-ng
# Never install as suid root, this breaks dbus activation, see bug #513870
use caps && fcaps -m 755 cap_ipc_lock usr/bin/gnome-keyring-daemon
gnome2_pkg_postinst
}

@ -24,7 +24,7 @@ COMMON_DEPEND="
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3.18.0:3
>=dev-libs/json-glib-0.10
>=gnome-base/gnome-desktop-3.9.91:3=
>=gnome-base/gnome-desktop-3.18:3=
elibc_FreeBSD? ( dev-libs/libexecinfo )
virtual/opengl

@ -1,3 +1,2 @@
DIST gsettings-desktop-schemas-3.14.2.tar.xz 521136 SHA256 9bd1ae0bf2f79f1c5c66937c2fe0af83690ebaa6822ffedd6f5b1cf19bb9b561 SHA512 9b0f869e81b538f0db92ab9fa4977a2096d5d709854dcdff5ea167492a5a6cceb6eecb86d6ad91c3f63cbba83b71222cb5bc3105faf6a0ea4aa19dc4e0be8013 WHIRLPOOL ed4008adb8a8700fdbd17388883d547caa13429703f5284b9441887345756fbd3e18683b839501310d94a8318892c8cd046e2da67e5f8334847d7088011e503d
DIST gsettings-desktop-schemas-3.16.1.tar.xz 547752 SHA256 74fe9fdad510c8a6666febeceb7ebafc581ef990b3afcc8c1e8b5d90b24b3461 SHA512 1e356dd037dda5fe03f06884e4f1e2fc814717c3836bb696522e7899bc6714dd1c0474546cbdb75f43f71269c7fcec40e560efb9a2024e5067410a8d14b9f2dd WHIRLPOOL 97bcf8e6d0536e51c6342b3f6925bd162d0b6e86fbdcd828727a9c284d4f4fd32d42a9af16c18aeafbed9dc4a44791bae768d584fa0fb1d7db9ab2d747b92dd8
DIST gsettings-desktop-schemas-3.18.1.tar.xz 573792 SHA256 258713b2a3dc6b6590971bcfc81f98d78ea9827d60e2f55ffbe40d9cd0f99a1a SHA512 8dc3c9890f979860f06efa949c92c699e40f25eedc24eae087d9c70555ec9ef513a873f9a787f10b34208bf11c7be903cbaeecc95a4d93b4e556640be1c21b15 WHIRLPOOL 121c34dcaeb108796c0209af454d1704cf42388abcfdc19c6492debec872ad67c3d4e1e18a43df58081b58ba34a8fd9d4399da8dfa8d6761bc69fb606ba43958

@ -1,32 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit gnome2
DESCRIPTION="Collection of GSettings schemas for GNOME desktop"
HOMEPAGE="https://git.gnome.org/browse/gsettings-desktop-schemas"
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="+introspection"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris"
RDEPEND="
>=dev-libs/glib-2.31:2
introspection? ( >=dev-libs/gobject-introspection-1.31.0 )
!<gnome-base/gdm-3.8
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
sys-devel/gettext
virtual/pkgconfig
"
src_configure() {
DOCS="AUTHORS HACKING NEWS README"
gnome2_src_configure $(use_enable introspection)
}

@ -15,7 +15,7 @@ SLOT="2/10" # libgtop soname version
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="+introspection"
RDEPEND=">=dev-libs/glib-2.6:2"
RDEPEND=">=dev-libs/glib-2.26:2"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.4
>=dev-util/intltool-0.35

@ -0,0 +1,47 @@
From bfdedc2f762027ec9a50fda659d66720718bb28d Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Wed, 25 Nov 2015 09:23:51 +0100
Subject: [PATCH] Make libselinux dependency controllable by configure switch
---
configure.ac | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index 777ff84..37a65ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,18 +140,19 @@ dnl ==========================================================================
dnl ****************************
dnl *** Check for libselinux ***
dnl ****************************
-
-SELINUX_LIBS=
+
msg_selinux=no
-AC_CHECK_LIB(selinux, is_selinux_enabled,
- [AC_CHECK_HEADERS(selinux/selinux.h,
- [AC_SEARCH_LIBS(selinux_raw_to_trans_context, selinux,
- [AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available])
- SELINUX_LIBS="-lselinux"
- msg_selinux=yes])
- ])
- ])
-AC_SUBST(SELINUX_LIBS)
+
+AC_ARG_ENABLE([selinux],
+ [AS_HELP_STRING([--enable-selinux],
+ [Enable selinux support])])
+AS_IF([test "$enable_selinux" != "no"],
+ [PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.0],
+ [
+ AC_DEFINE([HAVE_SELINUX], [1], [Define to 1 if libselinux is available])
+ msg_selinux=yes
+ ])
+ ])
AC_ARG_ENABLE(empty_view,
--
2.6.3

@ -0,0 +1,123 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes" # Needed with USE 'sendto'
inherit eutils gnome2 readme.gentoo virtualx
DESCRIPTION="A file manager for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus"
LICENSE="GPL-2+ LGPL-2+ FDL-1.1"
SLOT="0"
# profiling?
IUSE="exif gnome +introspection packagekit +previewer sendto tracker xmp"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
# FIXME: tests fails under Xvfb, but pass when building manually
# "FAIL: check failed in nautilus-file.c, line 8307"
RESTRICT="test"
# FIXME: selinux support is automagic
# Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
# and 2.30.0
COMMON_DEPEND="
>=dev-libs/glib-2.45.7:2[dbus]
>=x11-libs/pango-1.28.3
>=x11-libs/gtk+-3.17.5:3[introspection?]
>=dev-libs/libxml2-2.7.8:2
>=gnome-base/gnome-desktop-3:3=
gnome-base/dconf
>=gnome-base/gsettings-desktop-schemas-3.8.0
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrender
exif? ( >=media-libs/libexif-0.6.20 )
introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
tracker? ( >=app-misc/tracker-0.16:= )
xmp? ( >=media-libs/exempi-2.1.0 )
"
DEPEND="${COMMON_DEPEND}
>=dev-lang/perl-5
>=dev-util/gdbus-codegen-2.33
>=dev-util/gtk-doc-am-1.10
>=dev-util/intltool-0.40.1
sys-devel/gettext
virtual/pkgconfig
x11-proto/xproto
"
RDEPEND="${COMMON_DEPEND}
packagekit? ( app-admin/packagekit-base )
sendto? ( !<gnome-extra/nautilus-sendto-3.0.1 )
"
# For eautoreconf
# gnome-base/gnome-common
# dev-util/gtk-doc-am"
PDEPEND="
gnome? (
>=x11-themes/gnome-icon-theme-1.1.91
x11-themes/gnome-icon-theme-symbolic )
tracker? ( >=gnome-extra/nautilus-tracker-tags-0.12 )
previewer? ( >=gnome-extra/sushi-0.1.9 )
sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 )
>=gnome-base/gvfs-1.14[gtk]
"
# Need gvfs[gtk] for recent:/// support
src_prepare() {
if use previewer; then
DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files.
To activate the previewer, select a file and press space; to
close the previewer, press space again."
fi
# Remove -D*DEPRECATED flags. Don't leave this for eclass! (bug #448822)
sed -e 's/DISABLE_DEPRECATED_CFLAGS=.*/DISABLE_DEPRECATED_CFLAGS=/' \
-i configure || die "sed failed"
gnome2_src_prepare
}
src_configure() {
DOCS="AUTHORS HACKING MAINTAINERS NEWS README* THANKS"
gnome2_src_configure \
--disable-profiling \
--disable-update-mimedb \
$(use_enable exif libexif) \
$(use_enable introspection) \
$(use_enable packagekit) \
$(use_enable sendto nst-extension) \
$(use_enable tracker) \
$(use_enable xmp)
}
src_test() {
gnome2_environment_reset
unset DBUS_SESSION_BUS_ADDRESS
export GSETTINGS_BACKEND="memory"
Xemake check
unset GSETTINGS_BACKEND
}
src_install() {
use previewer && readme.gentoo_create_doc
gnome2_src_install
}
pkg_postinst() {
gnome2_pkg_postinst
if use previewer; then
readme.gentoo_print_elog
else
elog "To preview media files, emerge nautilus with USE=previewer"
fi
}

@ -4,8 +4,9 @@
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python2_7 )
inherit gnome2
inherit gnome2 python-any-r1 virtualx
DESCRIPTION="Log messages and event viewer"
HOMEPAGE="https://wiki.gnome.org/Apps/Logs"
@ -13,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Logs"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="test"
RDEPEND="
>=dev-libs/glib-2.43.90:2
@ -27,4 +28,17 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.50
dev-util/itstool
virtual/pkgconfig
test? ( dev-util/dogtail )
"
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_configure() {
gnome2_src_configure $(use_enable test tests)
}
src_test() {
Xemake check
}

@ -1,5 +1,3 @@
DIST gucharmap-3.0.1.tar.bz2 3275481 SHA256 948a376f13af98ffe6be29c73f1d89d2dbc201abd697bb6e85c717d8242dcf75 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1 WHIRLPOOL 6c9aaaaf31428db5257f98da741513c192ca32371b5d19952471d09586900186b269192b8ae6902e430e7fb3116bccc7d6ed4bca050ad0ca58eb14d7817d569a
DIST gucharmap-3.12.1.tar.xz 1918188 SHA256 5e260767da43f6dc31a8be33ca363da56781349b367464fa9c478bca66aa18d9 SHA512 47d5a85cd6941ea5698442658d7aa91ac9e2b86b861f2fa9fd2a397caddc81c89df550cd635c5cf080bb31e7f2f0968d4bd36c23dc231799af533736fe66bf6b WHIRLPOOL cd2986dc7070f94c66a61e51db7eca7fd5c4cd7cfcb13178e05446a5ea7a240f1b4d38a9b66ccabb60503e1b2c7ff7ca748248d0a31715fe7b0c09b37bae0c92
DIST gucharmap-3.14.2.tar.xz 1986052 SHA256 fdc3e1889c48c0835d349e2910000f62946ee9f2735d7f64d6a3ad5869c87872 SHA512 e1678ce27dbf0d316bb3b25655323dca071141800a1f0d35f354093a2126c72758a8d004fcc95e7d4221f2cd5c1b0328b35a2ff43eb76e2338d165c5bc32744b WHIRLPOOL 3d100c39c123e8cac43769d50c9fd48088181a07efcd50ae977f9370a1312a134a27f1f544c06a282be0251c6bf29637cfef43b16ba7bcafd2b6e11e84a501cc
DIST gucharmap-3.16.2.tar.xz 1996036 SHA256 0a3fa996ae271c8f4812a7d8dc573ece0c000d63185b4865fa99387455e1b13d SHA512 b20bf0d4a79bd926b0863b7451c6eaa3bba2741231c3719e4799df17aec86798362862ab0a7b19d0fa76d5f05e5fa34f0c516e76e5c0d0bf8e87d15f6e868662 WHIRLPOOL 285d9091d3a7281b84dc96e009a26eb0f154d63f9b222b3d5ae34d9fd6c3c14d7febaf110d26e5b8168b5be93a6d5f01bd70459606b563faf496a78e28b7c3b5
DIST gucharmap-3.18.2.tar.xz 2031560 SHA256 80141d3e892c3c4812c1a8fad8f89978559ef19e933843267e6e9a5524c09ec9 SHA512 d12eefb56272192762086271aa65bfa8b9a8843ac68a6affa1af3d2c891227b0fdae1c274976ceb883ecce26b7d9a2b28c2712155650c0969d6da77b1ff482b5 WHIRLPOOL 176e29627e33e28e965d07efe94aac1c1110bc2c44603c7220d34e520b36a443f73bfc823a395f48760023e137980a822e49c701910813e9deb280b8be115d38

@ -1,62 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="yes"
VALA_MIN_API_VERSION="0.16"
VALA_USE_DEPEND="vapigen"
inherit gnome2 vala
DESCRIPTION="Unicode character map viewer and library"
HOMEPAGE="https://live.gnome.org/Gucharmap"
LICENSE="GPL-3"
SLOT="2.90"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
IUSE="cjk +introspection test vala"
REQUIRED_USE="vala? ( introspection )"
COMMON_DEPEND="
>=dev-libs/glib-2.32:2
>=x11-libs/pango-1.2.1[introspection?]
>=x11-libs/gtk+-3.4.0:3[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
"
RDEPEND="${COMMON_DEPEND}
!<gnome-extra/gucharmap-3:0
"
DEPEND="${RDEPEND}
app-text/yelp-tools
dev-util/desktop-file-utils
>=dev-util/gtk-doc-am-1
>=dev-util/intltool-0.40
sys-devel/gettext
virtual/pkgconfig
test? ( app-text/docbook-xml-dtd:4.1.2 )
vala? ( $(vala_depend) )
"
src_prepare() {
# prevent file collisions with slot 0
sed -e "s:GETTEXT_PACKAGE=gucharmap$:GETTEXT_PACKAGE=gucharmap-${SLOT}:" \
-i configure.ac configure || die "sed configure.ac configure failed"
# avoid autoreconf
sed -e 's/-Wall //g' -i configure || die "sed failed"
use vala && vala_src_prepare
gnome2_src_prepare
}
src_configure() {
# Do not add ITSTOOL=$(type -P true); yelp-tools is a true required
# dependency here for some LINGUAS.
gnome2_src_configure \
--disable-static \
$(use_enable introspection) \
$(use_enable cjk unihan) \
$(use_enable vala)
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save