From 47a2a87a9573f8d77f38f3a9bbfa4d4e8eb54d28 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 23 Jan 2024 18:41:15 +0000 Subject: media-video/ffmpeg: use tc-is-lto instead of error-prone is-flagq is-flagq won't pick up on e.g. -fno-lto appended. Closes: https://bugs.gentoo.org/909572 Signed-off-by: Sam James --- media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild | 2 +- media-video/ffmpeg/ffmpeg-5.1.4-r2.ebuild | 2 +- media-video/ffmpeg/ffmpeg-6.0-r11.ebuild | 2 +- media-video/ffmpeg/ffmpeg-6.0-r9.ebuild | 2 +- media-video/ffmpeg/ffmpeg-6.0.1-r1.ebuild | 2 +- media-video/ffmpeg/ffmpeg-6.1-r4.ebuild | 2 +- media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild | 2 +- media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild b/media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild index b7074d60fdc3..e17af76cfa74 100644 --- a/media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild @@ -483,7 +483,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - [[ ${ABI} != x86 ]] && is-flagq "-flto*" && myconf+=( "--enable-lto" ) + [[ ${ABI} != x86 ]] && tc-is-lto && myconf+=( "--enable-lto" ) filter-lto # Mandatory configuration diff --git a/media-video/ffmpeg/ffmpeg-5.1.4-r2.ebuild b/media-video/ffmpeg/ffmpeg-5.1.4-r2.ebuild index 6c34aca8e4cd..9ecde222b8e3 100644 --- a/media-video/ffmpeg/ffmpeg-5.1.4-r2.ebuild +++ b/media-video/ffmpeg/ffmpeg-5.1.4-r2.ebuild @@ -473,7 +473,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - [[ ${ABI} != x86 ]] && is-flagq "-flto*" && myconf+=( "--enable-lto" ) + [[ ${ABI} != x86 ]] && tc-is-lto && myconf+=( "--enable-lto" ) filter-lto # Mandatory configuration diff --git a/media-video/ffmpeg/ffmpeg-6.0-r11.ebuild b/media-video/ffmpeg/ffmpeg-6.0-r11.ebuild index 24dde90568fd..6d75a5d847db 100644 --- a/media-video/ffmpeg/ffmpeg-6.0-r11.ebuild +++ b/media-video/ffmpeg/ffmpeg-6.0-r11.ebuild @@ -472,7 +472,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - [[ ${ABI} != x86 ]] && is-flagq "-flto*" && myconf+=( "--enable-lto" ) + [[ ${ABI} != x86 ]] && tc-is-lto && myconf+=( "--enable-lto" ) filter-lto # Mandatory configuration diff --git a/media-video/ffmpeg/ffmpeg-6.0-r9.ebuild b/media-video/ffmpeg/ffmpeg-6.0-r9.ebuild index 8545e512f44c..9831ab3e47c5 100644 --- a/media-video/ffmpeg/ffmpeg-6.0-r9.ebuild +++ b/media-video/ffmpeg/ffmpeg-6.0-r9.ebuild @@ -470,7 +470,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - [[ ${ABI} != x86 ]] && is-flagq "-flto*" && myconf+=( "--enable-lto" ) + [[ ${ABI} != x86 ]] && tc-is-lto && myconf+=( "--enable-lto" ) filter-lto # Mandatory configuration diff --git a/media-video/ffmpeg/ffmpeg-6.0.1-r1.ebuild b/media-video/ffmpeg/ffmpeg-6.0.1-r1.ebuild index f3fabab58737..bdc0a1471158 100644 --- a/media-video/ffmpeg/ffmpeg-6.0.1-r1.ebuild +++ b/media-video/ffmpeg/ffmpeg-6.0.1-r1.ebuild @@ -469,7 +469,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - [[ ${ABI} != x86 ]] && is-flagq "-flto*" && myconf+=( "--enable-lto" ) + [[ ${ABI} != x86 ]] && tc-is-lto && myconf+=( "--enable-lto" ) filter-lto # Mandatory configuration diff --git a/media-video/ffmpeg/ffmpeg-6.1-r4.ebuild b/media-video/ffmpeg/ffmpeg-6.1-r4.ebuild index 6db23cdd6bfc..d3edaba40eb7 100644 --- a/media-video/ffmpeg/ffmpeg-6.1-r4.ebuild +++ b/media-video/ffmpeg/ffmpeg-6.1-r4.ebuild @@ -482,7 +482,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - if [[ ${ABI} != x86 ]] && is-flagq "-flto*"; then + if [[ ${ABI} != x86 ]] && tc-is-lto; then # Respect -flto value, e.g -flto=thin local v="$(get-flag flto)" [[ -n ${v} ]] && myconf+=( "--enable-lto=${v}" ) || myconf+=( "--enable-lto" ) diff --git a/media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild b/media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild index 4a9376a14e3e..73cdd4b40c76 100644 --- a/media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild +++ b/media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild @@ -476,7 +476,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - if [[ ${ABI} != x86 ]] && is-flagq "-flto*"; then + if [[ ${ABI} != x86 ]] && tc-is-lto; then # Respect -flto value, e.g -flto=thin local v="$(get-flag flto)" [[ -n ${v} ]] && myconf+=( "--enable-lto=${v}" ) || myconf+=( "--enable-lto" ) diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index af17b97264cd..905f9dd7977b 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -475,7 +475,7 @@ multilib_src_configure() { done # LTO support, bug #566282, bug #754654, bug #772854 - if [[ ${ABI} != x86 ]] && is-flagq "-flto*"; then + if [[ ${ABI} != x86 ]] && tc-is-lto; then # Respect -flto value, e.g -flto=thin local v="$(get-flag flto)" [[ -n ${v} ]] && myconf+=( "--enable-lto=${v}" ) || myconf+=( "--enable-lto" ) -- cgit v1.2.3-65-gdbad From cc8032a0ad10aeec38a0bf2378663cbb5a3bf1f5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 23 Jan 2024 18:46:35 +0000 Subject: games-emulation/mgba: Stabilize 0.10.3 x86, #922751 Signed-off-by: Sam James --- games-emulation/mgba/mgba-0.10.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild index 971e786efadb..894d8f295dcc 100644 --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git" else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ~ppc64 ~x86" + KEYWORDS="amd64 arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator" -- cgit v1.2.3-65-gdbad From 50aa377a361767944021d7c1f3ba189475b7527b Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 23 Jan 2024 18:46:36 +0000 Subject: net-analyzer/sslscan: Stabilize 2.1.2 x86, #922767 Signed-off-by: Sam James --- net-analyzer/sslscan/sslscan-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/sslscan/sslscan-2.1.2.ebuild b/net-analyzer/sslscan/sslscan-2.1.2.ebuild index 5d599980c0fe..b77ee2587f92 100644 --- a/net-analyzer/sslscan/sslscan-2.1.2.ebuild +++ b/net-analyzer/sslscan/sslscan-2.1.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/rbsec/sslscan/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" # Requires a docker environment RESTRICT="test" -- cgit v1.2.3-65-gdbad From 8e71593bfd6ec4899f9b95c5f1354df0409fdcc5 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 23 Jan 2024 13:41:33 +0100 Subject: dev-java/ant: reduce file size of ant-1.10.14-JavaTest.patch 'files/ant-1.10.14-JavaTest.patch' exceeds 20.0 KiB in size; 22.3 KiB total Bug: https://bugs.gentoo.org/922775 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Sam James --- dev-java/ant/files/ant-1.10.14-JavaTest.patch | 270 +------------------------- 1 file changed, 1 insertion(+), 269 deletions(-) diff --git a/dev-java/ant/files/ant-1.10.14-JavaTest.patch b/dev-java/ant/files/ant-1.10.14-JavaTest.patch index 1c291c71e5f3..9143cba43ca2 100644 --- a/dev-java/ant/files/ant-1.10.14-JavaTest.patch +++ b/dev-java/ant/files/ant-1.10.14-JavaTest.patch @@ -1,272 +1,4 @@ -There were 12 failures: -1) testExcepting(org.apache.tools.ant.taskdefs.JavaTest) -java.lang.AssertionError: -Expected: a string containing "Exception raised inside called program" - but: was "Could not find org.apache.tools.ant.taskdefs.JavaTest$ExceptingEntryPoint. Make sure you have it in your classpath - at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:141) - at org.apache.tools.ant.taskdefs.Java.run(Java.java:892) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:232) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:136) - at org.apache.tools.ant.taskdefs.Java.execute(Java.java:109) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testExcepting(JavaTest.java:246) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) - at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runners.Suite.runChild(Suite.java:128) - at org.junit.runners.Suite.runChild(Suite.java:27) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) - at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) - at org.junit.runner.JUnitCore.main(JUnitCore.java:36)Java Result: -1" - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.junit.Assert.assertThat(Assert.java:964) - at org.junit.Assert.assertThat(Assert.java:930) - at org.apache.tools.ant.taskdefs.JavaTest.testExcepting(JavaTest.java:247) -2) testRedirect1(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:244: /var/tmp/portage/dev-java/ant-core-1.10.14/temp/testoutput_24464_main/ant.tmp.java-test/redirect1046568457.out: -"${redirect.out.contents}" expected "foo" - at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:162) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRedirect1(JavaTest.java:331) -3) testRedirect2(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:244: /var/tmp/portage/dev-java/ant-core-1.10.14/temp/testoutput_24464_main/ant.tmp.java-test/redirect1723720155.out: -"${redirect.out.contents}" expected "foo" - at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:162) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRedirect2(JavaTest.java:336) -4) testRedirect3(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:324: /var/tmp/portage/dev-java/ant-core-1.10.14/temp/testoutput_24464_main/ant.tmp.java-test/redirect325879668.out: -"${redirect.out.contents}" expected "foo" - at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:162) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRedirect3(JavaTest.java:341) -5) testResultPropertyZero(org.apache.tools.ant.taskdefs.JavaTest) -org.junit.ComparisonFailure: expected:<[0]> but was:<[1]> - at org.junit.Assert.assertEquals(Assert.java:117) - at org.junit.Assert.assertEquals(Assert.java:146) - at org.apache.tools.ant.taskdefs.JavaTest.testResultPropertyZero(JavaTest.java:273) -6) testResultPropertyNonZero(org.apache.tools.ant.taskdefs.JavaTest) -org.junit.ComparisonFailure: expected:<[2]> but was:<[1]> - at org.junit.Assert.assertEquals(Assert.java:117) - at org.junit.Assert.assertEquals(Assert.java:146) - at org.apache.tools.ant.taskdefs.JavaTest.testResultPropertyNonZero(JavaTest.java:279) -7) testRunSuccessWithFailOnError(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:205: Could not find org.apache.tools.ant.taskdefs.JavaTest$EntryPoint. Make sure you have it in your classpath - at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:141) - at org.apache.tools.ant.taskdefs.Java.run(Java.java:892) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:232) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:136) - at org.apache.tools.ant.taskdefs.Java.execute(Java.java:109) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRunSuccessWithFailOnError(JavaTest.java:306) -8) testSpawn(org.apache.tools.ant.taskdefs.JavaTest) -java.lang.AssertionError: log file exists - at org.junit.Assert.fail(Assert.java:89) - at org.junit.Assert.assertTrue(Assert.java:42) - at org.apache.tools.ant.taskdefs.JavaTest.testSpawn(JavaTest.java:326) -9) testFlushedInput(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:422: Java returned: 1 - at org.apache.tools.ant.taskdefs.Java.execute(Java.java:114) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testFlushedInput(JavaTest.java:430) -10) testExceptingFoe(org.apache.tools.ant.taskdefs.JavaTest) -java.lang.AssertionError: -Expected: (an instance of org.apache.tools.ant.BuildException and exception with message a string containing "Exception raised inside called program") - but: exception with message a string containing "Exception raised inside called program" message was "Could not find org.apache.tools.ant.taskdefs.JavaTest$ExceptingEntryPoint. Make sure you have it in your classpath" -Stacktrace was: /var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:135: Could not find org.apache.tools.ant.taskdefs.JavaTest$ExceptingEntryPoint. Make sure you have it in your classpath - at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:141) - at org.apache.tools.ant.taskdefs.Java.run(Java.java:892) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:232) - at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:136) - at org.apache.tools.ant.taskdefs.Java.execute(Java.java:109) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testExceptingFoe(JavaTest.java:260) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) - at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runners.Suite.runChild(Suite.java:128) - at org.junit.runners.Suite.runChild(Suite.java:27) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) - at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) - at org.junit.runner.JUnitCore.main(JUnitCore.java:36) - - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.junit.Assert.assertThat(Assert.java:964) - at org.junit.Assert.assertThat(Assert.java:930) - at org.junit.rules.ExpectedException.handleException(ExpectedException.java:271) - at org.junit.rules.ExpectedException.access$000(ExpectedException.java:111) - at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:260) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runners.Suite.runChild(Suite.java:128) - at org.junit.runners.Suite.runChild(Suite.java:27) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) - at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) - at org.junit.runner.JUnitCore.main(JUnitCore.java:36) -11) testRedirector1(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:353: /var/tmp/portage/dev-java/ant-core-1.10.14/temp/testoutput_24464_main/ant.tmp.java-test/redirect1692380328.out doesn't exist - at org.apache.tools.ant.taskdefs.LoadResource.execute(LoadResource.java:142) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRedirector1(JavaTest.java:346) -12) testRedirector2(org.apache.tools.ant.taskdefs.JavaTest) -/var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/java.xml:353: /var/tmp/portage/dev-java/ant-core-1.10.14/temp/testoutput_24464_main/ant.tmp.java-test/redirect1822175330.out doesn't exist - at org.apache.tools.ant.taskdefs.LoadResource.execute(LoadResource.java:142) - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) - at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) - at java.base/java.lang.reflect.Method.invoke(Method.java:580) - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) - at org.apache.tools.ant.Task.perform(Task.java:350) - at org.apache.tools.ant.Target.execute(Target.java:449) - at org.apache.tools.ant.Target.performTasks(Target.java:470) - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) - at org.apache.tools.ant.Project.executeTarget(Project.java:1374) - at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) - at org.apache.tools.ant.taskdefs.JavaTest.testRedirector2(JavaTest.java:351) - -FAILURES!!! -Tests run: 38, Failures: 12 +bug #922775 --- a/src/tests/junit/org/apache/tools/ant/taskdefs/JavaTest.java +++ b/src/tests/junit/org/apache/tools/ant/taskdefs/JavaTest.java @@ -42,6 +42,7 @@ import org.junit.AssumptionViolatedException; -- cgit v1.2.3-65-gdbad From 4ec336471ed5734e0e4e022712a17f85e0375622 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 23 Jan 2024 16:27:08 +0100 Subject: dev-java/ant: soft-block Closes: https://github.com/gentoo/gentoo/pull/34976 Signed-off-by: Sam James --- dev-java/ant/ant-1.10.14-r1.ebuild | 372 +++++++++++++++++++++++++++++++++++++ dev-java/ant/ant-1.10.14.ebuild | 369 ------------------------------------ 2 files changed, 372 insertions(+), 369 deletions(-) create mode 100644 dev-java/ant/ant-1.10.14-r1.ebuild delete mode 100644 dev-java/ant/ant-1.10.14.ebuild diff --git a/dev-java/ant/ant-1.10.14-r1.ebuild b/dev-java/ant/ant-1.10.14-r1.ebuild new file mode 100644 index 000000000000..a18ee50e36b4 --- /dev/null +++ b/dev-java/ant/ant-1.10.14-r1.ebuild @@ -0,0 +1,372 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_PROVIDES=" + org.apache.ant:ant:${PV} + org.apache.ant:ant-launcher:${PV} +" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig prefix + +DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files" +HOMEPAGE="https://ant.apache.org/" +SRC_URI="mirror://apache/ant/source/apache-${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/ant/source/apache-${P}-src.tar.gz.asc )" +S="${WORKDIR}/apache-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="bcel bsf commonslogging commonsnet jai jakartamail javamail jdepend jsch junit junit4 + junitlauncher log4j oro regexp resolver testutil xalan xz" + +# At least 10 test cases would fail without network +PROPERTIES="test_network" +RESTRICT="test" + +REQUIRED_USE=" + junit4? ( junit ) + test? ( bsf ) + testutil? ( junit ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/ant.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-ant )" +# jdk-11:* because it needs java/util/spi/ToolProvider, available since Java 9. +DEPEND=" + >=virtual/jdk-11:* + bcel? ( dev-java/bcel:0 ) + bsf? ( dev-java/bsf:2.3 ) + commonslogging? ( dev-java/commons-logging:0 ) + commonsnet? ( dev-java/commons-net:0 ) + jai? ( dev-java/sun-jai-bin:0 ) + jakartamail? ( dev-java/jakarta-mail:0 ) + javamail? ( dev-java/javax-mail:0 ) + jdepend? ( >=dev-java/jdepend-2.10-r1:0 ) + jsch? ( dev-java/jsch:0 ) + junit4? ( dev-java/junit:4 ) + junit? ( dev-java/junit:4 ) + junitlauncher? ( dev-java/junit:5[vintage] ) + log4j? ( dev-java/log4j-12-api:2 ) + oro? ( dev-java/jakarta-oro:2.0 ) + regexp? ( dev-java/jakarta-regexp:1.4 ) + resolver? ( dev-java/xml-commons-resolver:0 ) + test? ( + dev-java/antunit:0 + dev-java/bsf:2.3[javascript] + dev-java/bsh:0 + dev-java/hamcrest-library:1.3 + dev-java/xerces:2 + ) + xalan? ( + dev-java/xalan:0 + dev-java/xalan-serializer:0 + ) + xz? ( dev-java/xz-java:0 ) +" +PDEPEND="~dev-java/ant-core-${PV}:0" +RDEPEND=" + !=virtual/jre-1.8:* +" + +DOCS=( CONTRIBUTORS INSTALL NOTICE README WHATSNEW ) +PATCHES=( + "${FILESDIR}/1.10.9-launch.patch" # reusing this patch since the script has not changed + "${FILESDIR}/ant-1.10.14-AntlibTest.patch" # skips 1 of 6 tests + "${FILESDIR}/ant-1.10.14-AntTest.patch" # skips 1 of 32 tests + "${FILESDIR}/ant-1.10.14-JavaTest.patch" # skips 12 of 38 tests + "${FILESDIR}/ant-1.10.14-LinkTest.patch" # skips 4 of 67 tests + "${FILESDIR}/ant-1.10.14-PathTest.patch" # skips 1 of 33 tests +) + +JAVADOC_SRC_DIRS=( + ant + ant-launcher/src/main +) +JAVA_TEST_GENTOO_CLASSPATH=" + bsh + hamcrest-library-1.3 + junit-4 + xerces-2 +" +JAVA_TEST_RESOURCE_DIRS=( + "src/etc/testcases" + "src/main" +) +JAVA_TEST_SRC_DIR="src/tests/junit" + +# $1 ant-apache-bsf (source directory) +# $2 bsf-2.3 (classpath of external dependency) +taskdeps() { + if [[ ${task} == $1 ]]; then + JAVA_CLASSPATH_EXTRA="${2}" + JAVADOC_CLASSPATH+=" ${2}" + JAVADOC_SRC_DIRS+=( "${task}/src/main" ) + JAVA_RESOURCE_DIRS="${3}" + fi +} + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + java-pkg_clean ! -path "./src/etc/*" # keep test resources + + eprefixify "src/script/ant" + + ANT_TASKS=( + ant-antlr # no dependencies + $(use bcel && echo ant-apache-bcel) + $(use bsf && echo ant-apache-bsf) # REQUIRED_USE for tests + $(use log4j && echo ant-apache-log4j) + $(use oro && echo ant-apache-oro) # ORO is retired - replace with java.util.regex? + $(use regexp && echo ant-apache-regexp) + $(use resolver && echo ant-apache-resolver) + $(use xalan && echo ant-apache-xalan2) + $(use commonslogging && echo ant-commons-logging) + $(use commonsnet && echo ant-commons-net) + ant-imageio # no dependencies + $(use jai && echo ant-jai) + $(use jakartamail && echo ant-jakartamail) + $(use javamail && echo ant-javamail) + $(use jdepend && echo ant-jdepend) + ant-jmf # no dependencies + $(use jsch && echo ant-jsch) + $(use junit && echo ant-junit) # REQUIRED_USE for junit4 and for testutil + $(use junit4 && echo ant-junit4) + $(use junitlauncher && echo ant-junitlauncher) + # depends on "com.ibm.netrexx:netrexx:2.0.5" which is + # available on https://www.netrexx.org/downloads.nsp and states: + # "IBM's last NetRexx release, suitable for JVM versions 1.5 and below [...]" + # $(use netrexx && echo ant-netrexx) # src/etc/poms/ant-netrexx/pom.xml + ant-swing # no dependencies + $(use testutil && echo ant-testutil) + $(use xz && echo ant-xz) + ) + + # defaultManifest.mf + sed -e "s:\${project.version}:${PV}:" \ + -i src/main/org/apache/tools/ant/defaultManifest.mf || die + + # version.txt + local mydate="$(date '+%B %d %Y')" + echo "VERSION=${PV}" > src/main/org/apache/tools/ant/version.txt || die + echo "DATE=${mydate}" >> src/main/org/apache/tools/ant/version.txt || die + + # src directory for ant.jar + mkdir ant || die "cannot create src directory for ant" + cp -r {src/main/,ant}/org || die "cannot copy ant sources" + + # resources directory for ant.jar according to lines 317-325 src/etc/poms/ant/pom.xml + local INCLUDES=( $( + sed -n '//,/<\/resources>/p' \ + src/etc/poms/ant/pom.xml \ + | grep org \ + | sed -e 's:.*\(.*\):\1:' || die + )) + cp -r {src/,ant}/resources || die "cannot copy ant resources" + pushd src/main > /dev/null || die "pushd src/main" + cp --parents -v "${INCLUDES[@]}" ../../ant/resources || die "CANNOT" + popd > /dev/null || die "popd" + + # Remove sources according to lines 158-187 src/etc/poms/ant/pom.xml + # We don't remove anything from src/main/org + local EXCLUDES=$( + sed -n '//,/<\/excludes/p' \ + src/etc/poms/ant/pom.xml \ + | grep org \ + | sed -e 's:\(.*\):ant/\1:' || die + ) + rm -r ${EXCLUDES} || die + # Remove one more file directly, could not get it with sed. + rm ant/org/apache/tools/ant/taskdefs/optional/ANTLR.java || die + + # Same handling for everything between + # Removing non-existing files is not possible: We ignore them ( grep -v ). + local TEST_EXCLUDES=$( + sed -n '//,/<\/testExcludes/p' \ + src/etc/poms/ant/pom.xml \ + | grep org \ + | grep -v CommonsLoggingListener \ + | grep -v Log4jListener \ + | sed -e 's:\(.*\):src/tests/junit/\1:' || die + ) + rm -r ${TEST_EXCLUDES} || die + + # Prepare a separate JAVA_SRC_DIR directory for each jar file to be created. + einfo "Copy source files of ant-tasks" + local task + for task in ant-launcher "${ANT_TASKS[@]}"; do + # "${task}/src/main" will be JAVA_SRC_DIR + mkdir -p "${task}/src/main" || die "mkdir ${task}" + # Read from pom.xml the file names which can still contain wildcards + local INCLUDES=( $( + sed -n '//,/<\/includes>/p' "src/etc/poms/${task}/pom.xml" \ + | grep org \ + | sed -e 's:.*\(.*\):\1:' || die + )) + local sourcefile + # Resolve wildcards in file names using find and copy the files to the corresponding + # "${task}"/src/main directory + # echo "${INCLUDES[@]}" + for sourcefile in "${INCLUDES[@]}"; do + # einfo "${task}: ${sourcefile}" + # Parameter substitution % to remove trailing slash from ${sourcefile}. + # Applies to ant-jdepend and ant-junitlauncher where find would otherwise fail. + find \ + -path "./src/*/${sourcefile%/}" \ + -exec cp -r --parents "{}" \ + "${task}/src/main" \; + done + # tree "${task}" + done + + # JAVA_RESOURCE_DIRS for ant-junit + mkdir -p ant-junit/src/resources/org/apache/tools/ant/taskdefs/optional/junit/xsl \ + || die "junit resource dir" + cp src/etc/{junit-frames,junit-noframes,junit-frames-saxon,junit-noframes-saxon}.xsl \ + ant-junit/src/resources/org/apache/tools/ant/taskdefs/optional/junit/xsl \ + || die "junit resources" +} + +src_compile() { + einfo "Compiling ant-launcher.jar" + JAVA_JAR_FILENAME="ant-launcher.jar" + JAVA_MAIN_CLASS="org.apache.tools.ant.launch.Launcher" + JAVA_SRC_DIR="ant-launcher/src/main" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":ant-launcher.jar" + rm -r target || die + + einfo "Compiling ant.jar" + JAVA_JAR_FILENAME="ant.jar" + JAVA_LAUNCHER_FILENAME="ant" + JAVA_MAIN_CLASS="org.apache.tools.ant.Main" + JAVA_RESOURCE_DIRS="ant/resources" + JAVA_SRC_DIR="ant" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":ant.jar" + rm -r target || die + + local task + for task in "${ANT_TASKS[@]}"; do + einfo "Compiling ${task}" + JAVA_JAR_FILENAME="${task}.jar" + JAVA_MAIN_CLASS="" + JAVA_RESOURCE_DIRS="" + JAVA_SRC_DIR="" + + JAVA_SRC_DIR="${task}/src/main" + taskdeps ant-apache-bcel bcel + taskdeps ant-apache-bsf bsf-2.3 + taskdeps ant-apache-log4j log4j-12-api-2 + taskdeps ant-apache-oro jakarta-oro-2.0 + taskdeps ant-apache-regexp jakarta-regexp-1.4 + taskdeps ant-apache-resolver xml-commons-resolver + taskdeps ant-apache-xalan2 xalan + taskdeps ant-commons-logging commons-logging + taskdeps ant-commons-net commons-net + taskdeps ant-jai sun-jai-bin + taskdeps ant-jakartamail jakarta-mail + taskdeps ant-javamail javax-mail + taskdeps ant-jdepend jdepend + taskdeps ant-jsch jsch + taskdeps ant-junit junit-4 ant-junit/src/resources + taskdeps ant-junit4 junit-4 + taskdeps ant-junitlauncher junit-5 + # $(use netrexx && echo ant-netrexx) + taskdeps ant-xz xz-java + + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":${task}.jar" + rm -fr target || die + done + use doc && ejavadoc +} + +src_test() { + # Avoid "--with-dependencies" as used by JAVA_TEST_GENTOO_CLASSPATH. + # dev-java/antunit has a circular dependency with dev-java/ant[test] + JAVA_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjars --build-only antunit)" + # according to line 115 src/etc/poms/ant/pom.xml + jar -cvf src/etc/testcases/org/apache/tools/ant/taskdefs/test2-antlib.jar \ + -C src/etc/testcases taskdefs/test.antlib.xml || die "cannot test2-antlib.jar" + + JAVA_TEST_EXCLUDES=( + # according to lines 1956-1964 build.xml (abstract classes, not testcases) + org.apache.tools.ant.taskdefs.TaskdefsTest + org.apache.tools.ant.BuildFileTest + org.apache.tools.ant.util.regexp.RegexpMatcherTest + org.apache.tools.ant.util.regexp.RegexpTest + org.apache.tools.ant.types.selectors.BaseSelectorTest + # according to line 1970 build.xml (helper classes, not testcases) + org.apache.tools.ant.TestHelper + # lines 2097-2102 build.xml (interactive tests) + org.apache.tools.ant.taskdefs.TestProcess # 1. No runnable methods + # 1) testAll(org.apache.tools.ant.taskdefs.InitializeClassTest) + # /var/tmp/portage/dev-java/ant-1.10.14/work/apache-ant-1.10.14/ + # src/etc/testcases/taskdefs/initializeclass.xml:24: Java returned: 1 + # + # + org.apache.tools.ant.taskdefs.InitializeClassTest # Tests run: 1, Failures: 1 + ) + +# tests with patches to be revisited +# JAVA_TEST_RUN_ONLY=( +# org.apache.tools.ant.taskdefs.AntlibTest # Tests run: 6, Failures: 1 test2-antlib.jar? +# org.apache.tools.ant.taskdefs.AntTest # Tests run: 32, Failures: 1 +# org.apache.tools.ant.taskdefs.JavaTest # Tests run: 38, Failures: 12 +# org.apache.tools.ant.taskdefs.modules.LinkTest # Tests run: 67, Failures: 4 +# org.apache.tools.ant.types.PathTest # Tests run: 33, Failures: 1 +# ) + + # according to lines 276-297 src/etc/poms/ant/pom.xml + JAVA_TEST_EXTRA_ARGS=( + -Dant.home="${ANT_HOME}" + -Dbuild.classes.value=../../../target/test-classes # needed for org.apache.tools.ant.taskdefs.SignJarTest + -Dbuild.tests.value=target/test-classes + -Doffline=true + -Dant.test.basedir.ignore=true + ) + java-pkg-simple_src_test +} + +src_install() { + java-pkg_dojar ant.jar ant-launcher.jar + + # Compatibility symlink, should be removed after transition period. + dosym -r /usr/share/ant{,-core}/lib/ant.jar + + for task in "${ANT_TASKS[@]}"; do + java-pkg_dojar "${task}.jar" + java-pkg_register-ant-task --version "${PV}" "${task}" + done + + dobin src/script/ant + + dodir /usr/share/ant/bin + for each in antRun antRun.pl runant.pl runant.py ; do + dobin "${S}/src/script/${each}" + done + + insinto /usr/share/ant/etc + doins -r src/etc/*.xsl + insinto /usr/share/ant/etc/checkstyle + doins -r src/etc/checkstyle/*.xsl + + echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant" + doenvd "${T}/20ant" + + einstalldocs + if use doc; then + java-pkg_dojavadoc target/api + docinto html + dodoc -r manual + fi + + use source && java-pkg_dosrc src/main/* +} diff --git a/dev-java/ant/ant-1.10.14.ebuild b/dev-java/ant/ant-1.10.14.ebuild deleted file mode 100644 index 57167d57a761..000000000000 --- a/dev-java/ant/ant-1.10.14.ebuild +++ /dev/null @@ -1,369 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_PROVIDES=" - org.apache.ant:ant:${PV} - org.apache.ant:ant-launcher:${PV} -" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple verify-sig prefix - -DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files" -HOMEPAGE="https://ant.apache.org/" -SRC_URI="mirror://apache/ant/source/apache-${P}-src.tar.gz - verify-sig? ( https://downloads.apache.org/ant/source/apache-${P}-src.tar.gz.asc )" -S="${WORKDIR}/apache-${P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" -IUSE="bcel bsf commonslogging commonsnet jai jakartamail javamail jdepend jsch junit junit4 - junitlauncher log4j oro regexp resolver testutil xalan xz" - -# At least 10 test cases would fail without network -PROPERTIES="test_network" -RESTRICT="test" - -REQUIRED_USE=" - junit4? ( junit ) - test? ( bsf ) - testutil? ( junit ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/ant.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-ant )" -# jdk-11:* because it needs java/util/spi/ToolProvider, available since Java 9. -DEPEND=" - >=virtual/jdk-11:* - bcel? ( dev-java/bcel:0 ) - bsf? ( dev-java/bsf:2.3 ) - commonslogging? ( dev-java/commons-logging:0 ) - commonsnet? ( dev-java/commons-net:0 ) - jai? ( dev-java/sun-jai-bin:0 ) - jakartamail? ( dev-java/jakarta-mail:0 ) - javamail? ( dev-java/javax-mail:0 ) - jdepend? ( >=dev-java/jdepend-2.10-r1:0 ) - jsch? ( dev-java/jsch:0 ) - junit4? ( dev-java/junit:4 ) - junit? ( dev-java/junit:4 ) - junitlauncher? ( dev-java/junit:5[vintage] ) - log4j? ( dev-java/log4j-12-api:2 ) - oro? ( dev-java/jakarta-oro:2.0 ) - regexp? ( dev-java/jakarta-regexp:1.4 ) - resolver? ( dev-java/xml-commons-resolver:0 ) - test? ( - dev-java/antunit:0 - dev-java/bsf:2.3[javascript] - dev-java/bsh:0 - dev-java/hamcrest-library:1.3 - dev-java/xerces:2 - ) - xalan? ( - dev-java/xalan:0 - dev-java/xalan-serializer:0 - ) - xz? ( dev-java/xz-java:0 ) -" -PDEPEND="~dev-java/ant-core-${PV}:0" -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( CONTRIBUTORS INSTALL NOTICE README WHATSNEW ) -PATCHES=( - "${FILESDIR}/1.10.9-launch.patch" # reusing this patch since the script has not changed - "${FILESDIR}/ant-1.10.14-AntlibTest.patch" # skips 1 of 6 tests - "${FILESDIR}/ant-1.10.14-AntTest.patch" # skips 1 of 32 tests - "${FILESDIR}/ant-1.10.14-JavaTest.patch" # skips 12 of 38 tests - "${FILESDIR}/ant-1.10.14-LinkTest.patch" # skips 4 of 67 tests - "${FILESDIR}/ant-1.10.14-PathTest.patch" # skips 1 of 33 tests -) - -JAVADOC_SRC_DIRS=( - ant - ant-launcher/src/main -) -JAVA_TEST_GENTOO_CLASSPATH=" - bsh - hamcrest-library-1.3 - junit-4 - xerces-2 -" -JAVA_TEST_RESOURCE_DIRS=( - "src/etc/testcases" - "src/main" -) -JAVA_TEST_SRC_DIR="src/tests/junit" - -# $1 ant-apache-bsf (source directory) -# $2 bsf-2.3 (classpath of external dependency) -taskdeps() { - if [[ ${task} == $1 ]]; then - JAVA_CLASSPATH_EXTRA="${2}" - JAVADOC_CLASSPATH+=" ${2}" - JAVADOC_SRC_DIRS+=( "${task}/src/main" ) - JAVA_RESOURCE_DIRS="${3}" - fi -} - -src_prepare() { - default #780585 - java-pkg-2_src_prepare - java-pkg_clean ! -path "./src/etc/*" # keep test resources - - eprefixify "src/script/ant" - - ANT_TASKS=( - ant-antlr # no dependencies - $(use bcel && echo ant-apache-bcel) - $(use bsf && echo ant-apache-bsf) # REQUIRED_USE for tests - $(use log4j && echo ant-apache-log4j) - $(use oro && echo ant-apache-oro) # ORO is retired - replace with java.util.regex? - $(use regexp && echo ant-apache-regexp) - $(use resolver && echo ant-apache-resolver) - $(use xalan && echo ant-apache-xalan2) - $(use commonslogging && echo ant-commons-logging) - $(use commonsnet && echo ant-commons-net) - ant-imageio # no dependencies - $(use jai && echo ant-jai) - $(use jakartamail && echo ant-jakartamail) - $(use javamail && echo ant-javamail) - $(use jdepend && echo ant-jdepend) - ant-jmf # no dependencies - $(use jsch && echo ant-jsch) - $(use junit && echo ant-junit) # REQUIRED_USE for junit4 and for testutil - $(use junit4 && echo ant-junit4) - $(use junitlauncher && echo ant-junitlauncher) - # depends on "com.ibm.netrexx:netrexx:2.0.5" which is - # available on https://www.netrexx.org/downloads.nsp and states: - # "IBM's last NetRexx release, suitable for JVM versions 1.5 and below [...]" - # $(use netrexx && echo ant-netrexx) # src/etc/poms/ant-netrexx/pom.xml - ant-swing # no dependencies - $(use testutil && echo ant-testutil) - $(use xz && echo ant-xz) - ) - - # defaultManifest.mf - sed -e "s:\${project.version}:${PV}:" \ - -i src/main/org/apache/tools/ant/defaultManifest.mf || die - - # version.txt - local mydate="$(date '+%B %d %Y')" - echo "VERSION=${PV}" > src/main/org/apache/tools/ant/version.txt || die - echo "DATE=${mydate}" >> src/main/org/apache/tools/ant/version.txt || die - - # src directory for ant.jar - mkdir ant || die "cannot create src directory for ant" - cp -r {src/main/,ant}/org || die "cannot copy ant sources" - - # resources directory for ant.jar according to lines 317-325 src/etc/poms/ant/pom.xml - local INCLUDES=( $( - sed -n '//,/<\/resources>/p' \ - src/etc/poms/ant/pom.xml \ - | grep org \ - | sed -e 's:.*\(.*\):\1:' || die - )) - cp -r {src/,ant}/resources || die "cannot copy ant resources" - pushd src/main > /dev/null || die "pushd src/main" - cp --parents -v "${INCLUDES[@]}" ../../ant/resources || die "CANNOT" - popd > /dev/null || die "popd" - - # Remove sources according to lines 158-187 src/etc/poms/ant/pom.xml - # We don't remove anything from src/main/org - local EXCLUDES=$( - sed -n '//,/<\/excludes/p' \ - src/etc/poms/ant/pom.xml \ - | grep org \ - | sed -e 's:\(.*\):ant/\1:' || die - ) - rm -r ${EXCLUDES} || die - # Remove one more file directly, could not get it with sed. - rm ant/org/apache/tools/ant/taskdefs/optional/ANTLR.java || die - - # Same handling for everything between - # Removing non-existing files is not possible: We ignore them ( grep -v ). - local TEST_EXCLUDES=$( - sed -n '//,/<\/testExcludes/p' \ - src/etc/poms/ant/pom.xml \ - | grep org \ - | grep -v CommonsLoggingListener \ - | grep -v Log4jListener \ - | sed -e 's:\(.*\):src/tests/junit/\1:' || die - ) - rm -r ${TEST_EXCLUDES} || die - - # Prepare a separate JAVA_SRC_DIR directory for each jar file to be created. - einfo "Copy source files of ant-tasks" - local task - for task in ant-launcher "${ANT_TASKS[@]}"; do - # "${task}/src/main" will be JAVA_SRC_DIR - mkdir -p "${task}/src/main" || die "mkdir ${task}" - # Read from pom.xml the file names which can still contain wildcards - local INCLUDES=( $( - sed -n '//,/<\/includes>/p' "src/etc/poms/${task}/pom.xml" \ - | grep org \ - | sed -e 's:.*\(.*\):\1:' || die - )) - local sourcefile - # Resolve wildcards in file names using find and copy the files to the corresponding - # "${task}"/src/main directory - # echo "${INCLUDES[@]}" - for sourcefile in "${INCLUDES[@]}"; do - # einfo "${task}: ${sourcefile}" - # Parameter substitution % to remove trailing slash from ${sourcefile}. - # Applies to ant-jdepend and ant-junitlauncher where find would otherwise fail. - find \ - -path "./src/*/${sourcefile%/}" \ - -exec cp -r --parents "{}" \ - "${task}/src/main" \; - done - # tree "${task}" - done - - # JAVA_RESOURCE_DIRS for ant-junit - mkdir -p ant-junit/src/resources/org/apache/tools/ant/taskdefs/optional/junit/xsl \ - || die "junit resource dir" - cp src/etc/{junit-frames,junit-noframes,junit-frames-saxon,junit-noframes-saxon}.xsl \ - ant-junit/src/resources/org/apache/tools/ant/taskdefs/optional/junit/xsl \ - || die "junit resources" -} - -src_compile() { - einfo "Compiling ant-launcher.jar" - JAVA_JAR_FILENAME="ant-launcher.jar" - JAVA_MAIN_CLASS="org.apache.tools.ant.launch.Launcher" - JAVA_SRC_DIR="ant-launcher/src/main" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":ant-launcher.jar" - rm -r target || die - - einfo "Compiling ant.jar" - JAVA_JAR_FILENAME="ant.jar" - JAVA_LAUNCHER_FILENAME="ant" - JAVA_MAIN_CLASS="org.apache.tools.ant.Main" - JAVA_RESOURCE_DIRS="ant/resources" - JAVA_SRC_DIR="ant" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":ant.jar" - rm -r target || die - - local task - for task in "${ANT_TASKS[@]}"; do - einfo "Compiling ${task}" - JAVA_JAR_FILENAME="${task}.jar" - JAVA_MAIN_CLASS="" - JAVA_RESOURCE_DIRS="" - JAVA_SRC_DIR="" - - JAVA_SRC_DIR="${task}/src/main" - taskdeps ant-apache-bcel bcel - taskdeps ant-apache-bsf bsf-2.3 - taskdeps ant-apache-log4j log4j-12-api-2 - taskdeps ant-apache-oro jakarta-oro-2.0 - taskdeps ant-apache-regexp jakarta-regexp-1.4 - taskdeps ant-apache-resolver xml-commons-resolver - taskdeps ant-apache-xalan2 xalan - taskdeps ant-commons-logging commons-logging - taskdeps ant-commons-net commons-net - taskdeps ant-jai sun-jai-bin - taskdeps ant-jakartamail jakarta-mail - taskdeps ant-javamail javax-mail - taskdeps ant-jdepend jdepend - taskdeps ant-jsch jsch - taskdeps ant-junit junit-4 ant-junit/src/resources - taskdeps ant-junit4 junit-4 - taskdeps ant-junitlauncher junit-5 - # $(use netrexx && echo ant-netrexx) - taskdeps ant-xz xz-java - - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":${task}.jar" - rm -fr target || die - done - use doc && ejavadoc -} - -src_test() { - # Avoid "--with-dependencies" as used by JAVA_TEST_GENTOO_CLASSPATH. - # dev-java/antunit has a circular dependency with dev-java/ant[test] - JAVA_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjars --build-only antunit)" - # according to line 115 src/etc/poms/ant/pom.xml - jar -cvf src/etc/testcases/org/apache/tools/ant/taskdefs/test2-antlib.jar \ - -C src/etc/testcases taskdefs/test.antlib.xml || die "cannot test2-antlib.jar" - - JAVA_TEST_EXCLUDES=( - # according to lines 1956-1964 build.xml (abstract classes, not testcases) - org.apache.tools.ant.taskdefs.TaskdefsTest - org.apache.tools.ant.BuildFileTest - org.apache.tools.ant.util.regexp.RegexpMatcherTest - org.apache.tools.ant.util.regexp.RegexpTest - org.apache.tools.ant.types.selectors.BaseSelectorTest - # according to line 1970 build.xml (helper classes, not testcases) - org.apache.tools.ant.TestHelper - # lines 2097-2102 build.xml (interactive tests) - org.apache.tools.ant.taskdefs.TestProcess # 1. No runnable methods - # 1) testAll(org.apache.tools.ant.taskdefs.InitializeClassTest) - # /var/tmp/portage/dev-java/ant-1.10.14/work/apache-ant-1.10.14/ - # src/etc/testcases/taskdefs/initializeclass.xml:24: Java returned: 1 - # - # - org.apache.tools.ant.taskdefs.InitializeClassTest # Tests run: 1, Failures: 1 - ) - -# tests with patches to be revisited -# JAVA_TEST_RUN_ONLY=( -# org.apache.tools.ant.taskdefs.AntlibTest # Tests run: 6, Failures: 1 test2-antlib.jar? -# org.apache.tools.ant.taskdefs.AntTest # Tests run: 32, Failures: 1 -# org.apache.tools.ant.taskdefs.JavaTest # Tests run: 38, Failures: 12 -# org.apache.tools.ant.taskdefs.modules.LinkTest # Tests run: 67, Failures: 4 -# org.apache.tools.ant.types.PathTest # Tests run: 33, Failures: 1 -# ) - - # according to lines 276-297 src/etc/poms/ant/pom.xml - JAVA_TEST_EXTRA_ARGS=( - -Dant.home="${ANT_HOME}" - -Dbuild.classes.value=../../../target/test-classes # needed for org.apache.tools.ant.taskdefs.SignJarTest - -Dbuild.tests.value=target/test-classes - -Doffline=true - -Dant.test.basedir.ignore=true - ) - java-pkg-simple_src_test -} - -src_install() { - java-pkg_dojar ant.jar ant-launcher.jar - - # Compatibility symlink, should be removed after transition period. - dosym -r /usr/share/ant{,-core}/lib/ant.jar - - for task in "${ANT_TASKS[@]}"; do - java-pkg_dojar "${task}.jar" - java-pkg_register-ant-task --version "${PV}" "${task}" - done - - dobin src/script/ant - - dodir /usr/share/ant/bin - for each in antRun antRun.pl runant.pl runant.py ; do - dobin "${S}/src/script/${each}" - done - - insinto /usr/share/ant/etc - doins -r src/etc/*.xsl - insinto /usr/share/ant/etc/checkstyle - doins -r src/etc/checkstyle/*.xsl - - echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant" - doenvd "${T}/20ant" - - einstalldocs - if use doc; then - java-pkg_dojavadoc target/api - docinto html - dodoc -r manual - fi - - use source && java-pkg_dosrc src/main/* -} -- cgit v1.2.3-65-gdbad From 1dbb7a05eb8f37910701c5092cc33225072b052f Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 23 Jan 2024 13:54:55 -0500 Subject: net-misc/freerdp: add 2.11.5 Closes: https://bugs.gentoo.org/922720 Signed-off-by: Mike Gilbert --- net-misc/freerdp/Manifest | 1 + net-misc/freerdp/freerdp-2.11.5.ebuild | 142 +++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 net-misc/freerdp/freerdp-2.11.5.ebuild diff --git a/net-misc/freerdp/Manifest b/net-misc/freerdp/Manifest index c96035482eaf..22fecb14c5a5 100644 --- a/net-misc/freerdp/Manifest +++ b/net-misc/freerdp/Manifest @@ -1,4 +1,5 @@ DIST freerdp-2.11.1.tar.gz 7325835 BLAKE2B 2b6e62cd46627c60c3e815216711d3c5c9839d232aa5cb8653d92870bb46d93c40f2f44e0abf7ef6e5f44d92239541ae44d37366f343a1992fdbc8f09452fba0 SHA512 efd9d44bdc15047322600046fdcd17e37f14c84d75badc77e8ea53da6e065f33725be2f3c03e02031867124b62b32ad9deeabf8cc8f79321e7a866f552e63f2d DIST freerdp-2.11.2.tar.gz 7326213 BLAKE2B 5d044d660df1e5115ffde13389be79e852711161ad1969017a9ba662e5f278fc98b86efbc59a24c3ea32a137c24ed308ef5c9eb89db1c24f37f1b8b41bfd3c45 SHA512 2e0e74cba22ed0b33fd6453dd76f6a1ffb3107d1868276faf3eea25bd58d3d869c2ce7c6c467896ecc94ca71c0582beb029a0d44f50df38cc26661f85d0822fb +DIST freerdp-2.11.5.tar.gz 7330372 BLAKE2B 53adf40ca8f6c226f93cbc4599d857170bed2cbbe233860f52b30416b3a5d15c1ef2268c329790553dd1dbbcd93dedd834e5b62f67128029e551083d1053b357 SHA512 152dfef2783283ef703eb28ebe4d32fb02519ee6de9042b124af34395a2a6db36bd4cf1e96200ba3e93acf06c245109413e3e36e6143ed4409bd90ede6c383bd DIST freerdp-3.0.0.tar.gz 9032924 BLAKE2B 45e3ee13a664b947e509100824709088091192e89405f48defd3dfe2f4bf16ca359b37d632db49b7d3ce5e764b2ba7de5b2296c7b703c6a25181db245e8b551f SHA512 7868f6d436e65d2b81e42a6b4073e9775d5336c908294d058023e86c4d5d2b86318bc7ba1ad6093d2d4defdbefa278b8202f6da6e450a4264d3f5cb39eaf02c2 DIST freerdp-3.1.0.tar.gz 8462182 BLAKE2B 5451a0aef525ebb61d457b3c5f05da9f8f05b72ca06b56abac0ac938657100b023ca3ffbd93db357808201736d9c73ac33c5af7898eb03a0509409d3e3f27896 SHA512 e97218656042a065373a54128ec0f9794a4d77313d3f3898be698ca8c1dda17bd707a72d62cdfbc0ada2856f43a1150c7e74f49a9b99bf3aa4002a3cb15fb905 diff --git a/net-misc/freerdp/freerdp-2.11.5.ebuild b/net-misc/freerdp/freerdp-2.11.5.ebuild new file mode 100644 index 000000000000..c94a19725bf3 --- /dev/null +++ b/net-misc/freerdp/freerdp-2.11.5.ebuild @@ -0,0 +1,142 @@ +# Copyright 2011-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" + case ${PV} in + 2.*) EGIT_BRANCH="stable-2.0";; + esac +else + MY_P=${P/_/-} + S="${WORKDIR}/${MY_P}" + SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Free implementation of the Remote Desktop Protocol" +HOMEPAGE="https://www.freerdp.com/" + +LICENSE="Apache-2.0" +SLOT="0/2" +IUSE="alsa cpu_flags_arm_neon cups debug doc +ffmpeg gstreamer icu jpeg kerberos openh264 pulseaudio server smartcard systemd test usb valgrind wayland X xinerama xv" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + sys-libs/zlib:0 + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + usb? ( + virtual/libudev:0= + sys-apps/util-linux:0= + dev-libs/dbus-glib:0= + virtual/libusb:1= + ) + X? ( + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + xv? ( x11-libs/libXv ) + ) + ffmpeg? ( media-video/ffmpeg:0= ) + !ffmpeg? ( + x11-libs/cairo:0= + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + x11-libs/libXrandr + ) + icu? ( dev-libs/icu:0= ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + kerberos? ( virtual/krb5 ) + openh264? ( media-libs/openh264:0= ) + pulseaudio? ( media-libs/libpulse ) + server? ( + X? ( + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + xinerama? ( x11-libs/libXinerama ) + ) + ) + smartcard? ( sys-apps/pcsc-lite ) + systemd? ( sys-apps/systemd:0= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + X? ( + x11-libs/libX11 + x11-libs/libxkbfile + ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + virtual/pkgconfig + X? ( doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + ) ) +" + +PATCHES=( + "${FILESDIR}/freerdp-2.11.2-clang.patch" + "${FILESDIR}/freerdp-2.11-Revert-codec-encode-messages-considering-endianness.patch" +) + +src_configure() { + # bug #881695 + filter-lto + + local mycmakeargs=( + -Wno-dev + -DBUILD_TESTING=$(usex test ON OFF) + -DCHANNEL_URBDRC=$(usex usb ON OFF) + -DWITH_ALSA=$(usex alsa ON OFF) + -DWITH_CCACHE=OFF + -DWITH_CUPS=$(usex cups ON OFF) + -DWITH_DEBUG_ALL=$(usex debug ON OFF) + -DWITH_MANPAGES=$(usex doc ON OFF) + -DWITH_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_SWSCALE=$(usex ffmpeg ON OFF) + -DWITH_CAIRO=$(usex ffmpeg OFF ON) + -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) + -DWITH_ICU=$(usex icu ON OFF) + -DWITH_JPEG=$(usex jpeg ON OFF) + -DWITH_GSSAPI=$(usex kerberos ON OFF) + -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) + -DWITH_OPENH264=$(usex openh264 ON OFF) + -DWITH_OSS=OFF + -DWITH_PULSE=$(usex pulseaudio ON OFF) + -DWITH_SERVER=$(usex server ON OFF) + -DWITH_PCSC=$(usex smartcard ON OFF) + -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) + -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) + -DWITH_X11=$(usex X ON OFF) + -DWITH_XINERAMA=$(usex xinerama ON OFF) + -DWITH_XV=$(usex xv ON OFF) + -DWITH_WAYLAND=$(usex wayland ON OFF) + ) + cmake_src_configure +} + +src_test() { + local myctestargs=() + use elibc_musl && myctestargs+=( -E TestBacktrace ) + cmake_src_test +} -- cgit v1.2.3-65-gdbad From 14463bd86886a6fbe1b6f2659f22658c27da2e97 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 23 Jan 2024 18:58:18 +0000 Subject: sys-fs/genfstab: Keyword 28-r1 hppa, #921377 Signed-off-by: Arthur Zamarin --- sys-fs/genfstab/genfstab-28-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/genfstab/genfstab-28-r1.ebuild b/sys-fs/genfstab/genfstab-28-r1.ebuild index c2dc0bfe36d5..83d99d94b075 100644 --- a/sys-fs/genfstab/genfstab-28-r1.ebuild +++ b/sys-fs/genfstab/genfstab-28-r1.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/arch-install-scripts-${PV}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" -- cgit v1.2.3-65-gdbad From c0881a14ca711dc468a553b282a064578832d3ab Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 23 Jan 2024 18:58:19 +0000 Subject: sys-apps/arch-chroot: Stabilize 28 sparc, #921378 Signed-off-by: Arthur Zamarin --- sys-apps/arch-chroot/arch-chroot-28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/arch-chroot/arch-chroot-28.ebuild b/sys-apps/arch-chroot/arch-chroot-28.ebuild index ab075e2c2954..24c4c5db0577 100644 --- a/sys-apps/arch-chroot/arch-chroot-28.ebuild +++ b/sys-apps/arch-chroot/arch-chroot-28.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v${ LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND="app-text/asciidoc" -- cgit v1.2.3-65-gdbad From 9b4bb667f85fbbc61fa6291c536ca0be59c764ba Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Tue, 23 Jan 2024 18:58:20 +0000 Subject: dev-python/aiohappyeyeballs: Keyword 2.3.1 hppa, #921513 Signed-off-by: Arthur Zamarin --- dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild index 8d7d572d0719..b17652f34fe0 100644 --- a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" test? ( -- cgit v1.2.3-65-gdbad