debian/0000775000000000000000000000000012260305160007163 5ustar debian/compat0000664000000000000000000000000212214036021010355 0ustar 9 debian/changelog0000664000000000000000000000666412260305160011051 0ustar guava-libraries (15.0-2ubuntu1) trusty; urgency=medium * debian/rules: Touch README and AUTHORS so they have a current timestamp (Launchpad doesn't accept too old files in packages). -- Michael Bienia Mon, 30 Dec 2013 15:59:49 +0100 guava-libraries (15.0-2) unstable; urgency=low * Removed the Breaks on jython, sisu-guice and stapler since the compatibility is temporarily assured by 05-preserve-mapmaker-makecomputingmap.patch (Closes: #724713) -- Emmanuel Bourg Wed, 16 Oct 2013 23:00:24 +0200 guava-libraries (15.0-1) unstable; urgency=low * New upstream release * Use the real upstream source downloaded from http://guava-libraries.googlecode.com/archive/v.zip instead of the sources jar from Maven central * Changed the build to use maven-debian-helper * Removed debian/pom.xml and debian/guava.bnd * Build depend on debhelper 9 * debian/rules: Removed the get-orig-pom target * debian/control: Use canonical URLs for the Vcs-* fields * Use XZ compression for the upstream tarball * Added a Maven publish rule to take over the artifact of Google Collections (Closes: #712453) * Added a patch to keep MapMaker.makeComputingMap() public since this method is still used by reverse dependencies -- Emmanuel Bourg Thu, 12 Sep 2013 13:02:43 +0200 guava-libraries (14.0.1-1) unstable; urgency=low * New upstream release - new dependency on libatinject-jsr330-api-java -- Emmanuel Bourg Wed, 29 May 2013 09:53:01 +0200 guava-libraries (13.0.1-3) unstable; urgency=low * Team upload. * Upload to unstable. -- tony mancill Wed, 15 May 2013 14:46:32 -0700 guava-libraries (13.0.1-2) experimental; urgency=low * Team upload. * Install using correct pom.xml for this upstream version. - fixes old version number in filenames of the created artifacts. (Closes: #697636) * Removed obsolete DMUA flag. -- Jakub Adam Mon, 31 Dec 2012 21:43:06 +0100 guava-libraries (13.0.1-1) experimental; urgency=low [ tony mancill ] * Team upload. * Bump Standards-Version to 3.9.4. No changes were required. * Correct Vcs-Git field in d/control. [ Jakub Adam ] * New upstream release (Closes: #690885). * Generate OSGi metadata for jar manifest. -- Jakub Adam Fri, 26 Oct 2012 21:49:59 +0200 guava-libraries (11.0.2-2) experimental; urgency=low [ Miguel Landaeta ] * Use correct jsr305 maven coordinates. * Bump Standards-Version to 3.9.3. No changes were required. * Update copyright file. [ tony mancill ] * Set DMUA flag. -- Miguel Landaeta Wed, 08 Aug 2012 19:59:08 -0430 guava-libraries (11.0.2-1) unstable; urgency=low * Team upload. * New upstream release. -- Damien Raude-Morvan Wed, 22 Feb 2012 23:04:40 +0100 guava-libraries (09-2) unstable; urgency=low * Team upload. [ James Page ] * Fix FTBFS with OpenJDK7 (LP: #888939) (Closes: #651408): - d/rules: Specify source/target as 1.5 for javac and javadoc to ensure backwards compatibility and work around Java 7 encoding errors. -- Damien Raude-Morvan Fri, 09 Dec 2011 20:05:25 +0100 guava-libraries (09-1) unstable; urgency=low [ Miguel Landaeta ] * Initial release. (Closes: #555684). -- James Page Thu, 02 Jun 2011 21:35:47 +0100 debian/maven.rules0000664000000000000000000000024212214046424011347 0ustar com.google.guava guava-parent pom s/.*/debian/ * * com.google.guava guava bundle s/.*/debian/ * * s/com.google.code.findbugs/org.jsr-305/ jsr305 * s/.*/0.x/ * * debian/watch0000664000000000000000000000024012214032231010203 0ustar version=3 opts=uversionmangle=s/r// \ http://repo1.maven.org/maven2/com/google/guava/guava/([\d][\d\.]+)/guava-([\d\.]+)-sources.jar debian debian/orig-tar.sh debian/libguava-java.poms0000664000000000000000000000341412214054361012601 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --has-package-version guava/pom.xml --has-package-version --java-lib guava-gwt/pom.xml --ignore guava-testlib/pom.xml --ignore guava-tests/pom.xml --ignore debian/orig-tar.sh0000775000000000000000000000067212214035006011251 0ustar #!/bin/sh VERSION=$2 TAR=../guava-libraries_$VERSION.orig.tar.xz # delete the source jar downloaded by uscan rm $3 # download and extract the real tarball wget http://guava-libraries.googlecode.com/archive/v$VERSION.zip -O guava-libraries-$VERSION.zip unzip guava-libraries-$VERSION.zip rm guava-libraries-$VERSION.zip # rebuild the tarball XZ_OPT='--best -v' tar -cJ --exclude '*.jar' -f $TAR guava-libraries-* rm -rf guava-libraries-* debian/copyright0000664000000000000000000000227312214200102011107 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: guava-libraries Upstream-Contact: Kevin Bourillion Source: http://code.google.com/p/guava-libraries/downloads/list Comment: Upstream authors: Kevin Bourrillion, Jared Levy, Mike Bostock, Jesse Wilson. Files: * Copyright: 2007-2013, Google Inc. License: Apache-2.0 Files: debian/* Copyright: 2008-2010, Torsten Werner , 2009, Ludovic Claude , 2011-2012, Miguel Landaeta License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 /usr/share/common-licenses/Apache-2.0 (on Debian systems) . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. debian/rules0000775000000000000000000000040112260304560010241 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: -uscan --download-current-version --force-download --rename clean:: touch README AUTHORS debian/libguava-java-doc.install0000664000000000000000000000007012214200102014011 0ustar guava/target/apidocs/* usr/share/doc/libguava-java/api debian/patches/0000775000000000000000000000000012214314030010605 5ustar debian/patches/02-remove-source-in-javadoc.patch0000664000000000000000000000111212214055374016661 0ustar Description: Removes the browsable source files generated with the Javadoc Author: Emmanuel Bourg Forwarded: not-needed --- a/guava/pom.xml +++ b/guava/pom.xml @@ -110,7 +110,7 @@ UTF-8 -XDignore.symbol.file com.google.common.base.internal - true + false http://jsr-305.googlecode.com/svn/trunk/javadoc debian/patches/series0000664000000000000000000000024012214314030012016 0ustar 01-maven2-compatibility.patch 02-remove-source-in-javadoc.patch 03-openjdk-inference.patch 04-source-encoding.patch 05-preserve-mapmaker-makecomputingmap.patch debian/patches/03-openjdk-inference.patch0000664000000000000000000000155412214055711015451 0ustar Description: Disables workaround for compilation failures on sun-jdk which openjdk does not appear to have issues with. Author: James Page Bug: http://code.google.com/p/guava-libraries/issues/detail?id=635 --- a/guava/src/com/google/common/collect/Maps.java +++ b/guava/src/com/google/common/collect/Maps.java @@ -315,8 +315,8 @@ * @param comparator the comparator to sort the keys with * @return a new, empty {@code TreeMap} */ - public static TreeMap newTreeMap( - @Nullable Comparator comparator) { + public static TreeMap newTreeMap( + @Nullable Comparator comparator) { // Ideally, the extra type parameter "C" shouldn't be necessary. It is a // work-around of a compiler type inference quirk that prevents the // following code from being compiled: debian/patches/05-preserve-mapmaker-makecomputingmap.patch0000664000000000000000000000200112214313605021035 0ustar Description: Guava 15.0 changed the visibility of MapMaker.makeComputingMap() to package private. The method has been deprecated in favor of the CacheBuilder class. This breaks several reverse dependencies: jython (<= 2.5.2-2), and sisu-guice (<= 3.1.1-1) and stapler (<= 1.207-1). Until this is fixed in the upstream projects the method is made public. Author: Emmanuel Bourg Forwarded: not-needed Bug-Sisu: https://github.com/sonatype/sisu-guice/pull/7 Bug-Stapler: https://github.com/stapler/stapler/pull/27 Bug-Jython: http://bugs.jython.org/issue2087 --- a/guava/src/com/google/common/collect/MapMaker.java +++ b/guava/src/com/google/common/collect/MapMaker.java @@ -581,7 +581,7 @@ */ @Deprecated @Override - ConcurrentMap makeComputingMap( + public ConcurrentMap makeComputingMap( Function computingFunction) { return (nullRemovalCause == null) ? new MapMaker.ComputingMapAdapter(this, computingFunction) debian/patches/04-source-encoding.patch0000664000000000000000000000073312214074206015146 0ustar Description: Specifies the source encoding for the compiler to avoid unmappable character errors. For some reason the project.build.sourceEncoding property is ignored. Author: Emmanuel Bourg Forwarded: no --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,7 @@ 1.6 1.6 + UTF-8 debian/patches/01-maven2-compatibility.patch0000664000000000000000000000057112214042207016112 0ustar Description: Makes the project buildable with Maven 2 Author: Emmanuel Bourg Forwarded: not-needed --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ - 3.0.3 + 2.2.1 scm:git:https://code.google.com/p/guava-libraries/ debian/control0000664000000000000000000000355712260305164010604 0ustar Source: guava-libraries Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Miguel Landaeta , Emmanuel Bourg , James Page Build-Depends: cdbs, debhelper (>= 9~), default-jdk, maven-debian-helper Build-Depends-Indep: libatinject-jsr330-api-java, libjsr305-java, libmaven-bundle-plugin-java, libmaven-dependency-plugin-java, libmaven-javadoc-plugin-java Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-java/guava-libraries.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/guava-libraries.git Homepage: http://code.google.com/p/guava-libraries/ Package: libguava-java Architecture: all Depends: libatinject-jsr330-api-java, libjsr305-java, ${misc:Depends} Breaks: closure-compiler (<= 20130227+dfsg1-2) Description: suite of Google Common Libraries for Java 5.0 Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, concurrency support and other features. . Guava has two code dependencies - javax.annotation per the JSR-305 spec and javax.inject per the JSR-330 spec. Package: libguava-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Recommends: libguava-java Suggests: default-jdk-doc Description: documentation for libguava-java Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, concurrency support and other features. . Guava has two code dependencies - javax.annotation per the JSR-305 spec and javax.inject per the JSR-330 spec. . This package contains the javadocs of Guava library suite. debian/maven.ignoreRules0000664000000000000000000000070612214075431012520 0ustar org.sonatype.oss oss-parent * * * * com.google.guava guava-gwt jar * * * com.google.guava guava-testlib jar * * * com.google.guava guava-tests jar * * * com.google.caliper caliper * * * * junit junit * * * * org.apache.maven.plugins maven-gpg-plugin * * * * org.apache.maven.plugins maven-source-plugin * * * * org.easymock easymock * * * * org.mockito mockito-core * * * * org.truth0 truth * * * * org.codehaus.mojo animal-sniffer-maven-plugin * * * * debian/libguava-java-doc.doc-base.api0000664000000000000000000000042312214050173014605 0ustar Document: libguava-java Title: API Javadoc for Guava Author: Google Inc. Abstract: This is the API Javadoc provided for the libguava-java library. Section: Programming Format: HTML Index: /usr/share/doc/libguava-java/api/index.html Files: /usr/share/doc/libguava-java/api/* debian/maven.publishedRules0000664000000000000000000000041312214156044013207 0ustar com.google.guava guava s/jar/bundle/ s/.*/debian/ * * s/com.google.collections/com.google.guava/ s/google-collections/guava/ s/jar/bundle/ s/.*/debian/ * * s/com.google.code.google-collections/com.google.guava/ s/google-collect/guava/ s/jar/bundle/ s/.*/debian/ * * debian/source/0000775000000000000000000000000012214027125010464 5ustar debian/source/format0000664000000000000000000000001412214027125011672 0ustar 3.0 (quilt)