parent
3971f30e7b
commit
2328bef0a8
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29639 BLAKE2B f36f06d87ee44a0a79464dcab0e1eb7b47739e0170a111a9cac97918a3a43072b670958dd44042e5281f879743431368274cd4c378f9d346d00880ac33f642b0 SHA512 d2d71c3a248c7f6192a30cd328695bc9480b26e3d1bcc4673959be1940a708a5dd7af5d52ea14ebf3885fb9bb031b91e540975f191da5ee7f9ffecdf50beff04
|
||||
TIMESTAMP 2022-10-15T05:39:53Z
|
||||
MANIFEST Manifest.files.gz 29598 BLAKE2B f265a3d2006b8fb950b9a061c651908e828b6bae4e832423e97684b98ba1cca1d3e9f845328168b157cb3a0c3e962c51b6ed8468c0359d28d821605254b39883 SHA512 51abcfd10be48cdc39ab84c10a3989396d9d8f3d534a4b9e44a6bb4b906c65b394d682d931c0540f7e52b07ae0dd17ea5e96d8dc895610a4ac334e0a79f101cb
|
||||
TIMESTAMP 2022-10-17T12:10:00Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmNKR6lfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmNNRhhfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDFpQ//Rj5hgrzf8qIiUV93hjTsAA2GN+xr57k/ifqDs/HMLmKX31OoI4BBpuuj
|
||||
aWB62lnZGgrAZUsZZRkHTck/yW7w+Uh5NYmA1JCB/u/MV71QlDjpiReAAHxanxIc
|
||||
SnXxcu1UFC3plEpUlWaunk/mxPMhIMshNWzSEEefDROqY0eHNQJr2BVBy9V95h+a
|
||||
2SkFTQusn/nv6JZe6B9siSBpyW0P+9hI568DQ6ObXZicQGU+Cb6PG0cENBH3dpuI
|
||||
JE4pKIBN+xBJmj5qkS4aysINNUIs2DNYf3oS5gZU13tReXJl3Q2AijsBYcyMkC/g
|
||||
Da9u1M1ZAuT1LSMBLKsgtqF0d0H8p1wDotdVY6qX2DbquSbZmcVW6rQtAI7qvVIQ
|
||||
MGs5Kg3axmPnVg7g32kTF6kUzDKJNBzekSk3TTQVW7jb2Dot7QWRv/zSNOCq67j8
|
||||
oebjxrO8xbBcXbIN4HdEAMvQxV/xPkB2NPpO745+yLNf/oQeK5nFY8YhDTm6aqWA
|
||||
IDuRl0GFnX3C8Ie+cMYwgRmtepiGNe5IB3AO+pNKAC0cdI1vmkXfz3+HSdRgK4A3
|
||||
MUlu0tqHWQ5k5Hbtndjnuq0Ru3//2BFEUF0fguc5qwvHLFRyRxXZbMH/dG2ZeUzk
|
||||
2M9PG8/fVfooqRllDQBCDtvl1v0GuVHhnmS8fRHc7O1pmwkjxCc=
|
||||
=jsBC
|
||||
klC4oRAAmG+we2ZGTv9IaQFZyfu9VTu9xiTVbM9jioVda0OBl6wmbS5dQdMLIwFn
|
||||
hUORc3IV2WhK+wB8Ic+bdnzLltwA7wkZli4liWOFMc08ow9E0q3kXPDWlfJuvA6G
|
||||
7BCRbpTS69RkJQ6tYUyyp1UOcKsSsj0Sfv5OMwQmK9D0ciL+84nZ5F3bWKej/+Cl
|
||||
5ZS/Gxs+CvmpGCsXfuEHtMDqvr0qUhwmhDpz8f7Yqox+L0/NQOIZldZR2aQeD0uh
|
||||
iSIC1oZJK5vSKixOdj7kZSAgA3KhsaexHn9iyeqkt7QvntYzwpwGp5fv5+1ziHvd
|
||||
YkpBpUfiyGbpKNHAGc9/IGAR2/p5ag0//UYjJ0nlTA5C1G4nFYWipjA4fkp+wHyD
|
||||
xIiQiOjvviD0sYGz9n5SgYo7b7cf5Rl4Xtgh68jJb1fpH+S+6a7FRSumOCVX3LvD
|
||||
68YhXTbgKFllyaxq1TV94LE7YF9eL8Xc76574C/96ItIjENH9QKlZ2B8M5emxqKI
|
||||
BEr8yG/tHKn8pJHqVZJvABw2ptm6v0HXEpvzZVslkBcAu0YMScpFdcCcJaYqpukQ
|
||||
3Lv7cxlD2j7wWj6Zg5cGkVGmov7OzuVmXFzt3l0+cc7gK7m15dFzHK2Kv9MdHZzh
|
||||
QDtjinbDUrOoK54iXonldDZagC40gCK4+z8MfmpsK09JQ1qYPSk=
|
||||
=J/NL
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD knot-resolver-0.ebuild 146 BLAKE2B d1a19144e78fbbd0d969ec4cc230a8ceb19284c634b01410f7a92e4ef1e877f67e3124fc7da391651fa0fe1218f9dd345758a32c1309c6e756c9977092269cba SHA512 fe785f1f7a7468ff6512dccd2ef2129e12621dd64cb488a6f97abfce457b6ad7909d8a58c99ce8bc0e1ee780391bb06173263afe118776396784217ecd1351af
|
||||
MISC metadata.xml 248 BLAKE2B 2a8d109f789d4f561986cfd5830c49c96b715e2fd50c0340e5c7ca385f72d09c0accf9102e1e1338e971400861d3baa95c083623231cbe96dc9e8163639dee25 SHA512 46a1388868fb5dcf5e3f85cbe8438d441c8a1ff291fcceb1cb4cf20a505e84e945c73967342eb7faadbaa51a7630977d9d447fe16505395fe7a05024e6242185
|
@ -0,0 +1,8 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=525
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>matthew@gentoo.org</email>
|
||||
<name>Matthew Smith</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD jellyfin-0.ebuild 234 BLAKE2B 33367ec5effc4af16bc8f4a672fbf8ec3d6476c91343d3290c774c303847c4c1f179932e2c735d2d380160fd76bf6fd002b7426a99031bb34a6b1f256994f807 SHA512 6a0931ed0c2114419de15097d7fd0b8cf0254abce7b70766d056e1f9abd545fe8b3ebd747a8106e530133b83268ca56b5c516ad9c81944fa2eee60fb70a21622
|
||||
EBUILD jellyfin-0-r1.ebuild 240 BLAKE2B 4bc54e0908950791e6bf884c952d56f1093d0805d5bca5eed567c27026e003224a6ac1ae03b8eed5f157ab7cb7c8cb4e98d1980485d1f99aac4970c16e48cc2e SHA512 c165d480418bf0f1d8cf4da190de7d8c06e0ff274a1495ecb207830802efbfa2743ec63bbb02caedf39ec96e7d71866ed1418263b5b5e5cd78b2afd340de25d4
|
||||
MISC metadata.xml 649 BLAKE2B 29ce34c89c1300d32c3ff30990ec92e49cfab21d74340d1cd6893650ffda87920348ac5feda5ee68feff3e8adbd8cd6e58548d73879025a206dc82756a99c383 SHA512 d8a36b27ee99f29cf9dfea5cc4a9735732bb11cc5931adb4bfe1d1942378d2477f63417b6a2a694e9691c217d20c5ce84bc8d46af5155c46b99b850c0f561315
|
||||
|
@ -0,0 +1,2 @@
|
||||
EBUILD knot-resolver-0.ebuild 237 BLAKE2B e60a70d83a1828ad40175fff0a51b719d288dd9bac02df222fe541b60ee173cfc1cdad29b04354262a091298ec095bc752e97a1b99e5ee71f041a55598cf8477 SHA512 eecd7010f800f810ace5a2d6541863f0fdb9cbef3e6c4f25b1b31582232446fe66ed8a91b2750932a417ae703b17d5fd1727388bdcad5f4bdf1dec43fb730981
|
||||
MISC metadata.xml 248 BLAKE2B 2a8d109f789d4f561986cfd5830c49c96b715e2fd50c0340e5c7ca385f72d09c0accf9102e1e1338e971400861d3baa95c083623231cbe96dc9e8163639dee25 SHA512 46a1388868fb5dcf5e3f85cbe8438d441c8a1ff291fcceb1cb4cf20a505e84e945c73967342eb7faadbaa51a7630977d9d447fe16505395fe7a05024e6242185
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=525
|
||||
ACCT_USER_HOME=/var/lib/knot-resolver
|
||||
ACCT_USER_GROUPS=( knot-resolver )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>matthew@gentoo.org</email>
|
||||
<name>Matthew Smith</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST emacspeak-39.0.tar.bz2 4989631 BLAKE2B ea58436fd3d7450938de04b74dcefdd9b9c5bee5c8c3bf48dbd2ca5bd5ce5c795a0d4c60ec05ca83c0020ca650b717e378717dc2d68eb56e80653b5045d5b132 SHA512 c0a0c503d6ccc2abb53a8be580997b44e0449c2225e8a64cee73c24d69a28c3f47c0e660a95a6e77dd4d660272ad562ff747ce3c0a989f8fe7c8171f60349173
|
||||
DIST emacspeak-56.0.tar.bz2 7158646 BLAKE2B 484b98e5fac51d30bd9b2705308042ed9e0a49a4684ca777cbc60368fdadd8206ef212af514a5940509c84fee3fdcad12486a31a47cac658c912d7573a484fb7 SHA512 9b18fada991b914ddd3ed30950e685c1c164434536c3dd119b9ed52db80e7e31b7399c72a584938bfb63daa7e1aa76a1f377d664cc1118ffa7f0a4cbdddf0818
|
||||
EBUILD emacspeak-39.0-r2.ebuild 2075 BLAKE2B 1adb4a4cade944dd77d4635f9db22face5b234e2c0d0b577902cd21e503c323c0fcbf93e254942cc7ccec3cad49adaf7b55b6f030d8b691b2887337ea9613381 SHA512 b1507eb711316486f4d026a40116d465e909c9709bae2fe4549369fc525d2dc55bd16621661296049174cb327e0e35fdc3d77511ba1edbb54b5f25a7d16da182
|
||||
EBUILD emacspeak-56.0-r1.ebuild 2279 BLAKE2B 002066130ec9ae19efc2ea42f5db1406c5788612e9c266f680d25a1469b12f60ea572773d5f32f77474026b9cc9213a0d39178ee990c06534768c119733a8c0a SHA512 703dc817917a4b3b980926e26631ed0e07037010936e21920e321d0413d18ffc1c15602c5ddc5cf461413fa08ca71904eff5bfd1ac76516cb7a79ddf9edd4a18
|
||||
EBUILD emacspeak-9999.ebuild 2282 BLAKE2B 03db82076bd9b7347e22054be9f7e066eca8ae00f0fa6721907df7f7db3c4c31c085ddf85ed577f05562d813dbafa0e05e64b504459806fae3a5e765ba7d0570 SHA512 800971686d18adc869aef2e1ae3894e4beb1afa596ff9fee506dcef479c8dc4588e49483ac65c97d957715f9c08df5a755e89b179bce0018c443bfddc6ff3631
|
||||
EBUILD emacspeak-39.0-r2.ebuild 2076 BLAKE2B d2e648a757d9b6ca5bc2dc3603e43b5b0bebd93537ec581d77897333b99a545153e3fa9d620b69079ad6031992ad1609b63f35337973db75f812d2f3b37649fd SHA512 c5f1cccbe4673b66d1797f24d848127fc238338de5c83eb35a6849470b2f38ebb1dd014db8246d09a9a9c96ce52a15ceffe2604159f105a9a5e1ce81305040b1
|
||||
EBUILD emacspeak-56.0-r1.ebuild 2283 BLAKE2B fb0b0ea079e257e0a1a2dd27776fadcadac4aa0d0bdcf43c5c86ef9f04b4c56e37df533ec6fb3c047bb52f254389a454560b6a038ec1586f0c4b8524b30e27b2 SHA512 c7a751d05064e3cdec174e3e521f16319a062d1f5295f0a1fa97eec4babf6a9a349ae0c4138e8eae2a12ddd39ef858b8359975d8bb3837b37859b25d4aaa9926
|
||||
EBUILD emacspeak-9999.ebuild 2286 BLAKE2B 85fc53a57ab63441f5e0c1a66c55902e865bd23c63302cc8908538b21da65ddc25c1ee9acdd2428e0d772bc1bf6ed62a7a28fd65d548a7366c7fe88b1cf31f61 SHA512 69fe9774972fc90488cbd8b5457a0f2881e0068c7a32d9fd5b4f7f98de545b12b7ba18a2809cb5f8cc1b17ae98032f1683c6ba73a510ae0fcb18cd97c339f88e
|
||||
MISC metadata.xml 993 BLAKE2B e69adb1f4b3764ccbc6f716e1917ac6d29fbb0d596edc5f2aae57fafbb3ef1eef105cadb35e0f52d18f842cfa657f994cf5d38970777186c3f29125e5f9b79e2 SHA512 31a4d84e9c8910506df082217fd27f3eeb6f038e7f14903179f6b67c24cff4a7d00542565b99e9047aca80b2a78c47666e7f3670db2b9635b6c2dfdc25147bba
|
||||
|
@ -1,29 +0,0 @@
|
||||
https://github.com/brailcom/speechd/commit/57e2c131f03ae8244b0478e449d86dea7d5724d8
|
||||
|
||||
musl additionally requires explicitly including sys/stat.h header for stat.
|
||||
Including that would've been the proper patch if 'st' was actually used.
|
||||
|
||||
From 57e2c131f03ae8244b0478e449d86dea7d5724d8 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
Date: Sun, 13 Mar 2022 18:35:59 +0100
|
||||
Subject: [PATCH] Drop unused variable
|
||||
|
||||
--- a/src/modules/espeak.c
|
||||
+++ b/src/modules/espeak.c
|
||||
@@ -3,7 +3,7 @@
|
||||
* espeak.c - Speech Dispatcher backend for espeak
|
||||
*
|
||||
* Copyright (C) 2007 Brailcom, o.p.s.
|
||||
- * Copyright (C) 2019-2021 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
+ * Copyright (C) 2019-2022 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by
|
||||
@@ -880,7 +880,6 @@ static SPDVoice **espeak_list_synthesis_voices()
|
||||
{
|
||||
const char *identifier = espeak_mbrola[j]->identifier;
|
||||
char *voicename, *dash, *path;
|
||||
- struct stat st;
|
||||
|
||||
totnummbrola++;
|
||||
|
@ -1,466 +0,0 @@
|
||||
From f1c01ccc0ca3f82313ebff3f336d808acee225c8 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
Date: Fri, 6 Dec 2019 10:27:39 +0100
|
||||
Subject: [PATCH] Fix global varibles definitions
|
||||
|
||||
---
|
||||
src/clients/say/options.c | 24 +++++++++++++++++++
|
||||
src/clients/say/options.h | 42 ++++++++++++++++-----------------
|
||||
src/modules/festival_client.c | 2 ++
|
||||
src/modules/festival_client.h | 2 +-
|
||||
src/modules/module_utils.c | 20 ++++++++++++++++
|
||||
src/modules/module_utils.h | 24 +++++++++----------
|
||||
src/server/compare.c | 1 +
|
||||
src/server/compare.h | 4 ++--
|
||||
src/server/configuration.c | 3 +++
|
||||
src/server/configuration.h | 4 ++--
|
||||
src/server/speaking.c | 10 ++++++++
|
||||
src/server/speaking.h | 14 +++++------
|
||||
src/server/speechd.c | 33 ++++++++++++++++++++++++++
|
||||
src/server/speechd.h | 44 +++++++++++++++++------------------
|
||||
14 files changed, 160 insertions(+), 67 deletions(-)
|
||||
|
||||
diff --git a/src/clients/say/options.c b/src/clients/say/options.c
|
||||
index f75ec7de..cb937d37 100644
|
||||
--- a/src/clients/say/options.c
|
||||
+++ b/src/clients/say/options.c
|
||||
@@ -33,6 +33,30 @@
|
||||
#include "options.h"
|
||||
#include <i18n.h>
|
||||
|
||||
+signed int rate;
|
||||
+signed int pitch;
|
||||
+signed int pitch_range;
|
||||
+signed int volume;
|
||||
+
|
||||
+int list_output_modules;
|
||||
+char *output_module;
|
||||
+char *sound_icon;
|
||||
+char *language;
|
||||
+char *voice_type;
|
||||
+char *punctuation_mode;
|
||||
+char *priority;
|
||||
+int pipe_mode;
|
||||
+SPDDataMode ssml_mode;
|
||||
+int spelling;
|
||||
+int wait_till_end;
|
||||
+int stop_previous;
|
||||
+int cancel_previous;
|
||||
+int list_synthesis_voices;
|
||||
+char *synthesis_voice;
|
||||
+
|
||||
+char *application_name;
|
||||
+char *connection_name;
|
||||
+
|
||||
void options_print_help(char *argv[])
|
||||
{
|
||||
assert(argv);
|
||||
diff --git a/src/clients/say/options.h b/src/clients/say/options.h
|
||||
index 2fdd3b96..dede6dcc 100644
|
||||
--- a/src/clients/say/options.h
|
||||
+++ b/src/clients/say/options.h
|
||||
@@ -22,29 +22,29 @@
|
||||
#include <getopt.h>
|
||||
#include "speechd_types.h"
|
||||
|
||||
-signed int rate;
|
||||
-signed int pitch;
|
||||
-signed int pitch_range;
|
||||
-signed int volume;
|
||||
+extern signed int rate;
|
||||
+extern signed int pitch;
|
||||
+extern signed int pitch_range;
|
||||
+extern signed int volume;
|
||||
|
||||
-int list_output_modules;
|
||||
-char *output_module;
|
||||
-char *sound_icon;
|
||||
-char *language;
|
||||
-char *voice_type;
|
||||
-char *punctuation_mode;
|
||||
-char *priority;
|
||||
-int pipe_mode;
|
||||
-SPDDataMode ssml_mode;
|
||||
-int spelling;
|
||||
-int wait_till_end;
|
||||
-int stop_previous;
|
||||
-int cancel_previous;
|
||||
-int list_synthesis_voices;
|
||||
-char *synthesis_voice;
|
||||
+extern int list_output_modules;
|
||||
+extern char *output_module;
|
||||
+extern char *sound_icon;
|
||||
+extern char *language;
|
||||
+extern char *voice_type;
|
||||
+extern char *punctuation_mode;
|
||||
+extern char *priority;
|
||||
+extern int pipe_mode;
|
||||
+extern SPDDataMode ssml_mode;
|
||||
+extern int spelling;
|
||||
+extern int wait_till_end;
|
||||
+extern int stop_previous;
|
||||
+extern int cancel_previous;
|
||||
+extern int list_synthesis_voices;
|
||||
+extern char *synthesis_voice;
|
||||
|
||||
-char *application_name;
|
||||
-char *connection_name;
|
||||
+extern char *application_name;
|
||||
+extern char *connection_name;
|
||||
|
||||
static struct option long_options[] = {
|
||||
{"rate", 1, 0, 'r'},
|
||||
diff --git a/src/modules/festival_client.c b/src/modules/festival_client.c
|
||||
index bb15cb86..f8327d46 100644
|
||||
--- a/src/modules/festival_client.c
|
||||
+++ b/src/modules/festival_client.c
|
||||
@@ -75,6 +75,8 @@
|
||||
/* For testing endianness */
|
||||
int fapi_endian_loc = 1;
|
||||
|
||||
+int festival_connection_crashed;
|
||||
+
|
||||
static char *socket_receive_file_to_buff(int fd, int *size);
|
||||
|
||||
/* --- MANAGING FT STRUCTURES --- */
|
||||
diff --git a/src/modules/festival_client.h b/src/modules/festival_client.h
|
||||
index 21acdda2..dfbaac15 100644
|
||||
--- a/src/modules/festival_client.h
|
||||
+++ b/src/modules/festival_client.h
|
||||
@@ -44,7 +44,7 @@
|
||||
#define FESTIVAL_DEFAULT_SERVER_PORT 1314
|
||||
#define FESTIVAL_DEFAULT_TEXT_MODE "fundamental"
|
||||
|
||||
-int festival_connection_crashed;
|
||||
+extern int festival_connection_crashed;
|
||||
|
||||
typedef struct FT_Info {
|
||||
int encoding;
|
||||
diff --git a/src/modules/module_utils.c b/src/modules/module_utils.c
|
||||
index 0a3d3308..99e71fcb 100644
|
||||
--- a/src/modules/module_utils.c
|
||||
+++ b/src/modules/module_utils.c
|
||||
@@ -35,6 +35,26 @@ extern char *module_index_mark;
|
||||
|
||||
pthread_mutex_t module_stdout_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
+int log_level;
|
||||
+
|
||||
+AudioID *module_audio_id;
|
||||
+
|
||||
+SPDMsgSettings msg_settings;
|
||||
+SPDMsgSettings msg_settings_old;
|
||||
+
|
||||
+int current_index_mark;
|
||||
+
|
||||
+int Debug;
|
||||
+FILE *CustomDebugFile;
|
||||
+
|
||||
+configfile_t *configfile;
|
||||
+configoption_t *module_dc_options;
|
||||
+int module_num_dc_options;
|
||||
+
|
||||
+const char *module_name;
|
||||
+
|
||||
+char *module_index_mark;
|
||||
+
|
||||
char *do_message(SPDMessageType msgtype)
|
||||
{
|
||||
int ret;
|
||||
diff --git a/src/modules/module_utils.h b/src/modules/module_utils.h
|
||||
index 12382d3b..87c5f813 100644
|
||||
--- a/src/modules/module_utils.h
|
||||
+++ b/src/modules/module_utils.h
|
||||
@@ -49,23 +49,23 @@ typedef struct SPDMarks {
|
||||
gboolean stop;
|
||||
} SPDMarks;
|
||||
|
||||
-int log_level;
|
||||
+extern int log_level;
|
||||
|
||||
-AudioID *module_audio_id;
|
||||
+extern AudioID *module_audio_id;
|
||||
|
||||
-SPDMsgSettings msg_settings;
|
||||
-SPDMsgSettings msg_settings_old;
|
||||
+extern SPDMsgSettings msg_settings;
|
||||
+extern SPDMsgSettings msg_settings_old;
|
||||
|
||||
-int current_index_mark;
|
||||
+extern int current_index_mark;
|
||||
|
||||
-int Debug;
|
||||
-FILE *CustomDebugFile;
|
||||
+extern int Debug;
|
||||
+extern FILE *CustomDebugFile;
|
||||
|
||||
-configfile_t *configfile;
|
||||
-configoption_t *module_dc_options;
|
||||
-int module_num_dc_options;
|
||||
+extern configfile_t *configfile;
|
||||
+extern configoption_t *module_dc_options;
|
||||
+extern int module_num_dc_options;
|
||||
|
||||
-const char *module_name;
|
||||
+extern const char *module_name;
|
||||
|
||||
#define CLEAN_OLD_SETTINGS_TABLE() do { \
|
||||
msg_settings_old.rate = -101;\
|
||||
@@ -395,7 +395,7 @@ configoption_t *add_config_option(configoption_t * options,
|
||||
#define INDEX_MARK_BODY_LEN 6
|
||||
#define INDEX_MARK_BODY "__spd_"
|
||||
|
||||
-char *module_index_mark;
|
||||
+extern char *module_index_mark;
|
||||
|
||||
/* This macro must be placed at the initialization of the module so that the
|
||||
later functions are possible to use */
|
||||
diff --git a/src/server/compare.c b/src/server/compare.c
|
||||
index aa08ed79..8d36c39d 100644
|
||||
--- a/src/server/compare.c
|
||||
+++ b/src/server/compare.c
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "compare.h"
|
||||
|
||||
/* Pointer to compare_message_uid */
|
||||
+gint(*p_msg_lc) ();
|
||||
gint(*p_msg_uid_lc) () = compare_message_uid;
|
||||
|
||||
gint compare_message_uid(gconstpointer element, gconstpointer value, gpointer x)
|
||||
diff --git a/src/server/compare.h b/src/server/compare.h
|
||||
index f0c730c5..380c9ed2 100644
|
||||
--- a/src/server/compare.h
|
||||
+++ b/src/server/compare.h
|
||||
@@ -27,7 +27,7 @@ gint compare_message_uid(gconstpointer element, gconstpointer value,
|
||||
gpointer x);
|
||||
|
||||
/* Pointer to function compare_message_uid */
|
||||
-gint(*p_msg_lc) ();
|
||||
-gint(*p_msg_uid_lc) ();
|
||||
+extern gint(*p_msg_lc) ();
|
||||
+extern gint(*p_msg_uid_lc) ();
|
||||
|
||||
#endif /* COMPARE_H */
|
||||
diff --git a/src/server/configuration.c b/src/server/configuration.c
|
||||
index a21b60c9..ba145995 100644
|
||||
--- a/src/server/configuration.c
|
||||
+++ b/src/server/configuration.c
|
||||
@@ -33,6 +33,9 @@
|
||||
#include "symbols.h"
|
||||
#include <fdsetconv.h>
|
||||
|
||||
+configoption_t *spd_options;
|
||||
+int spd_num_options;
|
||||
+
|
||||
static TFDSetClientSpecific *cl_spec_section;
|
||||
|
||||
/* So that gcc doesn't comply about casts to char* */
|
||||
diff --git a/src/server/configuration.h b/src/server/configuration.h
|
||||
index 5850c63b..bd87a0d5 100644
|
||||
--- a/src/server/configuration.h
|
||||
+++ b/src/server/configuration.h
|
||||
@@ -29,8 +29,8 @@
|
||||
#define SPEECHD_DEFAULT_PORT 6560
|
||||
|
||||
/* Loading options from DotConf */
|
||||
-configoption_t *spd_options;
|
||||
-int spd_num_options;
|
||||
+extern configoption_t *spd_options;
|
||||
+extern int spd_num_options;
|
||||
|
||||
configoption_t *load_config_options(int *num_options);
|
||||
void free_config_options(configoption_t * opts, int *num);
|
||||
diff --git a/src/server/speaking.c b/src/server/speaking.c
|
||||
index 2160c250..61463f3f 100644
|
||||
--- a/src/server/speaking.c
|
||||
+++ b/src/server/speaking.c
|
||||
@@ -46,6 +46,16 @@ static SPDPriority highest_priority = 0;
|
||||
int SPEAKING = 0;
|
||||
int poll_count;
|
||||
|
||||
+OutputModule *speaking_module;
|
||||
+int speaking_uid;
|
||||
+int speaking_gid;
|
||||
+
|
||||
+/* Pause and resume handling */
|
||||
+int pause_requested;
|
||||
+int pause_requested_fd;
|
||||
+int pause_requested_uid;
|
||||
+int resume_requested;
|
||||
+
|
||||
/*
|
||||
Speak() is responsible for getting right text from right
|
||||
queue in right time and saying it loud through the corresponding
|
||||
diff --git a/src/server/speaking.h b/src/server/speaking.h
|
||||
index 690db600..48752dfa 100644
|
||||
--- a/src/server/speaking.h
|
||||
+++ b/src/server/speaking.h
|
||||
@@ -26,15 +26,15 @@
|
||||
|
||||
#include <speechd_types.h>
|
||||
|
||||
-OutputModule *speaking_module;
|
||||
-int speaking_uid;
|
||||
-int speaking_gid;
|
||||
+extern OutputModule *speaking_module;
|
||||
+extern int speaking_uid;
|
||||
+extern int speaking_gid;
|
||||
|
||||
/* Pause and resume handling */
|
||||
-int pause_requested;
|
||||
-int pause_requested_fd;
|
||||
-int pause_requested_uid;
|
||||
-int resume_requested;
|
||||
+extern int pause_requested;
|
||||
+extern int pause_requested_fd;
|
||||
+extern int pause_requested_uid;
|
||||
+extern int resume_requested;
|
||||
|
||||
/* Speak() is responsible for getting right text from right
|
||||
* queue in right time and saying it loud through corresponding
|
||||
diff --git a/src/server/speechd.c b/src/server/speechd.c
|
||||
index 8d3c1de4..6f6e51a5 100644
|
||||
--- a/src/server/speechd.c
|
||||
+++ b/src/server/speechd.c
|
||||
@@ -65,6 +65,39 @@ gint server_timeout_source = 0;
|
||||
|
||||
int client_count = 0;
|
||||
|
||||
+struct SpeechdOptions SpeechdOptions;
|
||||
+struct SpeechdStatus SpeechdStatus;
|
||||
+
|
||||
+pthread_t speak_thread;
|
||||
+pthread_mutex_t logging_mutex;
|
||||
+pthread_mutex_t element_free_mutex;
|
||||
+pthread_mutex_t output_layer_mutex;
|
||||
+pthread_mutex_t socket_com_mutex;
|
||||
+
|
||||
+GHashTable *fd_settings;
|
||||
+GHashTable *language_default_modules;
|
||||
+GHashTable *fd_uid;
|
||||
+
|
||||
+TSpeechDQueue *MessageQueue;
|
||||
+GList *MessagePausedList;
|
||||
+
|
||||
+GList *client_specific_settings;
|
||||
+
|
||||
+GList *last_p5_block;
|
||||
+
|
||||
+TFDSetElement GlobalFDSet;
|
||||
+
|
||||
+int speaking_pipe[2];
|
||||
+
|
||||
+GHashTable *speechd_sockets_status;
|
||||
+
|
||||
+FILE *logfile;
|
||||
+FILE *custom_logfile;
|
||||
+char *custom_log_kind;
|
||||
+FILE *debug_logfile;
|
||||
+
|
||||
+TSpeechDMode spd_mode;
|
||||
+
|
||||
static gboolean speechd_client_terminate(gpointer key, gpointer value, gpointer user);
|
||||
static gboolean speechd_reload_dead_modules(gpointer user_data);
|
||||
static gboolean speechd_load_configuration(gpointer user_data);
|
||||
diff --git a/src/server/speechd.h b/src/server/speechd.h
|
||||
index c0730b76..b23bbb69 100644
|
||||
--- a/src/server/speechd.h
|
||||
+++ b/src/server/speechd.h
|
||||
@@ -123,7 +123,7 @@ typedef enum {
|
||||
SPD_MODE_SINGLE /* */
|
||||
} TSpeechDMode;
|
||||
|
||||
-TSpeechDMode spd_mode;
|
||||
+extern TSpeechDMode spd_mode;
|
||||
|
||||
/* TSpeechDQueue is a queue for messages. */
|
||||
typedef struct {
|
||||
@@ -148,7 +148,7 @@ typedef struct {
|
||||
#include "alloc.h"
|
||||
#include "speaking.h"
|
||||
|
||||
-struct {
|
||||
+extern struct SpeechdOptions {
|
||||
char *communication_method;
|
||||
int communication_method_set;
|
||||
char *socket_path;
|
||||
@@ -172,48 +172,48 @@ struct {
|
||||
int server_timeout_set;
|
||||
} SpeechdOptions;
|
||||
|
||||
-struct {
|
||||
+extern struct SpeechdStatus {
|
||||
int max_uid; /* The largest assigned uid + 1 */
|
||||
int max_gid; /* The largest assigned gid + 1 */
|
||||
int max_fd;
|
||||
} SpeechdStatus;
|
||||
|
||||
/* speak() thread defined in speaking.c */
|
||||
-pthread_t speak_thread;
|
||||
-pthread_mutex_t logging_mutex;
|
||||
-pthread_mutex_t element_free_mutex;
|
||||
-pthread_mutex_t output_layer_mutex;
|
||||
-pthread_mutex_t socket_com_mutex;
|
||||
+extern pthread_t speak_thread;
|
||||
+extern pthread_mutex_t logging_mutex;
|
||||
+extern pthread_mutex_t element_free_mutex;
|
||||
+extern pthread_mutex_t output_layer_mutex;
|
||||
+extern pthread_mutex_t socket_com_mutex;
|
||||
|
||||
/* Table of all configured (and succesfully loaded) output modules */
|
||||
extern GList *output_modules;
|
||||
|
||||
/* Table of settings for each active client (=each active socket)*/
|
||||
-GHashTable *fd_settings;
|
||||
+extern GHashTable *fd_settings;
|
||||
/* Table of default output modules for different languages */
|
||||
-GHashTable *language_default_modules;
|
||||
+extern GHashTable *language_default_modules;
|
||||
/* Table of relations between client file descriptors and their uids */
|
||||
-GHashTable *fd_uid;
|
||||
+extern GHashTable *fd_uid;
|
||||
|
||||
/* Speech Dispatcher main priority queue for messages */
|
||||
-TSpeechDQueue *MessageQueue;
|
||||
+extern TSpeechDQueue *MessageQueue;
|
||||
/* List of messages from paused clients waiting for resume */
|
||||
-GList *MessagePausedList;
|
||||
+extern GList *MessagePausedList;
|
||||
|
||||
/* List of different entries of client-specific configuration */
|
||||
-GList *client_specific_settings;
|
||||
+extern GList *client_specific_settings;
|
||||
|
||||
/* Saves the last received priority progress message */
|
||||
-GList *last_p5_block;
|
||||
+extern GList *last_p5_block;
|
||||
|
||||
/* Global default settings */
|
||||
-TFDSetElement GlobalFDSet;
|
||||
+extern TFDSetElement GlobalFDSet;
|
||||
|
||||
/* Inter thread comm pipe */
|
||||
-int speaking_pipe[2];
|
||||
+extern int speaking_pipe[2];
|
||||
|
||||
/* Managing sockets communication */
|
||||
-GHashTable *speechd_sockets_status;
|
||||
+extern GHashTable *speechd_sockets_status;
|
||||
typedef struct {
|
||||
int awaiting_data;
|
||||
int inside_block;
|
||||
@@ -234,10 +234,10 @@ void MSG2(int level, char *kind, char *format, ...);
|
||||
#define FATAL(msg) do { fatal_error(); MSG(-1,"Fatal error [%s:%d]:"msg, __FILE__, __LINE__); exit(EXIT_FAILURE); } while (0)
|
||||
#define DIE(msg) do { MSG(0,"Error [%s:%d]:"msg, __FILE__, __LINE__); exit(EXIT_FAILURE); } while (0)
|
||||
|
||||
-FILE *logfile;
|
||||
-FILE *custom_logfile;
|
||||
-char *custom_log_kind;
|
||||
-FILE *debug_logfile;
|
||||
+extern FILE *logfile;
|
||||
+extern FILE *custom_logfile;
|
||||
+extern char *custom_log_kind;
|
||||
+extern FILE *debug_logfile;
|
||||
|
||||
/* For debugging purposes, does nothing */
|
||||
void fatal_error(void);
|
Binary file not shown.
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-0.6.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-0.9.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -1,13 +1,9 @@
|
||||
DIST ansible-4.6.0.tar.gz 35644507 BLAKE2B 94f544caa81ba7d20493f469483612f2ebf9eb1c4be18006b5ca6afdb3bd45428226340a0658b8f1ebecf8bd06396763ba888bb1cbd48aa6b71aaa6a56542d38 SHA512 5b7fad69628dded0b42a25e3f2fbbcc30ef876dc3f97dc1dff2c7db6443d1506fe5db62bc4d8a00ebfb7dc78ecc205a56bea3bf760f85260c835b2286f63b702
|
||||
DIST ansible-5.10.0.tar.gz 36898833 BLAKE2B 5705325c150909e4911cbc6fafb9b6194bcd15cf7a97978835b29cb8b87b671fa888163e28e825d1fc98006c57313677afed63236f4a55af415a70daf5fe305f SHA512 d81b34642533dfaf0c3dba5ecc8ba483efb3d82bd40afa469de2778666e932bec3c20e61ae579184fcbd7f1ec7c8d694617f334ebb3e910db3c9f6709d3b9385
|
||||
DIST ansible-5.9.0.tar.gz 36756162 BLAKE2B 4c713f0a45536aadbd20451c5b5ac37b474cb1d1f9fbfa6031b228a549bfd65e1ae0ee76d6fcd08a0de43d7d07eaebf90d08d00764acad438bcffcdb09c5d58b SHA512 88b26b1ba59a39370ee4a27eedda441d6e6ce8ba8eb857353572c692e49b189e95ed80e5063917c52799fb15bc3608d4c1ada013a7d650909714ca8ea5dd3bbb
|
||||
DIST ansible-6.2.0.tar.gz 35390078 BLAKE2B 1e7a5f69e837fe3ec383ee3f1d631ad7ecbd502e582752edef85b3e2841b38ba78af1e7f080b4da007283291d487e481141bc4261b351f48be45874a3399789f SHA512 7e0751fdedef6bd92a01c06e23dd482bb4b4795ef5a17754eea8f8297cebddb84b4d20041affec6589297214cd820cddaea4618d2f3a158daebb556c4a87bdb0
|
||||
DIST ansible-6.3.0.tar.gz 35480527 BLAKE2B ddc064f6dc4b1fe820f375d150cc5f50875de4bf721eb31e88d0c279e91e96a6fd4d7981e0110f4fc7d424eeb4c44637c611442b4586d756106c437e240f3118 SHA512 3832159065d6400caade84de1ff5f31d64d7b5d9c3a61ae9bb2ad207e410166dac3537c68d0ec3df7c4b8aec61ee48cc4b690e3117a987efa9306c6cbee534e0
|
||||
DIST ansible-6.5.0.tar.gz 38275680 BLAKE2B 5d17ba2b8b3a0ccb1ea9873c0d500ca7984d2d3db19d062807004da5c001ee44d33cd6707226887bef8f6bae0ea9584f8c2c63a8cb176a2244b3b2ad92e13454 SHA512 ddb77304c6a9617186fa0252a0da91632ffc21f910e02fc68e340ed37de0806586a2543700e996db7fb0bb9240a2ee20b7a462f005de200028748b38fbb2e293
|
||||
EBUILD ansible-4.6.0.ebuild 701 BLAKE2B d484948763f9511dd75724514873b3b0823855ce3c05e136ebe72d0dbdda4297faff6f8c1c4be0219b373683cc0e208413888b29469daf018e94730cca7bfa4c SHA512 6f5d5560e0fa042bf889ca44a59346184a11e44c7488ff73d04f4c71f7b95e35a5032732fc08ea9b1e0c76f0ed68a2c844fd00a994d4712369e9afcda415e3ec
|
||||
EBUILD ansible-5.10.0.ebuild 702 BLAKE2B 3d91e2541f6063cb2e6df89ecfec63e64609eaf9e3fc9fb08e0076d73899551734a05a64ca04234caa4bacf2ca95e3c766a2af5005c79c496af2a46020c7110e SHA512 5236c7ab0cce12706e5346084ba71e2fbf49d8be58b6164ed9b7312dcf1027826b6ceafcc22f380b08c4f180df2eb93a2f84d734af92272b2b246111cf1fe507
|
||||
EBUILD ansible-5.9.0.ebuild 702 BLAKE2B 3d91e2541f6063cb2e6df89ecfec63e64609eaf9e3fc9fb08e0076d73899551734a05a64ca04234caa4bacf2ca95e3c766a2af5005c79c496af2a46020c7110e SHA512 5236c7ab0cce12706e5346084ba71e2fbf49d8be58b6164ed9b7312dcf1027826b6ceafcc22f380b08c4f180df2eb93a2f84d734af92272b2b246111cf1fe507
|
||||
EBUILD ansible-6.2.0.ebuild 702 BLAKE2B ea065c0134168d49da5ffe6c4eab27377d788a172ad26ddcfa811f4ffa1c88889e0e0fcebe2ba3f26536bc4a47b2d07c1c7711d946073caeb55b1f37c2725049 SHA512 b4cd181d78b5dfbc02dc499956bb0693447786f878b3d9efdcde61dde6cf6e44a1cf7b63ca9217fbd0ea1d742b0695f16ae50816220bad24094f70f3ba44acf7
|
||||
EBUILD ansible-6.3.0.ebuild 702 BLAKE2B ea065c0134168d49da5ffe6c4eab27377d788a172ad26ddcfa811f4ffa1c88889e0e0fcebe2ba3f26536bc4a47b2d07c1c7711d946073caeb55b1f37c2725049 SHA512 b4cd181d78b5dfbc02dc499956bb0693447786f878b3d9efdcde61dde6cf6e44a1cf7b63ca9217fbd0ea1d742b0695f16ae50816220bad24094f70f3ba44acf7
|
||||
EBUILD ansible-6.5.0.ebuild 705 BLAKE2B c01b5eecd57078d7c34c1992a5ade3d72f941bc14ee3bb1a88d3731f72aba08643bb53df826cc6c184100d404d2331f136d52a0299c1df7b1bce7cc692ef6842 SHA512 813a49b0388a0560e828a1bf26d9093dafaa5faf71317b0f60dfe1f044ff96b0acaedfbe086bb017b0199b0f1770a2f9d307a212633524ab6f17d00c02f84ea4
|
||||
MISC metadata.xml 726 BLAKE2B 92c09d65c38a346db34eddf78f75aba7d914df678e37dcd54b1a47cf3d7f043604fad89b435fa08877bb0c7254fb1a99db32bdd298f2b12af6f8089828f1e67e SHA512 40b712fc2055cfc60fdcb33705757509adc97feb893c46dab1e6e7d8b88ab2026b3b0ada66d7504f86b25072a4d3bffee023a5aa0e8b5286bcf58a8cb18c5ac3
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.12.0
|
||||
<app-admin/ansible-core-2.13"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.13.0
|
||||
<app-admin/ansible-core-2.14"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
# botocore is x.(y+2).(z-1)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 1 ))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
AUX calamares-3.2.32.1-remove-broken-tests.patch 1682 BLAKE2B 1d41c22b99797d41066e55b21bd5b9957411c210be3d1a8c01470694211387aa7e8b931d5499143d7d2747657625ac1c3db17d67bac9f741aada25fde93f517a SHA512 1c4a5a2d8b6c96299f45d3ef7581dfdca81c0854c9c746e6636a07101fb4e0d05809a4d64d826180599969c6fe398175dc7f5322ab52ff6c61dac4925919f275
|
||||
AUX calamares-pkexec 43 BLAKE2B 432999808da0fdde0e5d9c88887a5f112ac00c90af51f3d907d02ab4f9eb4fae7348856028bcfff98ced8698d0d039bd9506f50baa90f5b12b43c1b72885f230 SHA512 768148cd58cdfb5c6791b76ec60c21a4ca852120f53ed31a83bc7a2e0a26aa77b10bd3756182d3dff03208e820def4b83c45edba0484fa2f5a33c93880c3f4bb
|
||||
DIST calamares-3.2.32.1.tar.gz 3425260 BLAKE2B e10174d400a402cfe3d7a015f4fe7a02ad1653e5a4cdf65c31360467e3b3ff10629d991dd206424d51c67533f8ab550e09e74b4334dbebe9e5fec1a06ed0dbd4 SHA512 30e523dd3c340f9c4385a53a4011ed0f16e317572fa2e5b6acfe638aaf029538f0ab85924999e9683ba10014be99b3c35ff3234bc85cefa2ccd14e2715c87222
|
||||
DIST calamares-3.2.60.tar.gz 4260547 BLAKE2B edf300ce9d534cd506b2341b3ce314bbde7fcc6dac40ad2307e549bbeab7a63ddfe6d7ae8c8176ee1ad4e4b02c9eadcd5efc66872e1f464c39200d8d117dca80 SHA512 dfc01212f74694f10d40dd1d1ad61db384c83021dc9cd4753027a9cf40b92c8e8b2d5032df76533a8f22c05448aba546c9bb21c38c03fb0cb8d7de35fb79fb7f
|
||||
EBUILD calamares-3.2.32.1-r1.ebuild 2182 BLAKE2B c2c591c1ea00238b0524133844bb9a9cb45cf637fdf3cfc702d879365e5e385aabb1b78744669c284eceaad87d8954acd7e4819c1632e56795c88860b70bc8aa SHA512 710ed8a76a7a555fbb295b30e98b3d4c4afd946d364688eebe79e9ea728f215ce24e4c39cea5d33a300c69488b842da6871fd11a1fc53b9a5b19a5d04e34e28f
|
||||
EBUILD calamares-3.2.60.ebuild 2699 BLAKE2B 4bd39e8261f05601b3a2bddfedc8d61b1c700438007a6d47dd01412d3fe4e22b4b0c9cd2aba8cdb431deb9cb2e750b12f709be54062090fa813eff9e0bb46b14 SHA512 a2a69b688888f99a8cda7c1f8b4e81b942f9850e155f86966e3ed0de0bf1d1b36e29bc38be17bce1e99fc0f476a9290e95b0e0ad3e27cc31df736e31d7a1d175
|
||||
MISC metadata.xml 781 BLAKE2B 56d64535b539de398557b26f7705e6aa222d7073a0c31a38069d45deec697e488891c95850324a7610ee1faf8f4ce2e04d0d0a9fd29300afa5e5bf42804e6942 SHA512 156cd07700dfab61f78bbdd4c626a098ce111428cebbbc6ab541f60f12e347f62236ad21d2fd8031babfc0be87ad4b246ad2afb3e453005588f87bc500c78c72
|
||||
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_TEST="true"
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit ecm python-single-r1
|
||||
|
||||
DESCRIPTION="Distribution-independent installer framework"
|
||||
HOMEPAGE="https://calamares.io"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+networkmanager +upower"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-cpp/yaml-cpp:=
|
||||
$(python_gen_cond_dep '
|
||||
dev-libs/boost:=[python,${PYTHON_USEDEP}]
|
||||
dev-libs/libpwquality[${PYTHON_USEDEP}]
|
||||
')
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/kcrash:5
|
||||
kde-frameworks/kpackage:5
|
||||
kde-frameworks/kparts:5
|
||||
kde-frameworks/kservice:5
|
||||
sys-apps/dbus
|
||||
sys-apps/dmidecode
|
||||
sys-auth/polkit-qt
|
||||
>=sys-libs/kpmcore-4.0.0:5=
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-admin/sudo
|
||||
dev-libs/libatasmart
|
||||
net-misc/rsync
|
||||
|| ( sys-boot/grub:2 sys-boot/systemd-boot )
|
||||
sys-boot/os-prober
|
||||
sys-fs/squashfs-tools
|
||||
sys-libs/timezone-data
|
||||
virtual/udev
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
upower? ( sys-power/upower )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.2.32.1-remove-broken-tests.patch )
|
||||
|
||||
src_prepare() {
|
||||
ecm_src_prepare
|
||||
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
|
||||
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
|
||||
PYTHON_CFLAGS="$(python_get_CFLAGS)"\
|
||||
PYTHON_LIBS="$(python_get_LIBS)"
|
||||
|
||||
sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' \
|
||||
calamares.desktop || die
|
||||
sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' \
|
||||
calamares.desktop || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_CONFIG=ON
|
||||
-DWEBVIEW_FORCE_WEBKIT=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_LIBPARTED=ON
|
||||
-DWITH_PYTHONQT=OFF
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ecm_src_install
|
||||
dobin "${FILESDIR}"/calamares-pkexec
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
--- a/src/libcalamares/CMakeLists.txt
|
||||
+++ b/src/libcalamares/CMakeLists.txt
|
||||
@@ -216,12 +216,6 @@
|
||||
)
|
||||
|
||||
calamares_add_test(
|
||||
- libcalamaresnetworktest
|
||||
- SOURCES
|
||||
- network/Tests.cpp
|
||||
-)
|
||||
-
|
||||
-calamares_add_test(
|
||||
libcalamarespartitiontest
|
||||
SOURCES
|
||||
partition/Tests.cpp
|
||||
@@ -238,12 +232,6 @@
|
||||
endif()
|
||||
|
||||
calamares_add_test(
|
||||
- libcalamaresutilstest
|
||||
- SOURCES
|
||||
- utils/Tests.cpp
|
||||
-)
|
||||
-
|
||||
-calamares_add_test(
|
||||
libcalamaresutilspathstest
|
||||
SOURCES
|
||||
utils/TestPaths.cpp
|
||||
--- a/src/modules/locale/CMakeLists.txt
|
||||
+++ b/src/modules/locale/CMakeLists.txt
|
||||
@@ -37,18 +37,3 @@
|
||||
yamlcpp
|
||||
SHARED_LIB
|
||||
)
|
||||
-
|
||||
-calamares_add_test(
|
||||
- localetest
|
||||
- SOURCES
|
||||
- Tests.cpp
|
||||
- Config.cpp
|
||||
- LocaleConfiguration.cpp
|
||||
- SetTimezoneJob.cpp
|
||||
- timezonewidget/TimeZoneImage.cpp
|
||||
- DEFINITIONS
|
||||
- SOURCE_DIR="${CMAKE_CURRENT_LIST_DIR}/images"
|
||||
- DEBUG_TIMEZONES=1
|
||||
- LIBRARIES
|
||||
- Qt5::Gui
|
||||
-)
|
||||
--- a/src/modules/packagechooser/CMakeLists.txt
|
||||
+++ b/src/modules/packagechooser/CMakeLists.txt
|
||||
@@ -58,13 +58,3 @@
|
||||
${_extra_libraries}
|
||||
SHARED_LIB
|
||||
)
|
||||
-
|
||||
-calamares_add_test(
|
||||
- packagechoosertest
|
||||
- GUI
|
||||
- SOURCES
|
||||
- Tests.cpp
|
||||
- LIBRARIES
|
||||
- calamares_viewmodule_packagechooser
|
||||
- ${_extra_libraries}
|
||||
-)
|
||||
--- a/src/modules/users/CMakeLists.txt
|
||||
+++ b/src/modules/users/CMakeLists.txt
|
||||
@@ -70,15 +70,6 @@
|
||||
)
|
||||
|
||||
calamares_add_test(
|
||||
- usershostnametest
|
||||
- SOURCES
|
||||
- TestSetHostNameJob.cpp
|
||||
- SetHostNameJob.cpp
|
||||
- LIBRARIES
|
||||
- Qt5::DBus # HostName job can use DBus to systemd
|
||||
-)
|
||||
-
|
||||
-calamares_add_test(
|
||||
userstest
|
||||
SOURCES
|
||||
Tests.cpp
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX filebench-fix-automagic-libtecla-dependency.patch 1088 BLAKE2B b2acdc8e02b7bececb6680c0a7131443bf2ddf56ce24105713d23f005109651049ffc7e7859c8762402d50b85ca44e1a04351ce65884c835a22d77d72e31c655 SHA512 8c04b18d77749757bb98718ddc086637c9f541c48a2651e28b0d48586d4794feaa86eff1dafbe0c2c93bfe7ac2d090ab8fb38216f5999152309118ff3247b35d
|
||||
DIST filebench-1.4.9.1.tar.gz 349535 BLAKE2B 774eab935fba422064c9c6a5c233b99545b639b4319cb9658b6555d087f1af0f59c29de57a5fef94c2256199f1c328d2309641785d8573832629fb4a28b2e716 SHA512 a6400aba4266fcf98e46c4824796a594adc5d5e7f9605f6e1ab01973ce448e27948991e453b186947a8d89f8603a69a3ba955edf2a1abccd2935196af7b6f0d1
|
||||
EBUILD filebench-1.4.9.1-r1.ebuild 667 BLAKE2B 1c54c571520c9b20b9e53b3486bac3443c4a2a91fb7cb3a1788bcd90c46aa1a4a3b458cd1241c1138b7bef74de8dc86d335e4fb85d7267876d5b2db05dd6cedf SHA512 228a7297e0018c5616d34da4cf8151ca475e0b74f9ac3eecf2747687483cc6137899e77f4c5d4de8f16bde5f8f01eb802856ba97685ff654c35659da3526178b
|
||||
EBUILD filebench-1.4.9.1-r1.ebuild 674 BLAKE2B b016fc1512dbdc065b578983a22ad141519dcb8a646418797bc29b1ca9dbd7877a6ba449a4a4ae748867ddcd18f80f910be7b9931fe08862bf361a8cda74b602 SHA512 1acaa77ee080be71cd622758dc59ca6794fd18ae6632b282af62ec6a350631634c629a3a963503219f39adadbab1b48ff1a5d27901f9e36f7765a54fd563e4f1
|
||||
MISC metadata.xml 565 BLAKE2B c16fd7dbff9995648773b7e39b711de429d7d5a3736665d1b97629b322d73e03afc607809f64162aeb52af967b88dd176482b396670b5062c8470b1d82779f14 SHA512 c7a656b496dbae63ffdef00923a3b04d30c79b4bde6b5d55d70365b71af3f086a32bfd691ba6ec427f092beecb0d4060c1c16f926e1745fe9e1881d7b9362b0c
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST catatonit-0.1.7-automake.patch 965 BLAKE2B fd42082321b75210653657cadd09751aa70a1eabeea4abc0cbc06aa91c510cff70d4261759407426a198f1aa3a1826d9f3a255d18e0e22e2dad53eca6b76ee87 SHA512 62cb75e8dcff7348eb5fe9dfb57627659bb755ffdd6a29b6d4e486e2b4c92945fa7420410941523585102ac11b14c2a1700fb6fd3fd663e7f38c10863f82fa87
|
||||
DIST catatonit-0.1.7.tar.gz 21720 BLAKE2B ab73198e55dd06d3d0af04e6eff17a2f1e70ab1c0f9ec35f68f9afe71ce8cd1bdc3320e9728a6d8036c2251fe95028e1aad0838d1c9f51e4cc70e482a1109c24 SHA512 7d3174c60e1c8bd1f4b95b7751ccbe01cac63265060f18914b53311f68f7b4c63c693604f348ccfac5db4a96939169f835fbbbd614803b18062053d94f7dca67
|
||||
EBUILD catatonit-0.1.7.ebuild 659 BLAKE2B b5214118ec95a4703f30802d0a665cd6cad7855d100880754bc346c2e4182c167088520127b676b45969c76eb2387f9089f9323fec982d72e026a31d41282069 SHA512 a27362f5a46bc11e06b7116d8776f9274de0bc4ee701851348581e1d52e04cd220bb8173f1a186f5683c22d3b738d32be3f1559d4c93c6c7a729b86a1ad8d69d
|
||||
EBUILD catatonit-0.1.7.ebuild 671 BLAKE2B 98de260f7abb37378f338eeed4f9bea1ae32e753e1d5fd6453a5f64438910d0937b9624ff6c3e601f780fb69b3e091cccc853108f1cf1b1e75fdcef75c40aca3 SHA512 c6aae6ccb517f8f25cd0504cecdb9680b2687dbb1eee35fababbe40429c764e272d8ac5cc5acda883759fb2a29d68524f253da201e2c1ebcc0491a9028370b7c
|
||||
MISC metadata.xml 302 BLAKE2B 25c8cfc1578a53cf585b81b225690f2b06a58cdec8fc6fdbbda943a9210924cb82a5552ace8e84edfd46a0ee186c71a273f318e53a201f6c46d7ea32577a8073 SHA512 1b504f841f32820714d82a565ceb2c1ebc43e484caf43d8d8a2b9e99d06bba1d9ae41bb2fc767f5512dbe3b09432a693b5a67767a40338e793009cf34c937a3d
|
||||
|
Binary file not shown.
@ -1,24 +0,0 @@
|
||||
https://patch-diff.githubusercontent.com/raw/openwall/john/pull/4822.patch
|
||||
|
||||
From dd9501341808fe19b9c5cd4f8f04edfc5f377077 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Wed, 22 Sep 2021 19:34:38 +0100
|
||||
Subject: [PATCH] configure.ac: avoid bashism in pkg-config check
|
||||
|
||||
== is a Bashism and configure scripts need to work
|
||||
with a POSIX shell, so let's change to = (like in
|
||||
the other condition).
|
||||
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
--- a/src/configure.ac
|
||||
+++ b/src/configure.ac
|
||||
@@ -347,7 +347,7 @@ AS_IF([test -z "$STRIP"], [AC_CHECK_TOOL([STRIP], [strip])])
|
||||
dnl Check if we have this at all
|
||||
PKG_PROG_PKG_CONFIG
|
||||
AC_MSG_CHECKING([if pkg-config will be used])
|
||||
-if test "x$PKG_CONFIG" = x || test "x$enable_pkg_config" == xno ; then
|
||||
+if test "x$PKG_CONFIG" = x || test "x$enable_pkg_config" = xno ; then
|
||||
JTR_MSG_RESULT_FAILIF_FORCED([xno], [x$enable_pkg_config], [pkg-config is NOT available])
|
||||
PKG_CONFIG=no
|
||||
else
|
||||
|
@ -1,53 +0,0 @@
|
||||
https://bugs.gentoo.org/786651
|
||||
https://github.com/openwall/john/commit/8152ac071bce1ebc98fac6bed962e90e9b92d8cf.patch
|
||||
|
||||
From 8152ac071bce1ebc98fac6bed962e90e9b92d8cf Mon Sep 17 00:00:00 2001
|
||||
From: Ferry Huberts <ferry.huberts@pelagic.nl>
|
||||
Date: Tue, 9 Mar 2021 22:04:46 +0100
|
||||
Subject: [PATCH] Fix alignment compile errors on GCC 11
|
||||
|
||||
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
|
||||
---
|
||||
src/blake2.h | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/blake2.h b/src/blake2.h
|
||||
index b05208117e..b4398f9e13 100644
|
||||
--- a/src/blake2.h
|
||||
+++ b/src/blake2.h
|
||||
@@ -57,7 +57,7 @@ extern "C" {
|
||||
uint8_t personal[BLAKE2S_PERSONALBYTES]; // 32
|
||||
} blake2s_param;
|
||||
|
||||
- JTR_ALIGN( 64 ) typedef struct __blake2s_state
|
||||
+ typedef struct JTR_ALIGN( 64 ) __blake2s_state
|
||||
{
|
||||
uint32_t h[8];
|
||||
uint32_t t[2];
|
||||
@@ -82,7 +82,7 @@ extern "C" {
|
||||
uint8_t personal[BLAKE2B_PERSONALBYTES]; // 64
|
||||
} blake2b_param;
|
||||
|
||||
- JTR_ALIGN( 64 ) typedef struct __blake2b_state
|
||||
+ typedef struct JTR_ALIGN( 64 ) __blake2b_state
|
||||
{
|
||||
uint64_t h[8];
|
||||
uint64_t t[2];
|
||||
@@ -94,7 +94,7 @@ extern "C" {
|
||||
#if defined(JOHN_NO_SIMD) || (!defined(__SSE2__) && !defined(__SSE4_1__) && !defined(__XOP__))
|
||||
typedef struct __blake2sp_state
|
||||
#else
|
||||
- JTR_ALIGN( 64 ) typedef struct __blake2sp_state
|
||||
+ typedef struct JTR_ALIGN( 64 ) __blake2sp_state
|
||||
#endif
|
||||
{
|
||||
blake2s_state S[8][1];
|
||||
@@ -106,7 +106,7 @@ extern "C" {
|
||||
#if defined(JOHN_NO_SIMD) || (!defined(__SSE2__) && !defined(__SSE4_1__) && !defined(__XOP__))
|
||||
typedef struct __blake2bp_state
|
||||
#else
|
||||
- JTR_ALIGN( 64 ) typedef struct __blake2bp_state
|
||||
+ typedef struct JTR_ALIGN( 64 ) __blake2bp_state
|
||||
#endif
|
||||
{
|
||||
blake2b_state S[4][1];
|
@ -1,12 +0,0 @@
|
||||
--- a/src/opencl_common.h 2020-08-03 15:49:20.000000000 +0100
|
||||
+++ b/src/opencl_common.h 2020-08-03 15:55:23.081101690 +0100
|
||||
@@ -81,6 +81,9 @@
|
||||
|
||||
#ifndef CL_DEVICE_TOPOLOGY_AMD
|
||||
#define CL_DEVICE_TOPOLOGY_AMD 0x4037
|
||||
+#endif
|
||||
+
|
||||
+#ifndef CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD
|
||||
typedef union {
|
||||
struct {
|
||||
cl_uint type;
|
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
AUX 50geiser-gentoo.el 295 BLAKE2B 5dfbb043d11f242fae453719c85c7b5dd6abfa16e390de35c390d4dec9f80e512039e5d7dd6d79986df9e8d0822c12562d32001ad6bc6a33ab8c168299548044 SHA512 1a7ebc8f2b2e95ee5b1e7c81d498d6239fa88110165f54e6926bedcee4d1ba64c11e6946d8129d0a6958b0ecb280011af3c64c283279d183dc843b0328aa178c
|
||||
DIST geiser-0.23.2.tar.gz 653228 BLAKE2B ef0ce0a925a9d5df32a2b67b216dc46da535d68d70b706ffc9dd4d3bb01af879c9533337b2e8293c7bed8d3cdebeecd3f4443b3071f865cf1b7280347b202298 SHA512 dd6852d95296aaef44ad0e9a6723986372d58f9beab20bd45330aeffae590fbd5ea45822032fb9cc2712756e3b13ba5c829fbefeead4e5f41c94400bf059110e
|
||||
DIST geiser-0.25.1.tar.gz 652262 BLAKE2B 8c5a323bedd869c98bf500c861c7731a0b1dd9833f78bf348a2e29d26039c674a00b51529d77b56b213ccc1351b73388010847551b3cd829fb265cffb733864a SHA512 93a8d7e096a24759f5e8c9dbdd2d4ad31caf185c6a970ff1b4364c4492e5f2e0925cc59e97546f9c40dd5913fb2b38e7ade7599ef791c6e198ad0af966030f16
|
||||
DIST geiser-0.26.1.tar.gz 652903 BLAKE2B f2b0121b390b33ee8d93136af9addd92dff7f683820bb32f76f36090b5028e9693f629949dd239a27597fc4e290c21100e1cdc143f5db3fb275bb5bd826d5862 SHA512 dfec087e94e73c4b3a12db56ea3192614c536aaeb3acdb20e1afe0512e69f09388576e19acc6e55a39f8f5b6397bcef40ad7f1cce0504ffe742d1f9478eed44f
|
||||
DIST geiser-0.26.tar.gz 652756 BLAKE2B ac32db838473b8a07394146d5f7dc88ba2bfb36f4d169af14029e202a6d87950a69f0b920ed6a627bda90843cc77c1c7e57f49fee53af87ed9526642bdb65c27 SHA512 df6d7ec500e8e0546c56630f7f2f0901df8fa373924ac812b25ab0cfbeea2a5d0b9f1719850a7454eb7e7d0dda95209c201de85ff3937b717f2bec6ed2513e6b
|
||||
EBUILD geiser-0.23.2.ebuild 834 BLAKE2B b90c8a5c14b9f2dd9f8f69e1c5a93fd7b365c526df5c092b8a3569495326bb93fd4021520626a55b8b84d56f790c80287609f4a6c3ef17253e61dffc86b75095 SHA512 9e9d190d12434c0a657261b3de77d74796d183002243762c1b4ab98a94374bce1abaa12ea4c89f508041c49afbf89f090d53766edd4fbc7200c33d5e349f88dc
|
||||
DIST geiser-0.27.tar.gz 653843 BLAKE2B 29f13b274bad54cfed2aaaebcbfbea266b6b1a2dba1d5daf27ee6344929ef449d733f4e5e6d66eb82c45187f79506aa68dfa2a4fc82102004941bad732ccbbf6 SHA512 be526047519aa007045370201965eae8ec1025b670e1e092f4653c64a9127fdf56059e46daa479132e5d6880b5d29845acd94002c48c0e0a151f2c2482a8e940
|
||||
EBUILD geiser-0.25.1.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
EBUILD geiser-0.26.1.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
EBUILD geiser-0.26.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
EBUILD geiser-0.27.ebuild 804 BLAKE2B 4a20fad9c4b842d3e314738bd8a2e8ed83881f8ad9bc9a41f65392af7aeee25598634dec6e03ea948f36de139777df25e30281837b42be40288979ee92006b10 SHA512 6f8db059104559efcc4e82a2785ea2922da8bcb9ced667d7d1dd7477d11db9974c12e9d562899d49afa3a41c590751c981989b2bd272476016e4d78f469ef905
|
||||
MISC metadata.xml 551 BLAKE2B 2aedbc78837b20f258a94790c4a84f8bfab77f4d71e65354ea6439122c4d84378776c7f9c9a7649c0aadc68df9f33eeca482712961eb8b3af0dffde4d1769ded SHA512 aa663549e7f0710b8629889dd57bb99cc2ec2f2ea93c86d6b75dd85fe4a8467abb4688b38a38b8051655fc0705b8f1e0a7c71c6159abc7170e0bb1b9a0c7c112
|
||||
|
@ -0,0 +1,4 @@
|
||||
AUX 50metamath-mode-gentoo.el 185 BLAKE2B c426f84b359692e8ec0c18b43c9ad80ec4ec911d248504dd0a684ddc5e18f2a6a20c749f8aa5e410a993760b9876f5f3c36f70ddcfc67c523923efb578609b0d SHA512 29594b37fea09d0848c14d5fff63d445637d3a043e114c4e252a042a12068d93d0d2f4d4a2c9da468279125d06e40c281a04aa7dc90530274a8166cb6fd23f2a
|
||||
DIST metamath-mode-0_p20221005.tar.gz 1490 BLAKE2B fabb0c6c69306e6998a144d19774d442c5803446218607f62c134d5912a891ffa09cedf06c19e16a05cf3790528ba4063054540834ecab42d6852068b88be682 SHA512 39b5dd4a3967ecdc29d7637fc592c9fd398d0fe3c12344e1930fc5082057f3cb78e564319655d063fce62bc4b9581fad7debb5cb4085e5cc642a7d9d7ccede45
|
||||
EBUILD metamath-mode-0_p20221005.ebuild 486 BLAKE2B b1d1f10a6407d7c96fda777b12d79821c78b25375d670b5a15f1d37089880d425155df45a04408f026260267ae2a1cc4afcb697ceb4d59587a174ae5b911665e SHA512 fd1468de0200dddd34e196f82ff53f02dc9a9472b919341b761949e055995ede324198432555bdb885766cf1cdecc79d82c178d40da8e6eb504a7d9eed434f5a
|
||||
MISC metadata.xml 463 BLAKE2B 27260920c069dae2fed6a4ba482bc11c7ca9fba9c5f917f3d229a2b0141f2f18ce3e30efcb00360cbe22e9ddd4a1b5f87df7338d21bb97a7d8d2d32955e8dd12 SHA512 e01c0de8c4363242a55756db5f74b6831f2f2bbbd201655dfb22862fe84a182e920e221c8d903c79194fe455c5c3cc877ba35ecafe22051b36f1daf850c0b75b
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'metamath-mode "metamath-mode"
|
||||
"Major mode for editing metamath files" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.mm\\'" . metamath-mode))
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches />
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/samrushing/metamath-mode/issues/</bugs-to>
|
||||
<remote-id type="github">samrushing/metamath-mode</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=85bd63b88378e9f2dee2f7d5585ec6610bf098a6
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Major GNU Emacs mode for metamath files"
|
||||
HOMEPAGE="https://github.com/samrushing/metamath-mode/"
|
||||
SRC_URI="https://github.com/samrushing/${PN}/archive/${H}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,4 +1,4 @@
|
||||
AUX 50scala-mode-gentoo.el 65 BLAKE2B 90302bb73d75edce2b458ca15e3c12d284cace94257f251f4e24be3fdb825b78c48d79daa903bbc83b2be3d388468f8dea4cecb7e7ae6497c2d0f51b20c20f32 SHA512 399fa433716e4f867ebd91fb52da5ea1da503b5e6621943491ceca9c05740ee701879e9d966e2fb266e5ca05d999097b4b9413569385004454c81b8e010ec022
|
||||
DIST scala-tool-support-2.10.3.tgz 26040 BLAKE2B 7ff24aa2e16a1eb587e633839b9e6be7a146dfc99b0edaabe260a653aa931ddff6c10dea3d7bb5ad12bc3f25373f7064f20a75945badb3c3e55f4bff5991c697 SHA512 77bd695d1e577d05884a8b70d4edcc6a0af1da13de0f8cdf54d5636e0e93c22ec919ccd3d79e92382b6a9fe8085a08af37b9f5428c1ed14359faf8fc860a81b5
|
||||
EBUILD scala-mode-2.10.3.ebuild 474 BLAKE2B 1da7ecdf7bbefc1f9c05537ba2a08247c6c22a3152677bdeaced13c0f74af2a74d2f788876bc9598444c5e36f130d0d653bd3ac70858507d2fca1260ef02593f SHA512 d9aab32b885515604a9e296e9136bf3631befe1129e80521e7fafeb7179ef84919f0c868ea8918c645e65a952325b8d5f6b939e923904301911585d79ce456f0
|
||||
EBUILD scala-mode-2.10.3.ebuild 475 BLAKE2B 4acfb5e6f66ac84f462f546422928a273342c7ce17867fa8fd985470d323b9f0a05e205fa6d5aabe9db72f254132612e42b2e3acf46083cf4a7796e210a4959b SHA512 2cce8e3cd2cf9537a7ecd82e1130e3ec4e2691ca3be96d425dcdad58847e3b741b903e79186af8a1a85a9b6a7ce1ed9bf3a92b32460ebdf820f2758ab7d498b9
|
||||
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
||||
|
Binary file not shown.
@ -0,0 +1,350 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.3.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
|
||||
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="
|
||||
https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz
|
||||
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||
HOMEPAGE="https://www.winehq.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos ldap +mingw +mono netapi nls odbc openal
|
||||
opencl +opengl osmesa pcap perl pulseaudio samba scanner +sdl
|
||||
selinux +ssl +truetype udev udisks +unwind usb v4l +vulkan
|
||||
+xcomposite xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? ( games-emulation/dosbox )
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] ) )
|
||||
nls? ( sys-devel/gettext )"
|
||||
IDEPEND="app-eselect/eselect-wine"
|
||||
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.17-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
git-r3_src_unpack
|
||||
|
||||
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
|
||||
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local staging=(
|
||||
./patchinstall.sh DESTDIR="${S}"
|
||||
--all
|
||||
--backend=eapply
|
||||
--no-autoconf
|
||||
-W winemenubuilder-Desktop_Icon_Path #652176
|
||||
${MY_WINE_STAGING_CONF}
|
||||
)
|
||||
|
||||
# source patcher in a subshell so can use eapply as a backend
|
||||
ebegin "Running ${staging[*]}"
|
||||
( cd ../${P}/patches && . "${staging[@]}" )
|
||||
eend ${?} || die "Failed to apply the patchset"
|
||||
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with ldap)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd #867097
|
||||
use custom-cflags || strip-flags # can break in obscure ways, also no lto
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
# CROSSCC_amd64/x86 are unused by Wine, but recognized here for users
|
||||
if (( bits == 64 )); then
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu)
|
||||
if use mingw; then
|
||||
: "${CROSSCFLAGS:=$(
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{CC,{C,LD}FLAGS}
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
wine-eselect() {
|
||||
ebegin "${1^}ing ${P} using eselect-wine"
|
||||
eselect wine ${1} ${P} &&
|
||||
eselect wine ${1} --${PN#wine-} ${P} &&
|
||||
eselect wine update --if-unset &&
|
||||
eselect wine update --${PN#wine-} --if-unset
|
||||
eend ${?} || die -n "eselect failed, may need to manually handle ${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
wine-eselect register
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
nonfatal wine-eselect deregister
|
||||
}
|
@ -0,0 +1,318 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.3.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz"
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="https://www.winehq.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos ldap +mingw +mono netapi nls odbc openal
|
||||
opencl +opengl osmesa pcap perl pulseaudio samba scanner +sdl
|
||||
selinux +ssl +truetype udev udisks +unwind usb v4l +vulkan
|
||||
+xcomposite xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? ( games-emulation/dosbox )
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] ) )
|
||||
nls? ( sys-devel/gettext )"
|
||||
IDEPEND="app-eselect/eselect-wine"
|
||||
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.0-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with ldap)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd #867097
|
||||
use custom-cflags || strip-flags # can break in obscure ways, also no lto
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
# CROSSCC_amd64/x86 are unused by Wine, but recognized here for users
|
||||
if (( bits == 64 )); then
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu)
|
||||
if use mingw; then
|
||||
: "${CROSSCFLAGS:=$(
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{CC,{C,LD}FLAGS}
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
wine-eselect() {
|
||||
ebegin "${1^}ing ${P} using eselect-wine"
|
||||
eselect wine ${1} ${P} &&
|
||||
eselect wine ${1} --${PN#wine-} ${P} &&
|
||||
eselect wine update --if-unset &&
|
||||
eselect wine update --${PN#wine-} --if-unset
|
||||
eend ${?} || die -n "eselect failed, may need to manually handle ${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
wine-eselect register
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
nonfatal wine-eselect deregister
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST bottlerocket-0.04c.tar.gz 40533 BLAKE2B d42adfc40194cde1229f6e20a3ceed3115d1e1b41789b51f508edc09d12525f6e702c470f38aa94c95d9987b986f467a7723e65f616cbfdfdfa12a05096ea932 SHA512 37673bd9a519307f0ae3003f3a458dbb99d4fd0c96ebaa664f4967fe45b20c1132828c3c7a31e769157e6034c43c9cdcd1ecac8c6791812d2a04e93d4c0c6888
|
||||
EBUILD bottlerocket-0.04c-r2.ebuild 845 BLAKE2B cf81d2c8db9fa29363112602c0e314283b84935bf0ed32fa9841f26de0c3fb8ea3d6136d32a46d61750a333ad7a9d3ba34b2fc3f2237bbc6b4faa95fcf2da3e4 SHA512 fb208e7f313837176faafe00a42e853c14aac2c9d78f6573c9bd78af1ec020fe55768ddc9e0ae57d1d7f66370a1e8a47f7d2788b5617dabc899a127df7393c28
|
||||
EBUILD bottlerocket-0.04c-r2.ebuild 784 BLAKE2B 59664cfc8f7d63a6742c20b7a7a0ca267d89ff5e2ebadcd7d72adf8bdeee2c1708eb033e5dfead9410dd56be307f14709c29d11ed6c3bd76e7e980a9e5321cc5 SHA512 4e3e96b02fbd0da6c5186ea2797ea795b83846cd44811873e9ea718a9f73580c8402fd46eb94cfb387d38d3cb3d0b3b2efc5ba27abd1907ad277e595ea5decbe
|
||||
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
|
||||
|
@ -0,0 +1,181 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit linux-info python-single-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="https://www.lirc.org/"
|
||||
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
if [[ ${PV} == *_pre* ]] ; then
|
||||
SRC_URI="https://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
elif [[ ${PV} == *_p* ]] ; then
|
||||
inherit autotools
|
||||
SRC_URI="mirror://sourceforge/lirc/${PN}-$(ver_cut 1-3).tar.bz2"
|
||||
SRC_URI+=" mirror://debian/pool/main/l/${PN}/${PN}_$(ver_cut 1-3)-$(ver_cut 5-).debian.tar.xz"
|
||||
S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86"
|
||||
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
gtk? ( X )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
audio? (
|
||||
>media-libs/portaudio-18
|
||||
media-libs/alsa-lib
|
||||
)
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
ftdi? ( dev-embedded/libftdi:0 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
usb? ( virtual/libusb:0 )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-libs/libxslt
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
')
|
||||
doc? ( app-doc/doxygen )
|
||||
sys-apps/kmod
|
||||
sys-kernel/linux-headers
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
gtk? (
|
||||
x11-libs/vte[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
inputlirc? ( app-misc/inputlircd )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.10.1-runtimedirectory.patch"
|
||||
)
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
use uinput && CONFIG_CHECK="~INPUT_UINPUT"
|
||||
python-single-r1_pkg_setup
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Keep eautoreconf until a new release to fix Python macros
|
||||
# bug #849788
|
||||
if [[ -d "${WORKDIR}"/debian/patches ]] ; then
|
||||
eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series || die)
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
econf \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable devinput) \
|
||||
$(use_enable uinput) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use !gtk ; then
|
||||
# lirc-setup requires gtk
|
||||
rm "${ED}"/usr/bin/lirc-setup || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${ED}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${ED}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
# Avoid QA notice
|
||||
rm -d "${ED}"/var/run/lirc || die
|
||||
rm -d "${ED}"/var/run || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf || die
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${ED}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${ED}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${ED}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${ED}"/etc/lirc/lircd.conf || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf || die
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf || die
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "${EROOT}/etc/lirc/ directory"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX mx5000tools-0.1.2-find-netpbm-header.patch 941 BLAKE2B af7f7ae5d27f403b2429a4c8298acaf7fcf3971382a8c8c630b6ec12462164e2b1433894de4aac4235ae96706c0b79b4b7fba49611f31ed8a83fc73f93946abb SHA512 c663b416fae74cb937db9dce28e4b3d23ab3fb78df154f226524adb4cd8af7f5db38602e029cd8ca4ab8d66d250bd88083a92c09136fed3501e1b4dfac75aebe
|
||||
AUX mx5000tools-0.1.2-musl.patch 183 BLAKE2B 1031bd59f3ba0279b95deb7993729747b85eb60d954272d567a30d1f4b5b8d435fa745355f07c6f570177d54124e5dea8c7830c71e1e19758d4cd92d7c46a8b0 SHA512 35c9a77d0204a737af6b739eb49f6c6b5c6c7e6b8d533eda6fb4d08ae2fbd0e4b253d194e4f35b2694575d59fdb37fb1119113bdcb9900043a5fea58c625d9c2
|
||||
DIST mx5000tools-0.1.2.tar.gz 343118 BLAKE2B 74316ca3c730b5e03aa73a8cf5422eb3690b0e088254f9078da549f2d964df065ca7cd09f5f822cb3e66ad5bac0eab546c49703eaf837a132a61ab0755e729b8 SHA512 3773b8b233f02711bb7a768a68ccd3bf72e3d51fbb64ee2a70197d1b51e884a4f40048ba6b7dcde4be0703f25672ccb0fac9b0d6612b8a94f9e01b6a9f463613
|
||||
DIST mx5000tools-0.1.2_p20190613.tar.gz 18848 BLAKE2B d7a708d3ff7336129171297406603a290c0f6b647f40cc336e49fad3b4c8f38465e4eda60b189986fac8e5776a8d98fa7614186f21d73893b6be377770f9fdee SHA512 4e415c10b22dc390c434a2d3cb9b8f6f14fad5caddc0968fe09475d0c3aee4dfe3127db7665a2eabc91f4602064c30c815ef5765fbc485dd184f71637142622b
|
||||
EBUILD mx5000tools-0.1.2-r2.ebuild 837 BLAKE2B f5d20ed9e57d6b569baf1b277e90d9802a0ae5fb6856adf27dcc33bc80bdab1be66f635b76e5e48cce5d42d84af2bc29d15f1f1cf2a0bb8f39763cbc334dff48 SHA512 5fab34f8ceacd849977bd788dc63e103abcf92cf53024e65a91b48cfeb9f52543fe3994cb4295d5f16a613bd8392995f9c1a322e9aad0781b59ed4aa544014b0
|
||||
EBUILD mx5000tools-0.1.2_p20190613.ebuild 779 BLAKE2B 8eebbbd8cf6656fa15ab669542acb2c552ef5a220bf4a0034c9b930bcb7926a0a83b5b3ac14ed1e5092002f4e56b6d0f08b6068a60b6e62b2d3c243f9abeaec2 SHA512 8835b1f7911989cbf999df0d0a95597ad8bf749cb70f4b4b6ac90f86de727076d4e94e024eb4cb49baa2609f2b7d9b74cabf1442be10d3efe569c8a24db63a64
|
||||
MISC metadata.xml 621 BLAKE2B 8465cd0780c10815a91a48f7b48c1523a142d7b08fe0e09443878dc7389f9fbf0a21a9c0ae2807c9db7db9a1c91bc23b277efe4685de3556db838b9b53585965 SHA512 93ca085b9666a9709b30288c624cb8b379cac37070b1505c42385fd01784e1dc5cea1abd153f42072d7ce2df78b6748ce1232e22fca2cde723f58a0c44adf3cd
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MX5000_TOOLS_COMMIT="c575ea33f92495b4b0ccdb1ce09099f9c011e43f"
|
||||
DESCRIPTION="Tools for controlling the LCD on a Logitech MX5000 keyboard"
|
||||
HOMEPAGE="https://web.archive.org/web/20160409073317/http://home.gna.org/mx5000tools/"
|
||||
SRC_URI="https://github.com/jwrdegoede/mx5000tools/archive/${MX5000_TOOLS_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${MX5000_TOOLS_COMMIT}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
media-libs/netpbm:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,11 +1,21 @@
|
||||
DIST amd64-debug-libreoffice-7.3.4.2.tar.xz 1497883572 BLAKE2B 079fbc4e59aaf3b9ff613194f7c17122046c5389f344be5a504a94781e882ce94079686fda5c399868abe10da9f757fb953a4f90d77ac6337397e0244b56c632 SHA512 9e71642bff4086cb5f63d1088768e6a55e1090c3bfad2da019942be08f396780e7945803a7f6ad9d265a7f16d83b233daa685bfb1e80ccca6513368dedc54797
|
||||
DIST amd64-debug-libreoffice-7.3.6.2.tar.xz 1497854324 BLAKE2B a7da1c43d6fc7e2eb89d6ffcd3e32f6d23fd83cec157964e30a2eae7673dbc63837c3463e2b5596ab88abafe2e20abe1d45df2b347cff7fd3c4bb037b2491e97 SHA512 4d47a14a6df975dfc2f60324901b0524a080761627550c932b6eed0ddc493bd0decb186afa3c96b4ab596b0221fae8c951f20b7a4dee6f11089f0342d0abf104
|
||||
DIST amd64-debug-libreoffice-gnome-7.3.4.2.xd3 1426754 BLAKE2B 81e61d78f1943cdbae2ed7b4ffb5baa3144dfae8a3b8b9aeb9b893b020a85dc5ee2472548958df98c5b628674e73fcd6624884d394a0251bedcf19b321896e20 SHA512 ef77b52a56753225b7d31f63705af90cf5f693de595383e93d4731d10f654ed3135b50d7f582d968c359c75a3348937e45089e7e47aa1e76025e266fc07b120c
|
||||
DIST amd64-debug-libreoffice-gnome-7.3.6.2.xd3 1426602 BLAKE2B 04fca92bf294229becea573728ebfbd27c199e97ad93523a8b267392e354a57c94ccdfe73e11eb53c3954bf9c1a1a0a723d28c1049fdfa7b9c3bd07ef022b86b SHA512 2541f433bd09e429ccb0c90b106d1986f36a8d6d17e41839fcc12a60981aa1d28c1730b2e0761de57bdd64100a39e636400ca5cde7f781079456dea41579b75a
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.3.4.2.xd3 782367431 BLAKE2B 1cb5e9812164d3069c2196b3d52e3b871114789fb1d1e24599a0b12e51ce7bef4d5902ed7589e77df1c1271f25c00192e1742ce43b6ce3a3796fa5448241de27 SHA512 1068effa4b0b0eaa9fb03c06f556a9dc89c22f1702e6aa20690e16a787a557f794e6de726ba2d2280498a7d71e75c67d648f6e7bb36473a4504acba951b1f7c1
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.3.6.2.xd3 780978067 BLAKE2B 701061066369e29ed2d6f648e892fe417ba9efaf5fa64d74b25339a266caaebe3a8c5fddbbd8d4139db16c908956bc41b19db6e159cab332e2e8a26a0a44f8d8 SHA512 7a5dfc35aff3101e61379cef24373c08f137932480d68e169d679dab16df2e8595cb5efa74222829a932a2b35aaf9421bdda5336b32ed940f6ba4f5200fd54d6
|
||||
DIST amd64-debug-libreoffice-java-7.3.4.2.xd3 780949590 BLAKE2B 17bc92b792c19fa89331f2d232888c52bf1c5ee7310143b7ecf3839bd3c9af2406662869c6208d5a99b9506b128fc9fc03bfb889d2c76671f7627d4d1c7f935a SHA512 409d42e47e01f33850616d9bc8aed06e3ab6b19240abab7774e82680fcc7b22f9818d8a037a12d0f9a311a471920bbbf974ae64231395018329232cf6b71ed4a
|
||||
DIST amd64-debug-libreoffice-java-7.3.6.2.xd3 779563852 BLAKE2B 6edb2078f5b84f873a657d3f2a58d4254c5da287265d1bedd4876090441a5906ba51669eb1c22c5dd7114d40e11459118e79b6d913f26f5df7a6ec8559f92df0 SHA512 0b62bc74c245eff426a5f74897b3ebeefb603f778c95d3fd98272d986ebc86c9d546d0b3b2cd04b8fbc62f01305c121f156b2df7484235e1f7559b537c198712
|
||||
DIST amd64-debug-libreoffice-kde-7.3.4.2.xd3 474987720 BLAKE2B 1c1aa0ff471339655f376cfc711bfe2c18ade7eebedd89e2157927a06567892687d5281318097b939b9f21e67dd4a9661a2ef3880f7071cadf484e838f2802e1 SHA512 15dc56a6980795898217b0698931b7abc3abc45e766791eb22f1800f1771e29d41719d7fed0a2afad556704db2cea531a2eb743ea1e4886a7ebc14e30630ea62
|
||||
DIST amd64-debug-libreoffice-kde-7.3.6.2.xd3 474775315 BLAKE2B d857d45e7e1dde56c241d789afffe26d1398049c6fafa60c15345adc6ca56a139f91d709955b89ceb8e2f21d218677663f8b8e4b793a8e26bfc69d6bbfe30a92 SHA512 1f26ea2ba552cfd9ee1e0fada7d7d1c7b14197844d19d823c37ecc015db5fbc0e10d4bffe5d3bb3f0e2247590c653f669f8e87dbcbe5c1298b049de019289a9d
|
||||
DIST amd64-debug-libreoffice-kde-java-7.3.4.2.xd3 785653723 BLAKE2B e99cc01dd938e4a84b71e0597bebd1d14ab452051c5f4f0c4a582266fcaa0af8fb52c9f4ecfb7ce157a622c0a676e996160c43b3a5b82c14b954615bdf4e0db3 SHA512 4ce0fcc0f093a18448773a5342e114635461f42ab3517957f507d061e9e84ff34ef75bc28b6b42886fe61f1f6d5ace2a81229c4b62ceefb644910e7ab1003807
|
||||
DIST amd64-debug-libreoffice-kde-java-7.3.6.2.xd3 784092759 BLAKE2B d81d43912d18a16eaed4edcdd2cc3b635df763d0bc1e5e1eefd158590a12d9d24bb8a68126b3504992c30a71b5bb06cb6fe9c66ba1ab6297b351650f154a4db5 SHA512 5091aa0abb33e39374c281dc7894874d2be82da4d46bc4ce409a4f24ccaaf0493709880db45b1c38f131ad3b195c89f96ed32eb6ee463e9c2175f46c88c55897
|
||||
DIST x86-debug-libreoffice-7.3.4.2.tar.xz 1466311484 BLAKE2B fe6dd69d7475e9b8df48667ed904d694204d6f4a8172c0c7f361031b19356c573a7d72b89e09726257d02ff3e15157ac17dc82d5be04be646032a2d4bc2d982d SHA512 ab3c7fdb00cf235ed0a10898589ed23819ba450ac52d5bda65be92af22a0541994fb178ae6cd478ca0d512b9853f7fa8abae8c5e49cb4914104e006d47eb854f
|
||||
DIST x86-debug-libreoffice-7.3.6.2.tar.xz 7925092 BLAKE2B 2b99dad6c9fc67593396dba4cafa52eb1840965662c96fb3961a7fc7755a144754f93134d57d5592ed59305c50d90340e3cf1dc4639f9b583edc3b95136ed306 SHA512 6df445645c7fbe5782b717f185f30685fa9cfbe199ddece881b565cf425390ec0229226174d55195d6c7b280646d535f897ee838730c904d909dc59d8072ff96
|
||||
DIST x86-debug-libreoffice-gnome-7.3.4.2.xd3 1385099 BLAKE2B 078b2d57f31ac2a78304ff84d97e6dc27d05905652c5e5430f833987a3967c9322765767ccc56a88d3656b2e84a06d99d5902fcfc65d047537182fb33b3d7a4c SHA512 03b03497bfa7edd180e2f501f16a48f8100eb74f9e5d324d9b998b22304ae6273868a848697c923dafbaba6e93c77d91bb90c69c1a4e69a25b92d330a97e7887
|
||||
DIST x86-debug-libreoffice-gnome-7.3.6.2.xd3 38754 BLAKE2B 84270e533f2dc5d68075685e383363c80b7c2325fbf4bac27f6b37c13a141707b65bd04fb3ad7ae1a5ec344c227708d2ca2716d499c40dcdd93cc8a0cef148b7 SHA512 88a51e651a1c3a9a220491951e261ac9a1ae552cb38b59ed21fc33c64b853745a20462680cbce67edc33bfd9dea235dc9100559839bb5129cf350fb7cd67b18b
|
||||
DIST x86-debug-libreoffice-kde-7.3.4.2.xd3 452751390 BLAKE2B 503af0a857842f7654f775c0775d5ccfbcfba6e7367e0b73abe9dd62c4ff74126d73e51ed8ad4dfce44376bb999dd066cb346220072044d40d7288d11743a88b SHA512 f39a58170fef3ab7044327298a8033e62856c23ca5632107a6ca6614111a9bf2a2dd22818f2696359bb3d5981dd641f153d44e433d47ef6ab1f71e83403ed4e8
|
||||
DIST x86-debug-libreoffice-kde-7.3.6.2.xd3 2623238 BLAKE2B 4baaa8dde8369ba21b0a98d0ee36fac0ed99d04d754e7aa6a38f7cb0e97b6f3f903a6fe9b7f924b4ff6ba683d5821b856e7c633a095a30798451a910b7a17295 SHA512 cc5c76d60048e839af936ce79b0a879d7ac3f990ca60986e35458608f979a418a9d1980546f13bfa514f17bbeac0a8287883a493aae50c08a576a52662b871d6
|
||||
EBUILD libreoffice-bin-debug-7.3.4.2.ebuild 2536 BLAKE2B 5f503b15d77b316ec45399e6c6cc3d2dcc8b8960b83daa623bf7028808c6fc28b2ce0fc29f25a44ab10b8dca6332581126ce437310001787baadb6a9a8fb8246 SHA512 6aeb4fa56ea0620ced999b3fb231b2b3c133c9729a90933ca3a498ee9763112b34bb674e3cabb173e6adb71316a76245a727358b9ec11d085fb19fd3c8b1750d
|
||||
EBUILD libreoffice-bin-debug-7.3.6.2.ebuild 2538 BLAKE2B e0eea0332798d68b7d6eb6788188af2f01b799c68c9110e0fd7bec7dda32c98898de2968538e47fabcaa4c3f798c53d9bb9c76f5026b9296021a60075b140599 SHA512 e88917ab3fe7b8fdcc99c03561b7ed38ebb31d9f27b6b426c3f527c923cb2266e79a26fe85e83e7039a84b08bba5767263d272f67828fadfe7150364d3688a44
|
||||
MISC metadata.xml 482 BLAKE2B 94bf0468867227f0b085d6ca86359e9ae852fb874ed95ffa6d9926cfcdc7173d5db4dfe1a0ed86daec746a4f867d42534465bb03402c5bd4d9ac6bb8101932d7 SHA512 d4f6a8f90659676fa509690059e462c1755e22792efeff0a571d8f04f9f167cbed22d5ce34928a4afbf2fc01bf7ea2b5e8f1a70d4a652a3df9153ed0ccbe1905
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="debug"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
# the = is correct, the debug info needs to fit the exact binary
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
||||
}
|
@ -1,12 +1,22 @@
|
||||
AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50
|
||||
DIST amd64-bin-libreoffice-7.3.4.2.tar.xz 142347312 BLAKE2B 0db00b707b7c7bd86ef4406eb36958fc7425a1ea1e2783a0e1d2ff0ace9da2633f2e2ea6f6fe1c363f2e31f11cdd1d897da941c5af8133598ad7fedf944d9ea6 SHA512 60559fbcadb97429b9e5b982317ed22bd2501462ad73ad9dd38e32beb197b590898d417fa224288cc8910a6e2701c2ab61ae37d44649612de0f74c9521c7a744
|
||||
DIST amd64-bin-libreoffice-7.3.6.2.tar.xz 142481040 BLAKE2B d591945a87d5d338e178b03b6c4474845bcaaf3766007d4f6d37600546da49ed06d437da162f82c3d09468cadb785977d8b9a2c4cda1e520b0f4c1df137eff78 SHA512 4f5c4f61324d5dba56913f7d3fe9c71d8b547116820fe4b77fab4a815f1ddcc2e1e23108ba9ba8e57316d71914d95c0a4cfffef0b94780ac1aeb50d24c3aaf01
|
||||
DIST amd64-bin-libreoffice-gnome-7.3.4.2.xd3 1483443 BLAKE2B 400a147efa62b6caef172785ec83a6767ab0a1d0faacf86f063e2dbd5f7eaca1258d5f7467943cb89bb1678de9ddc04a0c49884938d554897ebd3eaa5ee1bb57 SHA512 7325a943ec884a4b4048788c5417f380ee4f3130f142a38084c07014dde338bc9fc352eb4a36cd744d3ddb1acdd0e3c59b73751413df6897e7e940a18f93e2c8
|
||||
DIST amd64-bin-libreoffice-gnome-7.3.6.2.xd3 1500304 BLAKE2B f1e376116af83545027d1b48ad85b63ab61c41fde553c9602954e37cad7414b1b43dbe843a104c1a1ad55212c329dda7d01c3bc156ab77f9393b21b1ca6c0068 SHA512 ded283c756cad3b94d1ac1fd0090edef525571431f0e0c2747daa452839657130fefa33599cd6be080f3944d1699f57f1fdb1363eb6ab8af06d532d9133066b3
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.3.4.2.xd3 30944697 BLAKE2B 60af115380b3a0edde5b9ae0efec431b02f4f63e869fc2542c4cf8732b504f6881c0c13cd9c5d9c1e9f4611b3756aba162a07ec3a95022917b587fdede12436f SHA512 937a08b3aa145c794514752082a09037303c3bf5be2e3c4d2da4f0cd6c5e45f627921e814701317f3f7b38dcf9c76e722512268be09ebcf2488563a3403cd95f
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.3.6.2.xd3 30688638 BLAKE2B 96f94967c4893ba693ac95fe93a9e80794c319bb512636df133114f171ec85b494a55f7b4a9be7bc10d748072b8f6c73c8ae0be10dc23d237b7ae0a5767ecca0 SHA512 2c2d5543260628af8b1bc3f49080f935b6b0b82ba56f2e36349183811da92ab976a09d9c3de579b159d9e21a5d5706687c805e3960243b9f35c4ef062bd64fd9
|
||||
DIST amd64-bin-libreoffice-java-7.3.4.2.xd3 30817504 BLAKE2B 5769439f397ee2917efc700d9d576d1a4429a3b60bc11470141b5e38e31f47b4c17ce3d867d76fccd5c16f3e789eb985e0b916a036f63609b477f0abcb8b01d7 SHA512 705738589b069e392551ae93509a1be7c97f0b0a8b13232a2fd60a1dc01b905b4db1eaada349a79b0529994b117dd1ffd402da14de28bdd32c959d5023a16c54
|
||||
DIST amd64-bin-libreoffice-java-7.3.6.2.xd3 30572131 BLAKE2B cac521ab6527391e3e6fc06991db1af01778d12984292e4876a1beef1a40964767625ed006cdd95442792d99f04eb5d5383e1874f8e56b6edbb1dc0a835a6c95 SHA512 e9311a07e40e92088e8653d0c87144b0eb184dc18fc21f4d6d326110b7a81b61c809042f79304b286516074878b0fe2925802d5d9d068f7ccbf5143ac3fb9d02
|
||||
DIST amd64-bin-libreoffice-kde-7.3.4.2.xd3 20934862 BLAKE2B 201b250685d2b936ab158db74d4a136aba4cd48c1432da8574b6be2d64d7bdab08605f3903fe9611ca604e4cbaf72b5a9639184dcf2e6de0f30b63619a9a4264 SHA512 90827fcba878a1f5168e7a0d97ad7825b9d8fa2d1b15c0eb050ff13f35f3a8539f9df511a7bb1006974893cad936f5470308314d522c4d8da3ebef9ec2b219e4
|
||||
DIST amd64-bin-libreoffice-kde-7.3.6.2.xd3 20926607 BLAKE2B 8973af95974d0b0ff582e690af0078aae3bd5ff3a4aee5cd19b6c68535f7a6f9904980d74b29979f5ffd6b5be93ea233a4d6c08ad36b9426fd7e5c80313f20d9 SHA512 a338ae1c937c9f85ad9ecb6ed7a97a750936bd6b9a9d16ada9c3473b6db48fe1797e7b82171acd1d049fd616dca2b2f13a4d44c49e649a891830c16a87be5ddd
|
||||
DIST amd64-bin-libreoffice-kde-java-7.3.4.2.xd3 30964144 BLAKE2B fb98d727cf9d8479e44f48148d06bd956eafcaec4f0f06ff62f50a8297d20adabb8a076979986326dbe9882ad2ec17eb97f7abadc47d523153c85ad8f874c215 SHA512 178b4583c63eff69a384f7a1805e029199a066c70aa8488fffde2e61242a45e1cec99f7c02c57087b66df029db7968e5f3c56ecc81282cd75faedbf6aac06a79
|
||||
DIST amd64-bin-libreoffice-kde-java-7.3.6.2.xd3 30686667 BLAKE2B 91c7e476d5150841bfd8660f95b707ed6cc29869e6bb2fb44035dcea0cdaa1d00a9ee901642c3305bc95e322a19ba7dc09326caf30b49e275f57a3e505d17256 SHA512 3cdd96878e66cab5b1ea339072b5887bdf53e49bfb005a22eb97ab63f462fd132db949482c0e76a3710c27c6b49e3b84553d5197fb45a4559624d508d2d04f96
|
||||
DIST x86-bin-libreoffice-7.3.4.2.tar.xz 144147140 BLAKE2B 8505f1e18bad0c63b16a1663947c27d336525b92d307279bc705f814d8ee93183153b487fb2373788d4147d73fdd6ef9995ff6a3046145bca1a0293b3376b4fe SHA512 34e446882e87fe049056e7bfc5e9ead8bfa3c07823dcdfebba61e2b589ffac0f1797d49bea7f19c462ccfd36bb654653b58cdcee2cb596a9ef3253b4ed08f3a7
|
||||
DIST x86-bin-libreoffice-7.3.6.2.tar.xz 144270792 BLAKE2B 327dc6823e9ad9cbbb85871d6224eb22ee0fcb8048da5c47d279f98dd9affa16a4e0ae9ad261f3f6d1616c8a7d31de4a4d046d90fd70799df6d038b246d597fd SHA512 ed71908fa30924ac0a7e4d7dfa06d039bd1c7a48e93e562cc53fe755c0778790c43f2cd5e5f14c49d95b4209566534219efac7c574f90cf8b15515a5555cc115
|
||||
DIST x86-bin-libreoffice-gnome-7.3.4.2.xd3 1448866 BLAKE2B da76f7fb0503e8cd8c074ef07a84a11b43363d4be75ff287a3a87e53d8185d31e4ca206c5161b989722f7f4e8e6c385380532ecf33a499fc5d38da9687bb9baa SHA512 a391be42e12afb2c78df70e20875433846f19183bc598674d099dc8d4d57f47b455d33f6911822bc4dd0028655d2dbbc8e592085144128ae7a4ee2d4bee10439
|
||||
DIST x86-bin-libreoffice-gnome-7.3.6.2.xd3 1455876 BLAKE2B 9b895a01110df47e8f9ae529b524cfe1ede2ca7d47a06404b92d24dbde5672877c2c117b9ff370c61ca440bac2c2f297960e6ab395e04d3921720a498715f1c7 SHA512 37b1d968d783e862922de770d44ff51686d4c58d6c998c2f2463f8b4323b5e1f88e0aea6456cc8d20835aae549393d4623d15ed474277f78efc0b672e06fb1e9
|
||||
DIST x86-bin-libreoffice-kde-7.3.4.2.xd3 18531900 BLAKE2B e3ed162a68a6fef8b2be6adb0be68a015290ec7c8ec1ba3cdd1a2a33f88a69f3100d1beb89c7dc0b9e4bbc78097316d8a0f7d4edf8294154ebd98cf51836d2b3 SHA512 467e661741fa40643c7a53f7980b44872a6c9bdf654456fecc66d38828928f745922a8dcccc835aa722bd0814cdbd99e4e5e51f4d35c29263e44269574d6a49d
|
||||
DIST x86-bin-libreoffice-kde-7.3.6.2.xd3 19815271 BLAKE2B 7567fb2378e722422dbca7a7a85c48b98376191c3ef80df38402963cbd2ea5fba78ba183960b0b5e9734f6d1b1885d963e5b23935759966e3af810c47480877e SHA512 e58a1787293866681f3501a11eedc9e49d7f69dc0e3713f923ddb78d31a54468ee1ce8e538ed2b8414e78318a5338af8892836ace7a817565e5403f69aacb8f7
|
||||
EBUILD libreoffice-bin-7.3.4.2.ebuild 6317 BLAKE2B bde1db496e00bd219c04517fcd191ca6fc36845aebad2d5ce3549dce2f963b1ec4818ff3e521a63009c96173297c821001a92dcd503809d53096cca46e2fd879 SHA512 1d1681bb210591098849680a82c8b3b004adcc332136c471d7eb1732d683b843063de223bd68605ab3d3b5a7eb59518213c550742b51e7dfd141827c47f3d3d6
|
||||
EBUILD libreoffice-bin-7.3.6.2.ebuild 6321 BLAKE2B e65c45769f5814dd0909d9d91889624af8904bc7d2a937fd380008d63be29a4d09412c18dfd73278707bbfc549d82f58f8203862ce6db5a656c5907bc897d580 SHA512 aa0a9f17e85bc6fec75da578439dbef516248add0304b828f731d1c82d4c458b275b1f6379777621baf6af036187cf125f34aaacd8b694eaaff654f053d0fd9d
|
||||
MISC metadata.xml 511 BLAKE2B 3ebaebf19d7db6a7e64093e54ae4ce86f14f528dfbc0987c027bfd7dde5de6ce8e7bfdd815e437aff272b7201d298568fa032cfd3292523c00a1c2bef5bc984c SHA512 01ae7e196fa4b7fbca6190fda6ac2e2667b36a284e828f6b329593b517379f3f4575f96a2eecc4a1d74764fac19ba8d7a756a54c04190f2aa17c578705c9708d
|
||||
|
@ -0,0 +1,257 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="bin"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite. Binary package"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
BIN_COMMON_DEPEND="
|
||||
app-text/hunspell:0/1.7
|
||||
=app-text/libexttextcat-3.4*
|
||||
=app-text/libmwaw-0.3*
|
||||
dev-cpp/abseil-cpp:0/20211102
|
||||
dev-libs/boost:0/1.79.0
|
||||
dev-libs/icu:0/71.1
|
||||
dev-libs/liborcus:0/0.17
|
||||
>=media-gfx/graphite2-1.3.10
|
||||
media-libs/harfbuzz:0/4.0.0[icu]
|
||||
media-libs/libjpeg-turbo:0/0.2
|
||||
media-libs/libpng:0/16
|
||||
media-libs/openjpeg:2/7
|
||||
media-libs/zxing-cpp:0/1.4
|
||||
>=sys-devel/gcc-11.3.0
|
||||
>=sys-libs/glibc-2.35
|
||||
"
|
||||
|
||||
# PLEASE place any restrictions that are specific to the binary builds
|
||||
# into the BIN_COMMON_DEPEND block above.
|
||||
# All dependencies below this point should remain identical to those in
|
||||
# the source ebuilds.
|
||||
|
||||
COMMON_DEPEND="
|
||||
${BIN_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/abseil-cpp:=
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2
|
||||
dev-db/unixODBC
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
||||
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]
|
||||
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/libjpeg-turbo:=
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
media-libs/openjpeg:=
|
||||
media-libs/zxing-cpp:=
|
||||
>=net-libs/neon-0.31.1:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
net-print/cups
|
||||
sys-apps/dbus[X]
|
||||
gnome? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
!kde? (
|
||||
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
|
||||
)
|
||||
dev-db/mariadb-connector-c
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/libreoffice
|
||||
acct-user/libreoffice
|
||||
!app-office/libreoffice
|
||||
!app-office/openoffice
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( virtual/jre:11 )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-$(ver_cut 1-4)*
|
||||
"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
# only one flavor at a time
|
||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
||||
eprefixify "${T}"/50-${PN}
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST poppler-data-0.4.11-2-extra.tar.xz 3124 BLAKE2B 8ae0cb7613d36e2ceddb77736b04a61353cf4bcd3ac74e6cc65e7ddf727b65b98aa57c31bc02782cd74318119f0577cb3b187c9192ee0bb47dc8666e908a919b SHA512 3e43bc37b1a9affe4fabf68c3ea3490cbae0892286b3fd01f60f2fd232da68bc863fe0b058821d7d2e4ac4d7427b0ab02f8374abeba2cad704d578a155f46885
|
||||
DIST poppler-data-0.4.11.tar.gz 4497282 BLAKE2B 01f0f9f3d933f45683a702c4d538d8fc59874512290f199b601c16f98f9b596ff249fbc992574d046931cc80f3685f94733248450d3a54f2f961951cdeda7c39 SHA512 a5b7ace28d1677e12f7500ab6345b277dc22cd48ace8d472c083933416879edf4da4efe8217b0e11f75a3387ed98d832fe50567884095b6c0e09ebd8802b0f32
|
||||
EBUILD poppler-data-0.4.11-r2.ebuild 1141 BLAKE2B a83c1142ed9acb459a5318129939aad3b0dcec0ce8b7f7fffa25de4b2204c94e30f31888369359eae7c5969a4a50161cd93496e0d01ff92500122c02ecaf86ec SHA512 487684607e8d66d9694700a42d425baea5ac07aa90e2661ec67ed2a5cf19b425b0d154d059d241fe074f6d4cd20480ede831721a279f88bce24ba121a71109db
|
||||
EBUILD poppler-data-0.4.11-r2.ebuild 1139 BLAKE2B 79dd30de6927b940eb73b74eca58976fda8c00142e7b1e06a5fd26f00cd0349f30606ef34418d705afde7e7ae043cd51324a3e9761730edb9f326880faed38b0 SHA512 d5b340fd53c3d0471578be4c076c69508f18eb83eb5d00dcdf721905f3ebf450caa8ef0ab341168b1160b9bfb00581ed0733cb5fda46765d7766b016ba4b3310
|
||||
EBUILD poppler-data-0.4.11.ebuild 736 BLAKE2B e83fee3787fa33200ea16589379bffef0d70fa06313197441ce7b409d24384c1bcfb2aaff17b0ffe034ae0c6c03354ef67c4d6b168d92474b08da47cf8228e67 SHA512 d14cb205804c76b6f8faa8cb0bfbfff01b53e9195595ebbddfd57a7e632e05e89904f0a95b8d6801172289048ed3c6e38162ab9306574ad51a66f137af6a3757
|
||||
MISC metadata.xml 256 BLAKE2B 16ea76357721c3ab7d672ade29d27338ddf9da983571e4ca4efe2520c741fc71315d9609b711850b00c19ed4eea848dea0d5b3955eecb401c42c4db257c300bf SHA512 2748afab7ffea0b3ddadf72dc720f7d83a1d76453fa569091abffe834ec187144a47f9365ccb4a97f676dbcfd799a6be92671f283b179fe4589d95486d7fd24d
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
SCONS_MIN_VERSION="2.5.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="debug kerberos lto ssl test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
dev-libs/boost:=
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.0-fix-scons.patch"
|
||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
||||
"${FILESDIR}/${PN}-4.2.15-no-compass.patch"
|
||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
||||
has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ver_test "$REPLACING_VERSIONS" -lt 4.0; then
|
||||
ewarn "To upgrade from a version earlier than the 4.0-series, you must"
|
||||
ewarn "successively upgrade major releases until you have upgraded"
|
||||
ewarn "to 4.0-series. Then upgrade to 4.2 series."
|
||||
else
|
||||
ewarn "Be sure to set featureCompatibilityVersion to 4.0 before upgrading."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove bundled libs
|
||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*,zstandard-*} || die
|
||||
|
||||
# remove compass
|
||||
rm -r src/mongo/installer/compass || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||
# --use-system-icu fails tests
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
scons_opts=(
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
)
|
||||
|
||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||
use debug && scons_opts+=( --dbg=on )
|
||||
use kerberos && scons_opts+=( --use-sasl-client )
|
||||
use lto && scons_opts+=( --lto=on )
|
||||
use ssl && scons_opts+=( --ssl )
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||
src_test() {
|
||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
SCONS_MIN_VERSION="2.5.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="debug kerberos lto ssl test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
dev-libs/boost:=
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.0-fix-scons.patch"
|
||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
||||
"${FILESDIR}/${PN}-4.2.15-no-compass.patch"
|
||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
||||
has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ver_test "$REPLACING_VERSIONS" -lt 4.0; then
|
||||
ewarn "To upgrade from a version earlier than the 4.0-series, you must"
|
||||
ewarn "successively upgrade major releases until you have upgraded"
|
||||
ewarn "to 4.0-series. Then upgrade to 4.2 series."
|
||||
else
|
||||
ewarn "Be sure to set featureCompatibilityVersion to 4.0 before upgrading."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove bundled libs
|
||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*,zstandard-*} || die
|
||||
|
||||
# remove compass
|
||||
rm -r src/mongo/installer/compass || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||
# --use-system-icu fails tests
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
scons_opts=(
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
)
|
||||
|
||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||
use debug && scons_opts+=( --dbg=on )
|
||||
use kerberos && scons_opts+=( --use-sasl-client )
|
||||
use lto && scons_opts+=( --lto=on )
|
||||
use ssl && scons_opts+=( --ssl )
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||
src_test() {
|
||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
SCONS_MIN_VERSION="2.5.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="debug kerberos lto ssl test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
dev-libs/boost:=
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.0-fix-scons.patch"
|
||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
||||
"${FILESDIR}/${PN}-4.2.15-no-compass.patch"
|
||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
||||
has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ver_test "$REPLACING_VERSIONS" -lt 4.0; then
|
||||
ewarn "To upgrade from a version earlier than the 4.0-series, you must"
|
||||
ewarn "successively upgrade major releases until you have upgraded"
|
||||
ewarn "to 4.0-series. Then upgrade to 4.2 series."
|
||||
else
|
||||
ewarn "Be sure to set featureCompatibilityVersion to 4.0 before upgrading."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove bundled libs
|
||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*,zstandard-*} || die
|
||||
|
||||
# remove compass
|
||||
rm -r src/mongo/installer/compass || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||
# --use-system-icu fails tests
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
scons_opts=(
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
)
|
||||
|
||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||
use debug && scons_opts+=( --dbg=on )
|
||||
use kerberos && scons_opts+=( --use-sasl-client )
|
||||
use lto && scons_opts+=( --lto=on )
|
||||
use ssl && scons_opts+=( --ssl )
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||
src_test() {
|
||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
SCONS_MIN_VERSION="2.5.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="debug kerberos lto ssl test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
dev-libs/boost:=
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.0-fix-scons.patch"
|
||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
||||
"${FILESDIR}/${PN}-4.2.15-no-compass.patch"
|
||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
||||
has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ver_test "$REPLACING_VERSIONS" -lt 4.0; then
|
||||
ewarn "To upgrade from a version earlier than the 4.0-series, you must"
|
||||
ewarn "successively upgrade major releases until you have upgraded"
|
||||
ewarn "to 4.0-series. Then upgrade to 4.2 series."
|
||||
else
|
||||
ewarn "Be sure to set featureCompatibilityVersion to 4.0 before upgrading."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove bundled libs
|
||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*,zstandard-*} || die
|
||||
|
||||
# remove compass
|
||||
rm -r src/mongo/installer/compass || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||
# --use-system-icu fails tests
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
scons_opts=(
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
)
|
||||
|
||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||
use debug && scons_opts+=( --dbg=on )
|
||||
use kerberos && scons_opts+=( --use-sasl-client )
|
||||
use lto && scons_opts+=( --lto=on )
|
||||
use ssl && scons_opts+=( --ssl )
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||
src_test() {
|
||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue