Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: apache-log4j1.2

apache-log4j1.2 (1.2.17-7ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - d/{rules,control}: Remove dependency on bnd and don't add OSGi headers to jar file. - d/liblog4j1.2.manifest,control,rules: Add OSGi manifest for log4j using javahelper. - d/control,rules: Switch libmail-java -> libgnumail-java to avoid Maven in Ubuntu main. -- James Page <james.page@ubuntu.com> Mon, 07 Mar 2016 15:29:00 +0000

Modifications :
  1. Download patch debian/rules

    --- 1.2.17-7/debian/rules 2015-11-17 17:22:57.000000000 +0000 +++ 1.2.17-7ubuntu1/debian/rules 2016-03-07 14:58:35.000000000 +0000 @@ -1,13 +1,14 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/javahelper.mk include /usr/share/cdbs/1/class/ant.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java ANT_HOME := /usr/share/ant -DEB_JARS := javax.mail +DEB_JARS := gnumail DEB_ANT_BUILD_TARGET := jar javadoc DEB_ANT_ARGS := -Dversion=$(VERSION) @@ -19,13 +20,6 @@ clean:: mh_clean common-build-indep:: - cat debian/log4j.bnd | sed s/VERSION/$(VERSION)/ > debian/.log4j-versioned.bnd - java -jar /usr/share/java/bnd.jar wrap --properties debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar - java -jar /usr/share/java/bnd.jar wrap --properties debian/.log4j-versioned.bnd \ - --classpath /usr/share/java/javax.mail.jar \ - --output log4j.jar dist/lib/log4j-$(VERSION).jar - rm debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar - mv log4j.jar dist/lib/log4j-$(VERSION).jar cp pom.xml dist/lib/log4j.javadoc.pom jar cvf dist/lib/log4j.javadoc.jar -C docs/api/ .
  2. Download patch debian/control

    --- 1.2.17-7/debian/control 2015-11-17 17:22:57.000000000 +0000 +++ 1.2.17-7ubuntu1/debian/control 2016-03-07 14:58:20.000000000 +0000 @@ -1,19 +1,20 @@ Source: apache-log4j1.2 Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Varun Hiremath <varun@debian.org>, Torsten Werner <twerner@debian.org>, Ludovic Claude <ludovic.claude@laposte.net>, Jakub Adam <jakub.adam@ktknet.cz>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: ant, - bnd (>= 2.1.0), cdbs, debhelper (>= 9), default-jdk, default-jdk-doc, - libmail-java, + javahelper, + libgnumail-java, maven-repo-helper Standards-Version: 3.9.6 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/apache-log4j1.2 @@ -23,7 +24,7 @@ Homepage: http://logging.apache.org/log4 Package: liblog4j1.2-java Architecture: all Depends: ${misc:Depends} -Suggests: libmail-java, liblog4j1.2-java-doc +Suggests: libgnumail-java, liblog4j1.2-java-doc Description: Logging library for java log4j is a tool to help the programmer output log statements to a variety of output targets.
  3. Download patch debian/liblog4j1.2-java.manifest

    --- 1.2.17-7/debian/liblog4j1.2-java.manifest 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.17-7ubuntu1/debian/liblog4j1.2-java.manifest 2014-03-25 09:25:45.000000000 +0000 @@ -0,0 +1,9 @@ +/usr/share/java/log4j-1.2.jar: + Bundle-SymbolicName: org.apache.log4j + Bundle-ManifestVersion: 2 + Bundle-Name: Apache Log4j + Bundle-Version: 1.2.17 + Bundle-Vendor: Apache Software Foundation + Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt + Export-Package: org.apache.log4j.net;uses:="org.apache.log4j,org.apache.log4j.spi,javax.mail,org.apache.log4j.helpers,org.apache.log4j.xml,javax.mail.internet",org.apache.log4j.jmx;uses:="org.apache.log4j,javax.management,org.apache.log4j.helpers,org.apache.log4j.spi",org.apache.log4j.jdbc;uses:="org.apache.log4j,org.apache.log4j.spi",org.apache.log4j.config;uses:="org.apache.log4j.helpers,org.apache.log4j,org.apache.log4j.spi",org.apache.log4j.helpers;uses:="org.apache.log4j,org.apache.log4j.spi",org.apache.log4j;uses:="org.apache.log4j.spi,org.apache.log4j.helpers,org.apache.log4j.or,org.apache.log4j.config",org.apache.log4j.nt;uses:="org.apache.log4j.helpers,org.apache.log4j,org.apache.log4j.spi",org.apache.log4j.or.sax;uses:="org.apache.log4j.or",org.apache.log4j.spi;uses:="org.apache.log4j,org.apache.log4j.helpers,com.ibm.uvm.tools,org.apache.log4j.or",org.apache.log4j.or;uses:="org.apache.log4j.helpers,org.apache.log4j.spi,org.apache.log4j",org.apache.log4j.xml;uses:="org.apache.log4j.config,org.apache.log4j.helpers,org.apache.log4j,org.apache.log4j.spi,org.apache.log4j.or",org.apache.log4j.varia;uses:="org.apache.log4j.spi,org.apache.log4j,org.apache.log4j.helpers" + Import-Package: com.ibm.uvm.tools;resolution:=optional,javax.mail;resolution:=optional,javax.mail.internet;resolution:=optional,javax.management;resolution:=optional,javax.naming;resolution:=optional,javax.swing;resolution:=optional,javax.swing.border;resolution:=optional,javax.swing.event;resolution:=optional,javax.swing.table;resolution:=optional,javax.swing.text;resolution:=optional,javax.swing.tree;resolution:=optional

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: batik

batik (1.8-3ubuntu1) xenial; urgency=medium * d/control: Demote runtime dependency on fop to Suggests to support demotion of fop to universe. -- James Page <james.page@ubuntu.com> Mon, 04 Jan 2016 13:58:24 +0000

Modifications :
  1. Download patch debian/control

    --- 1.8-3/debian/control 2015-09-12 20:18:43.000000000 +0000 +++ 1.8-3ubuntu1/debian/control 2016-01-04 12:47:45.000000000 +0000 @@ -1,7 +1,8 @@ Source: batik Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Wolfgang Baer <WBaer@gmx.de>, Vincent Fourmond <fourmond@debian.org>, Onkar Shinde <onkarshinde@ubuntu.com> @@ -32,7 +33,8 @@ Depends: java-wrappers (>= 0.1.12), libxml-commons-external-java, libxmlgraphics-commons-java (>= 2.0.1), ${misc:Depends} -Recommends: default-jre, fop (>= 1:0.94), rhino +Recommends: default-jre, rhino +Suggests: fop (>= 1:0.94) Breaks: elki (<= 0.6.5), libfop-java (<< 2.0) Description: xml.apache.org SVG Library Batik is a toolkit for applications or applets that want to use images

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: bouncycastle

bouncycastle (1.54-1ubuntu1) yakkety; urgency=medium * Merge with Debian; remaining changes: - d/control,rules: Switch libmail-java -> libgnumail-java to support continued inclusion of bouncycastle in Ubuntu main. -- Matthias Klose <doko@ubuntu.com> Sat, 30 Apr 2016 22:31:07 +0200

Modifications :
  1. Download patch debian/rules

    --- 1.54-1/debian/rules 2016-04-28 22:00:19.000000000 +0000 +++ 1.54-1ubuntu1/debian/rules 2016-04-30 20:32:47.000000000 +0000 @@ -9,7 +9,7 @@ ARTIFACTS = bcprov bcpg bcmail bcpkix BUILD_DIR = build/artifacts/jdk1.5 JAVA_HOME := /usr/lib/jvm/default-java -DEB_JARS := junit javax.mail +DEB_JARS := junit gnumail DEB_ANT_BUILDFILE := ant/jdk15+.xml DEB_ANT_BUILD_TARGET := build-provider build DEB_INSTALL_CHANGELOGS_ALL := docs/releasenotes.html
  2. Download patch debian/control

    --- 1.54-1/debian/control 2016-04-28 22:24:01.000000000 +0000 +++ 1.54-1ubuntu1/debian/control 2016-04-30 20:32:47.000000000 +0000 @@ -1,7 +1,8 @@ Source: bouncycastle Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Brian Thomason <brian.thomason@eucalyptus.com>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: ant, @@ -11,7 +12,7 @@ Build-Depends: ant, default-jdk (>= 1:1.6), javahelper, junit, - libmail-java, + libgnumail-java, maven-repo-helper Standards-Version: 3.9.8 Vcs-Git: https://anonscm.debian.org/git/pkg-java/bouncycastle.git @@ -49,7 +50,7 @@ Package: libbcmail-java Architecture: all Depends: libbcpkix-java (>= ${source:Version}), libbcprov-java (>= ${source:Version}), - libmail-java, + libgnumail-java, ${misc:Depends} Suggests: libbcmail-java-doc Description: Bouncy Castle generators/processors for S/MIME and CMS

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: commons-configuration

commons-configuration (1.10-4ubuntu1) xenial; urgency=medium * Merge from Debian unstable. Remaining changes: - Build-depend on libmaven-scm-java to fix FTBFS. * Build-depend on libmaven-scm-providers-java as well. -- Logan Rosen <logan@ubuntu.com> Thu, 17 Dec 2015 19:14:01 -0500

Modifications :
  1. Download patch debian/control

    --- 1.10-4/debian/control 2015-12-17 07:59:53.000000000 +0000 +++ 1.10-4ubuntu1/debian/control 2015-12-18 00:19:58.000000000 +0000 @@ -1,7 +1,8 @@ Source: commons-configuration Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Torsten Werner <twerner@debian.org>, Damien Raude-Morvan <drazzib@debian.org>, Emmanuel Bourg <ebourg@apache.org> @@ -33,6 +34,8 @@ Build-Depends-Indep: ant, libcommons-vfs-java-doc, libjavacc-maven-plugin-java, libmaven-javadoc-plugin-java, + libmaven-scm-java, + libmaven-scm-providers-java, libservlet3.1-java Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-java/commons-configuration.git

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: dom4j

dom4j (1.6.1+dfsg.3-2ubuntu1) saucy; urgency=low * Drop support for XSD; this requires libmsv-java which is built using maven2 which is not in main: - d/control: Remove dependencies on libmsv-java. - d/rules: Don't include xsdlib on build classpath. - d/p/07_disable_xsd_support.patch: Patch out compilation and testing of XSD support features. -- James Page <james.page@ubuntu.com> Tue, 02 Jul 2013 13:27:34 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.6.1+dfsg.3-2/debian/rules 2013-06-26 21:29:09.000000000 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/debian/rules 2013-07-02 12:01:53.000000000 +0000 @@ -5,7 +5,7 @@ include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := ant ant-launcher xpp2 xpp3 jaxen \ - xalan2 xercesImpl ant-junit junit junitperf xsdlib + xalan2 xercesImpl ant-junit junit junitperf DEB_ANT_BUILD_TARGET := package release-javadoc DEB_ANT_CHECK_TARGET := test
  2. Download patch debian/control

    --- 1.6.1+dfsg.3-2/debian/control 2013-06-26 21:12:47.000000000 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/debian/control 2013-07-02 12:06:11.000000000 +0000 @@ -1,12 +1,12 @@ Source: dom4j Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Marcus Better <marcus@better.se>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: debhelper (>= 7), ant-optional, default-jdk, maven-repo-helper, cdbs Build-Depends-Indep: antlr, libjaxen-java, libxpp2-java, libxpp3-java, - libxerces2-java, libxalan2-java (>= 2.7.0), junit, libjunitperf-java, libmsv-java, - librelaxng-datatype-java + libxerces2-java, libxalan2-java (>= 2.7.0), junit, libjunitperf-java Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/dom4j Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/dom4j @@ -14,7 +14,7 @@ Homepage: http://sourceforge.net/project Package: libdom4j-java Architecture: all -Depends: ${misc:Depends}, libjaxen-java, libmsv-java, libxpp2-java, libxpp3-java +Depends: ${misc:Depends}, libjaxen-java, libxpp2-java, libxpp3-java Suggests: libdom4j-java-doc Description: flexible XML framework for Java dom4j is a library for working with XML, XPath and XSLT on the Java
  3. Download patch .pc/applied-patches

    --- 1.6.1+dfsg.3-2/.pc/applied-patches 2013-07-02 14:36:06.519509241 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/.pc/applied-patches 2013-07-02 14:36:06.931519849 +0000 @@ -4,3 +4,4 @@ 04_headless-test.patch 05_java7-compat.patch 06_dom-level3-support.patch +07_disable_xsd_support.patch
  4. Download patch debian/patches/series

    --- 1.6.1+dfsg.3-2/debian/patches/series 2013-06-26 19:35:23.000000000 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/debian/patches/series 2013-07-02 12:20:07.000000000 +0000 @@ -4,3 +4,4 @@ 04_headless-test.patch 05_java7-compat.patch 06_dom-level3-support.patch +07_disable_xsd_support.patch
  5. Download patch build.xml

    --- 1.6.1+dfsg.3-2/build.xml 2013-07-02 14:36:06.000000000 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/build.xml 2013-07-02 14:36:06.000000000 +0000 @@ -155,6 +155,9 @@ source="1.3" deprecation="${deprecation}" classpathref="compile.classpath"> + <exclude name="org/dom4j/datatype/**"/> + <exclude name="org/dom4j/io/STAXEventReader.java"/> + <exclude name="org/dom4j/io/STAXEventWriter.java"/> </javac> </target> @@ -169,6 +172,8 @@ optimize="${optimize}" deprecation="${deprecation}" classpathref="test.classpath"> + <exclude name="org/dom4j/datatype/**"/> + <exclude name="org/dom4j/io/StaxTest.java"/> </javac> </target> @@ -292,6 +297,7 @@ <fileset dir="${test.dir}"> <include name="**/*Test.java" /> <exclude name="**/AllTests.java,**/Abstract*.java,**/TestCase.java" /> + <exclude name="**/StaxTest.java,**/datatype/*Test.java" /> </fileset> </batchtest> </junit>
  6. Download patch debian/patches/07_disable_xsd_support.patch

    --- 1.6.1+dfsg.3-2/debian/patches/07_disable_xsd_support.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.6.1+dfsg.3-2ubuntu1/debian/patches/07_disable_xsd_support.patch 2013-07-02 12:22:34.000000000 +0000 @@ -0,0 +1,29 @@ +--- a/build.xml ++++ b/build.xml +@@ -155,6 +155,9 @@ + source="1.3" + deprecation="${deprecation}" + classpathref="compile.classpath"> ++ <exclude name="org/dom4j/datatype/**"/> ++ <exclude name="org/dom4j/io/STAXEventReader.java"/> ++ <exclude name="org/dom4j/io/STAXEventWriter.java"/> + </javac> + </target> + +@@ -169,6 +172,8 @@ + optimize="${optimize}" + deprecation="${deprecation}" + classpathref="test.classpath"> ++ <exclude name="org/dom4j/datatype/**"/> ++ <exclude name="org/dom4j/io/StaxTest.java"/> + </javac> + </target> + +@@ -292,6 +297,7 @@ + <fileset dir="${test.dir}"> + <include name="**/*Test.java" /> + <exclude name="**/AllTests.java,**/Abstract*.java,**/TestCase.java" /> ++ <exclude name="**/StaxTest.java,**/datatype/*Test.java" /> + </fileset> + </batchtest> + </junit>
  7. Download patch .pc/07_disable_xsd_support.patch/build.xml

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: excalibur-logkit

excalibur-logkit (2.0-11ubuntu2) xenial; urgency=medium * Switch back to Servlet API 3.1 (LP: #1539903) -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 22 Feb 2016 15:19:27 +0100 excalibur-logkit (2.0-11ubuntu1) vivid; urgency=medium * Update for continued main inclusion in Ubuntu: - d/control: Switch libmail-java -> libgnumail-java. - d/control,rules: Switch Servlet API 3.1 -> 3.0; this should be revisited when work begins on Tomcat 7->8 transition in Ubuntu main. -- James Page <james.page@ubuntu.com> Tue, 25 Nov 2014 16:39:11 +0000

Modifications :
  1. Download patch debian/control

    --- 2.0-11/debian/control 2014-10-22 08:57:03.000000000 +0000 +++ 2.0-11ubuntu2/debian/control 2016-02-22 14:19:26.000000000 +0000 @@ -1,12 +1,13 @@ Source: excalibur-logkit Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Onkar Shinde <onkarshinde@ubuntu.com>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: debhelper (>= 9), cdbs, javahelper, ant Build-Depends-Indep: default-jdk, default-jdk-doc, ant-optional, junit, - libgeronimo-jms-1.1-spec-java, libmail-java, liblog4j1.2-java, libservlet3.1-java, - libmail-java-doc, liblog4j1.2-java-doc, libservlet3.1-java-doc, maven-repo-helper + libgeronimo-jms-1.1-spec-java, libgnumail-java, liblog4j1.2-java, libservlet3.1-java, + libgnumail-java-doc, liblog4j1.2-java-doc, libservlet3.1-java-doc, maven-repo-helper Standards-Version: 3.9.6 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/excalibur-logkit/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/excalibur-logkit/

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: geronimo-jacc-1.1-spec

geronimo-jacc-1.1-spec (1.0.1-1.1fakesync1ubuntu1) natty; urgency=low * debian/rules: ensure /usr/share/java jar has correct name for backwards compatibility and alignment with other geromino-* packages (LP: #687971). Thanks to Ludovic Claude for identifying this fix. -- James Page <james.page@canonical.com> Fri, 17 Dec 2010 10:12:35 +0000 geronimo-jacc-1.1-spec (1.0.1-1.1fakesync1) maverick; urgency=low * Fake sync due to mismatching tarball. -- Matthias Klose <doko@ubuntu.com> Wed, 29 Sep 2010 15:02:34 +0200

Modifications :
  1. Download patch debian/rules

    --- 1.0.1-1.1fakesync1/debian/rules 2010-12-21 15:56:32.000000000 +0000 +++ 1.0.1-1.1fakesync1ubuntu1/debian/rules 2010-12-21 15:54:36.000000000 +0000 @@ -18,7 +18,8 @@ DEB_ANT_CHECK_TARGET := test binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: mh_installpom -plib$(DEB_SOURCE_PACKAGE)-java pom.xml --no-parent - mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java pom.xml -l build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar + mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java pom.xml -l build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar \ + --usj-name=/$(DEB_SOURCE_PACKAGE) get-orig-source: echo "Getting version $(DEB_UPSTREAM_VERSION) from $(SVN)"

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: geronimo-jta-1.1-spec

geronimo-jta-1.1-spec (1.1.1-3ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - Switch build system to ant to support continued inclusion in Ubuntu main: + d/control: Drop Build-Depends on maven-debian-helper, add Build-Depends on ant + maven-{ant,repo}-helper, removed ${maven:*}. + d/rules: Switch back to ant build system. + d/ant.properties: Define extra configuration for maven-ant-helper. -- James Page <james.page@ubuntu.com> Tue, 21 May 2013 12:39:45 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.1.1-3/debian/rules 2013-05-18 17:04:59.000000000 +0000 +++ 1.1.1-3ubuntu1/debian/rules 2013-05-18 21:39:39.000000000 +0000 @@ -1,9 +1,16 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk +include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java +UPSTREAM_NAME := geronimo-jta_1.1_spec +DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml +DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(DEB_SOURCE_PACKAGE) + +binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: + mh_installpoms -plib$(DEB_SOURCE_PACKAGE)-java + mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java --java-lib pom.xml build/$(UPSTREAM_NAME)-$(DEB_UPSTREAM_VERSION).jar get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  2. Download patch debian/control

    --- 1.1.1-3/debian/control 2013-05-18 17:04:59.000000000 +0000 +++ 1.1.1-3ubuntu1/debian/control 2013-05-21 11:35:55.000000000 +0000 @@ -1,10 +1,11 @@ Source: geronimo-jta-1.1-spec Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Torsten Werner <twerner@debian.org> -Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) -Build-Depends-Indep: default-jdk-doc, libmaven-javadoc-plugin-java +Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant +Build-Depends-Indep: default-jdk-doc, maven-ant-helper, maven-repo-helper Standards-Version: 3.9.4 Homepage: http://geronimo.apache.org Vcs-Git: git://anonscm.debian.org/git/pkg-java/geronimo-jta-1.1-spec.git @@ -12,8 +13,7 @@ Vcs-Browser: http://anonscm.debian.org/g Package: libgeronimo-jta-1.1-spec-java Architecture: all -Depends: ${misc:Depends}, ${maven:Depends} -Recommends: ${maven:OptionalDepends} +Depends: ${misc:Depends} Suggests: libgeronimo-jta-java-doc Conflicts: libgeronimo-jta-1.0.1b-spec-java Replaces: libgeronimo-jta-1.0.1b-spec-java @@ -31,8 +31,7 @@ Description: Geronimo API implementation Package: libgeronimo-jta-1.1-spec-java-doc Architecture: all Section: doc -Depends: ${misc:Depends}, ${maven:DocDepends} -Recommends: ${maven:DocOptionalDepends} +Depends: ${misc:Depends} Suggests: libgeronimo-jta-java Description: Documentation for the JTA 1.1 spec The goal of the Geronimo project is to produce a server runtime framework
  3. Download patch debian/ant.properties

    --- 1.1.1-3/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.1-3ubuntu1/debian/ant.properties 2011-11-24 19:18:09.000000000 +0000 @@ -0,0 +1,3 @@ +javadoc.generate=true +maven.test.skip=true +javadoc.dir=target/apidocs

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: jarjar

jarjar (1.4+svn142-4ubuntu1) utopic; urgency=medium * Avoid dependency on libmaven2-core-java to avoid pulling Maven into Ubuntu main: - d/control: Drop BD on libmaven2-core-java - d/p/0001-fix-build.xml.patch: Re-instate patch which excludes Maven support from compilation. -- James Page <james.page@ubuntu.com> Mon, 19 May 2014 13:57:49 +0100

Modifications :
  1. Download patch .pc/0001-fix-build.xml.patch/build.xml
  2. Download patch debian/control

    --- 1.4+svn142-4/debian/control 2014-05-03 18:13:16.000000000 +0000 +++ 1.4+svn142-4ubuntu1/debian/control 2014-05-19 12:41:22.000000000 +0000 @@ -1,12 +1,13 @@ Source: jarjar Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Niels Thykier <niels@thykier.net>, Damien Raude-Morvan <drazzib@debian.org>, Miguel Landaeta <nomadium@debian.org> Build-Depends: ant, cdbs, debhelper (>= 7), default-jdk, libasm4-java (>= 4.1-2), - maven-repo-helper, libmaven2-core-java + maven-repo-helper Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jarjar Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/jarjar
  3. Download patch .pc/applied-patches

    --- 1.4+svn142-4/.pc/applied-patches 2014-05-19 14:36:38.284640321 +0000 +++ 1.4+svn142-4ubuntu1/.pc/applied-patches 2014-05-19 14:36:38.452644740 +0000 @@ -1,3 +1,4 @@ +0001-fix-build.xml.patch 0002-embed-libs-from-debian.patch add_ClassReader_EXPAND_FRAMES.diff 0005-fix-javadocs.patch
  4. Download patch .pc/0002-embed-libs-from-debian.patch/build.xml

    --- 1.4+svn142-4/.pc/0002-embed-libs-from-debian.patch/build.xml 2012-11-08 16:32:51.000000000 +0000 +++ 1.4+svn142-4ubuntu1/.pc/0002-embed-libs-from-debian.patch/build.xml 2014-05-19 14:36:38.000000000 +0000 @@ -69,7 +69,8 @@ <javac includeantruntime="true" srcdir="src/@{module}" destdir="build/@{module}" source="${compile.source}" target="${compile.target}" bootclasspath="@{bootclasspath}" extdirs="${compile.extdirs}" - debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> + debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}" + excludes="com/tonicsystems/jarjar/JarJarMojo.java"> <classpath refid="@{refid}"/> <compilerarg value="-Xlint"/> </javac>
  5. Download patch debian/patches/series

    --- 1.4+svn142-4/debian/patches/series 2014-05-06 23:47:33.000000000 +0000 +++ 1.4+svn142-4ubuntu1/debian/patches/series 2014-05-19 12:52:21.000000000 +0000 @@ -1,3 +1,4 @@ +0001-fix-build.xml.patch 0002-embed-libs-from-debian.patch # please see #745815 before re-enabling this patch #szzepiq_jar_resources.diff
  6. Download patch build.xml

    --- 1.4+svn142-4/build.xml 2014-05-19 14:36:38.000000000 +0000 +++ 1.4+svn142-4ubuntu1/build.xml 2014-05-19 14:36:38.000000000 +0000 @@ -69,7 +69,8 @@ <javac includeantruntime="true" srcdir="src/@{module}" destdir="build/@{module}" source="${compile.source}" target="${compile.target}" bootclasspath="@{bootclasspath}" extdirs="${compile.extdirs}" - debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> + debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}" + excludes="com/tonicsystems/jarjar/JarJarMojo.java"> <classpath refid="@{refid}"/> <compilerarg value="-Xlint"/> </javac>
  7. Download patch debian/patches/0001-fix-build.xml.patch

    --- 1.4+svn142-4/debian/patches/0001-fix-build.xml.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.4+svn142-4ubuntu1/debian/patches/0001-fix-build.xml.patch 2014-05-19 12:52:14.000000000 +0000 @@ -0,0 +1,20 @@ +From: Arnaud Vandyck <avdyk@debian.org> +Date: Sun, 28 Feb 2010 12:42:05 +0100 +Subject: fix build.xml to drop requirement for maven2 core + +--- + build.xml | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +--- a/build.xml ++++ b/build.xml +@@ -69,7 +69,8 @@ + <javac includeantruntime="true" srcdir="src/@{module}" destdir="build/@{module}" + source="${compile.source}" + target="${compile.target}" bootclasspath="@{bootclasspath}" extdirs="${compile.extdirs}" +- debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> ++ debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}" ++ excludes="com/tonicsystems/jarjar/JarJarMojo.java"> + <classpath refid="@{refid}"/> + <compilerarg value="-Xlint"/> + </javac>
  8. Download patch .pc/0005-fix-javadocs.patch/build.xml

    --- 1.4+svn142-4/.pc/0005-fix-javadocs.patch/build.xml 2014-05-19 14:36:38.000000000 +0000 +++ 1.4+svn142-4ubuntu1/.pc/0005-fix-javadocs.patch/build.xml 2014-05-19 14:36:38.000000000 +0000 @@ -69,7 +69,8 @@ <javac includeantruntime="true" srcdir="src/@{module}" destdir="build/@{module}" source="${compile.source}" target="${compile.target}" bootclasspath="@{bootclasspath}" extdirs="${compile.extdirs}" - debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> + debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}" + excludes="com/tonicsystems/jarjar/JarJarMojo.java"> <classpath refid="@{refid}"/> <compilerarg value="-Xlint"/> </javac>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: java-common

java-common (0.57ubuntu1) yakkety; urgency=medium * Merge with Debian; remaining changes: - default-jre: Lower recommends of default-java-plugin to a suggests. -- Matthias Klose <doko@ubuntu.com> Wed, 25 May 2016 15:52:29 +0200

Modifications :
  1. Download patch debian/control

    --- 0.57/debian/control 2016-02-26 17:36:35.000000000 +0000 +++ 0.57ubuntu1/debian/control 2016-05-25 13:53:55.000000000 +0000 @@ -23,7 +23,7 @@ Package: default-jre Architecture: any Depends: default-jre-headless (= ${binary:Version}), ${jre}, ${misc:Depends} -Recommends: default-java-plugin +Suggests: default-java-plugin Provides: ${jre:provides} Description: Standard Java or Java compatible Runtime This dependency package points to the Java runtime, or Java compatible
  2. Download patch xxx

    --- 0.57/xxx 1970-01-01 00:00:00.000000000 +0000 +++ 0.57ubuntu1/xxx 2016-05-25 13:54:21.000000000 +0000 @@ -0,0 +1,54 @@ +diff -pruN 0.56/debian/rules 0.56ubuntu2/debian/rules +--- 0.56/debian/rules 2016-02-10 14:58:21.000000000 +0000 ++++ 0.56ubuntu2/debian/rules 2016-02-25 01:53:18.000000000 +0000 +@@ -12,6 +12,7 @@ include debian/java_defaults.mk + p_jre = openjdk-$(java_default_version)-jre + p_jhl = openjdk-$(java_default_version)-jre-headless + p_jdk = openjdk-$(java_default_version)-jdk ++p_jdkhl = openjdk-$(java_default_version)-jdk-headless + p_doc = openjdk-$(java_default_version)-doc + p_plugin = icedtea-$(java_default_version)-plugin + dversion = 2:1.$(java_default_version)-$(release) +@@ -21,6 +22,7 @@ ifeq (5, $(java_default_version)) + p_jre = gcj-jre + p_jhl = gcj-jre-headless + p_jdk = gcj-jdk ++ p_jdkhl = gcj-jdk # no gcj-jdk-headless package + p_doc = openjdk-8-doc + p_plugin = + jvmdir = java-gcj +@@ -34,6 +36,7 @@ endif + jre_provides = java-runtime, java2-runtime, $(shell seq --format java%.f-runtime --separator ', ' 5 $(java_default_version)) + jhl_provides = java-runtime-headless, java2-runtime-headless, $(shell seq --format java%.f-runtime-headless --separator ', ' 5 $(java_default_version)) + jdk_provides = java-sdk, java2-sdk, $(shell seq --format java%.f-sdk --separator ', ' 5 $(java_default_version)) ++jdkhl_provides = java-sdk-headless, java2-sdk-headless, $(shell seq --format java%.f-sdk-headless --separator ', ' 5 $(java_default_version)) + + + %: +@@ -54,9 +57,10 @@ override_dh_installdocs: + + # Install the changelog and copyright once in default-jre-headless and use links for the other packages + dh_installdocs -pdefault-jre-headless +- dh_link -pdefault-jre /usr/share/doc/default-jre-headless /usr/share/doc/default-jre +- dh_link -pdefault-jdk /usr/share/doc/default-jre /usr/share/doc/default-jdk +- dh_link -pdefault-java-plugin /usr/share/doc/default-jre /usr/share/doc/default-java-plugin ++ dh_link -pdefault-jre /usr/share/doc/default-jre-headless /usr/share/doc/default-jre ++ dh_link -pdefault-jdk-headless /usr/share/doc/default-jre-headless /usr/share/doc/default-jdk-headless ++ dh_link -pdefault-jdk /usr/share/doc/default-jre /usr/share/doc/default-jdk ++ dh_link -pdefault-java-plugin /usr/share/doc/default-jre /usr/share/doc/default-java-plugin + + dh_installdocs -pdefault-jdk-doc + dh_installdocs -pgcj-native-helper +@@ -69,10 +73,12 @@ ifneq (,$(p_jre)) + '-Vjre=$(p_jre)' \ + '-Vjhl=$(p_jhl)' \ + '-Vjdk=$(p_jdk)' \ ++ '-Vjdkhl=$(p_jdkhl)' \ + '-Vdoc=$(p_doc)' \ + '-Vjre:arch=$(DEB_HOST_ARCH)' \ + '-Vjre:provides=$(jre_provides)' \ + '-Vjhl:provides=$(jhl_provides)' \ ++ '-Vjdkhl:provides=$(jdkhl_provides)' \ + '-Vjdk:provides=$(jdk_provides)' + endif + ifneq (,$(p_plugin))

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: java3d

java3d (1.5.2+dfsg-11ubuntu1) vivid; urgency=medium * Resynchronise with Debian. Remaining changes: - 02_fix_generic_ftbfs.patch: Link with gcc -shared, not ld; don't explicitly link with libc. -- Colin Watson <cjwatson@ubuntu.com> Mon, 24 Nov 2014 13:02:59 +0000

Modifications :
  1. Download patch debian/control

    --- 1.5.2+dfsg-11/debian/control 2014-11-23 03:02:30.000000000 +0000 +++ 1.5.2+dfsg-11ubuntu1/debian/control 2014-11-24 13:02:41.000000000 +0000 @@ -1,7 +1,8 @@ Source: java3d Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Onkar Shinde <onkarshinde@ubuntu.com>, Emmanuel Bourg <ebourg@apache.org>, Torsten Werner <twerner@debian.org>
  2. Download patch j3d-core/src/native/ogl/build-linux-generic.xml

    --- 1.5.2+dfsg-11/j3d-core/src/native/ogl/build-linux-generic.xml 2014-11-24 15:07:05.000000000 +0000 +++ 1.5.2+dfsg-11ubuntu1/j3d-core/src/native/ogl/build-linux-generic.xml 2014-11-24 15:07:05.000000000 +0000 @@ -28,8 +28,8 @@ </exec> <!-- Create the library file--> - <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld"> - <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -L${java.home}/lib/${os.arch} -ljawt -L${java.home}/lib/${os.arch}/server -ljvm -o libj3dcore-ogl.so"/> + <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> + <arg line="-shared DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -L${java.home}/lib/${os.arch} -ljawt -L${java.home}/lib/${os.arch}/server -ljvm -o libj3dcore-ogl.so"/> </exec> </target> @@ -41,8 +41,8 @@ </exec> <!-- Create the wrapper library --> - <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld"> - <arg line="CgWrapper.o -G -z defs -L/usr/X11R6/lib -ldl -lCg -lCgGL -lpthread -lGL -lX11 -lXext -lm -lnsl -lc -o libj3dcore-ogl-cg.so"/> + <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> + <arg line="-shared CgWrapper.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lCg -lCgGL -lpthread -lGL -lX11 -lXext -lm -lnsl -o libj3dcore-ogl-cg.so"/> </exec> </target>
  3. Download patch debian/patches/02_fix_generic_ftbfs.patch

    --- 1.5.2+dfsg-11/debian/patches/02_fix_generic_ftbfs.patch 2010-01-16 19:50:20.000000000 +0000 +++ 1.5.2+dfsg-11ubuntu1/debian/patches/02_fix_generic_ftbfs.patch 2014-11-24 13:02:41.000000000 +0000 @@ -1,7 +1,7 @@ Index: java3d-1.5.2+dfsg/j3d-core/build.xml =================================================================== ---- java3d-1.5.2+dfsg.orig/j3d-core/build.xml 2010-01-09 18:52:55.000000000 +0530 -+++ java3d-1.5.2+dfsg/j3d-core/build.xml 2010-01-09 20:24:13.000000000 +0530 +--- java3d-1.5.2+dfsg.orig/j3d-core/build.xml 2008-05-23 20:31:19.000000000 +0000 ++++ java3d-1.5.2+dfsg/j3d-core/build.xml 2012-10-13 11:09:55.000000000 +0000 @@ -196,6 +196,15 @@ <property name="install.bin" value="lib/ppc"/> </target> @@ -43,8 +43,8 @@ Index: java3d-1.5.2+dfsg/j3d-core/build. </condition> Index: java3d-1.5.2+dfsg/j3d-core/src/native/build.xml =================================================================== ---- java3d-1.5.2+dfsg.orig/j3d-core/src/native/build.xml 2010-01-09 18:52:55.000000000 +0530 -+++ java3d-1.5.2+dfsg/j3d-core/src/native/build.xml 2010-01-09 20:23:04.000000000 +0530 +--- java3d-1.5.2+dfsg.orig/j3d-core/src/native/build.xml 2008-02-28 20:17:58.000000000 +0000 ++++ java3d-1.5.2+dfsg/j3d-core/src/native/build.xml 2012-10-13 11:10:00.000000000 +0000 @@ -45,6 +45,13 @@ <property name="osNativeScreenInfo" value="X11NativeScreenInfo"/> </target> @@ -94,7 +94,7 @@ Index: java3d-1.5.2+dfsg/j3d-core/src/na Index: java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-generic.xml =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-generic.xml 2010-01-09 20:23:04.000000000 +0530 ++++ java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-generic.xml 2012-10-13 11:11:17.000000000 +0000 @@ -0,0 +1,74 @@ +<?xml version="1.0"?> + @@ -126,8 +126,8 @@ Index: java3d-1.5.2+dfsg/j3d-core/src/na + </exec> + + <!-- Create the library file--> -+ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld"> -+ <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -L${java.home}/lib/${os.arch} -ljawt -L${java.home}/lib/${os.arch}/server -ljvm -o libj3dcore-ogl.so"/> ++ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> ++ <arg line="-shared DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -L${java.home}/lib/${os.arch} -ljawt -L${java.home}/lib/${os.arch}/server -ljvm -o libj3dcore-ogl.so"/> + </exec> + + </target> @@ -139,8 +139,8 @@ Index: java3d-1.5.2+dfsg/j3d-core/src/na + </exec> + + <!-- Create the wrapper library --> -+ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld"> -+ <arg line="CgWrapper.o -G -z defs -L/usr/X11R6/lib -ldl -lCg -lCgGL -lpthread -lGL -lX11 -lXext -lm -lnsl -lc -o libj3dcore-ogl-cg.so"/> ++ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> ++ <arg line="-shared CgWrapper.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lCg -lCgGL -lpthread -lGL -lX11 -lXext -lm -lnsl -o libj3dcore-ogl-cg.so"/> + </exec> + + </target>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: jmagick

jmagick (6.6.9~20130201-svn99-3ubuntu1) yakkety; urgency=medium * Merge with Debian; remaining changes: - Fix warnings about implicit function declaration. Closes: #727776. -- Matthias Klose <doko@ubuntu.com> Tue, 06 Sep 2016 15:48:31 +0200

Modifications :
  1. Download patch .pc/02_jmagick_implicit_decl.patch/src/magick/jmagick.h
  2. Download patch src/magick/jmagick.h

    --- 6.6.9~20130201-svn99-3/src/magick/jmagick.h 2009-11-10 13:24:51.000000000 +0000 +++ 6.6.9~20130201-svn99-3ubuntu1/src/magick/jmagick.h 2016-09-06 17:38:40.000000000 +0000 @@ -110,6 +110,29 @@ int setIntFieldValue(JNIEnv *env, jint value); /* + * Retrieve the byte array from the specified field. + * + * Input: + * env Java VM environment. + * obj Java object for which the value is to be retrieved. + * fieldName name of the field to be retrieved. + * fieldID if non-null, points to field ID. 0 to request retrieval. + * + * Output: + * fieldID if non-null, will contain the field ID. + * size the size of the array is returned here. Must not be NULL. + * + * Return: + * The byte array requested. The caller is responsible for + * deallocating this byte array. + */ +unsigned char* getByteArrayFieldValue(JNIEnv *env, + jobject obj, + const char *fieldName, + jfieldID *fieldID, + int *size); + +/* * From a java.awt.Rectangle object, construct a ImageMagick * RectangleInfo, as passed in from the parameter. *
  3. Download patch debian/control

    --- 6.6.9~20130201-svn99-3/debian/control 2016-09-05 04:13:53.000000000 +0000 +++ 6.6.9~20130201-svn99-3ubuntu1/debian/control 2016-09-06 13:48:31.000000000 +0000 @@ -1,5 +1,6 @@ Source: jmagick -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Varun Hiremath <varun@debian.org> Section: graphics Priority: optional
  4. Download patch .pc/applied-patches

    --- 6.6.9~20130201-svn99-3/.pc/applied-patches 2016-09-06 17:38:40.695905108 +0000 +++ 6.6.9~20130201-svn99-3ubuntu1/.pc/applied-patches 2016-09-06 17:38:40.947912001 +0000 @@ -1,2 +1,3 @@ 01_fix_load_jnilib.patch 0001-Use-pkgconfig-for-flags.patch +02_jmagick_implicit_decl.patch
  5. Download patch debian/patches/02_jmagick_implicit_decl.patch

    --- 6.6.9~20130201-svn99-3/debian/patches/02_jmagick_implicit_decl.patch 1970-01-01 00:00:00.000000000 +0000 +++ 6.6.9~20130201-svn99-3ubuntu1/debian/patches/02_jmagick_implicit_decl.patch 2016-09-06 13:48:31.000000000 +0000 @@ -0,0 +1,37 @@ +Description: Include the missing prototype for getByteArrayFieldValue +Author: Adam Conrad <adconrad@ubuntu.com> + +Index: jmagick-6.6.9~20130201-svn99/src/magick/jmagick.h +=================================================================== +--- jmagick-6.6.9~20130201-svn99.orig/src/magick/jmagick.h 2013-10-26 10:45:26.000000000 -0600 ++++ jmagick-6.6.9~20130201-svn99/src/magick/jmagick.h 2013-10-26 10:50:51.932356603 -0600 +@@ -110,6 +110,29 @@ + jint value); + + /* ++ * Retrieve the byte array from the specified field. ++ * ++ * Input: ++ * env Java VM environment. ++ * obj Java object for which the value is to be retrieved. ++ * fieldName name of the field to be retrieved. ++ * fieldID if non-null, points to field ID. 0 to request retrieval. ++ * ++ * Output: ++ * fieldID if non-null, will contain the field ID. ++ * size the size of the array is returned here. Must not be NULL. ++ * ++ * Return: ++ * The byte array requested. The caller is responsible for ++ * deallocating this byte array. ++ */ ++unsigned char* getByteArrayFieldValue(JNIEnv *env, ++ jobject obj, ++ const char *fieldName, ++ jfieldID *fieldID, ++ int *size); ++ ++/* + * From a java.awt.Rectangle object, construct a ImageMagick + * RectangleInfo, as passed in from the parameter. + *
  6. Download patch debian/patches/series

    --- 6.6.9~20130201-svn99-3/debian/patches/series 2016-09-05 04:13:53.000000000 +0000 +++ 6.6.9~20130201-svn99-3ubuntu1/debian/patches/series 2016-09-06 13:48:31.000000000 +0000 @@ -1,3 +1,4 @@ 01_fix_load_jnilib.patch 0001-Use-pkgconfig-for-flags.patch +02_jmagick_implicit_decl.patch

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: jruby

jruby (1.7.22-1ubuntu1) wily; urgency=medium * Merge with Debian; remaining changes: - Add libjzlib-java dependency. - Build-depend on locales-all | language-pack-en. -- Matthias Klose <doko@ubuntu.com> Mon, 12 Oct 2015 18:50:41 +0200

Modifications :
  1. Download patch debian/control

    --- 1.7.22-1/debian/control 2015-09-17 00:17:15.000000000 +0000 +++ 1.7.22-1ubuntu1/debian/control 2015-10-12 17:00:42.000000000 +0000 @@ -1,7 +1,8 @@ Source: jruby Section: ruby Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Miguel Landaeta <nomadium@debian.org>, Tim Potter <tpot@hp.com> Build-Depends: ant-optional, @@ -44,7 +45,8 @@ Build-Depends: ant-optional, libunsafe-mock-java, libyaml-snake-java, libyecht-java (>= 1.0~), - locales-all, + libjzlib-java, + locales-all | language-pack-en, maven (>= 3.3~), maven-debian-helper, maven-repo-helper,

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: jsch-agent-proxy

jsch-agent-proxy (0.0.8-2ubuntu1) xenial; urgency=medium * Switch to using maven-ant-helper to avoid maven in main: - d/rules,modules: Switch maven->ant; add targets for jar installs - d/build.xml: Wrapper for maven-ant-helper build.xml to support multi-module projects. - d/control: Update BD's to drop maven related dependencies, add maven-ant-helper and maven-repo-helper. -- James Page <james.page@ubuntu.com> Wed, 17 Feb 2016 15:00:47 +0000

Modifications :
  1. Download patch debian/modules

    --- 0.0.8-2/debian/modules 1970-01-01 00:00:00.000000000 +0000 +++ 0.0.8-2ubuntu1/debian/modules 2016-02-17 14:33:12.000000000 +0000 @@ -0,0 +1,7 @@ +jsch-agent-proxy-core +jsch-agent-proxy-jsch +jsch-agent-proxy-pageant +jsch-agent-proxy-sshagent +jsch-agent-proxy-usocket-jna +jsch-agent-proxy-usocket-nc +jsch-agent-proxy-connector-factory
  2. Download patch debian/rules

    --- 0.0.8-2/debian/rules 2015-06-15 21:17:13.000000000 +0000 +++ 0.0.8-2ubuntu1/debian/rules 2016-02-17 14:52:10.000000000 +0000 @@ -1,10 +1,21 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk +include /usr/share/cdbs/1/class/ant.mk -JAVA_HOME := /usr/lib/jvm/default-java -DEB_MAVEN_DOC_TARGET := javadoc:javadoc javadoc:aggregate +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-nodeps ant-junit jsch jna-platform jna +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION) +binary-post-install/lib$(PACKAGE)-java:: + mh_installpoms -plib$(PACKAGE)-java + set -e; \ + for module in `cat debian/modules`; do \ + jar=`echo $$module | sed -e "s/jsch-agent-proxy-/jsch.agentproxy./g"`; \ + mh_installjar -plib$(PACKAGE)-java -l $$module/pom.xml $$module/build/$$jar-$(VERSION).jar; \ + done get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  3. Download patch debian/control

    --- 0.0.8-2/debian/control 2015-09-02 21:32:39.000000000 +0000 +++ 0.0.8-2ubuntu1/debian/control 2016-02-17 12:24:13.000000000 +0000 @@ -1,10 +1,11 @@ Source: jsch-agent-proxy Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Emmanuel Bourg <ebourg@apache.org> -Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5), libjna-platform-java -Build-Depends-Indep: libmaven-bundle-plugin-java, libjsch-java +Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-ant-helper, maven-repo-helper, libjna-platform-java, ant, ant-optional +Build-Depends-Indep: libjsch-java Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-java/jsch-agent-proxy.git Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/jsch-agent-proxy.git
  4. Download patch debian/build.xml

    --- 0.0.8-2/debian/build.xml 1970-01-01 00:00:00.000000000 +0000 +++ 0.0.8-2ubuntu1/debian/build.xml 2016-02-17 15:00:45.000000000 +0000 @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<project name="jsch.agent" default="build-all" basedir="."> + <property name="build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/> + <target name="build-all"> + <antcall target="component"> + <param name="component" value="."/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-core"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-jsch"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-pageant"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-sshagent"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-usocket-jna"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-usocket-nc"/> + <param name="target" value="package"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-connector-factory"/> + <param name="target" value="package"/> + </antcall> + </target> + + <target name="clean"> + <antcall target="component"> + <param name="component" value="."/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-core"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-jsch"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-pageant"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-sshagent"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-usocket-jna"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-usocket-nc"/> + <param name="target" value="clean"/> + </antcall> + <antcall target="component"> + <param name="component" value="jsch-agent-proxy-connector-factory"/> + <param name="target" value="clean"/> + </antcall> + </target> + + <target name="component"> + <!-- Ensure any jar files already built in this project are used for compilation --> + <path id="local.path.ref"> + <fileset dir="${basedir}" includes="**/*.jar"/> + </path> + <ant antfile="${build.xml}" dir="${basedir}/${component}" target="${target}"> + <property name="package" value="${package}"/> + <property name="version" value="${version}"/> + <property name="debian.dir" value="${basedir}/debian"/> + <property name="classpath.compile" value="${toString:local.path.ref}"/> + </ant> + </target> +</project>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: junit4

junit4 (4.12-4ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - d/*: Re-use 4.11-3 packaging to avoid the switch. - d/build.xml,d/junit-pom-template.xml: Pick ant build components from 4.11 and adapt for new location and version. - d/tweak-resulttest.patch: Strip out failing part of ResultTest test case due to differences in the way classes are loaded using ant for the package build. -- James Page <james.page@ubuntu.com> Tue, 08 Mar 2016 12:15:34 +0000

Modifications :
  1. Download patch debian/rules

    --- 4.12-4/debian/rules 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/rules 2016-03-08 11:31:26.000000000 +0000 @@ -1,14 +1,35 @@ #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java -%: - dh $@ --parallel --buildsystem=maven +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.mk -override_dh_install: - dh_install - # Run jh_manifest after dh_install to ensure that debian/junit4.manifest is - # really installed into the jar file. See also #808736 +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILD_TARGET := dist +DEB_ANT_BUILDFILE := debian/build.xml +DEB_JARS := ant-nodeps hamcrest-core + +binary-post-install/junit4:: + sed "s/@artifactId@/junit/;s/@version@/$(VERSION)/" debian/junit-pom-template.xml > debian/pom.xml + mh_installpoms -pjunit4 + mh_installjar -pjunit4 -njunit4 -l debian/pom.xml junit$(VERSION)/junit-dep-$(VERSION).jar jh_manifest -pjunit4 +binary-post-install/junit4-doc:: + dh_install -pjunit4-doc junit$(VERSION)/javadoc/* /usr/share/doc/junit4/api/ + +clean:: + -rm debian/pom.xml + -rm src/main/java/junit/runner/Version.java + mh_clean + +upstream-from-git: + git-archive --format=tar --prefix=junit4-$(DEB_UPSTREAM_VERSION)/ \ + v$(DEB_UPSTREAM_VERSION) | gzip -9 \ + > ../junit4_$(DEB_UPSTREAM_VERSION).orig.tar.gz + get-orig-source: -uscan --upstream-version 0 --rename +
  2. Download patch debian/control

    --- 4.12-4/debian/control 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/control 2016-03-08 11:28:05.000000000 +0000 @@ -1,6 +1,7 @@ Source: junit4 Section: java -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Florian Weimer <fw@deneb.enyo.de>, Varun Hiremath <varun@debian.org>, Damien Raude-Morvan <drazzib@debian.org>, @@ -8,13 +9,11 @@ Uploaders: Florian Weimer <fw@deneb.enyo Jakub Adam <jakub.adam@ktknet.cz>, Emmanuel Bourg <ebourg@apache.org> Priority: optional -Build-Depends: debhelper (>= 9), default-jdk, javahelper +Build-Depends: ant, cdbs, debhelper (>= 9), default-jdk, javahelper Build-Depends-Indep: default-jdk-doc, libhamcrest-java (>= 1.3), libhamcrest-java-doc, - libmaven-enforcer-plugin-java, - libmaven-javadoc-plugin-java, - maven-debian-helper + maven-repo-helper Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-java/junit4.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/junit4.git
  3. Download patch .pc/exclude-dependency-sources.patch/pom.xml
  4. Download patch debian/patches/exclude-dependency-sources.patch

    --- 4.12-4/debian/patches/exclude-dependency-sources.patch 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/patches/exclude-dependency-sources.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -Description: Don't include hamcrest in the Javadoc (the source artifact isn't available) -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed ---- a/pom.xml -+++ b/pom.xml -@@ -303,7 +303,7 @@ - <minmemory>32m</minmemory> - <maxmemory>128m</maxmemory> - <failOnError>true</failOnError> -- <includeDependencySources>true</includeDependencySources> -+ <includeDependencySources>false</includeDependencySources> - <dependencySourceIncludes> - <dependencySourceInclude>org.hamcrest:hamcrest-core:*</dependencySourceInclude> - </dependencySourceIncludes> -@@ -407,7 +407,7 @@ - <minmemory>32m</minmemory> - <maxmemory>128m</maxmemory> - <failOnError>true</failOnError> -- <includeDependencySources>true</includeDependencySources> -+ <includeDependencySources>false</includeDependencySources> - <dependencySourceIncludes> - <dependencySourceInclude>org.hamcrest:hamcrest-core:*</dependencySourceInclude> - </dependencySourceIncludes>
  5. Download patch debian/junit4.poms

    --- 4.12-4/debian/junit4.poms 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/junit4.poms 2015-12-22 23:14:37.000000000 +0000 @@ -1 +1 @@ -pom.xml --no-parent --java-lib --has-package-version --usj-name=junit4 +debian/pom.xml --no-parent
  6. Download patch .pc/applied-patches

    --- 4.12-4/.pc/applied-patches 2016-03-08 17:37:35.504465060 +0000 +++ 4.12-4ubuntu1/.pc/applied-patches 2016-03-08 17:37:35.740471640 +0000 @@ -1,4 +1,3 @@ -maven2-compatibility.patch -exclude-dependency-sources.patch Version.java.patch privacy-breach-logo.patch +tweak-resulttest.patch
  7. Download patch debian/orig-tar.sh

    --- 4.12-4/debian/orig-tar.sh 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/orig-tar.sh 2015-12-22 23:14:36.000000000 +0000 @@ -3,7 +3,7 @@ # called by uscan with '--upstream-version' <version> <file> VERSION=$2 DIR=junit4-$VERSION -TAR=../junit4_$VERSION.orig.tar.xz +TAR=../junit4_$VERSION.orig.tar.gz ORIG_TAR=$3 #rm -f $3 @@ -14,7 +14,7 @@ mkdir $DIR tar -x -v -z -f $ORIG_TAR rm $ORIG_TAR find . -maxdepth 2 -wholename "./junit-*/*" -exec mv '{}' $DIR \; -XZ_OPT=--best tar -c -J -f $TAR -X debian/orig-tar.exclude $DIR +GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR junit-* # move to directory 'tarballs'
  8. Download patch debian/junit4.manifest

    --- 4.12-4/debian/junit4.manifest 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/junit4.manifest 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -usr/share/java/junit4.jar: - Class-Path: hamcrest-core.jar - Bundle-Vendor: JUnit - Bundle-Version: 4.12 - Bundle-Name: JUnit Testing Framework - Bundle-ManifestVersion: 2 - Bundle-SymbolicName: org.junit - Export-Package: org.junit.experimental.theories.suppliers;uses:="org.junit.experimental.theories";version="4.12",org.junit.experimental.theories;uses:="org.junit.experimental.theories.internal,org.junit.internal,org.junit.runners.model,org.junit.runners,org.junit";version="4.12",org.junit.experimental.theories.internal;uses:="org.junit.experimental.theories,org.junit.runners.model";version="4.12",org.junit.internal.runners;uses:="org.junit.runner,org.junit.internal,org.junit.runner.notification,org.junit.runners.model,junit.framework,org.junit.runner.manipulation,junit.extensions,org.junit";version="4.12",org.junit.internal;uses:="org.hamcrest,org.junit,org.junit.runners,org.junit.runner,org.junit.runner.notification";version="4.12",org.junit.internal.runners.model;uses:="org.junit.internal,org.junit.runner,org.junit.runners.model,org.junit.runner.notification";version="4.12",org.junit.experimental.categories;uses:="org.junit.runner.manipulation,org.junit.runner,org.junit.runners,org.junit.runners.model";version="4.12",org.junit.runner.manipulation;uses:="org.junit.runner";version="4.12",org.junit.rules;uses:="org.hamcrest,org.junit,org.junit.runners.model,org.junit.internal,org.junit.internal.matchers,org.junit.runner,org.junit.matchers,org.junit.internal.runners.statements";version="4.12",org.junit.runner;uses:="org.junit.runners.model,org.junit.runners,junit.framework,org.junit.internal.runners,org.junit.internal,junit.runner,org.junit.runner.notification,org.junit.runner.manipulation,org.junit.internal.requests,org.junit.internal.builders";version="4.12",org.junit.runners;uses:="org.junit.internal.runners,org.junit.runners.model,org.junit.internal.runners.model,org.junit.internal.runners.rules,org.junit.rules,org.junit.runner,org.junit.runner.notification,org.junit.internal.runners.statements,org.junit,org.junit.internal,org.junit.runner.manipulation,org.junit.internal.builders";version="4.12",org.junit.matchers;uses:="org.junit.internal.matchers,org.hamcrest.core,org.hamcrest";version="4.12",org.junit.runner.notification;uses:="org.junit.runner";version="4.12",org.junit.experimental.results;uses:="org.junit.runner,org.junit.runner.notification,org.junit.internal,org.hamcrest";version="4.12",org.junit.experimental.max;uses:="org.junit.runner,org.junit.runners,org.junit.internal.runners,org.junit.runners.model,org.junit.internal.requests,junit.framework,org.junit.runner.notification";version="4.12",org.junit.internal.builders;uses:="org.junit.runner,org.junit.runners.model,org.junit,org.junit.runner.notification,junit.framework,org.junit.internal.runners,org.junit.runners";version="4.12",org.junit;uses:="org.junit.internal,org.hamcrest,org.junit.runners";version="4.12",org.junit.experimental.runners;uses:="org.junit.runners,org.junit.runners.model";version="4.12",org.junit.internal.runners.rules;uses:="org.junit.rules,org.junit.runners.model,org.junit";version="4.12",org.junit.internal.matchers;uses:="org.hamcrest,org.junit.internal";version="4.12",org.junit.internal.requests;uses:="org.junit.runner,org.junit.internal.builders,org.junit.runner.manipulation,org.junit.internal.runners";version="4.12",org.junit.experimental;uses:="org.junit.runner,org.junit.runners.model,org.junit.runners";version="4.12",org.junit.runners.model;uses:="org.junit.internal.runners.model,org.junit.internal.runners,org.junit.runner,org.junit.internal,org.junit";version="4.12",org.junit.internal.runners.statements;uses:="org.junit.internal,org.junit.runners.model";version="4.12",junit.runner;uses:="junit.framework";version="4.12",junit.textui;uses:="junit.framework,junit.runner";version="4.12",junit.extensions;uses:="junit.framework";version="4.12",junit.framework;uses:="org.junit.runner.manipulation,org.junit.runner,org.junit.runner.notification,org.junit,org.junit.internal";version="4.12" - Import-Package: org.hamcrest;version="1.3",org.hamcrest.core;version="1. 3"
  9. Download patch .pc/tweak-resulttest.patch/src/test/java/junit/tests/runner/ResultTest.java

    --- 4.12-4/.pc/tweak-resulttest.patch/src/test/java/junit/tests/runner/ResultTest.java 1970-01-01 00:00:00.000000000 +0000 +++ 4.12-4ubuntu1/.pc/tweak-resulttest.patch/src/test/java/junit/tests/runner/ResultTest.java 2014-12-04 16:13:56.000000000 +0000 @@ -0,0 +1,107 @@ +package junit.tests.runner; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.util.List; + +import junit.framework.TestCase; +import junit.tests.framework.Success; +import org.junit.runner.JUnitCore; +import org.junit.runner.Result; +import org.junit.runner.notification.Failure; +import org.junit.tests.running.methods.AnnotationTest; + +public class ResultTest extends TestCase { + + public void testRunFailureResultCanBeSerialised() throws Exception { + JUnitCore runner = new JUnitCore(); + Result result = runner.run(AnnotationTest.FailureTest.class); + assertResultSerializable(result); + } + + public void testRunSuccessResultCanBeSerialised() throws Exception { + JUnitCore runner = new JUnitCore(); + Result result = runner.run(Success.class); + assertResultSerializable(result); + } + + private void assertResultSerializable(Result result) throws IOException, ClassNotFoundException { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + new ObjectOutputStream(byteArrayOutputStream).writeObject(result); + byte[] bytes = byteArrayOutputStream.toByteArray(); + ObjectInputStream objectInputStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); + Result fromStream = (Result) objectInputStream.readObject(); + assertSerializedCorrectly(result, fromStream); + + InputStream resource = getClass().getResourceAsStream(getName()); + assertNotNull("Could not read resource " + getName(), resource); + objectInputStream = new ObjectInputStream(resource); + fromStream = (Result) objectInputStream.readObject(); + + assertSerializedCorrectly(new ResultWithFixedRunTime(result), fromStream); + } + + /** + * A version of {@code Result} that returns a hard-coded runtime. + * This makes values returned by the methods deterministic. + */ + private static class ResultWithFixedRunTime extends Result { + private final Result delegate; + + public ResultWithFixedRunTime(Result delegate) { + this.delegate = delegate; + } + + @Override + public int getRunCount() { + return delegate.getRunCount(); + } + + @Override + public int getFailureCount() { + return delegate.getFailureCount(); + } + + @Override + public long getRunTime() { + return 2; + } + + @Override + public List<Failure> getFailures() { + return delegate.getFailures(); + } + + @Override + public int getIgnoreCount() { + return delegate.getIgnoreCount(); + } + } + + private void assertSerializedCorrectly(Result result, Result fromStream) { + assertNotNull(fromStream); + + // Exceptions don't implement equals() so we need to compare field by field + assertEquals("failureCount", result.getFailureCount(), fromStream.getFailureCount()); + assertEquals("ignoreCount", result.getIgnoreCount(), fromStream.getIgnoreCount()); + assertEquals("runTime", result.getRunTime(), fromStream.getRunTime()); + assertEquals("failures", result.getFailures().size(), fromStream.getFailures().size()); + int index = 0; + for (Failure failure : result.getFailures()) { + Failure failureFromStream = fromStream.getFailures().get(index); + String messagePrefix = String.format("failures[%d]", index++); + assertEquals(messagePrefix + ".description", + failure.getDescription(), failureFromStream.getDescription()); + Throwable exception = failure.getException(); + Throwable exceptionFromStream = failureFromStream.getException(); + assertEquals(messagePrefix + ".exception", + exception.getClass(), exceptionFromStream.getClass()); + assertEquals(messagePrefix + ".exception", + exception.getMessage(), exceptionFromStream.getMessage()); + } + } +}
  10. Download patch debian/patches/maven2-compatibility.patch

    --- 4.12-4/debian/patches/maven2-compatibility.patch 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/patches/maven2-compatibility.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -Description: Remove the prerequisite on Maven 3 -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed ---- a/pom.xml -+++ b/pom.xml -@@ -65,7 +65,7 @@ - </mailingLists> - - <prerequisites> -- <maven>3.0.4</maven> -+ <maven>2.2.1</maven> - </prerequisites> - - <scm>
  11. Download patch debian/patches/series

    --- 4.12-4/debian/patches/series 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/patches/series 2016-03-08 11:29:41.000000000 +0000 @@ -1,4 +1,5 @@ -maven2-compatibility.patch -exclude-dependency-sources.patch Version.java.patch privacy-breach-logo.patch + +# Ubuntu +tweak-resulttest.patch
  12. Download patch pom.xml

    --- 4.12-4/pom.xml 2016-03-08 17:37:35.000000000 +0000 +++ 4.12-4ubuntu1/pom.xml 2014-12-04 16:13:56.000000000 +0000 @@ -65,7 +65,7 @@ </mailingLists> <prerequisites> - <maven>2.2.1</maven> + <maven>3.0.4</maven> </prerequisites> <scm> @@ -303,7 +303,7 @@ <minmemory>32m</minmemory> <maxmemory>128m</maxmemory> <failOnError>true</failOnError> - <includeDependencySources>false</includeDependencySources> + <includeDependencySources>true</includeDependencySources> <dependencySourceIncludes> <dependencySourceInclude>org.hamcrest:hamcrest-core:*</dependencySourceInclude> </dependencySourceIncludes> @@ -407,7 +407,7 @@ <minmemory>32m</minmemory> <maxmemory>128m</maxmemory> <failOnError>true</failOnError> - <includeDependencySources>false</includeDependencySources> + <includeDependencySources>true</includeDependencySources> <dependencySourceIncludes> <dependencySourceInclude>org.hamcrest:hamcrest-core:*</dependencySourceInclude> </dependencySourceIncludes>
  13. Download patch debian/MANIFEST.MF

    --- 4.12-4/debian/MANIFEST.MF 1970-01-01 00:00:00.000000000 +0000 +++ 4.12-4ubuntu1/debian/MANIFEST.MF 2015-06-19 14:36:25.000000000 +0000 @@ -0,0 +1,64 @@ +Manifest-Version: 1.0 +Class-Path: hamcrest-core.jar +Bundle-Vendor: JUnit +Bundle-Version: 4.11 +Bundle-Name: JUnit Testing Framework +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.junit +Export-Package: org.junit.experimental.theories.suppliers;uses:="org.jun + it.experimental.theories";version="4.11",org.junit.experimental.theorie + s;uses:="org.junit.experimental.theories.internal,org.junit.internal,or + g.junit.runners.model,org.junit.runners,org.junit";version="4.11",org.j + unit.experimental.theories.internal;uses:="org.junit.experimental.theor + ies,org.junit.runners.model";version="4.11",org.junit.internal.runners; + uses:="org.junit.runner,org.junit.internal,org.junit.runner.notificatio + n,org.junit.runners.model,junit.framework,org.junit.runner.manipulation + ,junit.extensions,org.junit";version="4.11",org.junit.internal;uses:="o + rg.hamcrest,org.junit,org.junit.runners,org.junit.runner,org.junit.runn + er.notification";version="4.11",org.junit.internal.runners.model;uses:= + "org.junit.internal,org.junit.runner,org.junit.runners.model,org.junit. + runner.notification";version="4.11",org.junit.experimental.categories;u + ses:="org.junit.runner.manipulation,org.junit.runner,org.junit.runners, + org.junit.runners.model";version="4.11",org.junit.runner.manipulation;u + ses:="org.junit.runner";version="4.11",org.junit.rules;uses:="org.hamcr + est,org.junit,org.junit.runners.model,org.junit.internal,org.junit.inte + rnal.matchers,org.junit.runner,org.junit.matchers,org.junit.internal.ru + nners.statements";version="4.11",org.junit.runner;uses:="org.junit.runn + ers.model,org.junit.runners,junit.framework,org.junit.internal.runners, + org.junit.internal,junit.runner,org.junit.runner.notification,org.junit + .runner.manipulation,org.junit.internal.requests,org.junit.internal.bui + lders";version="4.11",org.junit.runners;uses:="org.junit.internal.runne + rs,org.junit.runners.model,org.junit.internal.runners.model,org.junit.i + nternal.runners.rules,org.junit.rules,org.junit.runner,org.junit.runner + .notification,org.junit.internal.runners.statements,org.junit,org.junit + .internal,org.junit.runner.manipulation,org.junit.internal.builders";ve + rsion="4.11",org.junit.matchers;uses:="org.junit.internal.matchers,org. + hamcrest.core,org.hamcrest";version="4.11",org.junit.runner.notificatio + n;uses:="org.junit.runner";version="4.11",org.junit.experimental.result + s;uses:="org.junit.runner,org.junit.runner.notification,org.junit.inter + nal,org.hamcrest";version="4.11",org.junit.experimental.max;uses:="org. + junit.runner,org.junit.runners,org.junit.internal.runners,org.junit.run + ners.model,org.junit.internal.requests,junit.framework,org.junit.runner + .notification";version="4.11",org.junit.internal.builders;uses:="org.ju + nit.runner,org.junit.runners.model,org.junit,org.junit.runner.notificat + ion,junit.framework,org.junit.internal.runners,org.junit.runners";versi + on="4.11",org.junit;uses:="org.junit.internal,org.hamcrest,org.junit.ru + nners";version="4.11",org.junit.experimental.runners;uses:="org.junit.r + unners,org.junit.runners.model";version="4.11",org.junit.internal.runne + rs.rules;uses:="org.junit.rules,org.junit.runners.model,org.junit";vers + ion="4.11",org.junit.internal.matchers;uses:="org.hamcrest,org.junit.in + ternal";version="4.11",org.junit.internal.requests;uses:="org.junit.run + ner,org.junit.internal.builders,org.junit.runner.manipulation,org.junit + .internal.runners";version="4.11",org.junit.experimental;uses:="org.jun + it.runner,org.junit.runners.model,org.junit.runners";version="4.11",org + .junit.runners.model;uses:="org.junit.internal.runners.model,org.junit. + internal.runners,org.junit.runner,org.junit.internal,org.junit";version + ="4.11",org.junit.internal.runners.statements;uses:="org.junit.internal + ,org.junit.runners.model";version="4.11",junit.runner;uses:="junit.fram + ework";version="4.11",junit.textui;uses:="junit.framework,junit.runner" + ;version="4.11",junit.extensions;uses:="junit.framework";version="4.11" + ,junit.framework;uses:="org.junit.runner.manipulation,org.junit.runner, + org.junit.runner.notification,org.junit,org.junit.internal";version="4. + 11" +Import-Package: org.hamcrest;version="1.3",org.hamcrest.core;version="1. + 3"
  14. Download patch src/test/java/junit/tests/runner/ResultTest.java

    --- 4.12-4/src/test/java/junit/tests/runner/ResultTest.java 2014-12-04 16:13:56.000000000 +0000 +++ 4.12-4ubuntu1/src/test/java/junit/tests/runner/ResultTest.java 2016-03-08 17:37:35.000000000 +0000 @@ -36,13 +36,6 @@ public class ResultTest extends TestCase ObjectInputStream objectInputStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); Result fromStream = (Result) objectInputStream.readObject(); assertSerializedCorrectly(result, fromStream); - - InputStream resource = getClass().getResourceAsStream(getName()); - assertNotNull("Could not read resource " + getName(), resource); - objectInputStream = new ObjectInputStream(resource); - fromStream = (Result) objectInputStream.readObject(); - - assertSerializedCorrectly(new ResultWithFixedRunTime(result), fromStream); } /**
  15. Download patch debian/junit4-doc.install

    --- 4.12-4/debian/junit4-doc.install 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/junit4-doc.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -target/site/apidocs/* usr/share/doc/junit4/api -target/apidocs/* usr/share/doc/junit4/api
  16. Download patch .pc/maven2-compatibility.patch/pom.xml
  17. Download patch debian/patches/tweak-resulttest.patch

    --- 4.12-4/debian/patches/tweak-resulttest.patch 1970-01-01 00:00:00.000000000 +0000 +++ 4.12-4ubuntu1/debian/patches/tweak-resulttest.patch 2015-06-19 15:08:19.000000000 +0000 @@ -0,0 +1,16 @@ +--- a/src/test/java/junit/tests/runner/ResultTest.java ++++ b/src/test/java/junit/tests/runner/ResultTest.java +@@ -36,13 +36,6 @@ public class ResultTest extends TestCase + ObjectInputStream objectInputStream = new ObjectInputStream(new ByteArrayInputStream(bytes)); + Result fromStream = (Result) objectInputStream.readObject(); + assertSerializedCorrectly(result, fromStream); +- +- InputStream resource = getClass().getResourceAsStream(getName()); +- assertNotNull("Could not read resource " + getName(), resource); +- objectInputStream = new ObjectInputStream(resource); +- fromStream = (Result) objectInputStream.readObject(); +- +- assertSerializedCorrectly(new ResultWithFixedRunTime(result), fromStream); + } + + /**
  18. Download patch debian/ant.properties

    --- 4.12-4/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 4.12-4ubuntu1/debian/ant.properties 2015-06-19 14:36:25.000000000 +0000 @@ -0,0 +1,3 @@ +hamcrestlib=/usr/share/java/hamcrest-core.jar +manifest=debian/MANIFEST.MF +version-status=
  19. Download patch debian/build.xml
  20. Download patch debian/orig-tar.exclude

    --- 4.12-4/debian/orig-tar.exclude 2015-12-22 17:47:55.000000000 +0000 +++ 4.12-4ubuntu1/debian/orig-tar.exclude 2015-12-22 23:14:37.000000000 +0000 @@ -1,8 +1,5 @@ *.jar *.zip apache-maven -hopscotch-*.min.js -.classpath -.project -.settings -.travis.yml + +
  21. Download patch debian/junit-pom-template.xml

    --- 4.12-4/debian/junit-pom-template.xml 1970-01-01 00:00:00.000000000 +0000 +++ 4.12-4ubuntu1/debian/junit-pom-template.xml 2015-06-19 15:09:44.000000000 +0000 @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> + <modelVersion>4.0.0</modelVersion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>@version@</version> + <name>JUnit</name> + <url>http://junit.org</url> + <description> + JUnit is a regression testing framework written by Erich Gamma and Kent Beck. + It is used by the developer who implements unit tests in Java. + </description> + <organization> + <name>JUnit</name> + <url>http://www.junit.org</url> + </organization> + <mailingLists> + <mailingList> + <name>JUnit Mailing List</name> + <post>junit@yahoogroups.com</post> + <archive> + http://tech.groups.yahoo.com/group/junit/ + </archive> + </mailingList> + </mailingLists> + <licenses> + <license> + <name>Common Public License Version 1.0</name> + <url>http://www.opensource.org/licenses/cpl1.0.txt</url> + </license> + </licenses> + <scm> + <connection>scm:git:git://github.com/KentBeck/junit.git</connection> + <developerConnection>scm:git:git@github.com:KentBeck/junit.git</developerConnection> + <url>http://github.com/KentBeck/junit/tree/master</url> + </scm> + <developers> + <developer> + <id>dsaff</id> + <name>David Saff</name> + <email>david@saff.net</email> + </developer> + </developers> + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <encoding>ISO-8859-1</encoding> + <source>${jdk.version}</source> + <target>${jdk.version}</target> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-core</artifactId> + <version>1.3</version> + <scope>compile</scope> + </dependency> + </dependencies> + <properties> + <jdk.version>1.5</jdk.version> + </properties> +</project> \ No newline at end of file

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: junitperf

junitperf (1.9.1-8ubuntu1) quantal; urgency=low * Ensure backwards compatible bytecode is built (LP: #1049787): - d/rules: Ensure debian/ant.properties is used by dh_auto_build. -- James Page <james.page@ubuntu.com> Thu, 20 Sep 2012 10:23:59 +0100 junitperf (1.9.1-8build1) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page <james.page@ubuntu.com> Fri, 18 May 2012 11:41:22 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.9.1-8/debian/rules 2010-05-20 19:35:08.000000000 +0000 +++ 1.9.1-8ubuntu1/debian/rules 2012-09-20 09:21:41.000000000 +0000 @@ -4,4 +4,4 @@ dh $@ --with javahelper override_dh_auto_build: - dh_auto_build -- jar javadoc + dh_auto_build -- -propertyfile debian/ant.properties jar javadoc
  2. Download patch debian/control

    --- 1.9.1-8/debian/control 2010-05-20 19:35:08.000000000 +0000 +++ 1.9.1-8ubuntu1/debian/control 2012-09-20 09:24:13.000000000 +0000 @@ -1,7 +1,8 @@ Source: junitperf Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Arnaud Vandyck <avdyk@debian.org>, Wolfgang Baer <WBaer@gmx.de>, Niels Thykier <niels@thykier.net> Build-Depends: ant, debhelper (>= 7.0.50~), default-jdk, javahelper

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libcommons-cli-java

libcommons-cli-java (1.3.1-3ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - d/*: Switch to using maven-ant-helper for package build. -- James Page <james.page@ubuntu.com> Tue, 08 Mar 2016 11:39:30 +0000

Modifications :
  1. Download patch debian/build.properties

    --- 1.3.1-3/debian/build.properties 2015-12-15 11:10:01.000000000 +0000 +++ 1.3.1-3ubuntu1/debian/build.properties 2015-12-15 17:15:24.000000000 +0000 @@ -1,7 +1,5 @@ javadoc.dir=target/api -build.sourceDirectory=src/java -build.testDirectory=src/test build.directory=target -maven.test.skip=true +#maven.test.skip=true ant.build.javac.target=1.4 ant.build.javac.source=1.4
  2. Download patch debian/rules

    --- 1.3.1-3/debian/rules 2015-12-15 11:10:58.000000000 +0000 +++ 1.3.1-3ubuntu1/debian/rules 2016-03-08 11:14:12.000000000 +0000 @@ -2,8 +2,23 @@ export JAVA_HOME = /usr/lib/jvm/default-java -%: - dh $@ --buildsystem=maven +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-nodeps junit4 commons-lang ant-junit +DEB_ANT_BUILD_TARGET := package #javadoc +DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml +DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION) + +binary-post-install/$(PACKAGE):: + mh_installpoms -p$(PACKAGE) + mh_installjar -p$(PACKAGE) -l pom.xml target/commons-cli-$(VERSION).jar + +clean:: + -rm -rf debian/tmp get-orig-source: -uscan --download-current-version --force-download --rename
  3. Download patch debian/control

    --- 1.3.1-3/debian/control 2015-12-15 12:08:52.000000000 +0000 +++ 1.3.1-3ubuntu1/debian/control 2016-03-08 11:24:57.000000000 +0000 @@ -1,13 +1,18 @@ Source: libcommons-cli-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Ludovic Claude <ludovic.claude@laposte.net>, tony mancill <tmancill@debian.org>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: debhelper (>= 9), + cdbs (>= 0.4.8), default-jdk, - maven-debian-helper, + ant, + ant-optional, + maven-ant-helper, maven-repo-helper, + libcommons-lang-java (>= 2.0), junit4 Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-java/libcommons-cli-java.git

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libcommons-dbcp-java

libcommons-dbcp-java (1.4-5ubuntu2) xenial; urgency=medium * Build-depend on libtomcat8-java. -- Matthias Klose <doko@ubuntu.com> Mon, 22 Feb 2016 20:56:42 +0100 libcommons-dbcp-java (1.4-5ubuntu1) vivid; urgency=low * Merge from Debian unstable. Remaining changes: - d/ant.properties: Specifiy location of dependencies for build, set source/target version of Java to 1.5. - d/control: Switch BD/BDI's for ant based build, manually specify dependencies for binary packages. - d/libcommons-dbcp-java-doc.install: Pickup docs from ant build location. - d/maven.rules: Specify mappings for installed maven artifacts. - d/patches/01_build.patch: Patch ant build file for Javadoc locations. - d/rules: Rewrite for ant based build. - d/maven.*, d/patches/0001-configure-source-and-target-version-1.5.patch, d/README.source: Dropped as not required for ant based build. -- James Page <james.page@ubuntu.com> Mon, 08 Dec 2014 15:30:21 +0000

Modifications :
  1. Download patch .pc/01_build.patch/build.xml
  2. Download patch debian/README.source

    --- 1.4-5/debian/README.source 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -Information about libcommons-dbcp-java --------------------------------------- - -This package was debianized using the mh_make command -from the maven-debian-helper package. - -The build system uses Maven but prevents it from downloading -anything from the Internet, making the build compliant with -the Debian policy.
  3. Download patch debian/rules

    --- 1.4-5/debian/rules 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/rules 2014-10-26 04:26:39.000000000 +0000 @@ -1,9 +1,25 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk +include /usr/share/cdbs/1/class/ant.mk -JAVA_HOME := /usr/lib/jvm/default-java +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := commons-collections3 commons-pool junit geronimo-jta_1.1_spec + +PACKAGE=commons-dbcp + +DEB_ANT_CLEAN_TARGET := clean +DEB_ANT_BUILD_TARGET := build +#DEB_ANT_CHECK_TARGET := test + +# Per Debian Java Policy, install a versioned JAR and an unversioned symlink +binary-post-install/lib$(PACKAGE)-java:: + mh_installpoms -plib$(PACKAGE)-java + mh_installjar -plib$(PACKAGE)-java -l pom.xml dist/$(PACKAGE).jar + +clean:: + -rm -rf debian/tmp + -rm -fr doc/api DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt
  4. Download patch debian/patches/01_build.patch

    --- 1.4-5/debian/patches/01_build.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-5ubuntu2/debian/patches/01_build.patch 2012-07-09 09:14:53.000000000 +0000 @@ -0,0 +1,24 @@ +Description: Cleanup upstream build.xml: + - Use local Javadoc index from default-jdk-doc + - Set test.failonerror to false +Origin: vendor +Forwarded: not-needed +Author: Damien Raude-Morvan <drazzib@debian.org> +Last-Update: 2010-02-20 +--- a/build.xml ++++ b/build.xml +@@ -179,8 +179,8 @@ + nohelp="true" + nonavbar="false" + serialwarn="false"> +- <link href="http://java.sun.com/j2se/1.5.0/docs/api"/> +- <link href="http://commons.apache.org/pool/apidocs"/> ++ <link href="/usr/share/doc/default-jdk-doc/api/"/> ++ <link href="/usr/share/doc/libcommons-pool-java/api/"/> + </javadoc> + </target> + +--- /dev/null ++++ b/build.properties +@@ -0,0 +1 @@ ++test.failonerror=false
  5. Download patch .pc/0001-configure-source-and-target-version-1.5.patch/pom.xml
  6. Download patch debian/control

    --- 1.4-5/debian/control 2014-10-25 20:45:36.000000000 +0000 +++ 1.4-5ubuntu2/debian/control 2016-02-22 19:56:40.000000000 +0000 @@ -1,16 +1,16 @@ Source: libcommons-dbcp-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Damien Raude-Morvan <drazzib@debian.org>, Emmanuel Bourg <ebourg@apache.org> -Build-Depends: cdbs, debhelper (>= 9), default-jdk, maven-debian-helper (>= 1.4) +Build-Depends: ant, cdbs, debhelper (>= 9), default-jdk, maven-repo-helper Build-Depends-Indep: default-jdk-doc, junit, libcommons-pool-java, libcommons-pool-java-doc, libgeronimo-jta-1.1-spec-java, - libmaven-javadoc-plugin-java, libtomcat8-java Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-java/libcommons-dbcp-java.git @@ -19,8 +19,8 @@ Homepage: http://commons.apache.org/dbcp Package: libcommons-dbcp-java Architecture: all -Depends: ${maven:Depends}, ${misc:Depends} -Suggests: libcommons-dbcp-java-doc, ${maven:OptionalDepends} +Depends: ${misc:Depends}, libcommons-pool-java, libcommons-collections3-java +Suggests: libcommons-dbcp-java-doc, libgeronimo-jta-1.1-spec-java Description: Database Connection Pooling Services The DBCP package provides database connection pooling services. The following features are supported @@ -38,8 +38,8 @@ Description: Database Connection Pooling Package: libcommons-dbcp-java-doc Architecture: all Section: doc -Depends: ${maven:DocDepends}, ${misc:Depends} -Recommends: ${maven:DocOptionalDepends} +Depends: ${misc:Depends} +Recommends: libcommons-pool-java-doc, default-jdk-doc Suggests: libcommons-dbcp-java Description: Database Connection Pooling Services - documentation The DBCP package provides database connection pooling services. The
  7. Download patch .pc/03_exclude-transactions-tests.patch/pom.xml

    --- 1.4-5/.pc/03_exclude-transactions-tests.patch/pom.xml 2016-02-22 23:09:56.000000000 +0000 +++ 1.4-5ubuntu2/.pc/03_exclude-transactions-tests.patch/pom.xml 2010-02-07 16:59:20.000000000 +0000 @@ -265,14 +265,6 @@ <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> </plugins> </build> <reporting>
  8. Download patch .pc/applied-patches

    --- 1.4-5/.pc/applied-patches 2016-02-22 23:09:56.927601551 +0000 +++ 1.4-5ubuntu2/.pc/applied-patches 2016-02-22 23:09:57.171608059 +0000 @@ -1,3 +1,3 @@ -0001-configure-source-and-target-version-1.5.patch +01_build.patch 02_java7_compat.patch 03_exclude-transactions-tests.patch
  9. Download patch debian/maven.rules

    --- 1.4-5/debian/maven.rules 2014-10-25 20:52:44.000000000 +0000 +++ 1.4-5ubuntu2/debian/maven.rules 2016-02-22 19:57:43.000000000 +0000 @@ -19,3 +19,5 @@ commons-dbcp commons-dbcp jar s/.*/debian/ * * junit junit jar s/.*/3.x/ * * s/tomcat/org.apache.tomcat/ s/naming-common/tomcat-catalina/ * s/.*/8.x/ * * +commons-collections commons-collections jar s/3\..*/3.x/ +s/org.apache.geronimo.specs/glassfish/ s/geronimo-jta_1.1_spec/javaee/ jar s/.*/debian/
  10. Download patch build.properties

    --- 1.4-5/build.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-5ubuntu2/build.properties 2016-02-22 23:09:57.000000000 +0000 @@ -0,0 +1 @@ +test.failonerror=false
  11. Download patch debian/patches/0001-configure-source-and-target-version-1.5.patch

    --- 1.4-5/debian/patches/0001-configure-source-and-target-version-1.5.patch 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/patches/0001-configure-source-and-target-version-1.5.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -From: Torsten Werner <twerner@debian.org> -Date: Sun, 11 Sep 2011 17:24:30 +0200 -Subject: configure source and target version 1.5 - ---- - pom.xml | 8 ++++++++ - 1 files changed, 8 insertions(+), 0 deletions(-) - -diff --git a/pom.xml b/pom.xml -index bff49ea..e145e42 100644 ---- a/pom.xml -+++ b/pom.xml -@@ -265,6 +265,14 @@ - <tarLongFileMode>gnu</tarLongFileMode> - </configuration> - </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-compiler-plugin</artifactId> -+ <configuration> -+ <source>1.5</source> -+ <target>1.5</target> -+ </configuration> -+ </plugin> - </plugins> - </build> - <reporting> ---
  12. Download patch debian/patches/03_exclude-transactions-tests.patch

    --- 1.4-5/debian/patches/03_exclude-transactions-tests.patch 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/patches/03_exclude-transactions-tests.patch 2014-12-08 15:05:46.000000000 +0000 @@ -3,9 +3,9 @@ Author: Emmanuel Bourg <ebourg@apache.or Forwarded: not-needed --- a/pom.xml +++ b/pom.xml -@@ -272,6 +272,20 @@ - <source>1.5</source> - <target>1.5</target> +@@ -278,6 +278,20 @@ + <effort>Default</effort> + <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> + <executions> + <execution> @@ -22,5 +22,5 @@ Forwarded: not-needed + </execution> + </executions> </plugin> - </plugins> - </build> + <plugin> + <groupId>org.codehaus.mojo</groupId>
  13. Download patch debian/patches/series

    --- 1.4-5/debian/patches/series 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/patches/series 2014-10-26 04:26:39.000000000 +0000 @@ -1,3 +1,3 @@ -0001-configure-source-and-target-version-1.5.patch +01_build.patch 02_java7_compat.patch 03_exclude-transactions-tests.patch
  14. Download patch debian/libcommons-dbcp-java-doc.install

    --- 1.4-5/debian/libcommons-dbcp-java-doc.install 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/libcommons-dbcp-java-doc.install 2014-10-26 04:26:39.000000000 +0000 @@ -1,2 +1,2 @@ -target/apidocs/* usr/share/doc/libcommons-dbcp-java/api +dist/docs/* usr/share/doc/libcommons-dbcp-java
  15. Download patch pom.xml

    --- 1.4-5/pom.xml 2016-02-22 23:09:56.000000000 +0000 +++ 1.4-5ubuntu2/pom.xml 2016-02-22 23:09:57.000000000 +0000 @@ -265,12 +265,18 @@ <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> + </plugins> + </build> + <reporting> + <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.1</version> <configuration> - <source>1.5</source> - <target>1.5</target> + <threshold>Normal</threshold> + <effort>Default</effort> + <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> <executions> <execution> @@ -287,20 +293,6 @@ </execution> </executions> </plugin> - </plugins> - </build> - <reporting> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.1</version> - <configuration> - <threshold>Normal</threshold> - <effort>Default</effort> - <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> - </configuration> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId>
  16. Download patch debian/maven.cleanIgnoreRules

    --- 1.4-5/debian/maven.cleanIgnoreRules 2014-10-25 20:52:32.000000000 +0000 +++ 1.4-5ubuntu2/debian/maven.cleanIgnoreRules 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -# Maven clean ignore rules - ignore some Maven dependencies and plugins -# during the clean phase of a Maven build -# Format of this file is: -# [group] [artifact] [type] [version] [classifier] [scope] -# where each element can be either -# - the exact string, for example org.apache for the group, or 3.1 -# for the version. In this case, the element is simply matched -# and left as it is -# - * (the star character, alone). In this case, anything will -# match and be left as it is. For example, using * on the -# position of the artifact field will match any artifact id -# All elements much match before a rule can be applied -# Example rule: match jar with groupid= junit, artifactid= junit -# and version starting with 3., this dependency is then removed -# from the POM before mvn clean is called -# junit junit jar s/3\\..*/3.x/ -
  17. Download patch debian/maven.properties

    --- 1.4-5/debian/maven.properties 2014-10-25 20:19:43.000000000 +0000 +++ 1.4-5ubuntu2/debian/maven.properties 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -# Include here properties to pass to Maven during the build. -# For example: -# maven.test.skip=true -
  18. Download patch build.xml

    --- 1.4-5/build.xml 2010-02-07 16:59:20.000000000 +0000 +++ 1.4-5ubuntu2/build.xml 2016-02-22 23:09:57.000000000 +0000 @@ -179,8 +179,8 @@ nohelp="true" nonavbar="false" serialwarn="false"> - <link href="http://java.sun.com/j2se/1.5.0/docs/api"/> - <link href="http://commons.apache.org/pool/apidocs"/> + <link href="/usr/share/doc/default-jdk-doc/api/"/> + <link href="/usr/share/doc/libcommons-pool-java/api/"/> </javadoc> </target>
  19. Download patch debian/maven.ignoreRules

    --- 1.4-5/debian/maven.ignoreRules 2014-10-25 20:52:32.000000000 +0000 +++ 1.4-5ubuntu2/debian/maven.ignoreRules 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -# Maven ignore rules - ignore some Maven dependencies and plugins -# Format of this file is: -# [group] [artifact] [type] [version] [classifier] [scope] -# where each element can be either -# - the exact string, for example org.apache for the group, or 3.1 -# for the version. In this case, the element is simply matched -# and left as it is -# - * (the star character, alone). In this case, anything will -# match and be left as it is. For example, using * on the -# position of the artifact field will match any artifact id -# All elements much match before a rule can be applied -# Example rule: match jar with groupid= junit, artifactid= junit -# and version starting with 3., this dependency is then removed -# from the POM -# junit junit jar s/3\\..*/3.x/ - -commons-logging commons-logging * * * * -org.apache.geronimo.modules geronimo-transaction * * * * -org.apache.maven.plugins maven-assembly-plugin * * * * -org.apache.maven.plugins maven-changes-plugin * * * * -org.apache.maven.plugins maven-checkstyle-plugin * * * * -org.apache.maven.plugins maven-pmd-plugin * * * * -org.apache.maven.plugins maven-surefire-plugin * * * * -org.codehaus.mojo clirr-maven-plugin * * * * -org.codehaus.mojo cobertura-maven-plugin * * * * -org.codehaus.mojo findbugs-maven-plugin * * * * -tomcat naming-java * * * *
  20. Download patch debian/maven.publishedRules

    --- 1.4-5/debian/maven.publishedRules 2014-10-25 20:52:32.000000000 +0000 +++ 1.4-5ubuntu2/debian/maven.publishedRules 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -# Maven published rules - additional rules to publish, to help -# the packaging work of Debian maintainers using mh_make -# Format of this file is: -# [group] [artifact] [type] [version] [classifier] [scope] -# where each element can be either -# - the exact string, for example org.apache for the group, or 3.1 -# for the version. In this case, the element is simply matched -# and left as it is -# - * (the star character, alone). In this case, anything will -# match and be left as it is. For example, using * on the -# position of the artifact field will match any artifact id -# - a regular expression of the form s/match/replace/ -# in this case, elements that match are transformed using -# the regex rule. -# All elements much match before a rule can be applied -# Example rule: match jar with groupid= junit, artifactid= junit -# and version starting with 3., replacing the version with 3.x -# junit junit jar s/3\\..*/3.x/ -
  21. Download patch debian/ant.properties

    --- 1.4-5/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-5ubuntu2/debian/ant.properties 2012-07-09 09:45:00.000000000 +0000 @@ -0,0 +1,4 @@ +commons-collections.jar=/usr/share/java/commons-collections3.jar +commons-pool.jar=/usr/share/java/commons-pool.jar +ant.build.javac.source=1.5 +ant.build.javac.target=1.5

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libcommons-discovery-java

libcommons-discovery-java (0.5-3ubuntu1) quantal; urgency=low * Merge from Debian testing. Remaining changes: - d/control: Switch Build-Deps from maven to ant, fix Depends on binary packages. - d/rules: Switch from maven to ant cdbs build and ensure that junit4 is used to execute unit tests. - d/ant.properties: Specify build overrides for upstream build.xml to support use of system Java libraries. - d/libcommons-discovery-java-doc.install: install API docs from ant build output. - d/patches/fix_junit4_tests.diff: fix build process to execute tests using the junit ant task rather than executing junit directly in order to support use of JUnit4 annotations. -- James Page <james.page@ubuntu.com> Mon, 28 May 2012 17:18:46 +0100

Modifications :
  1. Download patch debian/rules

    --- 0.5-3/debian/rules 2011-11-14 23:12:27.000000000 +0000 +++ 0.5-3ubuntu1/debian/rules 2012-05-22 09:44:00.000000000 +0000 @@ -1,10 +1,20 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk include /usr/share/cdbs/1/class/javahelper.mk +include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-junit4 ant-junit +DEB_ANT_BUILD_TARGET := dist test.discovery +LIBRARY := commons-discovery + +install/lib$(LIBRARY)-java:: + mh_installpoms -plib$(LIBRARY)-java + mh_installjar -plib$(LIBRARY)-java -l pom.xml dist/$(LIBRARY).jar + +clean:: + -rm -rf debian/tmp get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  2. Download patch debian/control

    --- 0.5-3/debian/control 2012-03-08 16:08:49.000000000 +0000 +++ 0.5-3ubuntu1/debian/control 2012-05-28 16:19:24.000000000 +0000 @@ -1,13 +1,14 @@ Source: libcommons-discovery-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Damien Raude-Morvan <drazzib@debian.org>, Kumar Appaiah <akumar@debian.org>, Varun Hiremath <varun@debian.org>, Jakub Adam <jakub.adam@ktknet.cz> -Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) -Build-Depends-Indep: libcommons-logging-java, junit4, default-jdk-doc, libcommons-logging-java-doc, - libmaven-javadoc-plugin-java, javahelper +Build-Depends: debhelper (>= 7), cdbs, ant, default-jdk +Build-Depends-Indep: ant-optional, libcommons-logging-java, junit4, default-jdk-doc, + libcommons-logging-java-doc, maven-repo-helper, javahelper Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-discovery-java/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-discovery-java/ @@ -15,8 +16,7 @@ Homepage: http://commons.apache.org/disc Package: libcommons-discovery-java Architecture: all -Depends: ${misc:Depends}, ${maven:Depends} -Recommends: ${maven:OptionalDepends} +Depends: ${misc:Depends}, libcommons-logging-java Suggests: libcommons-discovery-java-doc Description: locates classes that implement a given Java interface The Discovery Component is about discovering, or finding, @@ -39,8 +39,7 @@ Description: locates classes that implem Package: libcommons-discovery-java-doc Section: doc Architecture: all -Depends: ${misc:Depends}, ${maven:DocDepends} -Recommends: ${maven:DocOptionalDepends} +Depends: ${misc:Depends}, libcommons-logging-java-doc Suggests: libcommons-discovery-java Description: locates classes that implement a given Java interface (documentation) The Discovery Component is about discovering, or finding,
  3. Download patch .pc/applied-patches

    --- 0.5-3/.pc/applied-patches 2012-05-28 17:36:07.931191460 +0000 +++ 0.5-3ubuntu1/.pc/applied-patches 2012-05-28 17:36:08.135196371 +0000 @@ -1,2 +1,3 @@ java6_incompatible_types.diff java6_incompatible_types_tests.diff +fix_junit4_tests.diff
  4. Download patch debian/patches/series

    --- 0.5-3/debian/patches/series 2011-11-01 14:41:14.000000000 +0000 +++ 0.5-3ubuntu1/debian/patches/series 2012-05-22 09:44:00.000000000 +0000 @@ -1,2 +1,3 @@ java6_incompatible_types.diff java6_incompatible_types_tests.diff +fix_junit4_tests.diff
  5. Download patch .pc/fix_junit4_tests.diff/build.xml
  6. Download patch build.xml

    --- 0.5-3/build.xml 2008-07-14 22:44:17.000000000 +0000 +++ 0.5-3ubuntu1/build.xml 2012-05-28 17:36:08.000000000 +0000 @@ -221,11 +221,20 @@ <target name="test.discovery" depends="compile.tests" description="Run basic Service unit tests ..."> <echo message="Running basic Service tests ..."/> - <java classname="${test.runner}" fork="yes" + <!-- java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}"> <arg value="org.apache.commons.discovery.test.TestAll"/> <classpath refid="test.classpath"/> - </java> + </java --> + <junit printsummary="yes" haltonfailure="yes"> + <classpath refid="test.classpath"/> + <formatter type="plain"/> + <batchtest fork="yes"> + <fileset dir="${test.home}"> + <include name="**/TestAll.java"/> + </fileset> + </batchtest> + </junit> </target>
  7. Download patch debian/libcommons-discovery-java-doc.install

    --- 0.5-3/debian/libcommons-discovery-java-doc.install 2011-09-19 21:29:37.000000000 +0000 +++ 0.5-3ubuntu1/debian/libcommons-discovery-java-doc.install 2012-05-22 09:44:00.000000000 +0000 @@ -1,2 +1,2 @@ -target/apidocs/* usr/share/doc/libcommons-discovery-java/api +dist/docs/api/* usr/share/doc/libcommons-discovery-java/api
  8. Download patch debian/ant.properties

    --- 0.5-3/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 0.5-3ubuntu1/debian/ant.properties 2011-11-23 11:06:21.000000000 +0000 @@ -0,0 +1,4 @@ +junit.jar=/usr/share/java/junit4.jar +logger.jar=/usr/share/java/commons-logging.jar +ant.build.javac.source=1.5 +ant.build.javac.target=1.5
  9. Download patch debian/patches/fix_junit4_tests.diff

    --- 0.5-3/debian/patches/fix_junit4_tests.diff 1970-01-01 00:00:00.000000000 +0000 +++ 0.5-3ubuntu1/debian/patches/fix_junit4_tests.diff 2011-11-23 11:47:23.000000000 +0000 @@ -0,0 +1,35 @@ +Description: Execute JUnit tests using Ant junit task instead of executing + junit directory using java as this does not support JUnit4 test annotations. + . + Upstream have switched build system to maven so this patch will not be + forwarded either to Debian or to upstream. +Author: James Page <james.page@ubuntu.com> +Forwarded: not-needed + +Index: libcommons-discovery-java-0.5/build.xml +=================================================================== +--- libcommons-discovery-java-0.5.orig/build.xml 2011-11-23 11:13:50.206722656 +0000 ++++ libcommons-discovery-java-0.5/build.xml 2011-11-23 11:16:25.095112101 +0000 +@@ -221,11 +221,20 @@ + <target name="test.discovery" depends="compile.tests" + description="Run basic Service unit tests ..."> + <echo message="Running basic Service tests ..."/> +- <java classname="${test.runner}" fork="yes" ++ <!-- java classname="${test.runner}" fork="yes" + failonerror="${test.failonerror}"> + <arg value="org.apache.commons.discovery.test.TestAll"/> + <classpath refid="test.classpath"/> +- </java> ++ </java --> ++ <junit printsummary="yes" haltonfailure="yes"> ++ <classpath refid="test.classpath"/> ++ <formatter type="plain"/> ++ <batchtest fork="yes"> ++ <fileset dir="${test.home}"> ++ <include name="**/TestAll.java"/> ++ </fileset> ++ </batchtest> ++ </junit> + </target> + +

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libcommons-lang-java

libcommons-lang-java (2.6-6ubuntu2) xenial; urgency=medium * d/libcommons-lang-java.poms: do not reference javadoc.jar (LP: #1556647) . -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Wed, 16 Mar 2016 12:24:31 -0700 libcommons-lang-java (2.6-6ubuntu1) xenial; urgency=medium * Resync with Debian unstable, remaining changes: - d/control,rules,libcommons-lang-java.poms: Drop use of bnd for generating OSGi metadata. -- James Page <james.page@ubuntu.com> Tue, 08 Mar 2016 11:12:15 +0000

Modifications :
  1. Download patch debian/rules

    --- 2.6-6/debian/rules 2015-11-17 15:09:35.000000000 +0000 +++ 2.6-6ubuntu2/debian/rules 2016-03-08 10:46:45.000000000 +0000 @@ -11,9 +11,6 @@ export CLASSPATH=$(shell for jar in `cat override_dh_auto_build: ANT_ARGS="-Dbasedir=$(realpath .) -Djdk.javadoc=file:///usr/share/doc/default-jdk-doc/api/ jar javadoc javadoc-jar" dh_auto_build - cat debian/commons-lang.bnd | sed s/VERSION/$(DEB_UPSTREAM_VERSION)/ > debian/.commons-lang-versioned.bnd - echo debian/.commons-lang-versioned.bnd >> debian/.mh_clean - bnd wrap --properties debian/.commons-lang-versioned.bnd --output target/commons-lang.bnd.jar target/commons-lang-$(DEB_UPSTREAM_VERSION).jar get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  2. Download patch debian/control

    --- 2.6-6/debian/control 2015-11-17 15:09:35.000000000 +0000 +++ 2.6-6ubuntu2/debian/control 2016-03-08 10:48:58.000000000 +0000 @@ -1,7 +1,8 @@ Source: libcommons-lang-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Emmanuel Bourg <ebourg@apache.org> Build-Depends: @@ -10,7 +11,6 @@ Build-Depends: default-jdk, maven-repo-helper (>= 1.7) Build-Depends-Indep: - bnd (>= 2.1.0), default-jdk-doc, junit (>= 3.8.1), libcommons-parent-java (>= 12)
  3. Download patch debian/libcommons-lang-java.poms

    --- 2.6-6/debian/libcommons-lang-java.poms 2015-11-17 15:09:35.000000000 +0000 +++ 2.6-6ubuntu2/debian/libcommons-lang-java.poms 2016-03-16 22:13:39.000000000 +0000 @@ -23,5 +23,4 @@ # --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created # temporarily for certain artifacts such as Javadoc jars. # -pom.xml --has-package-version --artifact=target/commons-lang.bnd.jar --java-lib - +pom.xml --has-package-version --artifact=target/commons-lang-*[^javadoc].jar --java-lib

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libgnumail-java

libgnumail-java (1.1.2-10ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - d/p/add-osgi-metadata.patch: Drop requirement for javax.activiation, fixing FTBFS in eclipse-* packages. - Don't use bnd to generate OSGi metadata. -- James Page <james.page@ubuntu.com> Mon, 07 Mar 2016 17:18:03 +0000

Modifications :
  1. Download patch .pc/add-osgi-metadata.patch/build.xml
  2. Download patch debian/patches/add-osgi-metadata.patch

    --- 1.1.2-10/debian/patches/add-osgi-metadata.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.2-10ubuntu1/debian/patches/add-osgi-metadata.patch 2014-03-27 09:16:36.000000000 +0000 @@ -0,0 +1,25 @@ +From: Jakub Adam <jakub.adam@ktknet.cz> +Date: Sun, 16 Oct 2011 11:57:21 +0200 +Subject: add-osgi-metadata + +--- + build.xml | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +--- a/build.xml ++++ b/build.xml +@@ -161,6 +161,14 @@ Free Software Foundation, Inc., 51 Frank + <include name='mime.types'/> + <include name='javamail.charset.map'/> + </metainf> ++ <manifest> ++ <attribute name="Bundle-ManifestVersion" value="2"/> ++ <attribute name="Bundle-Name" value="GNU JavaMail"/> ++ <attribute name="Bundle-Vendor" value="gnu.org"/> ++ <attribute name="Bundle-SymbolicName" value="javax.mail"/> ++ <attribute name="Bundle-Version" value="1.1.2"/> ++ <attribute name="Export-Package" value="javax.mail,javax.mail.event,javax.mail.internet,javax.mail.search,javax.mail.util"/> ++ </manifest> + <include name='javax/mail/**/*.class'/> + <include name='gnu/mail/util/*.class'/> + <include name='gnu/mail/handler/*.class'/>
  3. Download patch debian/rules

    --- 1.1.2-10/debian/rules 2015-11-17 16:20:10.000000000 +0000 +++ 1.1.2-10ubuntu1/debian/rules 2016-03-07 15:20:54.000000000 +0000 @@ -13,12 +13,9 @@ DEB_ANT_ARGS := -Dpackage=$(PACK -Ddoc=api -Dant.build.javac.source=1.4 API_DOCS := api -common-post-build-indep:: - bnd wrap --properties debian/gnumail.bnd --output debian/gnumail-$(VERSION).jar ./gnumail-$(VERSION).jar - install/$(PACKAGE):: mh_installpom -p$(PACKAGE) debian/gnumail.pom - mh_installjar -p$(PACKAGE) --java-lib debian/gnumail.pom debian/gnumail-$(VERSION).jar + mh_installjar -p$(PACKAGE) --java-lib debian/gnumail.pom gnumail-$(VERSION).jar dh_install -p$(PACKAGE) ./gnumail-providers-$(VERSION).jar usr/share/java dh_link -p$(PACKAGE) usr/share/java/gnumail-providers-$(VERSION).jar usr/share/java/gnumail-providers.jar dh_installchangelogs ChangeLog
  4. Download patch debian/gnumail.bnd

    --- 1.1.2-10/debian/gnumail.bnd 2015-11-17 16:20:10.000000000 +0000 +++ 1.1.2-10ubuntu1/debian/gnumail.bnd 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -Bundle-Name: GNU JavaMail -Bundle-SymbolicName: javax.mail -Bundle-Version: 1.1.2 -Bundle-Vendor: Debian.org -Import-Package: !gnu.inet.util, * --nouses: true
  5. Download patch debian/control

    --- 1.1.2-10/debian/control 2015-11-17 16:20:10.000000000 +0000 +++ 1.1.2-10ubuntu1/debian/control 2016-03-07 14:56:31.000000000 +0000 @@ -1,7 +1,8 @@ Source: libgnumail-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Torsten Werner <twerner@debian.org>, Jakub Adam <jakub.adam@ktknet.cz> @@ -11,7 +12,6 @@ Build-Depends: debhelper (>= 9), maven-repo-helper Build-Depends-Indep: - bnd (>= 2.1.0), default-jdk, default-jdk-doc, libgnuinet-java
  6. Download patch .pc/applied-patches

    --- 1.1.2-10/.pc/applied-patches 2016-03-07 20:08:54.708561986 +0000 +++ 1.1.2-10ubuntu1/.pc/applied-patches 2016-03-07 20:08:54.932568101 +0000 @@ -2,3 +2,4 @@ gnumail-imaps.patch javadoc-link.patch 04_remove_jaf_dependency.patch +add-osgi-metadata.patch
  7. Download patch debian/patches/series

    --- 1.1.2-10/debian/patches/series 2015-11-17 16:20:10.000000000 +0000 +++ 1.1.2-10ubuntu1/debian/patches/series 2015-11-17 22:44:51.000000000 +0000 @@ -2,3 +2,4 @@ gnumail-imaps.patch javadoc-link.patch 04_remove_jaf_dependency.patch +add-osgi-metadata.patch
  8. Download patch build.xml

    --- 1.1.2-10/build.xml 2016-03-07 20:08:54.000000000 +0000 +++ 1.1.2-10ubuntu1/build.xml 2016-03-07 20:08:54.000000000 +0000 @@ -161,6 +161,14 @@ Free Software Foundation, Inc., 51 Frank <include name='mime.types'/> <include name='javamail.charset.map'/> </metainf> + <manifest> + <attribute name="Bundle-ManifestVersion" value="2"/> + <attribute name="Bundle-Name" value="GNU JavaMail"/> + <attribute name="Bundle-Vendor" value="gnu.org"/> + <attribute name="Bundle-SymbolicName" value="javax.mail"/> + <attribute name="Bundle-Version" value="1.1.2"/> + <attribute name="Export-Package" value="javax.mail,javax.mail.event,javax.mail.internet,javax.mail.search,javax.mail.util"/> + </manifest> <include name='javax/mail/**/*.class'/> <include name='gnu/mail/util/*.class'/> <include name='gnu/mail/handler/*.class'/>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libhamcrest-java

libhamcrest-java (1.3-5ubuntu1) utopic; urgency=medium * Drop integration component, removing dependency on easymock and associated dependency chain which pulls Maven into main: - d/rules: Don't install the integration jar. - d/p/disable-integration.patch: Drop integration classes from bigjar target and general compilation. - d/control: Drop BD on libeasymock-java. - d/rules: Rename EasyMock dependent files during package build. -- James Page <james.page@ubuntu.com> Mon, 19 May 2014 11:27:15 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.3-5/debian/rules 2014-03-25 23:17:21.000000000 +0000 +++ 1.3-5ubuntu1/debian/rules 2014-05-19 10:06:06.000000000 +0000 @@ -6,9 +6,9 @@ include /usr/share/cdbs/1/rules/debhelpe JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILDFILE := build.xml DEB_ANT_BUILD_TARGET := bigjar unit-test javadoc -DEB_JARS := easymock jmock qdox ant-junit +DEB_JARS := jmock qdox ant-junit ANT_OPTS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -Dversion=$(DEB_UPSTREAM_VERSION) -POMS := core generator integration library all +POMS := core generator library all DEST_DIR = $(DEB_DESTDIR)/usr/share/java @@ -40,6 +40,16 @@ clean:: rm -fr debian/.mh/ rm -f *.jar mkdir -p lib/integration + for f in `cat debian/integration-unit-tests`; do \ + i_f=$${f}.ignore; \ + [ -f $$i_f ] && mv $$i_f $$f || : ;\ + done + +pre-build:: + for f in `cat debian/integration-unit-tests`; do \ + i_f=$${f}.ignore; \ + [ -f $$f ] && mv $$f $$i_f || : ;\ + done get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --debug --rename
  2. Download patch debian/control

    --- 1.3-5/debian/control 2013-12-23 23:22:39.000000000 +0000 +++ 1.3-5ubuntu1/debian/control 2014-05-14 15:30:43.000000000 +0000 @@ -1,13 +1,14 @@ Source: libhamcrest-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Varun Hiremath <varun@debian.org>, Damien Raude-Morvan <drazzib@debian.org>, Brian Thomason <brian.thomason@gmail.com>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: cdbs, debhelper (>= 9), ant, ant-optional, default-jdk, maven-repo-helper -Build-Depends-Indep: libqdox-java, libeasymock-java, libjmock-java, libjarjar-java, +Build-Depends-Indep: libqdox-java, libjmock-java, libjarjar-java, default-jdk-doc, junit-doc, junit4-doc, junit, junit4 Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libhamcrest-java
  3. Download patch debian/integration-unit-tests

    --- 1.3-5/debian/integration-unit-tests 1970-01-01 00:00:00.000000000 +0000 +++ 1.3-5ubuntu1/debian/integration-unit-tests 2014-05-19 10:03:49.000000000 +0000 @@ -0,0 +1,3 @@ +hamcrest-unit-test/src/main/java/org/hamcrest/JavaLangMatcherAssertTest.java +hamcrest-unit-test/src/main/java/org/hamcrest/integration/EasyMock2AdapterTest.java +hamcrest-unit-test/src/main/java/org/hamcrest/integration/JMock1AdapterTest.java
  4. Download patch .pc/applied-patches

    --- 1.3-5/.pc/applied-patches 2014-05-19 12:06:45.975721378 +0000 +++ 1.3-5ubuntu1/.pc/applied-patches 2014-05-19 12:06:46.179726762 +0000 @@ -1,2 +1,3 @@ 001-build.patch 002-fix-random-compilation-failure.patch +disable-integration.patch
  5. Download patch debian/patches/disable-integration.patch

    --- 1.3-5/debian/patches/disable-integration.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.3-5ubuntu1/debian/patches/disable-integration.patch 2014-05-19 10:21:53.000000000 +0000 @@ -0,0 +1,73 @@ +--- a/build.xml ++++ b/build.xml +@@ -84,18 +84,16 @@ + build/hamcrest-library-${version}.jar"/> + </target> + +- <target name="unit-test" depends="core, library, integration, generator" description="Build and run unit tests."> ++ <target name="unit-test" depends="core, library, generator" description="Build and run unit tests."> + <java-to-jar srcdir="hamcrest-unit-test/src/main/java" modulename="hamcrest-unit-test" + classpath="build/hamcrest-core-${version}.jar; + build/hamcrest-library-${version}.jar; +- build/hamcrest-integration-${version}.jar; + build/hamcrest-generator-${version}.jar"/> + <junit printsummary="no" fork="no" haltonfailure="${haltonfailure}"> + <formatter type="brief" usefile="no"/> + <classpath> + <pathelement path="build/hamcrest-core-${version}.jar"/> + <pathelement path="build/hamcrest-library-${version}.jar"/> +- <pathelement path="build/hamcrest-integration-${version}.jar"/> + <pathelement path="build/hamcrest-generator-${version}.jar"/> + <pathelement path="build/hamcrest-unit-test-${version}.jar"/> + <fileset dir="/usr/share/java"> +@@ -109,6 +107,7 @@ + <fileset dir="hamcrest-unit-test/src/main/java"> + <include name="**/*Test*"/> + <exclude name="**/Abstract*"/> ++ <exclude name="**/integration/*"/> + </fileset> + </batchtest> + </junit> +@@ -122,7 +121,7 @@ + build/hamcrest-integration-${version}.jar"/> + </target> + +- <target name="bigjar" depends="core, library, integration, generator" ++ <target name="bigjar" depends="core, library, generator" + description="Build a single Jar (hamcrest-all.jar) that contains core, library, generator and integration."> + <mkdir dir="build/temp/hamcrest-all-${version}.jar.manifest"/> + <manifest file="build/temp/hamcrest-all-${version}.jar.manifest/MANIFEST.MF"> +@@ -136,13 +135,11 @@ + <zipfileset src="build/hamcrest-core-${version}.jar"/> + <zipfileset src="build/hamcrest-library-${version}.jar"/> + <zipfileset src="build/hamcrest-generator-${version}.jar"/> +- <zipfileset src="build/hamcrest-integration-${version}.jar"/> + </jar> + <jar jarfile="build/hamcrest-all-${version}-sources.jar" duplicate="preserve" manifest="build/temp/hamcrest-all-${version}.jar.manifest/MANIFEST.MF"> + <zipfileset src="build/hamcrest-core-${version}-sources.jar"/> + <zipfileset src="build/hamcrest-library-${version}-sources.jar"/> + <zipfileset src="build/hamcrest-generator-${version}-sources.jar"/> +- <zipfileset src="build/hamcrest-integration-${version}-sources.jar"/> + </jar> + </target> + +@@ -150,7 +147,6 @@ + <java-to-javadoc-jar modulename="hamcrest-generator-nodeps"/> + <java-to-javadoc-jar modulename="hamcrest-core"/> + <java-to-javadoc-jar modulename="hamcrest-library"/> +- <java-to-javadoc-jar modulename="hamcrest-integration"/> + <copy file="build/hamcrest-generator-nodeps-${version}-javadoc.jar" tofile="build/hamcrest-generator-${version}-javadoc.jar"/> + + <javadoc packagenames="org.hamcrest.*" defaultexcludes="yes" +@@ -163,11 +159,9 @@ + </classpath> + <packageset dir="build/temp/hamcrest-core-${version}-sources.jar.contents"/> + <packageset dir="build/temp/hamcrest-library-${version}-sources.jar.contents" excludes="org/hamcrest/internal"/> +- <packageset dir="build/temp/hamcrest-integration-${version}-sources.jar.contents"/> + + <group title="Hamcrest API and Utility Classes" packages="org.hamcrest"/> + <group title="Matcher Library" packages="org.hamcrest.*"/> +- <group title="Integration" packages="org.hamcrest.integration, org.hamcrest.integration.*"/> + + <link offline="false" href="/usr/share/doc/junit-doc/javadoc/"/> + <link offline="false" href="/usr/share/doc/junit4-doc/javadoc_40/"/>
  6. Download patch .pc/disable-integration.patch/build.xml
  7. Download patch debian/patches/series

    --- 1.3-5/debian/patches/series 2014-03-25 23:08:27.000000000 +0000 +++ 1.3-5ubuntu1/debian/patches/series 2014-05-19 09:46:16.000000000 +0000 @@ -1,2 +1,3 @@ 001-build.patch 002-fix-random-compilation-failure.patch +disable-integration.patch
  8. Download patch build.xml

    --- 1.3-5/build.xml 2014-05-19 12:06:45.000000000 +0000 +++ 1.3-5ubuntu1/build.xml 2014-05-19 12:06:46.000000000 +0000 @@ -84,18 +84,16 @@ build/hamcrest-library-${version}.jar"/> </target> - <target name="unit-test" depends="core, library, integration, generator" description="Build and run unit tests."> + <target name="unit-test" depends="core, library, generator" description="Build and run unit tests."> <java-to-jar srcdir="hamcrest-unit-test/src/main/java" modulename="hamcrest-unit-test" classpath="build/hamcrest-core-${version}.jar; build/hamcrest-library-${version}.jar; - build/hamcrest-integration-${version}.jar; build/hamcrest-generator-${version}.jar"/> <junit printsummary="no" fork="no" haltonfailure="${haltonfailure}"> <formatter type="brief" usefile="no"/> <classpath> <pathelement path="build/hamcrest-core-${version}.jar"/> <pathelement path="build/hamcrest-library-${version}.jar"/> - <pathelement path="build/hamcrest-integration-${version}.jar"/> <pathelement path="build/hamcrest-generator-${version}.jar"/> <pathelement path="build/hamcrest-unit-test-${version}.jar"/> <fileset dir="/usr/share/java"> @@ -109,6 +107,7 @@ <fileset dir="hamcrest-unit-test/src/main/java"> <include name="**/*Test*"/> <exclude name="**/Abstract*"/> + <exclude name="**/integration/*"/> </fileset> </batchtest> </junit> @@ -122,7 +121,7 @@ build/hamcrest-integration-${version}.jar"/> </target> - <target name="bigjar" depends="core, library, integration, generator" + <target name="bigjar" depends="core, library, generator" description="Build a single Jar (hamcrest-all.jar) that contains core, library, generator and integration."> <mkdir dir="build/temp/hamcrest-all-${version}.jar.manifest"/> <manifest file="build/temp/hamcrest-all-${version}.jar.manifest/MANIFEST.MF"> @@ -136,13 +135,11 @@ <zipfileset src="build/hamcrest-core-${version}.jar"/> <zipfileset src="build/hamcrest-library-${version}.jar"/> <zipfileset src="build/hamcrest-generator-${version}.jar"/> - <zipfileset src="build/hamcrest-integration-${version}.jar"/> </jar> <jar jarfile="build/hamcrest-all-${version}-sources.jar" duplicate="preserve" manifest="build/temp/hamcrest-all-${version}.jar.manifest/MANIFEST.MF"> <zipfileset src="build/hamcrest-core-${version}-sources.jar"/> <zipfileset src="build/hamcrest-library-${version}-sources.jar"/> <zipfileset src="build/hamcrest-generator-${version}-sources.jar"/> - <zipfileset src="build/hamcrest-integration-${version}-sources.jar"/> </jar> </target> @@ -150,7 +147,6 @@ <java-to-javadoc-jar modulename="hamcrest-generator-nodeps"/> <java-to-javadoc-jar modulename="hamcrest-core"/> <java-to-javadoc-jar modulename="hamcrest-library"/> - <java-to-javadoc-jar modulename="hamcrest-integration"/> <copy file="build/hamcrest-generator-nodeps-${version}-javadoc.jar" tofile="build/hamcrest-generator-${version}-javadoc.jar"/> <javadoc packagenames="org.hamcrest.*" defaultexcludes="yes" @@ -163,11 +159,9 @@ </classpath> <packageset dir="build/temp/hamcrest-core-${version}-sources.jar.contents"/> <packageset dir="build/temp/hamcrest-library-${version}-sources.jar.contents" excludes="org/hamcrest/internal"/> - <packageset dir="build/temp/hamcrest-integration-${version}-sources.jar.contents"/> <group title="Hamcrest API and Utility Classes" packages="org.hamcrest"/> <group title="Matcher Library" packages="org.hamcrest.*"/> - <group title="Integration" packages="org.hamcrest.integration, org.hamcrest.integration.*"/> <link offline="false" href="/usr/share/doc/junit-doc/javadoc/"/> <link offline="false" href="/usr/share/doc/junit4-doc/javadoc_40/"/>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libjaxen-java

libjaxen-java (1.1.6-1ubuntu1) trusty; urgency=low * Revert to using ant for build process to support continued main inclusion in Ubuntu. -- James Page <james.page@ubuntu.com> Tue, 12 Nov 2013 14:35:11 +0000

Modifications :
  1. Download patch debian/rules

    --- 1.1.6-1/debian/rules 2013-07-25 17:27:31.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/rules 2013-11-12 13:55:46.000000000 +0000 @@ -1,9 +1,19 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/class/maven.mk +include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILDFILE := debian/build.xml +DEB_JARS := ant-junit junit xom +DEB_ANT_BUILD_TARGET := dist + +install/libjaxen-java:: + mh_installpoms -plibjaxen-java + mh_installjar -plibjaxen-java -l pom.xml dist/jaxen.jar + +clean:: + mh_clean get-orig-source: uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename
  2. Download patch debian/control

    --- 1.1.6-1/debian/control 2013-07-26 09:31:47.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/control 2013-11-12 13:27:56.000000000 +0000 @@ -1,11 +1,12 @@ Source: libjaxen-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Marcus Better <marcus@better.se>, Emmanuel Bourg <ebourg@apache.org>, Damien Raude-Morvan <drazzib@debian.org> -Build-Depends: cdbs, debhelper (>= 7), default-jdk -Build-Depends-Indep: junit, libdom4j-java, libjdom1-java, libxom-java, maven-debian-helper, libmaven-javadoc-plugin-java +Build-Depends: cdbs, debhelper (>= 7), ant, ant-optional, default-jdk +Build-Depends-Indep: junit, libdom4j-java, libjdom1-java, libxom-java, maven-repo-helper Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libjaxen-java Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libjaxen-java
  3. Download patch debian/libjaxen-java-doc.docs

    --- 1.1.6-1/debian/libjaxen-java-doc.docs 2013-07-25 16:24:04.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/libjaxen-java-doc.docs 2013-11-12 14:05:09.000000000 +0000 @@ -1 +1 @@ -target/apidocs +dist/docs/api
  4. Download patch debian/libjaxen-java-doc.links
  5. Download patch debian/libjaxen-java-doc.doc-base

    --- 1.1.6-1/debian/libjaxen-java-doc.doc-base 2013-07-25 16:26:28.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/libjaxen-java-doc.doc-base 2013-11-12 14:08:23.000000000 +0000 @@ -5,5 +5,5 @@ Abstract: This is the API Javadoc provid Section: Programming Format: HTML -Index: /usr/share/doc/libjaxen-java-doc/apidocs/index.html -Files: /usr/share/doc/libjaxen-java-doc/apidocs/* +Index: /usr/share/doc/libjaxen-java-doc/api/index.html +Files: /usr/share/doc/libjaxen-java-doc/api/*
  6. Download patch debian/ant.properties

    --- 1.1.6-1/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/ant.properties 2013-11-12 14:08:06.000000000 +0000 @@ -0,0 +1,4 @@ +ant.build.javac.source=1.3 +ant.build.javac.target=1.3 +noget=true +libdir=/usr/share/java
  7. Download patch debian/build.xml

    --- 1.1.6-1/debian/build.xml 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.6-1ubuntu1/debian/build.xml 2013-11-12 13:55:37.000000000 +0000 @@ -0,0 +1,190 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!--build.xml generated by maven from project.xml version 1.1 + on date February 13 2006, time 1000--> +<project default="jar" name="jaxen" basedir=".."> + <!--Load local and user build preferences--> + <property file="build.properties"></property> + <property file="${user.home}/build.properties"></property> + <!--Build properties--> + <property name="defaulttargetdir" value="${basedir}/target"></property> + <property name="libdir" value="/usr/share/java"></property> + <property name="classesdir" value="${basedir}/target/classes"></property> + <property name="testclassesdir" value="${basedir}/target/test-classes"></property> + <property name="testreportdir" value="${basedir}/target/test-reports"></property> + <property name="distdir" value="${basedir}/dist"></property> + <property name="javadocdir" value="${basedir}/dist/docs/api"></property> + <property name="final.name" value="jaxen"></property> + <property name="proxy.host" value=""></property> + <property name="proxy.port" value=""></property> + <property name="proxy.username" value=""></property> + <property name="proxy.password" value=""></property> + <path id="build.classpath"> + <pathelement location="${libdir}/dom4j.jar"></pathelement> + <pathelement location="${libdir}/jdom1.jar"></pathelement> + <pathelement location="${libdir}/xml-apis.jar"></pathelement> + <pathelement location="${libdir}/xercesImpl.jar"></pathelement> + <pathelement location="${libdir}/xom.jar"></pathelement> + <pathelement location="${libdir}/junit.jar"></pathelement> + </path> + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"></mkdir> + <!--Test if JUNIT is present in ANT classpath--> + <available property="Junit.present" classname="junit.framework.Test"></available> + <!--Test if user defined a proxy--> + <condition property="useProxy"> + <and> + <isset property="proxy.host"></isset> + <not> + <equals trim="true" arg2="" arg1="${proxy.host}"></equals> + </not> + </and> + </condition> + </target> + <target name="compile" description="o Compile the code"> + <mkdir dir="${classesdir}"></mkdir> + <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> + <src> + <pathelement location="${basedir}/src/java/main"></pathelement> + </src> + <classpath refid="build.classpath"></classpath> + </javac> + </target> + <target name="jar" description="o Create the jar" depends="compile,test"> + <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"></jar> + </target> + <target name="clean" description="o Clean up the generated directories"> + <delete dir="${defaulttargetdir}"></delete> + <delete dir="${distdir}"></delete> + </target> + <target name="dist" description="o Create a distribution" depends="jar, javadoc"> + <mkdir dir="dist"></mkdir> + <copy todir="dist"> + <fileset dir="${defaulttargetdir}" includes="*.jar"></fileset> + <fileset dir="${basedir}" includes="LICENSE*, README*"></fileset> + </copy> + </target> + <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test"> + <fail message="There were test failures."></fail> + </target> + <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests"> + <mkdir dir="${testreportdir}"></mkdir> + <junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true"> + <sysproperty key="basedir" value="."></sysproperty> + <formatter type="xml"></formatter> + <formatter usefile="false" type="plain"></formatter> + <classpath> + <path refid="build.classpath"></path> + <pathelement path="${testclassesdir}"></pathelement> + <pathelement path="${classesdir}"></pathelement> + </classpath> + <batchtest todir="${testreportdir}"> + <fileset dir="${basedir}/src/java/test"> + <include name="**/*Test.java"></include> + <exclude name="org/jaxen/jdom/XPathTest.java"></exclude> + </fileset> + </batchtest> + </junit> + </target> + <target name="junit-present" unless="Junit.present" depends="init"> + <echo>================================= WARNING ================================</echo> + <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo> + <echo>==========================================================================</echo> + </target> + <target name="compile-tests" if="Junit.present" depends="junit-present,compile"> + <mkdir dir="${testclassesdir}"></mkdir> + <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> + <src> + <pathelement location="${basedir}/src/java/test"></pathelement> + </src> + <classpath> + <path refid="build.classpath"></path> + <pathelement path="${classesdir}"></pathelement> + </classpath> + </javac> + <copy todir="${testclassesdir}"> + <fileset dir="${basedir}/src/java/test"> + <include name="**/*.werk"></include> + <include name="**/*.xml"></include> + <include name="**/*.properties"></include> + </fileset> + </copy> + </target> + <target name="javadoc" description="o Generate javadoc"> + <mkdir dir="${javadocdir}"></mkdir> + <tstamp> + <format pattern="2001-yyyy" property="year"></format> + </tstamp> + <property name="copyright" value="Copyright &amp;copy; Codehaus. All Rights Reserved."></property> + <property name="title" value="jaxen 1.1.3 API"></property> + <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java/main" packagenames="org.jaxen.*"> + <classpath> + <path refid="build.classpath"></path> + </classpath> + </javadoc> + </target> + <target name="get-dep-dom4j.jar" description="o Download the dependency : dom4j.jar" unless="dom4j.jar" depends="init,setProxy,noProxy,get-custom-dep-dom4j.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/dom4j.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/dom4j.jar"></get> + </target> + <target name="get-custom-dep-dom4j.jar" if="dom4j.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/dom4j.jar" usetimestamp="true" ignoreerrors="true" src="${dom4j.jar}"></get> + </target> + <target name="get-dep-jdom.jar" description="o Download the dependency : jdom.jar" unless="jdom.jar" depends="init,setProxy,noProxy,get-custom-dep-jdom.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/jdom.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/jdom.jar"></get> + </target> + <target name="get-custom-dep-jdom.jar" if="jdom.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/jdom.jar" usetimestamp="true" ignoreerrors="true" src="${jdom.jar}"></get> + </target> + <target name="get-dep-xmlParserAPIs.jar" description="o Download the dependency : xmlParserAPIs.jar" unless="xmlParserAPIs.jar" depends="init,setProxy,noProxy,get-custom-dep-xmlParserAPIs.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xml-commons-apis.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xml-commons-apis.jar"></get> + </target> + <target name="get-custom-dep-xmlParserAPIs.jar" if="xmlParserAPIs.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xml-commons-apis.jar" usetimestamp="true" ignoreerrors="true" src="${xmlParserAPIs.jar}"></get> + </target> + <target name="get-dep-xercesImpl.jar" description="o Download the dependency : xercesImpl.jar" unless="xercesImpl.jar" depends="init,setProxy,noProxy,get-custom-dep-xercesImpl.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xerces-j2.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xerces-j2.jar"></get> + </target> + <target name="get-custom-dep-xercesImpl.jar" if="xercesImpl.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xerces-j2.jar" usetimestamp="true" ignoreerrors="true" src="${xercesImpl.jar}"></get> + </target> + <target name="get-dep-xom.jar" description="o Download the dependency : xom.jar" unless="xom.jar" depends="init,setProxy,noProxy,get-custom-dep-xom.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xom.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xom.jar"></get> + </target> + <target name="get-custom-dep-xom.jar" if="xom.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/xom.jar" usetimestamp="true" ignoreerrors="true" src="${xom.jar}"></get> + </target> + <target name="get-dep-junit.jar" description="o Download the dependency : junit.jar" unless="junit.jar" depends="init,setProxy,noProxy,get-custom-dep-junit.jar"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/junit.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/junit.jar"></get> + </target> + <target name="get-custom-dep-junit.jar" if="junit.jar" depends="init,setProxy,noProxy"> + <mkdir dir="${libdir}/JPP/jars/"></mkdir> + <get dest="${libdir}/JPP/jars/junit.jar" usetimestamp="true" ignoreerrors="true" src="${junit.jar}"></get> + </target> + <target name="get-deps" unless="noget" depends="get-dep-dom4j.jar,get-dep-jdom.jar,get-dep-xmlParserAPIs.jar,get-dep-xercesImpl.jar,get-dep-xom.jar,get-dep-junit.jar"></target> + <target name="setProxy" if="useProxy" depends="init"> + <!--Proxy settings works only with a JDK 1.2 and higher.--> + <echo>Proxy used :</echo> + <echo>Proxy host [${proxy.host}]</echo> + <echo>Proxy port [${proxy.port}]</echo> + <echo>Proxy user [${proxy.username}]</echo> + <setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}" proxyhost="${proxy.host}"></setproxy> + </target> + <target name="noProxy" unless="useProxy" depends="init"> + <echo>Proxy not used.</echo> + </target> + <target name="install-maven"> + <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar"></get> + <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar> + </target> +</project>

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libjaxp1.3-java

libjaxp1.3-java (1.3.05-2ubuntu3) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page <james.page@ubuntu.com> Fri, 18 May 2012 11:43:46 +0100 libjaxp1.3-java (1.3.05-2ubuntu2) precise; urgency=low * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. -- Adam Conrad <adconrad@0c3.net> Fri, 02 Dec 2011 20:59:58 -0700 libjaxp1.3-java (1.3.05-2ubuntu1) precise; urgency=low * Merge with Debian; remaining changes: -- Matthias Klose <doko@ubuntu.com> Thu, 01 Dec 2011 17:46:28 +0100

Modifications :
  1. Download patch debian/control

    --- 1.3.05-2/debian/control 2011-11-15 22:58:39.000000000 +0000 +++ 1.3.05-2ubuntu3/debian/control 2011-12-01 16:48:34.000000000 +0000 @@ -1,7 +1,8 @@ Source: libjaxp1.3-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Matthias Klose <doko@ubuntu.com>, Michael Koch <konqueror@gmx.de>, Jakub Adam <jakub.adam@ktknet.cz> Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-repo-helper, @@ -15,7 +16,7 @@ Package: libjaxp1.3-java Architecture: all Depends: ${misc:Depends} Suggests: libjaxp1.3-java-gcj -Conflicts: libxalan2-java (<= 2.7.1-2) +Conflicts: libxalan2-java (<= 2.7.1-3) Description: Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX) xml-apis.jar from the Apache XML Commons project is used by the Xerces-J XML parser and Xalan-J XSLT processor and specifies these APIs:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libjs-jcrop

libjs-jcrop (0.9.13+dfsg-1ubuntu1) xenial; urgency=medium * Update to PHP7.0 build-dependencies (LP: #1566397). -- Nishanth Aravamudan <nish.aravamudan@canonical.com> Tue, 05 Apr 2016 08:33:58 -0700

Modifications :
  1. Download patch debian/control

    --- 0.9.13+dfsg-1/debian/control 2015-12-05 21:45:37.000000000 +0000 +++ 0.9.13+dfsg-1ubuntu1/debian/control 2016-04-05 22:15:32.000000000 +0000 @@ -1,13 +1,14 @@ Source: libjs-jcrop Section: web Priority: optional -Maintainer: Debian JavaScript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian JavaScript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: David Prévot <taffit@debian.org> Build-Depends: debhelper (>= 9), node-clean-css, node-less, node-uglify, - php5-cli + php-cli Standards-Version: 3.9.6 Homepage: http://deepliquid.com/content/Jcrop.html Vcs-Git: git://anonscm.debian.org/pkg-javascript/libjs-jcrop.git

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libjs-jquery-hotkeys

libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu1) trusty; urgency=medium * debian/patches/revert-to-0.8.patch: - Revert to jquery-hotkeys 0.8 rather than the current git snapshot because the snapshot breaks python-coverage HTML reports. LP: #1301574 -- Michael Terry <mterry@ubuntu.com> Mon, 07 Apr 2014 17:08:29 -0400

Modifications :
  1. Download patch .pc/revert-to-0.8.patch/jquery.hotkeys.js

    --- 0~20130707+git2d51e3a9+dfsg-2/.pc/revert-to-0.8.patch/jquery.hotkeys.js 1970-01-01 00:00:00.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/.pc/revert-to-0.8.patch/jquery.hotkeys.js 2013-07-07 06:07:42.000000000 +0000 @@ -0,0 +1,106 @@ +/* + * jQuery Hotkeys Plugin + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * + * Based upon the plugin by Tzury Bar Yochay: + * http://github.com/tzuryby/hotkeys + * + * Original idea by: + * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ +*/ + +(function(jQuery){ + + jQuery.hotkeys = { + version: "0.8+", + + specialKeys: { + 8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause", + 20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home", + 37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del", + 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", + 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/", + 112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8", + 120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 188: ",", 190: ".", + 191: "/", 224: "meta" + }, + + shiftNums: { + "`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&", + "8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<", + ".": ">", "/": "?", "\\": "|" + } + }; + + function keyHandler( handleObj ) { + + var origHandler = handleObj.handler, + //use namespace as keys so it works with event delegation as well + //will also allow removing listeners of a specific key combination + //and support data objects + keys = (handleObj.namespace || "").toLowerCase().split(" "); + keys = jQuery.map(keys, function(key) { return key.split("."); }); + + //no need to modify handler if no keys specified + if (keys.length === 1 && (keys[0] === "" || keys[0] === "autocomplete")) { + return; + } + + handleObj.handler = function( event ) { + // Don't fire in text-accepting inputs that we didn't directly bind to + // important to note that $.fn.prop is only available on jquery 1.6+ + if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) || + event.target.type === "text" || $(event.target).prop('contenteditable') == 'true' )) { + return; + } + + // Keypress represents characters, not special keys + var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ], + character = String.fromCharCode( event.which ).toLowerCase(), + key, modif = "", possible = {}; + + // check combinations (alt|ctrl|shift+anything) + if ( event.altKey && special !== "alt" ) { + modif += "alt_"; + } + + if ( event.ctrlKey && special !== "ctrl" ) { + modif += "ctrl_"; + } + + // TODO: Need to make sure this works consistently across platforms + if ( event.metaKey && !event.ctrlKey && special !== "meta" ) { + modif += "meta_"; + } + + if ( event.shiftKey && special !== "shift" ) { + modif += "shift_"; + } + + if ( special ) { + possible[ modif + special ] = true; + + } else { + possible[ modif + character ] = true; + possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true; + + // "$" can be triggered as "Shift+4" or "Shift+$" or just "$" + if ( modif === "shift_" ) { + possible[ jQuery.hotkeys.shiftNums[ character ] ] = true; + } + } + + for ( var i = 0, l = keys.length; i < l; i++ ) { + if ( possible[ keys[i] ] ) { + return origHandler.apply( this, arguments ); + } + } + }; + } + + jQuery.each([ "keydown", "keyup", "keypress" ], function() { + jQuery.event.special[ this ] = { add: keyHandler }; + }); + +})( jQuery );
  2. Download patch debian/control

    --- 0~20130707+git2d51e3a9+dfsg-2/debian/control 2013-07-07 12:59:12.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/debian/control 2014-04-07 21:10:34.000000000 +0000 @@ -1,7 +1,8 @@ Source: libjs-jquery-hotkeys Section: web Priority: extra -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Thomas Goirand <zigo@debian.org> Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4
  3. Download patch .pc/applied-patches

    --- 0~20130707+git2d51e3a9+dfsg-2/.pc/applied-patches 1970-01-01 00:00:00.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/.pc/applied-patches 2014-04-08 03:42:46.039110547 +0000 @@ -0,0 +1 @@ +revert-to-0.8.patch
  4. Download patch jquery.hotkeys.js

    --- 0~20130707+git2d51e3a9+dfsg-2/jquery.hotkeys.js 2013-07-07 06:07:42.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/jquery.hotkeys.js 2014-04-08 03:42:46.000000000 +0000 @@ -11,50 +11,44 @@ */ (function(jQuery){ - + jQuery.hotkeys = { - version: "0.8+", + version: "0.8", specialKeys: { 8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause", 20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home", - 37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del", + 37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del", 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", - 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/", - 112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8", + 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/", + 112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8", 120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 188: ",", 190: ".", 191: "/", 224: "meta" - }, - + }, + shiftNums: { - "`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&", - "8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<", + "`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&", + "8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<", ".": ">", "/": "?", "\\": "|" } }; function keyHandler( handleObj ) { - - var origHandler = handleObj.handler, - //use namespace as keys so it works with event delegation as well - //will also allow removing listeners of a specific key combination - //and support data objects - keys = (handleObj.namespace || "").toLowerCase().split(" "); - keys = jQuery.map(keys, function(key) { return key.split("."); }); - - //no need to modify handler if no keys specified - if (keys.length === 1 && (keys[0] === "" || keys[0] === "autocomplete")) { + // Only care when a possible input has been specified + if ( typeof handleObj.data !== "string" ) { return; } - + + var origHandler = handleObj.handler, + keys = handleObj.data.toLowerCase().split(" "); + handleObj.handler = function( event ) { // Don't fire in text-accepting inputs that we didn't directly bind to - // important to note that $.fn.prop is only available on jquery 1.6+ if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) || - event.target.type === "text" || $(event.target).prop('contenteditable') == 'true' )) { + event.target.type === "text" || $(event.target).prop('contenteditable') == 'true' )) { return; } - + // Keypress represents characters, not special keys var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ], character = String.fromCharCode( event.which ).toLowerCase(), @@ -62,20 +56,20 @@ // check combinations (alt|ctrl|shift+anything) if ( event.altKey && special !== "alt" ) { - modif += "alt_"; + modif += "alt+"; } if ( event.ctrlKey && special !== "ctrl" ) { - modif += "ctrl_"; + modif += "ctrl+"; } - + // TODO: Need to make sure this works consistently across platforms if ( event.metaKey && !event.ctrlKey && special !== "meta" ) { - modif += "meta_"; + modif += "meta+"; } if ( event.shiftKey && special !== "shift" ) { - modif += "shift_"; + modif += "shift+"; } if ( special ) { @@ -86,7 +80,7 @@ possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true; // "$" can be triggered as "Shift+4" or "Shift+$" or just "$" - if ( modif === "shift_" ) { + if ( modif === "shift+" ) { possible[ jQuery.hotkeys.shiftNums[ character ] ] = true; } }
  5. Download patch debian/patches/series

    --- 0~20130707+git2d51e3a9+dfsg-2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/debian/patches/series 2014-04-07 21:07:15.000000000 +0000 @@ -0,0 +1 @@ +revert-to-0.8.patch
  6. Download patch debian/patches/revert-to-0.8.patch

    --- 0~20130707+git2d51e3a9+dfsg-2/debian/patches/revert-to-0.8.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0~20130707+git2d51e3a9+dfsg-2ubuntu1/debian/patches/revert-to-0.8.patch 2014-04-07 21:07:31.000000000 +0000 @@ -0,0 +1,107 @@ +Index: libjs-jquery-hotkeys-0~20130707+git2d51e3a9+dfsg/jquery.hotkeys.js +=================================================================== +--- libjs-jquery-hotkeys-0~20130707+git2d51e3a9+dfsg.orig/jquery.hotkeys.js 2013-07-07 02:07:42.000000000 -0400 ++++ libjs-jquery-hotkeys-0~20130707+git2d51e3a9+dfsg/jquery.hotkeys.js 2014-04-07 17:07:28.655678149 -0400 +@@ -11,50 +11,44 @@ + */ + + (function(jQuery){ +- ++ + jQuery.hotkeys = { +- version: "0.8+", ++ version: "0.8", + + specialKeys: { + 8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause", + 20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home", +- 37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del", ++ 37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del", + 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", +- 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/", +- 112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8", ++ 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/", ++ 112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8", + 120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 188: ",", 190: ".", + 191: "/", 224: "meta" +- }, +- ++ }, ++ + shiftNums: { +- "`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&", +- "8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<", ++ "`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&", ++ "8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<", + ".": ">", "/": "?", "\\": "|" + } + }; + + function keyHandler( handleObj ) { +- +- var origHandler = handleObj.handler, +- //use namespace as keys so it works with event delegation as well +- //will also allow removing listeners of a specific key combination +- //and support data objects +- keys = (handleObj.namespace || "").toLowerCase().split(" "); +- keys = jQuery.map(keys, function(key) { return key.split("."); }); +- +- //no need to modify handler if no keys specified +- if (keys.length === 1 && (keys[0] === "" || keys[0] === "autocomplete")) { ++ // Only care when a possible input has been specified ++ if ( typeof handleObj.data !== "string" ) { + return; + } +- ++ ++ var origHandler = handleObj.handler, ++ keys = handleObj.data.toLowerCase().split(" "); ++ + handleObj.handler = function( event ) { + // Don't fire in text-accepting inputs that we didn't directly bind to +- // important to note that $.fn.prop is only available on jquery 1.6+ + if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) || +- event.target.type === "text" || $(event.target).prop('contenteditable') == 'true' )) { ++ event.target.type === "text" || $(event.target).prop('contenteditable') == 'true' )) { + return; + } +- ++ + // Keypress represents characters, not special keys + var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ], + character = String.fromCharCode( event.which ).toLowerCase(), +@@ -62,20 +56,20 @@ + + // check combinations (alt|ctrl|shift+anything) + if ( event.altKey && special !== "alt" ) { +- modif += "alt_"; ++ modif += "alt+"; + } + + if ( event.ctrlKey && special !== "ctrl" ) { +- modif += "ctrl_"; ++ modif += "ctrl+"; + } +- ++ + // TODO: Need to make sure this works consistently across platforms + if ( event.metaKey && !event.ctrlKey && special !== "meta" ) { +- modif += "meta_"; ++ modif += "meta+"; + } + + if ( event.shiftKey && special !== "shift" ) { +- modif += "shift_"; ++ modif += "shift+"; + } + + if ( special ) { +@@ -86,7 +80,7 @@ + possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true; + + // "$" can be triggered as "Shift+4" or "Shift+$" or just "$" +- if ( modif === "shift_" ) { ++ if ( modif === "shift+" ) { + possible[ jQuery.hotkeys.shiftNums[ character ] ] = true; + } + }

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libphonenumber

libphonenumber (7.1.0-5ubuntu1) yakkety; urgency=medium [ Ken VanDine ] * Sync from debian unstable * Remaining changes: - debian/patches/hash_as_diallable_char.patch -- Ken VanDine <ken.vandine@canonical.com> Wed, 21 Sep 2016 10:18:53 -0400

Modifications :
  1. Download patch .pc/hash_as_diallable_char.patch/cpp/test/phonenumbers/phonenumberutil_test.cc
  2. Download patch debian/patches/readdir_r-is-deprecated.patch

    --- 7.1.0-5/debian/patches/readdir_r-is-deprecated.patch 2016-09-13 21:13:45.000000000 +0000 +++ 7.1.0-5ubuntu1/debian/patches/readdir_r-is-deprecated.patch 2016-09-21 14:20:13.000000000 +0000 @@ -13,11 +13,11 @@ Origin: https://github.com/googlei18n/li tools/cpp/src/cpp-build/generate_geocoding_data.cc | 53 +++++++++------------- 3 files changed, 27 insertions(+), 35 deletions(-) -diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt -index 9a3adb0..4d95238 100644 ---- a/cpp/CMakeLists.txt -+++ b/cpp/CMakeLists.txt -@@ -82,14 +82,14 @@ if (${USE_ALTERNATE_FORMATS} STREQUAL "ON") +Index: libphonenumber-7.1.0-4ubuntu1/cpp/CMakeLists.txt +=================================================================== +--- libphonenumber-7.1.0-4ubuntu1.orig/cpp/CMakeLists.txt ++++ libphonenumber-7.1.0-4ubuntu1/cpp/CMakeLists.txt +@@ -82,14 +82,14 @@ if (${USE_ALTERNATE_FORMATS} STREQUAL "O endif () # Find all the required libraries and programs. @@ -35,10 +35,10 @@ index 9a3adb0..4d95238 100644 endif () include_directories (${Boost_INCLUDE_DIRS}) endif () -diff --git a/tools/cpp/CMakeLists.txt b/tools/cpp/CMakeLists.txt -index fafa846..1dcf285 100644 ---- a/tools/cpp/CMakeLists.txt -+++ b/tools/cpp/CMakeLists.txt +Index: libphonenumber-7.1.0-4ubuntu1/tools/cpp/CMakeLists.txt +=================================================================== +--- libphonenumber-7.1.0-4ubuntu1.orig/tools/cpp/CMakeLists.txt ++++ libphonenumber-7.1.0-4ubuntu1/tools/cpp/CMakeLists.txt @@ -38,6 +38,7 @@ endif () include_directories ("src") @@ -53,10 +53,10 @@ index fafa846..1dcf285 100644 add_executable (generate_geocoding_data_test ${TEST_SOURCES}) -target_link_libraries (generate_geocoding_data_test ${TEST_LIBS}) +target_link_libraries (generate_geocoding_data_test ${TEST_LIBS} ${Boost_LIBRARIES}) -diff --git a/tools/cpp/src/cpp-build/generate_geocoding_data.cc b/tools/cpp/src/cpp-build/generate_geocoding_data.cc -index 132a917..ec03298 100644 ---- a/tools/cpp/src/cpp-build/generate_geocoding_data.cc -+++ b/tools/cpp/src/cpp-build/generate_geocoding_data.cc +Index: libphonenumber-7.1.0-4ubuntu1/tools/cpp/src/cpp-build/generate_geocoding_data.cc +=================================================================== +--- libphonenumber-7.1.0-4ubuntu1.orig/tools/cpp/src/cpp-build/generate_geocoding_data.cc ++++ libphonenumber-7.1.0-4ubuntu1/tools/cpp/src/cpp-build/generate_geocoding_data.cc @@ -16,7 +16,6 @@ #include "cpp-build/generate_geocoding_data.h"
  3. Download patch cpp/test/phonenumbers/phonenumberutil_test.cc

    --- 7.1.0-5/cpp/test/phonenumbers/phonenumberutil_test.cc 2015-10-08 14:30:16.000000000 +0000 +++ 7.1.0-5ubuntu1/cpp/test/phonenumbers/phonenumberutil_test.cc 2016-09-24 03:38:33.000000000 +0000 @@ -2411,9 +2411,9 @@ TEST_F(PhoneNumberUtilTest, NormaliseStr } TEST_F(PhoneNumberUtilTest, NormaliseStripNonDiallableCharacters) { - string input_number("03*4-56&+a#234"); + string input_number("03*4-56&+1a#234"); NormalizeDiallableCharsOnly(&input_number); - static const string kExpectedOutput("03*456+234"); + static const string kExpectedOutput("03*456+1#234"); EXPECT_EQ(kExpectedOutput, input_number) << "Conversion did not correctly remove non-diallable characters"; }
  4. Download patch .pc/applied-patches

    --- 7.1.0-5/.pc/applied-patches 2016-09-24 03:38:32.712970128 +0000 +++ 7.1.0-5ubuntu1/.pc/applied-patches 2016-09-24 03:38:33.797000072 +0000 @@ -7,3 +7,4 @@ 0010-reproducible-build.patch gcc-6-ftbfs.patch readdir_r-is-deprecated.patch +hash_as_diallable_char.patch
  5. Download patch .pc/hash_as_diallable_char.patch/cpp/src/phonenumbers/phonenumberutil.cc
  6. Download patch debian/patches/series

    --- 7.1.0-5/debian/patches/series 2016-09-13 21:13:45.000000000 +0000 +++ 7.1.0-5ubuntu1/debian/patches/series 2016-09-21 14:18:27.000000000 +0000 @@ -7,3 +7,4 @@ 0010-reproducible-build.patch gcc-6-ftbfs.patch readdir_r-is-deprecated.patch +hash_as_diallable_char.patch
  7. Download patch debian/patches/hash_as_diallable_char.patch

    --- 7.1.0-5/debian/patches/hash_as_diallable_char.patch 1970-01-01 00:00:00.000000000 +0000 +++ 7.1.0-5ubuntu1/debian/patches/hash_as_diallable_char.patch 2016-09-08 17:56:08.000000000 +0000 @@ -0,0 +1,31 @@ +Description: Added hash as a diallable char +Forwarded: https://github.com/googlei18n/libphonenumber/pull/1312 +Author: Tiago Salem Herrmann <tiago.herrmann@canonical.com> +Index: libphonenumber-7.1.0-4ubuntu1/cpp/src/phonenumbers/phonenumberutil.cc +=================================================================== +--- libphonenumber-7.1.0-4ubuntu1.orig/cpp/src/phonenumbers/phonenumberutil.cc ++++ libphonenumber-7.1.0-4ubuntu1/cpp/src/phonenumbers/phonenumberutil.cc +@@ -288,6 +288,7 @@ class PhoneNumberRegExpsAndMappings { + void InitializeMapsAndSets() { + diallable_char_mappings_.insert(std::make_pair('+', '+')); + diallable_char_mappings_.insert(std::make_pair('*', '*')); ++ diallable_char_mappings_.insert(std::make_pair('#', '#')); + // Here we insert all punctuation symbols that we wish to respect when + // formatting alpha numbers, as they show the intended number groupings. + all_plus_number_grouping_symbols_.insert( +Index: libphonenumber-7.1.0-4ubuntu1/cpp/test/phonenumbers/phonenumberutil_test.cc +=================================================================== +--- libphonenumber-7.1.0-4ubuntu1.orig/cpp/test/phonenumbers/phonenumberutil_test.cc ++++ libphonenumber-7.1.0-4ubuntu1/cpp/test/phonenumbers/phonenumberutil_test.cc +@@ -2411,9 +2411,9 @@ TEST_F(PhoneNumberUtilTest, NormaliseStr + } + + TEST_F(PhoneNumberUtilTest, NormaliseStripNonDiallableCharacters) { +- string input_number("03*4-56&+a#234"); ++ string input_number("03*4-56&+1a#234"); + NormalizeDiallableCharsOnly(&input_number); +- static const string kExpectedOutput("03*456+234"); ++ static const string kExpectedOutput("03*456+1#234"); + EXPECT_EQ(kExpectedOutput, input_number) + << "Conversion did not correctly remove non-diallable characters"; + }
  8. Download patch cpp/src/phonenumbers/phonenumberutil.cc

    --- 7.1.0-5/cpp/src/phonenumbers/phonenumberutil.cc 2015-10-08 14:30:16.000000000 +0000 +++ 7.1.0-5ubuntu1/cpp/src/phonenumbers/phonenumberutil.cc 2016-09-24 03:38:33.000000000 +0000 @@ -288,6 +288,7 @@ class PhoneNumberRegExpsAndMappings { void InitializeMapsAndSets() { diallable_char_mappings_.insert(std::make_pair('+', '+')); diallable_char_mappings_.insert(std::make_pair('*', '*')); + diallable_char_mappings_.insert(std::make_pair('#', '#')); // Here we insert all punctuation symbols that we wish to respect when // formatting alpha numbers, as they show the intended number groupings. all_plus_number_grouping_symbols_.insert(

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libv8-3.14

libv8-3.14 (3.14.5.8-5ubuntu2) trusty; urgency=medium * 0099_powerpc_support.patch: Refresh to alow's current libv8-3.14. -- Adam Conrad <adconrad@ubuntu.com> Wed, 26 Mar 2014 23:44:56 -0600 libv8-3.14 (3.14.5.8-5ubuntu1) trusty; urgency=medium * 0099_powerpc_support.patch: Pull in Andrew Low's powerpc port. * debian/rules: Enable powerpc/ppc64/ppc64el for package builds. -- Adam Conrad <adconrad@ubuntu.com> Wed, 12 Feb 2014 10:26:54 -0700

Modifications :
  1. Download patch .pc/0099_powerpc_support.patch/test/mjsunit/d8-os.js

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/test/mjsunit/d8-os.js 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/test/mjsunit/d8-os.js 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,188 @@ +// Copyright 2009 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Test the OS module of d8. This test only makes sense with d8. It +// only does non-trivial work on Unix since os.system() is not currently +// implemented on Windows, and even if it were then many of the things +// we are calling would not be available. + +var TEST_DIR = "/tmp/d8-os-test-directory-" + ((Math.random() * (1<<30)) | 0); + + +function arg_error(str) { + try { + eval(str); + } catch (e) { + assertTrue(/rgument/.test(e), str); + } +} + + +function str_error(str) { + var e = new Object(); + e.toString = function() { throw new Error("foo bar"); } + try { + eval(str); + } catch (exception) { + assertTrue(/tring conversion/.test(exception), str); + } +} + + +if (this.os && os.system) { + // Ensure that we have a valid working directory. + os.chdir("/tmp"); + try { + // Delete the dir if it is lying around from last time. + os.system("ls", [TEST_DIR]); + os.system("rm", ["-r", TEST_DIR]); + } catch (e) { + } + os.mkdirp(TEST_DIR); + try { + // Check the chdir worked. + os.system('ls', [TEST_DIR]); + // Simple create dir. + os.mkdirp(TEST_DIR + "/dir"); + // Create dir in dir. + os.mkdirp(TEST_DIR + "/dir/foo"); + // Check that they are there. + os.system('ls', [TEST_DIR + '/dir/foo']); + // Check that we can detect when something is not there. + assertThrows("os.system('ls', [TEST_DIR + '/dir/bar']);", "dir not there"); + // Check that mkdirp makes intermediate directories. + os.mkdirp(TEST_DIR + "/dir2/foo"); + os.system("ls", [TEST_DIR + "/dir2/foo"]); + // Check that mkdirp doesn't mind if the dir is already there. + os.mkdirp(TEST_DIR + "/dir2/foo"); + os.mkdirp(TEST_DIR + "/dir2/foo/"); + // Check that mkdirp can cope with trailing / + os.mkdirp(TEST_DIR + "/dir3/"); + os.system("ls", [TEST_DIR + "/dir3"]); + // Check that we get an error if the name is taken by a file. + os.system("sh", ["-c", "echo foo > " + TEST_DIR + "/file1"]); + os.system("ls", [TEST_DIR + "/file1"]); + assertThrows("os.mkdirp(TEST_DIR + '/file1');", "mkdir over file1"); + assertThrows("os.mkdirp(TEST_DIR + '/file1/foo');", "mkdir over file2"); + assertThrows("os.mkdirp(TEST_DIR + '/file1/');", "mkdir over file3"); + assertThrows("os.mkdirp(TEST_DIR + '/file1/foo/');", "mkdir over file4"); + // Create a dir we cannot read. + os.mkdirp(TEST_DIR + "/dir4", 0); + // This test fails if you are root since root can read any dir. + assertThrows("os.chdir(TEST_DIR + '/dir4');", "chdir dir4 I"); + os.rmdir(TEST_DIR + "/dir4"); + assertThrows("os.chdir(TEST_DIR + '/dir4');", "chdir dir4 II"); + + // Set umask. This changes the umask for the whole process and is + // the reason why the test cannot be run multi-threaded. + var old_umask = os.umask(0777); + // Create a dir we cannot read. + os.mkdirp(TEST_DIR + "/dir5"); + // This test fails if you are root since root can read any dir. + assertThrows("os.chdir(TEST_DIR + '/dir5');", "cd dir5 I"); + os.rmdir(TEST_DIR + "/dir5"); + assertThrows("os.chdir(TEST_DIR + '/dir5');", "chdir dir5 II"); + os.umask(old_umask); + + os.mkdirp(TEST_DIR + "/hest/fisk/../fisk/ged"); + os.system("ls", [TEST_DIR + "/hest/fisk/ged"]); + + os.setenv("FOO", "bar"); + var environment = os.system("printenv"); + assertTrue(/FOO=bar/.test(environment)); + + // Check we time out. + var have_sleep = true; + var have_echo = true; + try { + os.system("ls", ["/bin/sleep"]); + } catch (e) { + have_sleep = false; + } + try { + os.system("ls", ["/bin/echo"]); + } catch (e) { + have_echo = false; + } + if (have_sleep) { + assertThrows("os.system('sleep', ['2000'], 20);", "sleep 1"); + + // Check we time out with total time. + assertThrows("os.system('sleep', ['2000'], -1, 20);", "sleep 2"); + + // Check that -1 means no timeout. + os.system('sleep', ['0.1'], -1, -1); + + } + + // Check that we don't fill up the process table with zombies. + // Disabled because it's too slow. + if (have_echo) { + //for (var i = 0; i < 65536; i++) { + assertEquals("baz\n", os.system("echo", ["baz"])); + //} + } + + // Too few args. + arg_error("os.umask();"); + arg_error("os.system();"); + arg_error("os.mkdirp();"); + arg_error("os.chdir();"); + arg_error("os.setenv();"); + arg_error("os.rmdir();"); + + // Too many args. + arg_error("os.setenv('FOO=bar');"); + arg_error("os.umask(0, 0);"); + arg_error("os.system('ls', [], -1, -1, -1);"); + arg_error("os.mkdirp('foo', 0, 0)"); + arg_error("os.chdir('foo', 'bar')"); + arg_error("os.rmdir('foo', 'bar');"); + + // Wrong kind of args. + arg_error("os.umask([]);"); + arg_error("os.system('ls', 'foo');"); + arg_error("os.system('ls', 123);"); + arg_error("os.system('ls', [], 'foo');"); + arg_error("os.system('ls', [], -1, 'foo');"); + arg_error("os.mkdirp('foo', 'bar');"); + + // Test broken toString(). + str_error("os.system(e);"); + str_error("os.system('ls', [e]);"); + str_error("os.system('ls', ['.', e]);"); + str_error("os.system('ls', [e, '.']);"); + str_error("os.mkdirp(e);"); + str_error("os.setenv(e, 'goo');"); + str_error("os.setenv('goo', e);"); + str_error("os.chdir(e);"); + str_error("os.rmdir(e);"); + + } finally { + os.system("rm", ["-r", TEST_DIR]); + } +}
  2. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-threads.cc
  3. Download patch src/codegen.cc

    --- 3.14.5.8-5/src/codegen.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/codegen.cc 2014-03-27 07:37:40.000000000 +0000 @@ -200,7 +200,7 @@ void ArgumentsAccessStub::Generate(Macro int CEntryStub::MinorKey() { int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; ASSERT(result_size_ == 1 || result_size_ == 2); -#ifdef _WIN64 +#if defined(_WIN64) || defined(V8_TARGET_ARCH_PPC64) return result | ((result_size_ == 1) ? 0 : 2); #else return result;
  4. Download patch .pc/0099_powerpc_support.patch/tools/utils.py

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/tools/utils.py 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/tools/utils.py 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,98 @@ +# Copyright 2008 the V8 project authors. All rights reserved. +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Google Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +import platform +import re + + +# Reads a .list file into an array of strings +def ReadLinesFrom(name): + list = [] + for line in open(name): + if '#' in line: + line = line[:line.find('#')] + line = line.strip() + if len(line) == 0: + continue + list.append(line) + return list + + +def GuessOS(): + id = platform.system() + if id == 'Linux': + return 'linux' + elif id == 'Darwin': + return 'macos' + elif id.find('CYGWIN') >= 0: + return 'cygwin' + elif id == 'Windows' or id == 'Microsoft': + # On Windows Vista platform.system() can return 'Microsoft' with some + # versions of Python, see http://bugs.python.org/issue1082 + return 'win32' + elif id == 'FreeBSD': + return 'freebsd' + elif id == 'OpenBSD': + return 'openbsd' + elif id == 'SunOS': + return 'solaris' + elif id == 'NetBSD': + return 'netbsd' + else: + return None + + +# This will default to building the 32 bit VM even on machines that are capable +# of running the 64 bit VM. Use the scons option --arch=x64 to force it to build +# the 64 bit VM. +def GuessArchitecture(): + id = platform.machine() + id = id.lower() # Windows 7 capitalizes 'AMD64'. + if id.startswith('arm'): + return 'arm' + elif (not id) or (not re.match('(x|i[3-6])86$', id) is None): + return 'ia32' + elif id == 'i86pc': + return 'ia32' + elif id == 'x86_64': + return 'ia32' + elif id == 'amd64': + return 'ia32' + else: + return None + + +def GuessWordsize(): + if '64' in platform.machine(): + return '64' + else: + return '32' + + +def IsWindows(): + return GuessOS() == 'win32'
  5. Download patch README.md

    --- 3.14.5.8-5/README.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/README.md 2014-03-27 07:37:40.000000000 +0000 @@ -0,0 +1,10 @@ +v8ppc +===== + +Port of Google V8 javascript engine to PowerPC - PowerLinux and AIX. + +This branch of the code (libv8-3.14) is intended to match the 3.14.5.8 +level of V8 that is used by the libv8 library built as part of Ubuntu + +http://packages.ubuntu.com/source/trusty/libv8-3.14 +
  6. Download patch .pc/0099_powerpc_support.patch/src/version.cc

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/version.cc 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/version.cc 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,116 @@ +// Copyright 2012 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#include "v8.h" + +#include "version.h" + +// These macros define the version number for the current version. +// NOTE these macros are used by the SCons build script so their names +// cannot be changed without changing the SCons build script. +#define MAJOR_VERSION 3 +#define MINOR_VERSION 14 +#define BUILD_NUMBER 5 +#define PATCH_LEVEL 8 +// Use 1 for candidates and 0 otherwise. +// (Boolean macro values are not supported by all preprocessors.) +#define IS_CANDIDATE_VERSION 0 + +// Define SONAME to have the SCons build the put a specific SONAME into the +// shared library instead the generic SONAME generated from the V8 version +// number. This define is mainly used by the SCons build script. +#define SONAME "" + +#if IS_CANDIDATE_VERSION +#define CANDIDATE_STRING " (candidate)" +#else +#define CANDIDATE_STRING "" +#endif + +#define SX(x) #x +#define S(x) SX(x) + +#if PATCH_LEVEL > 0 +#define VERSION_STRING \ + S(MAJOR_VERSION) "." S(MINOR_VERSION) "." S(BUILD_NUMBER) "." \ + S(PATCH_LEVEL) CANDIDATE_STRING +#else +#define VERSION_STRING \ + S(MAJOR_VERSION) "." S(MINOR_VERSION) "." S(BUILD_NUMBER) \ + CANDIDATE_STRING +#endif + +namespace v8 { +namespace internal { + +int Version::major_ = MAJOR_VERSION; +int Version::minor_ = MINOR_VERSION; +int Version::build_ = BUILD_NUMBER; +int Version::patch_ = PATCH_LEVEL; +bool Version::candidate_ = (IS_CANDIDATE_VERSION != 0); +const char* Version::soname_ = SONAME; +const char* Version::version_string_ = VERSION_STRING; + +// Calculate the V8 version string. +void Version::GetString(Vector<char> str) { + const char* candidate = IsCandidate() ? " (candidate)" : ""; +#ifdef USE_SIMULATOR + const char* is_simulator = " SIMULATOR"; +#else + const char* is_simulator = ""; +#endif // USE_SIMULATOR + if (GetPatch() > 0) { + OS::SNPrintF(str, "%d.%d.%d.%d%s%s", + GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate, + is_simulator); + } else { + OS::SNPrintF(str, "%d.%d.%d%s%s", + GetMajor(), GetMinor(), GetBuild(), candidate, + is_simulator); + } +} + + +// Calculate the SONAME for the V8 shared library. +void Version::GetSONAME(Vector<char> str) { + if (soname_ == NULL || *soname_ == '\0') { + // Generate generic SONAME if no specific SONAME is defined. + const char* candidate = IsCandidate() ? "-candidate" : ""; + if (GetPatch() > 0) { + OS::SNPrintF(str, "libv8-%d.%d.%d.%d%s.so", + GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate); + } else { + OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", + GetMajor(), GetMinor(), GetBuild(), candidate); + } + } else { + // Use specific SONAME. + OS::SNPrintF(str, "%s", soname_); + } +} + +} } // namespace v8::internal
  7. Download patch .pc/0099_powerpc_support.patch/src/objects-inl.h
  8. Download patch src/disassembler.cc

    --- 3.14.5.8-5/src/disassembler.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/disassembler.cc 2014-03-27 07:37:40.000000000 +0000 @@ -158,7 +158,11 @@ static int DecodeIt(FILE* f, "%08" V8PRIxPTR " jump table entry %4" V8PRIdPTR, ptr, ptr - begin); +#if V8_TARGET_ARCH_PPC64 + pc += 8; +#else pc += 4; +#endif } else { decode_buffer[0] = '\0'; pc += d.InstructionDecode(decode_buffer, pc);
  9. Download patch .pc/0099_powerpc_support.patch/tools/run-tests.py
  10. Download patch .pc/0099_powerpc_support.patch/src/platform-linux.cc
  11. Download patch .pc/0099_powerpc_support.patch/src/builtins.cc
  12. Download patch src/checks.h

    --- 3.14.5.8-5/src/checks.h 2014-03-27 07:37:39.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/checks.h 2014-03-27 07:37:40.000000000 +0000 @@ -292,4 +292,18 @@ extern bool FLAG_enable_slow_asserts; #define EXTRA_CHECK(condition) ((void) 0) #endif +// PENGUIN: Extra checks for PPC PORT +// - PPCPORT_UNIMPLEMENTED: for unimplemented features +// - PPCPORT_CHECK: for development phase +// - PPCPORT_UNSAFE_IMPLEMENTATION: unsafe implementation +#ifdef ENABLE_EXTRA_PPCCHECKS +#define PPCPORT_CHECK(condition) CHECK(condition) +#define PPCPORT_UNIMPLEMENTED() UNIMPLEMENTED() +#define PPCPORT_UNSAFE_IMPLEMENTATION() ((void)0) +#else +#define PPCPORT_CHECK(condition) ((void) 0) +#define PPCPORT_UNIMPLEMENTED() ((void) 0) +#define PPCPORT_UNSAFE_IMPLEMENTATION() ((void)0) +#endif + #endif // V8_CHECKS_H_
  13. Download patch .pc/0099_powerpc_support.patch/src/disassembler.cc
  14. Download patch .pc/0099_powerpc_support.patch/Makefile
  15. Download patch .pc/0099_powerpc_support.patch/src/d8.gyp

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/d8.gyp 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/d8.gyp 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,113 @@ +# Copyright 2012 the V8 project authors. All rights reserved. +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Google Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +{ + 'includes': ['../build/common.gypi'], + 'variables': { + 'console%': '', + }, + 'targets': [ + { + 'target_name': 'd8', + 'type': 'executable', + 'dependencies': [ + '../tools/gyp/v8.gyp:v8', + ], + # Generated source files need this explicitly: + 'include_dirs+': [ + '../src', + ], + 'sources': [ + 'd8.cc', + ], + 'conditions': [ + [ 'component!="shared_library"', { + 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], + 'conditions': [ + [ 'want_separate_host_toolset==1', { + 'dependencies': [ + 'd8_js2c#host', + ], + }, { + 'dependencies': [ + 'd8_js2c', + ], + }], + [ 'console=="readline"', { + 'libraries': [ '-lreadline', ], + 'sources': [ 'd8-readline.cc' ], + }], + ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ + or OS=="openbsd" or OS=="solaris" or OS=="android")', { + 'sources': [ 'd8-posix.cc', ] + }], + [ 'OS=="win"', { + 'sources': [ 'd8-windows.cc', ] + }], + ], + }], + ], + }, + { + 'target_name': 'd8_js2c', + 'type': 'none', + 'variables': { + 'js_files': [ + 'd8.js', + 'macros.py', + ], + }, + 'conditions': [ + [ 'want_separate_host_toolset==1', { + 'toolsets': ['host'], + }, { + 'toolsets': ['target'], + }] + ], + 'actions': [ + { + 'action_name': 'd8_js2c', + 'inputs': [ + '../tools/js2c.py', + '<@(js_files)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', + ], + 'action': [ + 'python', + '../tools/js2c.py', + '<@(_outputs)', + 'D8', + 'off', # compress startup data + '<@(js_files)' + ], + }, + ], + } + ], +}
  16. Download patch debian/rules

    --- 3.14.5.8-5/debian/rules 2013-07-06 14:15:31.000000000 +0000 +++ 3.14.5.8-5ubuntu2/debian/rules 2014-02-12 17:31:04.000000000 +0000 @@ -31,7 +31,7 @@ DEB_UPSTREAM_TARBALL_BASENAME = 6b10fef DEB_UPSTREAM_TARBALL_MD5 = be049128a44adf26f4dfb7d1ab55acfd # Supported archs -ARCHS = i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +ARCHS = i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el # allow parallel builds DEB_BUILD_PARALLEL=1 @@ -50,6 +50,8 @@ v8arch := $(or $(v8arch),$(if $(filter k v8arch := $(or $(v8arch),$(if $(filter armel,$(DEB_HOST_ARCH)),arm)) v8arch := $(or $(v8arch),$(if $(filter armhf,$(DEB_HOST_ARCH)),arm)) v8arch := $(or $(v8arch),$(if $(filter mipsel,$(DEB_HOST_ARCH)),mipsel)) +v8arch := $(or $(v8arch),$(if $(filter powerpc,$(DEB_HOST_ARCH)),ppc)) +v8arch := $(or $(v8arch),$(if $(filter ppc64el,$(DEB_HOST_ARCH)),ppc64)) v8arch := $(or $(v8arch),$(DEB_HOST_ARCH)) v8os := $(or $(v8os),$(if $(filter linux,$(DEB_HOST_ARCH_OS)),linux)) v8os := $(or $(v8os),$(if $(filter kfreebsd,$(DEB_HOST_ARCH_OS)),freebsd))
  17. Download patch .pc/0099_powerpc_support.patch/src/isolate.cc
  18. Download patch src/frames-inl.h

    --- 3.14.5.8-5/src/frames-inl.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/frames-inl.h 2014-03-27 07:37:40.000000000 +0000 @@ -38,6 +38,8 @@ #include "x64/frames-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/frames-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/frames-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/frames-mips.h" #else
  19. Download patch src/flag-definitions.h

    --- 3.14.5.8-5/src/flag-definitions.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/flag-definitions.h 2014-03-27 07:37:40.000000000 +0000 @@ -442,6 +442,7 @@ DEFINE_bool(trace_parse, false, "trace p // simulator-arm.cc and simulator-mips.cc DEFINE_bool(trace_sim, false, "Trace simulator execution") +DEFINE_bool(trace_sim_stubs, false, "Trace simulator execution w/ stub markers") DEFINE_bool(check_icache, false, "Check icache flushes in ARM and MIPS simulator") DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") @@ -449,6 +450,8 @@ DEFINE_int(sim_stack_alignment, 8, "Stack alingment in bytes in simulator (4 or 8, 8 is default)") // isolate.cc +DEFINE_bool(abort_on_uncaught_exception, false, + "abort program (dump core) when an uncaught exception is thrown") DEFINE_bool(trace_exception, false, "print stack trace when throwing exceptions") DEFINE_bool(preallocate_message_memory, false,
  20. Download patch .pc/0099_powerpc_support.patch/src/profile-generator.cc
  21. Download patch .pc/0099_powerpc_support.patch/src/conversions-inl.h
  22. Download patch .pc/0099_powerpc_support.patch/src/objects.cc
  23. Download patch .pc/0099_powerpc_support.patch/src/assembler.h
  24. Download patch .pc/0099_powerpc_support.patch/src/codegen.cc
  25. Download patch .pc/0099_powerpc_support.patch/test/mjsunit/mjsunit.status

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/test/mjsunit/mjsunit.status 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/test/mjsunit/mjsunit.status 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,181 @@ +# Copyright 2012 the V8 project authors. All rights reserved. +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Google Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +prefix mjsunit + +# All tests in the bug directory are expected to fail. +bugs/*: FAIL + +############################################################################## +# Fails. +regress/regress-1119: FAIL + +# Issue 1719: Slow to collect arrays over several contexts. +regress/regress-524: SKIP +# When that bug is fixed, revert the expectation to: +# Skip long running test in debug and allow it to timeout in release mode. +# regress/regress-524: (PASS || TIMEOUT), SKIP if $mode == debug + +############################################################################## +# Too slow in debug mode with --stress-opt +compiler/regress-stacktrace-methods: PASS, SKIP if $mode == debug +compiler/regress-funcaller: PASS, SKIP if $mode == debug +regress/regress-create-exception: PASS, SKIP if $mode == debug + +############################################################################## +# These use a built-in that's only present in debug mode. They take +# too long to run in debug mode on ARM and MIPS. +fuzz-natives-part*: PASS, SKIP if ($mode == release || $arch == arm || $arch == android_arm || $arch == mipsel) + +big-object-literal: PASS, SKIP if ($arch == arm || $arch == android_arm) + +# Issue 488: this test sometimes times out. +array-constructor: PASS || TIMEOUT + +# Very slow on ARM and MIPS, contains no architecture dependent code. +unicode-case-overoptimization: PASS, TIMEOUT if ($arch == arm || $arch == android_arm || $arch == mipsel) + +############################################################################## +# This test sets the umask on a per-process basis and hence cannot be +# used in multi-threaded runs. +# On android there is no /tmp directory. +d8-os: PASS, SKIP if ($isolates || $arch == android_arm || $arch == android_ia32) +tools/tickprocessor: PASS, SKIP if ($arch == android_arm || $arch == android_ia32) + +############################################################################## +[ $arch == arm || $arch == android_arm ] + +# Slow tests which times out in debug mode. +try: PASS, SKIP if $mode == debug +debug-scripts-request: PASS, SKIP if $mode == debug +array-constructor: PASS, SKIP if $mode == debug +regress/regress-1122: PASS, SKIP if ($mode == debug && $arch == android_arm) + +# Flaky test that can hit compilation-time stack overflow in debug mode. +unicode-test: PASS, (PASS || FAIL) if $mode == debug + +# Times out often in release mode on ARM. +compiler/regress-stacktrace-methods: PASS, PASS || TIMEOUT if $mode == release +array-splice: PASS || TIMEOUT + +# Long running test. +string-indexof-2: PASS || TIMEOUT +mirror-object: PASS || TIMEOUT + +# BUG(3251035): Timeouts in long looping crankshaft optimization +# tests. Skipping because having them timeout takes too long on the +# buildbot. +compiler/alloc-number: SKIP +compiler/array-length: SKIP +compiler/assignment-deopt: SKIP +compiler/deopt-args: SKIP +compiler/inline-compare: SKIP +compiler/inline-global-access: SKIP +compiler/optimized-function-calls: SKIP +compiler/pic: SKIP +compiler/property-calls: SKIP +compiler/recursive-deopt: SKIP +compiler/regress-4: SKIP +compiler/regress-funcaller: SKIP +compiler/regress-rep-change: SKIP +compiler/regress-arguments: SKIP +compiler/regress-funarguments: SKIP +compiler/regress-3249650: SKIP +compiler/simple-deopt: SKIP +regress/regress-490: SKIP +regress/regress-634: SKIP +regress/regress-create-exception: SKIP +regress/regress-3218915: SKIP +regress/regress-3247124: SKIP + +# Requires bigger stack size in the Genesis and if stack size is increased, +# the test requires too much time to run. However, the problem test covers +# should be platform-independent. +regress/regress-1132: SKIP + +# Stack manipulations in LiveEdit is not implemented for this arch. +debug-liveedit-check-stack: SKIP +debug-liveedit-stack-padding: SKIP +debug-liveedit-restart-frame: SKIP +debug-liveedit-double-call: SKIP + +# Currently always deopt on minus zero +math-floor-of-div-minus-zero: SKIP + +############################################################################## +[ $arch == mipsel ] + +# Slow tests which times out in debug mode. +try: PASS, SKIP if $mode == debug +debug-scripts-request: PASS, SKIP if $mode == debug +array-constructor: PASS, SKIP if $mode == debug + +# Times out often in release mode on MIPS. +compiler/regress-stacktrace-methods: PASS, PASS || TIMEOUT if $mode == release +array-splice: PASS || TIMEOUT + +# Long running test. +mirror-object: PASS || TIMEOUT +string-indexof-2: PASS || TIMEOUT + +# BUG(3251035): Timeouts in long looping crankshaft optimization +# tests. Skipping because having them timeout takes too long on the +# buildbot. +compiler/alloc-number: SKIP +compiler/array-length: SKIP +compiler/assignment-deopt: SKIP +compiler/deopt-args: SKIP +compiler/inline-compare: SKIP +compiler/inline-global-access: SKIP +compiler/optimized-function-calls: SKIP +compiler/pic: SKIP +compiler/property-calls: SKIP +compiler/recursive-deopt: SKIP +compiler/regress-4: SKIP +compiler/regress-funcaller: SKIP +compiler/regress-rep-change: SKIP +compiler/regress-arguments: SKIP +compiler/regress-funarguments: SKIP +compiler/regress-3249650: SKIP +compiler/simple-deopt: SKIP +regress/regress-490: SKIP +regress/regress-634: SKIP +regress/regress-create-exception: SKIP +regress/regress-3218915: SKIP +regress/regress-3247124: SKIP + +# Requires bigger stack size in the Genesis and if stack size is increased, +# the test requires too much time to run. However, the problem test covers +# should be platform-independent. +regress/regress-1132: SKIP + +# Stack manipulations in LiveEdit is not implemented for this arch. +debug-liveedit-check-stack: SKIP +debug-liveedit-stack-padding: SKIP +debug-liveedit-restart-frame: SKIP +debug-liveedit-double-call: SKIP +
  26. Download patch debian/control

    --- 3.14.5.8-5/debian/control 2013-07-22 08:30:43.000000000 +0000 +++ 3.14.5.8-5ubuntu2/debian/control 2014-02-12 17:27:13.000000000 +0000 @@ -1,6 +1,7 @@ Source: libv8-3.14 Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: cdbs, @@ -16,7 +17,7 @@ Vcs-Git: git://anonscm.debian.org/collab Package: libv8-dev Section: libdevel -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Conflicts: libv8-legacy-dev, libv8-3.14-dev Replaces: libv8-legacy-dev, libv8-3.14-dev @@ -28,7 +29,7 @@ Description: V8 JavaScript engine - deve Package: libv8-3.14-dev Section: libdevel -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Provides: libv8-legacy-dev, libv8-dev Conflicts: libv8-dev @@ -40,7 +41,7 @@ Description: V8 JavaScript engine - deve This package provide development headers for V8 3.14 branch. Package: libv8-3.14.5 -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: ${shlibs:Depends}, ${misc:Depends} Description: V8 JavaScript engine - runtime library V8 is a high performance JavaScript engine written in C++. It is used @@ -51,7 +52,7 @@ Description: V8 JavaScript engine - runt Package: libv8-3.14-dbg Priority: extra Section: debug -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Description: V8 JavaScript engine - debugging symbols V8 is a high performance JavaScript engine written in C++. It is used
  27. Download patch .pc/0099_powerpc_support.patch/src/isolate.h
  28. Download patch src/codegen.h

    --- 3.14.5.8-5/src/codegen.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/codegen.h 2014-03-27 07:37:40.000000000 +0000 @@ -75,6 +75,8 @@ enum TypeofState { INSIDE_TYPEOF, NOT_IN #include "x64/codegen-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/codegen-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/codegen-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/codegen-mips.h" #else
  29. Download patch src/assembler.cc

    --- 3.14.5.8-5/src/assembler.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/assembler.cc 2014-03-27 07:37:40.000000000 +0000 @@ -61,6 +61,8 @@ #include "x64/assembler-x64-inl.h" #elif V8_TARGET_ARCH_ARM #include "arm/assembler-arm-inl.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/assembler-ppc-inl.h" #elif V8_TARGET_ARCH_MIPS #include "mips/assembler-mips-inl.h" #else @@ -75,6 +77,8 @@ #include "x64/regexp-macro-assembler-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/regexp-macro-assembler-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/regexp-macro-assembler-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/regexp-macro-assembler-mips.h" #else // Unknown architecture. @@ -1064,6 +1068,8 @@ ExternalReference ExternalReference::re_ function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); #elif V8_TARGET_ARCH_ARM function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); +#elif V8_TARGET_ARCH_PPC + function = FUNCTION_ADDR(RegExpMacroAssemblerPPC::CheckStackGuardState); #elif V8_TARGET_ARCH_MIPS function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); #else @@ -1221,6 +1227,21 @@ double power_double_double(double x, dou } if (x == 2.0) { + int y_int = static_cast<int>(y); + if (y == y_int) return ldexp(1.0, y_int); + } +#elif defined(_AIX) + // AIX has a custom implementation for pow. This handles certain + // special cases that are different. + if ((x == 0.0 || isinf(x)) && y != 0.0 && isfinite(y)) { + double f; + double result = ((x == 0.0) ^ (y > 0)) ? V8_INFINITY : 0; + /* retain sign if odd integer exponent */ + return ((modf(y, &f) == 0.0) && (static_cast<int64_t>(y) & 1)) ? + copysign(result, x) : result; + } + + if (x == 2.0) { int y_int = static_cast<int>(y); if (y == y_int) return ldexp(1.0, y_int); }
  30. Download patch src/heap.cc

    --- 3.14.5.8-5/src/heap.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/heap.cc 2014-03-27 07:37:40.000000000 +0000 @@ -50,6 +50,10 @@ #include "v8threads.h" #include "v8utils.h" #include "vm-state-inl.h" +#if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP +#include "regexp-macro-assembler.h" +#include "ppc/regexp-macro-assembler-ppc.h" +#endif #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP #include "regexp-macro-assembler.h" #include "arm/regexp-macro-assembler-arm.h"
  31. Download patch .pc/0099_powerpc_support.patch/.gitignore

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/.gitignore 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,52 @@ +*.a +*.exe +*.idb +*.lib +*.log +*.map +*.mk +*.ncb +*.pdb +*.pyc +*.scons* +*.sln +*.so +*.suo +*.user +*.vcproj +*.xcodeproj +#*# +*~ +.cpplint-cache +d8 +d8_g +shell +shell_g +/build/Debug +/build/gyp +/build/Release +/obj +/out +/test/cctest/cctest.status2 +/test/es5conform/data +/test/message/message.status2 +/test/mjsunit/mjsunit.status2 +/test/mozilla/CHECKED_OUT_VERSION +/test/mozilla/data +/test/mozilla/downloaded_* +/test/mozilla/mozilla.status2 +/test/preparser/preparser.status2 +/test/sputnik/sputniktests +/test/test262/data +/test/test262/test262-* +/test/test262/test262.status2 +/third_party +/tools/jsfunfuzz +/tools/jsfunfuzz.zip +/tools/oom_dump/oom_dump +/tools/oom_dump/oom_dump.o +/tools/visual_studio/Debug +/tools/visual_studio/Release +/xcodebuild +TAGS +*.Makefile
  32. Download patch src/isolate.h

    --- 3.14.5.8-5/src/isolate.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/isolate.h 2014-03-27 07:37:40.000000000 +0000 @@ -94,7 +94,9 @@ class Debugger; class DebuggerAgent; #endif -#if !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ +#if defined(NATIVE_SIMULATION) || \ + !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ + !defined(__PPC__) && defined(V8_TARGET_ARCH_PPC) || \ !defined(__mips__) && defined(V8_TARGET_ARCH_MIPS) class Redirection; class Simulator; @@ -256,7 +258,8 @@ class ThreadLocalTop BASE_EMBEDDED { Address handler_; // try-blocks are chained through the stack #ifdef USE_SIMULATOR -#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) +#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_PPC) || \ + defined(V8_TARGET_ARCH_MIPS) Simulator* simulator_; #endif #endif // USE_SIMULATOR @@ -374,7 +377,9 @@ class Isolate { thread_id_(thread_id), stack_limit_(0), thread_state_(NULL), -#if !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ +#if defined(NATIVE_SIMULATION) || \ + !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ + !defined(__PPC__) && defined(V8_TARGET_ARCH_PPC) || \ !defined(__mips__) && defined(V8_TARGET_ARCH_MIPS) simulator_(NULL), #endif @@ -387,7 +392,9 @@ class Isolate { ThreadState* thread_state() const { return thread_state_; } void set_thread_state(ThreadState* value) { thread_state_ = value; } -#if !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ +#if defined(NATIVE_SIMULATION) || \ + !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ + !defined(__PPC__) && defined(V8_TARGET_ARCH_PPC) || \ !defined(__mips__) && defined(V8_TARGET_ARCH_MIPS) Simulator* simulator() const { return simulator_; } void set_simulator(Simulator* simulator) { @@ -405,7 +412,9 @@ class Isolate { uintptr_t stack_limit_; ThreadState* thread_state_; -#if !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ +#if defined(NATIVE_SIMULATION) || \ + !defined(__arm__) && defined(V8_TARGET_ARCH_ARM) || \ + !defined(__PPC__) && defined(V8_TARGET_ARCH_PPC) || \ !defined(__mips__) && defined(V8_TARGET_ARCH_MIPS) Simulator* simulator_; #endif @@ -969,7 +978,9 @@ class Isolate { int* code_kind_statistics() { return code_kind_statistics_; } #endif -#if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ +#if defined(NATIVE_SIMULATION) || \ + defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ + defined(V8_TARGET_ARCH_PPC) && !defined(__PPC__) || \ defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) bool simulator_initialized() { return simulator_initialized_; } void set_simulator_initialized(bool initialized) { @@ -1249,7 +1260,9 @@ class Isolate { // Time stamp at initialization. double time_millis_at_init_; -#if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ +#if defined(NATIVE_SIMULATION) || \ + defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ + defined(V8_TARGET_ARCH_PPC) && !defined(__PPC__) || \ defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) bool simulator_initialized_; HashMap* simulator_i_cache_;
  33. Download patch src/atomicops.h

    --- 3.14.5.8-5/src/atomicops.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/atomicops.h 2014-03-27 07:37:40.000000000 +0000 @@ -69,7 +69,8 @@ typedef intptr_t Atomic64; // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or // Atomic64 routines below, depending on your architecture. -#if defined(__OpenBSD__) && defined(__i386__) +#if !defined(V8_HOST_ARCH_64_BIT) && \ + ((defined(__OpenBSD__) && defined(__i386__)) || defined(_AIX)) typedef Atomic32 AtomicWord; #else typedef intptr_t AtomicWord; @@ -162,6 +163,8 @@ Atomic64 Release_Load(volatile const Ato #include "atomicops_internals_x86_gcc.h" #elif defined(__GNUC__) && defined(V8_HOST_ARCH_ARM) #include "atomicops_internals_arm_gcc.h" +#elif defined(__GNUC__) && defined(V8_HOST_ARCH_PPC) +#include "atomicops_internals_ppc_gcc.h" #elif defined(__GNUC__) && defined(V8_HOST_ARCH_MIPS) #include "atomicops_internals_mips_gcc.h" #else
  34. Download patch .pc/0099_powerpc_support.patch/tools/gyp/v8.gyp
  35. Download patch src/conversions-inl.h

    --- 3.14.5.8-5/src/conversions-inl.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/conversions-inl.h 2014-03-27 07:37:40.000000000 +0000 @@ -75,7 +75,11 @@ inline unsigned int FastD2UI(double x) { if (x < k2Pow52) { x += k2Pow52; uint32_t result; +#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN Address mantissa_ptr = reinterpret_cast<Address>(&x); +#else + Address mantissa_ptr = reinterpret_cast<Address>(&x) + kIntSize; +#endif // Copy least significant 32 bits of mantissa. memcpy(&result, mantissa_ptr, sizeof(result)); return negative ? ~result + 1 : result;
  36. Download patch debian/control.in

    --- 3.14.5.8-5/debian/control.in 2013-12-19 23:27:20.000000000 +0000 +++ 3.14.5.8-5ubuntu2/debian/control.in 2014-02-13 00:40:44.000000000 +0000 @@ -13,7 +13,7 @@ Vcs-Git: git://anonscm.debian.org/collab Package: libv8-dev Section: libdevel -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Conflicts: libv8-legacy-dev, libv8-3.14-dev Replaces: libv8-legacy-dev, libv8-3.14-dev @@ -25,7 +25,7 @@ Description: V8 JavaScript engine - deve Package: libv8-3.14-dev Section: libdevel -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Provides: libv8-legacy-dev, libv8-dev Conflicts: libv8-dev @@ -37,7 +37,7 @@ Description: V8 JavaScript engine - deve This package provide development headers for V8 3.14 branch. Package: libv8-3.14.5 -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: ${shlibs:Depends}, ${misc:Depends} Description: V8 JavaScript engine - runtime library V8 is a high performance JavaScript engine written in C++. It is used @@ -48,7 +48,7 @@ Description: V8 JavaScript engine - runt Package: libv8-3.14-dbg Priority: extra Section: debug -Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel +Architecture: i386 kfreebsd-i386 amd64 kfreebsd-amd64 armel armhf mipsel powerpc ppc64 ppc64el Depends: libv8-3.14.5 (= ${binary:Version}), ${misc:Depends} Description: V8 JavaScript engine - debugging symbols V8 is a high performance JavaScript engine written in C++. It is used
  37. Download patch .pc/applied-patches

    --- 3.14.5.8-5/.pc/applied-patches 2014-03-27 07:37:39.465640869 +0000 +++ 3.14.5.8-5ubuntu2/.pc/applied-patches 2014-03-27 07:37:40.757674695 +0000 @@ -4,3 +4,4 @@ 0012_loongson_force_cache_flush.patch 0013_gcc_48_compat.patch 0014_cve_2013_6639_6640.patch +0099_powerpc_support.patch
  38. Download patch build/common.gypi

    --- 3.14.5.8-5/build/common.gypi 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/build/common.gypi 2014-03-27 07:37:40.000000000 +0000 @@ -70,9 +70,13 @@ 'v8_enable_disassembler%': 0, + 'v8_native_sim%': 'false', + # Enable extra checks in API functions and other strategic places. 'v8_enable_extra_checks%': 1, + 'v8_enable_extra_ppcchecks%': 0, + 'v8_enable_gdbjit%': 0, 'v8_object_print%': 0, @@ -117,6 +121,9 @@ ['v8_enable_extra_checks==1', { 'defines': ['ENABLE_EXTRA_CHECKS',], }], + ['v8_enable_extra_ppcchecks==1', { + 'defines': ['ENABLE_EXTRA_PPCCHECKS',], + }], ['v8_enable_gdbjit==1', { 'defines': ['ENABLE_GDB_JIT_INTERFACE',], }], @@ -129,6 +136,12 @@ ['v8_interpreted_regexp==1', { 'defines': ['V8_INTERPRETED_REGEXP',], }], + ['v8_native_sim=="true"', { + 'defines': [ + 'NATIVE_SIMULATION', + 'USE_SIMULATOR', + ], + }], ['v8_target_arch=="arm"', { 'defines': [ 'V8_TARGET_ARCH_ARM', @@ -171,6 +184,17 @@ }], ], }], # v8_target_arch=="arm" + ['v8_target_arch=="ppc"', { + 'defines': [ + 'V8_TARGET_ARCH_PPC', + ], + }], # v8_target_arch=="ppc" + ['v8_target_arch=="ppc64"', { + 'defines': [ + 'V8_TARGET_ARCH_PPC', + 'V8_TARGET_ARCH_PPC64', + ], + }], # v8_target_arch=="ppc64" ['v8_target_arch=="ia32"', { 'defines': [ 'V8_TARGET_ARCH_IA32', @@ -277,7 +301,7 @@ }, }], ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ - or OS=="netbsd"', { + or OS=="netbsd" or OS=="aix"', { 'conditions': [ [ 'v8_no_strict_aliasing==1', { 'cflags': [ '-fno-strict-aliasing' ], @@ -290,7 +314,7 @@ ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ or OS=="netbsd" or OS=="mac" or OS=="android") and \ (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ - v8_target_arch=="mipsel")', { + v8_target_arch=="mipsel" or v8_target_arch=="ppc")', { # Check whether the host compiler and target compiler support the # '-m32' option and set it if so. 'target_conditions': [ @@ -327,6 +351,20 @@ ['OS=="netbsd"', { 'cflags': [ '-I/usr/pkg/include' ], }], + ['OS=="aix"', { + # AIX is missing /usr/include/endian.h + 'defines': [ + '__LITTLE_ENDIAN=1234', + '__BIG_ENDIAN=4321', + '__BYTE_ORDER=__BIG_ENDIAN', + '__FLOAT_WORD_ORDER=__BIG_ENDIAN'], + 'conditions': [ + [ 'v8_target_arch=="ppc64"', { + 'cflags': [ '-maix64' ], + 'ldflags': [ '-maix64' ], + }], + ], + }], ], # conditions 'configurations': { 'Debug': { @@ -354,10 +392,14 @@ }, }, 'conditions': [ - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { + ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ + or OS=="aix"', { 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], }], + ['OS=="aix"', { + 'ldflags': [ '-Wl,-bbigtoc' ], + }], ['OS=="android"', { 'variables': { 'android_full_debug%': 1, @@ -377,7 +419,7 @@ 'Release': { 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ - or OS=="android"', { + or OS=="android" or OS=="aix"', { 'cflags!': [ '-O2', '-Os',
  39. Download patch .pc/0099_powerpc_support.patch/src/runtime.cc
  40. Download patch .pc/0099_powerpc_support.patch/src/full-codegen.h
  41. Download patch .pc/0099_powerpc_support.patch/src/frames-inl.h
  42. Download patch src/hydrogen.cc

    --- 3.14.5.8-5/src/hydrogen.cc 2014-03-27 07:37:39.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/hydrogen.cc 2014-03-27 07:37:40.000000000 +0000 @@ -43,6 +43,8 @@ #include "x64/lithium-codegen-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/lithium-codegen-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/lithium-codegen-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/lithium-codegen-mips.h" #else
  43. Download patch .pc/0099_powerpc_support.patch/build/common.gypi
  44. Download patch .gitignore

    --- 3.14.5.8-5/.gitignore 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.gitignore 2014-03-27 07:37:40.000000000 +0000 @@ -12,6 +12,7 @@ *.sln *.so *.suo +*.swp *.user *.vcproj *.xcodeproj
  45. Download patch src/jsregexp.cc

    --- 3.14.5.8-5/src/jsregexp.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/jsregexp.cc 2014-03-27 07:37:40.000000000 +0000 @@ -50,6 +50,8 @@ #include "x64/regexp-macro-assembler-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/regexp-macro-assembler-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/regexp-macro-assembler-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/regexp-macro-assembler-mips.h" #else @@ -6131,6 +6133,9 @@ RegExpEngine::CompilationResult RegExpEn #elif V8_TARGET_ARCH_ARM RegExpMacroAssemblerARM macro_assembler(mode, (data->capture_count + 1) * 2, zone); +#elif V8_TARGET_ARCH_PPC + RegExpMacroAssemblerPPC macro_assembler(mode, (data->capture_count + 1) * 2, + zone); #elif V8_TARGET_ARCH_MIPS RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2, zone);
  46. Download patch src/hydrogen-instructions.cc

    --- 3.14.5.8-5/src/hydrogen-instructions.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/hydrogen-instructions.cc 2014-03-27 07:37:40.000000000 +0000 @@ -36,6 +36,8 @@ #include "x64/lithium-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/lithium-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/lithium-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/lithium-mips.h" #else @@ -966,8 +968,8 @@ HValue* HUnaryMathOperation::Canonicaliz // introduced. if (value()->representation().IsInteger32()) return value(); -#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_IA32) || \ - defined(V8_TARGET_ARCH_X64) +#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_IA32) || \ + defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_PPC) if (value()->IsDiv() && (value()->UseCount() == 1)) { // TODO(2038): Implement this optimization for non ARM architectures. HDiv* hdiv = HDiv::cast(value());
  47. Download patch .pc/0099_powerpc_support.patch/src/lithium-allocator.cc
  48. Download patch src/atomicops_internals_ppc_gcc.h

    --- 3.14.5.8-5/src/atomicops_internals_ppc_gcc.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/atomicops_internals_ppc_gcc.h 2014-03-27 07:37:40.000000000 +0000 @@ -0,0 +1,167 @@ +// Copyright 2010 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// This file is an internal atomic implementation, use atomicops.h instead. +// + +#ifndef V8_ATOMICOPS_INTERNALS_PPC_H_ +#define V8_ATOMICOPS_INTERNALS_PPC_H_ + +namespace v8 { +namespace internal { + +inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value) { + return(__sync_val_compare_and_swap( ptr, old_value, new_value)); +} + +inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, + Atomic32 new_value) { + Atomic32 old_value; + do { + old_value = *ptr; + } while (__sync_bool_compare_and_swap(ptr, old_value, new_value)); + return old_value; +} + +inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, + Atomic32 increment) { + return Barrier_AtomicIncrement(ptr, increment); +} + +inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, + Atomic32 increment) { + for (;;) { + Atomic32 old_value = *ptr; + Atomic32 new_value = old_value + increment; + if (__sync_bool_compare_and_swap(ptr, old_value, new_value)) { + return new_value; + // The exchange took place as expected. + } + // Otherwise, *ptr changed mid-loop and we need to retry. + } +} + +inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value) { + return NoBarrier_CompareAndSwap(ptr, old_value, new_value); +} + +inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value) { + return NoBarrier_CompareAndSwap(ptr, old_value, new_value); +} + +inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) { + *ptr = value; +} + +inline void MemoryBarrier() { + __asm__ __volatile__("sync" : : : "memory"); +} + +inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) { + *ptr = value; + MemoryBarrier(); +} + +inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { + MemoryBarrier(); + *ptr = value; +} + +inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) { + return *ptr; +} + +inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) { + Atomic32 value = *ptr; + MemoryBarrier(); + return value; +} + +inline Atomic32 Release_Load(volatile const Atomic32* ptr) { + MemoryBarrier(); + return *ptr; +} + +#ifdef V8_TARGET_ARCH_PPC64 +inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value) { + return(__sync_val_compare_and_swap( ptr, old_value, new_value)); +} + +inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value) { + return NoBarrier_CompareAndSwap(ptr, old_value, new_value); +} + +inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value) { + return NoBarrier_CompareAndSwap(ptr, old_value, new_value); +} + +inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) { + *ptr = value; +} + +inline void Acquire_Store(volatile Atomic64* ptr, Atomic64 value) { + *ptr = value; + MemoryBarrier(); +} + +inline void Release_Store(volatile Atomic64* ptr, Atomic64 value) { + MemoryBarrier(); + *ptr = value; +} + +inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) { + return *ptr; +} + +inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) { + Atomic64 value = *ptr; + MemoryBarrier(); + return value; +} + +inline Atomic64 Release_Load(volatile const Atomic64* ptr) { + MemoryBarrier(); + return *ptr; +} + +#endif + +} } // namespace v8::internal + +#endif // V8_ATOMICOPS_INTERNALS_PPC_GCC_H_
  49. Download patch src/code-stubs.h

    --- 3.14.5.8-5/src/code-stubs.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/code-stubs.h 2014-03-27 07:37:40.000000000 +0000 @@ -88,6 +88,18 @@ namespace internal { #define CODE_STUB_LIST_ARM(V) #endif +// List of code stubs only used on PPC platforms. +#ifdef V8_TARGET_ARCH_PPC +#define CODE_STUB_LIST_PPC(V) \ + V(GetProperty) \ + V(SetProperty) \ + V(InvokeBuiltin) \ + V(RegExpCEntry) \ + V(DirectCEntry) +#else +#define CODE_STUB_LIST_PPC(V) +#endif + // List of code stubs only used on MIPS platforms. #ifdef V8_TARGET_ARCH_MIPS #define CODE_STUB_LIST_MIPS(V) \ @@ -101,6 +113,7 @@ namespace internal { #define CODE_STUB_LIST(V) \ CODE_STUB_LIST_ALL_PLATFORMS(V) \ CODE_STUB_LIST_ARM(V) \ + CODE_STUB_LIST_PPC(V) \ CODE_STUB_LIST_MIPS(V) // Mode to overwrite BinaryExpression values. @@ -254,6 +267,8 @@ class RuntimeCallHelper { #include "x64/code-stubs-x64.h" #elif V8_TARGET_ARCH_ARM #include "arm/code-stubs-arm.h" +#elif V8_TARGET_ARCH_PPC +#include "ppc/code-stubs-ppc.h" #elif V8_TARGET_ARCH_MIPS #include "mips/code-stubs-mips.h" #else
  50. Download patch .pc/0099_powerpc_support.patch/src/assembler.cc
  51. Download patch .pc/0099_powerpc_support.patch/src/macro-assembler.h

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/macro-assembler.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/macro-assembler.h 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,156 @@ +// Copyright 2012 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef V8_MACRO_ASSEMBLER_H_ +#define V8_MACRO_ASSEMBLER_H_ + + +// Helper types to make boolean flag easier to read at call-site. +enum InvokeFlag { + CALL_FUNCTION, + JUMP_FUNCTION +}; + + +// Invalid depth in prototype chain. +const int kInvalidProtoDepth = -1; + +#if V8_TARGET_ARCH_IA32 +#include "assembler.h" +#include "ia32/assembler-ia32.h" +#include "ia32/assembler-ia32-inl.h" +#include "code.h" // must be after assembler_*.h +#include "ia32/macro-assembler-ia32.h" +#elif V8_TARGET_ARCH_X64 +#include "assembler.h" +#include "x64/assembler-x64.h" +#include "x64/assembler-x64-inl.h" +#include "code.h" // must be after assembler_*.h +#include "x64/macro-assembler-x64.h" +#elif V8_TARGET_ARCH_ARM +#include "arm/constants-arm.h" +#include "assembler.h" +#include "arm/assembler-arm.h" +#include "arm/assembler-arm-inl.h" +#include "code.h" // must be after assembler_*.h +#include "arm/macro-assembler-arm.h" +#elif V8_TARGET_ARCH_MIPS +#include "mips/constants-mips.h" +#include "assembler.h" +#include "mips/assembler-mips.h" +#include "mips/assembler-mips-inl.h" +#include "code.h" // must be after assembler_*.h +#include "mips/macro-assembler-mips.h" +#else +#error Unsupported target architecture. +#endif + +namespace v8 { +namespace internal { + +class FrameScope { + public: + explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) + : masm_(masm), type_(type), old_has_frame_(masm->has_frame()) { + masm->set_has_frame(true); + if (type != StackFrame::MANUAL && type_ != StackFrame::NONE) { + masm->EnterFrame(type); + } + } + + ~FrameScope() { + if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { + masm_->LeaveFrame(type_); + } + masm_->set_has_frame(old_has_frame_); + } + + // Normally we generate the leave-frame code when this object goes + // out of scope. Sometimes we may need to generate the code somewhere else + // in addition. Calling this will achieve that, but the object stays in + // scope, the MacroAssembler is still marked as being in a frame scope, and + // the code will be generated again when it goes out of scope. + void GenerateLeaveFrame() { + masm_->LeaveFrame(type_); + } + + private: + MacroAssembler* masm_; + StackFrame::Type type_; + bool old_has_frame_; +}; + + +class AllowExternalCallThatCantCauseGC: public FrameScope { + public: + explicit AllowExternalCallThatCantCauseGC(MacroAssembler* masm) + : FrameScope(masm, StackFrame::NONE) { } +}; + + +class NoCurrentFrameScope { + public: + explicit NoCurrentFrameScope(MacroAssembler* masm) + : masm_(masm), saved_(masm->has_frame()) { + masm->set_has_frame(false); + } + + ~NoCurrentFrameScope() { + masm_->set_has_frame(saved_); + } + + private: + MacroAssembler* masm_; + bool saved_; +}; + + +// Support for "structured" code comments. +#ifdef DEBUG + +class Comment { + public: + Comment(MacroAssembler* masm, const char* msg); + ~Comment(); + + private: + MacroAssembler* masm_; + const char* msg_; +}; + +#else + +class Comment { + public: + Comment(MacroAssembler*, const char*) {} +}; + +#endif // DEBUG + +} } // namespace v8::internal + +#endif // V8_MACRO_ASSEMBLER_H_
  52. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-regexp.cc
  53. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-api.cc
  54. Download patch .pc/0099_powerpc_support.patch/src/platform-posix.cc
  55. Download patch .pc/0099_powerpc_support.patch/build/standalone.gypi
  56. Download patch .pc/0099_powerpc_support.patch/src/hydrogen-instructions.cc
  57. Download patch .pc/0099_powerpc_support.patch/src/hydrogen.cc
  58. Download patch src/d8.gyp

    --- 3.14.5.8-5/src/d8.gyp 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/d8.gyp 2014-03-27 07:37:40.000000000 +0000 @@ -62,7 +62,8 @@ 'sources': [ 'd8-readline.cc' ], }], ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ - or OS=="openbsd" or OS=="solaris" or OS=="android")', { + or OS=="openbsd" or OS=="solaris" or OS=="android" \ + or OS=="aix")', { 'sources': [ 'd8-posix.cc', ] }], [ 'OS=="win"', {
  59. Download patch .pc/0099_powerpc_support.patch/src/platform-freebsd.cc
  60. Download patch .pc/0099_powerpc_support.patch/src/globals.h
  61. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-mark-compact.cc
  62. Download patch .pc/0099_powerpc_support.patch/src/checks.h
  63. Download patch debian/patches/series

    --- 3.14.5.8-5/debian/patches/series 2013-12-19 23:16:57.000000000 +0000 +++ 3.14.5.8-5ubuntu2/debian/patches/series 2014-02-13 00:41:10.000000000 +0000 @@ -4,3 +4,4 @@ 0012_loongson_force_cache_flush.patch 0013_gcc_48_compat.patch 0014_cve_2013_6639_6640.patch +0099_powerpc_support.patch
  64. Download patch .pc/0099_powerpc_support.patch/test/cctest/cctest.gyp
  65. Download patch .pc/0099_powerpc_support.patch/AUTHORS

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/AUTHORS 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,59 @@ +# Below is a list of people and organizations that have contributed +# to the V8 project. Names should be added to the list like so: +# +# Name/Organization <email address> + +Google Inc. +Sigma Designs Inc. +ARM Ltd. +Hewlett-Packard Development Company, LP +Igalia, S.L. +Joyent, Inc. + +Akinori MUSHA <knu@FreeBSD.org> +Alexander Botero-Lowry <alexbl@FreeBSD.org> +Alexander Karpinsky <homm86@gmail.com> +Alexandre Vassalotti <avassalotti@gmail.com> +Andreas Anyuru <andreas.anyuru@gmail.com> +Bert Belder <bertbelder@gmail.com> +Burcu Dogan <burcujdogan@gmail.com> +Craig Schlenter <craig.schlenter@gmail.com> +Daniel Andersson <kodandersson@gmail.com> +Daniel James <dnljms@gmail.com> +Derek J Conrod <dconrod@codeaurora.org> +Dineel D Sule <dsule@codeaurora.org> +Erich Ocean <erich.ocean@me.com> +Fedor Indutny <fedor@indutny.com> +Filipe David Manana <fdmanana@gmail.com> +Haitao Feng <haitao.feng@intel.com> +Ioseb Dzmanashvili <ioseb.dzmanashvili@gmail.com> +Jan de Mooij <jandemooij@gmail.com> +Jay Freeman <saurik@saurik.com> +James Pike <g00gle@chilon.net> +Joel Stanley <joel.stan@gmail.com> +John Jozwiak <jjozwiak@codeaurora.org> +Jonathan Liu <net147@gmail.com> +Kun Zhang <zhangk@codeaurora.org> +Martyn Capewell <martyn.capewell@arm.com> +Mathias Bynens <mathias@qiwi.be> +Matt Hanselman <mjhanselman@gmail.com> +Maxim Mossienko <maxim.mossienko@gmail.com> +Michael Lutz <michi@icosahedron.de> +Michael Smith <mike@w3.org> +Mike Gilbert <floppymaster@gmail.com> +Paolo Giarrusso <p.giarrusso@gmail.com> +Patrick Gansterer <paroga@paroga.com> +Peter Varga <pvarga@inf.u-szeged.hu> +Rafal Krypa <rafal@krypa.net> +Rene Rebe <rene@exactcode.de> +Robert Mustacchi <rm@fingolfin.org> +Rodolph Perfetta <rodolph.perfetta@arm.com> +Ryan Dahl <coldredlemur@gmail.com> +Sandro Santilli <strk@keybit.net> +Sanjoy Das <sanjoy@playingwithpointers.com> +Subrato K De <subratokde@codeaurora.org> +Tobias Burnus <burnus@net-b.de> +Vlad Burlik <vladbph@gmail.com> +Yuqiang Xian <yuqiang.xian@intel.com> +Zaheer Ahmad <zahmad@codeaurora.org> +Zhongping Wang <kewpie.w.zp@gmail.com>
  66. Download patch .pc/0099_powerpc_support.patch/tools/testrunner/local/statusfile.py

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/tools/testrunner/local/statusfile.py 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/tools/testrunner/local/statusfile.py 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,145 @@ +# Copyright 2012 the V8 project authors. All rights reserved. +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Google Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +# These imports are required for the on-demand conversion from +# old to new status file format. +from os.path import exists +from os.path import getmtime + +from . import old_statusfile + + +# These outcomes can occur in a TestCase's outcomes list: +SKIP = "SKIP" +FAIL = "FAIL" +PASS = "PASS" +OKAY = "OKAY" +TIMEOUT = "TIMEOUT" +CRASH = "CRASH" +SLOW = "SLOW" +# These are just for the status files and are mapped below in DEFS: +FAIL_OK = "FAIL_OK" +PASS_OR_FAIL = "PASS_OR_FAIL" + +ALWAYS = "ALWAYS" + +KEYWORDS = {} +for key in [SKIP, FAIL, PASS, OKAY, TIMEOUT, CRASH, SLOW, FAIL_OK, + PASS_OR_FAIL, ALWAYS]: + KEYWORDS[key] = key + +DEFS = {FAIL_OK: [FAIL, OKAY], + PASS_OR_FAIL: [PASS, FAIL]} + +# Support arches, modes to be written as keywords instead of strings. +VARIABLES = {ALWAYS: True} +for var in ["debug", "release", "android_arm", "android_ia32", "arm", "ia32", + "mipsel", "x64"]: + VARIABLES[var] = var + + +def DoSkip(outcomes): + return SKIP in outcomes or SLOW in outcomes + + +def IsFlaky(outcomes): + return ((PASS in outcomes) and (FAIL in outcomes) and + (not CRASH in outcomes) and (not OKAY in outcomes)) + + +def IsFailOk(outcomes): + return (FAIL in outcomes) and (OKAY in outcomes) + + +def _AddOutcome(result, new): + global DEFS + if new in DEFS: + mapped = DEFS[new] + if type(mapped) == list: + for m in mapped: + _AddOutcome(result, m) + elif type(mapped) == str: + _AddOutcome(result, mapped) + else: + result.add(new) + + +def _ParseOutcomeList(rule, outcomes, target_dict, variables): + result = set([]) + if type(outcomes) == str: + outcomes = [outcomes] + for item in outcomes: + if type(item) == str: + _AddOutcome(result, item) + elif type(item) == list: + if not eval(item[0], variables): continue + for outcome in item[1:]: + assert type(outcome) == str + _AddOutcome(result, outcome) + else: + assert False + if len(result) == 0: return + if rule in target_dict: + target_dict[rule] |= result + else: + target_dict[rule] = result + + +def ReadStatusFile(path, variables): + # As long as the old-format .status files are authoritative, just + # create the converted version on demand and cache it to speed up + # subsequent runs. + if path.endswith(".status"): + newpath = path + "2" + if not exists(newpath) or getmtime(newpath) < getmtime(path): + print "Converting status file." + converted = old_statusfile.ConvertNotation(path).GetOutput() + with open(newpath, 'w') as f: + f.write(converted) + path = newpath + + with open(path) as f: + global KEYWORDS + contents = eval(f.read(), KEYWORDS) + + rules = {} + wildcards = {} + variables.update(VARIABLES) + for section in contents: + assert type(section) == list + assert len(section) == 2 + if not eval(section[0], variables): continue + section = section[1] + assert type(section) == dict + for rule in section: + assert type(rule) == str + if rule[-1] == '*': + _ParseOutcomeList(rule, section[rule], wildcards, variables) + else: + _ParseOutcomeList(rule, section[rule], rules, variables) + return rules, wildcards
  67. Download patch .pc/0099_powerpc_support.patch/src/platform.h
  68. Download patch debian/patches/0099_powerpc_support.patch
  69. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-lockers.cc
  70. Download patch .pc/0099_powerpc_support.patch/src/simulator.h

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/simulator.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/simulator.h 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,43 @@ +// Copyright 2009 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef V8_SIMULATOR_H_ +#define V8_SIMULATOR_H_ + +#if V8_TARGET_ARCH_IA32 +#include "ia32/simulator-ia32.h" +#elif V8_TARGET_ARCH_X64 +#include "x64/simulator-x64.h" +#elif V8_TARGET_ARCH_ARM +#include "arm/simulator-arm.h" +#elif V8_TARGET_ARCH_MIPS +#include "mips/simulator-mips.h" +#else +#error Unsupported target architecture. +#endif + +#endif // V8_SIMULATOR_H_
  71. Download patch .pc/0099_powerpc_support.patch/src/heap.cc
  72. Download patch src/execution.h

    --- 3.14.5.8-5/src/execution.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/execution.h 2014-03-27 07:37:40.000000000 +0000 @@ -258,7 +258,7 @@ class StackGuard { void EnableInterrupts(); void DisableInterrupts(); -#ifdef V8_TARGET_ARCH_X64 +#if defined(V8_TARGET_ARCH_X64) || defined(V8_TARGET_ARCH_PPC64) static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe); static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8); #else
  73. Download patch .pc/0099_powerpc_support.patch/src/code-stubs.h
  74. Download patch src/full-codegen.h

    --- 3.14.5.8-5/src/full-codegen.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/full-codegen.h 2014-03-27 07:37:40.000000000 +0000 @@ -125,6 +125,8 @@ class FullCodeGenerator: public AstVisit static const int kBackEdgeDistanceUnit = 162; #elif V8_TARGET_ARCH_ARM static const int kBackEdgeDistanceUnit = 142; +#elif V8_TARGET_ARCH_PPC + static const int kBackEdgeDistanceUnit = 142; #elif V8_TARGET_ARCH_MIPS static const int kBackEdgeDistanceUnit = 142; #else @@ -333,12 +335,18 @@ class FullCodeGenerator: public AstVisit Label* if_true, Label* if_false, Label* fall_through); -#else // All non-mips arch. +#elif defined(V8_TARGET_ARCH_PPC) || defined(V8_TARGET_ARCH_PPC64) + void Split(Condition cc, + Label* if_true, + Label* if_false, + Label* fall_through, + CRegister cr = cr7); +#else // All other arch. void Split(Condition cc, Label* if_true, Label* if_false, Label* fall_through); -#endif // V8_TARGET_ARCH_MIPS +#endif // Load the value of a known (PARAMETER, LOCAL, or CONTEXT) variable into // a register. Emits a context chain walk if if necessary (so does
  75. Download patch src/builtins.cc

    --- 3.14.5.8-5/src/builtins.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/builtins.cc 2014-03-27 07:37:40.000000000 +0000 @@ -1617,10 +1617,15 @@ void Builtins::SetUp(bool create_heap_ob const BuiltinDesc* functions = builtin_function_table.functions(); +#if V8_TARGET_ARCH_PPC64 + const int kBufferSize = 9 * KB; +#else + const int kBufferSize = 8 * KB; +#endif // For now we generate builtin adaptor code into a stack-allocated // buffer, before copying it into individual code objects. Be careful // with alignment, some platforms don't like unaligned code. - union { int force_alignment; byte buffer[8*KB]; } u; + union { int force_alignment; byte buffer[kBufferSize]; } u; // Traverse the list of builtins and generate an adaptor in a // separate code object for each one.
  76. Download patch .pc/0099_powerpc_support.patch/src/atomicops.h

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/atomicops.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/atomicops.h 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,171 @@ +// Copyright 2010 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// The routines exported by this module are subtle. If you use them, even if +// you get the code right, it will depend on careful reasoning about atomicity +// and memory ordering; it will be less readable, and harder to maintain. If +// you plan to use these routines, you should have a good reason, such as solid +// evidence that performance would otherwise suffer, or there being no +// alternative. You should assume only properties explicitly guaranteed by the +// specifications in this file. You are almost certainly _not_ writing code +// just for the x86; if you assume x86 semantics, x86 hardware bugs and +// implementations on other archtectures will cause your code to break. If you +// do not know what you are doing, avoid these routines, and use a Mutex. +// +// It is incorrect to make direct assignments to/from an atomic variable. +// You should use one of the Load or Store routines. The NoBarrier +// versions are provided when no barriers are needed: +// NoBarrier_Store() +// NoBarrier_Load() +// Although there are currently no compiler enforcement, you are encouraged +// to use these. +// + +#ifndef V8_ATOMICOPS_H_ +#define V8_ATOMICOPS_H_ + +#include "../include/v8.h" +#include "globals.h" + +namespace v8 { +namespace internal { + +typedef int32_t Atomic32; +#ifdef V8_HOST_ARCH_64_BIT +// We need to be able to go between Atomic64 and AtomicWord implicitly. This +// means Atomic64 and AtomicWord should be the same type on 64-bit. +#if defined(__APPLE__) +// MacOS is an exception to the implicit conversion rule above, +// because it uses long for intptr_t. +typedef int64_t Atomic64; +#else +typedef intptr_t Atomic64; +#endif +#endif + +// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or +// Atomic64 routines below, depending on your architecture. +#if defined(__OpenBSD__) && defined(__i386__) +typedef Atomic32 AtomicWord; +#else +typedef intptr_t AtomicWord; +#endif + +// Atomically execute: +// result = *ptr; +// if (*ptr == old_value) +// *ptr = new_value; +// return result; +// +// I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". +// Always return the old value of "*ptr" +// +// This routine implies no memory barriers. +Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value); + +// Atomically store new_value into *ptr, returning the previous value held in +// *ptr. This routine implies no memory barriers. +Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); + +// Atomically increment *ptr by "increment". Returns the new value of +// *ptr with the increment applied. This routine implies no memory barriers. +Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); + +Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, + Atomic32 increment); + +// These following lower-level operations are typically useful only to people +// implementing higher-level synchronization operations like spinlocks, +// mutexes, and condition-variables. They combine CompareAndSwap(), a load, or +// a store with appropriate memory-ordering instructions. "Acquire" operations +// ensure that no later memory access can be reordered ahead of the operation. +// "Release" operations ensure that no previous memory access can be reordered +// after the operation. "Barrier" operations have both "Acquire" and "Release" +// semantics. A MemoryBarrier() has "Barrier" semantics, but does no memory +// access. +Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value); +Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, + Atomic32 old_value, + Atomic32 new_value); + +void MemoryBarrier(); +void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value); +void Acquire_Store(volatile Atomic32* ptr, Atomic32 value); +void Release_Store(volatile Atomic32* ptr, Atomic32 value); + +Atomic32 NoBarrier_Load(volatile const Atomic32* ptr); +Atomic32 Acquire_Load(volatile const Atomic32* ptr); +Atomic32 Release_Load(volatile const Atomic32* ptr); + +// 64-bit atomic operations (only available on 64-bit processors). +#ifdef V8_HOST_ARCH_64_BIT +Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value); +Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value); +Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment); +Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment); + +Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value); +Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr, + Atomic64 old_value, + Atomic64 new_value); +void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value); +void Acquire_Store(volatile Atomic64* ptr, Atomic64 value); +void Release_Store(volatile Atomic64* ptr, Atomic64 value); +Atomic64 NoBarrier_Load(volatile const Atomic64* ptr); +Atomic64 Acquire_Load(volatile const Atomic64* ptr); +Atomic64 Release_Load(volatile const Atomic64* ptr); +#endif // V8_HOST_ARCH_64_BIT + +} } // namespace v8::internal + +// Include our platform specific implementation. +#if defined(_MSC_VER) && \ + (defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_X64)) +#include "atomicops_internals_x86_msvc.h" +#elif defined(__APPLE__) && \ + (defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_X64)) +#include "atomicops_internals_x86_macosx.h" +#elif defined(__GNUC__) && \ + (defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_X64)) +#include "atomicops_internals_x86_gcc.h" +#elif defined(__GNUC__) && defined(V8_HOST_ARCH_ARM) +#include "atomicops_internals_arm_gcc.h" +#elif defined(__GNUC__) && defined(V8_HOST_ARCH_MIPS) +#include "atomicops_internals_mips_gcc.h" +#else +#error "Atomic operations are not supported on your platform" +#endif + +#endif // V8_ATOMICOPS_H_
  77. Download patch .pc/0099_powerpc_support.patch/src/serialize.cc
  78. Download patch .pc/0099_powerpc_support.patch/src/log.cc
  79. Download patch .pc/0099_powerpc_support.patch/tools/test-wrapper-gypbuild.py
  80. Download patch .pc/0099_powerpc_support.patch/src/deoptimizer.h
  81. Download patch Makefile

    --- 3.14.5.8-5/Makefile 2014-03-27 07:37:39.000000000 +0000 +++ 3.14.5.8-5ubuntu2/Makefile 2014-03-27 07:37:40.000000000 +0000 @@ -73,6 +73,10 @@ endif ifeq ($(extrachecks), off) GYPFLAGS += -Dv8_enable_extra_checks=0 endif +# extrachecks=off +ifeq ($(extrappcchecks), on) + GYPFLAGS += -Dv8_enable_extra_ppcchecks=1 +endif # gdbjit=on ifeq ($(gdbjit), on) GYPFLAGS += -Dv8_enable_gdbjit=1 @@ -115,6 +119,10 @@ endif ifeq ($(hardfp), on) GYPFLAGS += -Dv8_use_arm_eabi_hardfloat=true endif +# nativesim=true +ifeq ($(nativesim), true) + GYPFLAGS += -Dv8_native_sim=true +endif # ----------------- available targets: -------------------- # - "dependencies": pulls in external dependencies (currently: GYP) @@ -133,8 +141,8 @@ endif # Architectures and modes to be compiled. Consider these to be internal # variables, don't override them (use the targets instead). -ARCHES = ia32 x64 arm mipsel -DEFAULT_ARCHES = ia32 x64 arm +ARCHES = ia32 x64 arm ppc mipsel ppc64 +DEFAULT_ARCHES = ia32 x64 arm ppc ppc64 MODES = release debug ANDROID_ARCHES = android_ia32 android_arm
  82. Download patch AUTHORS

    --- 3.14.5.8-5/AUTHORS 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/AUTHORS 2014-03-27 07:37:40.000000000 +0000 @@ -7,6 +7,7 @@ Google Inc. Sigma Designs Inc. ARM Ltd. Hewlett-Packard Development Company, LP +IBM Corporation Igalia, S.L. Joyent, Inc. @@ -15,11 +16,13 @@ Alexander Botero-Lowry <alexbl@FreeBSD.o Alexander Karpinsky <homm86@gmail.com> Alexandre Vassalotti <avassalotti@gmail.com> Andreas Anyuru <andreas.anyuru@gmail.com> +Andrew Low <andrew_low@ca.ibm.com> Bert Belder <bertbelder@gmail.com> Burcu Dogan <burcujdogan@gmail.com> Craig Schlenter <craig.schlenter@gmail.com> Daniel Andersson <kodandersson@gmail.com> Daniel James <dnljms@gmail.com> +David Eelsohn <dje.gcc@gmail.com> Derek J Conrod <dconrod@codeaurora.org> Dineel D Sule <dsule@codeaurora.org> Erich Ocean <erich.ocean@me.com> @@ -37,6 +40,7 @@ Kun Zhang <zhangk@codeaurora.org> Martyn Capewell <martyn.capewell@arm.com> Mathias Bynens <mathias@qiwi.be> Matt Hanselman <mjhanselman@gmail.com> +Matthew Brandyberry <mbrandy@us.ibm.com> Maxim Mossienko <maxim.mossienko@gmail.com> Michael Lutz <michi@icosahedron.de> Michael Smith <mike@w3.org>
  83. Download patch aix_gyp.patch

    --- 3.14.5.8-5/aix_gyp.patch 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/aix_gyp.patch 2014-03-27 07:37:40.000000000 +0000 @@ -0,0 +1,62 @@ +--- build/gyp/pylib/gyp/common.py ++++ build/gyp/pylib/gyp/common.py +@@ -378,6 +378,8 @@ + return 'solaris' + if sys.platform.startswith('freebsd'): + return 'freebsd' ++ if sys.platform.startswith('aix'): ++ return 'aix' + + return 'linux' + +--- build/gyp/pylib/gyp/generator/make.py ++++ build/gyp/pylib/gyp/generator/make.py +@@ -200,6 +200,21 @@ + """ + + ++ LINK_COMMANDS_AIX = """\ ++ quiet_cmd_alink = AR($(TOOLSET)) $@ ++ cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) $(ARFLAGS.$(TOOLSET)) $@ $(filter %.o,$^) ++ ++ quiet_cmd_link = LINK($(TOOLSET)) $@ ++ cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(LD_INPUTS) $(LIBS) ++ ++ quiet_cmd_solink = SOLINK($(TOOLSET)) $@ ++ cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS) ++ ++ quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@ ++ cmd_solink_module = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS) ++ """ ++ ++ + # Header of toplevel Makefile. + # This should go into the build tree, but it's easier to keep it here for now. + SHARED_HEADER = ("""\ + +--- build/gyp/pylib/gyp/generator/make.py ++++ build/gyp/pylib/gyp/generator/make.py +@@ -1933,6 +1948,10 @@ + cc_command=cc_host): + arflags_host = 'crsT' + ++ if flavor == 'aix': ++ arflags_target = '-Xany ' + arflags_target ++ arflags_host = '-Xany ' + arflags_host ++ + return { 'ARFLAGS.target': arflags_target, + 'ARFLAGS.host': arflags_host } + +--- build/gyp/pylib/gyp/generator/make.py ++++ build/gyp/pylib/gyp/generator/make.py +@@ -2026,6 +2045,10 @@ + elif flavor == 'freebsd': + header_params.update({ + 'flock': 'lockf', ++ }) ++ elif flavor == 'aix': ++ header_params.update({ ++ 'link_commands': LINK_COMMANDS_AIX, + }) + + header_params.update(RunSystemTests(flavor))
  84. Download patch src/assembler.h

    --- 3.14.5.8-5/src/assembler.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/assembler.h 2014-03-27 07:37:40.000000000 +0000 @@ -829,31 +829,33 @@ class PreservePositionScope BASE_EMBEDDE // ----------------------------------------------------------------------------- // Utility functions -inline bool is_intn(int x, int n) { - return -(1 << (n-1)) <= x && x < (1 << (n-1)); +inline bool is_intn(intptr_t x, int n) { + return -(1L << (n-1)) <= x && x < (1L << (n-1)); } -inline bool is_int8(int x) { return is_intn(x, 8); } -inline bool is_int16(int x) { return is_intn(x, 16); } -inline bool is_int18(int x) { return is_intn(x, 18); } -inline bool is_int24(int x) { return is_intn(x, 24); } +inline bool is_int8(intptr_t x) { return is_intn(x, 8); } +inline bool is_int16(intptr_t x) { return is_intn(x, 16); } +inline bool is_int18(intptr_t x) { return is_intn(x, 18); } +inline bool is_int24(intptr_t x) { return is_intn(x, 24); } +inline bool is_int26(intptr_t x) { return is_intn(x, 26); } -inline bool is_uintn(int x, int n) { - return (x & -(1 << n)) == 0; + +inline bool is_uintn(intptr_t x, int n) { + return (x & -(1L << n)) == 0; } -inline bool is_uint2(int x) { return is_uintn(x, 2); } -inline bool is_uint3(int x) { return is_uintn(x, 3); } -inline bool is_uint4(int x) { return is_uintn(x, 4); } -inline bool is_uint5(int x) { return is_uintn(x, 5); } -inline bool is_uint6(int x) { return is_uintn(x, 6); } -inline bool is_uint8(int x) { return is_uintn(x, 8); } -inline bool is_uint10(int x) { return is_uintn(x, 10); } -inline bool is_uint12(int x) { return is_uintn(x, 12); } -inline bool is_uint16(int x) { return is_uintn(x, 16); } -inline bool is_uint24(int x) { return is_uintn(x, 24); } -inline bool is_uint26(int x) { return is_uintn(x, 26); } -inline bool is_uint28(int x) { return is_uintn(x, 28); } +inline bool is_uint2(intptr_t x) { return is_uintn(x, 2); } +inline bool is_uint3(intptr_t x) { return is_uintn(x, 3); } +inline bool is_uint4(intptr_t x) { return is_uintn(x, 4); } +inline bool is_uint5(intptr_t x) { return is_uintn(x, 5); } +inline bool is_uint6(intptr_t x) { return is_uintn(x, 6); } +inline bool is_uint8(intptr_t x) { return is_uintn(x, 8); } +inline bool is_uint10(intptr_t x) { return is_uintn(x, 10); } +inline bool is_uint12(intptr_t x) { return is_uintn(x, 12); } +inline bool is_uint16(intptr_t x) { return is_uintn(x, 16); } +inline bool is_uint24(intptr_t x) { return is_uintn(x, 24); } +inline bool is_uint26(intptr_t x) { return is_uintn(x, 26); } +inline bool is_uint28(intptr_t x) { return is_uintn(x, 28); } inline int NumberOfBitsSet(uint32_t x) { unsigned int num_bits_set;
  85. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-heap.cc
  86. Download patch .pc/0099_powerpc_support.patch/src/execution.h
  87. Download patch .pc/0099_powerpc_support.patch/src/flag-definitions.h
  88. Download patch .pc/0099_powerpc_support.patch/src/lithium-allocator-inl.h

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/lithium-allocator-inl.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/lithium-allocator-inl.h 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,144 @@ +// Copyright 2011 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef V8_LITHIUM_ALLOCATOR_INL_H_ +#define V8_LITHIUM_ALLOCATOR_INL_H_ + +#include "lithium-allocator.h" + +#if V8_TARGET_ARCH_IA32 +#include "ia32/lithium-ia32.h" +#elif V8_TARGET_ARCH_X64 +#include "x64/lithium-x64.h" +#elif V8_TARGET_ARCH_ARM +#include "arm/lithium-arm.h" +#elif V8_TARGET_ARCH_MIPS +#include "mips/lithium-mips.h" +#else +#error "Unknown architecture." +#endif + +namespace v8 { +namespace internal { + +bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } + + +LInstruction* LAllocator::InstructionAt(int index) { + return chunk_->instructions()->at(index); +} + + +LGap* LAllocator::GapAt(int index) { + return chunk_->GetGapAt(index); +} + + +TempIterator::TempIterator(LInstruction* instr) + : instr_(instr), + limit_(instr->TempCount()), + current_(0) { + SkipUninteresting(); +} + + +bool TempIterator::Done() { return current_ >= limit_; } + + +LOperand* TempIterator::Current() { + ASSERT(!Done()); + return instr_->TempAt(current_); +} + + +void TempIterator::SkipUninteresting() { + while (current_ < limit_ && instr_->TempAt(current_) == NULL) ++current_; +} + + +void TempIterator::Advance() { + ++current_; + SkipUninteresting(); +} + + +InputIterator::InputIterator(LInstruction* instr) + : instr_(instr), + limit_(instr->InputCount()), + current_(0) { + SkipUninteresting(); +} + + +bool InputIterator::Done() { return current_ >= limit_; } + + +LOperand* InputIterator::Current() { + ASSERT(!Done()); + return instr_->InputAt(current_); +} + + +void InputIterator::Advance() { + ++current_; + SkipUninteresting(); +} + + +void InputIterator::SkipUninteresting() { + while (current_ < limit_ && instr_->InputAt(current_)->IsConstantOperand()) { + ++current_; + } +} + + +UseIterator::UseIterator(LInstruction* instr) + : input_iterator_(instr), env_iterator_(instr->environment()) { } + + +bool UseIterator::Done() { + return input_iterator_.Done() && env_iterator_.Done(); +} + + +LOperand* UseIterator::Current() { + ASSERT(!Done()); + return input_iterator_.Done() + ? env_iterator_.Current() + : input_iterator_.Current(); +} + + +void UseIterator::Advance() { + input_iterator_.Done() + ? env_iterator_.Advance() + : input_iterator_.Advance(); +} + +} } // namespace v8::internal + +#endif // V8_LITHIUM_ALLOCATOR_INL_H_
  89. Download patch .pc/0099_powerpc_support.patch/src/jsregexp.cc
  90. Download patch .pc/0099_powerpc_support.patch/src/objects.h
  91. Download patch src/globals.h

    --- 3.14.5.8-5/src/globals.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/globals.h 2014-03-27 07:37:40.000000000 +0000 @@ -56,6 +56,11 @@ #define V8_INFINITY HUGE_VAL #endif +#ifdef _AIX +#undef V8_INFINITY +#define V8_INFINITY (__builtin_inff()) +#endif + #include "../include/v8stdint.h" @@ -86,6 +91,13 @@ namespace internal { #elif defined(__MIPSEL__) #define V8_HOST_ARCH_MIPS 1 #define V8_HOST_ARCH_32_BIT 1 +#elif defined(__PPC__) || defined(_ARCH_PPC) +#define V8_HOST_ARCH_PPC 1 +#if defined(__PPC64__) || defined(_ARCH_PPC64) +#define V8_HOST_ARCH_64_BIT 1 +#else +#define V8_HOST_ARCH_32_BIT 1 +#endif #else #error Host architecture was not detected as supported by v8 #endif @@ -94,7 +106,8 @@ namespace internal { // in the same way as the host architecture, that is, target the native // environment as presented by the compiler. #if !defined(V8_TARGET_ARCH_X64) && !defined(V8_TARGET_ARCH_IA32) && \ - !defined(V8_TARGET_ARCH_ARM) && !defined(V8_TARGET_ARCH_MIPS) + !defined(V8_TARGET_ARCH_ARM) && !defined(V8_TARGET_ARCH_MIPS) && \ + !defined(V8_TARGET_ARCH_PPC) #if defined(_M_X64) || defined(__x86_64__) #define V8_TARGET_ARCH_X64 1 #elif defined(_M_IX86) || defined(__i386__) @@ -116,8 +129,9 @@ namespace internal { #error Target architecture x64 is only supported on x64 host #endif #if (defined(V8_TARGET_ARCH_ARM) && \ - !(defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_ARM))) -#error Target architecture arm is only supported on arm and ia32 host + !(defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_ARM) || \ + defined(V8_HOST_ARCH_PPC))) +#error Target architecture arm is only supported on arm, ppc and ia32 host #endif #if (defined(V8_TARGET_ARCH_MIPS) && \ !(defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_MIPS))) @@ -131,6 +145,9 @@ namespace internal { #if (defined(V8_TARGET_ARCH_ARM) && !defined(V8_HOST_ARCH_ARM)) #define USE_SIMULATOR 1 #endif +#if (defined(V8_TARGET_ARCH_PPC) && !defined(V8_HOST_ARCH_PPC)) +#define USE_SIMULATOR 1 +#endif #if (defined(V8_TARGET_ARCH_MIPS) && !defined(V8_HOST_ARCH_MIPS)) #define USE_SIMULATOR 1 #endif @@ -190,6 +207,16 @@ typedef byte* Address; #define V8PRIdPTR V8_PTR_PREFIX "d" #define V8PRIuPTR V8_PTR_PREFIX "u" +// Fix for AIX define intptr_t as "long int": +#ifdef _AIX +#undef V8_PTR_PREFIX +#define V8_PTR_PREFIX "l" +#undef V8PRIdPTR +#define V8PRIdPTR "ld" +#undef V8PRIxPTR +#define V8PRIxPTR "lx" +#endif + // Fix for Mac OS X defining uintptr_t as "unsigned long": #if defined(__APPLE__) && defined(__MACH__) #undef V8PRIxPTR
  92. Download patch .pc/0099_powerpc_support.patch/test/mjsunit/big-array-literal.js

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/test/mjsunit/big-array-literal.js 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/test/mjsunit/big-array-literal.js 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,114 @@ +// Copyright 2009 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// On MacOS, this test needs a stack size of at least 538 kBytes. +// Flags: --stack-size=600 + +// Test that we can make large object literals that work. +// Also test that we can attempt to make even larger object literals without +// crashing. +function testLiteral(size, array_in_middle) { + print(size); + + var f; + + // Build object-literal string. + var literal = "function f() { return "; + + for (var i = 0; i < size; i++) { + literal += "["; + } + + literal += array_in_middle ? " [42.2]" : "{a:42.2}"; + + for (var i = 0; i < size; i++) { + literal += "]"; + } + + literal += "; }"; + + // Create the object literal. + eval(literal); + + var x = f(); + + // Check that the properties have the expected values. + for (var i = 0; i < size; i++) { + x = x[0]; + } + + if (array_in_middle) { + assertEquals(42.2, x[0]), "x array in middle"; + x[0] = 41.2; + } else { + assertEquals(42.2, x.a, "x object in middle"); + x.a = 41.2; + } + + var y = f(); + for (var i = 0; i < size; i++) { + y = y[0]; + } + + if (array_in_middle) { + assertEquals(42.2, y[0], "y array in middle"); + y[0] = 41.2; + } else { + assertEquals(42.2, y.a, "y object in middle"); + y.a = 41.2; + } +} + +// The sizes to test. +var sizes = [1, 2, 100, 200, 300]; + +// Run the test. +for (var i = 0; i < sizes.length; i++) { + testLiteral(sizes[i], false); + testLiteral(sizes[i], true); +} + +function testLiteralAndCatch(size) { + var big_enough = false; + try { + testLiteral(size, false); + } catch (e) { + big_enough = true; + } + try { + testLiteral(size, true); + } catch (e) { + big_enough = true; + } + return big_enough; +} + +// Catch stack overflows. + +testLiteralAndCatch(1000) || +testLiteralAndCatch(20000) || +testLiteralAndCatch(200000);
  93. Download patch .pc/0099_powerpc_support.patch/src/jsregexp.h
  94. Download patch .pc/0099_powerpc_support.patch/src/lithium.cc
  95. Download patch build/standalone.gypi

    --- 3.14.5.8-5/build/standalone.gypi 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/build/standalone.gypi 2014-03-27 07:37:40.000000000 +0000 @@ -31,7 +31,6 @@ 'variables': { 'library%': 'static_library', 'component%': 'static_library', - 'visibility%': 'hidden', 'msvs_multi_core_compile%': '1', 'mac_deployment_target%': '10.5', 'variables': { @@ -39,7 +38,7 @@ 'variables': { 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ - OS=="netbsd" or OS=="mac"', { + OS=="netbsd" or OS=="mac" or OS=="aix"', { # This handles the Unix platforms we generally deal with. # Anything else gets passed through, which probably won't work # very well; such hosts should pass an explicit target_arch @@ -49,7 +48,7 @@ s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mipsel/")', }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" and - # OS!="netbsd" and OS!="mac" + # OS!="netbsd" and OS!="mac" and OS!="aix" 'host_arch%': 'ia32', }], ], @@ -74,6 +73,12 @@ }, { 'want_separate_host_toolset': 0, }], + # + ['OS=="aix"', { + 'visibility%': '', + }, { + 'visibility%': 'hidden', + }], ], # Default ARM variable settings. 'armv7%': 1, @@ -85,12 +90,17 @@ 'configurations': { 'Debug': { 'cflags': [ '-g', '-O0' ], + 'conditions': [ + [ 'OS=="aix"', { + 'cflags': [ '-gxcoff' ], + }], + ], }, }, }, 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ - or OS=="netbsd"', { + or OS=="netbsd" or OS=="aix"', { 'target_defaults': { 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', @@ -100,6 +110,9 @@ [ 'OS=="linux"', { 'cflags': [ '-ansi' ], }], + [ 'host_arch=="ppc64"', { + 'cflags': [ '-mminimal-toc' ], + }], [ 'visibility=="hidden"', { 'cflags': [ '-fvisibility=hidden' ], }],
  96. Download patch src/isolate.cc

    --- 3.14.5.8-5/src/isolate.cc 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/isolate.cc 2014-03-27 07:37:40.000000000 +0000 @@ -116,6 +116,8 @@ void ThreadLocalTop::Initialize() { #ifdef USE_SIMULATOR #ifdef V8_TARGET_ARCH_ARM simulator_ = Simulator::current(isolate_); +#elif V8_TARGET_ARCH_PPC + simulator_ = Simulator::current(isolate_); #elif V8_TARGET_ARCH_MIPS simulator_ = Simulator::current(isolate_); #endif @@ -1080,6 +1082,7 @@ bool Isolate::IsErrorObject(Handle<Objec return false; } +static int fatal_exception_depth = 0; void Isolate::DoThrow(Object* exception, MessageLocation* location) { ASSERT(!has_pending_exception()); @@ -1150,6 +1153,20 @@ void Isolate::DoThrow(Object* exception, thread_local_top()->pending_message_start_pos_ = location->start_pos(); thread_local_top()->pending_message_end_pos_ = location->end_pos(); } + + // If the abort-on-uncaught-exception flag is specified, abort on any + // exception not caught by JavaScript, even when an external handler is + // present. This flag is intended for use by JavaScript developers, so + // print a user-friendly stack trace (not an internal one). + if (fatal_exception_depth == 0 && + FLAG_abort_on_uncaught_exception && + (report_exception || can_be_caught_externally)) { + fatal_exception_depth++; + fprintf(stderr, "%s\n\nFROM\n", + *MessageHandler::GetLocalizedMessage(message_obj)); + PrintCurrentStackTrace(stderr); + OS::Abort(); + } } else if (location != NULL && !location->script().is_null()) { // We are bootstrapping and caught an error where the location is set // and we have a script for the location. @@ -1398,6 +1415,8 @@ char* Isolate::RestoreThread(char* from) #ifdef USE_SIMULATOR #ifdef V8_TARGET_ARCH_ARM thread_local_top()->simulator_ = Simulator::current(this); +#elif V8_TARGET_ARCH_PPC + thread_local_top()->simulator_ = Simulator::current(this); #elif V8_TARGET_ARCH_MIPS thread_local_top()->simulator_ = Simulator::current(this); #endif @@ -1534,6 +1553,7 @@ Isolate::Isolate() thread_manager_->isolate_ = this; #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) || \ + defined(V8_TARGET_ARCH_PPC) && !defined(__PPC__) || \ defined(V8_TARGET_ARCH_MIPS) && !defined(__mips__) simulator_initialized_ = false; simulator_i_cache_ = NULL; @@ -1851,7 +1871,8 @@ bool Isolate::Init(Deserializer* des) { // Initialize other runtime facilities #if defined(USE_SIMULATOR) -#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) +#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) \ + || defined(V8_TARGET_ARCH_PPC) Simulator::Initialize(this); #endif #endif
  97. Download patch .pc/0099_powerpc_support.patch/src/regexp-macro-assembler.h
  98. Download patch .pc/0099_powerpc_support.patch/src/codegen.h

    --- 3.14.5.8-5/.pc/0099_powerpc_support.patch/src/codegen.h 1970-01-01 00:00:00.000000000 +0000 +++ 3.14.5.8-5ubuntu2/.pc/0099_powerpc_support.patch/src/codegen.h 2013-03-04 13:04:30.000000000 +0000 @@ -0,0 +1,108 @@ +// Copyright 2012 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef V8_CODEGEN_H_ +#define V8_CODEGEN_H_ + +#include "code-stubs.h" +#include "runtime.h" +#include "type-info.h" + +// Include the declaration of the architecture defined class CodeGenerator. +// The contract to the shared code is that the the CodeGenerator is a subclass +// of Visitor and that the following methods are available publicly: +// MakeCode +// MakeCodePrologue +// MakeCodeEpilogue +// masm +// frame +// script +// has_valid_frame +// SetFrame +// DeleteFrame +// allocator +// AddDeferred +// in_spilled_code +// set_in_spilled_code +// RecordPositions +// +// These methods are either used privately by the shared code or implemented as +// shared code: +// CodeGenerator +// ~CodeGenerator +// Generate +// ComputeLazyCompile +// BuildFunctionInfo +// ProcessDeclarations +// DeclareGlobals +// CheckForInlineRuntimeCall +// AnalyzeCondition +// CodeForFunctionPosition +// CodeForReturnPosition +// CodeForStatementPosition +// CodeForDoWhileConditionPosition +// CodeForSourcePosition + +enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; + +#if V8_TARGET_ARCH_IA32 +#include "ia32/codegen-ia32.h" +#elif V8_TARGET_ARCH_X64 +#include "x64/codegen-x64.h" +#elif V8_TARGET_ARCH_ARM +#include "arm/codegen-arm.h" +#elif V8_TARGET_ARCH_MIPS +#include "mips/codegen-mips.h" +#else +#error Unsupported target architecture. +#endif + +namespace v8 { +namespace internal { + +// Results of the library implementation of transcendental functions may differ +// from the one we use in our generated code. Therefore we use the same +// generated code both in runtime and compiled code. +typedef double (*UnaryMathFunction)(double x); + +UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type); +UnaryMathFunction CreateSqrtFunction(); + + +class ElementsTransitionGenerator : public AllStatic { + public: + static void GenerateMapChangeElementsTransition(MacroAssembler* masm); + static void GenerateSmiToDouble(MacroAssembler* masm, Label* fail); + static void GenerateDoubleToObject(MacroAssembler* masm, Label* fail); + + private: + DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); +}; + +} } // namespace v8::internal + +#endif // V8_CODEGEN_H_
  99. Download patch src/deoptimizer.h

    --- 3.14.5.8-5/src/deoptimizer.h 2013-03-04 13:04:30.000000000 +0000 +++ 3.14.5.8-5ubuntu2/src/deoptimizer.h 2014-03-27 07:37:40.000000000 +0000 @@ -697,7 +697,11 @@ class SlotRef BASE_EMBEDDED { return Handle<Object>(Memory::Object_at(addr_)); case INT32: { +#if defined(V8_TARGET_ARCH_PPC64) && __BYTE_ORDER == __BIG_ENDIAN + int value = Memory::int32_at(addr_ + kIntSize); +#else int value = Memory::int32_at(addr_); +#endif if (Smi::IsValid(value)) { return Handle<Object>(Smi::FromInt(value)); } else { @@ -706,7 +710,11 @@ class SlotRef BASE_EMBEDDED { } case UINT32: { +#if defined(V8_TARGET_ARCH_PPC64) && __BYTE_ORDER == __BIG_ENDIAN + uint32_t value = Memory::uint32_at(addr_ + kIntSize); +#else uint32_t value = Memory::uint32_at(addr_); +#endif if (value <= static_cast<uint32_t>(Smi::kMaxValue)) { return Handle<Object>(Smi::FromInt(static_cast<int>(value))); } else {
  100. Download patch .pc/0099_powerpc_support.patch/test/cctest/test-hashing.cc
  101. ...

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: modernizr

modernizr (2.6.2+ds1-1ubuntu1) xenial; urgency=medium * Use slimit instead of uglifyjs (universe). -- Matthias Klose <doko@ubuntu.com> Sat, 24 Oct 2015 17:31:14 +0200

Modifications :
  1. Download patch debian/rules

    --- 2.6.2+ds1-1/debian/rules 2012-10-12 09:30:34.000000000 +0000 +++ 2.6.2+ds1-1ubuntu1/debian/rules 2015-10-24 15:30:55.000000000 +0000 @@ -15,11 +15,13 @@ DEBVER := $(UPVER)+ds1 override_dh_auto_build: cat feature-detects/*.js > feature-detects.js - uglifyjs -o modernizr.min.js modernizr.js + #uglifyjs -o modernizr.min.js modernizr.js + slimit modernizr.js > modernizr.min.js # Drop copyright from minified version since it would get #+only the first stanza. - uglifyjs -nc -o feature-detects.min.js feature-detects.js + #uglifyjs -nc -o feature-detects.min.js feature-detects.js + slimit feature-detects.js > feature-detects.min.js get-orig-source: uscan \
  2. Download patch debian/control

    --- 2.6.2+ds1-1/debian/control 2012-10-12 09:30:34.000000000 +0000 +++ 2.6.2+ds1-1ubuntu1/debian/control 2015-10-24 15:31:05.000000000 +0000 @@ -5,7 +5,7 @@ Maintainer: Debian Javascript Maintainer Uploaders: David Paleino <dapal@debian.org> Build-Depends: debhelper (>= 9~) - , node-uglify + , slimit Standards-Version: 3.9.4 Homepage: http://modernizr.com/ Vcs-Git: git://git.debian.org/pkg-javascript/modernizr.git

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: nodejs

nodejs (4.2.6~dfsg-1ubuntu5) yakkety; urgency=medium * No-change rebuild for libicu soname change. -- Matthias Klose <doko@ubuntu.com> Fri, 22 Apr 2016 22:58:50 +0000 nodejs (4.2.6~dfsg-1ubuntu4) xenial; urgency=medium * Cherrypick https://github.com/andrewlow/node/commit/1cc5c2dad018880c95c41f23570df350e99e4621 to unbreak s390x with gcc 5.3. -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 03 Feb 2016 22:49:58 +0000 nodejs (4.2.6~dfsg-1ubuntu1) xenial; urgency=medium * debian/patches/fix_sslv3_test.patch: properly handle how SSLv3 was disabled in openssl. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 22 Jan 2016 11:08:38 -0500

Modifications :
  1. Download patch .pc/fix_sslv3_test.patch/test/parallel/test-tls-no-sslv3.js

    --- 4.2.6~dfsg-1/.pc/fix_sslv3_test.patch/test/parallel/test-tls-no-sslv3.js 1970-01-01 00:00:00.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/.pc/fix_sslv3_test.patch/test/parallel/test-tls-no-sslv3.js 2016-01-21 18:35:03.000000000 +0000 @@ -0,0 +1,60 @@ +'use strict'; +var common = require('../common'); +var assert = require('assert'); + +if (!common.hasCrypto) { + console.log('1..0 # Skipped: missing crypto'); + return; +} +var tls = require('tls'); + +var fs = require('fs'); +var spawn = require('child_process').spawn; + +if (common.opensslCli === false) { + console.log('1..0 # Skipped: node compiled without OpenSSL CLI.'); + return; +} + +var cert = fs.readFileSync(common.fixturesDir + '/test_cert.pem'); +var key = fs.readFileSync(common.fixturesDir + '/test_key.pem'); +var server = tls.createServer({ cert: cert, key: key }, common.fail); +var errors = []; +var stderr = ''; + +server.listen(common.PORT, '127.0.0.1', function() { + var address = this.address().address + ':' + this.address().port; + var args = ['s_client', + '-no_ssl2', + '-ssl3', + '-no_tls1', + '-no_tls1_1', + '-no_tls1_2', + '-connect', address]; + + // for the performance and stability issue in s_client on Windows + if (common.isWindows) + args.push('-no_rand_screen'); + + var client = spawn(common.opensslCli, args, { stdio: 'pipe' }); + client.stdout.pipe(process.stdout); + client.stderr.pipe(process.stderr); + client.stderr.setEncoding('utf8'); + client.stderr.on('data', data => stderr += data); + + client.once('exit', common.mustCall(function(exitCode) { + assert.equal(exitCode, 1); + server.close(); + })); +}); + +server.on('clientError', err => errors.push(err)); + +process.on('exit', function() { + if (/unknown option -ssl3/.test(stderr)) { + console.log('1..0 # Skipped: `openssl s_client -ssl3` not supported.'); + } else { + assert.equal(errors.length, 1); + assert(/:wrong version number/.test(errors[0].message)); + } +});
  2. Download patch deps/v8/src/s390/code-stubs-s390.cc

    --- 4.2.6~dfsg-1/deps/v8/src/s390/code-stubs-s390.cc 2016-04-26 13:16:54.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/deps/v8/src/s390/code-stubs-s390.cc 2016-04-26 13:16:56.000000000 +0000 @@ -1202,7 +1202,7 @@ void JSEntryStub::Generate(MacroAssemble ProfileEntryHookStub::MaybeCallEntryHook(masm); // saving floating point registers -#if V8_HOST_ARCH_S390X +#if V8_TARGET_ARCH_S390X // 64bit ABI requires f8 to f15 be saved __ lay(sp, MemOperand(sp, -8 * kDoubleSize)); __ std(d8, MemOperand(sp)); @@ -1376,7 +1376,7 @@ void JSEntryStub::Generate(MacroAssemble __ la(sp, MemOperand(sp, 10 * kPointerSize)); // saving floating point registers -#if V8_HOST_ARCH_S390X +#if V8_TARGET_ARCH_S390X // 64bit ABI requires f8 to f15 be saved __ ld(d8, MemOperand(sp)); __ ld(d9, MemOperand(sp, 1 * kDoubleSize));
  3. Download patch debian/patches/fix_sslv3_test.patch

    --- 4.2.6~dfsg-1/debian/patches/fix_sslv3_test.patch 1970-01-01 00:00:00.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/debian/patches/fix_sslv3_test.patch 2016-01-22 16:09:34.000000000 +0000 @@ -0,0 +1,16 @@ +Description: properly handle how SSLv3 was disabled in openssl +Author: Marc Deslauriers <marc.deslauriers@canonical.com> + +Index: nodejs-4.2.6~dfsg/test/parallel/test-tls-no-sslv3.js +=================================================================== +--- nodejs-4.2.6~dfsg.orig/test/parallel/test-tls-no-sslv3.js 2016-01-21 13:35:03.000000000 -0500 ++++ nodejs-4.2.6~dfsg/test/parallel/test-tls-no-sslv3.js 2016-01-22 11:08:27.994379951 -0500 +@@ -53,6 +53,8 @@ + process.on('exit', function() { + if (/unknown option -ssl3/.test(stderr)) { + console.log('1..0 # Skipped: `openssl s_client -ssl3` not supported.'); ++ } else if (/null ssl method passed/.test(stderr)) { ++ console.log('1..0 # Skipped: `openssl s_client -ssl3` is disabled.'); + } else { + assert.equal(errors.length, 1); + assert(/:wrong version number/.test(errors[0].message));
  4. Download patch debian/control

    --- 4.2.6~dfsg-1/debian/control 2016-01-21 22:59:14.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/debian/control 2016-01-22 16:10:00.000000000 +0000 @@ -1,6 +1,7 @@ Source: nodejs Section: web -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: cdbs,
  5. Download patch .pc/1cc5c2dad018880c95c41f23570df350e99e4621.patch/deps/v8/src/s390/code-stubs-s390.cc
  6. Download patch debian/control.in

    --- 4.2.6~dfsg-1/debian/control.in 2016-01-21 22:59:14.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/debian/control.in 2016-01-22 16:10:00.000000000 +0000 @@ -1,6 +1,7 @@ Source: nodejs Section: web -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: @cdbs@
  7. Download patch .pc/applied-patches

    --- 4.2.6~dfsg-1/.pc/applied-patches 2016-04-26 13:16:55.309510274 +0000 +++ 4.2.6~dfsg-1ubuntu5/.pc/applied-patches 2016-04-26 13:16:56.625546768 +0000 @@ -9,3 +9,5 @@ shared_can_build_without_gyp.patch 2016_mips64el.patch 2017_mips_configure_fpu.patch test_ci_buildd.patch +fix_sslv3_test.patch +1cc5c2dad018880c95c41f23570df350e99e4621.patch
  8. Download patch test/parallel/test-tls-no-sslv3.js

    --- 4.2.6~dfsg-1/test/parallel/test-tls-no-sslv3.js 2016-01-21 18:35:03.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/test/parallel/test-tls-no-sslv3.js 2016-04-26 13:16:56.000000000 +0000 @@ -53,6 +53,8 @@ server.on('clientError', err => errors.p process.on('exit', function() { if (/unknown option -ssl3/.test(stderr)) { console.log('1..0 # Skipped: `openssl s_client -ssl3` not supported.'); + } else if (/null ssl method passed/.test(stderr)) { + console.log('1..0 # Skipped: `openssl s_client -ssl3` is disabled.'); } else { assert.equal(errors.length, 1); assert(/:wrong version number/.test(errors[0].message));
  9. Download patch debian/patches/series

    --- 4.2.6~dfsg-1/debian/patches/series 2016-01-21 22:59:14.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/debian/patches/series 2016-02-03 22:49:42.000000000 +0000 @@ -9,3 +9,5 @@ shared_can_build_without_gyp.patch 2016_mips64el.patch 2017_mips_configure_fpu.patch test_ci_buildd.patch +fix_sslv3_test.patch +1cc5c2dad018880c95c41f23570df350e99e4621.patch
  10. Download patch debian/patches/1cc5c2dad018880c95c41f23570df350e99e4621.patch

    --- 4.2.6~dfsg-1/debian/patches/1cc5c2dad018880c95c41f23570df350e99e4621.patch 1970-01-01 00:00:00.000000000 +0000 +++ 4.2.6~dfsg-1ubuntu5/debian/patches/1cc5c2dad018880c95c41f23570df350e99e4621.patch 2016-02-03 22:49:54.000000000 +0000 @@ -0,0 +1,31 @@ +From 1cc5c2dad018880c95c41f23570df350e99e4621 Mon Sep 17 00:00:00 2001 +From: Richard Lau <riclau@uk.ibm.com> +Date: Wed, 3 Feb 2016 14:22:42 -0500 +Subject: [PATCH] deps/v8z: Update to tag export-4.5-to-node-2016-02-03 + +--- + deps/v8z/src/s390/code-stubs-s390.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/deps/v8z/src/s390/code-stubs-s390.cc b/deps/v8z/src/s390/code-stubs-s390.cc +index 2205bcb..4fe03ae 100644 +--- a/deps/v8/src/s390/code-stubs-s390.cc ++++ b/deps/v8/src/s390/code-stubs-s390.cc +@@ -1202,7 +1202,7 @@ void JSEntryStub::Generate(MacroAssembler* masm) { + ProfileEntryHookStub::MaybeCallEntryHook(masm); + + // saving floating point registers +-#if V8_HOST_ARCH_S390X ++#if V8_TARGET_ARCH_S390X + // 64bit ABI requires f8 to f15 be saved + __ lay(sp, MemOperand(sp, -8 * kDoubleSize)); + __ std(d8, MemOperand(sp)); +@@ -1376,7 +1376,7 @@ void JSEntryStub::Generate(MacroAssembler* masm) { + __ la(sp, MemOperand(sp, 10 * kPointerSize)); + + // saving floating point registers +-#if V8_HOST_ARCH_S390X ++#if V8_TARGET_ARCH_S390X + // 64bit ABI requires f8 to f15 be saved + __ ld(d8, MemOperand(sp)); + __ ld(d9, MemOperand(sp, 1 * kDoubleSize));

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: npm

npm (3.5.2-0ubuntu4) xenial; urgency=medium * Also make npm-cli.js executable. LP: #1523947 -- LaMont Jones <lamont.jones@canonical.com> Mon, 07 Dec 2015 12:36:45 -0700 npm (3.5.2-0ubuntu3) xenial; urgency=medium * More binaries executable. -- LaMont Jones <lamont.jones@canonical.com> Mon, 07 Dec 2015 11:58:48 -0700 npm (3.5.2-0ubuntu2) xenial; urgency=medium * Fix bin/npm-cli.js to be executable. -- Blake Rouse <blake.rouse@canonical.com> Mon, 07 Dec 2015 12:31:18 -0400 npm (3.5.2-0ubuntu1) xenial; urgency=medium * Imported Upstream version 3.5.2. * Fix patches to applie to the new upstream version. Remove 2008 patch as its already been fixed upstream. Rename 2009 and 2010 patches to stay in order. -- Blake Rouse <blake.rouse@canonical.com> Thu, 03 Dec 2015 00:28:58 -0400

Modifications :
  1. Download patch doc/cli/npm-dist-tag.md

    --- 1.4.21+ds-2/doc/cli/npm-dist-tag.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-dist-tag.md 2015-12-07 16:00:46.000000000 +0000 @@ -0,0 +1,72 @@ +npm-dist-tag(1) -- Modify package distribution tags +=================================================== + +## SYNOPSIS + + npm dist-tag add <pkg>@<version> [<tag>] + npm dist-tag rm <pkg> <tag> + npm dist-tag ls [<pkg>] + +## DESCRIPTION + +Add, remove, and enumerate distribution tags on a package: + +* add: + Tags the specified version of the package with the specified tag, or the + `--tag` config if not specified. + +* rm: + Clear a tag that is no longer in use from the package. + +* ls: + Show all of the dist-tags for a package, defaulting to the package in + the current prefix. + +A tag can be used when installing packages as a reference to a version instead +of using a specific version number: + + npm install <name>@<tag> + +When installing dependencies, a preferred tagged version may be specified: + + npm install --tag <tag> + +This also applies to `npm dedupe`. + +Publishing a package sets the "latest" tag to the published version unless the +`--tag` option is used. For example, `npm publish --tag=beta`. + +## PURPOSE + +Tags can be used to provide an alias instead of version numbers. For +example, `npm` currently uses the tag "next" to identify the upcoming +version, and the tag "latest" to identify the current version. + +A project might choose to have multiple streams of development, e.g., +"stable", "canary". + +## CAVEATS + +This command used to be known as `npm tag`, which only created new tags, and so +had a different syntax. + +Tags must share a namespace with version numbers, because they are specified in +the same slot: `npm install <pkg>@<version>` vs `npm install <pkg>@<tag>`. + +Tags that can be interpreted as valid semver ranges will be rejected. For +example, `v1.4` cannot be used as a tag, because it is interpreted by semver as +`>=1.4.0 <1.5.0`. See <https://github.com/npm/npm/issues/6082>. + +The simplest way to avoid semver problems with tags is to use tags that do not +begin with a number or the letter `v`. + +## SEE ALSO + +* npm-tag(1) +* npm-publish(1) +* npm-install(1) +* npm-dedupe(1) +* npm-registry(7) +* npm-config(1) +* npm-config(7) +* npmrc(5)
  2. Download patch doc/cli/npm-adduser.md

    --- 1.4.21+ds-2/doc/cli/npm-adduser.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-adduser.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,22 +3,26 @@ npm-adduser(1) -- Add a registry user ac ## SYNOPSIS - npm adduser + npm adduser [--registry=url] [--scope=@orgname] [--always-auth] ## DESCRIPTION -Create or verify a user named `<username>` in the npm registry, and -save the credentials to the `.npmrc` file. +Create or verify a user named `<username>` in the specified registry, and +save the credentials to the `.npmrc` file. If no registry is specified, +the default registry will be used (see `npm-config(7)`). The username, password, and email are read in from prompts. -You may use this command to change your email address, but not username -or password. +To reset your password, go to <https://www.npmjs.com/forgot> -To reset your password, go to <https://npmjs.org/forgot> +To change your email address, go to <https://www.npmjs.com/email-edit> You may use this command multiple times with the same user account to -authorize on a new machine. +authorize on a new machine. When authenticating on a new machine, +the username, password and email address must all match with +your existing record. + +`npm login` is an alias to `adduser` and behaves exactly the same way. ## CONFIGURATION @@ -26,7 +30,36 @@ authorize on a new machine. Default: http://registry.npmjs.org/ -The base URL of the npm package registry. +The base URL of the npm package registry. If `scope` is also specified, +this registry will only be used for packages with that scope. See `npm-scope(7)`. + +### scope + +Default: none + +If specified, the user and login credentials given will be associated +with the specified scope. See `npm-scope(7)`. You can use both at the same time, +e.g. + + npm adduser --registry=http://myregistry.example.com --scope=@myco + +This will set a registry for the given scope and login or create a user for +that registry at the same time. + +### always-auth + +Default: false + +If specified, save configuration indicating that all requests to the given +registry should include authorization information. Useful for private +registries. Can be used with `--registry` and / or `--scope`, e.g. + + npm adduser --registry=http://private-registry.example.com --always-auth + +This will ensure that all requests to that registry (including for tarballs) +include an authorization header. See `always-auth` in `npm-config(7)` for more +details on always-auth. Registry-specific configuration of `always-auth` takes +precedence over any global configuration. ## SEE ALSO
  3. Download patch doc/api/npm-test.md

    --- 1.4.21+ds-2/doc/api/npm-test.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-test.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -npm-test(3) -- Test a package -============================= - -## SYNOPSIS - - npm.commands.test(packages, callback) - -## DESCRIPTION - -This runs a package's "test" script, if one was provided. - -To run tests as a condition of installation, set the `npat` config to -true. - -npm can run tests on multiple packages. Just specify multiple packages -in the `packages` parameter.
  4. Download patch doc/api/npm-rebuild.md

    --- 1.4.21+ds-2/doc/api/npm-rebuild.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-rebuild.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -npm-rebuild(3) -- Rebuild a package -=================================== - -## SYNOPSIS - - npm.commands.rebuild([packages,] callback) - -## DESCRIPTION - -This command runs the `npm build` command on each of the matched packages. This is useful -when you install a new version of node, and must recompile all your C++ addons with -the new binary. If no 'packages' parameter is specify, every package will be rebuilt. - -## CONFIGURATION - -See `npm help build`
  5. Download patch debian/patches/2010_privacy_breach_travis.patch

    --- 1.4.21+ds-2/debian/patches/2010_privacy_breach_travis.patch 2014-07-28 23:24:52.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2010_privacy_breach_travis.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Description: remove remote image from README.md to avoid privacy breach - The README.md is converted to html and is part of the installed docs. -Forwarded: not-needed -Author: Jérémy Lal <kapouer@melix.org> -Last-Update: 2014-07-29 ---- a/README.md -+++ b/README.md -@@ -1,6 +1,6 @@ - npm(1) -- node package manager - ============================== --[![Build Status](https://img.shields.io/travis/npm/npm/master.svg)](https://travis-ci.org/npm/npm) -+[Build Status](https://travis-ci.org/npm/npm) - ## SYNOPSIS - - This is just enough info to get you up and running.
  6. Download patch doc/cli/npm-bin.md

    --- 1.4.21+ds-2/doc/cli/npm-bin.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-bin.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-bin(1) -- Display npm bin folder ## SYNOPSIS - npm bin + npm bin [-g|--global] ## DESCRIPTION
  7. Download patch doc/api/npm-stop.md

    --- 1.4.21+ds-2/doc/api/npm-stop.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-stop.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -npm-stop(3) -- Stop a package -============================= - -## SYNOPSIS - - npm.commands.stop(packages, callback) - -## DESCRIPTION - -This runs a package's "stop" script, if one was provided. - -npm can run stop on multiple packages. Just specify multiple packages -in the `packages` parameter.
  8. Download patch doc/api/npm-cache.md

    --- 1.4.21+ds-2/doc/api/npm-cache.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-cache.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -npm-cache(3) -- manage the npm cache programmatically -===================================================== - -## SYNOPSIS - - npm.commands.cache([args], callback) - - // helpers - npm.commands.cache.clean([args], callback) - npm.commands.cache.add([args], callback) - npm.commands.cache.read(name, version, forceBypass, callback) - -## DESCRIPTION - -This acts much the same ways as the npm-cache(1) command line -functionality. - -The callback is called with the package.json data of the thing that is -eventually added to or read from the cache. - -The top level `npm.commands.cache(...)` functionality is a public -interface, and like all commands on the `npm.commands` object, it will -match the command line behavior exactly. - -However, the cache folder structure and the cache helper functions are -considered **internal** API surface, and as such, may change in future -releases of npm, potentially without warning or significant version -incrementation. - -Use at your own risk.
  9. Download patch doc/cli/npm-logout.md

    --- 1.4.21+ds-2/doc/cli/npm-logout.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-logout.md 2015-12-07 16:00:46.000000000 +0000 @@ -0,0 +1,50 @@ +npm-logout(1) -- Log out of the registry +======================================== + +## SYNOPSIS + + npm logout [--registry=<url>] [--scope=<@scope>] + +## DESCRIPTION + +When logged into a registry that supports token-based authentication, tell the +server to end this token's session. This will invalidate the token everywhere +you're using it, not just for the current environment. + +When logged into a legacy registry that uses username and password authentication, this will +clear the credentials in your user configuration. In this case, it will _only_ affect +the current environment. + +If `--scope` is provided, this will find the credentials for the registry +connected to that scope, if set. + +## CONFIGURATION + +### registry + +Default: http://registry.npmjs.org/ + +The base URL of the npm package registry. If `scope` is also specified, +it takes precedence. + +### scope + +Default: none + +If specified, the user and login credentials given will be associated +with the specified scope. See `npm-scope(7)`. You can use both at the same time, +e.g. + + npm adduser --registry=http://myregistry.example.com --scope=@myco + +This will set a registry for the given scope and login or create a user for +that registry at the same time. + +## SEE ALSO + +* npm-adduser(1) +* npm-registry(7) +* npm-config(1) +* npm-config(7) +* npmrc(5) +* npm-whoami(1)
  10. Download patch doc/api/npm-bin.md

    --- 1.4.21+ds-2/doc/api/npm-bin.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-bin.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -npm-bin(3) -- Display npm bin folder -==================================== - -## SYNOPSIS - - npm.commands.bin(args, cb) - -## DESCRIPTION - -Print the folder where npm will install executables. - -This function should not be used programmatically. Instead, just refer -to the `npm.bin` member.
  11. Download patch doc/cli/npm-dedupe.md

    --- 1.4.21+ds-2/doc/cli/npm-dedupe.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-dedupe.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,8 +3,8 @@ npm-dedupe(1) -- Reduce duplication ## SYNOPSIS - npm dedupe [package names...] - npm ddp [package names...] + npm dedupe + npm ddp ## DESCRIPTION @@ -31,25 +31,20 @@ Because of the hierarchical nature of no will both get their dependency met by the single c package at the root level of the tree. +The deduplication algorithm walks the tree, moving each dependency as far +up in the tree as possible, even if duplicates are not found. This will +result in both a flat and deduplicated tree. + If a suitable version exists at the target location in the tree already, then it will be left untouched, but the other duplicates will be deleted. -If no suitable version can be found, then a warning is printed, and -nothing is done. - -If any arguments are supplied, then they are filters, and only the -named packages will be touched. - -Note that this operation transforms the dependency tree, and may -result in packages getting updated versions, perhaps from the npm -registry. +Arguments are ignored. Dedupe always acts on the entire tree. -This feature is experimental, and may change in future versions. +Modules -The `--tag` argument will apply to all of the affected dependencies. If a -tag with the given name exists, the tagged version is preferred over newer -versions. +Note that this operation transforms the dependency tree, but will never +result in new modules being installed. ## SEE ALSO
  12. Download patch doc/api/npm-help-search.md

    --- 1.4.21+ds-2/doc/api/npm-help-search.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-help-search.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -npm-help-search(3) -- Search the help pages -=========================================== - -## SYNOPSIS - - npm.commands.helpSearch(args, [silent,] callback) - -## DESCRIPTION - -This command is rarely useful, but it exists in the rare case that it is. - -This command takes an array of search terms and returns the help pages that -match in order of best match. - -If there is only one match, then npm displays that help section. If there -are multiple results, the results are printed to the screen formatted and the -array of results is returned. Each result is an object with these properties: - -* hits: - A map of args to number of hits on that arg. For example, {"npm": 3} -* found: - Total number of unique args that matched. -* totalHits: - Total number of hits. -* lines: - An array of all matching lines (and some adjacent lines). -* file: - Name of the file that matched - -The silent parameter is not neccessary not used, but it may in the future.
  13. Download patch doc/cli/npm-init.md

    --- 1.4.21+ds-2/doc/cli/npm-init.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-init.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-init(1) -- Interactively create a pa ## SYNOPSIS - npm init + npm init [-f|--force|-y|--yes] ## DESCRIPTION @@ -18,8 +18,21 @@ the options in there. It is strictly additive, so it does not delete options from your package.json without a really good reason to do so. +If you invoke it with `-f`, `--force`, `-y`, or `--yes`, it will use only +defaults and not prompt you for any options. + +## CONFIGURATION + +### scope + +* Default: none +* Type: String + +The scope under which the new module should be created. + ## SEE ALSO * <https://github.com/isaacs/init-package-json> * package.json(5) * npm-version(1) +* npm-scope(7)
  14. Download patch doc/api/npm-update.md

    --- 1.4.21+ds-2/doc/api/npm-update.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-update.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -npm-update(3) -- Update a package -================================= - -## SYNOPSIS - npm.commands.update(packages, callback) - -# DESCRIPTION - -Updates a package, upgrading it to the latest version. It also installs any missing packages. - -The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.
  15. Download patch doc/api/npm.md

    --- 1.4.21+ds-2/doc/api/npm.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,116 +0,0 @@ -npm(3) -- node package manager -============================== - -## SYNOPSIS - - var npm = require("npm") - npm.load([configObject, ]function (er, npm) { - // use the npm object, now that it's loaded. - - npm.config.set(key, val) - val = npm.config.get(key) - - console.log("prefix = %s", npm.prefix) - - npm.commands.install(["package"], cb) - }) - -## VERSION - -@VERSION@ - -## DESCRIPTION - -This is the API documentation for npm. -To find documentation of the command line -client, see `npm(1)`. - -Prior to using npm's commands, `npm.load()` must be called. -If you provide `configObject` as an object hash of top-level -configs, they override the values stored in the various config -locations. In the npm command line client, this set of configs -is parsed from the command line options. Additional configuration -params are loaded from two configuration files. See `npm-config(1)`, -`npm-config(7)`, and `npmrc(5)` for more information. - -After that, each of the functions are accessible in the -commands object: `npm.commands.<cmd>`. See `npm-index(7)` for a list of -all possible commands. - -All commands on the command object take an **array** of positional argument -**strings**. The last argument to any function is a callback. Some -commands take other optional arguments. - -Configs cannot currently be set on a per function basis, as each call to -npm.config.set will change the value for *all* npm commands in that process. - -To find API documentation for a specific command, run the `npm apihelp` -command. - -## METHODS AND PROPERTIES - -* `npm.load(configs, cb)` - - Load the configuration params, and call the `cb` function once the - globalconfig and userconfig files have been loaded as well, or on - nextTick if they've already been loaded. - -* `npm.config` - - An object for accessing npm configuration parameters. - - * `npm.config.get(key)` - * `npm.config.set(key, val)` - * `npm.config.del(key)` - -* `npm.dir` or `npm.root` - - The `node_modules` directory where npm will operate. - -* `npm.prefix` - - The prefix where npm is operating. (Most often the current working - directory.) - -* `npm.cache` - - The place where npm keeps JSON and tarballs it fetches from the - registry (or uploads to the registry). - -* `npm.tmp` - - npm's temporary working directory. - -* `npm.deref` - - Get the "real" name for a command that has either an alias or - abbreviation. - -## MAGIC - -For each of the methods in the `npm.commands` hash, a method is added to -the npm object, which takes a set of positional string arguments rather -than an array and a callback. - -If the last argument is a callback, then it will use the supplied -callback. However, if no callback is provided, then it will print out -the error or results. - -For example, this would work in a node repl: - - > npm = require("npm") - > npm.load() // wait a sec... - > npm.install("dnode", "express") - -Note that that *won't* work in a node program, since the `install` -method will get called before the configuration load is completed. - -## ABBREVS - -In order to support `npm ins foo` instead of `npm install foo`, the -`npm.commands` object has a set of abbreviations as well as the full -method names. Use the `npm.deref` method to find the real name. - -For example: - - var cmd = npm.deref("unp") // cmd === "unpublish"
  16. Download patch debian/patches/2009_ansi-color-table.patch

    --- 1.4.21+ds-2/debian/patches/2009_ansi-color-table.patch 2014-08-05 21:54:37.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2009_ansi-color-table.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -Description: use ansi-color-table instead of text-table, and ansi instead of ansicolors, ansistyles - node-ansi is already available in debian, it's easier to depend on it and it's been patched to - be a drop-in replacement of ansicolors and ansistyles. -Author: Jérémy Lal <kapouer@melix.org> -Forwarded: not-needed, waiting for upstream ansi.js to accept patch -Last-Update: 2014-08-05 ---- a/lib/outdated.js -+++ b/lib/outdated.js -@@ -29,9 +29,9 @@ - , npm = require("./npm.js") - , url = require("url") - , isGitUrl = require("./utils/is-git-url.js") -- , color = require("ansicolors") -- , styles = require("ansistyles") -- , table = require("text-table") -+ , color = require("ansi") -+ , styles = color -+ , table = require("ansi-color-table") - , semver = require("semver") - , os = require("os") - ---- a/lib/help-search.js -+++ b/lib/help-search.js -@@ -6,7 +6,7 @@ - , asyncMap = require("slide").asyncMap - , npm = require("./npm.js") - , glob = require("glob") -- , color = require("ansicolors") -+ , color = require("ansi") - - helpSearch.usage = "npm help-search <text>" - ---- a/lib/ls.js -+++ b/lib/ls.js -@@ -15,7 +15,7 @@ - , semver = require("semver") - , url = require("url") - , isGitUrl = require("./utils/is-git-url.js") -- , color = require("ansicolors") -+ , color = require("ansi") - - ls.usage = "npm ls" -
  17. Download patch doc/cli/npm-link.md

    --- 1.4.21+ds-2/doc/cli/npm-link.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-link.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,16 +3,18 @@ npm-link(1) -- Symlink a package folder ## SYNOPSIS - npm link (in package folder) - npm link <pkgname> - npm ln (with any of the previous argument usage) + npm link (in package dir) + npm link [<@scope>/]<pkg>[@<version>] + + alias: npm ln ## DESCRIPTION Package linking is a two-step process. First, `npm link` in a package folder will create a globally-installed -symbolic link from `prefix/package-name` to the current folder. +symbolic link from `prefix/package-name` to the current folder (see +`npm-config(7)` for the value of `prefix`). Next, in some other location, `npm link package-name` will create a symlink from the local `node_modules` folder to the global symlink. @@ -20,12 +22,14 @@ symlink from the local `node_modules` fo Note that `package-name` is taken from `package.json`, not from directory name. +The package name can be optionally prefixed with a scope. See `npm-scope(7)`. +The scope must be preceded by an @-symbol and followed by a slash. + When creating tarballs for `npm publish`, the linked packages are "snapshotted" to their current state by resolving the symbolic links. -This is -handy for installing your own stuff, so that you can work on it and test it -iteratively without having to continually rebuild. +This is handy for installing your own stuff, so that you can work on it and +test it iteratively without having to continually rebuild. For example: @@ -35,7 +39,8 @@ For example: npm link redis # link-install the package Now, any changes to ~/projects/node-redis will be reflected in -~/projects/node-bloggy/node_modules/redis/ +~/projects/node-bloggy/node_modules/node-redis/. Note that the link should +be to the package name, not the directory name for that package. You may also shortcut the two steps in one. For example, to do the above use-case in a shorter way: @@ -46,11 +51,16 @@ above use-case in a shorter way: The second line is the equivalent of doing: (cd ../node-redis; npm link) - npm link redis + npm link node-redis That is, it first creates a global link, and then links the global installation target into your project's `node_modules` folder. +If your linked package is scoped (see `npm-scope(7)`) your link command must +include that scope, e.g. + + npm link @myorg/privatepackage + ## SEE ALSO * npm-developers(7)
  18. Download patch debian/doc-base.api

    --- 1.4.21+ds-2/debian/doc-base.api 2014-07-28 22:34:47.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/doc-base.api 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -Document: npm-api -Title: Npm API documentation -Author: Isaac Z. Schlueter -Abstract: This describes the API of npm. -Section: Programming - -Format: HTML -Index: /usr/share/doc/npm/api/npm.html -Files: /usr/share/doc/npm/api/*.html \ No newline at end of file
  19. Download patch doc/api/npm-commands.md

    --- 1.4.21+ds-2/doc/api/npm-commands.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-commands.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -npm-commands(3) -- npm commands -=============================== - -## SYNOPSIS - - npm.commands[<command>](args, callback) - -## DESCRIPTION - -npm comes with a full set of commands, and each of the commands takes a -similar set of arguments. - -In general, all commands on the command object take an **array** of positional -argument **strings**. The last argument to any function is a callback. Some -commands are special and take other optional arguments. - -All commands have their own man page. See `man npm-<command>` for command-line -usage, or `man 3 npm-<command>` for programmatic usage. - -## SEE ALSO - -* npm-index(7)
  20. Download patch CONTRIBUTING.md

    --- 1.4.21+ds-2/CONTRIBUTING.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/CONTRIBUTING.md 2015-12-07 16:00:46.000000000 +0000 @@ -7,3 +7,6 @@ issues](https://github.com/npm/npm/search?q=Similar%20issues&type=Issues). * Ensure your new issue conforms to the [Contributing Guidelines](https://github.com/npm/npm/wiki/Contributing-Guidelines). + +Participation in this open source project is subject to the [npm Code +of Conduct](http://www.npmjs.com/policies/conduct).
  21. Download patch doc/cli/npm-rebuild.md

    --- 1.4.21+ds-2/doc/cli/npm-rebuild.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-rebuild.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,11 +3,9 @@ npm-rebuild(1) -- Rebuild a package ## SYNOPSIS - npm rebuild [<name> [<name> ...]] - npm rb [<name> [<name> ...]] + npm rebuild [[<@scope>/<name>]...] -* `<name>`: - The package to rebuild + alias: npm rb ## DESCRIPTION
  22. Download patch doc/api/npm-search.md

    --- 1.4.21+ds-2/doc/api/npm-search.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-search.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -npm-search(3) -- Search for packages -==================================== - -## SYNOPSIS - - npm.commands.search(searchTerms, [silent,] [staleness,] callback) - -## DESCRIPTION - -Search the registry for packages matching the search terms. The available parameters are: - -* searchTerms: - Array of search terms. These terms are case-insensitive. -* silent: - If true, npm will not log anything to the console. -* staleness: - This is the threshold for stale packages. "Fresh" packages are not refreshed - from the registry. This value is measured in seconds. -* callback: - Returns an object where each key is the name of a package, and the value - is information about that package along with a 'words' property, which is - a space-delimited string of all of the interesting words in that package. - The only properties included are those that are searched, which generally include: - - * name - * description - * maintainers - * url - * keywords - -A search on the registry excludes any result that does not match all of the -search terms. It also removes any items from the results that contain an -excluded term (the "searchexclude" config). The search is case insensitive -and doesn't try to read your mind (it doesn't do any verb tense matching or the -like).
  23. Download patch doc/api/npm-run-script.md

    --- 1.4.21+ds-2/doc/api/npm-run-script.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-run-script.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -npm-run-script(3) -- Run arbitrary package scripts -================================================== - -## SYNOPSIS - - npm.commands.run-script(args, callback) - -## DESCRIPTION - -This runs an arbitrary command from a package's "scripts" object. - -It is used by the test, start, restart, and stop commands, but can be -called directly, as well. - -The 'args' parameter is an array of strings. Behavior depends on the number -of elements. If there is only one element, npm assumes that the element -represents a command to be run on the local repository. If there is more than -one element, then the first is assumed to be the package and the second is -assumed to be the command to run. All other elements are ignored. - -## SEE ALSO - -* npm-scripts(7) -* npm-test(3) -* npm-start(3) -* npm-restart(3) -* npm-stop(3)
  24. Download patch debian/rules

    --- 1.4.21+ds-2/debian/rules 2014-07-28 23:10:28.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/rules 2015-12-07 19:36:23.000000000 +0000 @@ -24,16 +24,16 @@ install/npm:: # Fix permissions # Remove LICENSE files. -binary-post-install/npm:: +binary-fixup/npm:: + dh_fixperms + chmod a+x debian/npm/usr/share/npm/node_modules/*/bin/* + chmod a+x debian/npm/usr/share/npm/bin/npm-cli.js chmod a-x debian/npm/usr/share/npm/bin/read-package-json.js chmod a-x debian/npm/usr/share/npm/lib/utils/completion.sh chmod a-x debian/npm/usr/share/npm/node_modules/uid-number/get-uid-gid.js - chmod a-x debian/npm/usr/share/npm/node_modules/npmconf/node_modules/config-chain/index.js sed -i -e "s|#!/usr/bin/env node|#!/usr/bin/nodejs|" \ - debian/npm/usr/share/npm/node_modules/opener/opener.js \ - debian/npm/usr/share/npm/node_modules/columnify/node_modules/strip-ansi/cli.js + debian/npm/usr/share/npm/node_modules/opener/opener.js find debian/npm -name LICENSE -delete find debian/npm -name LICENCE -delete find debian/npm -name LICENSE.txt -delete find debian/npm -name LICENSE.md -delete -
  25. Download patch doc/cli/npm.md

    --- 1.4.21+ds-2/doc/cli/npm.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm.md 2015-12-07 16:00:46.000000000 +0000 @@ -1,5 +1,5 @@ -npm(1) -- node package manager -============================== +npm(1) -- javascript package manager +==================================== ## SYNOPSIS @@ -61,7 +61,7 @@ In particular, npm has two modes of oper defaults to the current working directory. Packages are installed to `./node_modules`, and bins are installed to `./node_modules/.bin`. -Local mode is the default. Use `--global` or `-g` on any command to +Local mode is the default. Use `-g` or `--global` on any command to operate in global mode instead. ## DEVELOPER USAGE
  26. Download patch doc/cli/npm-deprecate.md

    --- 1.4.21+ds-2/doc/cli/npm-deprecate.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-deprecate.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-deprecate(1) -- Deprecate a version ## SYNOPSIS - npm deprecate <name>[@<version>] <message> + npm deprecate <pkg>[@<version>] <message> ## DESCRIPTION
  27. Download patch doc/api/npm-tag.md

    --- 1.4.21+ds-2/doc/api/npm-tag.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-tag.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -npm-tag(3) -- Tag a published version -===================================== - -## SYNOPSIS - - npm.commands.tag(package@version, tag, callback) - -## DESCRIPTION - -Tags the specified version of the package with the specified tag, or the -`--tag` config if not specified. - -The 'package@version' is an array of strings, but only the first two elements are -currently used. - -The first element must be in the form package@version, where package -is the package name and version is the version number (much like installing a -specific version). - -The second element is the name of the tag to tag this version with. If this -parameter is missing or falsey (empty), the default froom the config will be -used. For more information about how to set this config, check -`man 3 npm-config` for programmatic usage or `man npm-config` for cli usage.
  28. Download patch doc/api/npm-init.md

    --- 1.4.21+ds-2/doc/api/npm-init.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-init.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,29 +0,0 @@ -npm init(3) -- Interactively create a package.json file -======================================================= - -## SYNOPSIS - - npm.commands.init(args, callback) - -## DESCRIPTION - -This will ask you a bunch of questions, and then write a package.json for you. - -It attempts to make reasonable guesses about what you want things to be set to, -and then writes a package.json file with the options you've selected. - -If you already have a package.json file, it'll read that first, and default to -the options in there. - -It is strictly additive, so it does not delete options from your package.json -without a really good reason to do so. - -Since this function expects to be run on the command-line, it doesn't work very -well as a programmatically. The best option is to roll your own, and since -JavaScript makes it stupid simple to output formatted JSON, that is the -preferred method. If you're sure you want to handle command-line prompting, -then go ahead and use this programmatically. - -## SEE ALSO - -package.json(5)
  29. Download patch debian/install

    --- 1.4.21+ds-2/debian/install 2014-07-29 02:19:23.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/install 2015-12-07 18:23:44.000000000 +0000 @@ -1,4 +1,4 @@ -lib/*.js usr/share/npm/lib +lib/* usr/share/npm/lib lib/cache usr/share/npm/lib lib/utils/*.js usr/share/npm/lib/utils lib/utils/completion usr/share/npm/lib/utils
  30. Download patch doc/api/npm-load.md

    --- 1.4.21+ds-2/doc/api/npm-load.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-load.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -npm-load(3) -- Load config settings -=================================== - -## SYNOPSIS - - npm.load(conf, cb) - -## DESCRIPTION - -npm.load() must be called before any other function call. Both parameters are -optional, but the second is recommended. - -The first parameter is an object hash of command-line config params, and the -second parameter is a callback that will be called when npm is loaded and -ready to serve. - -The first parameter should follow a similar structure as the package.json -config object. - -For example, to emulate the --dev flag, pass an object that looks like this: - - { - "dev": true - } - -For a list of all the available command-line configs, see `npm help config`
  31. Download patch doc/api/npm-explore.md

    --- 1.4.21+ds-2/doc/api/npm-explore.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-explore.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -npm-explore(3) -- Browse an installed package -============================================= - -## SYNOPSIS - - npm.commands.explore(args, callback) - -## DESCRIPTION - -Spawn a subshell in the directory of the installed package specified. - -If a command is specified, then it is run in the subshell, which then -immediately terminates. - -Note that the package is *not* automatically rebuilt afterwards, so be -sure to use `npm rebuild <pkg>` if you make any changes. - -The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.
  32. Download patch doc/cli/npm-publish.md

    --- 1.4.21+ds-2/doc/cli/npm-publish.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-publish.md 2015-12-07 16:00:46.000000000 +0000 @@ -4,12 +4,20 @@ npm-publish(1) -- Publish a package ## SYNOPSIS - npm publish <tarball> [--tag <tag>] - npm publish <folder> [--tag <tag>] + npm publish [<tarball>|<folder>] [--tag <tag>] [--access <public|restricted>] + + Publishes '.' if no argument supplied + Sets tag 'latest' if no --tag specified ## DESCRIPTION -Publishes a package to the registry so that it can be installed by name. +Publishes a package to the registry so that it can be installed by name. See +`npm-developers(7)` for details on what's included in the published package, as +well as details on how the package is built. + +By default npm will publish to the public registry. This can be overridden by +specifying a different default registry or using a `npm-scope(7)` in the name +(see `package.json(5)`). * `<folder>`: A folder containing a package.json file @@ -23,8 +31,14 @@ Publishes a package to the registry so t <name>@<tag>` will install this version. By default, `npm publish` updates and `npm install` installs the `latest` tag. +* `[--access <public|restricted>]` + Tells the registry whether this package should be published as public or + restricted. Only applies to scoped packages, which default to `restricted`. + If you don't have a paid account, you must publish with `--access public` + to publish scoped packages. + Fails if the package name and version combination already exists in -the registry. +the specified registry. Once a package is published with a given name and version, that specific name and version combination can never be used again, even if @@ -33,6 +47,7 @@ it is removed with npm-unpublish(1). ## SEE ALSO * npm-registry(7) +* npm-scope(7) * npm-adduser(1) * npm-owner(1) * npm-deprecate(1)
  33. Download patch debian/patches/2008_do_not_require_child-process-close.patch

    --- 1.4.21+ds-2/debian/patches/2008_do_not_require_child-process-close.patch 2014-07-28 22:54:17.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2008_do_not_require_child-process-close.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Description: child-process-close is not needed with nodejs 0.10.x -Author: Jérémy Lal <kapouer@melix.org> -Forwarded: not-needed -Last-Update: 2013-09-08 ---- a/lib/npm.js -+++ b/lib/npm.js -@@ -12,7 +12,7 @@ - - - // monkey-patch support for 0.6 child processes --require('child-process-close') -+// require('child-process-close') - - var EventEmitter = require("events").EventEmitter - , npm = module.exports = new EventEmitter()
  34. Download patch changelogs/CHANGELOG-2.md
  35. Download patch doc/cli/npm-install.md
  36. Download patch doc/api/npm-link.md

    --- 1.4.21+ds-2/doc/api/npm-link.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-link.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -npm-link(3) -- Symlink a package folder -======================================= - -## SYNOPSIS - - npm.commands.link(callback) - npm.commands.link(packages, callback) - -## DESCRIPTION - -Package linking is a two-step process. - -Without parameters, link will create a globally-installed -symbolic link from `prefix/package-name` to the current folder. - -With a parameters, link will create a symlink from the local `node_modules` -folder to the global symlink. - -When creating tarballs for `npm publish`, the linked packages are -"snapshotted" to their current state by resolving the symbolic links. - -This is -handy for installing your own stuff, so that you can work on it and test it -iteratively without having to continually rebuild. - -For example: - - npm.commands.link(cb) # creates global link from the cwd - # (say redis package) - npm.commands.link('redis', cb) # link-install the package - -Now, any changes to the redis package will be reflected in -the package in the current working directory
  37. Download patch doc/api/npm-root.md

    --- 1.4.21+ds-2/doc/api/npm-root.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-root.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -npm-root(3) -- Display npm root -=============================== - -## SYNOPSIS - - npm.commands.root(args, callback) - -## DESCRIPTION - -Print the effective `node_modules` folder to standard out. - -'args' is never used and callback is never called with data. -'args' must be present or things will break. - -This function is not useful programmatically.
  38. Download patch doc/api/npm-prune.md

    --- 1.4.21+ds-2/doc/api/npm-prune.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-prune.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -npm-prune(3) -- Remove extraneous packages -========================================== - -## SYNOPSIS - - npm.commands.prune([packages,] callback) - -## DESCRIPTION - -This command removes "extraneous" packages. - -The first parameter is optional, and it specifies packages to be removed. - -No packages are specified, then all packages will be checked. - -Extraneous packages are packages that are not listed on the parent -package's dependencies list.
  39. Download patch bin/npm-cli.js

    --- 1.4.21+ds-2/bin/npm-cli.js 2015-12-08 18:08:06.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/npm-cli.js 2015-12-08 18:08:06.000000000 +0000 @@ -1,86 +1,76 @@ #!/usr/bin/nodejs ;(function () { // wrapper in case we're in module_context mode -// windows: running "npm blah" in this folder will invoke WSH, not node. -if (typeof WScript !== "undefined") { - WScript.echo("npm does not work when run\n" - +"with the Windows Scripting Host\n\n" - +"'cd' to a different directory,\n" - +"or type 'npm.cmd <args>',\n" - +"or type 'node npm <args>'.") - WScript.quit(1) - return -} - - -process.title = "npm" - -var log = require("npmlog") -log.pause() // will be unpaused when config is loaded. -log.info("it worked if it ends with", "ok") - -var fs = require("graceful-fs") - , path = require("path") - , npm = require("../lib/npm.js") - , npmconf = require("npmconf") - , errorHandler = require("../lib/utils/error-handler.js") - - , configDefs = npmconf.defs - , shorthands = configDefs.shorthands - , types = configDefs.types - , nopt = require("nopt") - -// if npm is called as "npmg" or "npm_g", then -// run in global mode. -if (path.basename(process.argv[1]).slice(-1) === "g") { - process.argv.splice(1, 1, "npm", "-g") -} - -log.verbose("cli", process.argv) - -var conf = nopt(types, shorthands) -npm.argv = conf.argv.remain -if (npm.deref(npm.argv[0])) npm.command = npm.argv.shift() -else conf.usage = true - - -if (conf.version) { - console.log(npm.version) - return -} - -if (conf.versions) { - npm.command = "version" - conf.usage = false - npm.argv = [] -} - -log.info("using", "npm@%s", npm.version) -log.info("using", "node@%s", process.version) - -// make sure that this version of node works with this version of npm. -var semver = require("semver") - , nodeVer = process.version - , reqVer = npm.nodeVersionRequired -if (reqVer && !semver.satisfies(nodeVer, reqVer)) { - return errorHandler(new Error( - "npm doesn't work with node " + nodeVer - + "\nRequired: node@" + reqVer), true) -} - -process.on("uncaughtException", errorHandler) - -if (conf.usage && npm.command !== "help") { - npm.argv.unshift(npm.command) - npm.command = "help" -} - -// now actually fire up npm and run the command. -// this is how to use npm programmatically: -conf._exit = true -npm.load(conf, function (er) { - if (er) return errorHandler(er) - npm.commands[npm.command](npm.argv, errorHandler) -}) - + // windows: running "npm blah" in this folder will invoke WSH, not node. + /*global WScript*/ + if (typeof WScript !== 'undefined') { + WScript.echo( + 'npm does not work when run\n' + + 'with the Windows Scripting Host\n\n' + + "'cd' to a different directory,\n" + + "or type 'npm.cmd <args>',\n" + + "or type 'node npm <args>'." + ) + WScript.quit(1) + return + } + + process.title = 'npm' + + var log = require('npmlog') + log.pause() // will be unpaused when config is loaded. + + log.info('it worked if it ends with', 'ok') + + var path = require('path') + var npm = require('../lib/npm.js') + var npmconf = require('../lib/config/core.js') + var errorHandler = require('../lib/utils/error-handler.js') + + var configDefs = npmconf.defs + var shorthands = configDefs.shorthands + var types = configDefs.types + var nopt = require('nopt') + + // if npm is called as "npmg" or "npm_g", then + // run in global mode. + if (path.basename(process.argv[1]).slice(-1) === 'g') { + process.argv.splice(1, 1, 'npm', '-g') + } + + log.verbose('cli', process.argv) + + var conf = nopt(types, shorthands) + npm.argv = conf.argv.remain + if (npm.deref(npm.argv[0])) npm.command = npm.argv.shift() + else conf.usage = true + + if (conf.version) { + console.log(npm.version) + return + } + + if (conf.versions) { + npm.command = 'version' + conf.usage = false + npm.argv = [] + } + + log.info('using', 'npm@%s', npm.version) + log.info('using', 'node@%s', process.version) + + process.on('uncaughtException', errorHandler) + + if (conf.usage && npm.command !== 'help') { + npm.argv.unshift(npm.command) + npm.command = 'help' + } + + // now actually fire up npm and run the command. + // this is how to use npm programmatically: + conf._exit = true + npm.load(conf, function (er) { + if (er) return errorHandler(er) + npm.commands[npm.command](npm.argv, errorHandler) + }) })()
  40. Download patch doc/api/npm-unpublish.md

    --- 1.4.21+ds-2/doc/api/npm-unpublish.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-unpublish.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -npm-unpublish(3) -- Remove a package from the registry -====================================================== - -## SYNOPSIS - - npm.commands.unpublish(package, callback) - -## DESCRIPTION - -This removes a package version from the registry, deleting its -entry and removing the tarball. - -The package parameter must be defined. - -Only the first element in the package parameter is used. If there is no first -element, then npm assumes that the package at the current working directory -is what is meant. - -If no version is specified, or if all versions are removed then -the root package entry is removed from the registry entirely.
  41. Download patch debian/control

    --- 1.4.21+ds-2/debian/control 2014-08-05 21:57:35.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/control 2015-12-07 19:10:03.000000000 +0000 @@ -1,7 +1,8 @@ Source: npm Section: web Priority: extra -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: cdbs,
  42. Download patch doc/api/npm-uninstall.md

    --- 1.4.21+ds-2/doc/api/npm-uninstall.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-uninstall.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -npm-uninstall(3) -- uninstall a package programmatically -======================================================== - -## SYNOPSIS - - npm.commands.uninstall(packages, callback) - -## DESCRIPTION - -This acts much the same ways as uninstalling on the command-line. - -The 'packages' parameter is an array of strings. Each element in the array is -the name of a package to be uninstalled. - -Finally, 'callback' is a function that will be called when all packages have been -uninstalled or when an error has been encountered.
  43. Download patch doc/cli/npm-repo.md

    --- 1.4.21+ds-2/doc/cli/npm-repo.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-repo.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,8 +3,7 @@ npm-repo(1) -- Open package repository p ## SYNOPSIS - npm repo <pkgname> - npm repo (with no args in a package dir) + npm repo [<pkg>] ## DESCRIPTION
  44. Download patch debian/patches/2005_index_build_dont_run_npm.patch

    --- 1.4.21+ds-2/debian/patches/2005_index_build_dont_run_npm.patch 2014-07-28 22:34:47.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2005_index_build_dont_run_npm.patch 2015-12-07 18:23:44.000000000 +0000 @@ -3,12 +3,14 @@ Description: Do not run cli.js as it dep Forwarded: https://github.com/isaacs/npm/pull/3873 Author: Jérémy Lal <kapouer@melix.org> Last-Update: 2013-09-08 ---- a/scripts/doc-build.sh -+++ b/scripts/doc-build.sh -@@ -4,7 +4,7 @@ +Index: npm/scripts/doc-build.sh +=================================================================== +--- npm.orig/scripts/doc-build.sh ++++ npm/scripts/doc-build.sh +@@ -4,7 +4,7 @@ src=$1 dest=$2 name=$(basename ${src%.*}) - date=$(date -u +'%Y-%M-%d %H:%m:%S') + date=$(date -u +'%Y-%m-%d %H:%M:%S') -version=$(node cli.js -v) +version=$(nodejs -e "console.log(require('./package').version)")
  45. Download patch doc/api/npm-ls.md

    --- 1.4.21+ds-2/doc/api/npm-ls.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-ls.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ -npm-ls(3) -- List installed packages -====================================== - -## SYNOPSIS - - npm.commands.ls(args, [silent,] callback) - -## DESCRIPTION - -This command will print to stdout all the versions of packages that are -installed, as well as their dependencies, in a tree-structure. It will also -return that data using the callback. - -This command does not take any arguments, but args must be defined. -Beyond that, if any arguments are passed in, npm will politely warn that it -does not take positional arguments, though you may set config flags -like with any other command, such as `global` to list global packages. - -It will print out extraneous, missing, and invalid packages. - -If the silent parameter is set to true, nothing will be output to the screen, -but the data will still be returned. - -Callback is provided an error if one occurred, the full data about which -packages are installed and which dependencies they will receive, and a -"lite" data object which just shows which versions are installed where. -Note that the full data object is a circular structure, so care must be -taken if it is serialized to JSON. - -## CONFIGURATION - -### long - -* Default: false -* Type: Boolean - -Show extended information. - -### parseable - -* Default: false -* Type: Boolean - -Show parseable output instead of tree view. - -### global - -* Default: false -* Type: Boolean - -List packages in the global install prefix instead of in the current -project. - -Note, if parseable is set or long isn't set, then duplicates will be trimmed. -This means that if a submodule a same dependency as a parent module, then the -dependency will only be output once.
  46. Download patch doc/cli/npm-help-search.md

    --- 1.4.21+ds-2/doc/cli/npm-help-search.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-help-search.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-help-search(1) -- Search npm help do ## SYNOPSIS - npm help-search some search terms + npm help-search <text> ## DESCRIPTION
  47. Download patch doc/cli/npm-access.md

    --- 1.4.21+ds-2/doc/cli/npm-access.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-access.md 2015-12-07 16:00:46.000000000 +0000 @@ -0,0 +1,74 @@ +npm-access(1) -- Set access level on published packages +======================================================= + +## SYNOPSIS + + npm access public [<package>] + npm access restricted [<package>] + + npm access grant <read-only|read-write> <scope:team> [<package>] + npm access revoke <scope:team> [<package>] + + npm access ls-packages [<user>|<scope>|<scope:team>] + npm access ls-collaborators [<package> [<user>]] + npm access edit [<package>] + +## DESCRIPTION + +Used to set access controls on private packages. + +For all of the subcommands, `npm access` will perform actions on the packages +in the current working directory if no package name is passed to the +subcommand. + +* public / restricted: + Set a package to be either publicly accessible or restricted. + +* grant / revoke: + Add or remove the ability of users and teams to have read-only or read-write + access to a package. + +* ls-packages: + + Show all of the packages a user or a team is able to access, along with the + access level, except for read-only public packages (it won't print the whole + registry listing) + +* ls-collaborators: + Show all of the access privileges for a package. Will only show permissions + for packages to which you have at least read access. If `<user>` is passed in, + the list is filtered only to teams _that_ user happens to belong to. + +* edit: + Set the access privileges for a package at once using `$EDITOR`. + +## DETAILS + +`npm access` always operates directly on the current registry, configurable +from the command line using `--registry=<registry url>`. + +Unscoped packages are *always public*. + +Scoped packages *default to restricted*, but you can either publish them as +public using `npm publish --access=public`, or set their access as public using +`npm access public` after the initial publish. + +You must have privileges to set the access of a package: + +* You are an owner of an unscoped or scoped package. +* You are a member of the team that owns a scope. +* You have been given read-write privileges for a package, either as a member + of a team or directly as an owner. + +If your account is not paid, then attempts to publish scoped packages will fail +with an HTTP 402 status code (logically enough), unless you use +`--access=public`. + +Management of teams and team memberships is done with the `npm team` command. + +## SEE ALSO + +* npm-team(1) +* npm-publish(1) +* npm-config(7) +* npm-registry(7)
  48. Download patch doc/api/npm-restart.md

    --- 1.4.21+ds-2/doc/api/npm-restart.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-restart.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -npm-restart(3) -- Start a package -================================= - -## SYNOPSIS - - npm.commands.restart(packages, callback) - -## DESCRIPTION - -This runs a package's "restart" script, if one was provided. -Otherwise it runs package's "stop" script, if one was provided, and then -the "start" script. - -If no version is specified, then it restarts the "active" version. - -npm can run tests on multiple packages. Just specify multiple packages -in the `packages` parameter. - -## SEE ALSO - -* npm-start(3) -* npm-stop(3)
  49. Download patch doc/api/npm-publish.md

    --- 1.4.21+ds-2/doc/api/npm-publish.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-publish.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -npm-publish(3) -- Publish a package -=================================== - -## SYNOPSIS - - npm.commands.publish([packages,] callback) - -## DESCRIPTION - -Publishes a package to the registry so that it can be installed by name. -Possible values in the 'packages' array are: - -* `<folder>`: - A folder containing a package.json file - -* `<tarball>`: - A url or file path to a gzipped tar archive containing a single folder - with a package.json file inside. - -If the package array is empty, npm will try to publish something in the -current working directory. - -This command could fails if one of the packages specified already exists in -the registry. Overwrites when the "force" environment variable is set. - -## SEE ALSO - -* npm-registry(7) -* npm-adduser(1) -* npm-owner(3)
  50. Download patch doc/cli/npm-explore.md

    --- 1.4.21+ds-2/doc/cli/npm-explore.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-explore.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-explore(1) -- Browse an installed pa ## SYNOPSIS - npm explore <name> [ -- <cmd>] + npm explore <pkg> [ -- <cmd>] ## DESCRIPTION @@ -32,7 +32,6 @@ The shell to run for the `npm explore` c ## SEE ALSO -* npm-submodule(1) * npm-folders(5) * npm-edit(1) * npm-rebuild(1)
  51. Download patch doc/api/npm-view.md

    --- 1.4.21+ds-2/doc/api/npm-view.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-view.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,93 +0,0 @@ -npm-view(3) -- View registry info -================================= - -## SYNOPSIS - - npm.commands.view(args, [silent,] callback) - -## DESCRIPTION - -This command shows data about a package and prints it to the stream -referenced by the `outfd` config, which defaults to stdout. - -The "args" parameter is an ordered list that closely resembles the command-line -usage. The elements should be ordered such that the first element is -the package and version (package@version). The version is optional. After that, -the rest of the parameters are fields with optional subfields ("field.subfield") -which can be used to get only the information desired from the registry. - -The callback will be passed all of the data returned by the query. - -For example, to get the package registry entry for the `connect` package, -you can do this: - - npm.commands.view(["connect"], callback) - -If no version is specified, "latest" is assumed. - -Field names can be specified after the package descriptor. -For example, to show the dependencies of the `ronn` package at version -0.3.5, you could do the following: - - npm.commands.view(["ronn@0.3.5", "dependencies"], callback) - -You can view child field by separating them with a period. -To view the git repository URL for the latest version of npm, you could -do this: - - npm.commands.view(["npm", "repository.url"], callback) - -For fields that are arrays, requesting a non-numeric field will return -all of the values from the objects in the list. For example, to get all -the contributor names for the "express" project, you can do this: - - npm.commands.view(["express", "contributors.email"], callback) - -You may also use numeric indices in square braces to specifically select -an item in an array field. To just get the email address of the first -contributor in the list, you can do this: - - npm.commands.view(["express", "contributors[0].email"], callback) - -Multiple fields may be specified, and will be printed one after another. -For exampls, to get all the contributor names and email addresses, you -can do this: - - npm.commands.view(["express", "contributors.name", "contributors.email"], callback) - -"Person" fields are shown as a string if they would be shown as an -object. So, for example, this will show the list of npm contributors in -the shortened string format. (See `npm help json` for more on this.) - - npm.commands.view(["npm", "contributors"], callback) - -If a version range is provided, then data will be printed for every -matching version of the package. This will show which version of jsdom -was required by each matching version of yui3: - - npm.commands.view(["yui3@'>0.5.4'", "dependencies.jsdom"], callback) - -## OUTPUT - -If only a single string field for a single version is output, then it -will not be colorized or quoted, so as to enable piping the output to -another command. - -If the version range matches multiple versions, than each printed value -will be prefixed with the version it applies to. - -If multiple fields are requested, than each of them are prefixed with -the field name. - -Console output can be disabled by setting the 'silent' parameter to true. - -## RETURN VALUE - -The data returned will be an object in this formation: - - { <version>: - { <field>: <value> - , ... } - , ... } - -corresponding to the list of fields selected.
  52. Download patch doc/api/npm-install.md

    --- 1.4.21+ds-2/doc/api/npm-install.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-install.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -npm-install(3) -- install a package programmatically -==================================================== - -## SYNOPSIS - - npm.commands.install([where,] packages, callback) - -## DESCRIPTION - -This acts much the same ways as installing on the command-line. - -The 'where' parameter is optional and only used internally, and it specifies -where the packages should be installed to. - -The 'packages' parameter is an array of strings. Each element in the array is -the name of a package to be installed. - -Finally, 'callback' is a function that will be called when all packages have been -installed or when an error has been encountered.
  53. Download patch debian/patches/2007_do_not_require_cmd-shim.patch

    --- 1.4.21+ds-2/debian/patches/2007_do_not_require_cmd-shim.patch 2014-07-28 22:34:47.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2007_do_not_require_cmd-shim.patch 2015-12-07 18:23:44.000000000 +0000 @@ -2,16 +2,18 @@ Description: cmd-shim is only needed on Author: Jérémy Lal <kapouer@melix.org> Forwarded: not-needed, todo: better patch Last-Update: 2013-09-08 ---- a/lib/build.js -+++ b/lib/build.js -@@ -16,8 +16,8 @@ - , readJson = require("read-package-json") - , link = require("./utils/link.js") - , linkIfExists = link.ifExists -- , cmdShim = require("cmd-shim") -- , cmdShimIfExists = cmdShim.ifExists -+// , cmdShim = require("cmd-shim") -+// , cmdShimIfExists = cmdShim.ifExists - , asyncMap = require("slide").asyncMap - - module.exports = build +Index: npm/lib/build.js +=================================================================== +--- npm.orig/lib/build.js ++++ npm/lib/build.js +@@ -16,8 +16,8 @@ var lifecycle = require('./utils/lifecyc + var readJson = require('read-package-json') + var link = require('./utils/link.js') + var linkIfExists = link.ifExists +-var cmdShim = require('cmd-shim') +-var cmdShimIfExists = cmdShim.ifExists ++//var cmdShim = require('cmd-shim') ++//var cmdShimIfExists = cmdShim.ifExists + var asyncMap = require('slide').asyncMap + var ini = require('ini') + var writeFile = require('write-file-atomic')
  54. Download patch doc/cli/npm-owner.md

    --- 1.4.21+ds-2/doc/cli/npm-owner.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-owner.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,9 +3,9 @@ npm-owner(1) -- Manage package owners ## SYNOPSIS - npm owner ls <package name> - npm owner add <user> <package name> - npm owner rm <user> <package name> + npm owner add <user> [<@scope>/]<pkg> + npm owner rm <user> [<@scope>/]<pkg> + npm owner ls [<@scope>/]<pkg> ## DESCRIPTION
  55. Download patch doc/api/npm-version.md

    --- 1.4.21+ds-2/doc/api/npm-version.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-version.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -npm-version(3) -- Bump a package version -======================================== - -## SYNOPSIS - - npm.commands.version(newversion, callback) - -## DESCRIPTION - -Run this in a package directory to bump the version and write the new -data back to the package.json file. - -If run in a git repo, it will also create a version commit and tag, and -fail if the repo is not clean. - -Like all other commands, this function takes a string array as its first -parameter. The difference, however, is this function will fail if it does -not have exactly one element. The only element should be a version number.
  56. Download patch doc/api/npm-repo.md

    --- 1.4.21+ds-2/doc/api/npm-repo.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-repo.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -npm-repo(3) -- Open package repository page in the browser -======================================================== - -## SYNOPSIS - - npm.commands.repo(package, callback) - -## DESCRIPTION - -This command tries to guess at the likely location of a package's -repository URL, and then tries to open it using the `--browser` -config param. - -Like other commands, the first parameter is an array. This command only -uses the first element, which is expected to be a package name with an -optional version number. - -This command will launch a browser, so this command may not be the most -friendly for programmatic use.
  57. Download patch bin/node-gyp-bin/node-gyp.cmd

    --- 1.4.21+ds-2/bin/node-gyp-bin/node-gyp.cmd 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/node-gyp-bin/node-gyp.cmd 2015-12-07 16:00:46.000000000 +0000 @@ -1 +1,5 @@ -node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* +if not defined npm_config_node_gyp ( + node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* +) else ( + node %npm_config_node_gyp% %* +)
  58. Download patch doc/cli/npm-config.md

    --- 1.4.21+ds-2/doc/cli/npm-config.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-config.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,14 +3,13 @@ npm-config(1) -- Manage the npm configur ## SYNOPSIS - npm config set <key> <value> [--global] + npm config set <key> <value> [-g|--global] npm config get <key> npm config delete <key> npm config list npm config edit - npm c [set|get|delete|list] npm get <key> - npm set <key> <value> [--global] + npm set <key> <value> [-g|--global] ## DESCRIPTION
  59. Download patch doc/cli/npm-prefix.md

    --- 1.4.21+ds-2/doc/cli/npm-prefix.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-prefix.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,11 +3,15 @@ npm-prefix(1) -- Display prefix ## SYNOPSIS - npm prefix + npm prefix [-g] ## DESCRIPTION -Print the prefix to standard out. +Print the local prefix to standard out. This is the closest parent directory +to contain a package.json file unless `-g` is also specified. + +If `-g` is specified, this will be the value of the global prefix. See +`npm-config(7)` for more detail. ## SEE ALSO
  60. Download patch doc/cli/npm-help.md

    --- 1.4.21+ds-2/doc/cli/npm-help.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-help.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,8 +3,7 @@ npm-help(1) -- Get help on npm ## SYNOPSIS - npm help <topic> - npm help some search terms + npm help <term> [<terms..>] ## DESCRIPTION
  61. Download patch doc/api/npm-deprecate.md

    --- 1.4.21+ds-2/doc/api/npm-deprecate.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-deprecate.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ -npm-deprecate(3) -- Deprecate a version of a package -==================================================== - -## SYNOPSIS - - npm.commands.deprecate(args, callback) - -## DESCRIPTION - -This command will update the npm registry entry for a package, providing -a deprecation warning to all who attempt to install it. - -The 'args' parameter must have exactly two elements: - -* `package[@version]` - - The `version` portion is optional, and may be either a range, or a - specific version, or a tag. - -* `message` - - The warning message that will be printed whenever a user attempts to - install the package. - -Note that you must be the package owner to deprecate something. See the -`owner` and `adduser` help topics. - -To un-deprecate a package, specify an empty string (`""`) for the `message` argument. - -## SEE ALSO - -* npm-publish(3) -* npm-unpublish(3) -* npm-registry(7)
  62. Download patch debian/patches/2002_use_ruby_ronn.patch

    --- 1.4.21+ds-2/debian/patches/2002_use_ruby_ronn.patch 2014-07-28 22:52:08.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2002_use_ruby_ronn.patch 2015-12-07 18:23:44.000000000 +0000 @@ -3,37 +3,39 @@ Description: Use ruby-ronn and marked to Forwarded: not-needed Author: Jérémy Lal <kapouer@melix.org> Last-Update: 2014-07-29 ---- a/scripts/doc-build.sh -+++ b/scripts/doc-build.sh +Index: npm/scripts/doc-build.sh +=================================================================== +--- npm.orig/scripts/doc-build.sh ++++ npm/scripts/doc-build.sh @@ -1,63 +1,5 @@ #!/usr/bin/env bash - + -if [[ $DEBUG != "" ]]; then - set -x -fi -set -o errexit -set -o pipefail - --if ! [ -x node_modules/.bin/ronn ]; then +-if ! [ -x node_modules/.bin/marked-man ]; then - ps=0 -- if [ -f .building_ronn ]; then -- pid=$(cat .building_ronn) +- if [ -f .building_marked-man ]; then +- pid=$(cat .building_marked-man) - ps=$(ps -p $pid | grep $pid | wc -l) || true - fi - -- if [ -f .building_ronn ] && [ $ps != 0 ]; then -- while [ -f .building_ronn ]; do +- if [ -f .building_marked-man ] && [ $ps != 0 ]; then +- while [ -f .building_marked-man ]; do - sleep 1 - done - else -- # a race to see which make process will be the one to install ronn -- echo $$ > .building_ronn +- # a race to see which make process will be the one to install marked-man +- echo $$ > .building_marked-man - sleep 1 -- if [ $(cat .building_ronn) == $$ ]; then -- make node_modules/.bin/ronn -- rm .building_ronn +- if [ $(cat .building_marked-man) == $$ ]; then +- make node_modules/.bin/marked-man +- rm .building_marked-man - else -- while [ -f .building_ronn ]; do +- while [ -f .building_marked-man ]; do - sleep 1 - done - fi @@ -69,24 +71,13 @@ Last-Update: 2014-07-29 src=$1 dest=$2 name=$(basename ${src%.*}) -@@ -68,36 +10,36 @@ - +@@ -99,14 +41,14 @@ man_replace_tokens () { + case $dest in *.[1357]) -- ./node_modules/.bin/ronn --roff $src \ +- ./node_modules/.bin/marked-man --roff $src \ + cat $src | ronn \ - | sed "s|@VERSION@|$version|g" \ -- | perl -pi -e 's/(npm\\-)?([^\(]*)\(1\)/npm help \2/g' \ -- | perl -pi -e 's/(npm\\-)?([^\(]*)\([57]\)/npm help \3 \2/g' \ -- | perl -pi -e 's/(npm\\-)?([^\(]*)\(3\)/npm apihelp \2/g' \ -- | perl -pi -e 's/npm\(1\)/npm help npm/g' \ -- | perl -pi -e 's/npm\(3\)/npm apihelp npm/g' \ -+ | perl -p -e 's/(npm\\-)?([^\(]*)\(1\)/npm help \2/g' \ -+ | perl -p -e 's/(npm\\-)?([^\(]*)\([57]\)/npm help \3 \2/g' \ -+ | perl -p -e 's/(npm\\-)?([^\(]*)\(3\)/npm apihelp \2/g' \ -+ | perl -p -e 's/npm\(1\)/npm help npm/g' \ -+ | perl -p -e 's/npm\(3\)/npm apihelp npm/g' \ - > $dest + | man_replace_tokens > $dest exit $? ;; *.html) @@ -95,31 +86,5 @@ Last-Update: 2014-07-29 - cat $src | ./node_modules/.bin/marked && + cat $src | marked && cat html/docfoot.html)\ - | sed "s|@NAME@|$name|g" \ - | sed "s|@DATE@|$date|g" \ - | sed "s|@URL@|$url|g" \ - | sed "s|@VERSION@|$version|g" \ -- | perl -pi -e 's/<h1([^>]*)>([^\(]*\([0-9]\)) -- (.*?)<\/h1>/<h1>\2<\/h1> <p>\3<\/p>/g' \ -- | perl -pi -e 's/npm-npm/npm/g' \ -- | perl -pi -e 's/([^"-])(npm-)?README(?!\.html)(\(1\))?/\1<a href="..\/..\/doc\/README.html">README<\/a>/g' \ -- | perl -pi -e 's/<title><a href="[^"]+README.html">README<\/a><\/title>/<title>README<\/title>/g' \ -- | perl -pi -e 's/([^"-])([^\(> ]+)(\(1\))/\1<a href="..\/cli\/\2.html">\2\3<\/a>/g' \ -- | perl -pi -e 's/([^"-])([^\(> ]+)(\(3\))/\1<a href="..\/api\/\2.html">\2\3<\/a>/g' \ -- | perl -pi -e 's/([^"-])([^\(> ]+)(\(5\))/\1<a href="..\/files\/\2.html">\2\3<\/a>/g' \ -- | perl -pi -e 's/([^"-])([^\(> ]+)(\(7\))/\1<a href="..\/misc\/\2.html">\2\3<\/a>/g' \ -- | perl -pi -e 's/\([1357]\)<\/a><\/h1>/<\/a><\/h1>/g' \ -+ | perl -p -e 's/<h1([^>]*)>([^\(]*\([0-9]\)) -- (.*?)<\/h1>/<h1>\2<\/h1> <p>\3<\/p>/g' \ -+ | perl -p -e 's/npm-npm/npm/g' \ -+ | perl -p -e 's/([^"-])(npm-)?README(?!\.html)(\(1\))?/\1<a href="..\/..\/doc\/README.html">README<\/a>/g' \ -+ | perl -p -e 's/<title><a href="[^"]+README.html">README<\/a><\/title>/<title>README<\/title>/g' \ -+ | perl -p -e 's/([^"-])([^\(> ]+)(\(1\))/\1<a href="..\/cli\/\2.html">\2\3<\/a>/g' \ -+ | perl -p -e 's/([^"-])([^\(> ]+)(\(3\))/\1<a href="..\/api\/\2.html">\2\3<\/a>/g' \ -+ | perl -p -e 's/([^"-])([^\(> ]+)(\(5\))/\1<a href="..\/files\/\2.html">\2\3<\/a>/g' \ -+ | perl -p -e 's/([^"-])([^\(> ]+)(\(7\))/\1<a href="..\/misc\/\2.html">\2\3<\/a>/g' \ -+ | perl -p -e 's/\([1357]\)<\/a><\/h1>/<\/a><\/h1>/g' \ - | (if [ $(basename $(dirname $dest)) == "doc" ]; then -- perl -pi -e 's/ href="\.\.\// href="/g' -+ perl -p -e 's/ href="\.\.\// href="/g' - else - cat - fi) \ + | html_replace_tokens $url \ + > $dest
  63. Download patch doc/api/npm-whoami.md

    --- 1.4.21+ds-2/doc/api/npm-whoami.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-whoami.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -npm-whoami(3) -- Display npm username -===================================== - -## SYNOPSIS - - npm.commands.whoami(args, callback) - -## DESCRIPTION - -Print the `username` config to standard output. - -'args' is never used and callback is never called with data. -'args' must be present or things will break. - -This function is not useful programmatically
  64. Download patch debian/patches/2008_ansi-color-table.patch

    --- 1.4.21+ds-2/debian/patches/2008_ansi-color-table.patch 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2008_ansi-color-table.patch 2015-12-07 18:23:44.000000000 +0000 @@ -0,0 +1,49 @@ +Description: use ansi-color-table instead of text-table, and ansi instead of ansicolors, ansistyles + node-ansi is already available in debian, it's easier to depend on it and it's been patched to + be a drop-in replacement of ansicolors and ansistyles. +Author: Jérémy Lal <kapouer@melix.org> +Forwarded: not-needed, waiting for upstream ansi.js to accept patch +Last-Update: 2014-08-05 +Index: npm/lib/outdated.js +=================================================================== +--- npm.orig/lib/outdated.js ++++ npm/lib/outdated.js +@@ -27,9 +27,9 @@ var log = require('npmlog') + var readPackageTree = require('read-package-tree') + var readJson = require('read-package-json') + var asyncMap = require('slide').asyncMap +-var color = require('ansicolors') +-var styles = require('ansistyles') +-var table = require('text-table') ++var color = require('ansi') ++var styles = color ++var table = require('ansi-color-table') + var semver = require('semver') + var npa = require('npm-package-arg') + var mutateIntoLogicalTree = require('./install/mutate-into-logical-tree.js') +Index: npm/lib/help-search.js +=================================================================== +--- npm.orig/lib/help-search.js ++++ npm/lib/help-search.js +@@ -6,7 +6,7 @@ var path = require('path') + var asyncMap = require('slide').asyncMap + var npm = require('./npm.js') + var glob = require('glob') +-var color = require('ansicolors') ++var color = require('ansi') + + helpSearch.usage = 'npm help-search <text>' + +Index: npm/lib/ls.js +=================================================================== +--- npm.orig/lib/ls.js ++++ npm/lib/ls.js +@@ -12,7 +12,7 @@ var readPackageTree = require('read-pack + var log = require('npmlog') + var archy = require('archy') + var semver = require('semver') +-var color = require('ansicolors') ++var color = require('ansi') + var npa = require('npm-package-arg') + var iferr = require('iferr') + var npm = require('./npm.js')
  65. Download patch doc/api/npm-config.md

    --- 1.4.21+ds-2/doc/api/npm-config.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-config.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -npm-config(3) -- Manage the npm configuration files -=================================================== - -## SYNOPSIS - - npm.commands.config(args, callback) - var val = npm.config.get(key) - npm.config.set(key, val) - -## DESCRIPTION - -This function acts much the same way as the command-line version. The first -element in the array tells config what to do. Possible values are: - -* `set` - - Sets a config parameter. The second element in `args` is interpreted as the - key, and the third element is interpreted as the value. - -* `get` - - Gets the value of a config parameter. The second element in `args` is the - key to get the value of. - -* `delete` (`rm` or `del`) - - Deletes a parameter from the config. The second element in `args` is the - key to delete. - -* `list` (`ls`) - - Show all configs that aren't secret. No parameters necessary. - -* `edit`: - - Opens the config file in the default editor. This command isn't very useful - programmatically, but it is made available. - -To programmatically access npm configuration settings, or set them for -the duration of a program, use the `npm.config.set` and `npm.config.get` -functions instead. - -## SEE ALSO - -* npm(3)
  66. Download patch doc/api/npm-prefix.md

    --- 1.4.21+ds-2/doc/api/npm-prefix.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-prefix.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -npm-prefix(3) -- Display prefix -=============================== - -## SYNOPSIS - - npm.commands.prefix(args, callback) - -## DESCRIPTION - -Print the prefix to standard out. - -'args' is never used and callback is never called with data. -'args' must be present or things will break. - -This function is not useful programmatically
  67. Download patch doc/cli/npm-edit.md

    --- 1.4.21+ds-2/doc/cli/npm-edit.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-edit.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-edit(1) -- Edit an installed package ## SYNOPSIS - npm edit <name>[@<version>] + npm edit <pkg>[@<version>] ## DESCRIPTION
  68. Download patch debian/patches/2003_fix_doc.patch

    --- 1.4.21+ds-2/debian/patches/2003_fix_doc.patch 2014-07-28 22:34:47.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2003_fix_doc.patch 2015-12-07 18:23:44.000000000 +0000 @@ -2,9 +2,11 @@ Description: ruby-ronn does not handle h Forwarded: not-needed Author: Jérémy Lal <kapouer@melix.org> Last-Update: 2012-04-07 ---- a/doc/files/npm-folders.md -+++ b/doc/files/npm-folders.md -@@ -135,7 +135,7 @@ +Index: npm/doc/files/npm-folders.md +=================================================================== +--- npm.orig/doc/files/npm-folders.md ++++ npm/doc/files/npm-folders.md +@@ -141,7 +141,7 @@ prevented. Another optimization can be made by installing dependencies at the highest level possible, below the localized "target" folder.
  69. Download patch CHANGELOG.md
  70. Download patch debian/patches/series

    --- 1.4.21+ds-2/debian/patches/series 2014-07-28 23:22:34.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/series 2015-12-07 18:23:44.000000000 +0000 @@ -5,6 +5,5 @@ 2005_index_build_dont_run_npm.patch 2006_rename_node_to_nodejs.patch 2007_do_not_require_cmd-shim.patch -2008_do_not_require_child-process-close.patch -2009_ansi-color-table.patch -2010_privacy_breach_travis.patch +2008_ansi-color-table.patch +2009_privacy_breach_travis.patch
  71. Download patch changelogs/CHANGELOG-1.md
  72. Download patch bin/npm

    --- 1.4.21+ds-2/bin/npm 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/npm 2015-12-07 16:00:46.000000000 +0000 @@ -7,8 +7,21 @@ case `uname` in *CYGWIN*) basedir=`cygpath -w "$basedir"`;; esac -if [ -x "$basedir/node.exe" ]; then - "$basedir/node.exe" "$basedir/node_modules/npm/bin/npm-cli.js" "$@" -else - node "$basedir/node_modules/npm/bin/npm-cli.js" "$@" +NODE_EXE="$basedir/node.exe" +if ! [ -x "$NODE_EXE" ]; then + NODE_EXE=node fi + +NPM_CLI_JS="$basedir/node_modules/npm/bin/npm-cli.js" + +case `uname` in + *CYGWIN*) + NPM_PREFIX=`"$NODE_EXE" "$NPM_CLI_JS" prefix -g` + NPM_PREFIX_NPM_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npm-cli.js" + if [ -f "$NPM_PREFIX_NPM_CLI_JS" ]; then + NPM_CLI_JS="$NPM_PREFIX_NPM_CLI_JS" + fi + ;; +esac + +"$NODE_EXE" "$NPM_CLI_JS" "$@"
  73. Download patch doc/cli/npm-completion.md

    --- 1.4.21+ds-2/doc/cli/npm-completion.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-completion.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-completion(1) -- Tab Completion for ## SYNOPSIS - . <(npm completion) + source <(npm completion) ## DESCRIPTION @@ -12,7 +12,10 @@ Enables tab-completion in all npm comman The synopsis above loads the completions into your current shell. Adding it to your ~/.bashrc or ~/.zshrc will make the completions available -everywhere. +everywhere: + + npm completion >> ~/.bashrc + npm completion >> ~/.zshrc You may of course also pipe the output of npm completion to a file such as `/usr/local/etc/bash_completion.d/npm` if you have a system
  74. Download patch doc/cli/npm-bugs.md

    --- 1.4.21+ds-2/doc/cli/npm-bugs.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-bugs.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,8 +3,7 @@ npm-bugs(1) -- Bugs for a package in a w ## SYNOPSIS - npm bugs <pkgname> - npm bugs (with no args in a package dir) + npm bugs [<pkgname>] ## DESCRIPTION
  75. Download patch doc/api/npm-start.md

    --- 1.4.21+ds-2/doc/api/npm-start.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-start.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -npm-start(3) -- Start a package -=============================== - -## SYNOPSIS - - npm.commands.start(packages, callback) - -## DESCRIPTION - -This runs a package's "start" script, if one was provided. - -npm can run tests on multiple packages. Just specify multiple packages -in the `packages` parameter.
  76. Download patch debian/patches/2006_rename_node_to_nodejs.patch
  77. Download patch doc/cli/npm-pack.md

    --- 1.4.21+ds-2/doc/cli/npm-pack.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-pack.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,15 +3,15 @@ npm-pack(1) -- Create a tarball from a p ## SYNOPSIS - npm pack [<pkg> [<pkg> ...]] + npm pack [[<@scope>/]<pkg>...] ## DESCRIPTION For anything that's installable (that is, a package folder, tarball, -tarball url, name@tag, name@version, or name), this command will fetch -it to the cache, and then copy the tarball to the current working -directory as `<name>-<version>.tgz`, and then write the filenames out to -stdout. +tarball url, name@tag, name@version, name, or scoped name), this +command will fetch it to the cache, and then copy the tarball to the +current working directory as `<name>-<version>.tgz`, and then write +the filenames out to stdout. If the same package is specified multiple times, then the file will be overwritten the second time.
  78. Download patch doc/api/npm-shrinkwrap.md

    --- 1.4.21+ds-2/doc/api/npm-shrinkwrap.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-shrinkwrap.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -npm-shrinkwrap(3) -- programmatically generate package shrinkwrap file -==================================================== - -## SYNOPSIS - - npm.commands.shrinkwrap(args, [silent,] callback) - -## DESCRIPTION - -This acts much the same ways as shrinkwrapping on the command-line. - -This command does not take any arguments, but 'args' must be defined. -Beyond that, if any arguments are passed in, npm will politely warn that it -does not take positional arguments. - -If the 'silent' parameter is set to true, nothing will be output to the screen, -but the shrinkwrap file will still be written. - -Finally, 'callback' is a function that will be called when the shrinkwrap has -been saved.
  79. Download patch doc/api/npm-edit.md

    --- 1.4.21+ds-2/doc/api/npm-edit.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-edit.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -npm-edit(3) -- Edit an installed package -======================================== - -## SYNOPSIS - - npm.commands.edit(package, callback) - -## DESCRIPTION - -Opens the package folder in the default editor (or whatever you've -configured as the npm `editor` config -- see `npm help config`.) - -After it has been edited, the package is rebuilt so as to pick up any -changes in compiled packages. - -For instance, you can do `npm install connect` to install connect -into your package, and then `npm.commands.edit(["connect"], callback)` -to make a few changes to your locally installed copy. - -The first parameter is a string array with a single element, the package -to open. The package can optionally have a version number attached. - -Since this command opens an editor in a new process, be careful about where -and how this is used.
  80. Download patch doc/api/npm-submodule.md

    --- 1.4.21+ds-2/doc/api/npm-submodule.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-submodule.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -npm-submodule(3) -- Add a package as a git submodule -==================================================== - -## SYNOPSIS - - npm.commands.submodule(packages, callback) - -## DESCRIPTION - -For each package specified, npm will check if it has a git repository url -in its package.json description then add it as a git submodule at -`node_modules/<pkg name>`. - -This is a convenience only. From then on, it's up to you to manage -updates by using the appropriate git commands. npm will stubbornly -refuse to update, modify, or remove anything with a `.git` subfolder -in it. - -This command also does not install missing dependencies, if the package -does not include them in its git repository. If `npm ls` reports that -things are missing, you can either install, link, or submodule them yourself, -or you can do `npm explore <pkgname> -- npm install` to install the -dependencies into the submodule folder. - -## SEE ALSO - -* npm help json -* git help submodule
  81. Download patch doc/api/npm-bugs.md

    --- 1.4.21+ds-2/doc/api/npm-bugs.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-bugs.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -npm-bugs(3) -- Bugs for a package in a web browser maybe -======================================================== - -## SYNOPSIS - - npm.commands.bugs(package, callback) - -## DESCRIPTION - -This command tries to guess at the likely location of a package's -bug tracker URL, and then tries to open it using the `--browser` -config param. - -Like other commands, the first parameter is an array. This command only -uses the first element, which is expected to be a package name with an -optional version number. - -This command will launch a browser, so this command may not be the most -friendly for programmatic use.
  82. Download patch bin/npm.cmd

    --- 1.4.21+ds-2/bin/npm.cmd 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/npm.cmd 2015-12-07 16:00:46.000000000 +0000 @@ -1,6 +1,19 @@ :: Created by npm, please don't edit manually. -@IF EXIST "%~dp0\node.exe" ( - "%~dp0\node.exe" "%~dp0\.\node_modules\npm\bin\npm-cli.js" %* -) ELSE ( - node "%~dp0\.\node_modules\npm\bin\npm-cli.js" %* +@ECHO OFF + +SETLOCAL + +SET "NODE_EXE=%~dp0\node.exe" +IF NOT EXIST "%NODE_EXE%" ( + SET "NODE_EXE=node" ) + +SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" +FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO ( + SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js" +) +IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" ( + SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%" +) + +"%NODE_EXE%" "%NPM_CLI_JS%" %*
  83. Download patch doc/api/npm-pack.md

    --- 1.4.21+ds-2/doc/api/npm-pack.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-pack.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -npm-pack(3) -- Create a tarball from a package -============================================== - -## SYNOPSIS - - npm.commands.pack([packages,] callback) - -## DESCRIPTION - -For anything that's installable (that is, a package folder, tarball, -tarball url, name@tag, name@version, or name), this command will fetch -it to the cache, and then copy the tarball to the current working -directory as `<name>-<version>.tgz`, and then write the filenames out to -stdout. - -If the same package is specified multiple times, then the file will be -overwritten the second time. - -If no arguments are supplied, then npm packs the current package folder.
  84. Download patch AUTHORS
  85. Download patch doc/cli/npm-install-test.md

    --- 1.4.21+ds-2/doc/cli/npm-install-test.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-install-test.md 2015-12-07 16:00:46.000000000 +0000 @@ -0,0 +1,25 @@ +# npm install-test(1) -- Install package(s) and run tests + +## SYNOPSIS + + npm install-test (with no args, in package dir) + npm install-test [<@scope>/]<name> + npm install-test [<@scope>/]<name>@<tag> + npm install-test [<@scope>/]<name>@<version> + npm install-test [<@scope>/]<name>@<version range> + npm install-test <tarball file> + npm install-test <tarball url> + npm install-test <folder> + + alias: npm it + common options: [--save|--save-dev|--save-optional] [--save-exact] [--dry-run] + +## DESCRIPTION + +This command runs an `npm install` followed immediately by an `npm test`. It +takes exactly the same arguments as `npm install`. + +## SEE ALSO + +- npm-install(1) +- npm-test(1)
  86. Download patch doc/api/npm-outdated.md

    --- 1.4.21+ds-2/doc/api/npm-outdated.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-outdated.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -npm-outdated(3) -- Check for outdated packages -============================================== - -## SYNOPSIS - - npm.commands.outdated([packages,] callback) - -## DESCRIPTION - -This command will check the registry to see if the specified packages are -currently outdated. - -If the 'packages' parameter is left out, npm will check all packages.
  87. Download patch doc/cli/npm-prune.md

    --- 1.4.21+ds-2/doc/cli/npm-prune.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-prune.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,8 +3,7 @@ npm-prune(1) -- Remove extraneous packag ## SYNOPSIS - npm prune [<name> [<name ...]] - npm prune [<name> [<name ...]] [--production] + npm prune [[<@scope>/]<pkg>...] [--production] ## DESCRIPTION @@ -15,11 +14,13 @@ removed. Extraneous packages are packages that are not listed on the parent package's dependencies list. -If the `--production` flag is specified, this command will remove the -packages specified in your `devDependencies`. +If the `--production` flag is specified or the `NODE_ENV` environment +variable is set to `production`, this command will remove the packages +specified in your `devDependencies`. Setting `--production=false` will +negate `NODE_ENV` being set to `production`. ## SEE ALSO -* npm-rm(1) +* npm-uninstall(1) * npm-folders(5) * npm-ls(1)
  88. Download patch doc/cli/npm-ls.md

    --- 1.4.21+ds-2/doc/cli/npm-ls.md 2015-12-08 18:08:06.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-ls.md 2015-12-08 18:08:06.000000000 +0000 @@ -3,10 +3,9 @@ npm-ls(1) -- List installed packages ## SYNOPSIS - npm list [<pkg> ...] - npm ls [<pkg> ...] - npm la [<pkg> ...] - npm ll [<pkg> ...] + npm ls [[<@scope>/]<pkg> ...] + + aliases: list, la, ll ## DESCRIPTION @@ -28,6 +27,9 @@ If a project specifies git urls for depe in parentheses after the name@version to make it easier for users to recognize potential forks of a project. +The tree shown is the logical dependency tree, based on package +dependencies, not the physical layout of your node_modules folder. + When run as `ll` or `la`, it shows extended information by default. ## CONFIGURATION @@ -67,6 +69,28 @@ project. Max display depth of the dependency tree. +### prod / production + +* Type: Boolean +* Default: false + +Display only the dependency tree for packages in `dependencies`. + +### dev + +* Type: Boolean +* Default: false + +Display only the dependency tree for packages in `devDependencies`. + +### only + +* Type: String + +When "dev" or "development", is an alias to `dev`. + +When "prod" or "production", is an alias to `production`.` + ## SEE ALSO * npm-config(1)
  89. Download patch doc/api/npm-owner.md

    --- 1.4.21+ds-2/doc/api/npm-owner.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-owner.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,31 +0,0 @@ -npm-owner(3) -- Manage package owners -===================================== - -## SYNOPSIS - - npm.commands.owner(args, callback) - -## DESCRIPTION - -The first element of the 'args' parameter defines what to do, and the subsequent -elements depend on the action. Possible values for the action are (order of -parameters are given in parenthesis): - -* ls (package): - List all the users who have access to modify a package and push new versions. - Handy when you need to know who to bug for help. -* add (user, package): - Add a new user as a maintainer of a package. This user is enabled to modify - metadata, publish new versions, and add other owners. -* rm (user, package): - Remove a user from the package owner list. This immediately revokes their - privileges. - -Note that there is only one level of access. Either you can modify a package, -or you can't. Future versions may contain more fine-grained access levels, but -that is not implemented at this time. - -## SEE ALSO - -* npm-publish(3) -* npm-registry(7)
  90. Download patch doc/cli/npm-build.md

    --- 1.4.21+ds-2/doc/cli/npm-build.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-build.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-build(1) -- Build a package ## SYNOPSIS - npm build <package-folder> + npm build [<package-folder>] * `<package-folder>`: A folder containing a `package.json` file in its root. @@ -12,7 +12,10 @@ npm-build(1) -- Build a package This is the plumbing command called by `npm link` and `npm install`. -It should generally not be called directly. +It should generally be called during installation, but if you need to run it +directly, run: + + npm run-script build ## SEE ALSO
  91. Download patch bin/read-package-json.js

    --- 1.4.21+ds-2/bin/read-package-json.js 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/read-package-json.js 2015-12-07 16:00:46.000000000 +0000 @@ -1,22 +1,24 @@ var argv = process.argv if (argv.length < 3) { - console.error("Usage: read-package.json <file> [<fields> ...]") + console.error('Usage: read-package.json <file> [<fields> ...]') process.exit(1) } -var fs = require("fs") - , file = argv[2] - , readJson = require("read-package-json") +var file = argv[2] +var readJson = require('read-package-json') readJson(file, function (er, data) { if (er) throw er - if (argv.length === 3) console.log(data) - else argv.slice(3).forEach(function (field) { - field = field.split(".") - var val = data - field.forEach(function (f) { - val = val[f] + if (argv.length === 3) { + console.log(data) + } else { + argv.slice(3).forEach(function (field) { + field = field.split('.') + var val = data + field.forEach(function (f) { + val = val[f] + }) + console.log(val) }) - console.log(val) - }) + } })
  92. Download patch bin/node-gyp-bin/node-gyp

    --- 1.4.21+ds-2/bin/node-gyp-bin/node-gyp 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/bin/node-gyp-bin/node-gyp 2015-12-07 16:00:46.000000000 +0000 @@ -1,2 +1,6 @@ #!/usr/bin/env sh -node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" +if [ "x$npm_config_node_gyp" = "x" ]; then + node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@" +else + "$npm_config_node_gyp" "$@" +fi
  93. Download patch doc/cli/npm-docs.md

    --- 1.4.21+ds-2/doc/cli/npm-docs.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-docs.md 2015-12-07 16:00:46.000000000 +0000 @@ -4,9 +4,9 @@ npm-docs(1) -- Docs for a package in a w ## SYNOPSIS npm docs [<pkgname> [<pkgname> ...]] - npm docs (with no args in a package dir) + npm docs . npm home [<pkgname> [<pkgname> ...]] - npm home (with no args in a package dir) + npm home . ## DESCRIPTION
  94. Download patch doc/cli/npm-ping.md

    --- 1.4.21+ds-2/doc/cli/npm-ping.md 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-ping.md 2015-12-07 16:00:46.000000000 +0000 @@ -0,0 +1,16 @@ +npm-ping(1) -- Ping npm registry +================================ + +## SYNOPSIS + + npm ping [--registry <registry>] + +## DESCRIPTION + +Ping the configured or given npm registry and verify authentication. + +## SEE ALSO + +* npm-config(1) +* npm-config(7) +* npmrc(5)
  95. Download patch doc/cli/npm-outdated.md

    --- 1.4.21+ds-2/doc/cli/npm-outdated.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/cli/npm-outdated.md 2015-12-07 16:00:46.000000000 +0000 @@ -3,7 +3,7 @@ npm-outdated(1) -- Check for outdated pa ## SYNOPSIS - npm outdated [<name> [<name> ...]] + npm outdated [[<@scope>/]<pkg> ...] ## DESCRIPTION
  96. Download patch debian/patches/2001_unicode_in_md.patch

    --- 1.4.21+ds-2/debian/patches/2001_unicode_in_md.patch 2014-07-28 23:40:58.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2001_unicode_in_md.patch 2015-12-07 18:23:44.000000000 +0000 @@ -4,9 +4,11 @@ Description: keep md files ascii Author: Jérémy Lal <kapouer@melix.org> Forwarded: not-needed Last-Update: 2014-07-29 ---- a/doc/cli/npm-ls.md -+++ b/doc/cli/npm-ls.md -@@ -19,8 +19,8 @@ +Index: npm/doc/cli/npm-ls.md +=================================================================== +--- npm.orig/doc/cli/npm-ls.md ++++ npm/doc/cli/npm-ls.md +@@ -18,8 +18,8 @@ nested packages will *also* show the pat For example, running `npm ls promzard` in npm's source tree will show: npm@@VERSION@ /path/to/npm @@ -17,16 +19,18 @@ Last-Update: 2014-07-29 It will print out extraneous, missing, and invalid packages. ---- a/doc/files/package.json.md -+++ b/doc/files/package.json.md -@@ -427,8 +427,8 @@ - installed if needed. `npm install tea-latte` could possibly yield the following - dependency graph: +Index: npm/doc/files/package.json.md +=================================================================== +--- npm.orig/doc/files/package.json.md ++++ npm/doc/files/package.json.md +@@ -548,8 +548,8 @@ This ensures your package `tea-latte` ca + major version of the host package `tea` only. `npm install tea-latte` could + possibly yield the following dependency graph: - ├── tea-latte@1.3.5 - └── tea@2.2.0 + |-- tea-latte@1.3.5 + |-- tea@2.2.0 - Trying to install another plugin with a conflicting requirement will cause an - error. For this reason, make sure your plugin requirement is as broad as + **NOTE: npm versions 1 and 2 will automatically install `peerDependencies` if + they are not explicitly depended upon higher in the dependency tree. In the
  97. Download patch doc/api/npm-docs.md

    --- 1.4.21+ds-2/doc/api/npm-docs.md 2014-07-15 00:28:29.000000000 +0000 +++ 3.5.2-0ubuntu4/doc/api/npm-docs.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -npm-docs(3) -- Docs for a package in a web browser maybe -======================================================== - -## SYNOPSIS - - npm.commands.docs(package, callback) - -## DESCRIPTION - -This command tries to guess at the likely location of a package's -documentation URL, and then tries to open it using the `--browser` -config param. - -Like other commands, the first parameter is an array. This command only -uses the first element, which is expected to be a package name with an -optional version number. - -This command will launch a browser, so this command may not be the most -friendly for programmatic use.
  98. Download patch debian/copyright_hints
  99. Download patch debian/patches/2009_privacy_breach_travis.patch

    --- 1.4.21+ds-2/debian/patches/2009_privacy_breach_travis.patch 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.2-0ubuntu4/debian/patches/2009_privacy_breach_travis.patch 2015-12-07 18:23:44.000000000 +0000 @@ -0,0 +1,17 @@ +Description: remove remote image from README.md to avoid privacy breach + The README.md is converted to html and is part of the installed docs. +Forwarded: not-needed +Author: Jérémy Lal <kapouer@melix.org> +Last-Update: 2014-07-29 +Index: npm/README.md +=================================================================== +--- npm.orig/README.md ++++ npm/README.md +@@ -1,6 +1,6 @@ + npm(1) -- a JavaScript package manager + ============================== +-[![Build Status](https://img.shields.io/travis/npm/npm/master.svg)](https://travis-ci.org/npm/npm) ++[Build Status](https://travis-ci.org/npm/npm) + ## SYNOPSIS + + This is just enough info to get you up and running.
  100. Download patch cli.js

    --- 1.4.21+ds-2/cli.js 2015-12-08 18:08:06.000000000 +0000 +++ 3.5.2-0ubuntu4/cli.js 2015-12-08 18:08:06.000000000 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/nodejs -require("./bin/npm-cli.js") +require('./bin/npm-cli.js')
  101. ...

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: tomcat8

tomcat8 (8.0.36-2ubuntu1) yakkety; urgency=medium * SECURITY UPDATE: privilege escalation via insecure init script - debian/tomcat8.init: don't follow symlinks when handling the catalina.out file. - CVE-2016-1240 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 16 Sep 2016 09:08:41 -0400

Modifications :
  1. Download patch debian/tomcat8.init

    --- 8.0.36-2/debian/tomcat8.init 2016-08-02 08:50:42.000000000 +0000 +++ 8.0.36-2ubuntu1/debian/tomcat8.init 2016-09-16 13:08:14.000000000 +0000 @@ -171,8 +171,10 @@ catalina_sh() { # Run the catalina.sh script as a daemon set +e - touch "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out - chown $TOMCAT8_USER "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out + if [ ! -f "$CATALINA_BASE"/logs/catalina.out ]; then + install -o $TOMCAT8_USER -g adm -m 644 /dev/null "$CATALINA_BASE"/logs/catalina.out + fi + install -o $TOMCAT8_USER -g adm -m 644 /dev/null "$CATALINA_PID" start-stop-daemon --start -b -u "$TOMCAT8_USER" -g "$TOMCAT8_GROUP" \ -c "$TOMCAT8_USER" -d "$CATALINA_TMPDIR" -p "$CATALINA_PID" \ -x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH"
  2. Download patch debian/control

    --- 8.0.36-2/debian/control 2016-08-02 08:50:42.000000000 +0000 +++ 8.0.36-2ubuntu1/debian/control 2016-09-16 13:08:41.000000000 +0000 @@ -1,7 +1,8 @@ Source: tomcat8 Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: James Page <james.page@ubuntu.com>, Miguel Landaeta <nomadium@debian.org>, tony mancill <tmancill@debian.org>,

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: underscore

underscore (1.7.0~dfsg-1ubuntu1) vivid; urgency=low * Merge from Debian unstable, remaining changes: - Suggest javascript-common instead of recommending it. - Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Dmitry Shachnev <mitya57@ubuntu.com> Tue, 17 Feb 2015 13:11:07 +0300

Modifications :
  1. Download patch debian/rules

    --- 1.7.0~dfsg-1/debian/rules 2014-10-16 11:02:55.000000000 +0000 +++ 1.7.0~dfsg-1ubuntu1/debian/rules 2014-10-16 22:22:06.000000000 +0000 @@ -24,7 +24,7 @@ lib = $(DEB_SOURCE_PACKAGE) pkg = node-$(lib) jspkg = libjs-$(lib) -CDBS_BUILD_DEPENDS += , uglifyjs +CDBS_BUILD_DEPENDS += , yui-compressor DEB_UPSTREAM_URL = https://github.com/documentcloud/$(lib)/archive DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) @@ -47,7 +47,7 @@ DEB_DH_INSTALL_ARGS_$(jspkg) = $(addsuff build/$(jspkg):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js - uglifyjs -o $@ $< + yui-compressor $< -o $@ clean:: rm -f debian/*.js
  2. Download patch debian/control

    --- 1.7.0~dfsg-1/debian/control 2014-10-16 11:10:47.000000000 +0000 +++ 1.7.0~dfsg-1ubuntu1/debian/control 2015-02-17 10:09:58.000000000 +0000 @@ -1,14 +1,15 @@ Source: underscore Section: web Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jonas Smedegaard <dr@jones.dk> , David Paleino <dapal@debian.org> Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, - uglifyjs + yui-compressor Standards-Version: 3.9.6 Homepage: http://underscorejs.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/underscore @@ -17,8 +18,8 @@ Vcs-Browser: https://anonscm.debian.org/ Package: libjs-underscore Architecture: all Depends: ${misc:Depends} -Recommends: javascript-common, - libjs-jquery +Recommends: libjs-jquery +Suggests: javascript-common Description: JavaScript's functional programming helper library Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in
  3. Download patch debian/control.in

    --- 1.7.0~dfsg-1/debian/control.in 2014-10-16 11:02:38.000000000 +0000 +++ 1.7.0~dfsg-1ubuntu1/debian/control.in 2014-10-16 22:22:06.000000000 +0000 @@ -1,7 +1,8 @@ Source: underscore Section: web Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jonas Smedegaard <dr@jones.dk> , David Paleino <dapal@debian.org> Build-Depends: @cdbs@ @@ -13,8 +14,8 @@ Vcs-Browser: https://anonscm.debian.org/ Package: libjs-underscore Architecture: all Depends: ${misc:Depends} -Recommends: javascript-common, - libjs-jquery +Recommends: libjs-jquery +Suggests: javascript-common Description: JavaScript's functional programming helper library Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: underscore.logger

underscore.logger (0.3.0~20111114-1ubuntu1) quantal; urgency=low * Replace octal escapes with hex escapes (thanks, Julian Taylor; closes: #669541). -- Colin Watson <cjwatson@ubuntu.com> Mon, 01 Oct 2012 11:46:06 +0100

Modifications :
  1. Download patch debian/control

    --- 0.3.0~20111114-1/debian/control 2011-12-25 04:45:51.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/debian/control 2012-10-01 10:46:04.000000000 +0000 @@ -1,7 +1,8 @@ Source: underscore.logger Section: web Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jonas Smedegaard <dr@jones.dk> Build-Depends: cdbs (>= 0.4.72~), devscripts,
  2. Download patch debian/control.in

    --- 0.3.0~20111114-1/debian/control.in 2011-12-25 03:52:15.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/debian/control.in 2012-10-01 10:46:04.000000000 +0000 @@ -1,7 +1,8 @@ Source: underscore.logger Section: web Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jonas Smedegaard <dr@jones.dk> Build-Depends: @cdbs@ Standards-Version: 3.9.2
  3. Download patch .pc/applied-patches

    --- 0.3.0~20111114-1/.pc/applied-patches 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/.pc/applied-patches 2012-10-01 13:37:27.526035062 +0000 @@ -0,0 +1 @@ +hex-escapes.patch
  4. Download patch debian/patches/series

    --- 0.3.0~20111114-1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/debian/patches/series 2012-10-01 10:45:30.000000000 +0000 @@ -0,0 +1 @@ +hex-escapes.patch
  5. Download patch .pc/hex-escapes.patch/src/underscore.logger.coffee

    --- 0.3.0~20111114-1/.pc/hex-escapes.patch/src/underscore.logger.coffee 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/.pc/hex-escapes.patch/src/underscore.logger.coffee 2011-12-23 09:20:39.000000000 +0000 @@ -0,0 +1,167 @@ +class Logger + @FATAL: 0 + @ERROR: 1 + @WARN: 2 + @INFO: 3 + @DEBUG: 4 + @TRACE: 5 + + @levels: ["FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"] + + @ANSI: + OFF: 0 + BOLD: 1 + ITALIC: 3 + UNDERLINE: 4 + BLINK: 5 + INVERSE: 7 + HIDDEN: 8 + BLACK: 30 + RED: 31 + GREEN: 32 + YELLOW: 33 + BLUE: 34 + MAGENTA: 35 + CYAN: 36 + WHITE: 37 + BLACK_BG: 40 + RED_BG: 41 + GREEN_BG: 42 + YELLOW_BG: 43 + BLUE_BG: 44 + MAGENTA_BG: 45 + CYAN_BG: 46 + WHITE_BG: 47 + + @colors: [@ANSI.MAGENTA, @ANSI.RED, @ANSI.YELLOW, @ANSI.GREEN, @ANSI.CYAN, @ANSI.BLUE] + + constructor: (options = {}) -> + @level = options.level || Logger.DEBUG + @out = options.out if options.out + # set to false if you're in the browser + @colorized = if options.hasOwnProperty("colorized") then options.colorized else false + @colors = Logger.colors.concat() + + out: (message) -> console.log(message) + + colorize: -> + colors = Array.prototype.slice.call(arguments) + string = colors.shift() + result = "" + i = 0 + while color = colors[i] + result += "\033[#{color}m" + i++ + result += "#{string}\033[#{Logger.ANSI.OFF}m" + result + + format: (date, level, message) -> + # Common Log Date Format: [10/Oct/2000:13:55:36 -0700] + "[#{date.toUTCString()}] #{Logger.levels[level]} #{message}" + + _log: (level, args) -> + if level <= @level + i = 0 + message = args[0].replace /%s/g, -> args[i++] + message = @format(new Date(), level, message) + message = @colorize(message, @colors[level]) if @colorized + @out message + + log: -> + @info(arguments...) + + fatal: -> + @_log(Logger.FATAL, arguments) + + error: -> + @_log(Logger.ERROR, arguments) + + warn: -> + @_log(Logger.WARN, arguments) + + info: -> + @_log(Logger.INFO, arguments) + + debug: -> + @_log(Logger.DEBUG, arguments) + + trace: -> + @_log(Logger.TRACE, arguments) + + group: -> + + on: (event, callback) -> + switch event + when "message" + @ + when "line" + @ + when "frame" + @timer ?= new Logger.Timer() + @timer.on(event, callback) + when "bench" + @ + @ + + toObject: -> + logger = @ + + log: -> logger.log(arguments...) + fatal: -> logger.fatal(arguments...) + error: -> logger.error(arguments...) + warn: -> logger.warn(arguments...) + info: -> logger.info(arguments...) + debug: -> logger.debug(arguments...) + trace: -> logger.trace(arguments...) + + class @Timer + constructor: -> + @now = Date.now() + @time_last_frame = @now + @time_last_second = @now + @fps = 0 + @fps_min = 1000 # set it high so it's calibrated to the lowest + @fps_max = 0 + @ms = 0 + @ms_min = 0 + @ms_max = 0 + @frames = 0 + @handlers = [] + + on: (event, callback) -> + @handlers.push(callback) + @start() + + start: -> + return @ if @timer + self = @ + @timer = setInterval((-> self.update()), 1000 / 60) + @ + + stop: -> + clearInterval(@timer) + @timer = null + @ + + update: -> + @now = Date.now() + @ms = @now - @time_last_frame + @ms_min = Math.min(@ms_min, @ms) + @ms_max = Math.max(@ms_max, @ms) + @time_last_frame = @now + @frames += 1 + + if @now > (@time_last_second + 1000) + @fps = Math.round((@frames * 1000) / (@now - @time_last_second)) + @fps_min = Math.min(@fps_min, @fps) + @fps_max = Math.max(@fps_max, @fps) + @time_last_second = @now + @frames = 0 + + for handler in @handlers + handler.apply(@) + +if typeof module == 'undefined' || typeof window != 'undefined' + window["_console"] = new Logger(colorized: false) +else + module.exports = new Logger(colorized: true)
  6. Download patch src/underscore.logger.coffee

    --- 0.3.0~20111114-1/src/underscore.logger.coffee 2011-12-23 09:20:39.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/src/underscore.logger.coffee 2012-10-01 13:37:27.000000000 +0000 @@ -50,9 +50,9 @@ class Logger result = "" i = 0 while color = colors[i] - result += "\033[#{color}m" + result += "\x1b[#{color}m" i++ - result += "#{string}\033[#{Logger.ANSI.OFF}m" + result += "#{string}\x1b[#{Logger.ANSI.OFF}m" result format: (date, level, message) ->
  7. Download patch debian/patches/hex-escapes.patch

    --- 0.3.0~20111114-1/debian/patches/hex-escapes.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.3.0~20111114-1ubuntu1/debian/patches/hex-escapes.patch 2012-10-01 10:45:16.000000000 +0000 @@ -0,0 +1,18 @@ +Description: replace octal number with hex +Author: Julian Taylor <jtaylor.debian@googlemail.com> +Bug-Debian: http://bugs.debian.org/669541 + +--- underscore.logger-0.3.0~20111114.orig/src/underscore.logger.coffee ++++ underscore.logger-0.3.0~20111114/src/underscore.logger.coffee +@@ -50,9 +50,9 @@ class Logger + result = "" + i = 0 + while color = colors[i] +- result += "\033[#{color}m" ++ result += "\x1b[#{color}m" + i++ +- result += "#{string}\033[#{Logger.ANSI.OFF}m" ++ result += "#{string}\x1b[#{Logger.ANSI.OFF}m" + result + + format: (date, level, message) ->

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: yui3

yui3 (3.5.1-1ubuntu3) quantal; urgency=low * Downgrade the javascript-common recommendation to a suggestion for all binary packages. -- Matthias Klose <doko@ubuntu.com> Fri, 28 Sep 2012 13:36:31 +0200 yui3 (3.5.1-1ubuntu2) quantal; urgency=low * debian/control: Drop Recommends on javascript-common to Suggests as it is not in main. -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 11 Sep 2012 15:00:22 -0400 yui3 (3.5.1-1ubuntu1) quantal; urgency=low * Do not build the *.swf files to not pull various dependencies that we do not want in main. - debian/control: Drop Build-Dep on swftools. - debian/rules: Do not build swf files. * debian/watch: Remove dfsg mangler option. -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 03 Jul 2012 15:53:28 -0400

Modifications :
  1. Download patch debian/rules

    --- 3.5.1-1/debian/rules 2012-06-29 03:58:19.000000000 +0000 +++ 3.5.1-1ubuntu3/debian/rules 2012-07-03 19:51:30.000000000 +0000 @@ -31,19 +31,6 @@ override_dh_install: cd debian/libjs-yui3-common && find . -type d -empty | xargs rmdir - # creating flash files - cd src/io/as && \ - as3compile com/yui/util/io.as -M io -R -o io.swf && \ - mv io.swf ../../../build/io-xdr - - cd src/uploader-deprecated/as && \ - as3compile Uploader.as -M Uploader -R -o uploader.swf && \ - mv uploader.swf ../../../build/uploader-deprecated/assets - - cd src/uploader/as && \ - as3compile FlashUploader.as -M flashUploader -R -o flashuploader.swf && \ - mv flashuploader.swf ../../../build/uploader/assets - override_dh_clean: dh_clean -find . -name "*.swf" | xargs rm
  2. Download patch debian/control

    --- 3.5.1-1/debian/control 2012-06-29 03:56:58.000000000 +0000 +++ 3.5.1-1ubuntu3/debian/control 2012-09-28 11:36:24.000000000 +0000 @@ -1,9 +1,10 @@ Source: yui3 Section: web Priority: optional -Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Uploaders: Jaldhar H. Vyas <jaldhar@debian.org> -Build-Depends: debhelper (>= 7.0.50~), swftools +Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.3 Homepage: http://developer.yahoo.com/yui/3/ Vcs-Browser: http://git.debian.org/?p=pkg-javascript/yui3.git @@ -14,7 +15,7 @@ Package: libjs-yui3-common Section: web Architecture: all Depends: ${misc:Depends} -Recommends: javascript-common +Suggests: javascript-common Description: Yahoo User Interface Library v3 (common files) A collection of JavaScript and CSS resources that make it easier to build richly interactive applications in web browsers. The library currently @@ -34,7 +35,7 @@ Package: libjs-yui3-debug Section: web Architecture: all Depends: libjs-yui3-common, ${misc:Depends} -Recommends: javascript-common +Suggests: javascript-common Description: Yahoo User Interface Library v3 (debug files) A collection of JavaScript and CSS resources that make it easier to build richly interactive applications in web browsers. @@ -53,7 +54,7 @@ Package: libjs-yui3-full Section: web Architecture: all Depends: libjs-yui3-common, ${misc:Depends} -Recommends: javascript-common +Suggests: javascript-common Description: Yahoo User Interface Library v3 (full, uncompressed files) A collection of JavaScript and CSS resources that make it easier to build richly interactive applications in web browsers. @@ -65,7 +66,7 @@ Package: libjs-yui3-min Section: web Architecture: all Depends: libjs-yui3-common, ${misc:Depends} -Recommends: javascript-common +Suggests: javascript-common Description: Yahoo User Interface Library v3 (minified files) A collection of JavaScript and CSS resources that make it easier to build richly interactive applications in web browsers.
  3. Download patch debian/watch

    --- 3.5.1-1/debian/watch 2012-06-29 01:05:51.000000000 +0000 +++ 3.5.1-1ubuntu3/debian/watch 2012-07-03 19:53:24.000000000 +0000 @@ -1,4 +1,3 @@ version=3 -opts=dversionmangle=s/\+dfsg// \ http://yuilibrary.com/download/yui3/ \ http://yui.zenfs.com/releases/yui3/yui_([\d\.]*).zip
  1. apache-log4j1.2
  2. batik
  3. bouncycastle
  4. commons-configuration
  5. dom4j
  6. excalibur-logkit
  7. geronimo-jacc-1.1-spec
  8. geronimo-jta-1.1-spec
  9. jarjar
  10. java-common
  11. java3d
  12. jmagick
  13. jruby
  14. jsch-agent-proxy
  15. junit4
  16. junitperf
  17. libcommons-cli-java
  18. libcommons-dbcp-java
  19. libcommons-discovery-java
  20. libcommons-lang-java
  21. libgnumail-java
  22. libhamcrest-java
  23. libjaxen-java
  24. libjaxp1.3-java
  25. libjs-jcrop
  26. libjs-jquery-hotkeys
  27. libphonenumber
  28. libv8-3.14
  29. modernizr
  30. nodejs
  31. npm
  32. tomcat8
  33. underscore
  34. underscore.logger
  35. yui3