parent
72d6a1f6d2
commit
88b206c357
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST wrk-3.1.2.tar.gz 902868 BLAKE2B 1b979a7b72c41d37ec63759c76770a74ca8cf618bf2e84b30556fa7db47b3cbe4957924a5ad90594580d4fed5194201d6205b04c660195466c6d6fb369604571 SHA512 399f33c2c008c21ac8fae1b561fe16ebcca324b5171340ffa706e84c256bf13a9983b5c18d258be6f87cb9fe8e38a434f9bfa7059395a01cb783f77faf952b15
|
||||
DIST wrk-4.0.2.tar.gz 6146798 BLAKE2B 62188872a370d4ef3a3ffcf6f0568ca1b003473a1333b51d2b79fc3ce793c39ba5958d95c877fc0382751e89b687c8ee7f20b376c9b2fe3826afc3161aa0ac8e SHA512 4279cf7136e2919779be3f61f462136a7a5288eac481104b844193682a8fc554581fd3942624d0be9317a3e82c82497927a124b9b4dbdf455e30d3f0cad1fdea
|
||||
DIST wrk-4.1.0.tar.gz 6478125 BLAKE2B d64c172819a32b874e5351ef1088a66af7eb76ae34421577f817f14797a5711665adb8074e90a80e511139a889d4c960dc91caa5855bbd67038229307ef93ed2 SHA512 2c8d05f8e40c3a6234bc1c2862157764532a39046860210fe512c260c2b940e1e3120b831d0721c936c7bca474574600cda1f4c949b53738199d98102e32cb1a
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A modern HTTP benchmarking tool"
|
||||
HOMEPAGE="https://github.com/wg/wrk"
|
||||
SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND=">=dev-lang/luajit-2.0.2
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake VER="${PV}" WITH_LUAJIT="${EPREFIX}"/usr WITH_OPENSSL="${EPREFIX}"/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc README.md NOTICE
|
||||
insinto /usr/share/${PN}
|
||||
doins -r scripts
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST browse-kill-ring-1.3.el.bz2 9225 BLAKE2B a1910653cfd188f17fc7fcad0ff4e042254ab585d5a50929c8b5effc4f55fd8383452fef7f394bed02715473095c1c819d27611789c3f716555a25406554ed05 SHA512 f77e41a932b4f28e2a31896424c6ad56d072145609254e3970733e2e4eca515cfe5cd86861f71ab37abfeaa0cc36939f4f50d97ef0ffcbe34e4806bad1819938
|
||||
DIST browse-kill-ring-1.3c.el.bz2 9757 BLAKE2B 3287de095f1909a7da702a12575c6ac0254c5dd4ea485007a96bcda0ac75fb9c9017a1f594b688387b7c005bb2dba2c689464730bb8ea9ff3f005a9cc02f4caa SHA512 a7244db55b08b7247047cb71aa024dd2ba8579bd1588a31d65120145228729a329dac87c268b4be14b79beded6ec4f3473542c26bfb3c5624557023369737644
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An improved interface to kill-ring"
|
||||
HOMEPAGE="http://www.emacswiki.org/emacs/BrowseKillRing
|
||||
https://github.com/todesschaf/browse-kill-ring"
|
||||
# taken from http://www.todesschaf.org/files/browse-kill-ring.el
|
||||
SRC_URI="mirror://gentoo/${P}.el.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,4 +1,3 @@
|
||||
DIST chess-2.0.4.tar.xz 364620 BLAKE2B cf02ff2734d675ac39b6b00869abe233a71af330fa60114d12092604d0173c6da5ad5c2e4cf3e2262c99cfc598abdbbe02a7df4eaadda7c628c8b9c48d8f8a8a SHA512 2c8155185878fec8b45ab84b7723f4af0f518fc81ab7534c36c09c96a9a30cb20da26c2a89320cc5a9f9d8991e4516da393e82658a7f15642929591d1b6a0e99
|
||||
DIST chess-2.0b6.tar.gz 383951 BLAKE2B 0bf5a15e5e00ee824158cb3372eceb0f4f05f713ebf1561ccc97d00146df876ea21ef4ec650c6c733ba092d1205f3803891cf6be6b59b1ef281e5a67a75e3f7d SHA512 90dbb79f60d8d8e475c497a3d0da431e54b5bfe06285d493551c1ac6457e80ad9e71ada640374e9a0c4e9d5ee578ab68b2e370a47b5f5ff7f035caac839091e2
|
||||
DIST emacs-chess-pieces-2.0.tar.bz2 297687 BLAKE2B b97f6bbfdb4573e7a59e50431ac4ce68d2acd698ed57a2a2b9dfc83c7afdadc3ca244e8a0d55fa29eebcf7234001062606c0d21c80675864804a27d47deb6b93 SHA512 e1ee59a338b68796fd60f8693f4ff8bf20ded535c516916cc8b1f4cf00ff696ca1eead844e2a6a9a1f2578a70370d7a67cbadb6ae454ae16b2ae93864e1b1f94
|
||||
DIST emacs-chess-sounds-2.0.tar.bz2 3390098 BLAKE2B 1babc804a4ef05d4da4cb56d0829e93dfef84e703b1c56dfcbd14f941357dee68e4dffaff13b30498037f907a62c79751f53be33582ecf5c1c266d8aea492fb1 SHA512 f07894dd7a6e43450405c0eee8d1d95a08925ca8ebd5ca7e584eca45369cb2aa8eecb754b351d1977f473b520288d3e3e9a8ebe73216d14e26345b44e498efb4
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A chess client and library for Emacs"
|
||||
HOMEPAGE="http://emacs-chess.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.gz
|
||||
mirror://gentoo/emacs-chess-sounds-${PV%%_*}.tar.bz2
|
||||
mirror://gentoo/emacs-chess-pieces-${PV%%_*}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( games-board/gnuchess
|
||||
games-board/crafty
|
||||
games-board/phalanx
|
||||
games-board/sjeng )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
|
||||
ELISP_PATCHES="${PV}-chess-pos-move-gentoo.patch
|
||||
${PV}-chess-common-handler-gentoo.patch
|
||||
${PV}-texinfo-5.patch"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
doinfo chess.info
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r "${WORKDIR}"/{sounds,pieces}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
--- chess-orig/chess-common.el 2007-12-14 21:54:58.000000000 +0100
|
||||
+++ chess/chess-common.el 2008-03-14 21:11:56.000000000 +0100
|
||||
@@ -41,10 +41,11 @@
|
||||
(chess-message 'starting-engine name)
|
||||
(unless (boundp path)
|
||||
(chess-error 'could-not-find-engine name path))
|
||||
- (setq proc (start-process (concat "chess-" name)
|
||||
- (current-buffer) (symbol-value path)))
|
||||
- (chess-message 'starting-engine-done name)
|
||||
- proc))
|
||||
+ (when (symbol-value path)
|
||||
+ (setq proc (start-process (concat "chess-" name)
|
||||
+ (current-buffer) (symbol-value path)))
|
||||
+ (chess-message 'starting-engine-done name)
|
||||
+ proc)))
|
||||
|
||||
((eq event 'ready)
|
||||
(chess-game-set-data game 'active t)
|
@ -1,12 +0,0 @@
|
||||
--- chess-orig/chess-pos.el 2004-02-18 18:53:26.000000000 +0100
|
||||
+++ chess/chess-pos.el 2007-09-24 11:04:39.000000000 +0200
|
||||
@@ -595,7 +595,8 @@
|
||||
trying to move a blank square."
|
||||
(assert (vectorp position))
|
||||
(assert (listp changes))
|
||||
- (assert (> (length changes) 0))
|
||||
+ ;; this fails for the start position in chess-opening
|
||||
+ ;;(assert (> (length changes) 0))
|
||||
|
||||
;; apply the piece movements listed in `changes'
|
||||
(let ((ch changes))
|
@ -1,14 +0,0 @@
|
||||
--- chess-orig/chess.texi
|
||||
+++ chess/chess.texi
|
||||
@@ -44,9 +44,9 @@
|
||||
@sp 4
|
||||
@c The title is printed in a large font.
|
||||
@center @titlefont{User's Guide}
|
||||
-@sp
|
||||
+@sp 1
|
||||
@center @titlefont{to}
|
||||
-@sp
|
||||
+@sp 1
|
||||
@center @titlefont{Emacs Chess: chess.el}
|
||||
@ignore
|
||||
@sp 2
|
@ -1,33 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
|
||||
(autoload 'chess "chess"
|
||||
"Start a game of chess, playing against ENGINE (a module name)." t)
|
||||
(defalias 'chess-session 'chess)
|
||||
(autoload 'chess-create-display "chess"
|
||||
"Create a display, letting the user's customization decide the style.")
|
||||
(autoload 'chess-link "chess-link"
|
||||
"Play out a game between two engines, and watch the progress." t)
|
||||
(autoload 'chess-pgn-read "chess-pgn"
|
||||
"Read and display a PGN game after point." t)
|
||||
(autoload 'chess-pgn-mode "chess-pgn"
|
||||
"A mode for editing chess PGN files." t)
|
||||
(defalias 'pgn-mode 'chess-pgn-mode)
|
||||
(autoload 'chess-puzzle "chess-puzzle"
|
||||
"Pick a random puzzle from FILE, and solve it against the default engine." t)
|
||||
(autoload 'chess-fischer-random-position "chess-random"
|
||||
"Generate a Fischer Random style position.")
|
||||
(autoload 'chess-tutorial "chess-tutorial"
|
||||
"A simple chess training display." t)
|
||||
(autoload 'chess-ics "chess-ics"
|
||||
"Connect to an Internet Chess Server." t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
|
||||
|
||||
(setq chess-images-directory "@SITEETC@/pieces/xboard")
|
||||
(setq chess-sound-directory "@SITEETC@/sounds")
|
||||
|
||||
;; Change the order of the engine preference list to coincide with the order
|
||||
;; of our dependencies: games-board/gnuchess, crafty, phalanx, and sjeng.
|
||||
;; The user can override this using M-x customize-group RET chess RET
|
||||
(setq chess-default-engine
|
||||
'(chess-gnuchess chess-crafty chess-phalanx chess-sjeng))
|
Binary file not shown.
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_VENDOR=( "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0"
|
||||
"github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35"
|
||||
"github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23"
|
||||
"github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d"
|
||||
"github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a"
|
||||
"github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
|
||||
"github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11"
|
||||
"github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
|
||||
"github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
|
||||
"github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317"
|
||||
"github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5"
|
||||
"github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3"
|
||||
"github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51"
|
||||
"google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine" )
|
||||
|
||||
EGO_PN="github.com/knqyf263/${PN}"
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
DESCRIPTION="Simple command-line snippet manager"
|
||||
HOMEPAGE="https://github.com/knqyf263/pet"
|
||||
SRC_URI="${ARCHIVE_URI}
|
||||
${EGO_VENDOR_URI}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="zsh-completion"
|
||||
|
||||
# dev-go/toml doesn't provide sources
|
||||
DEPEND="dev-go/go-crypto
|
||||
dev-go/go-net
|
||||
dev-go/go-oauth2
|
||||
dev-go/go-protobuf
|
||||
dev-go/go-sys"
|
||||
RDEPEND="${DEPEND}
|
||||
zsh-completion? ( app-shells/zsh-completions )"
|
||||
|
||||
src_install() {
|
||||
dobin pet
|
||||
|
||||
if use zsh-completion ; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/github.com/knqyf263/pet/misc/completions/zsh/_${PN}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinstall() {
|
||||
einfo "You should consider to install app-shells/peco to be able to use selector command"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST gnucash-2.6.15.tar.bz2 13406483 BLAKE2B 927838c5c9c11a19eb9f8e11726825458d5b414f4ef24baf1a7ae15c33825eeed2fd87892e728b37c43385360fd06a60df0bade4244b5c93dac5522f09849c92 SHA512 6ec0652565025ac8281152ed64f2f820ecdb17ead5f17738728e094d116e638a08af57a46c0d5b59679f30f142ce372a5f61bd164f68f6b608d09de37cec38c6
|
||||
DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae SHA512 0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13
|
||||
DIST gnucash-2.7.3.tar.bz2 13736166 BLAKE2B 352c7bd9fe11b3b1b039acedb43be6f48960fac7ef6e4eaca5ca1ce944808d2d36c3a22b15b7150b8026bad10bfa0766fd19ac8d1b4f5f2cb2bcb8c112ee87bc SHA512 78c482eb3146406d561320866c480101cf35c51d8ab789e8d2688c7f7e16d1870b33feb7bcdb3cd8feaca300ce9bcf9fa05ba8e1804b221526d181763dcea611
|
||||
DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61 SHA512 d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb
|
||||
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d
|
||||
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# google{test,mock} version
|
||||
GV="1.8.0"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
|
||||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
# Add doc back in for 3.0 and bump app-doc/gnucash-docs
|
||||
IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres
|
||||
python quotes -register2 sqlite"
|
||||
REQUIRED_USE="
|
||||
chipcard? ( aqbanking )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# libdbi version requirement for sqlite taken from bug #455134
|
||||
#
|
||||
# dev-libs/boost must always be built with nls enabled.
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=dev-libs/libxml2-2.7.0:2
|
||||
>=dev-scheme/guile-2.0.0:12=[regex]
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=x11-libs/gtk+-3.14.0:3
|
||||
dev-libs/boost:=[icu,nls]
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxslt
|
||||
gnome-base/dconf
|
||||
net-libs/webkit-gtk:4=
|
||||
aqbanking? (
|
||||
>=net-libs/aqbanking-5[gtk,ofx?]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
||||
mysql? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[mysql]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
postgres? (
|
||||
dev-db/libdbi
|
||||
dev-db/libdbi-drivers[postgres]
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
quotes? (
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/Date-Manip
|
||||
dev-perl/HTML-TableExtract
|
||||
)
|
||||
sqlite? (
|
||||
>=dev-db/libdbi-0.9.0
|
||||
>=dev-db/libdbi-drivers-0.9.0[sqlite]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-cpp/gtest-${GV}
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
dev-util/intltool
|
||||
gnome-base/gnome-common
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Uncomment for 3.0
|
||||
# PDEPEND="doc? (
|
||||
# ~app-doc/gnucash-docs-${PV}
|
||||
# gnome-extra/yelp
|
||||
# )"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local sql_on_off="OFF"
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
sql_on_off="ON"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock
|
||||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest
|
||||
|
||||
-DDISABLE_NLS=$(usex !nls)
|
||||
-DENABLE_REGISTER2=$(usex register2)
|
||||
-DWITH_AQBANKING=$(usex aqbanking)
|
||||
-DWITH_OFX=$(usex ofx)
|
||||
-DWITH_PYTHON=$(usex python)
|
||||
-DWITH_SQL=${sql_on_off}
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die
|
||||
rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
|
||||
|
||||
if use examples ; then
|
||||
mv "${ED%/}"/usr/share/doc/gnucash \
|
||||
"${ED%/}"/usr/share/doc/${PF}/examples || die
|
||||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die
|
||||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \
|
||||
*win32-bin.txt || die
|
||||
popd > /dev/null || die
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
else
|
||||
rm -r "${ED%/}"/usr/share/doc/gnucash || die
|
||||
fi
|
||||
|
||||
use aqbanking && dodoc doc/README.HBCI
|
||||
use ofx && dodoc doc/README.OFX
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!"
|
||||
ewarn
|
||||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database"
|
||||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
From 5184506ffddca982f22eede24cffad64ff3576e3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Sat, 3 Feb 2018 16:39:12 +0000
|
||||
Subject: tdf#115416 allow build with classic libjpeg
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Change-Id: I96252e1a78dbc52d21095e11b7bdb0807e5d76b6
|
||||
Reviewed-on: https://gerrit.libreoffice.org/49187
|
||||
Tested-by: Jenkins <ci@libreoffice.org>
|
||||
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
||||
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
||||
---
|
||||
vcl/source/filter/jpeg/jpegc.cxx | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
|
||||
index 570c036..059ec20 100644
|
||||
--- a/vcl/source/filter/jpeg/jpegc.cxx
|
||||
+++ b/vcl/source/filter/jpeg/jpegc.cxx
|
||||
@@ -244,6 +244,7 @@ void ReadJPEG(JpegStuff& rContext, JPEGReader* pJPEGReader, void* pInputStream,
|
||||
eScanlineFormat = ScanlineFormat::N8BitPal;
|
||||
nPixelSize = 1;
|
||||
}
|
||||
+#if defined(JCS_EXTENSIONS)
|
||||
else if (eFinalFormat == ScanlineFormat::N32BitTcBgra)
|
||||
{
|
||||
best_out_color_space = JCS_EXT_BGRA;
|
||||
@@ -262,7 +263,7 @@ void ReadJPEG(JpegStuff& rContext, JPEGReader* pJPEGReader, void* pInputStream,
|
||||
eScanlineFormat = eFinalFormat;
|
||||
nPixelSize = 4;
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
if (rContext.cinfo.jpeg_color_space == JCS_YCCK)
|
||||
rContext.cinfo.out_color_space = JCS_CMYK;
|
||||
|
||||
--
|
||||
cgit v1.1
|
||||
|
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic qmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) with syntax highlight"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="examples qt5"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/lua:0=
|
||||
qt5? (
|
||||
dev-libs/double-conversion:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
myhlopts=(
|
||||
"CXX=$(tc-getCXX)"
|
||||
"AR=$(tc-getAR)"
|
||||
"LDFLAGS=${LDFLAGS}"
|
||||
"CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11"
|
||||
"DESTDIR=${D}"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
|
||||
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
|
||||
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
|
||||
"conf_dir=${EPREFIX}/etc/highlight/"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||
-i src/core/datadir.cpp || die
|
||||
|
||||
if has_version "<dev-lang/lua-5.2"; then
|
||||
sed -e "s/-DUSE_LUA52//" -i src/makefile || die
|
||||
fi
|
||||
|
||||
# We set it via eqmake5, otherwise it forces clang...
|
||||
sed -e "s/QMAKE_CC/#QMAKE_CC/g" \
|
||||
-e "s/QMAKE_CXX /#QMAKE_CXX /g" \
|
||||
-i src/gui-qt/highlight.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5 ; then
|
||||
pushd src/gui-qt > /dev/null || die
|
||||
eqmake5 \
|
||||
'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile "${myhlopts[@]}"
|
||||
if use qt5 ; then
|
||||
pushd src/gui-qt > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile "${myhlopts[@]}" install
|
||||
use qt5 && emake -f makefile "${myhlopts[@]}" install-gui
|
||||
|
||||
if ! use examples ; then
|
||||
rm -r "${ED}"/usr/share/doc/${PF}/extras || die
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST html-xml-utils-7.1.tar.gz 319559 BLAKE2B 4c07a13a6b59c9d336a5620f2c9b1109fc5289339348d287136ac91f5dd508780a97dc9e30ae361c1c8237ecfa16996a6cd79cb4eaf6d9b6ba9bd97806009fd2 SHA512 a17328500552ad28136a08d0c7dd992d53afbc853ffd8930b516b3218915f4f159234f27af66d135a51dc25eb6c35e6f14d6f0006bdfc2abf351ac8298334d48
|
||||
DIST html-xml-utils-7.4.tar.gz 343008 BLAKE2B 29c8e437afabd04fd511d3498c94cfe8ef027478b7bd4d0390635a5dd18be20971413217ba083e7fb7b82d9b10a9d943b8a90f761cd6ab192829ee64a11a0952 SHA512 88a527c29ef23b34ecb778085aafd399943764a18a3e4b39ff27b3e2cc3effa84b9ffe7c2a0df80fb27a38a7e4d4ceef6db91da46cbb2b4f9fd59903d4868a20
|
||||
DIST html-xml-utils-7.5.tar.gz 342037 BLAKE2B 0398c35593438fc3f46c459a6aba5f2c8814aed70087f27b3205a864fc349159691d282f6636073a8c8c0e8a711cd4efd070ba83f04348315f6b657b7495150c SHA512 32d9d36189a0f1a2f72578f7a449faa1ae85077de697e9021499981ee1a26e002d0a79a96ebe7f9e914b4a32320e098413a59a059c1541789599602e8be39d86
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="A number of simple utilities for manipulating HTML and XML files"
|
||||
SRC_URI="http://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.w3.org/Tools/HTML-XML-utils/"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "/doc_DATA = COPYING/d" -i Makefile.in || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multilib-minimal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib-minimal_src_install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pdf2djvu-0.9.3.tar.xz 239492 BLAKE2B e231f833075739e19a3dfe469eaa9f5eabf8b096473e9ea4d0dbbb296c33767cb612976f69548fd97966084cffeacc7f24230c789c6fbe5f1efed09988221b84 SHA512 388b76642c354480674b6eee4961792c4ef483313ffd25a6248d1d6302985ac5adfb558ae9241062893a419463c9626d8dac9d08297d66b68a98cebbcc4dc193
|
||||
DIST pdf2djvu-0.9.4.tar.xz 250332 BLAKE2B 529c871216cb4ddc55560875b5c4d5a9aeb680140821c6d6d5ab71853a09f3661cfbf28ac4602d6d782afb682a14af8241d70cb82ca617f28a0752f45c852df7 SHA512 6b97d0577ee6e623d8c877393f551dd2a5e19508e5cd6dc5bb2d3ae1a2b71c2f0ffc7020d85507bc52a25da09a301dd5ddf45ab2628928477e0846707ea57322
|
||||
DIST pdf2djvu-0.9.8.tar.xz 268976 BLAKE2B 318ef4fd5677056d2404d769bf54911c9474d6f0f839ef472e121375ee268db31ddaaad2b8ed791ef093d6cb1c665f6431619918ee852e479b4a11a3d7ae0e23 SHA512 5f5330d3d15808b5b6233a15a984d0ebf28619cfb50807a20c8992fed68d17f73d1edd62b1ad7cd3a09d526f6c9f0827e2c5e03d6d7c8ad92c1f106755025f5e
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool to create DjVu files from PDF files"
|
||||
HOMEPAGE="http://jwilk.net/software/pdf2djvu"
|
||||
SRC_URI="https://bitbucket.org/jwilk/${PN}/downloads/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+graphicsmagick nls openmp test"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/djvu-3.5.21:=
|
||||
>=app-text/poppler-0.16.7:=
|
||||
dev-libs/libxml2:=
|
||||
dev-libs/libxslt:=
|
||||
graphicsmagick? ( media-gfx/graphicsmagick:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/pstreams
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]')
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local openmp=--disable-openmp
|
||||
use openmp && tc-has-openmp && openmp=--enable-openmp
|
||||
|
||||
econf \
|
||||
${openmp} \
|
||||
$(use_enable nls) \
|
||||
$(use_with graphicsmagick)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{changelog,{cjk,credits,djvudigital}.txt}
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST vim-latex-1.10.0.tar.gz 260820 BLAKE2B 2314ad5ded3bea51def3172e8f2b7a7483839b58804f9d8c1cc1c8f1139c1da731f91525691d47dba57d07a7db85c371e87c5ce0d3d22a004a9402df7e7cad3a SHA512 1d22b675c124e402a280dcc3a675b49a92fb9f4d42efdda0ea97be26379cd6c023589a35e165f4231524d853380e22411901bfbcc98f171c938ba800821a1213
|
||||
DIST vim-latex-1.8.23-20141116.812-gitd0f31c9.tar.gz 288376 BLAKE2B e9853e3c86764147401f9ad6909f216864f97b9b35ca84839c7047555a52ad51d9488930a820a275b27331cc8a52360c1ce0550fe93d2d6efce8873ba1214572 SHA512 18444b7aef9ca1d7288e2616c0329274172afa3f932096fddc5e40888f65c8cacae2454ab316c5699395268aa88af13b32f3ae6e36058e27e4e48e6d6591b762
|
||||
DIST vim-latex-1.9.0.tar.gz 289271 BLAKE2B 1372fb590d9f3726de51439c4110911c8404dedbf17a0d8d651fcea34fba3d1622440a90b5974a1d45eafec5d079c8b84fb0665b0203bbf5df75a10caa0161df SHA512 4cce21683af74a5a1034e5ecc0f6268b5065324908671d40b4d6b60ac880890df1e9c3d6c16fa57dd1edc33766ded374fd43473699a974ba83e4aeac42030e63
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit vim-plugin python-single-r1
|
||||
|
||||
DESCRIPTION="A comprehensive set of tools to view, edit and compile LaTeX documents"
|
||||
HOMEPAGE="http://vim-latex.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
virtual/latex-base
|
||||
!app-vim/vimtex"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# remove unused metadata
|
||||
rm vim-latex.metainfo.xml || die
|
||||
|
||||
# don't mess up vim's doc dir with random files
|
||||
mv doc mydoc || die
|
||||
mkdir doc || die
|
||||
mv mydoc/*.txt doc/ || die
|
||||
rm -rf mydoc || die
|
||||
|
||||
# don't install buggy tags scripts, use ctags instead
|
||||
rm latextags ltags || die
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
# use executable permissions (bug #352403)
|
||||
fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "To use the vim-latex plugin add:"
|
||||
elog " filetype plugin on"
|
||||
elog ' set grepprg=grep\ -nH\ $*'
|
||||
elog " let g:tex_flavor='latex'"
|
||||
elog "to your ~/.vimrc-file"
|
||||
echo
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST boost_1_62_0.tar.bz2 84513338 BLAKE2B 00f2ddf93d254183709a5e607d5cec5d135bdcddebac15fc3b1522e37b9e58d8df84f1977fee5b085309db58634861f2014e72822e755dd7789e8489fef19f7c SHA512 5385ae3d5255a433a704169ad454d8dc2b0b5bcae3fb23defd6570df4ff7d845cf9fcbeebccdc1c5db0eec9f82ee3d90040de9507c8167467c635d3b215463be
|
||||
DIST boost_1_63_0.tar.bz2 81984414 BLAKE2B 227c4432bd3ca0eb390048ec85047958fcb6ae289996501812cd8b13bf74bbe9b677d0110948265cab59a60deb36c4fc08440af74ac5a5219ea4eaea4fa6918f SHA512 c915c5f5778dee49b8e9d0a40f37f90f56fb1fdb1d8ce92d97bf48bc7bc462212487badfe4bbe30b06196d1149cfb221da12ac54e97499b0d4cb6466813bb4ad
|
||||
DIST boost_1_65_0.tar.bz2 82597718 BLAKE2B 0080956d6ad2f14130ce4a4734b1bd1ce83d3651b226653689e02770baa83cf11811ef4e44948ff68a168d9ce5cbfaea4f758970df2b4e9faa2d410181885f5b SHA512 7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd
|
||||
|
@ -0,0 +1,444 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal
|
||||
|
||||
MY_P="${PN}_$(replace_all_version_separators _)"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
|
||||
KEYWORDS="hppa"
|
||||
|
||||
IUSE="context debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
|
||||
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
REQUIRED_USE="
|
||||
mpi? ( threads )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch"
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
"${FILESDIR}/${PN}-1.55.0-context-x32.patch"
|
||||
"${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch"
|
||||
)
|
||||
|
||||
python_bindings_needed() {
|
||||
multilib_is_native_abi && use python
|
||||
}
|
||||
|
||||
tools_needed() {
|
||||
multilib_is_native_abi && use tools
|
||||
}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if python_bindings_needed; then
|
||||
# boost expects libpython$(pyver) and doesn't allow overrides
|
||||
# and the build system is so creepy that it's easier just to
|
||||
# provide a symlink (linker's going to use SONAME anyway)
|
||||
# TODO: replace it with proper override one day
|
||||
ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;"
|
||||
else
|
||||
# note: we need to provide version explicitly because of
|
||||
# a bug in the build system:
|
||||
# https://github.com/boostorg/build/pull/104
|
||||
python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;"
|
||||
fi
|
||||
fi
|
||||
|
||||
cat > "${BOOST_ROOT}/user-config.jam" << __EOF__ || die
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT%/}/etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT%/}/etc/site-config.jam" && grep -q gentoodebug "${EROOT%/}/etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT%/}/etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT%/}/usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Do not try to build missing 'wave' tool, bug #522682
|
||||
# Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507
|
||||
sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
ejam() {
|
||||
local b2_opts=(
|
||||
"--user-config=${BOOST_ROOT}/user-config.jam"
|
||||
"$@"
|
||||
)
|
||||
echo b2 "${b2_opts[@]}"
|
||||
b2 "${b2_opts[@]}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS=(
|
||||
$(usex debug gentoodebug gentoorelease)
|
||||
"-j$(makeopts_jobs)"
|
||||
-q
|
||||
-d+2
|
||||
)
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
elif [[ ${CHOST} == *-winnt* ]]; then
|
||||
compiler=parity
|
||||
if [[ $($(tc-getCXX) -v) == *trunk* ]]; then
|
||||
compilerVersion=trunk
|
||||
else
|
||||
compilerVersion=$($(tc-getCXX) -v | sed '1q' \
|
||||
| sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,')
|
||||
fi
|
||||
compilerExecutable=$(tc-getCXX)
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Use C++14 globally as of 1.62
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
use icu && OPTIONS+=(
|
||||
"-sICU_PATH=${EPREFIX}/usr"
|
||||
)
|
||||
use icu || OPTIONS+=(
|
||||
--disable-icu
|
||||
boost.locale.icu=off
|
||||
)
|
||||
use mpi || OPTIONS+=(
|
||||
--without-mpi
|
||||
)
|
||||
use nls || OPTIONS+=(
|
||||
--without-locale
|
||||
)
|
||||
use context || OPTIONS+=(
|
||||
--without-context
|
||||
--without-coroutine
|
||||
--without-coroutine2
|
||||
--without-fiber
|
||||
)
|
||||
use threads || OPTIONS+=(
|
||||
--without-thread
|
||||
)
|
||||
|
||||
OPTIONS+=(
|
||||
pch=off
|
||||
--boost-build="${EPREFIX}"/usr/share/boost-build
|
||||
--prefix="${ED%/}/usr"
|
||||
--layout=system
|
||||
# building with threading=single is currently not possible
|
||||
# https://svn.boost.org/trac/boost/ticket/7105
|
||||
threading=multi
|
||||
link=$(usex static-libs shared,static shared)
|
||||
)
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=(
|
||||
-sNO_BZIP2=1
|
||||
)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if tools_needed; then
|
||||
pushd tools >/dev/null || die
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use python; then
|
||||
rm -r "${ED%/}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${ED%/}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
if ! use context; then
|
||||
rm -r "${ED%/}"/usr/include/boost/context || die
|
||||
rm -r "${ED%/}"/usr/include/boost/coroutine{,2} || die
|
||||
rm "${ED%/}"/usr/include/boost/asio/spawn.hpp || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# find extraneous files that shouldn't be installed
|
||||
# as part of the documentation and remove them.
|
||||
find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die
|
||||
find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die
|
||||
find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die
|
||||
|
||||
docinto html
|
||||
dodoc *.{htm,html,png,css}
|
||||
dodoc -r doc libs more tools
|
||||
|
||||
# To avoid broken links
|
||||
dodoc LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
--includedir="${ED%/}/usr/include" \
|
||||
--libdir="${ED%/}/usr/$(get_libdir)" \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
# moddir already includes eprefix
|
||||
mkdir -p "${D}${moddir}" || die
|
||||
mv "${ED%/}/usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
pushd "${ED%/}/usr/$(get_libdir)" >/dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
if tools_needed; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED%/}"/usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT%/}/usr/include/boost" "${EROOT%/}/usr/share/boostbook"; do
|
||||
if [[ -L ${symlink} ]]; then
|
||||
rm -f "${symlink}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
# some ancient installs still have boost cruft lying around
|
||||
# for unknown reasons, causing havoc for reverse dependencies
|
||||
# Bug: 607734
|
||||
rm -rf "${EROOT%/}"/usr/include/boost-1_[3-5]? || die
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
--- a/libs/python/build/Jamfile.v2
|
||||
+++ b/libs/python/build/Jamfile.v2
|
||||
@@ -39,23 +39,6 @@
|
||||
PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" "_" ] ;
|
||||
}
|
||||
|
||||
-
|
||||
-rule find-py3-version
|
||||
-{
|
||||
- local versions = [ feature.values python ] ;
|
||||
- local py3ver ;
|
||||
- for local v in $(versions)
|
||||
- {
|
||||
- if $(v) >= 3.0
|
||||
- {
|
||||
- py3ver = $(v) ;
|
||||
- }
|
||||
- }
|
||||
- return $(py3ver) ;
|
||||
-}
|
||||
-
|
||||
-py3-version = [ find-py3-version ] ;
|
||||
-
|
||||
project boost/python
|
||||
: source-location ../src
|
||||
: requirements
|
||||
@@ -82,7 +65,7 @@
|
||||
rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } }
|
||||
rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } }
|
||||
|
||||
-rule lib_boost_python ( is-py3 ? )
|
||||
+rule lib_boost_python
|
||||
{
|
||||
|
||||
local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ;
|
||||
@@ -91,7 +74,7 @@
|
||||
{
|
||||
python2 = true ;
|
||||
}
|
||||
- lib [ cond $(is-py3) : boost_python3 : boost_python ]
|
||||
+ lib boost_python
|
||||
: # sources
|
||||
numeric.cpp
|
||||
list.cpp
|
||||
@@ -148,7 +131,6 @@
|
||||
<dependency>config-warning
|
||||
|
||||
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
|
||||
- [ cond $(is-py3) : <python>$(py3-version) ]
|
||||
: # default build
|
||||
<link>shared
|
||||
: # usage requirements
|
||||
@@ -160,9 +142,3 @@
|
||||
|
||||
lib_boost_python ;
|
||||
boost-install boost_python ;
|
||||
-
|
||||
-if $(py3-version)
|
||||
-{
|
||||
- lib_boost_python yes ;
|
||||
- boost-install boost_python3 ;
|
||||
-}
|
@ -0,0 +1,23 @@
|
||||
--- a/libs/python/build/Jamfile.v2
|
||||
+++ b/libs/python/build/Jamfile.v2
|
||||
@@ -85,6 +85,12 @@
|
||||
rule lib_boost_python ( is-py3 ? )
|
||||
{
|
||||
|
||||
+ local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ;
|
||||
+ local python2 ;
|
||||
+ if $(python_major_version) = 2
|
||||
+ {
|
||||
+ python2 = true ;
|
||||
+ }
|
||||
lib [ cond $(is-py3) : boost_python3 : boost_python ]
|
||||
: # sources
|
||||
numeric.cpp
|
||||
@@ -119,6 +125,7 @@
|
||||
: # requirements
|
||||
<link>static:<define>BOOST_PYTHON_STATIC_LIB
|
||||
<define>BOOST_PYTHON_SOURCE
|
||||
+ [ cond $(python2) : <cxxflags>-fno-strict-aliasing ]
|
||||
|
||||
# On Windows, all code using Python has to link to the Python
|
||||
# import library.
|
@ -0,0 +1,24 @@
|
||||
--- a/libs/python/build/Jamfile.v2
|
||||
+++ b/libs/python/build/Jamfile.v2
|
||||
@@ -109,20 +109,7 @@
|
||||
<link>static:<define>BOOST_PYTHON_STATIC_LIB
|
||||
<define>BOOST_PYTHON_SOURCE
|
||||
[ cond $(python2) : <cxxflags>-fno-strict-aliasing ]
|
||||
-
|
||||
- # On Windows, all code using Python has to link to the Python
|
||||
- # import library.
|
||||
- #
|
||||
- # On *nix we never link libboost_python to libpython. When
|
||||
- # extending Python, all Python symbols are provided by the
|
||||
- # Python interpreter executable. When embedding Python, the
|
||||
- # client executable is expected to explicitly link to
|
||||
- # /python//python (the target representing libpython) itself.
|
||||
- #
|
||||
- # python_for_extensions is a target defined by Boost.Build to
|
||||
- # provide the Python include paths, and on Windows, the Python
|
||||
- # import library, as usage requirements.
|
||||
- [ cond [ python.configured ] : <library>/python//python_for_extensions ]
|
||||
+ [ cond [ python.configured ] : <library>/python//python ]
|
||||
|
||||
# we prevent building when there is no python available
|
||||
# as it's not possible anyway, and to cause dependents to
|
@ -0,0 +1,69 @@
|
||||
https://svn.boost.org/trac/boost/ticket/6286
|
||||
|
||||
--- a/boostcpp.jam
|
||||
+++ b/boostcpp.jam
|
||||
@@ -99,13 +99,6 @@
|
||||
BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ;
|
||||
}
|
||||
|
||||
-# Python build id (for Python libraries only).
|
||||
-python-id = [ option.get "python-buildid" ] ;
|
||||
-if $(python-id)
|
||||
-{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
|
||||
-}
|
||||
-
|
||||
|
||||
################################################################################
|
||||
#
|
||||
--- a/libs/mpi/build/Jamfile.v2
|
||||
+++ b/libs/mpi/build/Jamfile.v2
|
||||
@@ -8,6 +8,8 @@
|
||||
# Authors: Douglas Gregor
|
||||
# Andrew Lumsdaine
|
||||
|
||||
+import option ;
|
||||
+import regex ;
|
||||
import mpi ;
|
||||
import indirect ;
|
||||
import python ;
|
||||
@@ -24,6 +26,13 @@
|
||||
<tag>@$(__name__).tag
|
||||
;
|
||||
|
||||
+# Python build id (for Python libraries only).
|
||||
+python-id = [ option.get "python-buildid" ] ;
|
||||
+if $(python-id)
|
||||
+{
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
|
||||
+}
|
||||
+
|
||||
rule tag ( name : type ? : property-set )
|
||||
{
|
||||
local result = $(name) ;
|
||||
--- a/libs/python/build/Jamfile.v2
|
||||
+++ b/libs/python/build/Jamfile.v2
|
||||
@@ -2,6 +2,8 @@
|
||||
# Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
+import option ;
|
||||
+import regex ;
|
||||
import os ;
|
||||
import indirect ;
|
||||
import modules ;
|
||||
@@ -30,6 +32,14 @@
|
||||
;
|
||||
}
|
||||
|
||||
+# Python build id (for Python libraries only).
|
||||
+python-id = [ option.get "python-buildid" ] ;
|
||||
+if $(python-id)
|
||||
+{
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
|
||||
+}
|
||||
+
|
||||
+
|
||||
rule find-py3-version
|
||||
{
|
||||
local versions = [ feature.values python ] ;
|
@ -0,0 +1,22 @@
|
||||
--- a/libs/mpi/build/Jamfile.v2
|
||||
+++ b/libs/mpi/build/Jamfile.v2
|
||||
@@ -30,7 +30,7 @@
|
||||
python-id = [ option.get "python-buildid" ] ;
|
||||
if $(python-id)
|
||||
{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ;
|
||||
}
|
||||
|
||||
rule tag ( name : type ? : property-set )
|
||||
--- a/libs/python/build/Jamfile.v2
|
||||
+++ b/libs/python/build/Jamfile.v2
|
||||
@@ -36,7 +36,7 @@
|
||||
python-id = [ option.get "python-buildid" ] ;
|
||||
if $(python-id)
|
||||
{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST clx-0.7.4.tgz 444490 BLAKE2B 19ac6976353f254c11639a443f1b5821deae952dfae51bd168642c6a55be9401e38fce388f2d7feac618b00dd1606bc11869531f6c380acf2e4b1d65e187e9d1 SHA512 07f93735bee25c8a6d8cccaa0755efa0b750954cbeab70d9db69bf51f1cf4eb7918c0225b9ae2834b11ebb261a857eea0f60b70e4044ccbe96ecb32c3ac31278
|
||||
DIST clx-0.7.5.tar.gz 468904 BLAKE2B 30ce4de52fdbbc935bf5653f54a588537670b7d55dc038f32b4527e5f3d7b2dfe6afde3d28debf7ab5a08994155ec390f1e70dfbe45e8831fe7a977d245c9d7a SHA512 9228c37a99dcaee637c64c58183220c1ed3745e683c877f843c7de5b052d7355a3ddd50687371e8388c05bcedda062008299476b82dc8a3d26b605dde1dfa997
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit common-lisp-3 eutils
|
||||
|
||||
DESCRIPTION="CLX is the Common Lisp interface to the X11 protocol primarily for SBCL."
|
||||
HOMEPAGE="http://www.cliki.net/CLX"
|
||||
SRC_URI="https://github.com/sharplispers/clx/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="sys-apps/texinfo
|
||||
doc? ( virtual/texi2dvi )"
|
||||
RDEPEND="!dev-lisp/cl-${PN}"
|
||||
|
||||
src_compile() {
|
||||
cd manual || die
|
||||
makeinfo ${PN}.texinfo -o ${PN}.info || die
|
||||
if use doc ; then
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
texi2pdf ${PN}.texinfo -o ${PN}.pdf || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
common-lisp-install-sources *.lisp debug demo extensions tests
|
||||
common-lisp-install-asdf
|
||||
dodoc NEWS CHANGES README*
|
||||
doinfo manual/${PN}.info
|
||||
use doc && dodoc manual/${PN}.pdf
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,58 +0,0 @@
|
||||
From 9cb17d9fdffabab3693f6548f6bfc54ed2251325 Mon Sep 17 00:00:00 2001
|
||||
From: Maggie Dreyer <maggie@puppet.com>
|
||||
Date: Tue, 2 May 2017 10:21:06 -0700
|
||||
Subject: [PATCH] (FACT-1624) Use `is_integer` instead of `is_fixednum` and
|
||||
`is_bignum`
|
||||
|
||||
Ruby 2.4 unified Fixnum and Bignum into Integer. We updated the
|
||||
Leatherman API to match this. This commit updates Facter to use the new
|
||||
API.
|
||||
---
|
||||
lib/src/ruby/module.cc | 2 +-
|
||||
lib/src/ruby/ruby_value.cc | 6 +++---
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lib/src/ruby/module.cc b/lib/src/ruby/module.cc
|
||||
index 2d7223e0f..b8aeeed09 100644
|
||||
--- a/lib/src/ruby/module.cc
|
||||
+++ b/lib/src/ruby/module.cc
|
||||
@@ -866,7 +866,7 @@ namespace facter { namespace ruby {
|
||||
// Unfortunately we have to call to_sym rather than using ID2SYM, which is Ruby version dependent
|
||||
uint32_t timeout = 0;
|
||||
volatile VALUE timeout_option = ruby.rb_hash_lookup(argv[1], ruby.to_symbol("timeout"));
|
||||
- if (ruby.is_fixednum(timeout_option)) {
|
||||
+ if (ruby.is_integer(timeout_option)) {
|
||||
timeout = ruby.num2size_t(timeout_option);
|
||||
}
|
||||
|
||||
diff --git a/lib/src/ruby/ruby_value.cc b/lib/src/ruby/ruby_value.cc
|
||||
index d8ea20ce6..645472a3f 100644
|
||||
--- a/lib/src/ruby/ruby_value.cc
|
||||
+++ b/lib/src/ruby/ruby_value.cc
|
||||
@@ -86,7 +86,7 @@ namespace facter { namespace ruby {
|
||||
json.SetString(str, size, allocator);
|
||||
return;
|
||||
}
|
||||
- if (ruby.is_fixednum(value) || ruby.is_bignum(value)) {
|
||||
+ if (ruby.is_integer(value)) {
|
||||
json.SetInt64(ruby.rb_num2ll(value));
|
||||
return;
|
||||
}
|
||||
@@ -155,7 +155,7 @@ namespace facter { namespace ruby {
|
||||
}
|
||||
return;
|
||||
}
|
||||
- if (ruby.is_fixednum(value) || ruby.is_bignum(value)) {
|
||||
+ if (ruby.is_integer(value)) {
|
||||
os << ruby.rb_num2ll(value);
|
||||
return;
|
||||
}
|
||||
@@ -241,7 +241,7 @@ namespace facter { namespace ruby {
|
||||
emitter << str;
|
||||
return;
|
||||
}
|
||||
- if (ruby.is_fixednum(value) || ruby.is_bignum(value)) {
|
||||
+ if (ruby.is_integer(value)) {
|
||||
emitter << ruby.rb_num2ll(value);
|
||||
return;
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A plaintext backend for hiera-eyaml"
|
||||
HOMEPAGE="https://github.com/gtmtechltd/hiera-eyaml-plaintext"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -1,3 +1 @@
|
||||
DIST hitimes-1.2.4.gem 32256 BLAKE2B b8afb45abe0a9c74f9ea98a34bd8665b080bee1174688a58be76551f44d344821311926c7bb47b719e5620fb8dfc91f08e8b117ec6e69010b2abce00f6bf1fac SHA512 a4da8590297f4472ec6e98db0083e5fb5923284fea15e9c2da62476c1200f9cb6d12b77f369c374706457b5ce260dd1d9bfc93bf4c256cb1fbc63a4c463185c3
|
||||
DIST hitimes-1.2.5.gem 32256 BLAKE2B e08c5908e7aca8bf2a802116d56d3cbc79525ca83fc9a0021b6d2d8f60a0b92b84d810e817f6e7d3e8b8c15e6e71990473fd1d6907105c39343acf638ce3301e SHA512 b59915b96076bb229213710bfe21a8efb1602ea01a7b7559e91ae770b1051300901b572655c0c030ad543632b57443fd0ff34296b9018376cdc40d460198c5e3
|
||||
DIST hitimes-1.2.6.gem 32256 BLAKE2B 8e8b2338e43776256d3c4c208dc178f9594461b53d03e2101e199bc588f5aed85826f25e5133082a861ac45118a041680e27e53d74a3eb86545ca6e724b5ef95 SHA512 41954000f38f4671b8ac7b5e408aa4a8d36756cee7807a5fc8b1584ecd463c38c36e9ac06966e2302730042193faea1a1a35dbb06f7c53bc594af8420f687257
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fast, high resolution timer library"
|
||||
HOMEPAGE="https://github.com/copiousfreetime/hitimes"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/hitimes/c extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/hitimes/c V=1
|
||||
cp ext/hitimes/c/hitimes$(get_modname) lib/hitimes || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fast, high resolution timer library"
|
||||
HOMEPAGE="https://github.com/copiousfreetime/hitimes"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/hitimes/c extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/hitimes/c V=1
|
||||
cp ext/hitimes/c/hitimes$(get_modname) lib/hitimes || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST itextomml-1.5.4.gem 124416 BLAKE2B a84dc60c1affe117bea5d6c75b619b3b67ecb259ee87c29a6c21801f4ed69e4c7358b962a2ec8200403c82d56dc6ee93f69cb7814102a4770da1eb3726b046c6 SHA512 18ee01adfbe128850d7bd41715a98221c425c2380ae9fe95fc8b5fe52c123e872514fc49a7b975eab1f32874b85f7e2861c8b22a9e829542eb6e4e1b97c3bc5a
|
||||
DIST itextomml-1.5.5.gem 124416 BLAKE2B e5a8f38b2200362cf0fb7effc60149441630d66d99221c3565f6b4c61edc0003ec95ed1a1d2f66ff88ef07dcab65f8bc18af417c79c3b904a36c51d15939110d SHA512 825c4f0e48e56980d23ea7ea485c50398e34b309de29ac8da218517b9d2e8a47e7dc39df8b400bb39b6828a9ac5d4e71a951554363725af20fdd460adae77e7f
|
||||
DIST itextomml-1.5.6.gem 125440 BLAKE2B b0894d26d20e85454c310589509cb0eef371f3c9139450ce8dcd25fac6b83e831557e05ba54b449557422b23d59868ee75f022fe4ba1c205d32926f923986864 SHA512 b74f5a9ca4eb669fee547bdf729e456dfe07b8be4e9ac0d1b7c3ad5d4e99371ae7b5bde565e6472ab07bbcec2754d4ee628ba07a6a7e938ea8a55a6023c2f1fd
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML"
|
||||
HOMEPAGE="http://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
|
||||
|
||||
LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#Tests don't fail here
|
||||
RESTRICT="test"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext
|
||||
cp ext/itex2MML$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/test_itextomml.rb || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML"
|
||||
HOMEPAGE="http://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
|
||||
|
||||
LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#Tests don't fail here
|
||||
RESTRICT="test"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext
|
||||
cp ext/itex2MML$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/test_itextomml.rb || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST lumberjack-1.0.10.gem 25600 BLAKE2B 7be4ec88f0cbc581f88a691d28e24ac6f6a7a23a755345e087cf579b8e9b3b7c8208e00f5163efada84ab937542eaba48dd306062231e6ed3d2b34f81f032179 SHA512 5800b0324d33b7481d69fe2d05805eff358f91807477e052d8c815d61ff5ebc1b9879e8914de0bc911b9bada4dc7448f180af0538fc108b6e79a19ce104805e4
|
||||
DIST lumberjack-1.0.11.gem 25600 BLAKE2B c4201424db2206f7cdb8ae05425e5abb41e2ee96aa2b1326802cdc4d3bdb81f993aab4b2a3bc5ded97d4dc79eea2758863d9cd462e98238b2a5fe0a558c75edf SHA512 08211116338190c393f8cc9fdd74e3b99ec6305c1e87cb511f5d5206b2fd160c7b58f448249473a512abf74c9e8039b125c605fbc5f34f24f70d2dc423aaf212
|
||||
DIST lumberjack-1.0.12.gem 26112 BLAKE2B 4910da094e2187f46d02d2f117c32fde0c836a6c28b8c52b37c99ec2f795345be0f9b2729c88f669a3be106c2391f724ed8c722800eb1638beb64edfe35762e0 SHA512 db5bdaa4101cea2c5f7390e1a23c9c91acf09fd453e77bbb12f5dfe4d87b0632a63f3513d848f38bf4182529601df539ace533a0f667e935662797fac916b042
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple, powerful, and very fast logging utility"
|
||||
HOMEPAGE="https://github.com/bdurand/lumberjack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple, powerful, and very fast logging utility"
|
||||
HOMEPAGE="https://github.com/bdurand/lumberjack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.8 )"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue