diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-java/felix-utils | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-java/felix-utils')
| -rw-r--r-- | dev-java/felix-utils/Manifest | 2 | ||||
| -rw-r--r-- | dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild | 51 | ||||
| -rw-r--r-- | dev-java/felix-utils/files/felix-utils-1.11.8-Port-to-osgi-cmpn.patch | 123 | ||||
| -rw-r--r-- | dev-java/felix-utils/metadata.xml | 11 |
4 files changed, 0 insertions, 187 deletions
diff --git a/dev-java/felix-utils/Manifest b/dev-java/felix-utils/Manifest deleted file mode 100644 index 7f59424e9061..000000000000 --- a/dev-java/felix-utils/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST org.apache.felix.utils-1.11.8-source-release.tar.gz 90519 BLAKE2B 2fe6ce8101e8e4d9533a2decacc581d35babd3a26747598a196ade7cea787d6e379968208619dc9c4d89c8f670ccb98124223828c852347f859c4ae3a7f284c8 SHA512 cef0f05754857a5863869145b3c465a1fea0d41767637df904b0b041579af18e5b5e3c8e09dc89f0e2e3d252585e0765b6b6e34bf932df1ebdc62a7127ac8cfd -DIST org.apache.felix.utils-1.11.8-source-release.tar.gz.asc 833 BLAKE2B 231acada5011f33a62460d027e76630fecbe15acd5dedc76673a80b6cd4de1ec7ae13a890cd02231a6e94a5555a33154c9144e514058733827841e98ab509d18 SHA512 06755950ed4d2d943c08d76c0abcfc8846f478e8a18543f551913ec7d74d1a946dc7c9f34444b4191186e41e7bd70594db8462c1bc7c895011696c03ada06921 diff --git a/dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild b/dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild deleted file mode 100644 index f89f0115751d..000000000000 --- a/dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild +++ /dev/null @@ -1,51 +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_ID="org.apache.felix:org.apache.felix.utils:1.11.8" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Utility classes for OSGi" -HOMEPAGE="https://felix.apache.org/documentation/index.html" -SRC_URI="mirror://apache/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz - verify-sig? ( https://downloads.apache.org/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz.asc )" -S="${WORKDIR}/org.apache.felix.utils-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -DEPEND=" - >=virtual/jdk-1.8:* - dev-java/osgi-cmpn:8 - dev-java/osgi-core:0 - test? ( - dev-java/mockito:4 - ) -" - -RDEPEND=">=virtual/jre-1.8:*" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/felix.apache.org.asc" - -PATCHES=( - "${FILESDIR}/felix-utils-1.11.8-Port-to-osgi-cmpn.patch" -) - -DOCS=( DEPENDENCIES NOTICE doc/changelog.txt ) - -JAVA_CLASSPATH_EXTRA="osgi-cmpn-8,osgi-core" -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -src_prepare() { - default # https://bugs.gentoo.org/780585 -} diff --git a/dev-java/felix-utils/files/felix-utils-1.11.8-Port-to-osgi-cmpn.patch b/dev-java/felix-utils/files/felix-utils-1.11.8-Port-to-osgi-cmpn.patch deleted file mode 100644 index 22b0222af68b..000000000000 --- a/dev-java/felix-utils/files/felix-utils-1.11.8-Port-to-osgi-cmpn.patch +++ /dev/null @@ -1,123 +0,0 @@ -From d7a2d969b55ab34a223ad1422b2e3ef7d95a347f Mon Sep 17 00:00:00 2001 -From: Marian Koncek <mkoncek@redhat.com> -Date: Mon, 5 Nov 2018 09:59:04 +0100 -Subject: [PATCH] Port to osgi-cmpn - ---- - .../utils/repository/AggregateRepository.java | 20 +++++++++++++++++++ - .../utils/repository/BaseRepository.java | 19 ++++++++++++++++++ - .../utils/properties/MockBundleContext.java | 10 ++++++++++ - 3 files changed, 49 insertions(+) - -diff --git a/src/main/java/org/apache/felix/utils/repository/AggregateRepository.java b/src/main/java/org/apache/felix/utils/repository/AggregateRepository.java -index 50dceaf..4da3141 100644 ---- a/src/main/java/org/apache/felix/utils/repository/AggregateRepository.java -+++ b/src/main/java/org/apache/felix/utils/repository/AggregateRepository.java -@@ -25,7 +25,12 @@ import java.util.Map; - - import org.osgi.resource.Capability; - import org.osgi.resource.Requirement; -+import org.osgi.resource.Resource; -+import org.osgi.service.repository.ExpressionCombiner; - import org.osgi.service.repository.Repository; -+import org.osgi.service.repository.RequirementBuilder; -+import org.osgi.service.repository.RequirementExpression; -+import org.osgi.util.promise.Promise; - - public class AggregateRepository implements Repository { - -@@ -52,4 +57,19 @@ public class AggregateRepository implements Repository { - } - return result; - } -+ -+ @Override -+ public Promise<Collection<Resource>> findProviders(RequirementExpression expression) { -+ throw new UnsupportedOperationException(); -+ } -+ -+ @Override -+ public ExpressionCombiner getExpressionCombiner() { -+ throw new UnsupportedOperationException(); -+ } -+ -+ @Override -+ public RequirementBuilder newRequirementBuilder(String namespace) { -+ throw new UnsupportedOperationException(); -+ } - } -diff --git a/src/main/java/org/apache/felix/utils/repository/BaseRepository.java b/src/main/java/org/apache/felix/utils/repository/BaseRepository.java -index 95adadd..0998ab0 100644 ---- a/src/main/java/org/apache/felix/utils/repository/BaseRepository.java -+++ b/src/main/java/org/apache/felix/utils/repository/BaseRepository.java -@@ -30,7 +30,11 @@ import org.osgi.framework.Constants; - import org.osgi.resource.Capability; - import org.osgi.resource.Requirement; - import org.osgi.resource.Resource; -+import org.osgi.service.repository.ExpressionCombiner; - import org.osgi.service.repository.Repository; -+import org.osgi.service.repository.RequirementBuilder; -+import org.osgi.service.repository.RequirementExpression; -+import org.osgi.util.promise.Promise; - - /** - */ -@@ -90,4 +94,19 @@ public class BaseRepository implements Repository { - } - return result; - } -+ -+ @Override -+ public Promise<Collection<Resource>> findProviders(RequirementExpression expression) { -+ throw new UnsupportedOperationException(); -+ } -+ -+ @Override -+ public ExpressionCombiner getExpressionCombiner() { -+ throw new UnsupportedOperationException(); -+ } -+ -+ @Override -+ public RequirementBuilder newRequirementBuilder(String namespace) { -+ throw new UnsupportedOperationException(); -+ } - } -diff --git a/src/test/java/org/apache/felix/utils/properties/MockBundleContext.java b/src/test/java/org/apache/felix/utils/properties/MockBundleContext.java -index 3eab444..df94a6c 100644 ---- a/src/test/java/org/apache/felix/utils/properties/MockBundleContext.java -+++ b/src/test/java/org/apache/felix/utils/properties/MockBundleContext.java -@@ -25,7 +25,9 @@ import org.osgi.framework.BundleListener; - import org.osgi.framework.Filter; - import org.osgi.framework.FrameworkListener; - import org.osgi.framework.InvalidSyntaxException; -+import org.osgi.framework.ServiceFactory; - import org.osgi.framework.ServiceListener; -+import org.osgi.framework.ServiceObjects; - import org.osgi.framework.ServiceReference; - import org.osgi.framework.ServiceRegistration; - -@@ -105,6 +107,10 @@ public class MockBundleContext implements BundleContext { - throw new UnsupportedOperationException(); - } - -+ public <S> ServiceRegistration<S> registerService(Class<S> clazz, ServiceFactory<S> factory, Dictionary<String, ?> properties) { -+ throw new UnsupportedOperationException(); -+ } -+ - public ServiceReference[] getServiceReferences(String s, String s1) throws InvalidSyntaxException { - throw new UnsupportedOperationException(); - } -@@ -125,6 +131,10 @@ public class MockBundleContext implements BundleContext { - throw new UnsupportedOperationException(); - } - -+ public <S> ServiceObjects<S> getServiceObjects(ServiceReference<S> reference) { -+ throw new UnsupportedOperationException(); -+ } -+ - public File getDataFile(String s) { - throw new UnsupportedOperationException(); - } --- -2.17.2 - diff --git a/dev-java/felix-utils/metadata.xml b/dev-java/felix-utils/metadata.xml deleted file mode 100644 index e4d98856928d..000000000000 --- a/dev-java/felix-utils/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - </maintainer> - <upstream> - <doc>https://felix.apache.org/documentation/documentation.html</doc> - </upstream> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
