parent
ef023a9469
commit
939fe712c7
@ -1,2 +1 @@
|
||||
DIST calamares-3.1.1.tar.gz 4895018 SHA256 1644f28f0ee166411dafc849d1d1c9b5bf4f7346ebaf430ee3cf1a7d330a85aa SHA512 4c45f949075a46c6b1de14b322f7d124b4346b11c112b410a216359530d055d21ae8357609d2279614da5490f72f38aebf7844942a2e8a8c2a244cf31350720c WHIRLPOOL 8be229cdcbea88c396a98f42232b0dcb30df81895f927ef45c815be618f5d094f85e2b0fdda7cdf93d6a953d785a7c45bd3f0eae70d2e8775a0bccb8d0a19b3e
|
||||
DIST calamares-3.1.3.tar.gz 4944637 SHA256 9a43dbe465f64f3f286bd13d2eea6a6cb790a561cf477521ae7dc54d49298c17 SHA512 2a8e38234b60aaf8f82cf146e79c364055485a3a50f385d7ff6744df973a67de390223a8fa7e3b5ffb854f997cd0de7e93c1c912dd5739d56dca92528d9522c0 WHIRLPOOL 524ef6dc5528e83ecad4d98f8d7ebb4398f50d683c30c13c4b2aeba1797d3aa725158e80b3a3d25fd6d2071a579882231b78f56f9f2bb1fdf46a3cbb88d10713
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5} )
|
||||
inherit kde5 python-r1
|
||||
|
||||
DESCRIPTION="Distribution-independent installer framework"
|
||||
HOMEPAGE="https://calamares.io"
|
||||
if [[ ${KDE_BUILD_TYPE} == live ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
IUSE="+networkmanager pythonqt +upower"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwebengine 'widgets')
|
||||
$(add_qt_dep qtwidgets)
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
>=dev-libs/boost-1.55:=[${PYTHON_USEDEP}]
|
||||
sys-apps/dbus
|
||||
sys-apps/dmidecode
|
||||
sys-auth/polkit-qt[qt5(+)]
|
||||
>=sys-libs/kpmcore-3.0.3:5=
|
||||
pythonqt? ( >=dev-python/PythonQt-3.1:=[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
app-admin/sudo
|
||||
dev-libs/libatasmart
|
||||
net-misc/rsync
|
||||
>=sys-block/parted-3.0
|
||||
|| ( sys-boot/grub:2 sys-boot/systemd-boot )
|
||||
sys-boot/os-prober
|
||||
sys-fs/squashfs-tools
|
||||
virtual/udev
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
upower? ( sys-power/upower )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
python_setup
|
||||
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
|
||||
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
|
||||
PYTHON_CFLAGS="$(python_get_CFLAGS)"\
|
||||
PYTHON_LIBS="$(python_get_LIBS)"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWEBVIEW_FORCE_WEBKIT=OFF
|
||||
-DWITH_PYTHONQT=$(usex pythonqt)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' "${S}"/calamares.desktop
|
||||
sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' "${S}"/calamares.desktop
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde5_src_install
|
||||
dobin "${FILESDIR}"/calamares-pkexec
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST yubikey-manager-0.3.3.tar.gz 51223 SHA256 5447c026739d33455ac8ae13ccaef2df231a28dda75ffbd62c91a7c5ce5d30b5 SHA512 ced7acb848747399d4b9f0214044dd40c38b332c2f8557485d61f2f0cb857a9f47d12df59ea6a7bded1076b5d539bc171d1dbc9fd8899699c0cb3cb65b0800d7 WHIRLPOOL f68c896cb10b72271a6f42e34baf3671bfcd9ccd69c688db5fd06fd6672d1cbd12271ccc563f400d922eaf842bd7e5d73af9cac0f725927f7efe4ac520d3790b
|
||||
DIST yubikey-manager-0.4.2.tar.gz 55173 SHA256 dc2150bc84934a1d1e2423dc0d085be330c7aa41e42575cb0ead6f8bcefd6b3a SHA512 8b264997c25fe5abf5a76ead27194e88882edace8d2a10210e18a89262b6a34c72c313e2b7e382243b8ade0f4ce61967310ae603d784d38bfdaab76f5113daf5 WHIRLPOOL 140d4196304c6740b9682b01264aea83e43c60b6430f7f71ee073d7e481d36d05fa70e70ffd64b6ba93eb27fb57577fa739108fb03f4fc8170fb933338c4128a
|
||||
DIST yubikey-manager-0.4.4.tar.gz 55251 SHA256 65839d29205427b8e4ae0c358684a5880eb5a52caff50943a6ca9fdaa4f782fb SHA512 bb61aebffa33507f3c2e6c37acb088c134db543dd19bd67995b98b78fdb0be2a5edfc0de7ad8681821699bb74aa0417a1dd971cdc2cf3e765290da51e33f37f0 WHIRLPOOL 9e70c755ae1c753fb2b14ccb05a82e54139dd01940e3fd7ce6060de9f163902d4af1356e91ff4709e405db009b4e44dbae3c71d549cf5fb28e2b16b9e515ecf8
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST with-editor-2.5.10.tar.gz 28081 SHA256 c7a849ed827e830f0092695d6b99dce9fad5e1a87e6f0cf1fe7379f860505d53 SHA512 797c7d905eeb4d7398dfba10e4a9b7e7729098a87e48dd75c14fd80f1dd9c5a9693033367a0a9788c4b6c6cc3aa8d2a6ef66ac8bddd24457a61c830887e66a59 WHIRLPOOL bc57ec45d64f4c587fbba2bd847b27ad41ec79dca5745ddd1034005d5c4d48546692bc9dabe723e453ab807a7bc070598701761d7d65fde6d4f2357364376fe5
|
||||
DIST with-editor-2.5.8.tar.gz 27978 SHA256 56b2216fb316af5c7673589405a0a7e545a2414a9991374ad95ef15f2a68f0b5 SHA512 abd42a096e3318cc25576b240df1ed670de327afabe675d3df12780c392779f33b88e7a76d125f31cf37e3b22eda88391329c73d21ccc834e611893e759ea3e0 WHIRLPOOL 3b6c47ab250a892d31a7108d668ab14729ab8b37662f20c89450193613d3f5824df54720d3a23cd4b3c1afdf9b02ab462feb29528335d602b999daec161554d5
|
||||
DIST with-editor-2.6.0.tar.gz 28124 SHA256 8f26a619d745f0a47281fd389c6f947733752472eec26a2b1d5e7f641063ea04 SHA512 454af6222f54b6695aedb085b6f9a4e60d4ebd9dd6047d67cba13087d3966670aa63358dff45633f3492152f6a15c4c1e92efbaaa787867fef9edcf8b14f690c WHIRLPOOL d6c119d48ede86eb2eefc284d41691d277fea46fbb8292f76f36bba969c4372998658d5cc681115ad03322d33f940d828d5ccc3732e84a3bf3e765c54bd0a78e
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Use the Emacsclient as the \$EDITOR of child processes"
|
||||
HOMEPAGE="https://magit.vc/manual/with-editor"
|
||||
SRC_URI="https://github.com/magit/with-editor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
ELISP_TEXINFO="*.texi"
|
||||
DOCS="README.md with-editor.org"
|
||||
|
||||
DEPEND=""
|
||||
# Versions of magit before 2.5.0 bundled with-editor
|
||||
RDEPEND="!!<app-emacs/magit-2.5.0 ${DEPEND}"
|
||||
DEPEND="${DEPEND} sys-apps/texinfo"
|
@ -1 +1,2 @@
|
||||
DIST spice-0.13.3.tar.bz2 1322505 SHA256 30f710c0e7594e05b6b9cc702be748a69f910a95192ab851d748c256157fb89e SHA512 63496fbd3df0fd453052cef8e1fb00a3a28f0105610676fdc4a58043cbc6da571ae4407701af2b817e410d05ce727d60d5ee0c93c8897231e25229897c51d95a WHIRLPOOL 16bb08301d66c1f21f612f5be87ba1ffef7132f3c18ac3ab7feec21e16de61461648311d04f6990254d4c47ee7a6d39f4c33f122e941e5a3fc0c2ed289dd928b
|
||||
DIST spice-0.13.90.tar.bz2 1364173 SHA256 c6293cac25e97001e00538bb368658cd6aba1e7e3fd5e1bfa8c8f237e99bca17 SHA512 a5a6ab328a2d3cb405ead6eef40a1b896432f35accf1f8b015fc9deadcc4e5eb5f6d8d575a94fa3b2505e206986887badecf721ab015efd88dad174d7340c01c WHIRLPOOL d7d799b33be605d5907d88c37d7566b98e28fc687c22409fd39729cc1cbda9906d600b2379f695d923d01048242eb6b239ecd774d3d2a9fd69c4b7eb0916b815
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit autotools ltprune python-any-r1 readme.gentoo-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="SPICE server"
|
||||
HOMEPAGE="https://www.spice-space.org/"
|
||||
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="libressl lz4 sasl smartcard static-libs gstreamer"
|
||||
|
||||
# the libspice-server only uses the headers of libcacard
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.22:2[static-libs(+)?]
|
||||
>=media-libs/celt-0.5.1.1:0.5.1[static-libs(+)?]
|
||||
media-libs/opus[static-libs(+)?]
|
||||
sys-libs/zlib[static-libs(+)?]
|
||||
virtual/jpeg:0=[static-libs(+)?]
|
||||
>=x11-libs/pixman-0.17.7[static-libs(+)?]
|
||||
!libressl? ( dev-libs/openssl:0=[static-libs(+)?] )
|
||||
libressl? ( dev-libs/libressl:0=[static-libs(+)?] )
|
||||
lz4? ( app-arch/lz4:0=[static-libs(+)?] )
|
||||
smartcard? ( >=app-emulation/libcacard-0.1.2 )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=app-emulation/spice-protocol-0.12.12
|
||||
virtual/pkgconfig
|
||||
$(python_gen_any_dep '
|
||||
>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
smartcard? ( app-emulation/qemu[smartcard] )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
|
||||
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Prevent sandbox violations, bug #586560
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
|
||||
addpredict /dev
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
local myconf="
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable lz4)
|
||||
$(use_with sasl)
|
||||
$(use_enable smartcard)
|
||||
--enable-gstreamer=$(usex gstreamer "1.0" "no")
|
||||
--enable-celt051
|
||||
--disable-gui
|
||||
"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Prevent sandbox violations, bug #586560
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
|
||||
addpredict /dev
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || prune_libtool_files
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [ "${PV}" == 9999 ]
|
||||
then
|
||||
inherit git-r3
|
||||
# github mirror has some new commits to fix page margins settings
|
||||
# sourceforge mirror saved as backup
|
||||
#EGIT_REPO_URI="git://git.code.sf.net/p/crengine/crengine"
|
||||
EGIT_REPO_URI="https://github.com/buggins/coolreader.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
# git tag cr3.1.2-71
|
||||
SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="CoolReader - reader of eBook files (fb2,epub,htm,rtf,txt)"
|
||||
HOMEPAGE="https://sourceforge.net/projects/crengine/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt4 qt5 wxwidgets corefonts liberation-fonts"
|
||||
REQUIRED_USE="^^ ( qt4 qt5 wxwidgets )
|
||||
wxwidgets? (
|
||||
|| ( corefonts liberation-fonts ) )"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
media-libs/libpng:0
|
||||
virtual/jpeg:0
|
||||
media-libs/freetype
|
||||
wxwidgets? (
|
||||
|| ( x11-libs/wxGTK:3.0 x11-libs/wxGTK:2.8 ) )
|
||||
qt4? ( dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4 )
|
||||
qt5? ( dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5 )"
|
||||
RDEPEND="${DEPEND}
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
liberation-fonts? ( media-fonts/liberation-fonts )"
|
||||
|
||||
# 1st patch: To save cr3.ini to ~homedir.
|
||||
# 2nd patch: To build QT5 and WX GUI version of coolreader3;
|
||||
# setting correct vesrion number and years of cr3qt/cr3wx;
|
||||
# internal switching between wxGTK 2.8 or 3.0 version;
|
||||
# show wxWidgets version in "About" dialog window;
|
||||
# disabling "iCCP: known incorrect sRGB profile" warning popup window for wxwidgets GUI
|
||||
|
||||
PATCHES=( "${FILESDIR}/cr3ini.diff" "${FILESDIR}/cr3.1.2.71-r1_qt5_wx.diff" )
|
||||
|
||||
src_configure() {
|
||||
CMAKE_USE_DIR="${S}"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
if use qt4; then
|
||||
local mycmakeargs=(-D GUI=QT)
|
||||
elif use qt5; then
|
||||
local mycmakeargs=(-D GUI=QT5)
|
||||
elif use wxwidgets; then
|
||||
. "${ROOT}/var/lib/wxwidgets/current"
|
||||
if [[ "${WXCONFIG}" -eq "none" ]]; then
|
||||
die "The wxGTK profile should be selected!"
|
||||
fi
|
||||
local mycmakeargs=(-D GUI=WX)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [ "${PV}" == 9999 ]
|
||||
then
|
||||
inherit git
|
||||
EGIT_REPO_URI="git://crengine.git.sourceforge.net/gitroot/crengine/crengine"
|
||||
SRC_URI=""
|
||||
else
|
||||
# git tag cr3.1.2-71
|
||||
SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="CoolReader - reader of eBook files (fb2,epub,htm,rtf,txt)"
|
||||
HOMEPAGE="https://sourceforge.net/projects/crengine/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt4 qt5 wxwidgets corefonts"
|
||||
REQUIRED_USE="^^ ( qt4 qt5 wxwidgets )
|
||||
wxwidgets? ( corefonts )"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
media-libs/libpng:0
|
||||
virtual/jpeg:0
|
||||
media-libs/freetype
|
||||
wxwidgets? (
|
||||
|| ( x11-libs/wxGTK:3.0 x11-libs/wxGTK:2.8 ) )
|
||||
qt4? ( dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4 )
|
||||
qt5? ( dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5 )"
|
||||
RDEPEND="${DEPEND}
|
||||
corefonts? ( media-fonts/corefonts )"
|
||||
|
||||
src_prepare() {
|
||||
# setting patch to save cr3.ini to ~homedir
|
||||
epatch "${FILESDIR}/cr3ini.diff"
|
||||
# patch to build QT5 and WX GUI version of coolreader3
|
||||
# and setting correct vesrion number and years of cr3qt/cr3wx
|
||||
epatch "${FILESDIR}/cr3.1.2.71-r1_qt5_wx.diff"
|
||||
if [ $(eselect wxwidgets list | grep '*' | cut -d ' ' -f 6) == "gtk2-unicode-3.0" ]; then
|
||||
# patch if wxGTK3.0 (not wxGTK2.8) is active eselect profile
|
||||
epatch "${FILESDIR}/cr3.1.2.71_wxGTK3.diff"
|
||||
fi
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_USE_DIR="${S}"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
if use qt4; then
|
||||
local mycmakeargs=(-D GUI=QT)
|
||||
elif use qt5; then
|
||||
local mycmakeargs=(-D GUI=QT5)
|
||||
elif use wxwidgets; then
|
||||
. "${ROOT}/var/lib/wxwidgets/current"
|
||||
if [[ "${WXCONFIG}" -eq "none" ]]; then
|
||||
die "The wxGTK profile should be selected!"
|
||||
fi
|
||||
local mycmakeargs=(-D GUI=WX)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dosym ../fonts/corefonts /usr/share/crengine/fonts
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use wxwidgets; then
|
||||
elog ""
|
||||
elog "KNOWN ISSUE TO FIX:"
|
||||
elog "With wxwidgets gui you can see a warning message \"iCCP: known incorrect sRGB profile\""
|
||||
elog "that appears if \"Toolbar size\" is setting to \"Medium buttons\" in Options."
|
||||
elog "To avoid appearing of this warning popup window you can change \"Toolbar size\" or set it to \"Hide Toolbar\"."
|
||||
elog ""
|
||||
fi
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Patch to build CoolReader3 with active wxGTK-3.0 profile
|
||||
# (eselect wxwidgets is set to "gtk2-unicode-3.0" instead of "gtk2-inicode-release-2.8")
|
||||
diff -Naur old/cr3wx/src/cr3.cpp new/cr3wx/src/cr3.cpp
|
||||
--- old/cr3wx/src/cr3.cpp 2015-07-13 11:23:37.000000000 +0300
|
||||
+++ new/cr3wx/src/cr3.cpp 2017-08-28 12:54:13.000000000 +0300
|
||||
@@ -395,7 +395,7 @@
|
||||
|
||||
lString16 GetConfigFileName()
|
||||
{
|
||||
- lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().c_str() );
|
||||
+ lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().wx_str() );
|
||||
if ( !wxDirExists( cfgdir.c_str() ) )
|
||||
::wxMkdir( wxString( cfgdir.c_str() ) );
|
||||
lChar16 slash = detectSlash( cfgdir );
|
||||
@@ -622,7 +622,7 @@
|
||||
wxImage::AddHandler(new wxPNGHandler);
|
||||
resources = new ResourceContainer();
|
||||
|
||||
- lString16 appname( argv[0] );
|
||||
+ lString16 appname( argv[0].wx_str() );
|
||||
int lastSlash=-1;
|
||||
lChar16 slashChar = '/';
|
||||
for ( int p=0; p<(int)appname.length(); p++ ) {
|
||||
@@ -777,7 +777,7 @@
|
||||
int argc = wxGetApp().argc;
|
||||
lString16 fnameToOpen;
|
||||
for ( int i=1; i<argc; i++ ) {
|
||||
- lString16 param = lString16( wxGetApp().argv[1] );
|
||||
+ lString16 param = lString16( wxGetApp().argv[1].wx_str() );
|
||||
if ( param[0]!='-' )
|
||||
fnameToOpen = param;
|
||||
}
|
||||
@@ -1193,7 +1193,7 @@
|
||||
lString16 outFile;
|
||||
bool convert = false;
|
||||
for ( int i=1; i<argc; i++ ) {
|
||||
- lString16 param = lString16( wxGetApp().argv[i] );
|
||||
+ lString16 param = lString16( wxGetApp().argv[i].wx_str() );
|
||||
if ( param[0]!='-' )
|
||||
fnameToOpen = param;
|
||||
else if (param.startsWith("--convert"))
|
||||
@@ -1470,7 +1470,7 @@
|
||||
wxCursor hg( wxCURSOR_WAIT );
|
||||
this->SetCursor( hg );
|
||||
wxSetCursor( hg );
|
||||
- _view->getDocView()->exportWolFile( dlg.GetPath(), opts.getMode()==0, opts.getLevels() );
|
||||
+ _view->getDocView()->exportWolFile( dlg.GetPath().wx_str(), opts.getMode()==0, opts.getLevels() );
|
||||
wxSetCursor( wxNullCursor );
|
||||
this->SetCursor( wxNullCursor );
|
||||
}
|
||||
diff -Naur old/cr3wx/src/optdlg.cpp new/cr3wx/src/optdlg.cpp
|
||||
--- old/cr3wx/src/optdlg.cpp 2015-07-13 11:23:37.000000000 +0300
|
||||
+++ new/cr3wx/src/optdlg.cpp 2017-08-28 11:38:06.000000000 +0300
|
||||
@@ -41,7 +41,7 @@
|
||||
if ( v==_choices[i] )
|
||||
tb = i;
|
||||
if ( _storeStringValues ) {
|
||||
- props->setString( _option, lString16(_choices[tb]) );
|
||||
+ props->setString( _option, lString16(_choices[tb].wx_str()) );
|
||||
} else {
|
||||
props->setInt( _option, tb );
|
||||
}
|
||||
@@ -50,7 +50,7 @@
|
||||
{
|
||||
unsigned tb = _defvalue;
|
||||
if ( _storeStringValues ) {
|
||||
- lString8 s8 = UnicodeToUtf8( lString16(_choices[_defvalue]) );
|
||||
+ lString8 s8 = UnicodeToUtf8( lString16(_choices[_defvalue].wx_str()) );
|
||||
lString16 s16 = props->getStringDef( _option, s8.c_str() );
|
||||
wxString v = s16.c_str();
|
||||
for ( unsigned i=0; i<_choices.GetCount(); i++ )
|
||||
diff -Naur old/cr3wx/src/view.cpp new/cr3wx/src/view.cpp
|
||||
--- old/cr3wx/src/view.cpp 2015-07-13 11:23:37.000000000 +0300
|
||||
+++ new/cr3wx/src/view.cpp 2017-08-28 12:57:55.000000000 +0300
|
||||
@@ -353,7 +353,7 @@
|
||||
|
||||
lString16 cr3view::GetHistoryFileName()
|
||||
{
|
||||
- lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().c_str() );
|
||||
+ lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().wx_str() );
|
||||
if ( !wxDirExists( cfgdir.c_str() ) )
|
||||
::wxMkdir( wxString( cfgdir.c_str() ) );
|
||||
lChar16 slash = detectSlash( cfgdir );
|
||||
@@ -667,13 +667,13 @@
|
||||
//===========================================
|
||||
GetParent()->Update();
|
||||
//printf(" loading... ");
|
||||
- bool res = getDocView()->LoadDocument( fname.c_str() );
|
||||
+ bool res = getDocView()->LoadDocument( fname.wx_str() );
|
||||
//printf(" done. \n");
|
||||
//DEBUG
|
||||
//_docview->exportWolFile( "test.wol", true );
|
||||
//_docview->SetPos(0);
|
||||
if ( !res )
|
||||
- getDocView()->createDefaultDocument(lString16("File open error"), lString16("Cannot open file ") + fname.c_str() );
|
||||
+ getDocView()->createDefaultDocument(lString16("File open error"), lString16("Cannot open file ") + fname.wx_str() );
|
||||
lString16 title = getDocView()->getAuthors();
|
||||
if ( !title.empty() && !getDocView()->getTitle().empty() )
|
||||
title << L". ";
|
@ -0,0 +1,162 @@
|
||||
Use regex from C++11 instead of boost/tr1's version (the latter is gone as of boost 1.65).
|
||||
Patch: https://svnweb.freebsd.org/ports/head/devel/libcutl/files/patch-cutl_re_re.cxx?view=markup&pathrev=445764
|
||||
Bug: https://bugs.gentoo.org/show_bug.cgi?id=630016
|
||||
|
||||
--- a/cutl/re/re.cxx
|
||||
+++ b/cutl/re/re.cxx
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef LIBCUTL_EXTERNAL_BOOST
|
||||
# include <cutl/details/boost/tr1/regex.hpp>
|
||||
#else
|
||||
-# include <boost/tr1/regex.hpp>
|
||||
+# include <regex>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
@@ -40,17 +40,17 @@
|
||||
struct basic_regex<C>::impl
|
||||
{
|
||||
typedef basic_string<C> string_type;
|
||||
- typedef tr1::basic_regex<C> regex_type;
|
||||
+ typedef std::basic_regex<C> regex_type;
|
||||
typedef typename regex_type::flag_type flag_type;
|
||||
|
||||
impl () {}
|
||||
impl (regex_type const& r): r (r) {}
|
||||
impl (string_type const& s, bool icase)
|
||||
{
|
||||
- flag_type f (tr1::regex_constants::ECMAScript);
|
||||
+ flag_type f (std::regex_constants::ECMAScript);
|
||||
|
||||
if (icase)
|
||||
- f |= tr1::regex_constants::icase;
|
||||
+ f |= std::regex_constants::icase;
|
||||
|
||||
r.assign (s, f);
|
||||
}
|
||||
@@ -118,15 +118,15 @@
|
||||
impl_ = s == 0 ? new impl : new impl (*s, icase);
|
||||
else
|
||||
{
|
||||
- impl::flag_type f (tr1::regex_constants::ECMAScript);
|
||||
+ impl::flag_type f (std::regex_constants::ECMAScript);
|
||||
|
||||
if (icase)
|
||||
- f |= tr1::regex_constants::icase;
|
||||
+ f |= std::regex_constants::icase;
|
||||
|
||||
impl_->r.assign (*s, f);
|
||||
}
|
||||
}
|
||||
- catch (tr1::regex_error const& e)
|
||||
+ catch (std::regex_error const& e)
|
||||
{
|
||||
throw basic_format<char> (s == 0 ? "" : *s, e.what ());
|
||||
}
|
||||
@@ -146,15 +146,15 @@
|
||||
impl_ = s == 0 ? new impl : new impl (*s, icase);
|
||||
else
|
||||
{
|
||||
- impl::flag_type f (tr1::regex_constants::ECMAScript);
|
||||
+ impl::flag_type f (std::regex_constants::ECMAScript);
|
||||
|
||||
if (icase)
|
||||
- f |= tr1::regex_constants::icase;
|
||||
+ f |= std::regex_constants::icase;
|
||||
|
||||
impl_->r.assign (*s, f);
|
||||
}
|
||||
}
|
||||
- catch (tr1::regex_error const& e)
|
||||
+ catch (std::regex_error const& e)
|
||||
{
|
||||
throw basic_format<wchar_t> (s == 0 ? L"" : *s, e.what ());
|
||||
}
|
||||
@@ -166,28 +166,28 @@
|
||||
bool basic_regex<char>::
|
||||
match (string_type const& s) const
|
||||
{
|
||||
- return tr1::regex_match (s, impl_->r);
|
||||
+ return std::regex_match (s, impl_->r);
|
||||
}
|
||||
|
||||
template <>
|
||||
bool basic_regex<wchar_t>::
|
||||
match (string_type const& s) const
|
||||
{
|
||||
- return tr1::regex_match (s, impl_->r);
|
||||
+ return std::regex_match (s, impl_->r);
|
||||
}
|
||||
|
||||
template <>
|
||||
bool basic_regex<char>::
|
||||
search (string_type const& s) const
|
||||
{
|
||||
- return tr1::regex_search (s, impl_->r);
|
||||
+ return std::regex_search (s, impl_->r);
|
||||
}
|
||||
|
||||
template <>
|
||||
bool basic_regex<wchar_t>::
|
||||
search (string_type const& s) const
|
||||
{
|
||||
- return tr1::regex_search (s, impl_->r);
|
||||
+ return std::regex_search (s, impl_->r);
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -196,13 +196,13 @@
|
||||
string_type const& sub,
|
||||
bool first_only) const
|
||||
{
|
||||
- tr1::regex_constants::match_flag_type f (
|
||||
- tr1::regex_constants::format_default);
|
||||
+ std::regex_constants::match_flag_type f (
|
||||
+ std::regex_constants::format_default);
|
||||
|
||||
if (first_only)
|
||||
- f |= tr1::regex_constants::format_first_only;
|
||||
+ f |= std::regex_constants::format_first_only;
|
||||
|
||||
- return tr1::regex_replace (s, impl_->r, sub, f);
|
||||
+ return std::regex_replace (s, impl_->r, sub, f);
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -211,13 +211,13 @@
|
||||
string_type const& sub,
|
||||
bool first_only) const
|
||||
{
|
||||
- tr1::regex_constants::match_flag_type f (
|
||||
- tr1::regex_constants::format_default);
|
||||
+ std::regex_constants::match_flag_type f (
|
||||
+ std::regex_constants::format_default);
|
||||
|
||||
if (first_only)
|
||||
- f |= tr1::regex_constants::format_first_only;
|
||||
+ f |= std::regex_constants::format_first_only;
|
||||
|
||||
- return tr1::regex_replace (s, impl_->r, sub, f);
|
||||
+ return std::regex_replace (s, impl_->r, sub, f);
|
||||
}
|
||||
}
|
||||
}
|
||||
--- a/m4/libboost.m4
|
||||
+++ b/m4/libboost.m4
|
||||
@@ -129,13 +129,13 @@
|
||||
AC_DEFUN([LIBBOOST_REGEX], [
|
||||
LIBBOOST_LIB([regex],[
|
||||
AC_LANG_SOURCE([
|
||||
-#include <boost/tr1/regex.hpp>
|
||||
+#include <regex>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
- std::tr1::regex r ("te.t", std::tr1::regex_constants::ECMAScript);
|
||||
- return std::tr1::regex_match ("test", r) ? 0 : 1;
|
||||
+ std::regex r ("te.t", std::regex_constants::ECMAScript);
|
||||
+ return std::regex_match ("test", r) ? 0 : 1;
|
||||
}
|
||||
])],
|
||||
[$1],
|
@ -1 +1,2 @@
|
||||
DIST waylandpp-0.1.0.tar.gz 166427 SHA256 117df357cbd1f272737b6379e05925b38bad41bafda02761017530053fa950e7 SHA512 e0521ea99eeb7ae196ed9c8759e10d28406c5b99534b52ac51845cdd9c384ff820e4cc1fec65c537a0d071046746884793da122c72f6e75e7df4bca089d19eca WHIRLPOOL 1d589fbe1884dbd38547a0957b07533e3029cca7453618375227d87afa90fa36eded62283bf302139920860c90b250aeaca9b48e0f8098b0f9f8bbaffa889067
|
||||
DIST waylandpp-0.1.2.tar.gz 166624 SHA256 fabf0b512285abea77678d9e079009569e9eb3fd98c6b851d50bc5b6c781c7d8 SHA512 2304390be26134561fb69e208a6bafd0e9789e6b212ff2f46384c6ed50ae1c9eca3f06a3b4958c8e710cc1a0be61ed84c7ff292ec7011dbb0396cd2d83363f7f WHIRLPOOL 2633f41c0038c5f353ce7d9771c09d7a60ade11e9e7d0209180fb9f450437b37c3feebc955568335ce3371aae9b5083ab3425a8256157c5e7f94e0bd009ea3df
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit scons-utils toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Wayland C++ bindings"
|
||||
HOMEPAGE="https://github.com/NilsBrause/waylandpp"
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="doc"
|
||||
SLOT="0/$(get_major_version)"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/NilsBrause/waylandpp.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/wayland-1.11.0
|
||||
media-libs/mesa[wayland]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:\$\${prefix}/lib:$\${prefix}/$(get_libdir):" -e "s:os.path.join(root, prefix, \"lib\":os.path.join(root, prefix, \"$(get_libdir)\":g" SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons
|
||||
if use doc; then
|
||||
doxygen || die "error making docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons install
|
||||
# fix multilib-strict QA failures
|
||||
if use doc; then
|
||||
doman doc/man/man3/*.3
|
||||
local HTML_DOCS=( doc/html )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.3[server]
|
||||
dev-db/postgresql:9.2[server]
|
||||
dev-db/postgresql:9.1[server]
|
||||
dev-db/postgresql:9.0[server]
|
||||
)
|
||||
dev-db/postgresql[threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
# if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
# ewarn "This is neither supported here nor upstream."
|
||||
# ewarn "Any bugs you encounter should be reported upstream."
|
||||
# fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.3[server]
|
||||
dev-db/postgresql:9.2[server]
|
||||
dev-db/postgresql:9.1[server]
|
||||
dev-db/postgresql:9.0[server]
|
||||
)
|
||||
dev-db/postgresql[threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
# if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
# ewarn "This is neither supported here nor upstream."
|
||||
# ewarn "Any bugs you encounter should be reported upstream."
|
||||
# fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.3[server]
|
||||
dev-db/postgresql:9.2[server]
|
||||
dev-db/postgresql:9.1[server]
|
||||
dev-db/postgresql:9.0[server]
|
||||
)
|
||||
dev-db/postgresql[threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
# if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
# ewarn "This is neither supported here nor upstream."
|
||||
# ewarn "Any bugs you encounter should be reported upstream."
|
||||
# fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.4[server]
|
||||
dev-db/postgresql:9.3[server]
|
||||
dev-db/postgresql:9.2[server]
|
||||
dev-db/postgresql:9.1[server]
|
||||
dev-db/postgresql:9.0[server]
|
||||
)
|
||||
dev-db/postgresql[threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
# if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
# ewarn "This is neither supported here nor upstream."
|
||||
# ewarn "Any bugs you encounter should be reported upstream."
|
||||
# fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.4[server]
|
||||
dev-db/postgresql:9.3[server]
|
||||
dev-db/postgresql:9.2[server]
|
||||
dev-db/postgresql:9.1[server]
|
||||
dev-db/postgresql:9.0[server]
|
||||
)
|
||||
dev-db/postgresql[threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
# if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
# ewarn "This is neither supported here nor upstream."
|
||||
# ewarn "Any bugs you encounter should be reported upstream."
|
||||
# fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.6
|
||||
dev-db/postgresql:9.5
|
||||
dev-db/postgresql:9.4
|
||||
dev-db/postgresql:9.3
|
||||
dev-db/postgresql:9.2
|
||||
dev-db/postgresql:9.1
|
||||
)
|
||||
dev-db/postgresql[server,threads]
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 91 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 9.1 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 9.1 or higher."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use perl && myconf='--with-perltools'
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
POSTGRES_COMPAT=( 9.{2..6} 10 )
|
||||
POSTGRES_USEDEP="server,threads"
|
||||
|
||||
inherit eutils postgres-multi versionator
|
||||
|
||||
IUSE="doc perl"
|
||||
|
||||
DESCRIPTION="A replication system for the PostgreSQL Database Management System"
|
||||
HOMEPAGE="http://slony.info/"
|
||||
|
||||
# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
|
||||
MAJ_PV=$(get_version_component_range 1-2)
|
||||
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
|
||||
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
perl? ( dev-perl/DBD-Pg )
|
||||
"
|
||||
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
REQUIRE_USE="${POSTGRES_REQ_USE}"
|
||||
|
||||
src_configure() {
|
||||
local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
|
||||
use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
|
||||
postgres-multi_foreach econf ${myconf} \
|
||||
--with-pgconfigdir="${slot_bin_dir}" \
|
||||
--with-slonybindir="${slot_bin_dir}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
postgres-multi_foreach emake DESTDIR="${D}" install
|
||||
|
||||
dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/slony1.init slony1
|
||||
newconfd "${FILESDIR}"/slony1.conf slony1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Slony-I installs its executables into a directory that is
|
||||
# processed by the PostgreSQL eselect module. Call it here so that
|
||||
# the symlinks will be created.
|
||||
ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
|
||||
postgresql-config update
|
||||
eend $?
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST tomcat-native-1.2.10-src.tar.gz 391853 SHA256 553a796f1efb9d52a22a24636baca45ae265327f2a2d2f3169436b4012df9c35 SHA512 ab12525e031f4b0221634bde0b3af826c2231a8655032917bd09fe26075cc8b9bce7a7c5de369f525230155d50ec41ff84fb074c45ef9f34319f910e907d66a6 WHIRLPOOL f6786ec3f9d5a8f8c9fb2ec174b7da637016019453575efa2e093b77fe2bfbfae653d9ac0c1199dea6391754a8b64e8601a29ec54818f353b2e3471e9057d0d4
|
||||
DIST tomcat-native-1.2.12-src.tar.gz 399836 SHA256 e7add177c98a7f07220c306d65e182c45dbcd7501115e9ed56f1690c5472ded9 SHA512 87543ab353545563001ac339834ec5b230a139bbeb7382c0b5b269d0d00875bfc3f5a3212923ca941e0d31aa0f60c34f34310e89794a99f37aafdaf9ecca7a99 WHIRLPOOL 71c92d599f24008a137124270d0b7af8ab680754520fcc386feac51226feffda2f72f9097129f32e77ed75752ee941440603088e323f682abd86a2ad9cf67fb4
|
||||
DIST tomcat-native-1.2.14-src.tar.gz 404159 SHA256 a7f1649f7c384b2d4e6c4c96f20aea980efeba327dba874d4bc7c765b6229f5e SHA512 ddfc44f07dc4200f8ef20b5425355d2737a7510e41660002553c04e7451c48e4f54f4cfb462ed6bea1fad1ea60525a7ce3787af74e6a4b795f9dd1862b75c633 WHIRLPOOL 33b4d60a9895645b049d69c8b70105fd54ec48f1d0b14e96b1ade96973473842f4b447824d3e2b9985ec73235b72c94cf70e7a089620c3ed424cb4dc16a79db7
|
||||
DIST tomcat-native-1.2.4-src.tar.gz 387352 SHA256 29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171 SHA512 c080867510fb9006832172ee0b1997cee067c6e0275b3f9bdf94f69c14b9a02317352d9cadd8a41d366fb5f25c42f7f8af419e0b699aaa5eefee20db96559e97 WHIRLPOOL bf0acc6a78a79b51d3802fb1e1bfb0ec3e71993723a1be58c5ac14d6d24bab6e54fc9d505e4d5c0852ce335b6edc47c6b57f99055c875258fa0414a702e06fb2
|
||||
DIST tomcat-native-1.2.7-src.tar.gz 390573 SHA256 19e87bc6ea7f763bf9e6515f8c31d8e9bb3e0c1132b36769cdf32c6702723d25 SHA512 3d973d65969e52f0b7a8ea24736926e205b1e95bf80ed4a79bdfeeefb59b7494b3cb1618a0a24afcd026c946f9bf4d3d4b3800eecdf001cc50d814981edc2733 WHIRLPOOL 613cdc15c4ee7305303096fa099f553d065cc898696c09b060bc1d57522ac9c445a34ebe9883e240f9a7ab9ed77b1cb3cd492a723281bcbda2f60e0b399e2a64
|
||||
DIST tomcat-native-1.2.8-src.tar.gz 391842 SHA256 408ece0b027c8967b3aa85533c5fca642827e235b1857d28df918a4eab861d30 SHA512 4e9fde4a9fbec73813eb8a42d3ee1728b6ba64f04a007d15f89dfa7e7380af95586f843091d7691e84b84062824b3ce7a0a6c3402dfe31de352d8884652b7b83 WHIRLPOOL 6165552f88b5dab32f0046252989f5ae603b5195744d03b9348cad047af178a20766ccf1062701dafe844b65eaefadac914666e5d30104ef65c6657a3fbdf94c
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Native APR library for Tomcat"
|
||||
|
||||
SLOT="0"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/apr:1
|
||||
dev-libs/openssl:=
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
src_configure(){
|
||||
cd native || die
|
||||
econf --with-apr=/usr/bin/apr-1-config \
|
||||
--with-ssl=/usr || die "Could not configure native sources"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar -f build.xml
|
||||
|
||||
cd native || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "dist/${P}.jar" "${PN}.jar"
|
||||
|
||||
cd native
|
||||
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " APR should be available with Tomcat, for more information"
|
||||
elog " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
|
||||
elog
|
||||
elog " Please report any bugs to https://bugs.gentoo.org/"
|
||||
elog
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue