[jimfs] 02/02: remove com.google.auto.service as a Dependency
Hans-Christoph Steiner
eighthave at moszumanska.debian.org
Fri Dec 23 13:06:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
eighthave pushed a commit to branch master
in repository jimfs.
commit d8616f6bd6d21897d3f6d830af5608b2abf76fe5
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Fri Dec 23 14:05:14 2016 +0100
remove com.google.auto.service as a Dependency
It is not in Debian, and is only being used to generate the file
META-INF/services/javax.annotation.processing.Processor for a single class
that is not required for android-platform-tools-base, which needs the rest
of this library.
---
debian/control | 3 ++
.../remove-com.google.auto.service-dep.patch | 46 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 50 insertions(+)
diff --git a/debian/control b/debian/control
index e48d09f..f0715d7 100644
--- a/debian/control
+++ b/debian/control
@@ -46,6 +46,9 @@ Description: In-memory file system implementing the java.nio.file APIs
Windows-style paths and (to an extent) behavior. In general, however,
file system behavior is modeled after UNIX and may not exactly match
any particular real file system or platform.
+ .
+ NOTE: SystemJimfsFileSystemProvider is not fully included in this
+ package, because it requires a library that is not yet in Debian.
Package: libjimfs-java-doc
Section: doc
diff --git a/debian/patches/remove-com.google.auto.service-dep.patch b/debian/patches/remove-com.google.auto.service-dep.patch
new file mode 100644
index 0000000..d61c886
--- /dev/null
+++ b/debian/patches/remove-com.google.auto.service-dep.patch
@@ -0,0 +1,46 @@
+--- a/jimfs/pom.xml
++++ b/jimfs/pom.xml
+@@ -51,11 +51,6 @@
+
+ <!-- Compile-time dependencies -->
+ <dependency>
+- <groupId>com.google.auto.service</groupId>
+- <artifactId>auto-service</artifactId>
+- <optional>true</optional>
+- </dependency>
+- <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <optional>true</optional>
+--- a/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java
++++ b/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java
+@@ -20,7 +20,6 @@
+ import static com.google.common.base.Strings.isNullOrEmpty;
+ import static com.google.common.jimfs.Jimfs.URI_SCHEME;
+
+-import com.google.auto.service.AutoService;
+ import com.google.common.collect.MapMaker;
+
+ import java.io.IOException;
+@@ -60,7 +59,6 @@
+ * @author Colin Decker
+ * @since 1.1
+ */
+- at AutoService(FileSystemProvider.class)
+ public final class SystemJimfsFileSystemProvider extends FileSystemProvider {
+
+ /**
+--- a/pom.xml
++++ b/pom.xml
+@@ -113,11 +113,6 @@
+
+ <!-- Compile-time dependencies -->
+ <dependency>
+- <groupId>com.google.auto.service</groupId>
+- <artifactId>auto-service</artifactId>
+- <version>1.0-rc2</version>
+- </dependency>
+- <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <version>2.0.1</version>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..634ef7b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-com.google.auto.service-dep.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jimfs.git
More information about the pkg-java-commits
mailing list