parent
bb42a6bdeb
commit
394aaaba58
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST xkcdpass-1.17.3.tar.gz 2072127 BLAKE2B 20339e7a0fd43f86eb83d89774613fa0009a13ca190be7d36edb8244b7d2e0b48041b3f8c7156c04e4d2dbae0c4475f5f1e577701e651146acab1284aa6c032d SHA512 5359b0b4e3076c2b385773862ff03e3700888d1ae967a26c5b19add3c9d2cde179ed5ad3309c5b53ab6cdbd40c8fedae1f6b9b0483dba83858671f9d816efc6c
|
DIST xkcdpass-1.17.3.tar.gz 2072127 BLAKE2B 20339e7a0fd43f86eb83d89774613fa0009a13ca190be7d36edb8244b7d2e0b48041b3f8c7156c04e4d2dbae0c4475f5f1e577701e651146acab1284aa6c032d SHA512 5359b0b4e3076c2b385773862ff03e3700888d1ae967a26c5b19add3c9d2cde179ed5ad3309c5b53ab6cdbd40c8fedae1f6b9b0483dba83858671f9d816efc6c
|
||||||
|
DIST xkcdpass-1.17.6.tar.gz 8216233 BLAKE2B dc6f8b1bf76eba5271bf6027baf6bfbe5a18081ac85970ba35be3d0cf4e08d98d60b8bc819c05512aab94d621cf93fe9dca74a0108cdd4d94ad6ae830c28d3c2 SHA512 db47d6f0d5711e1aa4520fa3afb78b085b2e5a7599fa7eecbc3f806f5c7edceae9c54c250923147c87a837b54b5efd0d8f34f9c08e3104341f1243de0edf87f9
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Password generator inspired by XKCD 936"
|
||||||
|
HOMEPAGE="https://github.com/redacted/XKCD-password-generator"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD CC-BY-3.0
|
||||||
|
l10n_de? ( GPL-3 )
|
||||||
|
l10n_it? ( CC-BY-SA-3.0 )
|
||||||
|
l10n_no? ( CC-BY-4.0 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="l10n_de l10n_en l10n_es l10n_fi l10n_fr l10n_it l10n_no l10n_pt"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use l10n_de || rm ${PN}/static/ger-anlx
|
||||||
|
use l10n_en || rm ${PN}/static/{eff-short,eff-special,legacy}
|
||||||
|
use l10n_es || rm ${PN}/static/spa-mich
|
||||||
|
use l10n_fi || rm ${PN}/static/fin-kotus
|
||||||
|
use l10n_fr || rm ${PN}/static/fr-*
|
||||||
|
use l10n_it || rm ${PN}/static/ita-wiki
|
||||||
|
use l10n_no || rm ${PN}/static/nor-nb
|
||||||
|
use l10n_pt || rm ${PN}/static/pt-*
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
doman ${PN}.1
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST mousepad-0.4.2.tar.bz2 696014 BLAKE2B 2591f177b59147e01502329939365c5f18031f3dc9100baa29cb1da04afbff26cc91cc612ea1e5ebbc2d15754375da6afbd4ae9d96399f41cf06191d7d8d7082 SHA512 f3266018ce61683dc62b6866649f3674cc363ea652de04d3f087341c61cf24fb5eb730411948e354d085792f88b59e3dba7e7712715d92711f750b33d8bfb69a
|
DIST mousepad-0.4.2.tar.bz2 696014 BLAKE2B 2591f177b59147e01502329939365c5f18031f3dc9100baa29cb1da04afbff26cc91cc612ea1e5ebbc2d15754375da6afbd4ae9d96399f41cf06191d7d8d7082 SHA512 f3266018ce61683dc62b6866649f3674cc363ea652de04d3f087341c61cf24fb5eb730411948e354d085792f88b59e3dba7e7712715d92711f750b33d8bfb69a
|
||||||
DIST mousepad-0.4.90.tar.bz2 808320 BLAKE2B 5a639001663d24a9d0ae126f672adb5d3a72825893e0f0d90e263596f214d76f973e0743248efee8562dc04afb09c0519ed649ca5d36b9221569490e289d687f SHA512 e839584782b09ee9d485ca4dcf05e22afb459cba269b3a15fe2dc0e3f3240bc15b1a8d7db92160b735d97d7293e67b0484b50ac3e72946b499dc65ac1097390b
|
DIST mousepad-0.4.90.tar.bz2 808320 BLAKE2B 5a639001663d24a9d0ae126f672adb5d3a72825893e0f0d90e263596f214d76f973e0743248efee8562dc04afb09c0519ed649ca5d36b9221569490e289d687f SHA512 e839584782b09ee9d485ca4dcf05e22afb459cba269b3a15fe2dc0e3f3240bc15b1a8d7db92160b735d97d7293e67b0484b50ac3e72946b499dc65ac1097390b
|
||||||
DIST mousepad-0.5.0.tar.bz2 810533 BLAKE2B c98fe38d65923fca2a5f2a769ad8fd0c92f77c6aff2c658e2ecd3bc3081988cb10b5dd49ba36020fe05c6f172e08f6efb825eb2c38b630dbcc6fd4d639313e15 SHA512 06cab143a3a0f98ad2aeecb0c7f034b8dede355de09632217da27dfb0675909c6cb284b227644c9ab3513a67fb23594ee63f0112ade69830d46559a8e7d65842
|
DIST mousepad-0.5.0.tar.bz2 810533 BLAKE2B c98fe38d65923fca2a5f2a769ad8fd0c92f77c6aff2c658e2ecd3bc3081988cb10b5dd49ba36020fe05c6f172e08f6efb825eb2c38b630dbcc6fd4d639313e15 SHA512 06cab143a3a0f98ad2aeecb0c7f034b8dede355de09632217da27dfb0675909c6cb284b227644c9ab3513a67fb23594ee63f0112ade69830d46559a8e7d65842
|
||||||
|
DIST mousepad-0.5.1.tar.bz2 826973 BLAKE2B 6e0ae6570221b8e7ecfc5b7bf513eb7bf6efd745f977d46a1bc78d9ef4d59984964abc423f381d5170edc4a44f6672f1fa44f4bdc898260c43d0685c3603da30 SHA512 2b9403332f370bb75bf03a0e0aeab2b2f889fcd2fcef54e6d958e82933f5b6044dbf9416cf0ca5b43f4c304bb93dec185c647ebb40ed3915a87a15b76cf2e634
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit gnome2-utils xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
|
||||||
|
HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
|
||||||
|
SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.52
|
||||||
|
>=xfce-base/xfconf-4.12:=
|
||||||
|
>=x11-libs/gtk+-3.22:3
|
||||||
|
>=x11-libs/gtksourceview-3.24:3.0"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-lang/perl
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST tracker-miners-2.3.3.tar.xz 3144712 BLAKE2B a5789cce89dedd7cf35548b730acc80eb9b8bcbc8338c4ee55b07c97af4b9fbadc46bf0fdc552a3384e995d71aca0defe2d57dc21d99f775dee6f33f69e0aa9b SHA512 1e845aaa5412125df84298a05f29888b3872c0f4d9251f026dd51846831fcd4aa0c6965c85752d7b6ed6548268d21f0fd2a8427c922a5dc0afcd294286c607e2
|
DIST tracker-miners-2.3.3.tar.xz 3144712 BLAKE2B a5789cce89dedd7cf35548b730acc80eb9b8bcbc8338c4ee55b07c97af4b9fbadc46bf0fdc552a3384e995d71aca0defe2d57dc21d99f775dee6f33f69e0aa9b SHA512 1e845aaa5412125df84298a05f29888b3872c0f4d9251f026dd51846831fcd4aa0c6965c85752d7b6ed6548268d21f0fd2a8427c922a5dc0afcd294286c607e2
|
||||||
DIST tracker-miners-2.3.4.tar.xz 3128484 BLAKE2B f52c46123c95252f8f16df824ff7498a8f44698cea13fa78653d7733590bef0a502139fea686b4fd9012f7569a6f946e1dbf8e053a16c474230c733d37103a3f SHA512 ceddddfa6c3151b5caeb197a4ae4dbe24fa2674e807bf66a9cc72227b60ee295171b52c2edb35236a3fbf9d8803678f55f8b990864a7a3a32bf362b0739d03ba
|
DIST tracker-miners-2.3.4.tar.xz 3128484 BLAKE2B f52c46123c95252f8f16df824ff7498a8f44698cea13fa78653d7733590bef0a502139fea686b4fd9012f7569a6f946e1dbf8e053a16c474230c733d37103a3f SHA512 ceddddfa6c3151b5caeb197a4ae4dbe24fa2674e807bf66a9cc72227b60ee295171b52c2edb35236a3fbf9d8803678f55f8b990864a7a3a32bf362b0739d03ba
|
||||||
|
DIST tracker-miners-2.3.5.tar.xz 3128428 BLAKE2B a45c642fb03433a6cf12d0904a82498aa6645f97ac70b1cfe04cc3b739b33b5d3fe307cd96f45a5a4af8927f029b4eade60195d2f72c1a684aa26ee723025d8a SHA512 13da1106bc1bc8a550093c4d1bf4336a205f636e0487dc9d42cee9ce2666eca73ead479fd04f03ccf15acb4e3b27a1c898860f63bdfa69ca74b02aa041731fa9
|
||||||
|
@ -0,0 +1,80 @@
|
|||||||
|
From e7b6d5f8b7541a4693c61be5d210fad85a5c9d06 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Carlos Garnacho <carlosg@gnome.org>
|
||||||
|
Date: Sat, 12 Sep 2020 13:37:11 +0200
|
||||||
|
Subject: [PATCH] build: Fix -Dautostart=true
|
||||||
|
|
||||||
|
Meson doesn't seem to like that we use install_data() with custom target
|
||||||
|
results. Make this option toggle the "install" keyword argument in the
|
||||||
|
custom target itself.
|
||||||
|
---
|
||||||
|
src/miners/fs/meson.build | 10 +++-------
|
||||||
|
src/miners/rss/meson.build | 10 +++-------
|
||||||
|
src/tracker-extract/meson.build | 10 +++-------
|
||||||
|
3 files changed, 9 insertions(+), 21 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build
|
||||||
|
index a770516c9..5a23bd06c 100644
|
||||||
|
--- a/src/miners/fs/meson.build
|
||||||
|
+++ b/src/miners/fs/meson.build
|
||||||
|
@@ -54,13 +54,9 @@ desktop_file_untranslated = configure_file(
|
||||||
|
desktop_file = custom_target('tracker-miner-fs-desktop-file',
|
||||||
|
input: desktop_file_untranslated,
|
||||||
|
output: 'tracker-miner-fs.desktop',
|
||||||
|
- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'])
|
||||||
|
-
|
||||||
|
-if get_option('autostart')
|
||||||
|
- install_data(desktop_file,
|
||||||
|
- install: true,
|
||||||
|
- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
-endif
|
||||||
|
+ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'],
|
||||||
|
+ install: get_option('autostart'),
|
||||||
|
+ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
|
||||||
|
if install_systemd_user_services
|
||||||
|
configure_file(
|
||||||
|
diff --git a/src/miners/rss/meson.build b/src/miners/rss/meson.build
|
||||||
|
index f540befe2..0bf0bb765 100644
|
||||||
|
--- a/src/miners/rss/meson.build
|
||||||
|
+++ b/src/miners/rss/meson.build
|
||||||
|
@@ -31,13 +31,9 @@ desktop_file_untranslated = configure_file(
|
||||||
|
desktop_file = custom_target('tracker-miner-rss-desktop-file',
|
||||||
|
input: desktop_file_untranslated,
|
||||||
|
output: 'tracker-miner-rss.desktop',
|
||||||
|
- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'])
|
||||||
|
-
|
||||||
|
-if get_option('autostart')
|
||||||
|
- install_data(desktop_file,
|
||||||
|
- install: true,
|
||||||
|
- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
-endif
|
||||||
|
+ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'],
|
||||||
|
+ install: get_option('autostart'),
|
||||||
|
+ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
|
||||||
|
if install_systemd_user_services
|
||||||
|
configure_file(
|
||||||
|
diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
|
||||||
|
index 239907179..aec37bfcc 100644
|
||||||
|
--- a/src/tracker-extract/meson.build
|
||||||
|
+++ b/src/tracker-extract/meson.build
|
||||||
|
@@ -189,13 +189,9 @@ desktop_file_untranslated = configure_file(
|
||||||
|
desktop_file = custom_target('tracker-extract-desktop-file',
|
||||||
|
input: desktop_file_untranslated,
|
||||||
|
output: 'tracker-extract.desktop',
|
||||||
|
- command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'])
|
||||||
|
-
|
||||||
|
-if get_option('autostart')
|
||||||
|
- install_data(desktop_file,
|
||||||
|
- install: true,
|
||||||
|
- install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
-endif
|
||||||
|
+ command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), '@INPUT@', '@OUTPUT@'],
|
||||||
|
+ install: get_option('autostart'),
|
||||||
|
+ install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
|
||||||
|
|
||||||
|
if install_systemd_user_services
|
||||||
|
configure_file(
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
@ -0,0 +1,162 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit gnome.org gnome2-utils meson python-any-r1 systemd xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Collection of data extractors for Tracker/Nepomuk"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps"
|
||||||
|
|
||||||
|
REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred)
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.46:2
|
||||||
|
>=app-misc/tracker-2.2.0:0=
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0
|
||||||
|
media-libs/gst-plugins-base:1.0
|
||||||
|
media-plugins/gst-plugins-meta:1.0 )
|
||||||
|
!gstreamer? (
|
||||||
|
ffmpeg? ( media-video/ffmpeg:0= ) )
|
||||||
|
|
||||||
|
>=sys-apps/dbus-1.3.1
|
||||||
|
xmp? ( >=media-libs/exempi-2.1.0:= )
|
||||||
|
raw? ( media-libs/gexiv2 )
|
||||||
|
>=dev-libs/icu-4.8.1.2:=
|
||||||
|
cue? ( media-libs/libcue:= )
|
||||||
|
exif? ( >=media-libs/libexif-0.6 )
|
||||||
|
gsf? ( >=gnome-extra/libgsf-1.14.24:= )
|
||||||
|
xps? ( app-text/libgxps )
|
||||||
|
iptc? ( media-libs/libiptcdata )
|
||||||
|
jpeg? ( virtual/jpeg:0 )
|
||||||
|
iso? ( >=sys-libs/libosinfo-0.2.10 )
|
||||||
|
>=media-libs/libpng-1.2:0=
|
||||||
|
seccomp? ( >=sys-libs/libseccomp-2.0 )
|
||||||
|
tiff? ( media-libs/tiff:0 )
|
||||||
|
xml? ( >=dev-libs/libxml2-2.6 )
|
||||||
|
pdf? ( >=app-text/poppler-0.16.0[cairo] )
|
||||||
|
playlist? ( >=dev-libs/totem-pl-parser-3:= )
|
||||||
|
upower? ( >=sys-power/upower-0.9.0 )
|
||||||
|
sys-libs/zlib:0
|
||||||
|
gif? ( media-libs/giflib:= )
|
||||||
|
|
||||||
|
rss? ( >=net-libs/libgrss-0.7:0 )
|
||||||
|
app-arch/gzip
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/glib-utils
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
|
||||||
|
>=dev-util/intltool-0.40.0
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( ${PYTHON_DEPS}
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[introspection]
|
||||||
|
|| ( media-plugins/gst-plugins-libav:1.0
|
||||||
|
media-plugins/gst-plugins-openh264:1.0 )
|
||||||
|
) )
|
||||||
|
"
|
||||||
|
# intltool-merge manually called in meson.build in 2.3.5; might be properly gone by 3.0
|
||||||
|
RDEPEND="${RDEPEND}
|
||||||
|
!>=app-misc/tracker-miners-2.99
|
||||||
|
" # Incompatible revision for (upcoming) parallel-installable tracker-miners-3 due to autostart; a revision that disables autostart and drops the blocker to be added together with v3
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PV}-fix-autostart-build.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that
|
||||||
|
if use gstreamer; then
|
||||||
|
sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die
|
||||||
|
else
|
||||||
|
sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die
|
||||||
|
fi
|
||||||
|
xdg_src_prepare
|
||||||
|
gnome2_environment_reset # sets gstreamer safety variables
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local media_extractor="none"
|
||||||
|
if use gstreamer ; then
|
||||||
|
media_extractor="gstreamer"
|
||||||
|
elif use ffmpeg ; then
|
||||||
|
media_extractor="libav"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
-Dtracker_core=system
|
||||||
|
|
||||||
|
-Ddocs=true
|
||||||
|
-Dextract=true
|
||||||
|
-Dfunctional_tests=false # currently broken, may fare better in 2.2.3 or 2.3; if re-enabled re-add dconf test dep
|
||||||
|
#$(meson_use test functional_tests)
|
||||||
|
-Dminer_fs=true
|
||||||
|
$(meson_use rss miner_rss)
|
||||||
|
-Dwriteback=true
|
||||||
|
-Dabiword=true
|
||||||
|
-Ddvi=true
|
||||||
|
-Dicon=true
|
||||||
|
-Dmp3=true
|
||||||
|
-Dps=true
|
||||||
|
-Dtext=true
|
||||||
|
-Dunzip_ps_gz_files=true # spawns gunzip
|
||||||
|
|
||||||
|
$(meson_feature cue)
|
||||||
|
$(meson_feature exif)
|
||||||
|
-Dflac=disabled # never use external flac extractor - gst-plugins-flac is for that; ffmpeg one is maybe worse, but that's non-default
|
||||||
|
$(meson_feature gif)
|
||||||
|
$(meson_feature gsf)
|
||||||
|
$(meson_feature iptc)
|
||||||
|
$(meson_feature iso)
|
||||||
|
$(meson_feature jpeg)
|
||||||
|
$(meson_feature pdf)
|
||||||
|
$(meson_feature playlist)
|
||||||
|
-Dpng=enabled
|
||||||
|
$(meson_feature raw)
|
||||||
|
$(meson_feature tiff)
|
||||||
|
-Dvorbis=disabled # never use external vorbis extractor - gst-plugins-base[vorbis] is for that; ffmpeg one is maybe worse, but that's non-default
|
||||||
|
$(meson_feature xml)
|
||||||
|
$(meson_feature xmp)
|
||||||
|
$(meson_feature xps)
|
||||||
|
|
||||||
|
-Dbattery_detection=$(usex upower upower none)
|
||||||
|
-Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
|
||||||
|
-Dgeneric_media_extractor=${media_extractor}
|
||||||
|
# gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default
|
||||||
|
-Dautostart=true # turn to false to co-exist with tracker-miners-3
|
||||||
|
-Dsystemd_user_services="$(systemd_get_userunitdir)"
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
|
||||||
|
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Very fast anagram generator with dictionary lookup"
|
|
||||||
HOMEPAGE="http://packages.debian.org/unstable/games/an"
|
|
||||||
|
|
||||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/icu:=
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
sys-apps/miscfiles[-minimal]
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e '/^CC/s|:=|?=|' \
|
|
||||||
-e 's|$(CC) $(CFLAGS)|& $(LDFLAGS)|g' \
|
|
||||||
-e '/^CPPFLAGS/s|-D_BSD_SOURCE=1 -D_GNU_SOURCE=1|-D_DEFAULT_SOURCE=1|g' \
|
|
||||||
Makefile || die
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
newman ${PN}.6 ${PN}.1
|
|
||||||
dodoc ALGORITHM
|
|
||||||
}
|
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Very fast anagram generator with dictionary lookup"
|
|
||||||
HOMEPAGE="http://packages.debian.org/unstable/games/an"
|
|
||||||
|
|
||||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 hppa ppc ppc64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-libs/icu:=
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
app-arch/xz-utils
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
sys-apps/miscfiles[-minimal]
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i \
|
|
||||||
-e '/^CC/s|:=|?=|' \
|
|
||||||
-e 's|$(CC) $(CFLAGS)|& $(LDFLAGS)|g' \
|
|
||||||
Makefile || die
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
newman ${PN}.6 ${PN}.1
|
|
||||||
dodoc ALGORITHM
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST tree-1.7.0.tgz 47082 BLAKE2B 07449f50a44f857733679ae92a54a9dd61fe19b282f9244534393527d5f344835864e2acff3b2c43ed406d65657568b21440044af21fed2c4ab623e88d2e396c SHA512 b234fb1428ba75da72d7e4aeb24bf961e123332342593e441b29a0baa2270d12bb187d889c179d6463c940c8dce9fe9dffeb4ad3f06cf11f057b83234d7b4b4a
|
|
||||||
DIST tree-1.8.0.tgz 50286 BLAKE2B 51a27500b89a46add6e792d446b465696d2b34339bbd06f03baff9ce589131b5d82c414849f891dbb79a3f3cfb23b89336e783ad23b84c1fb5415a13fb9488cd SHA512 3f657a6278ec5eab2fccab39dfd69bf9376811189a368b5e3213dc900b90a4e7a4961fc58eb80ad2efd5b40d2fbd0146ec59f30fe0bba576f93519214f240695
|
DIST tree-1.8.0.tgz 50286 BLAKE2B 51a27500b89a46add6e792d446b465696d2b34339bbd06f03baff9ce589131b5d82c414849f891dbb79a3f3cfb23b89336e783ad23b84c1fb5415a13fb9488cd SHA512 3f657a6278ec5eab2fccab39dfd69bf9376811189a368b5e3213dc900b90a4e7a4961fc58eb80ad2efd5b40d2fbd0146ec59f30fe0bba576f93519214f240695
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit toolchain-funcs flag-o-matic bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Lists directories recursively, and produces an indented listing of files"
|
|
||||||
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
|
|
||||||
SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="!=sci-biology/meme-4.8.1"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:LINUX:__linux__:' tree.c || die
|
|
||||||
mv doc/tree.1.fr doc/tree.fr.1
|
|
||||||
if use !elibc_glibc ; then
|
|
||||||
# 433972, also previously done only for elibc_uclibc
|
|
||||||
sed -i -e '/^OBJS=/s/$/ strverscmp.o/' Makefile || die
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
append-lfs-flags
|
|
||||||
emake \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
|
||||||
LDFLAGS="${LDFLAGS}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin tree
|
|
||||||
doman doc/tree*.1
|
|
||||||
einstalldocs
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN}
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit toolchain-funcs flag-o-matic bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Lists directories recursively, and produces an indented listing of files"
|
|
||||||
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
|
|
||||||
SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="!=sci-biology/meme-4.8.1"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's:LINUX:__linux__:' tree.c || die
|
|
||||||
mv doc/tree.1.fr doc/tree.fr.1
|
|
||||||
if use !elibc_glibc ; then
|
|
||||||
# 433972, also previously done only for elibc_uclibc
|
|
||||||
sed -i -e '/^OBJS=/s/$/ strverscmp.o/' Makefile || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
append-lfs-flags
|
|
||||||
emake \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
|
||||||
LDFLAGS="${LDFLAGS}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin tree
|
|
||||||
doman doc/tree*.1
|
|
||||||
dodoc CHANGES README*
|
|
||||||
newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN}
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
DESCRIPTION="Create a diff disregarding formatting"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/wdiff/"
|
|
||||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
|
||||||
IUSE="experimental test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
sys-apps/diffutils
|
|
||||||
sys-apps/less
|
|
||||||
sys-libs/ncurses"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( app-misc/screen )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable experimental)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# The test suite hangs in the '3: use pager' test
|
|
||||||
# when an incompatible screenrc is found
|
|
||||||
touch tests/screenrc || die
|
|
||||||
export SYSSCREENRC=tests/screenrc SCREENRC=tests/screenrc
|
|
||||||
default
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,18 +0,0 @@
|
|||||||
diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini
|
|
||||||
index fed4a9f..5f2ed8e 100644
|
|
||||||
--- a/etc/pgbouncer.ini
|
|
||||||
+++ b/etc/pgbouncer.ini
|
|
||||||
@@ -55,9 +55,9 @@ listen_port = 6432
|
|
||||||
|
|
||||||
;; Unix socket is also used for -R.
|
|
||||||
;; On Debian it should be /var/run/postgresql
|
|
||||||
-;unix_socket_dir = /tmp
|
|
||||||
-;unix_socket_mode = 0777
|
|
||||||
-;unix_socket_group =
|
|
||||||
+unix_socket_dir = /run/postgresql
|
|
||||||
+unix_socket_mode = 0777
|
|
||||||
+unix_socket_group = postgres
|
|
||||||
|
|
||||||
;;;
|
|
||||||
;;; TLS settings for accepting clients
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
|||||||
diff -Naruw pgbouncer-1.8.orig/etc/pgbouncer.ini pgbouncer-1.8/etc/pgbouncer.ini
|
|
||||||
--- pgbouncer-1.8.orig/etc/pgbouncer.ini 2017-12-18 11:03:18.000000000 -0500
|
|
||||||
+++ pgbouncer-1.8/etc/pgbouncer.ini 2017-12-20 06:48:25.935839539 -0500
|
|
||||||
@@ -34,7 +34,9 @@
|
|
||||||
;;;
|
|
||||||
|
|
||||||
logfile = /var/log/pgbouncer/pgbouncer.log
|
|
||||||
-pidfile = /var/run/pgbouncer/pgbouncer.pid
|
|
||||||
+
|
|
||||||
+; Leave unset. This is handled in the initscript.
|
|
||||||
+;pidfile =
|
|
||||||
|
|
||||||
;;;
|
|
||||||
;;; Where to wait for clients
|
|
||||||
@@ -44,11 +46,12 @@
|
|
||||||
listen_addr = 127.0.0.1
|
|
||||||
listen_port = 6432
|
|
||||||
|
|
||||||
-; Unix socket is also used for -R.
|
|
||||||
-; On Debian it should be /var/run/postgresql
|
|
||||||
-;unix_socket_dir = /tmp
|
|
||||||
-;unix_socket_mode = 0777
|
|
||||||
-;unix_socket_group =
|
|
||||||
+; Unix socket is also used for -R (online restart), but the
|
|
||||||
+; initscripts can't do that. Generally, you'll want to leave these
|
|
||||||
+; alone. System-wide default is: /run/postgresql
|
|
||||||
+unix_socket_dir = /run/postgresql
|
|
||||||
+unix_socket_mode = 0777
|
|
||||||
+unix_socket_group = postgres
|
|
||||||
|
|
||||||
;;;
|
|
||||||
;;; TLS settings for accepting clients
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit user
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
|
||||||
HOMEPAGE="https://pgbouncer.github.io"
|
|
||||||
SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="+c-ares debug doc pam ssl -udns"
|
|
||||||
|
|
||||||
# At-most-one-of, one can be enabled but not both
|
|
||||||
REQUIRED_USE="?? ( c-ares udns )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libevent-2.0
|
|
||||||
>=sys-libs/glibc-2.10
|
|
||||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
|
||||||
ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] )
|
|
||||||
udns? ( >=net-libs/udns-0.1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup postgres 70
|
|
||||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
|
||||||
|
|
||||||
enewuser pgbouncer -1 -1 -1 postgres
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/pgbouncer-1.8-dirs.patch"
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# --enable-debug is only used to disable stripping
|
|
||||||
econf \
|
|
||||||
--enable-debug \
|
|
||||||
$(use_with c-ares cares) \
|
|
||||||
$(use_enable debug cassert) \
|
|
||||||
$(use_with pam) \
|
|
||||||
$(use_with ssl openssl) \
|
|
||||||
$(use_with udns)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${S}/test"
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
use doc && dodoc doc/*.rst
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins etc/pgbouncer.ini
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/logrotate" pgbouncer
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
einfo "Please read the config.txt for Configuration Directives"
|
|
||||||
einfo
|
|
||||||
einfo "For Administration Commands, see:"
|
|
||||||
einfo " man pgbouncer"
|
|
||||||
einfo
|
|
||||||
einfo "By default, PgBouncer does not have access to any database."
|
|
||||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
|
||||||
einfo "exists in PgBouncer's auth_file."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit user
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
|
||||||
HOMEPAGE="https://pgbouncer.github.io"
|
|
||||||
SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+c-ares debug doc pam ssl -udns"
|
|
||||||
|
|
||||||
# At-most-one-of, one can be enabled but not both
|
|
||||||
REQUIRED_USE="?? ( c-ares udns )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libevent-2.0
|
|
||||||
>=sys-libs/glibc-2.10
|
|
||||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
|
||||||
ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] )
|
|
||||||
udns? ( >=net-libs/udns-0.1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup postgres 70
|
|
||||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
|
||||||
|
|
||||||
enewuser pgbouncer -1 -1 -1 postgres
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch"
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# --enable-debug is only used to disable stripping
|
|
||||||
econf \
|
|
||||||
--enable-debug \
|
|
||||||
$(use_with c-ares cares) \
|
|
||||||
$(use_enable debug cassert) \
|
|
||||||
$(use_with pam) \
|
|
||||||
$(use_with ssl openssl) \
|
|
||||||
$(use_with udns)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${S}/test"
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
use doc && dodoc doc/*.rst
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins etc/pgbouncer.ini
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/logrotate" pgbouncer
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
einfo "Please read the config.txt for Configuration Directives"
|
|
||||||
einfo
|
|
||||||
einfo "For Administration Commands, see:"
|
|
||||||
einfo " man pgbouncer"
|
|
||||||
einfo
|
|
||||||
einfo "By default, PgBouncer does not have access to any database."
|
|
||||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
|
||||||
einfo "exists in PgBouncer's auth_file."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,84 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit user
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
|
||||||
HOMEPAGE="https://www.pgbouncer.org/"
|
|
||||||
SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+c-ares debug doc pam ssl -udns"
|
|
||||||
|
|
||||||
# At-most-one-of, one can be enabled but not both
|
|
||||||
REQUIRED_USE="?? ( c-ares udns )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libevent-2.0
|
|
||||||
>=sys-libs/glibc-2.10
|
|
||||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
|
||||||
ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] )
|
|
||||||
udns? ( >=net-libs/udns-0.1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
# Tests require a local database server, wants to fiddle with iptables,
|
|
||||||
# and doesn't support override. things.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup postgres 70
|
|
||||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
|
||||||
|
|
||||||
enewuser pgbouncer -1 -1 -1 postgres
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# --enable-debug is only used to disable stripping
|
|
||||||
econf \
|
|
||||||
--enable-debug \
|
|
||||||
$(use_with c-ares cares) \
|
|
||||||
$(use_enable debug cassert) \
|
|
||||||
$(use_with pam) \
|
|
||||||
$(use_with ssl openssl) \
|
|
||||||
$(use_with udns)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
use doc && dodoc doc/*.rst
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins etc/pgbouncer.ini
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/logrotate" pgbouncer
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
einfo "Please read the config.txt for Configuration Directives"
|
|
||||||
einfo
|
|
||||||
einfo "For Administration Commands, see:"
|
|
||||||
einfo " man pgbouncer"
|
|
||||||
einfo
|
|
||||||
einfo "By default, PgBouncer does not have access to any database."
|
|
||||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
|
||||||
einfo "exists in PgBouncer's auth_file."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit user
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
|
||||||
HOMEPAGE="https://pgbouncer.github.io"
|
|
||||||
SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+c-ares debug doc pam ssl -udns"
|
|
||||||
|
|
||||||
# At-most-one-of, one can be enabled but not both
|
|
||||||
REQUIRED_USE="?? ( c-ares udns )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libevent-2.0
|
|
||||||
>=sys-libs/glibc-2.10
|
|
||||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
|
||||||
ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] )
|
|
||||||
udns? ( >=net-libs/udns-0.1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup postgres 70
|
|
||||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
|
||||||
|
|
||||||
enewuser pgbouncer -1 -1 -1 postgres
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch"
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# --enable-debug is only used to disable stripping
|
|
||||||
econf \
|
|
||||||
--enable-debug \
|
|
||||||
$(use_with c-ares cares) \
|
|
||||||
$(use_enable debug cassert) \
|
|
||||||
$(use_with pam) \
|
|
||||||
$(use_with ssl openssl) \
|
|
||||||
$(use_with udns)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${S}/test"
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
use doc && dodoc doc/*.rst
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins etc/pgbouncer.ini
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/logrotate" pgbouncer
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
einfo "Please read the config.txt for Configuration Directives"
|
|
||||||
einfo
|
|
||||||
einfo "For Administration Commands, see:"
|
|
||||||
einfo " man pgbouncer"
|
|
||||||
einfo
|
|
||||||
einfo "By default, PgBouncer does not have access to any database."
|
|
||||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
|
||||||
einfo "exists in PgBouncer's auth_file."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
inherit user
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
|
||||||
HOMEPAGE="https://pgbouncer.github.io"
|
|
||||||
SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="+c-ares debug doc pam ssl -udns"
|
|
||||||
|
|
||||||
# At-most-one-of, one can be enabled but not both
|
|
||||||
REQUIRED_USE="?? ( c-ares udns )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libevent-2.0
|
|
||||||
>=sys-libs/glibc-2.10
|
|
||||||
c-ares? ( >=net-dns/c-ares-1.10 )
|
|
||||||
ssl? ( >=dev-libs/openssl-1.0.1:0=[-bindist] )
|
|
||||||
udns? ( >=net-libs/udns-0.1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup postgres 70
|
|
||||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
|
||||||
|
|
||||||
enewuser pgbouncer -1 -1 -1 postgres
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/pgbouncer-1.8-dirs.patch"
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# --enable-debug is only used to disable stripping
|
|
||||||
econf \
|
|
||||||
--enable-debug \
|
|
||||||
$(use_with c-ares cares) \
|
|
||||||
$(use_enable debug cassert) \
|
|
||||||
$(use_with pam) \
|
|
||||||
$(use_with ssl openssl) \
|
|
||||||
$(use_with udns)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${S}/test"
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
use doc && dodoc doc/*.rst
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins etc/pgbouncer.ini
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/logrotate" pgbouncer
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
einfo "Please read the config.txt for Configuration Directives"
|
|
||||||
einfo
|
|
||||||
einfo "For Administration Commands, see:"
|
|
||||||
einfo " man pgbouncer"
|
|
||||||
einfo
|
|
||||||
einfo "By default, PgBouncer does not have access to any database."
|
|
||||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
|
||||||
einfo "exists in PgBouncer's auth_file."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,17 @@
|
|||||||
|
diff -Naruw postgis-3.1.0.orig/configure.ac postgis-3.1.0/configure.ac
|
||||||
|
--- postgis-3.1.0.orig/configure.ac 2020-12-18 14:39:26.000000000 -0500
|
||||||
|
+++ postgis-3.1.0/configure.ac 2020-12-19 07:35:13.232167083 -0500
|
||||||
|
@@ -1501,12 +1501,9 @@
|
||||||
|
dnl ============================================================
|
||||||
|
CC="$WAGYU_CXX"
|
||||||
|
|
||||||
|
- AC_CHECK_LIB(c++, main, [HAVE_CPP=yes], [HAVE_CPP=no])
|
||||||
|
AC_CHECK_LIB(stdc++, main, [HAVE_STDCPP=yes], [HAVE_STDCPP=no])
|
||||||
|
|
||||||
|
- if test "x$HAVE_CPP" = "xyes"; then
|
||||||
|
- WAGYU_LDFLAGS="-lc++"
|
||||||
|
- elif test "x$HAVE_STDCPP" = "xyes"; then
|
||||||
|
+ if test "x$HAVE_STDCPP" = "xyes"; then
|
||||||
|
WAGYU_LDFLAGS="-lstdc++"
|
||||||
|
else
|
||||||
|
AC_MSG_WARN("Could not find a C++ standard library")
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naruw postgis-3.1.0.orig/configure.ac postgis-3.1.0/configure.ac
|
||||||
|
--- postgis-3.1.0.orig/configure.ac 2020-12-18 14:39:26.000000000 -0500
|
||||||
|
+++ postgis-3.1.0/configure.ac 2020-12-23 21:44:09.223273050 -0500
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
dnl
|
||||||
|
dnl SQL Preprocessor
|
||||||
|
dnl
|
||||||
|
-AC_PATH_PROG([CPPBIN], [cpp], [])
|
||||||
|
+AC_PATH_PROGS([CPPBIN], [cpp x86_64-pc-linux-gnu-cpp x86-pc-linux-gnu-cpp], [])
|
||||||
|
if test "x$CPPBIN" != "x"; then
|
||||||
|
SQLPP="${CPPBIN} -traditional-cpp -w -P"
|
||||||
|
else
|
@ -0,0 +1,139 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
POSTGRES_COMPAT=( 9.{5..6} {10..13} )
|
||||||
|
POSTGRES_USEDEP="server"
|
||||||
|
inherit autotools postgres-multi
|
||||||
|
|
||||||
|
MY_P="${PN}-$(ver_rs 3 '')"
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
|
||||||
|
else
|
||||||
|
PGIS="$(ver_cut 1-2)"
|
||||||
|
SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Geographic Objects for PostgreSQL"
|
||||||
|
HOMEPAGE="https://postgis.net"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="address-standardizer doc gtk static-libs test topology"
|
||||||
|
|
||||||
|
REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}"
|
||||||
|
|
||||||
|
# Needs a running psql instance, doesn't work out of the box
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="${POSTGRES_DEP}
|
||||||
|
dev-libs/json-c:=
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
dev-libs/protobuf-c:=
|
||||||
|
>=sci-libs/geos-3.6.0
|
||||||
|
>=sci-libs/proj-4.9.0:=
|
||||||
|
>=sci-libs/gdal-1.10.0:=
|
||||||
|
address-standardizer? ( dev-libs/libpcre )
|
||||||
|
gtk? ( x11-libs/gtk+:2 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? (
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
dev-libs/libxslt
|
||||||
|
virtual/imagemagick-tools[png]
|
||||||
|
)
|
||||||
|
test? ( dev-util/cunit )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.2.0-arflags.patch"
|
||||||
|
"${FILESDIR}/${P}-avoid-calling-ar-directly.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
source "${S}"/Version.config
|
||||||
|
PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# These modules are built using the same *FLAGS that were used to build
|
||||||
|
# dev-db/postgresql. The right thing to do is to ignore the current
|
||||||
|
# *FLAGS settings.
|
||||||
|
QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
|
||||||
|
|
||||||
|
local AT_M4DIR="macros"
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
postgres-multi_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_with address-standardizer)
|
||||||
|
$(use_with gtk gui)
|
||||||
|
$(use_with topology)
|
||||||
|
)
|
||||||
|
postgres-multi_foreach econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
postgres-multi_foreach emake
|
||||||
|
postgres-multi_foreach emake -C topology
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
postgres-multi_foreach emake comments
|
||||||
|
postgres-multi_foreach emake cheatsheets
|
||||||
|
postgres-multi_forbest emake -C doc html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
postgres-multi_foreach emake DESTDIR="${D}" install
|
||||||
|
postgres-multi_foreach emake -C topology DESTDIR="${D}" install
|
||||||
|
postgres-multi_forbest dobin ./utils/postgis_restore.pl
|
||||||
|
|
||||||
|
dodoc CREDITS TODO loader/README.* doc/*txt
|
||||||
|
|
||||||
|
docinto topology
|
||||||
|
dodoc topology/{TODO,README}
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
postgres-multi_foreach emake DESTDIR="${D}" comments-install
|
||||||
|
|
||||||
|
docinto html
|
||||||
|
postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
|
||||||
|
|
||||||
|
docinto html/images
|
||||||
|
postgres-multi_forbest dodoc doc/html/images/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
use static-libs || find "${ED}" -name '*.a' -delete
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ebegin "Refreshing PostgreSQL symlinks"
|
||||||
|
postgresql-config update
|
||||||
|
eend $?
|
||||||
|
|
||||||
|
local base_uri="https://postgis.net/docs/manual-"
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
base_uri+="dev"
|
||||||
|
else
|
||||||
|
base_uri+="${PGIS}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "To finish installing PostGIS, follow the directions detailed at:"
|
||||||
|
elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
|
||||||
|
}
|
@ -0,0 +1,140 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
POSTGRES_COMPAT=( 9.6 {10..13} )
|
||||||
|
POSTGRES_USEDEP="server"
|
||||||
|
inherit autotools postgres-multi toolchain-funcs
|
||||||
|
|
||||||
|
MY_P="${PN}-$(ver_rs 3 '')"
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
|
||||||
|
else
|
||||||
|
PGIS="$(ver_cut 1-2)"
|
||||||
|
SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Geographic Objects for PostgreSQL"
|
||||||
|
HOMEPAGE="https://postgis.net"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="address-standardizer doc gtk static-libs topology"
|
||||||
|
|
||||||
|
REQUIRED_USE="${POSTGRES_REQ_USE}"
|
||||||
|
|
||||||
|
# Needs a running psql instance, doesn't work out of the box
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="${POSTGRES_DEP}
|
||||||
|
dev-libs/json-c:=
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
dev-libs/protobuf-c:=
|
||||||
|
>=sci-libs/geos-3.9.0
|
||||||
|
>=sci-libs/proj-4.9.0:=
|
||||||
|
>=sci-libs/gdal-1.10.0:=
|
||||||
|
address-standardizer? ( dev-libs/libpcre )
|
||||||
|
gtk? ( x11-libs/gtk+:2 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? (
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
dev-libs/libxslt
|
||||||
|
virtual/imagemagick-tools[png]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.2.0-arflags.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
source "${S}"/Version.config
|
||||||
|
PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# These modules are built using the same *FLAGS that were used to build
|
||||||
|
# dev-db/postgresql. The right thing to do is to ignore the current
|
||||||
|
# *FLAGS settings.
|
||||||
|
QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
|
||||||
|
|
||||||
|
local AT_M4DIR="macros"
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
postgres-multi_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export CPP=$(tc-getCPP)
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_with address-standardizer)
|
||||||
|
$(use_with gtk gui)
|
||||||
|
$(use_with topology)
|
||||||
|
)
|
||||||
|
postgres-multi_foreach econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
postgres-multi_foreach emake
|
||||||
|
postgres-multi_foreach emake -C topology
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
postgres-multi_foreach emake comments
|
||||||
|
postgres-multi_foreach emake cheatsheets
|
||||||
|
postgres-multi_forbest emake -C doc html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
postgres-multi_foreach emake DESTDIR="${D}" install
|
||||||
|
postgres-multi_foreach emake -C topology DESTDIR="${D}" install
|
||||||
|
postgres-multi_forbest dobin ./utils/postgis_restore.pl
|
||||||
|
|
||||||
|
dodoc CREDITS TODO loader/README.* doc/*txt
|
||||||
|
|
||||||
|
docinto topology
|
||||||
|
dodoc topology/{TODO,README}
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
postgres-multi_foreach emake DESTDIR="${D}" comments-install
|
||||||
|
|
||||||
|
docinto html
|
||||||
|
postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
|
||||||
|
|
||||||
|
docinto html/images
|
||||||
|
postgres-multi_forbest dodoc doc/html/images/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
use static-libs || find "${ED}" -name '*.a' -delete
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ebegin "Refreshing PostgreSQL symlinks"
|
||||||
|
postgresql-config update
|
||||||
|
eend $?
|
||||||
|
|
||||||
|
local base_uri="https://postgis.net/docs/manual-"
|
||||||
|
if [[ ${PV} = *9999* ]] ; then
|
||||||
|
base_uri+="dev"
|
||||||
|
else
|
||||||
|
base_uri+="${PGIS}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "To finish installing PostGIS, follow the directions detailed at:"
|
||||||
|
elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST pspg-3.1.2.tar.gz 1368987 BLAKE2B 7eff4134ee97db4df4dfada08ede5e88ea0c37a681c95ba9529f30be98f05cb3a7805e5dcb165b34f5afc2d4d7ca6de0e705334967ade0fdb813636c73df658d SHA512 1446200bdfe88787083da32629acaedab6eaee68b3dccbff3f52c82165029cb0f558790951d5103876c84562fcd6b5578042bca134f4ed37b9c5de96fdc5602f
|
|
||||||
DIST pspg-3.1.5.tar.gz 1380515 BLAKE2B b9539347d1977a178468127df5f92f8b7be835b7e6edc49720131173b71b22e01b614bcde55e354d32a2ecf1665dcebd27502110786b7595411b5ec782391f01 SHA512 287d4794aebc867bf3c344c3747f1d058c1b93710dd0d86de66ae1e0d97961f4e3d511bc0f7df98c309bffc962aaf50b758faab1f8c6f0eb3374450e53ecdccb
|
DIST pspg-3.1.5.tar.gz 1380515 BLAKE2B b9539347d1977a178468127df5f92f8b7be835b7e6edc49720131173b71b22e01b614bcde55e354d32a2ecf1665dcebd27502110786b7595411b5ec782391f01 SHA512 287d4794aebc867bf3c344c3747f1d058c1b93710dd0d86de66ae1e0d97961f4e3d511bc0f7df98c309bffc962aaf50b758faab1f8c6f0eb3374450e53ecdccb
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="A better pager for psql and mysql"
|
|
||||||
HOMEPAGE="https://github.com/okbob/pspg"
|
|
||||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/ncurses:*
|
|
||||||
dev-db/postgresql:=
|
|
||||||
sys-libs/readline:="
|
|
||||||
RDEPEND="${DEPEND}"
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST javatoolkit-0.6.3.tar.bz2 26071 BLAKE2B 50adb0871e814ad1716fedec1e1429b1da69349ea502139bed75c175a89142e1f10abbecfb434875eda46e21c86ae49d273beeb5aaddd10a903ffe153a1adc4b SHA512 b4e57d26e30455587c7bc8273420c3300c1a776f3321d8ed36638f6aae41c13ba785b37650be5577908e24aa2bf4fa4e11d3157211dc64b6e3c814c4df3b7d6a
|
|
||||||
DIST javatoolkit-0.6.5.tar.bz2 24380 BLAKE2B 69442b45e32e63e9f4f8104570ae644d6dd5571b6b909fd751a7060abddfedf84cc147f342a40ade8c4e04764f1a8362d853fae91353171708d5daf68ef3f8e1 SHA512 8a9cf0f2b7951bfe9ab544b48eecf5857ae4bddf129a1a0b928a2b37df7960b082495c44f42954cffe885d48f850b070781593352f09221d1b35b9a94ba5b55b
|
DIST javatoolkit-0.6.5.tar.bz2 24380 BLAKE2B 69442b45e32e63e9f4f8104570ae644d6dd5571b6b909fd751a7060abddfedf84cc147f342a40ade8c4e04764f1a8362d853fae91353171708d5daf68ef3f8e1 SHA512 8a9cf0f2b7951bfe9ab544b48eecf5857ae4bddf129a1a0b928a2b37df7960b082495c44f42954cffe885d48f850b070781593352f09221d1b35b9a94ba5b55b
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
|
|
||||||
inherit distutils-r1 prefix
|
|
||||||
|
|
||||||
DESCRIPTION="Collection of Gentoo-specific tools for Java"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
|
|
||||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ppc64 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
hprefixify src/py/buildparser src/py/findclass setup.py
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
distutils-r1_python_install \
|
|
||||||
--install-scripts="${EPREFIX}"/usr/libexec/${PN}
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue