parent
219a767515
commit
b879a9f1ef
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST xar-400.tar.gz 213319 BLAKE2B 55b8695313a1a5ae778b62791f716af00edba7e7b01500eac4b951e04cf7b18e84e0d508ac5471996796e5ab59e4628a4f85a63a5929b372555e28b222c77ab1 SHA512 c54850d5443c776f18d788bf7d026b3b08274ee71321d1615238c9fa2d20cc0b21f3f298364b0d0eecd98ce2a6efc8d5039cabd5a21c2419c430d90db004d159
|
||||
DIST xar-417.1.tar.gz 219350 BLAKE2B 2ca073e52b8d7a12c3d33fb65ccaf0984b912f42e4e9dc52bcaec7af41bafcc530cd055da16646113fb24ee046122425a66351f88279ef79a0f0b2b04ae51f9a SHA512 4c3c61f5289d0b2e380cbde772b383da369ca8ad046f5d779e02f59300288c90c5e31d105a2c01ac17dc719b8b46b55d8d36a8b3b20360f315766fce92dec762
|
||||
DIST xar-452.tar.gz 220690 BLAKE2B 9728c73734a4bcb31e6e72d3d1a6735d5c78e384e15415641c4f40068f2da9498e9808cc36df6eaf7d3addf8be6d9eb90bdfa2900321e4dbe482156075bcdcd7 SHA512 d6ae9e5687020d20ec12579178f84c852fd485c52cff0ad23b7b31d2eabbde8c7fc85ab33e82eb81a5ddb59df4c26b756894be85061195cd191ab32be1f56b10
|
||||
|
@ -0,0 +1,95 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/acl.h>], [acl_t a], [AC_DEFINE([HAVE_SYS_ACL_H],[1], [define if you have sys/acl.h and it has a working acl_t type])])
|
||||
-AC_CHECK_HEADERS(ext2fs/ext2_fs.h sys/statfs.h sys/xattr.h sys/param.h sys/extattr.h libutil.h)
|
||||
+AC_CHECK_HEADERS(ext2fs/ext2_fs.h sys/statfs.h sys/vfs.h sys/xattr.h sys/param.h sys/extattr.h libutil.h)
|
||||
AC_CHECK_FUNCS(lgetxattr)
|
||||
AC_CHECK_FUNCS(lsetxattr)
|
||||
AC_CHECK_FUNCS(getxattr)
|
||||
@@ -199,7 +199,22 @@
|
||||
|
||||
AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
-#include <sys/mount.h>])
|
||||
+#include <sys/mount.h>
|
||||
+#ifdef HAVE_SYS_VFS_H
|
||||
+#include <sys/vfs.h>
|
||||
+#endif])
|
||||
+AC_CHECK_MEMBERS([struct statfs.f_iosize],,,[#include <sys/types.h>
|
||||
+#include <sys/param.h>
|
||||
+#include <sys/mount.h>
|
||||
+#ifdef HAVE_SYS_VFS_H
|
||||
+#include <sys/vfs.h>
|
||||
+#endif])
|
||||
+AC_CHECK_MEMBERS([struct statfs.f_bsize],,,[#include <sys/types.h>
|
||||
+#include <sys/param.h>
|
||||
+#include <sys/mount.h>
|
||||
+#ifdef HAVE_SYS_VFS_H
|
||||
+#include <sys/vfs.h>
|
||||
+#endif])
|
||||
AC_CHECK_MEMBERS([struct statvfs.f_fstypename],,,[#include <sys/statvfs.h>])
|
||||
AC_CHECK_MEMBERS([struct stat.st_flags])
|
||||
|
||||
--- a/lib/util.c
|
||||
+++ b/lib/util.c
|
||||
@@ -40,6 +40,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/param.h>
|
||||
+#ifdef HAVE_SYS_VFS_H
|
||||
+# include <sys/vfs.h>
|
||||
+#endif
|
||||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@@ -467,6 +467,14 @@
|
||||
return tmp;
|
||||
}
|
||||
|
||||
+#ifndef HAVE_STRUCT_STATFS_F_IOSIZE
|
||||
+# ifdef HAVE_STRUCT_STATFS_F_BSIZE
|
||||
+# define f_iosize f_bsize
|
||||
+# else
|
||||
+# error need a field to get optimal transfer block size
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
size_t xar_optimal_io_size_at_path(const char *path)
|
||||
{
|
||||
// Start at 1MiB
|
||||
@@ -491,6 +491,7 @@
|
||||
fs_iosize = optimal_rsize;
|
||||
}
|
||||
|
||||
+#ifdef MNT_LOCAL
|
||||
// If we're a remote filesystem, never let us go below the optimal size above of 1MiB
|
||||
// NFS is horrible and lies that the optimal size is 512 bytes.
|
||||
// Whereas SMB in my testing returns 7MiBs (far more practicle)
|
||||
@@ -503,6 +504,7 @@
|
||||
}
|
||||
}
|
||||
else
|
||||
+#endif
|
||||
{
|
||||
optimal_rsize = fs_iosize;
|
||||
}
|
||||
--- a/include/config.h.in
|
||||
+++ b/include/config.h.in
|
||||
@@ -1,4 +1,5 @@
|
||||
#undef HAVE_SYS_STATFS_H
|
||||
+#undef HAVE_SYS_VFS_H
|
||||
#undef HAVE_SYS_XATTR_H
|
||||
#undef HAVE_SYS_EXTATTR_H
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
@@ -15,6 +15,8 @@
|
||||
#undef HAVE_STRUCT_STAT_ST_FLAGS
|
||||
#undef HAVE_STRUCT_STATVFS_F_FSTYPENAME
|
||||
#undef HAVE_STRUCT_STATFS_F_FSTYPENAME
|
||||
+#undef HAVE_STRUCT_STATFS_F_IOSIZE
|
||||
+#undef HAVE_STRUCT_STATFS_F_BSIZE
|
||||
#undef HAVE_SYS_ACL_H
|
||||
#undef HAVE_LIBUTIL_H
|
||||
#undef HAVE_LIBPTHREAD
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
From a3df4d7b8a765f1d0303410cdc686d4bf8adabdc Mon Sep 17 00:00:00 2001
|
||||
From: Tim Lapawa <git@lapawa.de>
|
||||
Date: Mon, 5 Mar 2018 11:24:36 +0100
|
||||
Subject: [PATCH] The tiniest patch you can get to acquire perl 5.26
|
||||
compatibility. It just replaces a malformed UTF8 character.
|
||||
|
||||
---
|
||||
lib/Padre/Wx/Main.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/Padre/Wx/Main.pm b/lib/Padre/Wx/Main.pm
|
||||
index f75cc17ea..b9005d40f 100644
|
||||
--- a/lib/Padre/Wx/Main.pm
|
||||
+++ b/lib/Padre/Wx/Main.pm
|
||||
@@ -5561,7 +5561,7 @@ sub on_prev_pane {
|
||||
|
||||
$main->on_join_lines;
|
||||
|
||||
-Join current line with next one (à la B<vi> with C<Ctrl+J>). No return value.
|
||||
+Join current line with next one (a la B<vi> with C<Ctrl+J>). No return value.
|
||||
|
||||
=cut
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Padre
|
||||
DIST_AUTHOR=PLAVEN
|
||||
DIST_VERSION=1.00
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Application Development and Refactoring Environment"
|
||||
HOMEPAGE="http://padre.perlide.org/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Test Deps
|
||||
TDEPEND="
|
||||
>=dev-perl/Test-MockObject-1.09
|
||||
>=dev-perl/Test-Script-1.07
|
||||
>=dev-perl/Test-Exception-0.27
|
||||
>=dev-perl/Test-NoWarnings-0.084
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
>=dev-perl/Test-Warn-0.240.0
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl[ithreads]
|
||||
>=dev-lang/perl-5.10.1
|
||||
>=dev-perl/Algorithm-Diff-1.190.0
|
||||
>=dev-perl/Capture-Tiny-0.06
|
||||
>=dev-perl/Class-Adapter-1.05
|
||||
>=dev-perl/Class-Inspector-1.22
|
||||
>=dev-perl/Class-XSAccessor-1.130.0
|
||||
>=dev-perl/DBD-SQLite-1.350.0
|
||||
>=dev-perl/DBI-1.58
|
||||
>=dev-perl/Devel-Dumpvar-0.04
|
||||
>=dev-perl/Debug-Client-0.200.0
|
||||
>=dev-perl/Devel-Refactor-0.05
|
||||
>=dev-perl/File-Copy-Recursive-0.37
|
||||
>=dev-perl/File-Find-Rule-0.30
|
||||
>=dev-perl/File-HomeDir-0.91
|
||||
>=virtual/perl-File-Path-2.08
|
||||
>=dev-perl/File-Remove-1.40
|
||||
>=dev-perl/File-ShareDir-1.00
|
||||
>=virtual/perl-File-Spec-3.27.01
|
||||
>=virtual/perl-File-Temp-0.20
|
||||
>=dev-perl/File-Which-1.08
|
||||
dev-perl/File-pushd
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/HTML-Parser-3.58
|
||||
>=dev-perl/IO-stringy-2.110
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-String-1.08
|
||||
>=dev-perl/IPC-Run-0.83
|
||||
>=dev-perl/JSON-XS-2.2.9
|
||||
>=virtual/perl-Scalar-List-Utils-1.18
|
||||
>=dev-perl/libwww-perl-5.815
|
||||
>=dev-perl/List-MoreUtils-0.22
|
||||
>=dev-perl/Locale-Msgfmt-0.15
|
||||
>=dev-perl/Module-Manifest-0.07
|
||||
>=dev-perl/ORLite-1.960.0
|
||||
>=dev-perl/ORLite-Migrate-1.100.0
|
||||
>=dev-perl/PAR-0.989
|
||||
>=dev-perl/Params-Util-0.33
|
||||
>=dev-perl/Parse-ErrorString-Perl-0.14
|
||||
>=dev-perl/Parse-ExuberantCTags-1.00
|
||||
>=dev-perl/Pod-Abstract-0.16
|
||||
>=dev-perl/Pod-POM-0.17
|
||||
>=virtual/perl-Pod-Simple-3.07
|
||||
>=dev-perl/PPI-1.205
|
||||
>=dev-perl/PPIx-EditorTools-0.130.0
|
||||
>=dev-perl/PPIx-Regexp-0.011
|
||||
dev-perl/Probe-Perl
|
||||
>=dev-perl/Sort-Versions-1.500.0
|
||||
>=virtual/perl-Storable-2.16
|
||||
>=dev-perl/Template-Tiny-0.11
|
||||
>=virtual/perl-Text-Balanced-0.80
|
||||
>=dev-perl/Text-Diff-1.410.0
|
||||
>=dev-perl/Text-FindIndent-0.10
|
||||
>=dev-perl/Text-Patch-1.800.0
|
||||
>=virtual/perl-threads-1.71
|
||||
>=virtual/perl-threads-shared-1.33
|
||||
>=virtual/perl-Time-HiRes-1.97.18
|
||||
>=dev-perl/URI-0
|
||||
>=dev-perl/Wx-0.990.100
|
||||
>=dev-perl/Wx-Perl-ProcessStream-0.28
|
||||
>=dev-perl/Wx-Scintilla-0.340.0
|
||||
>=dev-perl/YAML-Tiny-1.32
|
||||
>=virtual/perl-version-0.79
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? (
|
||||
# ${TDEPEND}
|
||||
# )
|
||||
#"
|
||||
|
||||
DIST_TEST=skip
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-DBD-Sqlite.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
unset DISPLAY
|
||||
perl-module_src_configure
|
||||
}
|
||||
src_prepare() {
|
||||
sed -i -e 's/^use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL ||
|
||||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
|
||||
perl-module_src_prepare
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_NAME=Padre
|
||||
DIST_AUTHOR=PLAVEN
|
||||
DIST_VERSION=1.00
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Application Development and Refactoring Environment"
|
||||
HOMEPAGE="http://padre.perlide.org/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Test Deps
|
||||
TDEPEND="
|
||||
>=dev-perl/Test-MockObject-1.90.0
|
||||
>=dev-perl/Test-Script-1.70.0
|
||||
>=dev-perl/Test-Exception-0.270.0
|
||||
>=dev-perl/Test-NoWarnings-0.84.0
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
>=dev-perl/Test-Warn-0.240.0
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl[ithreads]
|
||||
>=dev-lang/perl-5.10.1
|
||||
>=dev-perl/Algorithm-Diff-1.190.0
|
||||
>=dev-perl/Capture-Tiny-0.60.0
|
||||
>=dev-perl/Class-Adapter-1.50.0
|
||||
>=dev-perl/Class-Inspector-1.220.0
|
||||
>=dev-perl/Class-XSAccessor-1.130.0
|
||||
>=dev-perl/DBD-SQLite-1.350.0
|
||||
>=dev-perl/DBI-1.580.0
|
||||
>=dev-perl/Devel-Dumpvar-0.40.0
|
||||
>=dev-perl/Debug-Client-0.200.0
|
||||
>=dev-perl/Devel-Refactor-0.50.0
|
||||
>=dev-perl/File-Copy-Recursive-0.370.0
|
||||
>=dev-perl/File-Find-Rule-0.300.0
|
||||
>=dev-perl/File-HomeDir-0.910.0
|
||||
>=virtual/perl-File-Path-2.80.0
|
||||
>=dev-perl/File-Remove-1.400.0
|
||||
>=dev-perl/File-ShareDir-1.0.0
|
||||
>=virtual/perl-File-Spec-3.27.1
|
||||
>=virtual/perl-File-Temp-0.200.0
|
||||
>=dev-perl/File-Which-1.80.0
|
||||
dev-perl/File-pushd
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/HTML-Parser-3.580.0
|
||||
>=dev-perl/IO-stringy-2.110.0
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-String-1.80.0
|
||||
>=dev-perl/IPC-Run-0.830.0
|
||||
>=dev-perl/JSON-XS-2.2.9
|
||||
>=virtual/perl-Scalar-List-Utils-1.180.0
|
||||
>=dev-perl/libwww-perl-5.815.0
|
||||
>=dev-perl/List-MoreUtils-0.220.0
|
||||
>=dev-perl/Locale-Msgfmt-0.150.0
|
||||
>=dev-perl/Module-Manifest-0.70.0
|
||||
>=dev-perl/ORLite-1.960.0
|
||||
>=dev-perl/ORLite-Migrate-1.100.0
|
||||
>=dev-perl/PAR-0.989.0
|
||||
>=dev-perl/Params-Util-0.330.0
|
||||
>=dev-perl/Parse-ErrorString-Perl-0.140.0
|
||||
>=dev-perl/Parse-ExuberantCTags-1.0.0
|
||||
>=dev-perl/Pod-Abstract-0.160.0
|
||||
>=dev-perl/Pod-POM-0.170.0
|
||||
>=virtual/perl-Pod-Simple-3.70.0
|
||||
>=dev-perl/PPI-1.205.0
|
||||
>=dev-perl/PPIx-EditorTools-0.130.0
|
||||
>=dev-perl/PPIx-Regexp-0.11.0
|
||||
dev-perl/Probe-Perl
|
||||
>=dev-perl/Sort-Versions-1.500.0
|
||||
>=virtual/perl-Storable-2.160.0
|
||||
>=dev-perl/Template-Tiny-0.110.0
|
||||
>=virtual/perl-Text-Balanced-0.800.0
|
||||
>=dev-perl/Text-Diff-1.410.0
|
||||
>=dev-perl/Text-FindIndent-0.100.0
|
||||
>=dev-perl/Text-Patch-1.800.0
|
||||
>=virtual/perl-threads-1.710.0
|
||||
>=virtual/perl-threads-shared-1.330.0
|
||||
>=virtual/perl-Time-HiRes-1.97.18
|
||||
dev-perl/URI
|
||||
>=dev-perl/Wx-0.990.100
|
||||
>=dev-perl/Wx-Perl-ProcessStream-0.280.0
|
||||
>=dev-perl/Wx-Scintilla-0.340.0
|
||||
>=dev-perl/YAML-Tiny-1.320.0
|
||||
>=virtual/perl-version-0.790.0
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
${TDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
#DIST_TEST=skip
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-DBD-Sqlite.patch"
|
||||
"${FILESDIR}/${P}-utf8.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
unset DISPLAY
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL ||
|
||||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
|
||||
perl-module_src_prepare
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST imsettings-1.7.2.tar.bz2 595754 BLAKE2B 9964ab7ca842a7e1b9e9c61434275b55d6a58e271dd12058195573aa65c623d5152a04bc893b3ac4d983c4798bd6f4e8cdb486577be45ec43db6600f72c8cc3b SHA512 b28d67705d3d6a0ec95babaca616f750b73cdac5e01ed61e25a6527fd7f816a14654cd7233eca56d7427b9395e7ad75757b95cd7bd55c56bbdc145a3f8bfe1f0
|
||||
DIST imsettings-1.8.2.tar.bz2 705391 BLAKE2B 3b7f3e2ca2c08bc149be95fb97889ab58fc22be828b9801f4c342c1514a7be35644548d6a920fe657e1d85a9d35d8c2a40766f25d6420bb3da8a8f4e7a7ba739 SHA512 600315a20fd61eaa77a0add1e587861ad3ce70175d87639e43105d804cec59bfbc0219f2177c4d9e07d337231eb85514cbfd8af614a113b688ead372075b9ff4
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Delivery framework for general Input Method configuration"
|
||||
HOMEPAGE="https://tagoh.bitbucket.io/imsettings"
|
||||
SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gconf qt5 +introspection xfconf"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/dbus
|
||||
virtual/libintl
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libgxim
|
||||
x11-libs/libnotify
|
||||
gconf? ( gnome-base/gconf )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
xfconf? ( xfce-base/xfconf )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-util/glib-utils
|
||||
sys-devel/autoconf-archive
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-fno-common.patch )
|
||||
|
||||
MY_XINPUTSH="90-xinput"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gconf-2\.0\)/$(usex gconf '\1' _)/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gtk+-2\.0\)/_/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(check\)/_/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(libxfconf-0\)/$(usex xfconf '\1' _)/" \
|
||||
-e "s/use_qt=\"yes\"/use_qt=\"$(usex qt5)\"/" \
|
||||
-e "/^GNOME_/d" \
|
||||
-e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \
|
||||
configure.ac
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--with-xinputsh=${MY_XINPUTSH}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
fperms 0755 /etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e "${EPREFIX}"/etc/X11/xinit/xinputrc ]]; then
|
||||
ln -sf xinput.d/xcompose.conf "${EPREFIX}"/etc/X11/xinit/xinputrc
|
||||
fi
|
||||
}
|
@ -1,18 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
|
||||
<flag name="gtk2">
|
||||
Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
|
||||
</flag>
|
||||
<flag name="xfconf">Enable support for <pkg>xfce-base/xfconf</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="bitbucket">tagoh/imsettings</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
|
||||
<flag name="xfconf">Enable support for <pkg>xfce-base/xfconf</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="bitbucket">tagoh/imsettings</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit rpm
|
||||
|
||||
BASE_PV=$(ver_cut 1-3)
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
|
||||
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
# KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
#
|
||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||
#
|
||||
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
||||
LANGUAGES_HELP=" am ar ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko lo lt lv mk nb ne nl nn om pl pt-BR pt ro ru si sid sk sl sq sv ta tg tr ug uk vi zh-CN zh-TW "
|
||||
LANGUAGES="${LANGUAGES_HELP}af as be br brx ckb cy dgo dsb fa fur fy ga gd gug hsb kab kk kmr-Latn kn kok ks lb mai ml mn mni mr my nr nso oc or pa:pa-IN rw sa:sa-IN sat sd sr-Latn sr ss st sw-TZ szl te th tn ts tt uz ve vec xh zu "
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz )"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
||||
done
|
||||
for lang in ${LANGUAGES}; do
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
langpack="${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
||||
fi
|
||||
IUSE+=" l10n_${lang%:*}"
|
||||
done
|
||||
unset lang helppack langpack
|
||||
|
||||
RDEPEND+="app-text/hunspell"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local lang dir rpmdir
|
||||
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled
|
||||
use l10n_${lang%:*} || continue
|
||||
|
||||
dir=${lang#*:}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
||||
# Condition required for people who do not install anything e.g. no l10n
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in l10n for some weird reason
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
||||
die "Failed to remove extensions"
|
||||
}
|
@ -0,0 +1,661 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+),xml"
|
||||
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
||||
DEV_URI="
|
||||
https://dev-builds.libreoffice.org/pre-releases/src
|
||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
||||
"
|
||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
||||
inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs; Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
# Only release has the tarballs
|
||||
if [[ ${MY_PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
# broken against latest upstream release, too many patches on top:
|
||||
# https://github.com/tdf/libcmis/pull/43
|
||||
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
|
||||
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
||||
"${ADDONS_URI}/dtoa-20180411.tgz"
|
||||
# not packaged in Gentoo, https://skia.org/
|
||||
"${ADDONS_URI}/skia-m90-45c57e116ee0ce214bdf78405a4762722e4507d9.tar.xz"
|
||||
"base? (
|
||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||
)"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
# Extensions that need extra work:
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
|
||||
IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
|
||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
base? ( firebird java )
|
||||
bluetooth? ( dbus )
|
||||
gtk? ( dbus )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
|
||||
# [[ ${MY_PV} == *9999* ]] || KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
clang? (
|
||||
|| (
|
||||
( sys-devel/clang:13
|
||||
sys-devel/llvm:13
|
||||
=sys-devel/lld-13* )
|
||||
( sys-devel/clang:12
|
||||
sys-devel/llvm:12
|
||||
=sys-devel/lld-12* )
|
||||
( sys-devel/clang:11
|
||||
sys-devel/llvm:11
|
||||
=sys-devel/lld-11* )
|
||||
( sys-devel/clang:10
|
||||
sys-devel/llvm:10
|
||||
=sys-devel/lld-10* )
|
||||
)
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
"
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
>=dev-libs/boost-1.72.0:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/liborcus:0/0.16
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.28[nss]
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
media-libs/zxing-cpp
|
||||
>=net-libs/neon-0.31.1:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
accessibility? (
|
||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
||||
)
|
||||
bluetooth? (
|
||||
dev-libs/glib:2
|
||||
net-wireless/bluez
|
||||
)
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( sys-apps/dbus[X] )
|
||||
eds? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
ldap? ( net-nds/openldap )
|
||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
mariadb? ( dev-db/mariadb-connector-c )
|
||||
!mariadb? ( dev-db/mysql-connector-c )
|
||||
pdfimport? ( app-text/poppler:=[cxx] )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
"
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
# tests apparently also need google-carlito-fonts (not packaged)
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
dev-perl/Archive-Zip
|
||||
>=dev-util/cppunit-1.14.0
|
||||
>=dev-util/gperf-3.1
|
||||
dev-util/mdds:1/1.5
|
||||
media-libs/glm
|
||||
sys-devel/ucpp
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
java? (
|
||||
dev-java/ant-core
|
||||
|| (
|
||||
dev-java/openjdk:11
|
||||
dev-java/openjdk-bin:11
|
||||
)
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
dev-util/cppunit
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( || (
|
||||
dev-java/openjdk:11
|
||||
dev-java/openjdk-jre-bin:11
|
||||
>=virtual/jre-1.8
|
||||
) )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
||||
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
||||
"${FILESDIR}/${PN}-7.2.0.4-qt5detect.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
_check_reqs() {
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_$1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use x86; then
|
||||
elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
|
||||
elog "most notably Report Builder in LibreOffice Base, will not be available."
|
||||
elog "See also: https://bugs.gentoo.org/785640"
|
||||
else
|
||||
use base ||
|
||||
ewarn "If you plan to use Base application you must enable USE base."
|
||||
use java ||
|
||||
ewarn "Without USE java, several wizards are not going to be available."
|
||||
fi
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${MY_PV} = *9999* ]]; then
|
||||
local base_uri branch mypv
|
||||
base_uri="https://anongit.freedesktop.org/git"
|
||||
branch="master"
|
||||
mypv=${MY_PV/.9999}
|
||||
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||
git-r3_checkout "${base_uri}/${PN}/core"
|
||||
LOCOREGIT_VERSION=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sandbox violations on many systems, we don't need it. Bug #646406
|
||||
sed -i \
|
||||
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
||||
configure.ac || die "Failed to disable kf5-config"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||
bin/distro-install-desktop-integration || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||
if ! use pdfimport; then
|
||||
sed -i \
|
||||
-e ":MimeType: s:application/pdf;::" \
|
||||
-e ":Keywords: s:pdf;::" \
|
||||
sysui/desktop/menus/draw.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
# Show flags set at the beginning
|
||||
einfo "Preset CFLAGS: ${CFLAGS}"
|
||||
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
if use clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
LDFLAGS+=" -fuse-ld=lld"
|
||||
else
|
||||
# Force gcc
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if use custom-cflags ; then
|
||||
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
||||
elog "the build succeeds. Good luck!"
|
||||
else
|
||||
strip-flags
|
||||
fi
|
||||
|
||||
export LO_CLANG_CC=${CC}
|
||||
export LO_CLANG_CXX=${CXX}
|
||||
|
||||
# Show flags set at the end
|
||||
einfo " Used CFLAGS: ${CFLAGS}"
|
||||
einfo " Used LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
if use vulkan && ! use clang ; then
|
||||
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
||||
fi
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
||||
|
||||
local gentoo_buildid="Gentoo official package"
|
||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||
# not linked or anything else, worthless to depend on
|
||||
# --disable-pdfium: not yet packaged
|
||||
local myeconfargs=(
|
||||
--with-system-dicts
|
||||
--with-system-epoxy
|
||||
--with-system-headers
|
||||
--with-system-jars
|
||||
--with-system-libs
|
||||
--enable-build-opensymbol
|
||||
--enable-cairo-canvas
|
||||
--enable-largefile
|
||||
--enable-mergelibs
|
||||
--enable-python=system
|
||||
--enable-randr
|
||||
--enable-release-build
|
||||
--disable-breakpad
|
||||
--disable-bundle-mariadb
|
||||
--disable-ccache
|
||||
--disable-epm
|
||||
--disable-fetch-external
|
||||
--disable-gtk3-kde5
|
||||
--disable-online-update
|
||||
--disable-openssl
|
||||
--disable-pdfium
|
||||
--with-extra-buildid="${gentoo_buildid}"
|
||||
--enable-extension-integration
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-tar="${DISTDIR}"
|
||||
--with-lang=""
|
||||
--with-parallelism=$(makeopts_jobs)
|
||||
--with-system-ucpp
|
||||
--with-tls=nss
|
||||
--with-vendor="Gentoo Foundation"
|
||||
--with-webdav
|
||||
--with-x
|
||||
--without-fonts
|
||||
--without-myspell-dicts
|
||||
--with-help="html"
|
||||
--without-helppack-integration
|
||||
--with-system-gpgmepp
|
||||
--without-system-jfreereport
|
||||
--without-system-libcmis
|
||||
--without-system-sane
|
||||
$(use_enable base report-builder)
|
||||
$(use_enable bluetooth sdremote-bluetooth)
|
||||
$(use_enable coinmp)
|
||||
$(use_enable cups)
|
||||
$(use_enable dbus)
|
||||
$(use_enable debug)
|
||||
$(use_enable eds evolution2)
|
||||
$(use_enable firebird firebird-sdbc)
|
||||
$(use_enable gstreamer gstreamer-1-0)
|
||||
$(use_enable gtk gtk3)
|
||||
$(use_enable kde kf5)
|
||||
$(use_enable kde qt5)
|
||||
$(use_enable ldap)
|
||||
$(use_enable odk)
|
||||
$(use_enable pdfimport)
|
||||
$(use_enable postgres postgresql-sdbc)
|
||||
$(use_enable vulkan skia)
|
||||
$(use_with accessibility lxml)
|
||||
$(use_with coinmp system-coinmp)
|
||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||
$(use_with java)
|
||||
$(use_with odk doxygen)
|
||||
)
|
||||
|
||||
if use eds || use gtk; then
|
||||
myeconfargs+=( --enable-dconf --enable-gio )
|
||||
else
|
||||
myeconfargs+=( --disable-dconf --disable-gio )
|
||||
fi
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||
else
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
myeconfargs+=(
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
)
|
||||
if has_version "dev-java/openjdk:11"; then
|
||||
myeconfargs+=( -with-jdk-home="${EPREFIX}/usr/$(get_libdir)/openjdk-11" )
|
||||
elif has_version "dev-java/openjdk-bin:11"; then
|
||||
myeconfargs+=( --with-jdk-home="/opt/openjdk-bin-11" )
|
||||
fi
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
||||
fi
|
||||
|
||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||
|
||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
||||
|
||||
# bug 593514
|
||||
if use gtk; then
|
||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||
fi
|
||||
|
||||
# bash completion aliases
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# bug 703474
|
||||
insinto /usr/include
|
||||
doins -r include/LibreOfficeKit
|
||||
|
||||
local lodir=/usr/$(get_libdir)/libreoffice
|
||||
# patching this would break tests
|
||||
cat <<-EOF > "${T}"/uno.py
|
||||
import sys, os
|
||||
sys.path.append('${EPREFIX}${lodir}/program')
|
||||
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
||||
EOF
|
||||
sed -e "/^import sys/d" -e "/^import os/d" \
|
||||
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
||||
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
||||
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
||||
|
||||
# more system pyuno mess
|
||||
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
||||
-i "${D}"${lodir}/program/officehelper.py || die
|
||||
|
||||
python_optimize "${D}"${lodir}/program
|
||||
# link python bridge in site-packages, bug 667802
|
||||
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
|
||||
for py in uno.py unohelper.py officehelper.py; do
|
||||
dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
||||
while IFS="" read -d $'\0' -r pyc; do
|
||||
pyc=${pyc//*\/}
|
||||
dosym8 -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -0,0 +1,662 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+),xml"
|
||||
|
||||
MY_PV="${PV/_alpha/.alpha}"
|
||||
MY_PV="${MY_PV/_beta/.beta}"
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
||||
DEV_URI="
|
||||
https://dev-builds.libreoffice.org/pre-releases/src
|
||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
||||
"
|
||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
||||
inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs; Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
# Only release has the tarballs
|
||||
if [[ ${MY_PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
# broken against latest upstream release, too many patches on top:
|
||||
# https://github.com/tdf/libcmis/pull/43
|
||||
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
|
||||
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
||||
"${ADDONS_URI}/dtoa-20180411.tgz"
|
||||
# not packaged in Gentoo, https://skia.org/
|
||||
"${ADDONS_URI}/skia-m90-45c57e116ee0ce214bdf78405a4762722e4507d9.tar.xz"
|
||||
"base? (
|
||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||
)"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
# Extensions that need extra work:
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
|
||||
IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
|
||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
base? ( firebird java )
|
||||
bluetooth? ( dbus )
|
||||
gtk? ( dbus )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${MY_PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
clang? (
|
||||
|| (
|
||||
( sys-devel/clang:13
|
||||
sys-devel/llvm:13
|
||||
=sys-devel/lld-13* )
|
||||
( sys-devel/clang:12
|
||||
sys-devel/llvm:12
|
||||
=sys-devel/lld-12* )
|
||||
( sys-devel/clang:11
|
||||
sys-devel/llvm:11
|
||||
=sys-devel/lld-11* )
|
||||
( sys-devel/clang:10
|
||||
sys-devel/llvm:10
|
||||
=sys-devel/lld-10* )
|
||||
)
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
"
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
>=dev-libs/boost-1.72.0:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/liborcus:0/0.16
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.28[nss]
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
media-libs/zxing-cpp
|
||||
>=net-libs/neon-0.31.1:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
accessibility? (
|
||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
||||
)
|
||||
bluetooth? (
|
||||
dev-libs/glib:2
|
||||
net-wireless/bluez
|
||||
)
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( sys-apps/dbus[X] )
|
||||
eds? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
ldap? ( net-nds/openldap )
|
||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
mariadb? ( dev-db/mariadb-connector-c )
|
||||
!mariadb? ( dev-db/mysql-connector-c )
|
||||
pdfimport? ( app-text/poppler:=[cxx] )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
"
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
# tests apparently also need google-carlito-fonts (not packaged)
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
dev-perl/Archive-Zip
|
||||
>=dev-util/cppunit-1.14.0
|
||||
>=dev-util/gperf-3.1
|
||||
dev-util/mdds:1/1.5
|
||||
media-libs/glm
|
||||
sys-devel/ucpp
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
java? (
|
||||
dev-java/ant-core
|
||||
|| (
|
||||
dev-java/openjdk:11
|
||||
dev-java/openjdk-bin:11
|
||||
)
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
dev-util/cppunit
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( || (
|
||||
dev-java/openjdk:11
|
||||
dev-java/openjdk-jre-bin:11
|
||||
>=virtual/jre-1.8
|
||||
) )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
||||
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
||||
"${FILESDIR}/${PN}-7.2.0.4-qt5detect.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
_check_reqs() {
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_$1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use x86; then
|
||||
elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
|
||||
elog "most notably Report Builder in LibreOffice Base, will not be available."
|
||||
elog "See also: https://bugs.gentoo.org/785640"
|
||||
else
|
||||
use base ||
|
||||
ewarn "If you plan to use Base application you must enable USE base."
|
||||
use java ||
|
||||
ewarn "Without USE java, several wizards are not going to be available."
|
||||
fi
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${MY_PV} = *9999* ]]; then
|
||||
local base_uri branch mypv
|
||||
base_uri="https://anongit.freedesktop.org/git"
|
||||
branch="master"
|
||||
mypv=${MY_PV/.9999}
|
||||
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||
git-r3_checkout "${base_uri}/${PN}/core"
|
||||
LOCOREGIT_VERSION=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sandbox violations on many systems, we don't need it. Bug #646406
|
||||
sed -i \
|
||||
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
||||
configure.ac || die "Failed to disable kf5-config"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||
bin/distro-install-desktop-integration || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||
if ! use pdfimport; then
|
||||
sed -i \
|
||||
-e ":MimeType: s:application/pdf;::" \
|
||||
-e ":Keywords: s:pdf;::" \
|
||||
sysui/desktop/menus/draw.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
# Show flags set at the beginning
|
||||
einfo "Preset CFLAGS: ${CFLAGS}"
|
||||
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
if use clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
LDFLAGS+=" -fuse-ld=lld"
|
||||
else
|
||||
# Force gcc
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if use custom-cflags ; then
|
||||
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
||||
elog "the build succeeds. Good luck!"
|
||||
else
|
||||
strip-flags
|
||||
fi
|
||||
|
||||
export LO_CLANG_CC=${CC}
|
||||
export LO_CLANG_CXX=${CXX}
|
||||
|
||||
# Show flags set at the end
|
||||
einfo " Used CFLAGS: ${CFLAGS}"
|
||||
einfo " Used LDFLAGS: ${LDFLAGS}"
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
if use vulkan && ! use clang ; then
|
||||
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
||||
fi
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
||||
|
||||
local gentoo_buildid="Gentoo official package"
|
||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||
# not linked or anything else, worthless to depend on
|
||||
# --disable-pdfium: not yet packaged
|
||||
local myeconfargs=(
|
||||
--with-system-dicts
|
||||
--with-system-epoxy
|
||||
--with-system-headers
|
||||
--with-system-jars
|
||||
--with-system-libs
|
||||
--enable-build-opensymbol
|
||||
--enable-cairo-canvas
|
||||
--enable-largefile
|
||||
--enable-mergelibs
|
||||
--enable-python=system
|
||||
--enable-randr
|
||||
--enable-release-build
|
||||
--disable-breakpad
|
||||
--disable-bundle-mariadb
|
||||
--disable-ccache
|
||||
--disable-epm
|
||||
--disable-fetch-external
|
||||
--disable-gtk3-kde5
|
||||
--disable-online-update
|
||||
--disable-openssl
|
||||
--disable-pdfium
|
||||
--with-extra-buildid="${gentoo_buildid}"
|
||||
--enable-extension-integration
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-tar="${DISTDIR}"
|
||||
--with-lang=""
|
||||
--with-parallelism=$(makeopts_jobs)
|
||||
--with-system-ucpp
|
||||
--with-tls=nss
|
||||
--with-vendor="Gentoo Foundation"
|
||||
--with-webdav
|
||||
--with-x
|
||||
--without-fonts
|
||||
--without-myspell-dicts
|
||||
--with-help="html"
|
||||
--without-helppack-integration
|
||||
--with-system-gpgmepp
|
||||
--without-system-jfreereport
|
||||
--without-system-libcmis
|
||||
--without-system-sane
|
||||
$(use_enable base report-builder)
|
||||
$(use_enable bluetooth sdremote-bluetooth)
|
||||
$(use_enable coinmp)
|
||||
$(use_enable cups)
|
||||
$(use_enable dbus)
|
||||
$(use_enable debug)
|
||||
$(use_enable eds evolution2)
|
||||
$(use_enable firebird firebird-sdbc)
|
||||
$(use_enable gstreamer gstreamer-1-0)
|
||||
$(use_enable gtk gtk3)
|
||||
$(use_enable kde kf5)
|
||||
$(use_enable kde qt5)
|
||||
$(use_enable ldap)
|
||||
$(use_enable odk)
|
||||
$(use_enable pdfimport)
|
||||
$(use_enable postgres postgresql-sdbc)
|
||||
$(use_enable vulkan skia)
|
||||
$(use_with accessibility lxml)
|
||||
$(use_with coinmp system-coinmp)
|
||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||
$(use_with java)
|
||||
$(use_with odk doxygen)
|
||||
)
|
||||
|
||||
if use eds || use gtk; then
|
||||
myeconfargs+=( --enable-dconf --enable-gio )
|
||||
else
|
||||
myeconfargs+=( --disable-dconf --disable-gio )
|
||||
fi
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||
else
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
myeconfargs+=(
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
)
|
||||
if has_version "dev-java/openjdk:11"; then
|
||||
myeconfargs+=( -with-jdk-home="${EPREFIX}/usr/$(get_libdir)/openjdk-11" )
|
||||
elif has_version "dev-java/openjdk-bin:11"; then
|
||||
myeconfargs+=( --with-jdk-home="/opt/openjdk-bin-11" )
|
||||
fi
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
||||
fi
|
||||
|
||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||
|
||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
||||
|
||||
# bug 593514
|
||||
if use gtk; then
|
||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||
fi
|
||||
|
||||
# bash completion aliases
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# bug 703474
|
||||
insinto /usr/include
|
||||
doins -r include/LibreOfficeKit
|
||||
|
||||
local lodir=/usr/$(get_libdir)/libreoffice
|
||||
# patching this would break tests
|
||||
cat <<-EOF > "${T}"/uno.py
|
||||
import sys, os
|
||||
sys.path.append('${EPREFIX}${lodir}/program')
|
||||
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
||||
EOF
|
||||
sed -e "/^import sys/d" -e "/^import os/d" \
|
||||
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
||||
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
||||
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
||||
|
||||
# more system pyuno mess
|
||||
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
||||
-i "${D}"${lodir}/program/officehelper.py || die
|
||||
|
||||
python_optimize "${D}"${lodir}/program
|
||||
# link python bridge in site-packages, bug 667802
|
||||
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
|
||||
for py in uno.py unohelper.py officehelper.py; do
|
||||
dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
||||
while IFS="" read -d $'\0' -r pyc; do
|
||||
pyc=${pyc//*\/}
|
||||
dosym8 -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tatt-0.8.tar.gz 22215 BLAKE2B 6c21acb9378045679c4a03badcb7c60638c4007ba19857d7519f68d4d658cd1418e952cf15a64679c6a9b28090856a588e60e9db1abb360d0625a633491deb3d SHA512 31be6573e3d7c9a690e57d64adcbf87983d5dd226afd162c7bfa425847a84705beda530cd5b648ac85cf8cd3907d46ae638bb0ca0d903d8d1968d0ac30703703
|
||||
DIST tatt-0.9.tar.gz 22659 BLAKE2B c67da6d71bd46a7a1e73810f6f837cbe18b4fcfdf18da2401ab696e69d05c3ccbdeacaf152999dbf49d39c20e0e9e656e05c294a5eb7128015ee06d25bf95fcb SHA512 4f8d4f6d56ce1389caee8a67d1ae13967692fad90e1bc484ec9ffd9fa057e858c2fc4e6cefa496b33c7565b06e7f71e012a94653de4a501f3b25ec77d07cea92
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Arch testing tool"
|
||||
HOMEPAGE="https://github.com/gentoo/tatt"
|
||||
SRC_URI="https://github.com/gentoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="+templates"
|
||||
|
||||
RDEPEND="
|
||||
app-portage/eix
|
||||
app-portage/gentoolkit[${PYTHON_USEDEP}]
|
||||
app-portage/nattka[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
www-client/pybugz
|
||||
"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use templates; then
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r templates
|
||||
fi
|
||||
doman tatt.1
|
||||
doman tatt.5
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST vgrep-2.5.1.tar.gz 1355092 BLAKE2B 82b9da137400ede07b3fc2472168139385df8ee639aa0ba34832d20e437ac3da5a86f89fcc9139faa0ca3a037a358a50947b982473d114056483aaf9cfdde52e SHA512 97561ac933fa8a716c9205910d088bf0bb852f2d68ea2226e27e30b5885aabd37223ec4368d72cd0ae5c72735e273004bd054a2b633e61ecb7fd854254cfaecd
|
||||
DIST vgrep-2.5.2.tar.gz 1571753 BLAKE2B c3378fa11e9bb88fb8d63a380722603efa0725e2d43b69aafbb6ff8788abab441f1fbd3d0c946c922c8100863c185623b41aa76a04e81aab302b26d68f5956d7 SHA512 dc63647b995a21e75d9658efd7e9bcc4c706221ac249d0273cf6997eef832ba4a27f825126fb3fb4c65d724c75e27d04e9b5505b0b65c9b9b0022a49580011a6
|
||||
DIST vgrep-2.5.5.tar.gz 1571944 BLAKE2B 263ae7c9092de890861f9f8acf69f06477b7cb4078274ae0dd67b2c5ba2aea0058e57fee9b3efb51e1393fea803eaa26be853bf575821f5b4aa95935230f332f SHA512 f4f37eb2fc95e3937085bf8ccb9e908200a2640928a0ef216bf4f1bd510f2b53bcce2f01251a898ea295876789362fb5be5fc0bce0dfa5a77262b70f9a4f98d4
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A pager for grep, git-grep and similar grep implementations"
|
||||
HOMEPAGE="https://github.com/vrothberg/vgrep"
|
||||
SRC_URI="https://github.com/vrothberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-3+ MIT MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# golangci-lint is required to run tests which is not yet packaged
|
||||
RESTRICT="strip test"
|
||||
|
||||
BDEPEND="dev-go/go-md2man"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_compile() {
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/usr" install
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,367 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.32"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx"
|
||||
# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
|
||||
RDEPEND="
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-lang/perl"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# Custom changes for gentoo
|
||||
"${FILESDIR}/${PN}-3.53-gentoo-fixups.patch"
|
||||
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
||||
"${FILESDIR}/${PN}-3.23-hppa-byte_order.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use cacert ; then
|
||||
eapply -p2 "${DISTDIR}"/nss-cacert-class1-class3-r2.patch
|
||||
fi
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
*86*-pc-solaris2*) echo "i86pc" ;;
|
||||
aarch64*) echo "aarch64" ;;
|
||||
hppa*) echo "parisc" ;;
|
||||
i?86*) echo "i686" ;;
|
||||
x86_64*) echo "x86_64" ;;
|
||||
*) tc-arch ${t} ;;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
${DEFAULT_ABI})
|
||||
einfo "Running compilation test to determine bit'ness"
|
||||
mybits=$(nssbits)
|
||||
;;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
CCC="$(tc-getCXX)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
export NSS_ALLOW_SSLKEYLOGFILE=1
|
||||
export NSS_ENABLE_WERROR=0 #567158
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export FREEBL_LOWHASH=1
|
||||
export NSS_SEED_ONLY_DEV_URANDOM=1
|
||||
export USE_SYSTEM_ZLIB=1
|
||||
export ZLIB_LIBS=-lz
|
||||
export ASFLAGS=""
|
||||
# Fix build failure on arm64
|
||||
export NS_USE_GCC=1
|
||||
# Detect compiler type and set proper environment value
|
||||
if tc-is-gcc; then
|
||||
export CC_IS_GCC=1
|
||||
elif tc-is-clang; then
|
||||
export CC_IS_CLANG=1
|
||||
fi
|
||||
|
||||
# explicitly disable altivec/vsx if not requested
|
||||
# https://bugs.gentoo.org/789114
|
||||
case ${ARCH} in
|
||||
ppc*)
|
||||
use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1
|
||||
use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1
|
||||
;;
|
||||
esac
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)"
|
||||
done
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
local i
|
||||
for i in crmf freebl nssb nssckfw ; do
|
||||
cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
done
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.{h,api}
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac,cmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils=( shlibsign )
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
# checkcert utils has been removed in nss-3.22:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
|
||||
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
|
||||
# certcgi has been removed in nss-3.36:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
|
||||
nssutils+=(
|
||||
addbuiltin
|
||||
atob
|
||||
baddbdir
|
||||
btoa
|
||||
certutil
|
||||
cmsutil
|
||||
conflict
|
||||
crlutil
|
||||
derdump
|
||||
digest
|
||||
makepqg
|
||||
mangle
|
||||
modutil
|
||||
multinit
|
||||
nonspr10
|
||||
ocspclnt
|
||||
oidcalc
|
||||
p7content
|
||||
p7env
|
||||
p7sign
|
||||
p7verify
|
||||
pk11mode
|
||||
pk12util
|
||||
pp
|
||||
rsaperf
|
||||
selfserv
|
||||
signtool
|
||||
signver
|
||||
ssltap
|
||||
strsclnt
|
||||
symkeyutil
|
||||
tstclnt
|
||||
vfychain
|
||||
vfyserv
|
||||
)
|
||||
# install man-pages for utils (bug #516810)
|
||||
doman doc/nroff/*.1
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils[@]}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
||||
# shlibsign after prelink.
|
||||
dodir /etc/prelink.conf.d
|
||||
printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \
|
||||
> "${ED}"/etc/prelink.conf.d/nss.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST rapidxml-1.13.zip 44163 BLAKE2B 9db90dfca1943c47e95541a323e1210368447c054cf072d6768031488070e375fe2aa78a4e41f61f252d4c487e94cf1e24e4d3756e3f8774b0c2c52ef86959e7 SHA512 6c10583e6631ccdb0217d0a5381172cb4c1046226de6ef1acf398d85e81d145228e14c3016aefcd7b70a1db8631505b048d8b4f5d4b0dbf1811d2482eefdd265
|
@ -1,23 +0,0 @@
|
||||
--- a/rapidxml_print.hpp
|
||||
+++ b/rapidxml_print.hpp
|
||||
@@ -102,6 +102,20 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Internal printing operations
|
||||
|
||||
+ // =====================================
|
||||
+ // fix for clang for this bug in gcc and others: https://sourceforge.net/p/rapidxml/bugs/16/
|
||||
+
|
||||
+ template<class OutIt, class Ch> inline OutIt print_children(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_element_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_data_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_cdata_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_doctype_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+ template<class OutIt, class Ch> inline OutIt print_pi_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
|
||||
+
|
||||
+ // =====================================
|
||||
+
|
||||
// Print node
|
||||
template<class OutIt, class Ch>
|
||||
inline OutIt print_node(OutIt out, const xml_node<Ch> *node, int flags, int indent)
|
@ -1,48 +0,0 @@
|
||||
https://sources.debian.org/data/main/r/rapidxml/1.13-3/debian/patches/fix-iterators.patch
|
||||
https://bugs.gentoo.org/791328
|
||||
--- a/rapidxml_iterators.hpp
|
||||
+++ b/rapidxml_iterators.hpp
|
||||
@@ -18,9 +18,9 @@
|
||||
|
||||
public:
|
||||
|
||||
- typedef typename xml_node<Ch> value_type;
|
||||
- typedef typename xml_node<Ch> &reference;
|
||||
- typedef typename xml_node<Ch> *pointer;
|
||||
+ typedef typename rapidxml::xml_node<Ch> value_type;
|
||||
+ typedef typename rapidxml::xml_node<Ch> &reference;
|
||||
+ typedef typename rapidxml::xml_node<Ch> *pointer;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef std::bidirectional_iterator_tag iterator_category;
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
node_iterator operator++(int)
|
||||
{
|
||||
node_iterator tmp = *this;
|
||||
- ++this;
|
||||
+ ++(*this);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
node_iterator operator--(int)
|
||||
{
|
||||
node_iterator tmp = *this;
|
||||
- ++this;
|
||||
+ ++(*this);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
@@ -97,9 +97,9 @@
|
||||
|
||||
public:
|
||||
|
||||
- typedef typename xml_attribute<Ch> value_type;
|
||||
- typedef typename xml_attribute<Ch> &reference;
|
||||
- typedef typename xml_attribute<Ch> *pointer;
|
||||
+ typedef typename rapidxml::xml_attribute<Ch> value_type;
|
||||
+ typedef typename rapidxml::xml_attribute<Ch> &reference;
|
||||
+ typedef typename rapidxml::xml_attribute<Ch> *pointer;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef std::bidirectional_iterator_tag iterator_category;
|
||||
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">rapidxml</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Fast XML parser"
|
||||
HOMEPAGE="http://rapidxml.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/rapidxml/rapidxml-${PV}.zip"
|
||||
|
||||
LICENSE="Boost-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-iterators.patch
|
||||
"${FILESDIR}"/${P}-clang.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include/rapidxml
|
||||
doins *.hpp
|
||||
docinto html
|
||||
dodoc manual.html
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=TVIGNAUD
|
||||
DIST_VERSION=0.17
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A simple interface to GTK+ 3's complex MVC list widget"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Gtk3
|
||||
virtual/perl-Carp
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST Gtk3-SimpleList-0.17.tar.gz 18817 BLAKE2B 61219e333682549346929022e864d051e26167abf41927f4133effe8d52cd1def0f96d010699142b444fc2edb26f7f8723dda14338d0cb01638c75c80fe9809a SHA512 9103cc46e1627be30a5f912f96939c2e86e1f8e174f300957cb4509a2b2f14fcf89f542dbffc8786ba851cdb9f6dc1aea08e47f6d29072d45528e8046768409a
|
||||
DIST Gtk3-SimpleList-0.21.tar.gz 19124 BLAKE2B 3d04013bd70f3514d9aabfda7a9a823be1aa4a69c89c930e29529c49aa92baa9f140c80571aba7b98481104e080d2325a5b5d24e0e1691f52693c557431ae84f SHA512 45f13add5465d586a6888c426c252cf886644dc95d981d697dc78d01fe66e7820c8f866206583c103fa35b63c349ba46c7da58a447e77a8c778c54b57dddc973
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LINDNER
|
||||
DIST_VERSION=0.8
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Cleans up HTML code for web browsers, not humans"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~s390 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<app-text/html-xml-utils-5.3"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1 @@
|
||||
DIST HTML-Clean-0.8.tar.gz 48157 BLAKE2B 1618782d270fdb9997bc39617967e0db1bd58191694f098f7fdf43e1090c69e9e52102dce9517eb4cdc4e0bb1beeabde68e4e09a39b15836e719d5fa89fdb9b4 SHA512 5e9fdf49c1fccbb35c769394dac2013972bea070579983c5c2e99105b2f9a4ca6594966ae88770fc6ae1ee6b9388a07d61830d0451d6957197114d35dc5cc1e4
|
||||
DIST HTML-Clean-1.4.tar.gz 48598 BLAKE2B eb5001517bf77e24f107aec95244786e7c477330f71ac03d18b26a9f2fe766a832bdbc1a07623b59eaaad3dd84bf82119852841e794d29099d77c947b3dd4800 SHA512 a675b2ae0f7472d4fe44d3402687c4a7d87d33b30894e2c1d9639552fa5f58a89b35b52be17f95058a5ce690a996451c877d1c723b9b6f3919f437da8d458004
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=OALDERS
|
||||
DIST_VERSION=2.22
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Populates HTML Forms with data"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/HTML-Parser
|
||||
virtual/perl-Carp
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/CGI
|
||||
)
|
||||
"
|
||||
# the dep specs are rather incomplete
|
@ -1 +1,2 @@
|
||||
DIST HTML-FillInForm-2.21.tar.gz 17823 BLAKE2B 482b53f3f7fa84d2948dc2ec00406d77946d9332197974628604dcc5626ba05e294dfc0a6db15873ff6433b7e8c4d7dc1727d8820a297de2eb91021eb59d9923 SHA512 05a755635478a797c4711e812a7fbd0428e61b4a4dbb3f8b62ed929122bb4b138aa3d86f2d99ace01d9e7f9486663e64b2c50490d0084c861cbdf8c25645be96
|
||||
DIST HTML-FillInForm-2.22.tar.gz 38303 BLAKE2B 043a32a826e5413e68eb50c2b28fd5789f7de6126f2b54533cc8c52790240daca322f4a864db7469a60fc89027d3f0c26cd271700a3507b0c2107dab2f8cbb28 SHA512 ed8c29edd00572fc910487f095c530a4cf5e1e320cab82b171b96e8e490691ef154cb4911c48ffb2d5c726886ec9aca404590e3afd44ca320ad49977822c7db9
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GAAS
|
||||
DIST_VERSION=6.03
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Class that represents an HTML form element"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!<dev-perl/libwww-perl-6
|
||||
>=dev-perl/HTTP-Message-6.30.0
|
||||
>=dev-perl/URI-1.10
|
||||
dev-perl/HTML-Parser
|
||||
>=virtual/perl-Encode-2
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1 @@
|
||||
DIST HTML-Form-6.03.tar.gz 23522 BLAKE2B 61605abce3af5d685b858191e4bfa5b37626522bd63ab817e5260c15479eaa61d86157c8aff3134136f97ba019104bfa33f2c4ee6c04f01a5854682f81c7b20f SHA512 d93644c9f440f1e0289fa708459e461721910d62c825f382cf913cfc4faa9934fb78ccd929385a4a36605cbc9512e50b56776c6562cb90b31cb1519c1abce7a8
|
||||
DIST HTML-Form-6.07.tar.gz 41503 BLAKE2B a0f77744a467dd553bc316e4064b6b334abc405017a9e65c4d5063055a5afad13a40b3fbc71e108661369e5f803e2321bb1240915c9cd6f26f957c21a0f8e4a1 SHA512 32aac4bb85609c2c596e771678bd4d36f3e34deaa3de7333f089c8f887045780db949b5a1573254557eb0247713232cca5e90f89a80e0d53049840660ad3017e
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MFRANKL
|
||||
MODULE_VERSION=0.10
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl interface to the htmldoc program for producing PDF-Files from HTML-Content"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/htmldoc"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST HTML-HTMLDoc-0.10.tar.gz 15293 BLAKE2B 6a25b7aa56ac3c72ba70b87f4fea6d9b9838ab15fc3e97f3f11a875a80e877b3e79ba7e5267fbfdd054bb181d652d80f8cdc55a0978b8b8f9844bcaf2769314e SHA512 b401d04025dcd27c2f242d4b05819e28159ae19a9fbe5d8922bb615afec17705cf264a147e11c150d100706086d23775c8dab05025fd7fa35a3da75251fed2e5
|
||||
DIST HTML-HTMLDoc-0.21.tar.gz 23483 BLAKE2B eb6721ccce415ec1a217f25f2815daa9777af94bd44874a5fedf4be51b95b3e9809e94eea89b877aac6553bf113dc8dab8ed624dabd8b0f70f8a1a78c004a9ed SHA512 3e7b7ac4f4390242bab4c94439ebb37bf46e2aa2aef8670fbf165795dd0ac138d067411b6adfddd183ff8a7ab6e2e245df422d8b10ca7d9c9f1b49ce3abba131
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.56
|
||||
inherit depend.apache perl-module
|
||||
|
||||
DESCRIPTION="A HTML development and delivery Perl Module"
|
||||
HOMEPAGE="http://www.masonhq.com/ https://metacpan.org/release/HTML-Mason"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="modperl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
!modperl? ( >=dev-perl/CGI-2.460.0 )
|
||||
modperl? (
|
||||
www-apache/libapreq2
|
||||
>=www-apache/mod_perl-2
|
||||
)
|
||||
>=dev-perl/Cache-Cache-1
|
||||
>=dev-perl/Class-Container-0.70.0
|
||||
>=dev-perl/Exception-Class-1.150.0
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/HTML-Parser
|
||||
>=dev-perl/Log-Any-0.80.0
|
||||
>=dev-perl/Params-Validate-0.70.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
dev-perl/Test-Deep
|
||||
)
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
|
||||
|
||||
want_apache2 modperl
|
||||
|
||||
SRC_TEST="do"
|
||||
mydoc="CREDITS UPGRADE"
|
||||
myconf="--noprompts"
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup modperl
|
||||
perl_set_version
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Note about new modperl use flag
|
||||
if use !modperl ; then
|
||||
ewarn "HTML-Mason will only install with modperl support"
|
||||
ewarn "if the use flag modperl is enabled."
|
||||
fi
|
||||
# rendhalver - needed to set an env var for the build script so it finds our apache.
|
||||
export APACHE="${APACHE_BIN}"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
mv "${ED}"/usr/bin/convert* "${ED}"/usr/share/doc/${PF} || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST HTML-Mason-1.56.tar.gz 314167 BLAKE2B 7e449bc566f406f2f6c93459f573327be933bbf50eeb1c712e9d109133448cdf568cfbefbdd28fa403d9ed340334afb5c9d1dd5a1800c624b23634cd54949520 SHA512 3492a37b8289209a2215b42be71db242ca150f4364d8422e46ca4762f2cdbddf96a56f44a3462d1f1eb23ef3bbe1cb36b8322106f4050404b988c6d90a05911c
|
||||
DIST HTML-Mason-1.59.tar.gz 323661 BLAKE2B e9061cf4349874572c912faa04e849cdba15b7219f33488af3555f58ee0d9b77e851cf20ecddfcb55ebb6ec1e3525dea986fdd444b6445a8f39b8508cd261b68 SHA512 3a8053d976345c7bd1d04aab659e3b4dd541264ece806e6d3bda605b6ecb16887ecce9a310bf27890aab40a129c81ba2dbad60c2edd80681a53d159becb3eda1
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
MY_P=libhtmlobject-perl-${PV}
|
||||
|
||||
DESCRIPTION="A HTML development and delivery Perl Module"
|
||||
SRC_URI="mirror://sourceforge/htmlobject/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://htmlobject.sourceforge.net"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-perl/Data-FormValidator
|
||||
dev-perl/Date-Manip"
|
||||
DEPEND="${RDEPEND}"
|
||||
SRC_TEST="do"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_test() {
|
||||
TZ=UTC perl-module_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
if use examples; then
|
||||
docompress -x usr/share/doc/${PF}/examples/
|
||||
insinto usr/share/doc/${PF}
|
||||
doins -r examples/
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libhtmlobject-perl-2.29.tar.gz 185373 BLAKE2B ae75158d3425079074a88ee37c316540b278012a45f9f00dc8ca6bd8dabd030fa1092ed94e74e083adfbdd5dd16068d30585366476b7054470021c998ec0831c SHA512 d8028d5f54010732d06afdbae472fb44271af749634d7e5a0e86582f831428d6d902e06a8f20169ea7387f7761ad6abff168086b274b01e5efa1f0bf90583e72
|
||||
DIST libhtmlobject-perl-2.30.tar.gz 202607 BLAKE2B b25722e47cab9c3415a5aa086c5c855a51d6c3a0ba2b4d81fd2918c0cce4388ca0697abfd2e7e00c1a6b8f87212b0409ca344f4ab9c86f512ecc0d79d2227ad2 SHA512 c0b1cc93810f8cf31d7c2bd9935893cc0534530715bbad0343f620a9bf24ed79c4d1abe2ce7dd4b524f35db1e4dedec98a3441ca0b045e1492296c73b85e3513
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=LEEJO
|
||||
DIST_VERSION=2.06
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Another HTML code cleaner"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/CSS-Packer-2.10.0
|
||||
>=dev-perl/JavaScript-Packer-2.10.0
|
||||
>=dev-perl/Regexp-RegGrp-1.1.1_rc
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
src_test() {
|
||||
perl_rm_files t/pod.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST HTML-Packer-2.06.tar.gz 11616 BLAKE2B ad37fd5ef6b5f73e47f203dd04823b9602d1a68a8f70e333fde531f091e2dbc826e3eae40a9f85edec34d6708a93df24ea2c27cefa38eeaeb03d15c3f87ecb2e SHA512 337cbf2206bcd85af693d04ab2bc4961b3b8780206d51709a5db849d7bdc8601b1f994096b1e6cbb77c798a2cc8b4737f5bcc208e06f062f9ca6296a31a79f5a
|
||||
DIST HTML-Packer-2.10.tar.gz 13728 BLAKE2B abdfd532e2ad9793f5741d52e550b5a217884ab65f1e0d1573e4ffab650c899b66713474fd6e36636ff17e1d74b27686998732491d7f5b58423c8c9fc3078f15 SHA512 8335deaeef7933b85f671d3ca47492cf618cbe98828d244bf5be981c4ba3d0fcbd4de1a66e2980d5e2a0f6935d4533e58c85d4d9c3ca3201b8b8fac905418d2f
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GAAS
|
||||
DIST_VERSION=3.72
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse <HEAD> section of HTML documents"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/HTML-Tagset-3.03
|
||||
virtual/perl-XSLoader
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
mydoc="ANNOUNCEMENT"
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/pod.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST HTML-Parser-3.72.tar.gz 90680 BLAKE2B aed1c788b4039f82e9968aa8d2ef0067262c9e986dc24ccc5e570bcaa8dfe46c48fe0f795c84df6747cf3b63f338154c7272eb0dd579d0e2bab833fbc05b88b4 SHA512 9fded69219791af085018ffbe6737e74e370c543af52aa221aec174daf52d1b8d3cdd07f025176c0212ae572a924555262f2eefc73781f82cdb7d9cff58ae716
|
||||
DIST HTML-Parser-3.76.tar.gz 120473 BLAKE2B 541aa72674d452a4b9e3d5773abe9b78674560d790071cd8ee19cb90e58cbad48c88f628d9d27056839612f9dc9dcdc7fb2cc719474928e843d344c11bf7bd6f SHA512 50f9dc01997afdef33b58b48bfabd596b09cc11086773dcb4707086b7d7f54d2234d508e11a0b17e5d62849bf6acbc16aa8cd53080329ad3dacdbbe877c2c88b
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=NIGELM
|
||||
DIST_VERSION=0.17
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for scrubbing/sanitizing html"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-perl/HTML-Parser"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/Test-Differences
|
||||
dev-perl/Test-Memory-Cycle
|
||||
)"
|
@ -1,2 +1 @@
|
||||
DIST HTML-Scrubber-0.17.tar.gz 37140 BLAKE2B e7c68b6a93f0efb7f63f431f14c4cdf6de3c0b95b6d95b9e5ee09161ee2e0515d7ab8e148df6293b3b2f1c4644e54e465c96372ef42b8682c4f95fb4b78bc57a SHA512 d6e04374d4da390d22cc4d51bfe2910078effc30d6d2ddc36dbc1b94ada12333c2f9c7acb1f444f777f9e268aed90ba8ea15c4c74a8b5ab955fe97ef04469ba7
|
||||
DIST HTML-Scrubber-0.19.tar.gz 36418 BLAKE2B 78ca4b5b6ab6b15a41d7d2e260bdf3ee4823cfff0633527b11843a468a6105a5922fbbd82a524b1c98c6f1c3ccd84dc0c070f5cdb634a8b1fdb2f3cc3f576e92 SHA512 6894c58315f38e81d645b999cca180b1e86a64e8ae913df5891a6293c9c4950d99f1d1c5a03b7d584aff381afc49c16fe2e06541203c8dea881479cc981ee262
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=REHSACK
|
||||
MODULE_VERSION=0.200
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Merges arbitrarily deep hashes into a single hash"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~ppc-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Clone"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST=do
|
@ -1,2 +1 @@
|
||||
DIST Hash-Merge-0.200.tar.gz 10339 BLAKE2B fd9107148f815c3eb86fc4fffd75eaf1a939e5cfea79f00e373e5f03985cb654ae7c8a9d5cde74bf7fd6bf5866995c9c62c2724b01fd0dcc9e73891efbd18524 SHA512 b04f5229f70630d5a1552dcff83743d4c053bfd8b7b294fb03b21f2e7c12b6540a39e6c93fe016960686e1e9107dc0507d15406247da827fb608bc273e53eeec
|
||||
DIST Hash-Merge-0.302.tar.gz 14151 BLAKE2B 04dc202b8ca48cfbd3446f2b1172cd5b5f39b4d19afdda5c2793a1c028a1501bf861aebdf51537b23c4644530c31a0e74fe4f10ba5ebff7d952df38a8cd11df7 SHA512 ac07e1154541b5d9a7fc2f126927a7d86d49ebb2ec4f5439c4f21178d0986d78f2f8f17ab5e6b692cfe8dec63a5c36afbe07b16492a983e13b33247c0789bc47
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=REHSACK
|
||||
DIST_VERSION=0.05
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Provide the stuff missing in Hash::Util"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.420.0
|
||||
test? ( >=virtual/perl-Test-Simple-0.900.0 )
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST Hash-MoreUtils-0.05.tar.gz 5809 BLAKE2B d8b5c6aa531556d0f17b8debc2fd82ff8115e3a70cc3618e14ea1df9bf025e8474263307b1fda193d38e47241c7f5da64d1ff4671940d4518bdda95c09872ecc SHA512 7e53dfda0336198b5981be772a0aeb3aa1fdbfa5885bf866032bcd168a73ceb03f92db6de92874d5812f062ab9c03e1fed27732f60a7004944da568c3cb04845
|
||||
DIST Hash-MoreUtils-0.06.tar.gz 9208 BLAKE2B f3138710a68ff6db682b8e2b15729b37729b10656c53cb20d7f770fb0a0824d331c934159cf7acfcd2e9bf79d60acdc117bf727eb311f33c596d686ff12bc5f7 SHA512 a824e6132a25f265308691c6bfa077ad78e7db079a9292c3e2d728675b6b60d9b162d2d1ca965c6295f62616bed4d9b9c177c0eacc5f4f8afbd112bc1f3aa6c9
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST Glib-1.3291.tar.gz 301944 BLAKE2B 75ecded774ec2654a464594693315003c9805efcb444c4b3cd1f495afffc011a294217c3f8e91c0870707a56b6a8fa1f04a694088b0ada939703fe7e73f8c312 SHA512 5c596e29c3e2ef72908668ddf1f260cf217b64d73732e90ef0fdef007f98b29efcd0620f01e0a39b5f2a0b368d4a05926543c9db0593bfa5a027e86af95fddba
|
||||
DIST Glib-1.3293.tar.gz 302831 BLAKE2B f2554db363d4966e90f34439c2b014a30ec1fd13add587ac4d72558c2601796e53d8b89de052daea2d5e2a900d2b7928b9005fb9e197e167767b2fe1ff4c4dbf SHA512 139033e207ba9b12eb8701ea9e6e363f6d36e68320cb1a8b4d5943722fe80330594e42fd6d8061794d97dbdb06fdcdd48efea480a254a1e8981ea70e933346d4
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Glib
|
||||
DIST_AUTHOR=XAOC
|
||||
DIST_VERSION=1.3291
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Glib - Perl wrappers for the GLib utility and Object libraries"
|
||||
HOMEPAGE="http://gtk2-perl.sf.net/ https://metacpan.org/release/Glib"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2
|
||||
"
|
||||
# Log::Agent optional by Storable but has caused unexplained segv's
|
||||
# from build/doc.pl : https://bugs.gentoo.org/529080
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/ExtUtils-Depends-0.300.0
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.0.0
|
||||
virtual/pkgconfig
|
||||
dev-perl/Log-Agent
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST Gnome2-Wnck-0.16.tar.gz 24865 BLAKE2B 05012a21a3eb0531ecbaaa51db880783b9bb2d58a0eea2d43a5bb9c6b12d71dfac1f62dce7f45cf0c96194b313b3cfddcfec6d609d897b43e91c6796565625bf SHA512 d8ed39cd19ccaeb5995d97b392d1cc97fe0c9bb66781efb70d6160f50a212e263be3bb89c33ca1ff0ed3da3c55fd9968fa4026abcf8593996760831164acd00a
|
||||
DIST Gnome2-Wnck-0.18.tar.gz 27130 BLAKE2B 18ad7853a421ef11e57de10226af672470f2ea34c936ea7b3a5a6224ca089edce07afbe5fc228796fd18475027ab34908bf151bfb51acbda3690ce71c4039636 SHA512 acf1b4213070a7696426e04246ed01f2ce2ae2b196a62e3e69feab782b590a495a482b8dee866d788eebe8cc5eae81db9171d72fb9ddd7509707090380a09a89
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Gnome2-Wnck
|
||||
DIST_AUTHOR=TSCH
|
||||
DIST_VERSION=0.16
|
||||
|
||||
inherit perl-module virtualx
|
||||
|
||||
DESCRIPTION="Perl interface to the Window Navigator Construction Kit"
|
||||
HOMEPAGE="http://gtk2-perl.sourceforge.net/ https://metacpan.org/release/Gnome2-Wnck"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/glib-perl-1.180.0
|
||||
>=dev-perl/Gtk2-1.42.0
|
||||
>=x11-libs/libwnck-2.20:1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/ExtUtils-PkgConfig-1.03
|
||||
>=dev-perl/ExtUtils-Depends-0.2"
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/WnckWorkspace.t
|
||||
virtx perl-module_src_test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Gtk2-GladeXML-1.007.tar.gz 38496 BLAKE2B 2a9dbd9fec4dcc40edb311a64d013de726e567bd7dd4218ed169479e2ee20fed1f8ae41cd413aff77917033fa8e25d5a87c29deb9152d00631a07564a869b525 SHA512 e40b859e76f99c5c9497e0c123679c916b3f5615aaeb208f56a9a4758a2a8a5d5078d4bf7b441ffc6080162a04bb146739457bbd71e4a443a2d092ddbb1ed94f
|
||||
DIST Gtk2-GladeXML-1.008.tar.gz 39653 BLAKE2B 0441417b50c531e2df2871b7b04a719a1e866799512a26cbf2040faf00757c12eb1d9deff8936ee9cd528b7bab2a59e64521dbe5d26e587a4d57f4fd144738c7 SHA512 bb95bf1ca2d8da6007338d5d1630620405fed4fba84670f3b5e8115aff80a4f5cd367d4b0bb2958fbbb8d8815002b0a7bb2ee9de3550e56ba9782a531f70ab6a
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Gtk2-GladeXML
|
||||
DIST_AUTHOR=TSCH
|
||||
DIST_VERSION=1.007
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module virtualx
|
||||
|
||||
DESCRIPTION="Create user interfaces directly from Glade XML files"
|
||||
HOMEPAGE="http://gtk2-perl.sf.net/ https://metacpan.org/release/Gtk2-GladeXML"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2"
|
||||
KEYWORDS="~alpha amd64 ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
gnome-base/libglade:2.0
|
||||
>=dev-perl/glib-perl-1.020
|
||||
>=dev-perl/Gtk2-1.012"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/ExtUtils-Depends-0.300
|
||||
dev-perl/ExtUtils-PkgConfig"
|
||||
|
||||
src_test() {
|
||||
virtx perl-module_src_test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Gtk2-TrayIcon-0.06.tar.gz 9576 BLAKE2B 77f4af73593747b22e53f6052ca55f75bcbd88e470c11d9f489db3e6c9fc2f7553d54aea8f66d0e7ce1b0217c9fab9cbe100f75e48b189b68380a0866169e136 SHA512 a74e6e3fa974d11e1bd9b07cb3ce4547d9239cfee6b46e1fb07a2b57c673154802a1f784f5f5f5b0c50baa357320483f6afadec222683e7e08d49ab0f11557e5
|
||||
DIST Gtk2-TrayIcon-0.07.tar.gz 10566 BLAKE2B e5086a3e727b7a5bac42d7a74c41b79441aecb8476b7a9f0e4dd21c7ddc40aa8cbfa14584cd524f6ea2bd3ec2cfc57035577525181933f7047098b16548650ce SHA512 4f2a156ef2f5556d731feb2b11b4d8b9bd43f79605ab0e9ed82a7b9e5b116db1cac782ddf787b794ba9df1c4d35c4c313df035dc1caf023ac54e6a90cc6c511a
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=XAOC
|
||||
DIST_VERSION=0.07
|
||||
DIST_NAME=Gtk2-TrayIcon
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module virtualx
|
||||
|
||||
DESCRIPTION="Perl wrappers for the egg cup Gtk2::TrayIcon utilities"
|
||||
HOMEPAGE="http://gtk2-perl.sf.net/ https://metacpan.org/release/Gtk2-TrayIcon"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/glib-perl-1.12.0
|
||||
>=dev-perl/Gtk2-1.12.0
|
||||
gnome-base/libglade:2.0
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
DEPEND="
|
||||
gnome-base/libglade:2.0
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
dev-perl/ExtUtils-Depends
|
||||
dev-perl/ExtUtils-PkgConfig
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_test() {
|
||||
virtx perl-module_src_test
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST ca-bundle-1.1.3.tar.gz 126613 BLAKE2B 6b1013c2544f8795a4d054c6807cc2a2c51d03547f0d404def311d7edde9891f27ca1a249bef90e10f129a85f0dea489e1fc933b4c5f3bd8213c3428dba588d2 SHA512 b3e1f6bc9196b6c70476a7b656fb3dc4d398cd033d223b436d50676f228b62b561075787df36b880b7b4eb7de677da19d3e597752f88f279279b8569cc865a5f
|
||||
DIST ca-bundle-1.2.11.tar.gz 124268 BLAKE2B 537128647522c00a8ab3d445bfcc27648c4257a9f9ed82d489e4a2324d3123db86c1eba311b723f1bfcb6271223c7c36ad43863b5fd7c3f18ce0c92e7e064555 SHA512 96cbeb00a6770ada746288e01359bf2865cf8bbf80bca64d666b6c18b7103185b18a4c343bd170495576d871b37c5b59f334124f827658b6065462f7946554ff
|
||||
DIST ca-bundle-1.3.1.tar.gz 127597 BLAKE2B e3f19e3a9e8285b9dcbfe1b488566392424249f0a366696f895761edfcfb597ece06ef0c87380b44083dcf5f598000a83ed9fefec20b58336f47277a205e2467 SHA512 12a5a83f3783491086614e79517e945892a3cb1230705650e12a3f9863bbeec628b8bea228f5d12d23c790a3b912c88536182c059108acb6860e2ceabae8c7c6
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue