summaryrefslogtreecommitdiff
path: root/dev-perl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/ExtUtils-CChecker/ExtUtils-CChecker-0.120.0-r1.ebuild2
-rw-r--r--dev-perl/ExtUtils-CChecker/Manifest2
-rw-r--r--dev-perl/Manifest.gzbin287081 -> 287073 bytes
-rw-r--r--dev-perl/Wx-Scintilla/Manifest5
-rw-r--r--dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r5.ebuild6
-rw-r--r--dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch13
-rw-r--r--dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-respect-user-flags.patch18
-rw-r--r--dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-scrub-gtk2.patch35
-rw-r--r--dev-perl/Wx/Manifest2
-rw-r--r--dev-perl/Wx/Wx-0.993.200-r3.ebuild11
10 files changed, 86 insertions, 8 deletions
diff --git a/dev-perl/ExtUtils-CChecker/ExtUtils-CChecker-0.120.0-r1.ebuild b/dev-perl/ExtUtils-CChecker/ExtUtils-CChecker-0.120.0-r1.ebuild
index 54a9458d7ea6..719969229b52 100644
--- a/dev-perl/ExtUtils-CChecker/ExtUtils-CChecker-0.120.0-r1.ebuild
+++ b/dev-perl/ExtUtils-CChecker/ExtUtils-CChecker-0.120.0-r1.ebuild
@@ -9,7 +9,7 @@ inherit perl-module
DESCRIPTION="Configure-time utilities for using C headers"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
RDEPEND="
virtual/perl-ExtUtils-CBuilder
diff --git a/dev-perl/ExtUtils-CChecker/Manifest b/dev-perl/ExtUtils-CChecker/Manifest
index a4c680defed3..b8052f7662c3 100644
--- a/dev-perl/ExtUtils-CChecker/Manifest
+++ b/dev-perl/ExtUtils-CChecker/Manifest
@@ -1,5 +1,5 @@
DIST ExtUtils-CChecker-0.11.tar.gz 20241 BLAKE2B 14734dece93eea384a6dc9a7dea511870948926f22d1e45281fdf517f7830fe895fe9362c4dee9ab3dd8a67f377857240b15aef9fa7fc8f8037413ee6e8ac35e SHA512 4b638e5082443eafcf2f3586ec8ff20ee62b054f8bc24149dd7a2549f57ca748618f76c057f456eadca4e5c4099071ee2d1c8993a13e2f5ea8924cd92319dd8c
DIST ExtUtils-CChecker-0.12.tar.gz 21019 BLAKE2B 10df0c71dd1b3b554583a65b68fbfbb0edc989550c1142172dea6752e8562f5989dcbc95ddedff573721867d651678e0cf8c2c9472026046e4fe8cc55c883856 SHA512 d0408d88d6c33de799959f42f296d1d05187a12b943a4aee93a79d608a56d972d0f90e6d64712b2722563ba36fc59092cbfb6608d9a39a97b7c1efebefeab979
EBUILD ExtUtils-CChecker-0.110.0.ebuild 644 BLAKE2B 77c893a84506505e2a0a1d8e6d2fe029e1a0d6f35767ba06d87a68609e331654b51014e36259acac8358f8407d2ed6821b7fc2d845fa9371850fedba1a9c826d SHA512 2f6494ca3def828488e07521fc1c7db3c5f63d24d402c38a5c949ee04a014521148c60a534aac2800108c63011d1a8f60685ad2c5441591a72098fe4e254e305
-EBUILD ExtUtils-CChecker-0.120.0-r1.ebuild 615 BLAKE2B ec85e2e0a27dc93a292a29cde0077089bcbe51669922b45171519fbd4a90b51d3e8a3a5f0f62c66bccce19171ca4860520948312bf3aeb342f0640fc623d0601 SHA512 e6fd311be81d49e87113081a910a3c69a5d39532fc6951c726a874ce21e36de6ae61742428955b482f5bbaef81e6a9fd386940c98cd0754523a4e645da701248
+EBUILD ExtUtils-CChecker-0.120.0-r1.ebuild 614 BLAKE2B a2115b4389c00843e4bfbb0460134c2e55e8c19ee8429b5b5b264594d871db6a235c8814991f1a79c7c53f18119303eddd9b899ec753d8553179282f411b9eca SHA512 80e114b32bb4b5b1502fdb3f03c5cb2169988ba650d7aa8e2da83ba659d19eb2b5840021f3db3c05439018e5c7ad0da94c744ab403035df95e7adc05a72808a7
MISC metadata.xml 407 BLAKE2B bd686acfad1900d5b4ac26ba4eda139ff96434c526c546c3eec467b49cb0f34e2bfd96474df41ad18eabac612c32cf48dd781af0140d73ed057f4a832f5354fd SHA512 86c34d716b173b48b6d7116c031a719f1ed195d4a6efef533bce78d2abd35146c875dd84bc0038f1f5760be10696f8dc3da4ae9f6ca90526615c4236cc30ac06
diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz
index 8e43299f2100..b546e336d03a 100644
--- a/dev-perl/Manifest.gz
+++ b/dev-perl/Manifest.gz
Binary files differ
diff --git a/dev-perl/Wx-Scintilla/Manifest b/dev-perl/Wx-Scintilla/Manifest
index f72a66548273..76ae5b738f97 100644
--- a/dev-perl/Wx-Scintilla/Manifest
+++ b/dev-perl/Wx-Scintilla/Manifest
@@ -1,5 +1,8 @@
AUX Wx-Scintilla-0.34-flags.patch 545 BLAKE2B ce7f59a2d369c522469679d79c81d5154e1ee0861712b2cc0d68892f941cf7536ad88300cb56a543a6cba043a1a7418e099d33afd6dad2e51715a053d4355006 SHA512 b1a12522cfd20dfd309a86da23214ace540f0365c3ac8753f081ad8bd7cff16f1f6f1b8345ac1cb3243208085c82a558e50e16ae0e4c556cc5bc2b9704d9a244
+AUX Wx-Scintilla-0.39-force-c++11.patch 401 BLAKE2B 83344e44a4d8c904251c1a2b50c348c512b280ea1a68ea100739ee8cec8b8e38d0a29b98ed8ed8b4a12e417e7875b30d537458cb2707fe98bb22ec7beb03514b SHA512 126e83eee6e6dabf92253a4ab74f5195bdebc8905a7fd6a6f1f11b3cc6e0df1a05988c28cdc38b254eb09e0f8946ac5310fdb9cfe02335b0456ead887119c694
AUX Wx-Scintilla-0.39-gcc6.patch 1099 BLAKE2B 3b6531b42f6c83f6963ba1142d90b6073a941521b2b1c441f0916f505afff878c861bf9833c5d4e4fefe8752f2267ea7dfb51b7b24c42b53b5fcf492e68d62b5 SHA512 c5eceb13994cd0f156efacb0d505a95b873f954b6bea9f016d60d003fa24e82db8d13f440cad3b91188b2b4794c64d46ce077613516f2e78acbdfd06b93dd7de
+AUX Wx-Scintilla-0.39-respect-user-flags.patch 420 BLAKE2B b57539866660414188fe99ddd237f2d6dc4ff8e2b54c32a0fcbec288018a5f9928b366f78bfe2cc3ce7aca01437d50d2888db5e9c745384a0d6e84f34c0d706c SHA512 30aa3d1be42ba22e24b9a190e112ea2ee1e481dd23dd257eb638c26d448fa1c867ca617a693bd5c55f8c270e39b91a1e7218badb3948101e88ac425f1539bdbb
+AUX Wx-Scintilla-0.39-scrub-gtk2.patch 1160 BLAKE2B e28b2fa0d4f0d5c8e34329280c7617dd29f7fc19ec86644f933d784a2686f45c927b67d3a5cb84f17365a2006177c0f934d2f8e78de4fbc28cabcaf0c21feb59 SHA512 e7febfaa2783a40ac0895b203174e39637e656f7b383a512083ed1f8c91103e5de17575921045b874f21674ea915ab91a5712eec31561d3f000abc3af2c0bda9
DIST Wx-Scintilla-0.39.tar.gz 848565 BLAKE2B e6404ebfa506ba63e6bd11f3a81321241ed69b58ccf59cfd37b58a14c9fd6ba8b954623c97e19f9d8d123c0aa352d1a80e0e527358d1de0e0d1e823f42fb8b7a SHA512 d9ecec347c1f1382788e5ed7708b0caf86f2ff87db0fdb2b8fa07460c96b1a7921a9402431105beee61f4627f3694a79db7515ceb76b1ae4fb3f95c807afb4d4
-EBUILD Wx-Scintilla-0.390.0-r5.ebuild 755 BLAKE2B ec4eca2ddd53e29f0cf2376e81c926e83bd00e341c1d7e8bfeb37fc63d9a535efeac43cc0a7dfece7f9ebebb2b9f4bf4820a378de13dada45726c39d0e945ec3 SHA512 80fef809cdde81e084b81c6bd870e9d7aec48a50dec66ebf8f52be0071c7dc5db45a7383c8ee788917ea898e13d901393f157e0773e96905d7c3096ee30466f2
+EBUILD Wx-Scintilla-0.390.0-r5.ebuild 885 BLAKE2B 48409e514638ccf222826c323d9e7355173b917cff1975ffd30c475c0e0aa6148cdb31d22d773ad257771a30a0fe51e3dfe13f3591f40a5abeea86090a393d78 SHA512 eb3a31eda4a28fecd7b1cddadc191861823aa5427452171e0b59a82ee18511127c24e8b93965377082bd34447a7acefabc58818f5da7660a9a8001d152756791
MISC metadata.xml 745 BLAKE2B e8c7f9a7c061268d1a8276bb49d8b86a23fa91eecffb7317caca3c8d06eb02626ab45a60e8b9d77c8e905b2d58fd3fbc694e9450dbca5644f3e3424588776b2d SHA512 c9c5bf090e0b5e34139022c93aa3e8d0c3e20fbf49b0df4e73b66ac746e565902a5a2a8a6d30085a017d3aac61bcde72402db4de1b6677fc35f82b6dd0318e90
diff --git a/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r5.ebuild b/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r5.ebuild
index 61c60e271dfb..ad41f943900f 100644
--- a/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r5.ebuild
+++ b/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,6 @@ DESCRIPTION="Scintilla source code editing component for wxWidgets"
LICENSE+=" HPND"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
-IUSE=""
RDEPEND="
dev-perl/Alien-wxWidgets
@@ -29,6 +28,9 @@ BDEPEND=${DEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-0.34-flags.patch
"${FILESDIR}"/${PN}-0.39-gcc6.patch
+ "${FILESDIR}"/${PN}-0.39-respect-user-flags.patch
+ "${FILESDIR}"/${PN}-0.39-force-c++11.patch
+ "${FILESDIR}"/${PN}-0.39-scrub-gtk2.patch
)
src_configure() {
diff --git a/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
new file mode 100644
index 000000000000..92a5af0c4892
--- /dev/null
+++ b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
@@ -0,0 +1,13 @@
+Uses std::auto_ptr which has been officially removed in C++17.
+While GCC still has it present LLVM has explicitly removed it.
+
+--- a/inc/Module/Build/Scintilla/GTK.pm
++++ b/inc/Module/Build/Scintilla/GTK.pm
+@@ -50,6 +50,7 @@
+ '-o ' . $object_name,
+ '-O2',
+ '-Wall',
++ '-std=c++11',
+ $object_name !~ /((Plat|Scintilla)WX|scintilla)\.o/
+ ? '-Wno-missing-braces -Wno-char-subscripts'
+ : '',
diff --git a/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-respect-user-flags.patch b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-respect-user-flags.patch
new file mode 100644
index 000000000000..e92e644a7956
--- /dev/null
+++ b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-respect-user-flags.patch
@@ -0,0 +1,18 @@
+--- a/inc/Module/Build/Scintilla.pm
++++ b/inc/Module/Build/Scintilla.pm
+@@ -89,7 +89,7 @@
+
+ sub stc_ldflags {
+ my $self = shift;
+- return Alien::wxWidgets->link_flags;
++ return Alien::wxWidgets->link_flags . $Config{ldflags};
+ }
+
+ sub stc_defines {
+@@ -119,6 +119,7 @@
+ my $flags = qx($command);
+ chomp($flags);
+ $flags .= ' ' . Alien::wxWidgets->c_flags;
++ $flags .= ' ' . $Config{ccflags};
+ return $flags;
+ }
diff --git a/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-scrub-gtk2.patch b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-scrub-gtk2.patch
new file mode 100644
index 000000000000..8c025f399926
--- /dev/null
+++ b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-scrub-gtk2.patch
@@ -0,0 +1,35 @@
+--- a/inc/Module/Build/Scintilla/GTK.pm
++++ b/inc/Module/Build/Scintilla/GTK.pm
+@@ -63,32 +64,6 @@
+ $self->_run_command( \@cmd );
+ }
+
+-sub stc_prebuild_check {
+- my $self = shift;
+- my $ld = Alien::wxWidgets->linker;
+- my $libstring = $self->stc_extra_scintilla_libs;
+- my $outfile = 'stc_checkdepends.out';
+- my $command = qq($ld -fPIC -shared $libstring -o $outfile);
+- if ( system($command) ) {
+- unlink($outfile);
+- print qq(Check for gtk2 development libraries failed.\n);
+- print qq(Perhaps you need to install package libgtk2.0-dev or the equivalent for your system.\n);
+- print qq(You can ofcourse uninstall it later after the installation is complete.\n);
+- print qq(The build cannot continue.\n);
+- exit(1);
+- }
+- unlink($outfile);
+- return 1;
+-}
+-
+-sub stc_extra_scintilla_libs {
+- my $self = shift;
+- my $extras = '-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 ';
+- $extras .= '-lgdk_pixbuf-2.0 -lm -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 ';
+- $extras .= '-lgmodule-2.0 -lgthread-2.0 -lglib-2.0';
+- return $extras;
+-}
+-
+ sub stc_link_scintilla_objects {
+ my ( $self, $shared_lib, $objects ) = @_;
+
diff --git a/dev-perl/Wx/Manifest b/dev-perl/Wx/Manifest
index 0c2831bd6c2c..ec9e4800bf57 100644
--- a/dev-perl/Wx/Manifest
+++ b/dev-perl/Wx/Manifest
@@ -2,5 +2,5 @@ AUX Wx-0.993.200-gtk3.patch 855 BLAKE2B 0dddf4ef9f588fe5ee4495dc15217efd990221ac
AUX Wx-0.993.200-wx32-makemaker.patch 4598 BLAKE2B f209ea3a9214db01a8565cbcfc33fde5ea1d32bff1f86ff5b832bc724ee82e1083867b990533150a1135f6acb649af6f665e359bbf2c29a625edd22de5333fe9 SHA512 3095752e2a759cf973eef443aa4200ef2eb42e914b79751d00969be684278ba8bb61b6d7f6026462ab7c0d6d191739543b2fe1569bdaa252e946552b492cbb96
DIST Wx-0.993.200-wx32-port.patch 40231 BLAKE2B bd0ab52037e900ec749b9a1243eadfba19338412e1e48289a38cf64b78b9b38e39a5b6d5580b54266c02080339b4c52928cad7999b324dec0d5346823b459ce9 SHA512 9e0bf4ae46ceaf5e30c0c8700fe98afe4313df6b8d30a592bf2e1a9d59c07ba7bbdb1bbc952a5272319ac2492ce6e4f3346ce077de2b69fbab572199177328ef
DIST Wx-0.9932.tar.gz 486326 BLAKE2B 54509a108b131973aa3c14fc895893248ddfe2807c0117a7fd56b710e79fbac257dadacb6aa39a0463447b16aa909bb2faed1a437024389afeb2b00c63562a8c SHA512 49f9a32bcd65ad4f2017f322e45ddaad741cdc0f0245489425771dda917553c354945fa949521c18730d27e78444a79d0d56374d462bcd92a96c0e76a4471c0e
-EBUILD Wx-0.993.200-r3.ebuild 1487 BLAKE2B f25360725c4b122bd9081c2cec39cca45d7870819098ffbc73d2a0473548904c6692ea7d45a5c3d4072d7ac20bf4bc68b56d866f17784c9a205ca55bc0641f02 SHA512 afeb84c4ed6aab20b4bbc51b8d21d79173ca591d54d742aade88f7e300e6d74ab3400044ddcaf0315203945ac04ebc4747ec8fe19a4013c262347a4931e18d50
+EBUILD Wx-0.993.200-r3.ebuild 1673 BLAKE2B be2ca021ea67b7432232ff8d3e352229fa129f323dc796f348b8c92163064ec4bece2c77b10ea8694c8b143b0f8461b9fd9af80f8c24df6a1202b746999bea7a SHA512 d2aa0c8da596b4e5658b5d3d364d63079e93fdf1c793334bd96ab6bc58779c67cb6348c9a87c49c6f36b7b4da82115f46ce3bbd4fea99a84b49deec1fa47ad9a
MISC metadata.xml 20247 BLAKE2B 8a67bbac6281f8700cdac1bedc455b8d70f0daab9f392356b18cc9d2dd25ade3d9eb3e7c54b98b31c30c920f890e9925123f5dd9b06bb91f7e8f815e31c0648f SHA512 202e32d7f62b83643a6db2e178057b602735e3cf46f8d57033d06691b4943c7a5f412d8ed7a0a1dfd7b7d00836b67bb07cb5855c8aaa9074651a0d21291d4a0f
diff --git a/dev-perl/Wx/Wx-0.993.200-r3.ebuild b/dev-perl/Wx/Wx-0.993.200-r3.ebuild
index 9c2559675aa1..abf2f39974bc 100644
--- a/dev-perl/Wx/Wx-0.993.200-r3.ebuild
+++ b/dev-perl/Wx/Wx-0.993.200-r3.ebuild
@@ -7,7 +7,7 @@ WX_GTK_VER="3.2-gtk3"
DIST_AUTHOR=MDOOTSON
DIST_VERSION=0.9932
DIST_EXAMPLES=("samples/*")
-inherit wxwidgets virtualx perl-module
+inherit toolchain-funcs wxwidgets virtualx perl-module
DESCRIPTION="Perl bindings for wxGTK"
HOMEPAGE="https://wxperl.sourceforge.net/ https://metacpan.org/release/Wx"
@@ -50,10 +50,17 @@ src_prepare() {
dos2unix MANIFEST || die
dos2unix typemap || die
- setup-wxwidgets
perl-module_src_prepare
}
+src_configure() {
+ # xspp sets CC to a c++ compiler but the eclass overrides it
+ # https://bugs.gentoo.org/931939
+ export CC="$(tc-getCXX)"
+ setup-wxwidgets
+ perl-module_src_configure
+}
+
src_test() {
# the webview/t/03_threads.t test tends to hang or crash in weird
# ways depending on local configuration. eg, backtraces involving