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: animal-sniffer

animal-sniffer (1.7-2ubuntu1) saucy; urgency=low * debian/control: Build-depend on libbackport-util-concurrent-java to fix FTBFS. -- Logan Rosen <logan@ubuntu.com> Tue, 18 Jun 2013 21:08:14 -0400

Modifications :
  1. Download patch debian/control

    --- 1.7-2/debian/control 2012-01-08 01:04:53.000000000 +0000 +++ 1.7-2ubuntu1/debian/control 2013-06-19 01:11:38.000000000 +0000 @@ -1,13 +1,14 @@ Source: animal-sniffer 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 Schmitz <matthias@sigxcpu.org> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4), ant Build-Depends-Indep: libasm3-java, junit, default-jdk-doc, libmaven-javadoc-plugin-java, libmaven-enforcer-plugin-java, libmaven-invoker-plugin-java, libmaven-common-artifact-filters-java, - libbuild-helper-maven-plugin-java, libmaven-shade-plugin-java, libmaven-plugin-tools-java, libmaven-install-plugin-java + libbuild-helper-maven-plugin-java, libmaven-shade-plugin-java, libmaven-plugin-tools-java, libmaven-install-plugin-java, libbackport-util-concurrent-java Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-java/animal-sniffer.git Vcs-Browser: http://git.debian.org/?p=pkg-java/animal-sniffer.git;a=summary

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

Source: antlr3

antlr3 (3.2.is.3.2-7ubuntu3) quantal; urgency=low * Fix issue with links between maven-repo and /usr/share/java: - d/rules: Drop calls to mh_linkrepojar - these are no longer required as jar files are installed to /usr/share/java and links created from the /usr/share/maven-repo. -- James Page <james.page@ubuntu.com> Wed, 19 Sep 2012 09:58:41 +0100 antlr3 (3.2.is.3.2-7ubuntu2) quantal; urgency=low * Support installation alongside antlr2 packages (LP: #1049167): - d/antlr3.poms: Provide antlr3 prefixed names for the antlr jar files installed to /usr/share/java. This also makes the 'antlr3' command work again. -- James Page <james.page@ubuntu.com> Tue, 11 Sep 2012 16:26:47 +0100 antlr3 (3.2.is.3.2-7ubuntu1) quantal; urgency=low * Restore jar files to /usr/share/java (LP: #1049087): - d/antlr3.poms: Specify --java-lib flag for jars which are not maven plugins. -- James Page <james.page@ubuntu.com> Tue, 11 Sep 2012 14:06:19 +0100 antlr3 (3.2.is.3.2-7) quantal; urgency=low * No-change upload to Ubuntu -- Jeremy Bicha <jbicha@ubuntu.com> Sun, 01 Jul 2012 01:41:00 -0400

Modifications :
  1. Download patch debian/rules

    --- 3.2.is.3.2-7/debian/rules 2012-07-01 05:43:00.000000000 +0000 +++ 3.2.is.3.2-7ubuntu3/debian/rules 2012-09-19 09:15:00.000000000 +0000 @@ -29,9 +29,6 @@ before-mvn-build:: unpatch-poms mh_unpatchpoms -pantlr3 binary-post-install/antlr3:: - mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar - mh_linkrepojar -pantlr3 tool/pom.xml /usr/share/java/antlr3.jar - mh_linkrepojar -plibantlr3-gunit-java gunit/pom.xml /usr/share/java/antlr3-gunit.jar dh_installman -pantlr3 get-orig-source:
  2. Download patch debian/control

    --- 3.2.is.3.2-7/debian/control 2012-07-01 05:43:00.000000000 +0000 +++ 3.2.is.3.2-7ubuntu3/debian/control 2012-09-11 12:53:23.000000000 +0000 @@ -1,7 +1,8 @@ Source: antlr3 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> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.1), libstringtemplate-java (>= 3.2.1),
  3. Download patch debian/antlr3.poms

    --- 3.2.is.3.2-7/debian/antlr3.poms 2012-07-01 05:43:00.000000000 +0000 +++ 3.2.is.3.2-7ubuntu3/debian/antlr3.poms 2012-09-11 15:16:34.000000000 +0000 @@ -1,6 +1,6 @@ pom.xml -runtime/Java/pom.xml -tool/pom.xml +runtime/Java/pom.xml --java-lib --usj-name=antlr3-runtime +tool/pom.xml --java-lib --usj-name=antlr3 antlr3-maven-plugin/pom.xml --package=antlr3-maven-plugin -gunit/pom.xml --package=libantlr3-gunit-java +gunit/pom.xml --package=libantlr3-gunit-java --java-lib gunit-maven-plugin/pom.xml --package=antlr3-gunit-maven-plugin

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

Source: apache-log4j1.2

apache-log4j1.2 (1.2.17-4ubuntu3) trusty; urgency=medium * d/liblog4j1.2.manifest: Add missing Bundle-SymbolicName to manifest. -- James Page <james.page@ubuntu.com> Tue, 25 Mar 2014 09:26:51 +0000 apache-log4j1.2 (1.2.17-4ubuntu2) trusty; urgency=medium * d/liblog4j1.2.manifest,control,rules: Add OSGi manifest for log4j using javahelper (LP: #894302). -- James Page <james.page@ubuntu.com> Mon, 03 Mar 2014 10:56:35 +0000 apache-log4j1.2 (1.2.17-4ubuntu1) trusty; urgency=low * Merge from Debian unstable (LP: #1246295). Remaining changes: - d/{rules,control}: Remove dependency on bnd and don't add OSGi headers to jar file. -- Yolanda Robla <yolanda.robla@canonical.com> Tue, 30 Oct 2013 13:41:00 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.2.17-4/debian/rules 2013-08-27 06:36:53.000000000 +0000 +++ 1.2.17-4ubuntu3/debian/rules 2014-03-03 10:52:15.000000000 +0000 @@ -1,6 +1,7 @@ #!/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) @@ -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/gnumail.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-4/debian/control 2013-08-27 06:38:39.000000000 +0000 +++ 1.2.17-4ubuntu3/debian/control 2014-03-03 10:52:25.000000000 +0000 @@ -1,7 +1,8 @@ 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>, Kumar Appaiah <akumar@debian.org>, Torsten Werner <twerner@debian.org>, @@ -9,7 +10,7 @@ Uploaders: Varun Hiremath <varun@debian. Jakub Adam <jakub.adam@ktknet.cz>, Emmanuel Bourg <ebourg@apache.org> Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, - libgnumail-java, maven-repo-helper, default-jdk-doc, bnd + libgnumail-java, maven-repo-helper, default-jdk-doc, javahelper Standards-Version: 3.9.4 Homepage: http://logging.apache.org/log4j/1.2/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/apache-log4j1.2
  3. Download patch debian/liblog4j1.2-java.manifest

    --- 1.2.17-4/debian/liblog4j1.2-java.manifest 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.17-4ubuntu3/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.7.ubuntu-8ubuntu2) quantal; urgency=low * Switch package to use default-jdk instead of openjdk-6: - d/control: Updated BDI's to use default-jdk instead of openjdk-6. - d/control: Updated to use default-jre-headless as runtime. -- James Page <james.page@ubuntu.com> Wed, 16 May 2012 17:50:14 +0100 batik (1.7.ubuntu-8ubuntu1) precise; urgency=low * Merge from Debian testing (LP: #946158), remaining changes: + fix upstream version since we're stuck with this fake upstream version until the next upstream release - update debian/rules * Drop debian/patches/series diff as Debian now has their own version which works fine * Mark Vcs-* as XS-Debian-Vcs-* - update debian/control -- Micah Gersten <micahg@ubuntu.com> Sun, 04 Mar 2012 02:36:50 -0600

Modifications :
  1. Download patch debian/patches/06_fix_paths_in_policy_files.patch

    --- 1.7+dfsg-4/debian/patches/06_fix_paths_in_policy_files.patch 2013-10-15 04:56:48.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/patches/06_fix_paths_in_policy_files.patch 2012-05-16 16:40:02.000000000 +0000 @@ -1,16 +1,6 @@ -From: Vincent Fourmond <fourmond@debian.org -Date: Mon, 14 Oct 2013 14:59:02 +0200 -Subject: 06_fix_paths_in_policy_files - ---- - .../apache/batik/apps/rasterizer/resources/rasterizer.policy | 8 ++++---- - .../apache/batik/apps/svgbrowser/resources/svgbrowser.policy | 10 +++++----- - 2 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy b/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy -index 9652745..a66f39d 100644 ---- a/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy -+++ b/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy +diff -Nur -x '*.orig' -x '*~' batik-1.7.dfsg/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy batik-1.7.dfsg.new/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy +--- batik-1.7.dfsg/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy 2006-11-22 09:22:10.000000000 +0530 ++++ batik-1.7.dfsg.new/resources/org/apache/batik/apps/rasterizer/resources/rasterizer.policy 2009-04-19 03:32:06.000000000 +0530 @@ -18,7 +18,7 @@ // $Id: rasterizer.policy 476799 2006-11-19 11:33:41Z cam $ // ----------------------------------------------------------------------------- @@ -20,7 +10,7 @@ index 9652745..a66f39d 100644 permission java.security.AllPermission; }; -@@ -26,16 +26,16 @@ grant codeBase "${app.dev.base}/lib/xml-apis-dom3.jar" { +@@ -26,16 +26,16 @@ permission java.security.AllPermission; }; @@ -40,10 +30,9 @@ index 9652745..a66f39d 100644 permission java.lang.RuntimePermission "createClassLoader"; permission java.net.SocketPermission "*", "listen, connect, resolve, accept"; permission java.lang.RuntimePermission "accessDeclaredMembers"; -diff --git a/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy b/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy -index 6f58c0d..7760b08 100644 ---- a/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy -+++ b/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy +diff -Nur -x '*.orig' -x '*~' batik-1.7.dfsg/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy batik-1.7.dfsg.new/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy +--- batik-1.7.dfsg/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy 2007-11-14 12:43:56.000000000 +0530 ++++ batik-1.7.dfsg.new/resources/org/apache/batik/apps/svgbrowser/resources/svgbrowser.policy 2009-04-19 03:30:52.000000000 +0530 @@ -18,23 +18,23 @@ // $Id: svgbrowser.policy 499629 2007-01-25 00:32:16Z cam $ // -----------------------------------------------------------------------------
  2. Download patch debian/rules

    --- 1.7+dfsg-4/debian/rules 2013-10-15 04:56:48.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/rules 2012-05-16 16:42:57.000000000 +0000 @@ -7,12 +7,15 @@ export JITC_PROCESSOR_TYPE=6 include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/javahelper.mk include /usr/share/cdbs/1/class/ant.mk +export VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed s/\.ubuntu//) + arch = $(shell dpkg-architecture -qDEB_HOST_ARCH) -JAVA_HOME_DIRS := /usr/lib/jvm/default-java +JAVA_HOME_DIRS := /usr/lib/jvm/java-7-openjdk-$(arch) \ + /usr/lib/jvm/java-6-openjdk-$(arch) /usr/lib/jvm/java-6-openjdk \ + /usr/lib/jvm/java-1.5.0-sun /usr/lib/jvm/java-6-sun ANT_HOME := /usr/share/ant DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar bfs \ gnujaxp js xalan2 xml-apis-ext @@ -23,17 +26,15 @@ DEB_ANT_BUILDFILE := build.xml DEB_ANT_CLEAN_TARGET := clean # Increasing memory of the compiler -ANT_OPTS := -Xms256m -Xmx256m -Dbuild.sysclasspath=only +ANT_OPTS := -Xms256m -Xmx256m LIBRARY=batik -UPSTREAM_VERSION = $(subst +dfsg,,$(DEB_UPSTREAM_VERSION)) - LIB_NAMES = all libs install/libbatik-java:: # Install poms ant maven-artifacts - for jar in batik-$(UPSTREAM_VERSION)/maven/*/$(UPSTREAM_VERSION)/*.jar; do \ + for jar in batik-$(VERSION)/maven/*/$(VERSION)/*.jar; do \ pom=$$(dirname $$jar)/$$(basename $$jar .jar).pom; \ mh_installpom -v -plibbatik-java $$pom; \ mh_installjar -plibbatik-java -l $$pom $$jar; \ @@ -41,17 +42,14 @@ install/libbatik-java:: # Install batik-all.jar and batik-libs.jar for name in $(LIB_NAMES); do \ - install -m 644 batik-$(UPSTREAM_VERSION)/lib/batik-$$name.jar debian/libbatik-java/usr/share/java/batik-$$name-$(UPSTREAM_VERSION).jar; \ - ln -s batik-$$name-$(UPSTREAM_VERSION).jar debian/libbatik-java/usr/share/java/batik-$$name.jar; \ + install -m 644 batik-$(VERSION)/lib/batik-$$name.jar debian/libbatik-java/usr/share/java/batik-$$name-$(VERSION).jar; \ + ln -s batik-$$name-$(VERSION).jar debian/libbatik-java/usr/share/java/batik-$$name.jar; \ done - ln -s batik-all-$(UPSTREAM_VERSION).jar debian/libbatik-java/usr/share/java/batik-$(UPSTREAM_VERSION).jar; \ - ln -s batik-all-$(UPSTREAM_VERSION).jar debian/libbatik-java/usr/share/java/batik.jar; \ + ln -s batik-all-$(VERSION).jar debian/libbatik-java/usr/share/java/batik-$(VERSION).jar; \ + ln -s batik-all-$(VERSION).jar debian/libbatik-java/usr/share/java/batik.jar; \ # Install wrapper scripts install -d debian/libbatik-java/usr/bin for prog in debian/wrappers/* ; do \ install -t debian/libbatik-java/usr/bin/ $$prog ; \ done - -clean:: - mh_clean
  3. Download patch debian/compat

    --- 1.7+dfsg-4/debian/compat 2013-10-15 04:56:48.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/compat 2012-05-16 16:40:02.000000000 +0000 @@ -1 +1 @@ -9 +5
  4. Download patch debian/control

    --- 1.7+dfsg-4/debian/control 2013-10-17 04:59:23.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/control 2012-05-16 16:50:12.000000000 +0000 @@ -1,46 +1,29 @@ Source: batik Section: java Priority: optional -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> -Standards-Version: 3.9.4 -Build-Depends: - cdbs, - debhelper (>= 9) -Build-Depends-Indep: - ant, - default-jdk, - javahelper, - libavalon-framework-java (>= 4.2.0), - libbsf-java, - libcommons-io-java, - libcommons-logging-java, - libxalan2-java, - libxml-commons-external-java, - maven-repo-helper, - rhino +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>, Michael Koch <konqueror@gmx.de>, + Vincent Fourmond <fourmond@debian.org>, Onkar Shinde <onkarshinde@ubuntu.com> +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 5.0), cdbs +Build-Depends-Indep: default-jdk, ant, + libbsf-java, libxalan2-java, rhino, libavalon-framework-java (>= 4.2.0), + libcommons-io-java, libcommons-logging-java, libxml-commons-external-java, + maven-repo-helper Homepage: http://xml.apache.org/batik/ -Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/batik -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/batik +XS-Debian-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/batik +XS-Debian-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/batik Package: libbatik-java Architecture: all -Depends: - java-wrappers (>= 0.1.12), - libavalon-framework-java (>= 4.2.0), - libbsf-java, - libcommons-io-java, - libcommons-logging-java, - libxalan2-java, +Depends: default-jre-headless | java2-runtime-headless, + libxalan2-java, libbsf-java, + libavalon-framework-java (>= 4.2.0), libcommons-io-java, + libcommons-logging-java, java-wrappers (>= 0.1.12), libxml-commons-external-java, ${misc:Depends} -Recommends: - fop (>= 1:0.94), - rhino, - default-jre +Recommends: fop (>= 1:0.94), rhino, default-jre | java2-runtime Description: xml.apache.org SVG Library Batik is a toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such @@ -49,7 +32,7 @@ Description: xml.apache.org SVG Library Batik provides several modules to be used in applications: * A SVG generator module, usable to export graphics into the SVG format. * A SVG processor and SVG Viewing component for integrating SVG viewing. - * A module to convert SVG to various formats, such as raster images + * A module to convert SVG to various formats, such as raster images (JPEG, PNG or Tiff) and PS, PDF. . fop is necessary for PDF output of rasterizer.
  5. Download patch .pc/applied-patches

    --- 1.7+dfsg-4/.pc/applied-patches 2013-10-17 10:09:43.460048357 +0000 +++ 1.7.ubuntu-8ubuntu2/.pc/applied-patches 2013-10-17 10:09:44.240069122 +0000 @@ -1,3 +1,2 @@ 06_fix_paths_in_policy_files.patch source-1.5.patch -remove-js.patch
  6. Download patch debian/manifest

    --- 1.7+dfsg-4/debian/manifest 2013-10-06 17:35:59.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/manifest 1970-01-01 00:00:00.000000000 +0000 @@ -1,89 +0,0 @@ -usr/share/java/batik-bridge.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik Bridge - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.bridge - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.bridge,org.apache.batik.bridge.svg12 - -usr/share/java/batik-css.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik CSS - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.css - Bundle-Version: 1.7.0 - Require-Bundle: org.apache.batik.util;bundle-version="[1.7.0,1.8.0)",org.w3c.css.sac - Export-Package: org.apache.batik.css.dom,org.apache.batik.css.engine,org.apache.batik.css.engine.sac,org.apache.batik.css.engine.value,org.apache.batik.css.engine.value.css2,org.apache.batik.css.engine.value.svg,org.apache.batik.css.engine.value.svg12,org.apache.batik.css.parser - -usr/share/java/batik-svg-dom.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik SVG DOM - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.dom.svg - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.dom.anim,org.apache.batik.dom.svg,org.apache.batik.dom.svg12 - -usr/share/java/batik-dom.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik DOM - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.dom - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.dom,org.apache.batik.dom.events,org.apache.batik.dom.traversal,org.apache.batik.dom.util,org.apache.batik.dom.xbl - -usr/share/java/batik-awt-util.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik AWT Util - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.ext.awt - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.ext.awt,org.apache.batik.ext.awt.color,org.apache.batik.ext.awt.font,org.apache.batik.ext.awt.g2d,org.apache.batik.ext.awt.geom,org.apache.batik.ext.awt.image,org.apache.batik.ext.awt.image.renderable,org.apache.batik.ext.awt.image.rendered,org.apache.batik.ext.awt.image.spi,org.apache.batik.ext.swing - -usr/share/java/batik-parser.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik Parser - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.parser - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.parser - -usr/share/java/batik-svggen.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik SVG Gen - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.svggen - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.svggen,org.apache.batik.svggen.font,org.apache.batik.svggen.font.table - -usr/share/java/batik-transcoder.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik Parser - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.transcoder - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.transcoder,org.apache.batik.transcoder.image,org.apache.batik.transcoder.keys,org.apache.batik.transcoder.print,org.apache.batik.transcoder.svg2svg,org.apache.batik.transcoder.wmf,org.apache.batik.transcoder.wmf.tosvg - -usr/share/java/batik-gui-util.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik GUI Util - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.util.gui - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.util.gui,org.apache.batik.util.gui.resource,org.apache.batik.util.gui.xmleditor - -usr/share/java/batik-util.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik Util - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.util - Bundle-Version: 1.7.0 - Require-Bundle: org.apache.batik.util.gui;bundle-version="[1.7.0,1.8.0)" - Export-Package: org.apache.batik,org.apache.batik.i18n,org.apache.batik.util,org.apache.batik.util.io,org.apache.batik.util.resources - -usr/share/java/batik-xml.jar: - Bundle-ManifestVersion: 2 - Bundle-Name: Batik XML - Bundle-Vendor: Debian.org - Bundle-SymbolicName: org.apache.batik.xml - Bundle-Version: 1.7.0 - Export-Package: org.apache.batik.xml
  7. Download patch debian/new-upstream

    --- 1.7+dfsg-4/debian/new-upstream 2013-10-06 17:35:59.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/new-upstream 2012-05-16 16:40:02.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # -# new-upstream: copyright 2012 by Vincent Fourmond. -# See debian/copyright file for details. +# new-upstream: copyright 2008 by Vincent Fourmond. +# Repackage a zip into a .tar.gz archive # # Called by uscan; from uscan(1): # @@ -15,25 +15,18 @@ # version=$2 -filename=`readlink -f $3` +filename=$3 dir=`mktemp -d` -curdir=`pwd` +# We repackage the upstream source zip file: +unzip $filename -d $dir +origname=batik_$version.orig.tar.gz -origname=batik_$version"+dfsg".orig.tar.xz - -echo "Repackaging batik version $version from $filename" - -# Abort on errors: -set -e - -# We repackage the upstream source file, skipping binary JAR files. +# We repackage excluding the lib/ subdir cd $dir -unzip $filename -cd $dir/batik* -find -name '*.jar' | xargs rm -cd .. -tar cvJf $curdir/../$origname batik*/ +tar cvz \ + -f $origname bat* cd - -rm -rf $dir +mv $dir/$origname .. +rm -rf $dir \ No newline at end of file
  8. Download patch debian/patches/remove-js.patch

    --- 1.7+dfsg-4/debian/patches/remove-js.patch 2013-10-15 04:56:48.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/patches/remove-js.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> -Date: Mon, 14 Oct 2013 14:59:02 +0200 -Subject: remove-js - -=================================================================== ---- - build.xml | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/build.xml b/build.xml -index f274e64..96e7bde 100644 ---- a/build.xml -+++ b/build.xml -@@ -808,9 +808,9 @@ JAVA=/usr/bin/java - <copy file="${src}/batik-xml.pom.template" tofile="${maven}/batik-xml/${completeVersion}/batik-xml-${completeVersion}.pom" filtering="true"/> - <copy file="${build}/lib/batik-xml.jar" tofile="${maven}/batik-xml/${completeVersion}/batik-xml-${completeVersion}.jar"/> - -- <mkdir dir="${maven}/batik-js/${completeVersion}"/> -- <copy file="${src}/batik-js.pom.template" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.pom" filtering="true"/> -- <copy file="${build}/lib/js.jar" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.jar"/> -+ <!-- <mkdir dir="${maven}/batik-js/${completeVersion}"/> --> -+ <!-- <copy file="${src}/batik-js.pom.template" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.pom" filtering="true"/> --> -+ <!-- <copy file="${build}/lib/js.jar" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.jar"/> --> - - <!-- Generate checksums of all artifacts and POMs --> - <checksum algorithm="MD5" fileext=".md5">
  9. Download patch debian/manpages/rasterizer.1

    --- 1.7+dfsg-4/debian/manpages/rasterizer.1 2013-10-06 17:35:46.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/manpages/rasterizer.1 2012-05-16 16:40:02.000000000 +0000 @@ -61,7 +61,7 @@ are floating point values. .TP \fB\-bg\fR <color> .IP -output color. The format for <color> is a.r.g.b, where a, r, g and b +ouput color. The format for <color> is a.r.g.b, where a, r, g and b are integer values. .TP \fB\-cssMedia\fR <media> @@ -158,7 +158,7 @@ are floating point values. .TP \fB\-bg\fR <color> .IP -output color. The format for <color> is a.r.g.b, where a, r, g and b +ouput color. The format for <color> is a.r.g.b, where a, r, g and b are integer values. .TP \fB\-cssMedia\fR <media>
  10. Download patch debian/watch

    --- 1.7+dfsg-4/debian/watch 2013-10-06 17:35:59.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/watch 2012-05-16 16:40:02.000000000 +0000 @@ -1,3 +1,2 @@ version=3 -opts=dversionmangle=s/\+dfsg// \ http://archive.apache.org/dist/xmlgraphics/batik/ batik-src-([0123456789.]*).zip debian debian/new-upstream Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-awt-util.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-awt-util.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-bridge.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-bridge.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-css.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-css.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-dom.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-dom.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-ext.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-ext.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-gvt.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-gvt.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-parser.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-parser.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-script.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-script.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-svg-dom.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-svg-dom.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-swing.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-swing.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-util.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-util.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/batik-xml.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/batik-xml.jar differ Binary files 1.7+dfsg-4/documentation-sources/content/demo/xml-apis-dom3.jar and 1.7.ubuntu-8ubuntu2/documentation-sources/content/demo/xml-apis-dom3.jar differ Binary files 1.7+dfsg-4/lib/build/ant-1.6.5.jar and 1.7.ubuntu-8ubuntu2/lib/build/ant-1.6.5.jar differ Binary files 1.7+dfsg-4/lib/build/ant-launcher-1.6.5.jar and 1.7.ubuntu-8ubuntu2/lib/build/ant-launcher-1.6.5.jar differ Binary files 1.7+dfsg-4/lib/build/crimson-1.1.3.jar and 1.7.ubuntu-8ubuntu2/lib/build/crimson-1.1.3.jar differ Binary files 1.7+dfsg-4/lib/js.jar and 1.7.ubuntu-8ubuntu2/lib/js.jar differ Binary files 1.7+dfsg-4/lib/pdf-transcoder.jar and 1.7.ubuntu-8ubuntu2/lib/pdf-transcoder.jar differ Binary files 1.7+dfsg-4/lib/xalan-2.6.0.jar and 1.7.ubuntu-8ubuntu2/lib/xalan-2.6.0.jar differ Binary files 1.7+dfsg-4/lib/xerces_2_5_0.jar and 1.7.ubuntu-8ubuntu2/lib/xerces_2_5_0.jar differ Binary files 1.7+dfsg-4/lib/xml-apis-ext.jar and 1.7.ubuntu-8ubuntu2/lib/xml-apis-ext.jar differ Binary files 1.7+dfsg-4/lib/xml-apis.jar and 1.7.ubuntu-8ubuntu2/lib/xml-apis.jar differ
  11. Download patch debian/patches/series

    --- 1.7+dfsg-4/debian/patches/series 2013-10-06 17:35:59.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/patches/series 2012-05-16 16:40:02.000000000 +0000 @@ -1,3 +1,2 @@ 06_fix_paths_in_policy_files.patch source-1.5.patch -remove-js.patch
  12. Download patch .pc/remove-js.patch/build.xml
  13. Download patch build.xml

    --- 1.7+dfsg-4/build.xml 2013-10-17 10:09:43.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/build.xml 2013-10-17 10:09:44.000000000 +0000 @@ -808,9 +808,9 @@ JAVA=/usr/bin/java <copy file="${src}/batik-xml.pom.template" tofile="${maven}/batik-xml/${completeVersion}/batik-xml-${completeVersion}.pom" filtering="true"/> <copy file="${build}/lib/batik-xml.jar" tofile="${maven}/batik-xml/${completeVersion}/batik-xml-${completeVersion}.jar"/> - <!-- <mkdir dir="${maven}/batik-js/${completeVersion}"/> --> - <!-- <copy file="${src}/batik-js.pom.template" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.pom" filtering="true"/> --> - <!-- <copy file="${build}/lib/js.jar" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.jar"/> --> + <mkdir dir="${maven}/batik-js/${completeVersion}"/> + <copy file="${src}/batik-js.pom.template" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.pom" filtering="true"/> + <copy file="${build}/lib/js.jar" tofile="${maven}/batik-js/${completeVersion}/batik-js-${completeVersion}.jar"/> <!-- Generate checksums of all artifacts and POMs --> <checksum algorithm="MD5" fileext=".md5">
  14. Download patch debian/copyright
  15. Download patch debian/patches/source-1.5.patch

    --- 1.7+dfsg-4/debian/patches/source-1.5.patch 2013-10-15 04:56:48.000000000 +0000 +++ 1.7.ubuntu-8ubuntu2/debian/patches/source-1.5.patch 2012-05-16 16:40:02.000000000 +0000 @@ -1,16 +1,6 @@ -From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> -Date: Mon, 14 Oct 2013 14:59:02 +0200 -Subject: source-1.5 - ---- - build.xml | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/build.xml b/build.xml -index c26e1ee..f274e64 100644 ---- a/build.xml -+++ b/build.xml -@@ -835,7 +835,7 @@ JAVA=/usr/bin/java +--- batik-1.7.orig/build.xml 2008-11-06 18:42:11.000000000 +0100 ++++ batik-1.7/build.xml 2008-11-06 18:41:24.000000000 +0100 +@@ -835,7 +835,7 @@ <echo message="debug ${debug}, optimize ${optimize}, deprecation ${deprecation}"/> <javac srcdir="${testsrc}" destdir="${dest}" deprecation="${deprecation}" @@ -19,7 +9,7 @@ index c26e1ee..f274e64 100644 <classpath> <pathelement location="${dest}"/> <path refid="libs-classpath"/> -@@ -858,7 +858,7 @@ JAVA=/usr/bin/java +@@ -858,7 +858,7 @@ <echo message="debug ${debug}, optimize ${optimize}, deprecation ${deprecation}"/> @@ -28,7 +18,7 @@ index c26e1ee..f274e64 100644 debug="${debug}" optimize="${optimize}" encoding="UTF-8"> <classpath> <pathelement location="${dest}"/> -@@ -868,7 +868,7 @@ JAVA=/usr/bin/java +@@ -868,7 +868,7 @@ </classpath> </javac> @@ -37,7 +27,7 @@ index c26e1ee..f274e64 100644 debug="${debug}" optimize="${optimize}" encoding="UTF-8"> <classpath> <pathelement location="${dest}"/> -@@ -1004,7 +1004,7 @@ JAVA=/usr/bin/java +@@ -1004,7 +1004,7 @@ </target> <target name="compile" depends="init, compile-prepare" unless="compile.done">

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

Source: commons-daemon

commons-daemon (1.0.15-5ubuntu2) trusty; urgency=medium * Add ppc64el support. -- Colin Watson <cjwatson@ubuntu.com> Thu, 17 Apr 2014 11:14:36 +0100 commons-daemon (1.0.15-5ubuntu1) trusty; urgency=medium * Resynchronise with Debian. Remaining changes: - Add arm64 support. -- Colin Watson <cjwatson@ubuntu.com> Thu, 13 Feb 2014 11:41:02 +0000

Modifications :
  1. Download patch debian/patches/arm64.diff

    --- 1.0.15-5/debian/patches/arm64.diff 1970-01-01 00:00:00.000000000 +0000 +++ 1.0.15-5ubuntu2/debian/patches/arm64.diff 2014-02-13 11:40:29.000000000 +0000 @@ -0,0 +1,37 @@ +Description: Add ARM64 support +Author: Colin Watson <cjwatson@ubuntu.com> +Forwarded: no +Last-Update: 2013-10-15 + +Index: b/src/native/unix/configure +=================================================================== +--- a/src/native/unix/configure ++++ b/src/native/unix/configure +@@ -2697,6 +2697,11 @@ + supported_os="arm" + HOST_CPU=arm + ;; ++ aarch64) ++ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" ++ supported_os="aarch64" ++ HOST_CPU=aarch64 ++ ;; + *) + echo "$as_me:$LINENO: result: failed" >&5 + echo "${ECHO_T}failed" >&6 +Index: b/src/native/unix/support/apsupport.m4 +=================================================================== +--- a/src/native/unix/support/apsupport.m4 ++++ b/src/native/unix/support/apsupport.m4 +@@ -176,6 +176,11 @@ + supported_os="arm" + HOST_CPU=arm + ;; ++ aarch64) ++ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" ++ supported_os="aarch64" ++ HOST_CPU=aarch64 ++ ;; + *) + AC_MSG_RESULT([failed]) + AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
  2. Download patch .pc/arm64.diff/src/native/unix/configure
  3. Download patch debian/control

    --- 1.0.15-5/debian/control 2014-01-26 15:19:58.000000000 +0000 +++ 1.0.15-5ubuntu2/debian/control 2014-02-13 11:40:05.000000000 +0000 @@ -1,7 +1,8 @@ Source: commons-daemon 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>, Damien Raude-Morvan <drazzib@debian.org>, Emmanuel Bourg <ebourg@apache.org>
  4. Download patch .pc/ppc64el.diff/src/native/unix/support/apsupport.m4
  5. Download patch .pc/applied-patches

    --- 1.0.15-5/.pc/applied-patches 2014-04-17 13:07:29.426017955 +0000 +++ 1.0.15-5ubuntu2/.pc/applied-patches 2014-04-17 13:07:29.666024159 +0000 @@ -2,3 +2,5 @@ libgcj_PR31700.diff kfreebsd_support.diff s390x_support.diff hurd_support.diff +arm64.diff +ppc64el.diff
  6. Download patch src/native/unix/support/apsupport.m4

    --- 1.0.15-5/src/native/unix/support/apsupport.m4 2014-04-17 13:07:29.000000000 +0000 +++ 1.0.15-5ubuntu2/src/native/unix/support/apsupport.m4 2014-04-17 13:07:29.000000000 +0000 @@ -176,6 +176,16 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ supported_os="arm" HOST_CPU=arm ;; + aarch64) + CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" + supported_os="aarch64" + HOST_CPU=aarch64 + ;; + powerpc64le) + CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" + supported_os="powerpc64le" + HOST_CPU=powerpc64le + ;; *) AC_MSG_RESULT([failed]) AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
  7. Download patch debian/patches/ppc64el.diff

    --- 1.0.15-5/debian/patches/ppc64el.diff 1970-01-01 00:00:00.000000000 +0000 +++ 1.0.15-5ubuntu2/debian/patches/ppc64el.diff 2014-04-17 10:14:22.000000000 +0000 @@ -0,0 +1,37 @@ +Description: Add ppc64el support +Author: Colin Watson <cjwatson@ubuntu.com> +Forwarded: no +Last-Update: 2014-04-17 + +Index: b/src/native/unix/configure +=================================================================== +--- a/src/native/unix/configure ++++ b/src/native/unix/configure +@@ -2702,6 +2702,11 @@ + supported_os="aarch64" + HOST_CPU=aarch64 + ;; ++ powerpc64le) ++ CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" ++ supported_os="powerpc64le" ++ HOST_CPU=powerpc64le ++ ;; + *) + echo "$as_me:$LINENO: result: failed" >&5 + echo "${ECHO_T}failed" >&6 +Index: b/src/native/unix/support/apsupport.m4 +=================================================================== +--- a/src/native/unix/support/apsupport.m4 ++++ b/src/native/unix/support/apsupport.m4 +@@ -181,6 +181,11 @@ + supported_os="aarch64" + HOST_CPU=aarch64 + ;; ++ powerpc64le) ++ CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" ++ supported_os="powerpc64le" ++ HOST_CPU=powerpc64le ++ ;; + *) + AC_MSG_RESULT([failed]) + AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
  8. Download patch src/native/unix/configure

    --- 1.0.15-5/src/native/unix/configure 2013-03-27 08:11:16.000000000 +0000 +++ 1.0.15-5ubuntu2/src/native/unix/configure 2014-04-17 13:07:29.000000000 +0000 @@ -2697,6 +2697,16 @@ echo "$as_me: error: Unsupported operati supported_os="arm" HOST_CPU=arm ;; + aarch64) + CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" + supported_os="aarch64" + HOST_CPU=aarch64 + ;; + powerpc64le) + CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" + supported_os="powerpc64le" + HOST_CPU=powerpc64le + ;; *) echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6
  9. Download patch debian/patches/series

    --- 1.0.15-5/debian/patches/series 2014-01-26 15:22:15.000000000 +0000 +++ 1.0.15-5ubuntu2/debian/patches/series 2014-04-17 10:12:40.000000000 +0000 @@ -2,3 +2,5 @@ libgcj_PR31700.diff kfreebsd_support.diff s390x_support.diff hurd_support.diff +arm64.diff +ppc64el.diff
  10. Download patch .pc/arm64.diff/src/native/unix/support/apsupport.m4
  11. Download patch .pc/ppc64el.diff/src/native/unix/configure

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

Source: commons-vfs

commons-vfs (2.0-3ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - Use ant build system: + d/control: Drop B-D's on maven-debian-helper + cdbs and add B-D on maven-ant-helper, maven-repo-helper. + d/rules, d/build-classpath, d/build.xml, d/build.properties: Configure build to use customized version of maven-ant-helper build.xml + debhelper. + d/libcommons-vfs-java.poms: Update to pickup build artifacts and remove surplus pom files. + d/libcommons-vfs-java-doc.install: Pickup documentation from core component instead of aggregated javadoc. + d/control: Manually set dependencies for binary packages. - Enabled test suite: + d/patches/disable_webdav_provider.diff: Update patch to fix test that checks for webdav support. + d/build.xml: Ignore webdav when running tests. -- James Page <james.page@ubuntu.com> Fri, 22 Jun 2012 16:27:58 +0100

Modifications :
  1. Download patch debian/libcommons-vfs-java.poms

    --- 2.0-3/debian/libcommons-vfs-java.poms 2012-04-08 16:41:25.000000000 +0000 +++ 2.0-3ubuntu1/debian/libcommons-vfs-java.poms 2012-06-20 22:03:47.000000000 +0000 @@ -1,4 +1,2 @@ pom.xml -examples/pom.xml -core/pom.xml --java-lib -dist/pom.xml --ignore +core/pom.xml --java-lib --artifact=core/target/commons-vfs2-*.jar
  2. Download patch debian/build.properties

    --- 2.0-3/debian/build.properties 1970-01-01 00:00:00.000000000 +0000 +++ 2.0-3ubuntu1/debian/build.properties 2011-10-18 12:43:04.000000000 +0000 @@ -0,0 +1,10 @@ +build.javaVersion=1.5 +# Generate javadoc and link to required API packages +javadoc.generate=true +dependency=libcommons-logging-java +dependency2=libcommons-net2-java +dependency3=libcommons-collections3-java +dependency4=libcommons-httpclient-java +maven.test.exclude=**/RunTest.java +# Line up with maven defaults +build.directory=target
  3. Download patch debian/patches/disable_webdav_provider.diff

    --- 2.0-3/debian/patches/disable_webdav_provider.diff 2011-09-11 00:07:22.000000000 +0000 +++ 2.0-3ubuntu1/debian/patches/disable_webdav_provider.diff 2012-06-20 22:03:47.000000000 +0000 @@ -3,10 +3,10 @@ Description: Disable webdav module (sour Author: Damien Raude-Morvan <drazzib@debian.org> Last-Update: 2011-09-11 Forwarded: not-needed -Index: b/core/pom.xml +Index: commons-vfs-2.0/core/pom.xml =================================================================== ---- a/core/pom.xml -+++ b/core/pom.xml +--- commons-vfs-2.0.orig/core/pom.xml 2011-10-18 13:06:05.271986706 +0100 ++++ commons-vfs-2.0/core/pom.xml 2011-10-18 13:06:08.216010643 +0100 @@ -167,6 +167,36 @@ </configuration> </plugin> @@ -44,10 +44,10 @@ Index: b/core/pom.xml </plugins> </build> <profiles> -Index: b/pom.xml +Index: commons-vfs-2.0/pom.xml =================================================================== ---- a/pom.xml -+++ b/pom.xml +--- commons-vfs-2.0.orig/pom.xml 2011-10-18 13:06:05.291986869 +0100 ++++ commons-vfs-2.0/pom.xml 2011-10-18 13:06:08.216010643 +0100 @@ -243,6 +243,7 @@ </tag> </tags> @@ -56,3 +56,16 @@ Index: b/pom.xml </configuration> </plugin> <plugin> +Index: commons-vfs-2.0/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java +=================================================================== +--- commons-vfs-2.0.orig/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-10-18 13:06:02.194238000 +0100 ++++ commons-vfs-2.0/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-10-18 13:06:21.904121945 +0100 +@@ -119,7 +119,7 @@ + + private static String[] schemes = new String[] + { +- "webdav", "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" ++ "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" + }; + + public void testConfiguration() throws Exception
  4. Download patch debian/rules

    --- 2.0-3/debian/rules 2011-09-11 00:07:22.000000000 +0000 +++ 2.0-3ubuntu1/debian/rules 2012-06-20 22:03:47.000000000 +0000 @@ -1,14 +1,19 @@ #!/usr/bin/make -f # debian/rules for commons-vfs -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk +PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ') +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//') -JAVA_HOME := /usr/lib/jvm/default-java -PACKAGE := $(DEB_SOURCE_PACKAGE) -VERSION := $(DEB_UPSTREAM_VERSION) +export JAVA_HOME=/usr/lib/jvm/default-java +export CLASSPATH=$(shell for jar in `cat debian/build-classpath`; do if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; done) +export ANT_ARGS=-Dbasedir=$(realpath .)/core -Dpackage=$(PACKAGE) \ + -Dversion=$(VERSION) -Dbin.package=lib$(PACKAGE)-java \ + -Dpom.file=$(realpath .)/core/pom.xml -Ddebian.dir=$(realpath .)/debian \ + -propertyfile debian/build.properties \ + -f debian/build.xml -DEB_MAVEN_DOC_TARGET := javadoc:aggregate +%: + dh $@ --buildsystem=ant --with maven_repo_helper get-orig-source: uscan --force-download --rename
  5. Download patch debian/control

    --- 2.0-3/debian/control 2012-04-08 16:41:25.000000000 +0000 +++ 2.0-3ubuntu1/debian/control 2012-06-22 15:29:10.000000000 +0000 @@ -1,7 +1,8 @@ Source: commons-vfs 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> Build-Depends-Indep: ant-doc, junit4, @@ -16,10 +17,9 @@ Build-Depends-Indep: ant-doc, libcommons-net2-java-doc, libcommons-parent-java, libjdom1-java-doc, - libjsch-java, - libmaven-antrun-plugin-java, - libmaven-javadoc-plugin-java -Build-Depends: cdbs, debhelper (>= 7), default-jdk, maven-debian-helper + libjsch-java +Build-Depends: debhelper (>= 7.0.50~), default-jdk, maven-ant-helper, + maven-repo-helper (>= 1.5~) Standards-Version: 3.9.3 Homepage: http://commons.apache.org/vfs/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-vfs @@ -27,8 +27,12 @@ Vcs-Browser: http://svn.debian.org/wsvn/ Package: libcommons-vfs-java Architecture: all -Depends: ${maven:Depends}, ${misc:Depends} -Recommends: ${maven:OptionalDepends} +Depends: libcommons-logging-java, ${misc:Depends} +Recommends: ant, + libcommons-collections3-java, + libcommons-httpclient-java, + libcommons-net2-java, + libjsch-java Suggests: libcommons-vfs-java-doc Description: Java API for accessing various filesystems Commons VFS provides a single API for accessing various different file @@ -41,7 +45,11 @@ Description: Java API for accessing vari Package: libcommons-vfs-java-doc Architecture: all Section: doc -Depends: ${misc:Depends} +Depends: libcommons-collections3-java-doc, + libcommons-httpclient-java-doc, + libcommons-logging-java-doc, + libcommons-net2-java-doc, + ${misc:Depends} Recommends: default-jdk-doc Suggests: libcommons-vfs-java Description: Java API for accessing various filesystems - documentation
  6. Download patch core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java

    --- 2.0-3/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-08-18 13:57:07.000000000 +0000 +++ 2.0-3ubuntu1/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2012-06-29 00:10:46.000000000 +0000 @@ -119,7 +119,7 @@ public class DelegatingFileSystemOptions private static String[] schemes = new String[] { - "webdav", "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" + "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" }; public void testConfiguration() throws Exception
  7. Download patch debian/build.xml
  8. Download patch debian/libcommons-vfs-java-doc.install

    --- 2.0-3/debian/libcommons-vfs-java-doc.install 2011-09-11 00:07:22.000000000 +0000 +++ 2.0-3ubuntu1/debian/libcommons-vfs-java-doc.install 2012-06-20 22:03:47.000000000 +0000 @@ -1 +1 @@ -target/site/apidocs/* /usr/share/doc/libcommons-vfs-java/api/ +core/target/docs/api/* /usr/share/doc/libcommons-vfs-java/api/
  9. Download patch debian/build-classpath

    --- 2.0-3/debian/build-classpath 1970-01-01 00:00:00.000000000 +0000 +++ 2.0-3ubuntu1/debian/build-classpath 2011-10-18 13:13:22.000000000 +0000 @@ -0,0 +1,10 @@ +/usr/share/java/ant.jar +/usr/share/java/ant-junit4.jar +/usr/share/java/junit4.jar +/usr/share/java/commons-logging.jar +/usr/share/java/commons-net2.jar +/usr/share/java/commons-httpclient.jar +/usr/share/java/commons-compress.jar +/usr/share/java/jsch.jar +/usr/share/java/commons-collections3.jar +/usr/share/java/jdom.jar
  10. Download patch .pc/disable_webdav_provider.diff/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java

    --- 2.0-3/.pc/disable_webdav_provider.diff/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 1970-01-01 00:00:00.000000000 +0000 +++ 2.0-3ubuntu1/.pc/disable_webdav_provider.diff/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-08-18 13:57:07.000000000 +0000 @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.vfs2.util; + +import java.io.File; +import java.lang.reflect.InvocationTargetException; + +import junit.framework.TestCase; + +import org.apache.commons.vfs2.FileSystemException; +import org.apache.commons.vfs2.FileSystemOptions; +import org.apache.commons.vfs2.impl.StandardFileSystemManager; +import org.apache.commons.vfs2.provider.http.HttpFileSystemConfigBuilder; +import org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder; +import org.apache.commons.vfs2.provider.sftp.TrustEveryoneUserInfo; + +/** + * Some tests for the DelegatingFileSystemOptionsBuilder + * + * @author <a href="mailto:imario@apache.org">Mario Ivankovits</a> + */ +public class DelegatingFileSystemOptionsBuilderTest extends TestCase +{ + private StandardFileSystemManager fsm = null; + + @Override + protected void setUp() throws Exception + { + super.setUp(); + + // get a full blown, fully functional manager + fsm = new StandardFileSystemManager(); + fsm.init(); + } + + + @Override + protected void tearDown() throws Exception + { + if (fsm != null) + { + fsm.close(); + } + + super.tearDown(); + } + + public void testDelegatingGood() throws Throwable + { + final String[] identityPaths = new String[] + { + "/file1", + "/file2", + }; + + FileSystemOptions opts = new FileSystemOptions(); + DelegatingFileSystemOptionsBuilder delgate = new DelegatingFileSystemOptionsBuilder(fsm); + + delgate.setConfigString(opts, "http", "proxyHost", "proxy"); + delgate.setConfigString(opts, "http", "proxyPort", "8080"); + delgate.setConfigClass(opts, "sftp", "userinfo", TrustEveryoneUserInfo.class); + delgate.setConfigStrings(opts, "sftp", "identities", identityPaths); + + assertEquals("http.proxyHost", HttpFileSystemConfigBuilder.getInstance().getProxyHost(opts), "proxy"); + assertEquals("http.proxyPort", HttpFileSystemConfigBuilder.getInstance().getProxyPort(opts), 8080); + assertEquals("sftp.userInfo", SftpFileSystemConfigBuilder.getInstance().getUserInfo(opts).getClass(), TrustEveryoneUserInfo.class); + + File identities[] = SftpFileSystemConfigBuilder.getInstance().getIdentities(opts); + assertNotNull("sftp.identities", identities); + assertEquals("sftp.identities size", identities.length, identityPaths.length); + for (int iterIdentities = 0; iterIdentities < identities.length; iterIdentities++) + { + assertEquals("sftp.identities #" + iterIdentities, + identities[iterIdentities].getAbsolutePath(), + new File(identityPaths[iterIdentities]).getAbsolutePath()); + } + } + + public void testDelegatingBad() throws Throwable + { + FileSystemOptions opts = new FileSystemOptions(); + DelegatingFileSystemOptionsBuilder delgate = new DelegatingFileSystemOptionsBuilder(fsm); + + try + { + delgate.setConfigString(opts, "http", "proxyPort", "wrong_port"); + fail(); + } + catch (FileSystemException e) + { + assertEquals(e.getCause().getClass(), InvocationTargetException.class); + assertEquals(((InvocationTargetException) e.getCause()).getTargetException().getClass(), NumberFormatException.class); + } + + try + { + delgate.setConfigClass(opts, "sftp", "userinfo", String.class); + fail(); + } + catch (FileSystemException e) + { + assertEquals(e.getCode(), "vfs.provider/config-value-invalid.error"); + } + } + + private static String[] schemes = new String[] + { + "webdav", "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" + }; + + public void testConfiguration() throws Exception + { + for (int i=0; i < schemes.length; ++i) + { + assertTrue("Missing" + schemes[i] + " provider", fsm.hasProvider(schemes[i])); + } + } +}

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: doxia

doxia (1.1.4-1ubuntu4) trusty; urgency=medium * debian/rules: make sure we run in offline mode in the install:install-file step too by forcing maven in offline mode and specifying the local repository path in relation to the debian dir. (LP: #935070) -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Fri, 11 Apr 2014 22:50:59 -0400 doxia (1.1.4-1ubuntu3) precise; urgency=low * debian/patches/0008-doxia-logging-deps.patch: slightly adjust java package dependencies in doxia-modules and doxia-book pom files to include doxia-logging-api. * debian/rules: import the jar files we just build back into the temporary maven repository so they're accessible as we try to build docs. * debian/control: add a Build-Depends on libmaven-install-plugin-java. -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 23 Nov 2011 11:44:25 -0500 doxia (1.1.4-1ubuntu2) precise; urgency=low * debian/maven.properties: set maven to offline mode to avoid trying to download file from the web, which would fail the build. -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 22 Nov 2011 15:00:40 -0500 doxia (1.1.4-1ubuntu1) precise; urgency=low * debian/control: add Build-Depends for libjaxen-java. -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 21 Nov 2011 10:28:04 -0500

Modifications :
  1. Download patch doxia-modules/pom.xml

    --- 1.1.4-1/doxia-modules/pom.xml 2014-04-12 04:07:33.000000000 +0000 +++ 1.1.4-1ubuntu4/doxia-modules/pom.xml 2014-04-12 04:07:33.000000000 +0000 @@ -50,6 +50,10 @@ under the License. <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-logging-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> </dependency> <dependency>
  2. Download patch debian/rules

    --- 1.1.4-1/debian/rules 2011-09-09 22:28:03.000000000 +0000 +++ 1.1.4-1ubuntu4/debian/rules 2014-04-11 21:51:50.000000000 +0000 @@ -8,3 +8,23 @@ DEB_MAVEN_DOC_TARGET := javadoc:jar java get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + +IMPORT_BINARY_JARS = \ + for jar in `find $(CURDIR)/doxia-* -name "*.jar" -print`; \ + do \ + artifact=$$(basename $$(dirname $$(echo $$jar | sed "s/\/target//"))); \ + echo "--- $$artifact ---"; \ + mvn install:install-file -o \ + -DgroupId=org.apache.maven.doxia \ + -DartifactId=$$artifact \ + -Dversion=1.1.4 \ + -Dmaven.repo.local=$(CURDIR)/debian/maven-repo \ + -DlocalRepositoryPath=$(CURDIR)/debian/tmp/usr/share/maven-repo \ + -Dpackaging=jar -Dfile=$$jar; \ + done; + +binary-jars: + $(call IMPORT_BINARY_JARS) + touch $@ + +after-mvn-build:: binary-jars
  3. Download patch debian/control

    --- 1.1.4-1/debian/control 2011-09-09 22:28:03.000000000 +0000 +++ 1.1.4-1ubuntu4/debian/control 2014-04-11 19:37:06.000000000 +0000 @@ -1,7 +1,8 @@ Source: doxia 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: Michael Koch <konqueror@gmx.de>, Torsten Werner <twerner@debian.org> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: libclirr-maven-plugin-java, libmaven-plugin-tools-java, libmaven-shade-plugin-java, @@ -11,7 +12,7 @@ Build-Depends-Indep: libclirr-maven-plug libplexus-i18n-java, libplexus-utils-java, libxerces2-java, junit, libxerces2-java, default-jdk-doc, libcommons-configuration-java-doc, liblog4j1.2-java-doc, libmaven2-core-java-doc, libplexus-containers-java-doc, libplexus-utils-java-doc, - libmaven-javadoc-plugin-java + libmaven-javadoc-plugin-java, libjaxen-java, libmaven-install-plugin-java Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/doxia Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/doxia
  4. Download patch doxia-book/pom.xml

    --- 1.1.4-1/doxia-book/pom.xml 2014-04-12 04:07:33.000000000 +0000 +++ 1.1.4-1ubuntu4/doxia-book/pom.xml 2014-04-12 04:07:33.000000000 +0000 @@ -37,6 +37,10 @@ under the License. <!-- doxia core --> <dependency> <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-logging-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> </dependency> <dependency>
  5. Download patch .pc/applied-patches

    --- 1.1.4-1/.pc/applied-patches 2014-04-12 04:07:33.667053498 +0000 +++ 1.1.4-1ubuntu4/.pc/applied-patches 2014-04-12 04:07:33.987061843 +0000 @@ -5,3 +5,4 @@ 0005-don-t-build-doxia-maven-plugin.patch 0006-specificy-source-and-target-version.patch 0007-disable-plexus-javadoc.patch +0008-doxia-logging-deps.patch
  6. Download patch .pc/0008-doxia-logging-deps.patch/doxia-book/pom.xml

    --- 1.1.4-1/.pc/0008-doxia-logging-deps.patch/doxia-book/pom.xml 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.4-1ubuntu4/.pc/0008-doxia-logging-deps.patch/doxia-book/pom.xml 2014-04-12 04:07:33.000000000 +0000 @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia</artifactId> + <version>1.1.4</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>doxia-book</artifactId> + <name>Doxia :: Book Component</name> + <description>A component to write books like user manuals and guides in any format supported by Doxia.</description> + + <dependencies> + <!-- doxia core --> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-sink-api</artifactId> + </dependency> + + <!-- doxia modules ordered --> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-apt</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-docbook-simple</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-itext</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-latex</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-xdoc</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-xhtml</artifactId> + </dependency> + + <!-- plexus --> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-container-default</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-i18n</artifactId> + <version>1.0-beta-6</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> + + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <configuration> + <models> + <model>src/main/modello/book.mdo</model> + </models> + <version>1.0.0</version> + </configuration> + <executions> + <execution> + <id>site-docs</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + <goal>xsd</goal> + </goals> + </execution> + <execution> + <id>descriptor</id> + <phase>generate-sources</phase> + <goals> + <goal>java</goal> + <goal>xpp3-reader</goal> + <goal>xsd</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>reporting</id> + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>l10n-maven-plugin</artifactId> + <version>1.0-alpha-2</version> + <configuration> + <locales> + <locale>en</locale> + <locale>fr</locale> + </locales> + </configuration> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> +</project> \ No newline at end of file
  7. Download patch debian/patches/0008-doxia-logging-deps.patch

    --- 1.1.4-1/debian/patches/0008-doxia-logging-deps.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.4-1ubuntu4/debian/patches/0008-doxia-logging-deps.patch 2014-04-11 19:37:06.000000000 +0000 @@ -0,0 +1,38 @@ +From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> +Subject: Add doxia-logging-api to dependencies for doxia-modules and doxia-book +Last-Update: 2011-11-23 + +It appears to be required at least for building documentation, otherwise the +build fails as it tries to resolve org.apache.maven.doxia.logging.LogEnabled, +among other symbols provided by doxia-logging-api. + +Index: doxia/doxia-modules/pom.xml +=================================================================== +--- doxia.orig/doxia-modules/pom.xml 2011-11-21 16:55:11.277656324 -0500 ++++ doxia/doxia-modules/pom.xml 2011-11-23 10:58:55.255900098 -0500 +@@ -50,6 +50,10 @@ + <dependencies> + <dependency> + <groupId>org.apache.maven.doxia</groupId> ++ <artifactId>doxia-logging-api</artifactId> ++ </dependency> ++ <dependency> ++ <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + </dependency> + <dependency> +Index: doxia/doxia-book/pom.xml +=================================================================== +--- doxia.orig/doxia-book/pom.xml 2011-11-21 16:55:15.685656130 -0500 ++++ doxia/doxia-book/pom.xml 2011-11-23 11:03:28.119915934 -0500 +@@ -37,6 +37,10 @@ + <!-- doxia core --> + <dependency> + <groupId>org.apache.maven.doxia</groupId> ++ <artifactId>doxia-logging-api</artifactId> ++ </dependency> ++ <dependency> ++ <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + </dependency> + <dependency>
  8. Download patch debian/patches/series

    --- 1.1.4-1/debian/patches/series 2011-09-09 22:28:03.000000000 +0000 +++ 1.1.4-1ubuntu4/debian/patches/series 2014-04-11 19:37:06.000000000 +0000 @@ -5,3 +5,4 @@ 0005-don-t-build-doxia-maven-plugin.patch 0006-specificy-source-and-target-version.patch 0007-disable-plexus-javadoc.patch +0008-doxia-logging-deps.patch
  9. Download patch .pc/0008-doxia-logging-deps.patch/doxia-modules/pom.xml

    --- 1.1.4-1/.pc/0008-doxia-logging-deps.patch/doxia-modules/pom.xml 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.4-1ubuntu4/.pc/0008-doxia-logging-deps.patch/doxia-modules/pom.xml 2014-04-12 04:07:33.000000000 +0000 @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--><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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <artifactId>doxia</artifactId> + <groupId>org.apache.maven.doxia</groupId> + <version>1.1.4</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>doxia-modules</artifactId> + + <name>Doxia :: Modules</name> + <packaging>pom</packaging> + + <description>Doxia modules for several markup languages.</description> + + <modules> + <module>doxia-module-apt</module> + <module>doxia-module-confluence</module> + <module>doxia-module-docbook-simple</module> + <module>doxia-module-fml</module> + <module>doxia-module-fo</module> + <module>doxia-module-itext</module> + <module>doxia-module-latex</module> + <module>doxia-module-rtf</module> + <module>doxia-module-twiki</module> + <module>doxia-module-xdoc</module> + <module>doxia-module-xhtml</module> + </modules> + + <dependencies> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-sink-api</artifactId> + </dependency> + + </dependencies> +</project>
  10. Download patch debian/maven.properties

    --- 1.1.4-1/debian/maven.properties 2011-09-09 22:28:03.000000000 +0000 +++ 1.1.4-1ubuntu4/debian/maven.properties 2014-04-11 19:37:06.000000000 +0000 @@ -2,4 +2,5 @@ # For example: maven.test.skip=true +maven.settings.offline=true

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

Source: doxia-sitetools

doxia-sitetools (1.1.4-1ubuntu1) precise; urgency=low * debian/control: - re-add fop to Build-Depends. - add libjaxen-java to Build-Depends. - add libmaven-install-plugin-java to Build-Depends. * debian/maven.properties: ensure maven runs offline. * debian/rules: install just-built jar files back into the local maven repo for the build (they are required for building the docs). -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 24 Nov 2011 10:52:45 -0500

Modifications :
  1. Download patch debian/rules

    --- 1.1.4-1/debian/rules 2011-09-11 15:44:46.000000000 +0000 +++ 1.1.4-1ubuntu1/debian/rules 2011-11-24 16:10:14.000000000 +0000 @@ -8,3 +8,27 @@ DEB_MAVEN_DOC_TARGET := javadoc:jar java get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + +IMPORT_BINARY_JARS = \ + for jar in `find $(CURDIR)/doxia-* -name "*.jar" -print`; \ + do \ + artifact=$$(basename $$(dirname $$(echo $$jar | sed "s/\/target//"))); \ + if ! test -d $(CURDIR)/debian/maven-repo/org/apache/maven/doxia/$$artifact/$(DEB_UPSTREAM_VERSION); \ + then \ + echo "Copying just-built binary jar for $$artifact into local maven repository."; \ + mvn install:install-file \ + -DgroupId=org.apache.maven.doxia \ + -DartifactId=$$artifact \ + -Dversion=$(DEB_UPSTREAM_VERSION) \ + -Dmaven.repo.local=$(CURDIR)/debian/maven-repo \ + -Dpackaging=jar -Dfile=$$jar; \ + else \ + echo "We already have the latest version JAR file for $$artifact in the local maven repo."; \ + fi; \ + done + +binary-jars: + $(call IMPORT_BINARY_JARS) + touch $@ + +after-mvn-build:: binary-jars
  2. Download patch debian/control

    --- 1.1.4-1/debian/control 2011-09-11 15:44:46.000000000 +0000 +++ 1.1.4-1ubuntu1/debian/control 2011-11-24 16:14:43.000000000 +0000 @@ -1,7 +1,8 @@ Source: doxia-sitetools 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>, Ludovic Claude <ludovic.claude@laposte.net>, Michael Koch <konqueror@gmx.de> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) @@ -9,7 +10,8 @@ Build-Depends-Indep: libclirr-maven-plug libcommons-collections3-java, libdoxia-java, libitext1-java, libjaxp1.3-java, libplexus-containers-java, libplexus-i18n-java, libplexus-utils-java, libxalan2-java, junit (>= 3.8.2), libdoxia-java, default-jdk-doc, libdoxia-java-doc, libplexus-containers-java-doc, - libplexus-utils-java-doc, libxalan2-java-doc, libmaven-javadoc-plugin-java + libplexus-utils-java-doc, libxalan2-java-doc, libmaven-javadoc-plugin-java, + fop, libjaxen-java, libmaven-install-plugin-java Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/doxia-sitetools Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/doxia-sitetools/
  3. Download patch debian/maven.properties

    --- 1.1.4-1/debian/maven.properties 2011-09-11 15:44:46.000000000 +0000 +++ 1.1.4-1ubuntu1/debian/maven.properties 2011-11-24 15:52:39.000000000 +0000 @@ -2,3 +2,4 @@ # For example: maven.test.skip=true +maven.settings.offline=true

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

Source: fop

fop (1:1.1.dfsg-2ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - Transition libservlet2.5-java -> libservlet3.0-java. -- James Page <james.page@ubuntu.com> Tue, 21 May 2013 12:21:26 +0100

Modifications :
  1. Download patch debian/rules

    --- 1:1.1.dfsg-2/debian/rules 2012-01-10 17:38:17.000000000 +0000 +++ 1:1.1.dfsg-2ubuntu1/debian/rules 2013-05-16 15:42:01.000000000 +0000 @@ -5,7 +5,7 @@ include /usr/share/cdbs/1/rules/debhelpe include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java -DEB_JARS := batik-all xml-apis-ext batik-libs xml-apis avalon-framework xercesImpl xmlParserAPIs xalan2 junit commons-io commons-logging xmlgraphics-commons servlet-api-2.5 # ant-junit junit xmlunit +DEB_JARS := batik-all xml-apis-ext batik-libs xml-apis avalon-framework xercesImpl xmlParserAPIs xalan2 junit commons-io commons-logging xmlgraphics-commons servlet-api-3.0 # ant-junit junit xmlunit DEB_ANT_BUILD_TARGET := package javadocs #junit #docs DEB_ANT_CLEAN_TARGET := distclean DEB_ANT_ARGS := -verbose
  2. Download patch debian/control

    --- 1:1.1.dfsg-2/debian/control 2013-05-16 08:40:07.000000000 +0000 +++ 1:1.1.dfsg-2ubuntu1/debian/control 2013-05-17 08:44:21.000000000 +0000 @@ -1,7 +1,8 @@ Source: fop Section: text 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: Sylvestre Ledru <sylvestre@debian.org>, Torsten Werner <twerner@debian.org>, Mathieu Malaterre <malat@debian.org>, @@ -11,7 +12,7 @@ Build-Depends-Indep: ant-optional (>= 1. libavalon-framework-java (>= 4.1.2-2), libxalan2-java, libxerces2-java, default-jdk, libcommons-io-java, libxmlunit-java, libcommons-logging-java, junit, libxmlgraphics-commons-java (>= 1.5), - libservlet2.5-java, libxml-commons-external-java, maven-repo-helper, libqdox-java (>= 1.12), + libservlet3.0-java, libxml-commons-external-java, maven-repo-helper, libqdox-java (>= 1.12), unzip Standards-Version: 3.9.4 Homepage: http://xmlgraphics.apache.org/fop/ @@ -22,7 +23,7 @@ Package: fop Architecture: all Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libfop-java (= ${binary:Version}) Recommends: libsaxon-java -Suggests: fop-doc, libservlet2.5-java +Suggests: fop-doc, libservlet3.0-java Description: XML formatter driven by XSL Formatting Objects (XSL-FO.) FOP is a Java application that reads a formatting object tree and then turns it into a wide variety of output presentations (including AFP,

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

Source: freemind

freemind (0.9.0+dfsg2-1ubuntu1) utopic; urgency=low * debian/control: Oracle JRE now fulfills depedencies. (LP: #1334658) -- Filip Sohajek <filip.sohajek@gmail.com> Tue, 05 Aug 2014 10:08:11 +0200

Modifications :
  1. Download patch debian/control

    --- 0.9.0+dfsg2-1/debian/control 2014-03-17 04:31:33.000000000 +0000 +++ 0.9.0+dfsg2-1ubuntu1/debian/control 2014-08-06 09:26:41.000000000 +0000 @@ -1,7 +1,8 @@ Source: freemind Section: editors 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: Eric Lavarde <deb@zorglub.s.bawue.de> # FreeMind can be built with JiBX 1.0, 1.1 and 1.2, but the result does only # run with the version it was built with. JiBX 1.1 has been chosen for @@ -15,7 +16,7 @@ Vcs-Browser: http://anonscm.debian.org/v Package: freemind Architecture: all -Depends: default-jre | sun-java6-jre, libjgoodies-forms-java (>= 1.6), libjibx1.1-java | libjibx-java (>= 1.1), libjibx1.1-java | libjibx-java (<< 1.2), simplyhtml (>> 0.13), ${misc:Depends} +Depends: default-jre | java6-runtime | java7-runtime, libjgoodies-forms-java (>= 1.6), libjibx1.1-java | libjibx-java (>= 1.1), libjibx1.1-java | libjibx-java (<< 1.2), simplyhtml (>> 0.13), ${misc:Depends} Recommends: freemind-doc, xdg-utils, java-wrappers Suggests: freemind-plugins-help, freemind-plugins-svg, freemind-plugins-script, freemind-browser Breaks: freemind-plugins-time (<< 0.9.0+dfsg-2)

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: gluegen2

gluegen2 (2.1.5-1ubuntu1) trusty; urgency=medium * Build using the zero VM on AArch64. -- Matthias Klose <doko@ubuntu.com> Tue, 25 Mar 2014 10:17:10 +0100

Modifications :
  1. Download patch debian/rules

    --- 2.1.5-1/debian/rules 2014-02-11 14:03:07.000000000 +0000 +++ 2.1.5-1ubuntu1/debian/rules 2014-03-25 09:16:38.000000000 +0000 @@ -11,6 +11,10 @@ DEB_BUILDDIR := make DEB_ANT_BUILD_TARGET := all junit.run DEB_ANT_ARGS += -Dtarget.sourcelevel=1.6 -Dtarget.targetlevel=1.6 -Dtarget.rt.jar=1.6 +ifeq ($(DEB_HOST_ARCH),arm64) + JAVACMD += -zero +endif + ifeq ($(DEB_HOST_ARCH),armhf) DEB_ANT_ARGS += -DisAbiEabiGnuArmhf=true DEB_ANT_BUILD_TARGET := all.no_junit
  2. Download patch debian/control

    --- 2.1.5-1/debian/control 2014-02-11 14:03:07.000000000 +0000 +++ 2.1.5-1ubuntu1/debian/control 2014-03-25 09:17:04.000000000 +0000 @@ -4,7 +4,7 @@ Priority: optional Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Sylvestre Ledru <sylvestre@debian.org> Build-Depends: debhelper (>= 9), cdbs, quilt, default-jdk, - ant, junit4, ant-contrib-cpptasks, ant-optional, libantlr-java + ant, junit4, ant-contrib-cpptasks, ant-optional, libantlr-java, openjdk-7-jre-zero [arm64] Standards-Version: 3.9.5 Homepage: http://jogamp.org/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/gluegen2/

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

Source: gradle

gradle (1.5-1ubuntu1) utopic; urgency=medium * Merge from Debian unstable. Remaining changes: - Adjust Build-Conflicts to cope with the version of groovy currently in Ubuntu. -- Bhavani Shankar <bhavi@ubuntu.com> Sun, 15 Jun 2014 20:22:14 +0530

Modifications :
  1. Download patch debian/control

    --- 1.5-1/debian/control 2014-05-13 23:42:19.000000000 +0000 +++ 1.5-1ubuntu1/debian/control 2014-06-15 14:50:22.000000000 +0000 @@ -1,5 +1,6 @@ Source: gradle -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 <miguel@miguel.cc>, Damien Raude-Morvan <drazzib@debian.org> Section: java @@ -71,7 +72,7 @@ Build-Depends: ant (>= 1.8), maven (>= 3.0.4-4), testng, unzip -Build-Conflicts: groovy (>= 2.0.0~) +Build-Conflicts: groovy (>= 2.0.0~beta2+isreally2.0.0~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-java/gradle.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/gradle.git

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

Source: guava-libraries

guava-libraries (17.0-1ubuntu1) utopic; urgency=medium * Merge from Debian unstable. Remaining changes: - debian/rules: Touch README and AUTHORS so they have a current timestamp (Launchpad doesn't accept too old files in packages). -- Bhavani Shankar <bhavi@ubuntu.com> Sun, 13 Jul 2014 22:42:55 +0530

Modifications :
  1. Download patch debian/rules

    --- 17.0-1/debian/rules 2014-07-02 22:11:54.000000000 +0000 +++ 17.0-1ubuntu1/debian/rules 2014-07-03 04:18:51.000000000 +0000 @@ -7,3 +7,7 @@ JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: -uscan --download-current-version --force-download --rename + + +clean:: + touch README AUTHORS
  2. Download patch debian/control

    --- 17.0-1/debian/control 2013-10-16 20:50:20.000000000 +0000 +++ 17.0-1ubuntu1/debian/control 2014-07-03 04:18:51.000000000 +0000 @@ -1,7 +1,8 @@ Source: guava-libraries 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: Miguel Landaeta <miguel@miguel.cc>, Emmanuel Bourg <ebourg@apache.org>, James Page <james.page@canonical.com>

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

Source: jakarta-taglibs-standard

jakarta-taglibs-standard (1.1.2-2ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - Transition from servlet 2.5 -> 3.0. -- James Page <james.page@ubuntu.com> Mon, 16 Jul 2012 14:09:09 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.1.2-2/debian/rules 2012-06-19 22:37:16.000000000 +0000 +++ 1.1.2-2ubuntu1/debian/rules 2012-07-16 13:09:02.000000000 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java -export CLASSPATH=/usr/share/java/el-api-2.1.jar +export CLASSPATH=/usr/share/java/el-api-2.2.jar DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+)-.*,\1,p') MAVEN_REPO := http://repo1.maven.org/maven2
  2. Download patch debian/control

    --- 1.1.2-2/debian/control 2012-06-19 22:38:14.000000000 +0000 +++ 1.1.2-2ubuntu1/debian/control 2012-07-16 13:08:29.000000000 +0000 @@ -1,7 +1,8 @@ Source: jakarta-taglibs-standard 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>, James Page <james.page@ubuntu.com> @@ -10,7 +11,7 @@ Build-Depends: debhelper (>= 7.0.50~), javahelper, maven-repo-helper (>= 1.5~) -Build-Depends-Indep: default-jdk, libservlet2.5-java, libxalan2-java +Build-Depends-Indep: default-jdk, libservlet3.0-java, libxalan2-java Standards-Version: 3.9.3 DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/git/pkg-java/jakarta-taglibs-standard.git
  3. Download patch debian/ant.properties

    --- 1.1.2-2/debian/ant.properties 2012-06-19 22:37:16.000000000 +0000 +++ 1.1.2-2ubuntu1/debian/ant.properties 2012-06-20 03:41:23.000000000 +0000 @@ -2,6 +2,6 @@ build.dir=build dist.dir=dist ant.build.javac.source=1.4 ant.build.javac.target=1.4 -servlet24.jar=/usr/share/java/servlet-api-2.5.jar -jsp20.jar=/usr/share/java/jsp-api-2.1.jar +servlet24.jar=/usr/share/java/servlet-api-3.0.jar +jsp20.jar=/usr/share/java/jsp-api-2.2.jar xalan.jar=/usr/share/java/xalan2.jar

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: java3d

java3d (1.5.2+dfsg-9ubuntu1) saucy; urgency=low * 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> Thu, 20 Jun 2013 15:37:14 +0100

Modifications :
  1. Download patch debian/control

    --- 1.5.2+dfsg-9/debian/control 2013-05-27 12:47:41.000000000 +0000 +++ 1.5.2+dfsg-9ubuntu1/debian/control 2013-06-20 14:36:53.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> Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant-optional, libvecmath-java,
  2. Download patch j3d-core/src/native/ogl/build-linux-generic.xml

    --- 1.5.2+dfsg-9/j3d-core/src/native/ogl/build-linux-generic.xml 2013-06-20 23:36:39.000000000 +0000 +++ 1.5.2+dfsg-9ubuntu1/j3d-core/src/native/ogl/build-linux-generic.xml 2013-06-20 23:36:40.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-9/debian/patches/02_fix_generic_ftbfs.patch 2010-03-03 08:31:24.000000000 +0000 +++ 1.5.2+dfsg-9ubuntu1/debian/patches/02_fix_generic_ftbfs.patch 2013-06-20 14:36:53.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: javatools

javatools (0.46ubuntu2) utopic; urgency=medium * The archdir for ppc64el is now "ppc64". -- Colin Watson <cjwatson@ubuntu.com> Mon, 28 Jul 2014 17:35:07 +0100 javatools (0.46ubuntu1) utopic; urgency=medium * Merge from Debian unstable. Remaining changes: - Pre-generate tutorial.html; remove the build dependency on markdown. * Regenerate tutorial.html. -- Logan Rosen <logan@ubuntu.com> Sun, 11 May 2014 21:45:06 -0400

Modifications :
  1. Download patch debian/rules

    --- 0.46/debian/rules 2013-04-28 17:13:22.000000000 +0000 +++ 0.46ubuntu2/debian/rules 2014-05-13 07:08:30.000000000 +0000 @@ -34,8 +34,10 @@ override_dh_auto_build: jh_lib.sh # jarwrapper pod-based manpages $(POD2MAN) -s 1 jarwrapper.pod tmp.jarwrapper/jarwrapper.1 $(POD2MAN) -s 1 jardetector.pod tmp.jarwrapper/jardetector.1 - markdown --html4tags tutorial.txt | \ - cat tutorial-header.html - tutorial-footer.html > tutorial.html + if which markdown >/dev/null 2>&1; then \ + markdown --html4tags tutorial.txt | \ + cat tutorial-header.html - tutorial-footer.html > tutorial.html; \ + fi runtests: jh_lib.sh prove -Ilib $(PAR_ARGS) t @@ -44,5 +46,5 @@ runtests: jh_lib.sh override_dh_auto_test: runtests override_dh_auto_clean: - rm -f jh_lib.sh tutorial.html + rm -f jh_lib.sh #tutorial.html rm -fr tmp tmp.jarwrapper
  2. Download patch debian/control

    --- 0.46/debian/control 2014-03-19 07:04:56.000000000 +0000 +++ 0.46ubuntu2/debian/control 2014-05-13 07:08:53.000000000 +0000 @@ -1,9 +1,10 @@ Source: javatools 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: Matthew Johnson <mjj29@debian.org>, Niels Thykier <niels@thykier.net> Build-Depends: debhelper (>= 7.0.50~) -Build-Depends-Indep: default-jdk, libarchive-zip-perl (>= 1.30-6~), markdown, perl, +Build-Depends-Indep: default-jdk, libarchive-zip-perl (>= 1.30-6~), perl, libtest-minimumversion-perl, libtest-perl-critic-perl, libtest-strict-perl,
  3. Download patch tutorial.html
  4. Download patch java-arch.sh

    --- 0.46/java-arch.sh 2013-12-24 16:19:20.000000000 +0000 +++ 0.46ubuntu2/java-arch.sh 2014-07-28 16:34:33.000000000 +0000 @@ -24,7 +24,7 @@ case $DPKG_ARCH in echo ppc ;; ppc64el) - echo ppc64le + echo ppc64 ;; hppa) echo parisc

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

Source: jmagick

jmagick (6.6.9~20130201-svn99-2ubuntu1) utopic; urgency=medium * Reintroduce Adam Conrad's patch from 6.6.9~20130201-svn99-1ubuntu1 to fix the implicit function declaration. -- Logan Rosen <logan@ubuntu.com> Thu, 22 May 2014 23:06:53 -0400

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-2/src/magick/jmagick.h 2009-11-10 13:24:51.000000000 +0000 +++ 6.6.9~20130201-svn99-2ubuntu1/src/magick/jmagick.h 2014-05-23 04:37:19.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-2/debian/control 2014-05-12 12:25:35.000000000 +0000 +++ 6.6.9~20130201-svn99-2ubuntu1/debian/control 2014-05-23 03:09:38.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-2/.pc/applied-patches 2014-05-23 04:37:18.882739239 +0000 +++ 6.6.9~20130201-svn99-2ubuntu1/.pc/applied-patches 2014-05-23 04:37:19.114745365 +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-2/debian/patches/02_jmagick_implicit_decl.patch 1970-01-01 00:00:00.000000000 +0000 +++ 6.6.9~20130201-svn99-2ubuntu1/debian/patches/02_jmagick_implicit_decl.patch 2014-05-23 03:09:20.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-2/debian/patches/series 2014-05-12 11:31:32.000000000 +0000 +++ 6.6.9~20130201-svn99-2ubuntu1/debian/patches/series 2014-05-23 03:09:33.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: jquery

jquery (1.7.2+dfsg-3ubuntu2) utopic; urgency=medium * Re-enable the no-min patch, avoiding build dependency on uglifyjs. -- Matthias Klose <doko@ubuntu.com> Wed, 30 Jul 2014 15:58:09 +0200 jquery (1.7.2+dfsg-3ubuntu1) utopic; urgency=medium * Merge from debian. Remaining change: - debian/control: Suggest rather than recommend javascript-common; it's in universe and we don't necessarily need to publish these scripts via http * debian/rules: Add fix from debian for make 4.0 -- Jackson Doak <noskcaj@ubuntu.com> Mon, 16 Jun 2014 07:27:09 +1000

Modifications :
  1. Download patch debian/rules

    --- 1.7.2+dfsg-3/debian/rules 2013-08-02 02:02:53.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/debian/rules 2014-07-30 14:03:49.000000000 +0000 @@ -1,5 +1,5 @@ #!/usr/bin/make -f -build %: +%: dh $@ override_dh_auto_clean: @@ -8,7 +8,7 @@ override_dh_auto_clean: override_dh_clean: rm -rf dist/ - rm build/.sizecache.json + rm -f build/.sizecache.json dh_clean .PHONY: build
  2. Download patch debian/control

    --- 1.7.2+dfsg-3/debian/control 2013-08-02 02:02:53.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/debian/control 2014-07-30 13:59:58.000000000 +0000 @@ -1,9 +1,10 @@ Source: jquery 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: Marcelo Jorge Vieira (metal) <metal@debian.org>, Steve Kemp <skx@debian.org> -Build-Depends: debhelper (>= 7.0.50~), node-uglify +Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.4 Homepage: http://jquery.com/ Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jquery.git @@ -16,7 +17,7 @@ Conflicts: jquery Replaces: jquery Breaks: movabletype-opensource (<< 5.1.4+dfsg-3~) Depends: ${misc:Depends} -Recommends: javascript-common +Suggests: javascript-common Description: JavaScript library for dynamic web applications jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax
  3. Download patch .pc/applied-patches

    --- 1.7.2+dfsg-3/.pc/applied-patches 2014-07-31 21:38:29.668708582 +0000 +++ 1.7.2+dfsg-3ubuntu2/.pc/applied-patches 2014-07-31 21:38:29.856713577 +0000 @@ -1 +1,2 @@ build.patch +no-min.diff
  4. Download patch debian/patches/no-min.diff

    --- 1.7.2+dfsg-3/debian/patches/no-min.diff 1970-01-01 00:00:00.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/debian/patches/no-min.diff 2014-07-30 14:03:18.000000000 +0000 @@ -0,0 +1,13 @@ +Index: b/Makefile +=================================================================== +--- a/Makefile ++++ b/Makefile +@@ -46,7 +46,7 @@ DATE=$(shell date) + + all: update_submodules core + +-core: jquery min size ++core: jquery + @@echo "jQuery build complete." + + ${DIST_DIR}:
  5. Download patch debian/patches/series

    --- 1.7.2+dfsg-3/debian/patches/series 2013-08-02 02:02:53.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/debian/patches/series 2014-07-30 14:01:20.000000000 +0000 @@ -1 +1,2 @@ build.patch +no-min.diff
  6. Download patch debian/links
  7. Download patch Makefile

    --- 1.7.2+dfsg-3/Makefile 2014-07-31 21:38:29.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/Makefile 2014-07-31 21:38:29.000000000 +0000 @@ -46,7 +46,7 @@ DATE=$(shell date) all: update_submodules core -core: jquery min size +core: jquery @@echo "jQuery build complete." ${DIST_DIR}:
  8. Download patch .pc/no-min.diff/Makefile

    --- 1.7.2+dfsg-3/.pc/no-min.diff/Makefile 1970-01-01 00:00:00.000000000 +0000 +++ 1.7.2+dfsg-3ubuntu2/.pc/no-min.diff/Makefile 2014-07-31 21:38:29.000000000 +0000 @@ -0,0 +1,137 @@ +SRC_DIR = src +TEST_DIR = test +BUILD_DIR = build + +PREFIX = . +DIST_DIR = ${PREFIX}/dist + +JS_ENGINE ?= `which node 2>/dev/null || which nodejs 2>/dev/null` +COMPILER = `which uglifyjs 2>/dev/null` --unsafe +POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js + +BASE_FILES = ${SRC_DIR}/core.js\ + ${SRC_DIR}/callbacks.js\ + ${SRC_DIR}/deferred.js\ + ${SRC_DIR}/support.js\ + ${SRC_DIR}/data.js\ + ${SRC_DIR}/queue.js\ + ${SRC_DIR}/attributes.js\ + ${SRC_DIR}/event.js\ + ${SRC_DIR}/selector.js\ + ${SRC_DIR}/traversing.js\ + ${SRC_DIR}/manipulation.js\ + ${SRC_DIR}/css.js\ + ${SRC_DIR}/ajax.js\ + ${SRC_DIR}/ajax/jsonp.js\ + ${SRC_DIR}/ajax/script.js\ + ${SRC_DIR}/ajax/xhr.js\ + ${SRC_DIR}/effects.js\ + ${SRC_DIR}/offset.js\ + ${SRC_DIR}/dimensions.js\ + ${SRC_DIR}/exports.js + +MODULES = ${SRC_DIR}/intro.js\ + ${BASE_FILES}\ + ${SRC_DIR}/outro.js + +JQ = ${DIST_DIR}/jquery.js +JQ_MIN = ${DIST_DIR}/jquery.min.js + +SIZZLE_DIR = ${SRC_DIR}/sizzle + +JQ_VER = $(shell cat version.txt) +VER = sed "s/@VERSION/${JQ_VER}/" + +DATE=$(shell date) + +all: update_submodules core + +core: jquery min size + @@echo "jQuery build complete." + +${DIST_DIR}: + @@mkdir -p ${DIST_DIR} + +jquery: ${JQ} + +${JQ}: ${MODULES} | ${DIST_DIR} + @@echo "Building" ${JQ} + + @@cat ${MODULES} | \ + sed 's/.function..jQuery...{//' | \ + sed 's/}...jQuery..;//' | \ + sed 's/@DATE/'"${DATE}"'/' | \ + ${VER} > ${JQ}; + +${SRC_DIR}/selector.js: ${SIZZLE_DIR}/sizzle.js + @@echo "Building selector code from Sizzle" + @@sed '/EXPOSE/r src/sizzle-jquery.js' ${SIZZLE_DIR}/sizzle.js | grep -v window.Sizzle > ${SRC_DIR}/selector.js + +hint: jquery + @@if test ! -z ${JS_ENGINE}; then \ + echo "Checking jQuery against JSHint..."; \ + ${JS_ENGINE} build/jshint-check.js; \ + else \ + echo "You must have NodeJS installed in order to test jQuery against JSHint."; \ + fi + +size: jquery min + @@if test ! -z ${JS_ENGINE}; then \ + gzip -c ${JQ_MIN} > ${JQ_MIN}.gz; \ + wc -c ${JQ} ${JQ_MIN} ${JQ_MIN}.gz | ${JS_ENGINE} ${BUILD_DIR}/sizer.js; \ + rm ${JQ_MIN}.gz; \ + else \ + echo "You must have NodeJS installed in order to size jQuery."; \ + fi + +freq: jquery min + @@if test ! -z ${JS_ENGINE}; then \ + ${JS_ENGINE} ${BUILD_DIR}/freq.js; \ + else \ + echo "You must have NodeJS installed to report the character frequency of minified jQuery."; \ + fi + +min: jquery ${JQ_MIN} + +${JQ_MIN}: ${JQ} + @@if test ! -z ${JS_ENGINE}; then \ + echo "Minifying jQuery" ${JQ_MIN}; \ + ${COMPILER} ${JQ} > ${JQ_MIN}.tmp; \ + ${POST_COMPILER} ${JQ_MIN}.tmp; \ + rm -f ${JQ_MIN}.tmp; \ + else \ + echo "You must have NodeJS installed in order to minify jQuery."; \ + fi + +clean: + @@echo "Removing Distribution directory:" ${DIST_DIR} + @@rm -rf ${DIST_DIR} + + @@echo "Removing built copy of Sizzle" + @@rm -f src/selector.js + +distclean: clean + @@echo "Removing submodules" + @@rm -rf test/qunit src/sizzle + +# change pointers for submodules and update them to what is specified in jQuery +# --merge doesn't work when doing an initial clone, thus test if we have non-existing +# submodules, then do an real update +update_submodules: + @@if [ -d .git ]; then \ + if git submodule status | grep -q -E '^-'; then \ + git submodule update --init --recursive; \ + else \ + git submodule update --init --recursive --merge; \ + fi; \ + fi; + +# update the submodules to the latest at the most logical branch +pull_submodules: + @@git submodule foreach "git pull \$$(git config remote.origin.url)" + @@git submodule summary + +pull: pull_submodules + @@git pull ${REMOTE} ${BRANCH} + +.PHONY: all jquery hint min clean distclean update_submodules pull_submodules pull core

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

Source: jquery-goodies

jquery-goodies (10-1ubuntu1) utopic; urgency=medium * Use yui-compressor instead of uglifyjs (universe). -- Matthias Klose <doko@ubuntu.com> Wed, 30 Jul 2014 18:03:46 +0200

Modifications :
  1. Download patch debian/rules

    --- 10-1/debian/rules 2014-06-29 01:21:16.000000000 +0000 +++ 10-1ubuntu1/debian/rules 2014-07-30 16:07:02.000000000 +0000 @@ -3,31 +3,31 @@ dh $@ override_dh_auto_build: - uglifyjs -o event-drag/jquery.event.drag.min.js event-drag/jquery.event.drag.js - uglifyjs -o event-drop/jquery.event.drop.min.js event-drop/jquery.event.drop.js - uglifyjs -o easing/jquery.easing.min.js easing/jquery.easing.js - uglifyjs -o easing/jquery.easing.compatibility.min.js easing/jquery.easing.compatibility.js - uglifyjs -o galleriffic/js/jquery.galleriffic.min.js galleriffic/js/jquery.galleriffic.js - uglifyjs -o meiomask/jquery.meiomask.min.js meiomask/jquery.meiomask.js - uglifyjs -o mousewheel/jquery.mousewheel.min.js mousewheel/jquery.mousewheel.js - uglifyjs -o jquery-history/jquery.history.min.js jquery-history/jquery.history.js - uglifyjs -o opacityrollover/jquery.opacityrollover.min.js opacityrollover/jquery.opacityrollover.js - uglifyjs -o jush/jush.min.js jush/jush.js - uglifyjs -o jfeed/build/dist/jquery.jfeed.min.js jfeed/build/dist/jquery.jfeed.js - uglifyjs -o form/jquery.form.min.js form/jquery.form.js - uglifyjs -o tipsy/src/javascripts/jquery.tipsy.min.js tipsy/src/javascripts/jquery.tipsy.js - uglifyjs -o fancybox/jquery.fancybox.min.js fancybox/jquery.fancybox.js - uglifyjs -o cookie/jquery.cookie.min.js cookie/jquery.cookie.js - uglifyjs -o metadata/jquery.metadata.min.js metadata/jquery.metadata.js - uglifyjs -o tablesorter/jquery.tablesorter.min.js tablesorter/jquery.tablesorter.js - uglifyjs -o tablesorter/addons/pager/jquery.tablesorter.pager.min.js tablesorter/addons/pager/jquery.tablesorter.pager.js - uglifyjs -o treetable/src/jquery.treeTable.min.js treetable/src/jquery.treeTable.js - uglifyjs -o livequery/jquery.livequery.min.js livequery/jquery.livequery.js - uglifyjs -o countdown/jquery.countdown.min.js countdown/jquery.countdown.js - uglifyjs -o resize/jquery.ba-resize.min.js resize/jquery.ba-resize.js - uglifyjs -o uploadify/jquery.uploadify.min.js uploadify/jquery.uploadify.js - uglifyjs -o slides/source/slides.min.jquery.js slides/source/slides.jquery.js - uglifyjs -o fullscreen/fullscreen/jquery.fullscreen.min.js fullscreen/fullscreen/jquery.fullscreen.js + yui-compressor -o event-drag/jquery.event.drag.min.js event-drag/jquery.event.drag.js + yui-compressor -o event-drop/jquery.event.drop.min.js event-drop/jquery.event.drop.js + yui-compressor -o easing/jquery.easing.min.js easing/jquery.easing.js + yui-compressor -o easing/jquery.easing.compatibility.min.js easing/jquery.easing.compatibility.js + yui-compressor -o galleriffic/js/jquery.galleriffic.min.js galleriffic/js/jquery.galleriffic.js + yui-compressor -o meiomask/jquery.meiomask.min.js meiomask/jquery.meiomask.js + yui-compressor -o mousewheel/jquery.mousewheel.min.js mousewheel/jquery.mousewheel.js + yui-compressor -o jquery-history/jquery.history.min.js jquery-history/jquery.history.js + yui-compressor -o opacityrollover/jquery.opacityrollover.min.js opacityrollover/jquery.opacityrollover.js + yui-compressor -o jush/jush.min.js jush/jush.js + yui-compressor -o jfeed/build/dist/jquery.jfeed.min.js jfeed/build/dist/jquery.jfeed.js + yui-compressor -o form/jquery.form.min.js form/jquery.form.js + yui-compressor -o tipsy/src/javascripts/jquery.tipsy.min.js tipsy/src/javascripts/jquery.tipsy.js + yui-compressor -o fancybox/jquery.fancybox.min.js fancybox/jquery.fancybox.js + yui-compressor -o cookie/jquery.cookie.min.js cookie/jquery.cookie.js + yui-compressor -o metadata/jquery.metadata.min.js metadata/jquery.metadata.js + yui-compressor -o tablesorter/jquery.tablesorter.min.js tablesorter/jquery.tablesorter.js + yui-compressor -o tablesorter/addons/pager/jquery.tablesorter.pager.min.js tablesorter/addons/pager/jquery.tablesorter.pager.js + yui-compressor -o treetable/src/jquery.treeTable.min.js treetable/src/jquery.treeTable.js + yui-compressor -o livequery/jquery.livequery.min.js livequery/jquery.livequery.js + yui-compressor -o countdown/jquery.countdown.min.js countdown/jquery.countdown.js + yui-compressor -o resize/jquery.ba-resize.min.js resize/jquery.ba-resize.js + yui-compressor -o uploadify/jquery.uploadify.min.js uploadify/jquery.uploadify.js + yui-compressor -o slides/source/slides.min.jquery.js slides/source/slides.jquery.js + yui-compressor -o fullscreen/fullscreen/jquery.fullscreen.min.js fullscreen/fullscreen/jquery.fullscreen.js override_dh_installchangelogs: dh_installchangelogs --package libjs-jquery-cookie cookie/CHANGELOG.md
  2. Download patch debian/control

    --- 10-1/debian/control 2014-06-29 02:07:35.000000000 +0000 +++ 10-1ubuntu1/debian/control 2014-07-30 16:05:39.000000000 +0000 @@ -5,7 +5,7 @@ Maintainer: Debian Javascript Maintainer Uploaders: Marcelo Jorge Vieira (metal) <metal@debian.org>, Per Andersson <avtobiff@gmail.com>, Agustin Henze <tin@sluc.org.ar> -Build-Depends: debhelper (>= 7.0.50~), node-uglify +Build-Depends: debhelper (>= 7.0.50~), yui-compressor Standards-Version: 3.9.5 Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jquery-goodies.git Vcs-Git: git://git.debian.org/git/pkg-javascript/jquery-goodies.git

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

Source: jsch

jsch (0.1.51-1ubuntu1) utopic; urgency=low * Merge from Debian unstable. Remaining changes: - Drop dependency on libjzlib-java for continued main inclusion. -- James Page <james.page@ubuntu.com> Mon, 19 May 2014 17:06:04 +0100

Modifications :
  1. Download patch debian/control

    --- 0.1.51-1/debian/control 2014-03-21 22:03:01.000000000 +0000 +++ 0.1.51-1ubuntu1/debian/control 2014-05-19 16:05:50.000000000 +0000 @@ -1,12 +1,13 @@ Source: jsch 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>, Ludovic Claude <ludovic.claude@laposte.net>, Niels Thykier <niels@thykier.net> Build-Depends: debhelper (>= 9), cdbs, default-jdk -Build-Depends-Indep: maven-repo-helper, ant (>= 1.6.5), libjzlib-java +Build-Depends-Indep: maven-repo-helper, ant (>= 1.6.5) Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jsch Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/jsch @@ -14,7 +15,7 @@ Homepage: http://www.jcraft.com/jsch/ Package: libjsch-java Architecture: all -Depends: ${misc:Depends}, libjzlib-java +Depends: ${misc:Depends} Description: Java implementation of the SSH2 protocol JSch allows your programs to connect to an SSH server. It supports port forwarding, X11 forwarding, file transfer and more.

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

Source: jscommunicator

jscommunicator (1.1.1-1ubuntu1) trusty; urgency=medium * make-release: Call closure-compiler as a jar instead of a binary. -- Adam Conrad <adconrad@ubuntu.com> Wed, 16 Apr 2014 18:47:19 +0100

Modifications :
  1. Download patch debian/patches/closure-compiler.patch

    --- 1.1.1-1/debian/patches/closure-compiler.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.1-1ubuntu1/debian/patches/closure-compiler.patch 2014-04-16 17:48:58.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Call closure-compiler as a jar instead of a binary. +Author: Adam Conrad <adconrad@ubuntu.com> + +--- jscommunicator-1.1.1.orig/make-release ++++ jscommunicator-1.1.1/make-release +@@ -5,10 +5,10 @@ set -e + RELEASE_FILES="JSCommManager.js JSCommUI.js jssip-helper.js parseuri.js webrtc-check.js" + RELEASE_JS="JSComm.js" + +-MINIFY_GCC=closure-compiler ++#MINIFY_GCC=closure-compiler + # using a manually constructed JVM command line for + # closure-compiler due to Debian bug 705565: +-#MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" ++MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" + + TMP_FILE=`mktemp --suffix=.js JSCommXXX` + cat ${RELEASE_FILES} > ${TMP_FILE}
  2. Download patch .pc/closure-compiler.patch/make-release

    --- 1.1.1-1/.pc/closure-compiler.patch/make-release 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.1-1ubuntu1/.pc/closure-compiler.patch/make-release 2014-02-06 21:48:30.000000000 +0000 @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e + +RELEASE_FILES="JSCommManager.js JSCommUI.js jssip-helper.js parseuri.js webrtc-check.js" +RELEASE_JS="JSComm.js" + +MINIFY_GCC=closure-compiler +# using a manually constructed JVM command line for +# closure-compiler due to Debian bug 705565: +#MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" + +TMP_FILE=`mktemp --suffix=.js JSCommXXX` +cat ${RELEASE_FILES} > ${TMP_FILE} +TMP_RELEASE=`mktemp --suffix=.js JSCommRelXXX` +${MINIFY_GCC} --js ${TMP_FILE} --js_output_file ${TMP_RELEASE} +head -20 JSCommManager.js | cat - ${TMP_RELEASE} > ${RELEASE_JS} +rm ${TMP_FILE} ${TMP_RELEASE} +
  3. Download patch debian/control

    --- 1.1.1-1/debian/control 2014-02-04 19:21:20.000000000 +0000 +++ 1.1.1-1ubuntu1/debian/control 2014-04-16 17:47:43.000000000 +0000 @@ -1,7 +1,8 @@ Source: jscommunicator 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: Daniel Pocock <daniel@pocock.com.au> Build-Depends: debhelper (>= 9), closure-compiler Standards-Version: 3.9.5
  4. Download patch .pc/applied-patches

    --- 1.1.1-1/.pc/applied-patches 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.1-1ubuntu1/.pc/applied-patches 2014-04-16 19:07:18.817631111 +0000 @@ -0,0 +1 @@ +closure-compiler.patch
  5. Download patch debian/patches/series

    --- 1.1.1-1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.1-1ubuntu1/debian/patches/series 2014-04-16 17:48:39.000000000 +0000 @@ -0,0 +1 @@ +closure-compiler.patch
  6. Download patch make-release

    --- 1.1.1-1/make-release 2014-02-06 21:48:30.000000000 +0000 +++ 1.1.1-1ubuntu1/make-release 2014-04-16 19:07:18.000000000 +0000 @@ -5,10 +5,10 @@ set -e RELEASE_FILES="JSCommManager.js JSCommUI.js jssip-helper.js parseuri.js webrtc-check.js" RELEASE_JS="JSComm.js" -MINIFY_GCC=closure-compiler +#MINIFY_GCC=closure-compiler # using a manually constructed JVM command line for # closure-compiler due to Debian bug 705565: -#MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" +MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" TMP_FILE=`mktemp --suffix=.js JSCommXXX` cat ${RELEASE_FILES} > ${TMP_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.2-3ubuntu1) quantal; urgency=low * d/patches/CLI-193.patch: Cherry picked patch from upstream VCS to ensure that wrap width is never exceeded when printing help messages which can result in exceptions (LP: #944546). * d/build.properties: Fix test source directory location and enable test suite execution during build process. -- James Page <james.page@ubuntu.com> Tue, 19 Jun 2012 15:00:56 +0100 libcommons-cli-java (1.2-3build1) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page <james.page@ubuntu.com> Fri, 18 May 2012 11:41:30 +0100

Modifications :
  1. Download patch debian/build.properties

    --- 1.2-3/debian/build.properties 2010-05-08 19:13:30.000000000 +0000 +++ 1.2-3ubuntu1/debian/build.properties 2012-06-19 15:06:42.000000000 +0000 @@ -1,7 +1,7 @@ javadoc.dir=target/api build.sourceDirectory=src/java -build.testDirectory=src/test +build.testSourceDirectory=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 .pc/CLI-193.patch/src/java/org/apache/commons/cli/HelpFormatter.java
  3. Download patch debian/control

    --- 1.2-3/debian/control 2010-05-08 19:15:08.000000000 +0000 +++ 1.2-3ubuntu1/debian/control 2012-06-19 14:03:15.000000000 +0000 @@ -1,7 +1,8 @@ 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: Michael Koch <konqueror@gmx.de>, Ludovic Claude <ludovic.claude@laposte.net> Build-Depends: debhelper (>= 5), cdbs (>= 0.4.8), default-jdk Build-Depends-Indep: maven-ant-helper, maven-repo-helper, ant, ant-optional, libcommons-lang-java (>= 2.0), junit
  4. Download patch .pc/CLI-193.patch/src/test/org/apache/commons/cli/HelpFormatterTest.java
  5. Download patch src/java/org/apache/commons/cli/HelpFormatter.java

    --- 1.2-3/src/java/org/apache/commons/cli/HelpFormatter.java 2009-03-16 07:30:06.000000000 +0000 +++ 1.2-3ubuntu1/src/java/org/apache/commons/cli/HelpFormatter.java 2012-06-19 17:02:28.000000000 +0000 @@ -853,8 +853,9 @@ public class HelpFormatter /** * Finds the next text wrap position after <code>startPos</code> for the * text in <code>text</code> with the column width <code>width</code>. - * The wrap point is the last postion before startPos+width having a - * whitespace character (space, \n, \r). + * The wrap point is the last position before startPos+width having a + * whitespace character (space, \n, \r). If there is no whitespace character + * before startPos+width, it will return startPos+width. * * @param text The text being searched for the wrap position * @param width width of the wrapped text @@ -865,8 +866,8 @@ public class HelpFormatter */ protected int findWrapPos(String text, int width, int startPos) { - int pos = -1; - + int pos; + // the line ends before the max wrap pos or a new line char found if (((pos = text.indexOf('\n', startPos)) != -1 && pos <= width) || ((pos = text.indexOf('\t', startPos)) != -1 && pos <= width)) @@ -896,17 +897,10 @@ public class HelpFormatter return pos; } - // must look for the first whitespace chearacter after startPos - // + width + // if we didn't find one, simply chop at startPos+width pos = startPos + width; - - while ((pos <= text.length()) && ((c = text.charAt(pos)) != ' ') - && (c != '\n') && (c != '\r')) - { - ++pos; - } - - return (pos == text.length()) ? (-1) : pos; + + return pos == text.length() ? -1 : pos; } /**
  6. Download patch .pc/applied-patches

    --- 1.2-3/.pc/applied-patches 1970-01-01 00:00:00.000000000 +0000 +++ 1.2-3ubuntu1/.pc/applied-patches 2012-06-19 17:02:28.448245217 +0000 @@ -0,0 +1 @@ +CLI-193.patch
  7. Download patch debian/patches/CLI-193.patch

    --- 1.2-3/debian/patches/CLI-193.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2-3ubuntu1/debian/patches/CLI-193.patch 2012-06-19 14:00:39.000000000 +0000 @@ -0,0 +1,88 @@ +Description: Ensure the wrap width is never exceeded and cut the words longer + that the width if necessary. +Origin: https://github.com/apache/commons-cli/commit/777cb81088d47472df21a452edd5ba568d4b3fdf +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libcommons-cli-java/+bug/944546 + +Index: libcommons-cli-java/src/java/org/apache/commons/cli/HelpFormatter.java +=================================================================== +--- libcommons-cli-java.orig/src/java/org/apache/commons/cli/HelpFormatter.java 2012-06-19 14:18:14.240915000 +0100 ++++ libcommons-cli-java/src/java/org/apache/commons/cli/HelpFormatter.java 2012-06-19 14:58:33.611532761 +0100 +@@ -853,8 +853,9 @@ + /** + * Finds the next text wrap position after <code>startPos</code> for the + * text in <code>text</code> with the column width <code>width</code>. +- * The wrap point is the last postion before startPos+width having a +- * whitespace character (space, \n, \r). ++ * The wrap point is the last position before startPos+width having a ++ * whitespace character (space, \n, \r). If there is no whitespace character ++ * before startPos+width, it will return startPos+width. + * + * @param text The text being searched for the wrap position + * @param width width of the wrapped text +@@ -865,8 +866,8 @@ + */ + protected int findWrapPos(String text, int width, int startPos) + { +- int pos = -1; +- ++ int pos; ++ + // the line ends before the max wrap pos or a new line char found + if (((pos = text.indexOf('\n', startPos)) != -1 && pos <= width) + || ((pos = text.indexOf('\t', startPos)) != -1 && pos <= width)) +@@ -896,17 +897,10 @@ + return pos; + } + +- // must look for the first whitespace chearacter after startPos +- // + width ++ // if we didn't find one, simply chop at startPos+width + pos = startPos + width; +- +- while ((pos <= text.length()) && ((c = text.charAt(pos)) != ' ') +- && (c != '\n') && (c != '\r')) +- { +- ++pos; +- } +- +- return (pos == text.length()) ? (-1) : pos; ++ ++ return pos == text.length() ? -1 : pos; + } + + /** +Index: libcommons-cli-java/src/test/org/apache/commons/cli/HelpFormatterTest.java +=================================================================== +--- libcommons-cli-java.orig/src/test/org/apache/commons/cli/HelpFormatterTest.java 2012-06-19 14:18:14.000000000 +0100 ++++ libcommons-cli-java/src/test/org/apache/commons/cli/HelpFormatterTest.java 2012-06-19 14:58:33.611532761 +0100 +@@ -44,9 +44,28 @@ + assertEquals("wrap position", 7, hf.findWrapPos(text, 8, 0)); + //starting from 8 must give -1 - the wrap pos is after end + assertEquals("wrap position 2", -1, hf.findWrapPos(text, 8, 8)); +- //if there is no a good position before width to make a wrapping look for the next one ++ ++ // words longer than the width are cut + text = "aaaa aa"; +- assertEquals("wrap position 3", 4, hf.findWrapPos(text, 3, 0)); ++ assertEquals("wrap position 3", 3, hf.findWrapPos(text, 3, 0)); ++ ++ // last word length is equal to the width ++ text = "aaaaaa aaaaaa"; ++ assertEquals("wrap position 4", 6, hf.findWrapPos(text, 6, 0)); ++ assertEquals("wrap position 4", -1, hf.findWrapPos(text, 6, 7)); ++ } ++ ++ public void testRenderWrappedTextWordCut() ++ { ++ int width = 7; ++ int padding = 0; ++ String text = "Thisisatest."; ++ String expected = "Thisisa" + EOL + ++ "test."; ++ ++ StringBuffer sb = new StringBuffer(); ++ new HelpFormatter().renderWrappedText(sb, width, padding, text); ++ assertEquals("cut and wrap", expected, sb.toString()); + } + + public void testPrintWrapped() throws Exception
  8. Download patch src/test/org/apache/commons/cli/HelpFormatterTest.java

    --- 1.2-3/src/test/org/apache/commons/cli/HelpFormatterTest.java 2009-03-16 07:30:05.000000000 +0000 +++ 1.2-3ubuntu1/src/test/org/apache/commons/cli/HelpFormatterTest.java 2012-06-19 17:02:28.000000000 +0000 @@ -44,9 +44,28 @@ public class HelpFormatterTest extends T assertEquals("wrap position", 7, hf.findWrapPos(text, 8, 0)); //starting from 8 must give -1 - the wrap pos is after end assertEquals("wrap position 2", -1, hf.findWrapPos(text, 8, 8)); - //if there is no a good position before width to make a wrapping look for the next one + + // words longer than the width are cut text = "aaaa aa"; - assertEquals("wrap position 3", 4, hf.findWrapPos(text, 3, 0)); + assertEquals("wrap position 3", 3, hf.findWrapPos(text, 3, 0)); + + // last word length is equal to the width + text = "aaaaaa aaaaaa"; + assertEquals("wrap position 4", 6, hf.findWrapPos(text, 6, 0)); + assertEquals("wrap position 4", -1, hf.findWrapPos(text, 6, 7)); + } + + public void testRenderWrappedTextWordCut() + { + int width = 7; + int padding = 0; + String text = "Thisisatest."; + String expected = "Thisisa" + EOL + + "test."; + + StringBuffer sb = new StringBuffer(); + new HelpFormatter().renderWrappedText(sb, width, padding, text); + assertEquals("cut and wrap", expected, sb.toString()); } public void testPrintWrapped() throws Exception
  9. Download patch debian/patches/series

    --- 1.2-3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 1.2-3ubuntu1/debian/patches/series 2012-06-19 13:58:30.000000000 +0000 @@ -0,0 +1 @@ +CLI-193.patch

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

Source: libcommons-dbcp-java

libcommons-dbcp-java (1.4-3ubuntu1) quantal; urgency=low * Resync from Debian unstable. * Revert package to ant buildsystem: + 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, 09 Jul 2012 10:54:50 +0100

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

    --- 1.4-3/debian/README.source 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/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-3/debian/rules 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/debian/rules 2012-07-09 09:16:37.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 get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  4. Download patch debian/patches/01_build.patch

    --- 1.4-3/debian/patches/01_build.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-3ubuntu1/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-3/debian/control 2012-06-19 18:17:17.000000000 +0000 +++ 1.4-3ubuntu1/debian/control 2012-07-09 09:17:19.000000000 +0000 @@ -1,11 +1,12 @@ 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> -Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) -Build-Depends-Indep: libclirr-maven-plugin-java, libmaven-javadoc-plugin-java, libcommons-pool-java, - default-jdk-doc, libcommons-pool-java-doc, libgeronimo-jta-1.1-spec-java +Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, quilt +Build-Depends-Indep: libcommons-pool-java, libcommons-collections3-java, junit, + libgeronimo-jta-1.1-spec-java, maven-repo-helper, default-jdk-doc, libcommons-pool-java-doc Standards-Version: 3.9.1 Homepage: http://commons.apache.org/dbcp/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-dbcp-java/ @@ -13,8 +14,8 @@ Vcs-Browser: http://svn.debian.org/wsvn/ Package: libcommons-dbcp-java Architecture: all -Depends: ${misc:Depends}, ${maven:Depends} -Recommends: ${maven:OptionalDepends} +Depends: ${misc:Depends}, libcommons-pool-java, libcommons-collections3-java +Recommends: libgeronimo-jta-1.1-spec-java Suggests: libcommons-dbcp-java-doc Description: Database Connection Pooling Services The DBCP package provides database connection pooling services. The @@ -33,8 +34,8 @@ Description: Database Connection Pooling Package: libcommons-dbcp-java-doc Architecture: all Section: doc -Depends: ${misc:Depends}, ${maven:DocDepends} -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/applied-patches

    --- 1.4-3/.pc/applied-patches 2012-07-09 10:36:11.795883252 +0000 +++ 1.4-3ubuntu1/.pc/applied-patches 2012-07-09 10:36:12.047889156 +0000 @@ -1,2 +1,2 @@ -0001-configure-source-and-target-version-1.5.patch +01_build.patch 02_java7_compat.patch
  8. Download patch debian/maven.rules

    --- 1.4-3/debian/maven.rules 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/debian/maven.rules 2012-07-09 09:18:06.000000000 +0000 @@ -1,19 +1,3 @@ -# Maven rules - transform 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 -# - 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/ - -commons-dbcp commons-dbcp jar s/.*/debian/ * * +junit junit jar s/3\..*/3.x/ * +s/org.apache.geronimo.specs/glassfish/ s/geronimo-jta_1.1_spec/javaee/ jar s/.*/debian/ +commons-collections commons-collections jar s/3\..*/3.x/
  9. Download patch build.properties

    --- 1.4-3/build.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-3ubuntu1/build.properties 2012-07-09 10:36:12.000000000 +0000 @@ -0,0 +1 @@ +test.failonerror=false
  10. Download patch debian/patches/0001-configure-source-and-target-version-1.5.patch

    --- 1.4-3/debian/patches/0001-configure-source-and-target-version-1.5.patch 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/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> ---
  11. Download patch debian/patches/series

    --- 1.4-3/debian/patches/series 2012-06-19 18:17:17.000000000 +0000 +++ 1.4-3ubuntu1/debian/patches/series 2012-07-09 09:15:05.000000000 +0000 @@ -1,2 +1,2 @@ -0001-configure-source-and-target-version-1.5.patch +01_build.patch 02_java7_compat.patch
  12. Download patch debian/libcommons-dbcp-java-doc.install

    --- 1.4-3/debian/libcommons-dbcp-java-doc.install 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/debian/libcommons-dbcp-java-doc.install 2012-07-09 09:25:16.000000000 +0000 @@ -1,2 +1,2 @@ -target/apidocs/* usr/share/doc/libcommons-dbcp-java/api +dist/docs/* usr/share/doc/libcommons-dbcp-java
  13. Download patch pom.xml

    --- 1.4-3/pom.xml 2012-07-09 10:36:11.000000000 +0000 +++ 1.4-3ubuntu1/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>
  14. Download patch debian/maven.cleanIgnoreRules

    --- 1.4-3/debian/maven.cleanIgnoreRules 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/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/ -
  15. Download patch debian/maven.properties

    --- 1.4-3/debian/maven.properties 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/debian/maven.properties 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -# Include here properties to pass to Maven during the build. -# For example: -# maven.test.skip=true - -maven.test.skip=true
  16. Download patch build.xml

    --- 1.4-3/build.xml 2010-02-07 16:59:20.000000000 +0000 +++ 1.4-3ubuntu1/build.xml 2012-07-09 10:36:12.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>
  17. Download patch debian/maven.ignoreRules

    --- 1.4-3/debian/maven.ignoreRules 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/debian/maven.ignoreRules 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +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 * * * * -junit junit * * * * -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 cobertura-maven-plugin * * * * -org.codehaus.mojo findbugs-maven-plugin * * * * -tomcat naming-common * * * * -tomcat naming-java * * * *
  18. Download patch debian/maven.publishedRules

    --- 1.4-3/debian/maven.publishedRules 2011-09-11 15:33:49.000000000 +0000 +++ 1.4-3ubuntu1/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/ -
  19. Download patch debian/ant.properties

    --- 1.4-3/debian/ant.properties 1970-01-01 00:00:00.000000000 +0000 +++ 1.4-3ubuntu1/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-3ubuntu2) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page <james.page@ubuntu.com> Fri, 18 May 2012 11:42:23 +0100 libcommons-lang-java (2.6-3ubuntu1) precise; urgency=low * Revert to 2.6-1 packaging, as 2.6-2 would pull in a plethora of Java/maven libraries into main. -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 14 Dec 2011 14:48:44 +0100

Modifications :
  1. Download patch debian/libcommons-lang-java-doc.doc-base

    --- 2.6-3/debian/libcommons-lang-java-doc.doc-base 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java-doc.doc-base 2009-07-02 12:07:30.000000000 +0000 @@ -0,0 +1,11 @@ +Document: libcommons-lang-java +Title: Programmer API for Commons Lang +Author: Apache Commons Lang developers +Abstract: The Lang Component contains a set of Java classes that provide helper + methods for standard Java classes, especially those found in the + java.lang package in the Sun JDK. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libcommons-lang-java-doc/api/index.html +Files: /usr/share/doc/libcommons-lang-java-doc/api/*
  2. Download patch debian/commons-lang.bnd

    --- 2.6-3/debian/commons-lang.bnd 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/commons-lang.bnd 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -version=VERSION -Extension-Name: commons-lang -Package: org.apache.commons.lang -Export-Package: org.apache.commons.lang;version=${version},\ - org.apache.commons.lang.*;version=${version} -Import-Package: * -Bundle-Version: ${version} -Bundle-Description: Commons Lang, a package of Java utility classes for \ - the classes that are in java.lang's hierarchy, or are considered to \ - be so standard as to justify existence in java.lang. -Bundle-Name: Commons Lang -Bundle-DocURL: http://commons.apache.org/lang/ -Bundle-Vendor: The Apache Software Foundation -Bundle-SymbolicName: org.apache.commons.lang -Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
  3. Download patch debian/rules

    --- 2.6-3/debian/rules 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/rules 2011-08-02 16:51:38.000000000 +0000 @@ -1,19 +1,28 @@ #!/usr/bin/make -f -DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ') -DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//') +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk -export JAVA_HOME=/usr/lib/jvm/default-java -export CLASSPATH=$(shell for jar in `cat debian/build-classpath`; do if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; done) +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := junit +DEB_ANT_BUILD_TARGET := jar javadoc +LAST_MODIFIED := $(shell date +%s%N | cut -c -13) +DEB_ANT_ARGS := -Dlastmodified=$(LAST_MODIFIED) -%: - dh $@ --buildsystem=ant --with maven_repo_helper +common-post-build-indep:: + mv build/apidocs build/api -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 +install/libcommons-lang-java:: + mh_installpoms -p$(PACKAGE) + mh_installjar -p$(PACKAGE) -l pom.xml build/commons-lang-$(VERSION).jar + +clean:: + -rm gjdoc_rawcomment.cache + -rm -rf docs/api/* + -rm -rf debian/tmp + mh_clean get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
  4. Download patch debian/compat

    --- 2.6-3/debian/compat 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/compat 2009-07-02 12:07:30.000000000 +0000 @@ -1 +1 @@ -7 +6
  5. Download patch debian/control

    --- 2.6-3/debian/control 2011-12-04 01:55:14.000000000 +0000 +++ 2.6-3ubuntu2/debian/control 2011-12-14 13:49:43.000000000 +0000 @@ -1,10 +1,11 @@ Source: libcommons-lang-java Section: java Priority: optional -Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> -Uploaders: Michael Koch <konqueror@gmx.de>, Kumar Appaiah <akumar@debian.org> -Build-Depends: debhelper (>= 7.0.50~), default-jdk, maven-repo-helper (>= 1.7), ant -Build-Depends-Indep: libcommons-parent-java (>= 12), junit (>= 3.8.1), bnd, default-jdk-doc +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>, Michael Koch <konqueror@gmx.de>, Kumar Appaiah <akumar@debian.org> +Build-Depends: debhelper (>= 6), cdbs, default-jdk +Build-Depends-Indep: maven-repo-helper, ant, junit (>= 3.8.1), default-jdk-doc Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-lang-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-lang-java @@ -12,9 +13,8 @@ Homepage: http://commons.apache.org/lang Package: libcommons-lang-java Architecture: all -Depends: ${misc:Depends}, libcommons-parent-java (>= 12) -Suggests: libcommons-lang-java-doc -Description: Commons Lang - an extension of the java.lang package +Depends: ${misc:Depends} +Description: Extension of the java.lang package The Lang Component contains a set of Java classes that provide helper methods for standard Java classes, especially those found in the java.lang package in the Sun JDK. The following classes are included: @@ -38,8 +38,8 @@ Package: libcommons-lang-java-doc Section: doc Architecture: all Depends: ${misc:Depends} -Suggests: libcommons-lang-java, default-jdk-doc -Description: Documentation for Commons Lang - an extension of the java.lang package +Suggests: default-jdk-doc +Description: Documentation for an extension of the java.lang package The Lang Component contains a set of Java classes that provide helper methods for standard Java classes, especially those found in the java.lang package in the Sun JDK. The following classes are included:
  6. Download patch debian/libcommons-lang-java-doc.install

    --- 2.6-3/debian/libcommons-lang-java-doc.install 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java-doc.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -target/apidocs/* usr/share/doc/libcommons-lang-java/api
  7. Download patch .pc/applied-patches

    --- 2.6-3/.pc/applied-patches 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/.pc/applied-patches 2012-05-22 03:58:16.973359400 +0000 @@ -0,0 +1 @@ +OSGi_Manifest.patch
  8. Download patch debian/libcommons-lang-java-doc.doc-base.api

    --- 2.6-3/debian/libcommons-lang-java-doc.doc-base.api 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java-doc.doc-base.api 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -Document: libcommons-lang-java -Title: Programmer API for Commons Lang -Author: Apache Commons Lang developers -Abstract: The Lang Component contains a set of Java classes that provide helper - methods for standard Java classes, especially those found in the - java.lang package in the Sun JDK. -Section: Programming - -Format: HTML -Index: /usr/share/doc/libcommons-lang-java/api/index.html -Files: /usr/share/doc/libcommons-lang-java/api/*
  9. Download patch debian/maven.rules

    --- 2.6-3/debian/maven.rules 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/maven.rules 2009-07-02 12:07:30.000000000 +0000 @@ -1,20 +1,2 @@ -# Maven rules - transform 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 -# - 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/ +junit junit jar s/3\..*/3.x/ -junit junit jar s/3\..*/3.x/ * * -org.apache.commons commons-parent pom s/.*/debian/ * *
  10. Download patch debian/patches/OSGi_Manifest.patch

    --- 2.6-3/debian/patches/OSGi_Manifest.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/debian/patches/OSGi_Manifest.patch 2011-08-02 20:02:40.000000000 +0000 @@ -0,0 +1,94 @@ +Description: Add OSGi metadata +Author: Ludovic Claude <ludovic.claude@laposte.net> +Forwarded: no +Last-Update: 2011-08-02 + +--- libcommons-lang-java-2.6.orig/build.xml ++++ libcommons-lang-java-2.6/build.xml +@@ -30,7 +30,7 @@ + <property file="${basedir}/build.properties"/> + <property file="${basedir}/default.properties"/> + <!-- The Sun Javadoc for versions prior to 1.3 are off-line. --> +- <property name="jdk.javadoc" value="http://java.sun.com/j2se/1.3/docs/api/"/> ++ <property name="jdk.javadoc" value="file:///usr/share/doc/default-jdk-doc/api/"/> + + <!-- ========== Construct compile classpath =============================== --> + <path id="compile.classpath"> +@@ -52,8 +52,12 @@ + <filter token="version" value="${component.version}"/> + <filter token="compile.source" value="${compile.source}"/> + <filter token="compile.target" value="${compile.target}"/> ++ <filter token="lastmodified" value="${lastmodified}"/> + <mkdir dir="${build.home}"/> + <available property="jdk.1.5.present" classname="java.lang.StringBuilder"/> ++ <copy todir="${build.home}/conf" filtering="on"> ++ <fileset dir="${conf.home}" includes="*.MF"/> ++ </copy> + </target> + + <!-- ========== Compile Targets ========================================= --> +@@ -159,18 +163,7 @@ + <mkdir dir="${build.home}/classes/META-INF"/> + <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> + <copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/> +- <jar jarfile="${build.home}/${final.name}.jar"> +- <manifest> +- <attribute name="Specification-Title" value="Commons Lang"/> +- <attribute name="Specification-Version" value="${component.version}"/> +- <attribute name="Specification-Vendor" value="The Apache Software Foundation"/> +- <attribute name="Implementation-Title" value="Commons Lang"/> +- <attribute name="Implementation-Version" value="${component.version}"/> +- <attribute name="Implementation-Vendor" value="The Apache Software Foundation"/> +- <attribute name="Implementation-Vendor-Id" value="org.apache"/> +- <attribute name="X-Compile-Source-JDK" value="${compile.source}"/> +- <attribute name="X-Compile-Target-JDK" value="${compile.target}"/> +- </manifest> ++ <jar jarfile="${build.home}/${final.name}.jar" manifest="${build.home}/conf/MANIFEST.MF"> + <fileset dir="${build.home}/classes"> + <include name="**/*.class"/> + <include name="**/LICENSE.txt"/> +--- /dev/null ++++ libcommons-lang-java-2.6/src/conf/MANIFEST.MF +@@ -0,0 +1,42 @@ ++Manifest-Version: 1.0 ++Package: org.apache.commons.lang ++Extension-Name: commons-lang ++Specification-Version: @version@ ++Specification-Vendor: The Apache Software Foundation ++Specification-Title: Commons Lang ++Implementation-Version: @version@ ++Implementation-Vendor: The Apache Software Foundation ++Implementation-Title: Commons Lang ++Implementation-Vendor-Id: org.apache ++X-Compile-Source-JDK: @compile.source@ ++X-Compile-Target-JDK: @compile.target@ ++Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt ++Import-Package: org.apache.commons.lang;version="@version@", ++ org.apache.commons.lang.builder;version="@version@", ++ org.apache.commons.lang.enum;version="@version@", ++ org.apache.commons.lang.enums;version="@version@", ++ org.apache.commons.lang.exception;version="@version@", ++ org.apache.commons.lang.math;version="@version@", ++ org.apache.commons.lang.mutable;version="@version@", ++ org.apache.commons.lang.text;version="@version@", ++ org.apache.commons.lang.time;version="@version@" ++Bnd-LastModified: @lastmodified@ ++Export-Package: org.apache.commons.lang.math;version="@version@", ++ org.apache.commons.lang.enums;version="@version@", ++ org.apache.commons.lang.builder;version="@version@", ++ org.apache.commons.lang.exception;version="@version@", ++ org.apache.commons.lang.enum;version="@version@", ++ org.apache.commons.lang.mutable;version="@version@", ++ org.apache.commons.lang.text;version="@version@", ++ org.apache.commons.lang.time;version="@version@", ++ org.apache.commons.lang;version="@version@" ++Bundle-Version: @version@ ++Bundle-Description: Commons Lang, a package of Java utility classes fo ++ r the classes that are in java.lang's hierarchy, or are considered ++ to be so standard as to justify existence in java.lang. ++Bundle-Name: Commons Lang ++Bundle-DocURL: http://commons.apache.org/lang/ ++Bundle-ManifestVersion: 2 ++Bundle-Vendor: The Apache Software Foundation ++Bundle-SymbolicName: org.apache.commons.lang ++Tool: Bnd-0.0.238
  11. Download patch src/conf/MANIFEST.MF

    --- 2.6-3/src/conf/MANIFEST.MF 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/src/conf/MANIFEST.MF 2012-05-22 03:58:16.000000000 +0000 @@ -0,0 +1,42 @@ +Manifest-Version: 1.0 +Package: org.apache.commons.lang +Extension-Name: commons-lang +Specification-Version: @version@ +Specification-Vendor: The Apache Software Foundation +Specification-Title: Commons Lang +Implementation-Version: @version@ +Implementation-Vendor: The Apache Software Foundation +Implementation-Title: Commons Lang +Implementation-Vendor-Id: org.apache +X-Compile-Source-JDK: @compile.source@ +X-Compile-Target-JDK: @compile.target@ +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt +Import-Package: org.apache.commons.lang;version="@version@", + org.apache.commons.lang.builder;version="@version@", + org.apache.commons.lang.enum;version="@version@", + org.apache.commons.lang.enums;version="@version@", + org.apache.commons.lang.exception;version="@version@", + org.apache.commons.lang.math;version="@version@", + org.apache.commons.lang.mutable;version="@version@", + org.apache.commons.lang.text;version="@version@", + org.apache.commons.lang.time;version="@version@" +Bnd-LastModified: @lastmodified@ +Export-Package: org.apache.commons.lang.math;version="@version@", + org.apache.commons.lang.enums;version="@version@", + org.apache.commons.lang.builder;version="@version@", + org.apache.commons.lang.exception;version="@version@", + org.apache.commons.lang.enum;version="@version@", + org.apache.commons.lang.mutable;version="@version@", + org.apache.commons.lang.text;version="@version@", + org.apache.commons.lang.time;version="@version@", + org.apache.commons.lang;version="@version@" +Bundle-Version: @version@ +Bundle-Description: Commons Lang, a package of Java utility classes fo + r the classes that are in java.lang's hierarchy, or are considered + to be so standard as to justify existence in java.lang. +Bundle-Name: Commons Lang +Bundle-DocURL: http://commons.apache.org/lang/ +Bundle-ManifestVersion: 2 +Bundle-Vendor: The Apache Software Foundation +Bundle-SymbolicName: org.apache.commons.lang +Tool: Bnd-0.0.238
  12. Download patch debian/libcommons-lang-java-doc.poms

    --- 2.6-3/debian/libcommons-lang-java-doc.poms 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java-doc.poms 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -# List of POM files for the package -# Format of this file is: -# <path to pom file> [option]* -# where option can be: -# --ignore: ignore this POM or -# --no-parent: remove the <parent> tag from the POM -# --package=<package>: an alternative package to use when installing this POM -# and its artifact -# --has-package-version: to indicate that the original version of the POM is the same as the upstream part -# of the version for the package. -# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM -# during a clean operation with mh_cleanpom or mh_installpom -# --artifact=<path>: path to the build artifact associated with this POM, -# it will be installed when using the command mh_install -# --java-lib: install the jar into /usr/share/java to comply with Debian -# packaging guidelines -# --usj-name=<name>: name to use when installing the library in /usr/share/java -# --usj-version=<version>: version to use when installing the library in /usr/share/java -# --no-usj-versionless: don't install the versionless link in /usr/share/java -# --dest-jar=<path>: the destination for the real jar -# it will be installed with mh_install. -# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. -# --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 --ignore-pom --has-package-version --artifact=target/commons-lang-*-javadoc.jar --classifier=javadoc
  13. Download patch debian/libcommons-lang-java-doc.docs

    --- 2.6-3/debian/libcommons-lang-java-doc.docs 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java-doc.docs 2011-08-02 16:51:38.000000000 +0000 @@ -0,0 +1 @@ +build/api
  14. Download patch debian/patches/series

    --- 2.6-3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 2.6-3ubuntu2/debian/patches/series 2009-07-02 12:07:30.000000000 +0000 @@ -0,0 +1 @@ +OSGi_Manifest.patch
  15. Download patch .pc/OSGi_Manifest.patch/build.xml
  16. Download patch build.xml

    --- 2.6-3/build.xml 2011-01-13 23:05:11.000000000 +0000 +++ 2.6-3ubuntu2/build.xml 2012-05-22 03:58:16.000000000 +0000 @@ -30,7 +30,7 @@ <property file="${basedir}/build.properties"/> <property file="${basedir}/default.properties"/> <!-- The Sun Javadoc for versions prior to 1.3 are off-line. --> - <property name="jdk.javadoc" value="http://java.sun.com/j2se/1.3/docs/api/"/> + <property name="jdk.javadoc" value="file:///usr/share/doc/default-jdk-doc/api/"/> <!-- ========== Construct compile classpath =============================== --> <path id="compile.classpath"> @@ -52,8 +52,12 @@ <filter token="version" value="${component.version}"/> <filter token="compile.source" value="${compile.source}"/> <filter token="compile.target" value="${compile.target}"/> + <filter token="lastmodified" value="${lastmodified}"/> <mkdir dir="${build.home}"/> <available property="jdk.1.5.present" classname="java.lang.StringBuilder"/> + <copy todir="${build.home}/conf" filtering="on"> + <fileset dir="${conf.home}" includes="*.MF"/> + </copy> </target> <!-- ========== Compile Targets ========================================= --> @@ -159,18 +163,7 @@ <mkdir dir="${build.home}/classes/META-INF"/> <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> <copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/> - <jar jarfile="${build.home}/${final.name}.jar"> - <manifest> - <attribute name="Specification-Title" value="Commons Lang"/> - <attribute name="Specification-Version" value="${component.version}"/> - <attribute name="Specification-Vendor" value="The Apache Software Foundation"/> - <attribute name="Implementation-Title" value="Commons Lang"/> - <attribute name="Implementation-Version" value="${component.version}"/> - <attribute name="Implementation-Vendor" value="The Apache Software Foundation"/> - <attribute name="Implementation-Vendor-Id" value="org.apache"/> - <attribute name="X-Compile-Source-JDK" value="${compile.source}"/> - <attribute name="X-Compile-Target-JDK" value="${compile.target}"/> - </manifest> + <jar jarfile="${build.home}/${final.name}.jar" manifest="${build.home}/conf/MANIFEST.MF"> <fileset dir="${build.home}/classes"> <include name="**/*.class"/> <include name="**/LICENSE.txt"/>
  17. Download patch debian/maven.ignoreRules

    --- 2.6-3/debian/maven.ignoreRules 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/maven.ignoreRules 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +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/ - -org.apache.maven.plugins maven-assembly-plugin * * * *
  18. Download patch debian/libcommons-lang-java.poms

    --- 2.6-3/debian/libcommons-lang-java.poms 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/libcommons-lang-java.poms 2009-07-02 12:07:30.000000000 +0000 @@ -1,27 +1 @@ -# List of POM files for the package -# Format of this file is: -# <path to pom file> [option]* -# where option can be: -# --ignore: ignore this POM or -# --no-parent: remove the <parent> tag from the POM -# --package=<package>: an alternative package to use when installing this POM -# and its artifact -# --has-package-version: to indicate that the original version of the POM is the same as the upstream part -# of the version for the package. -# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM -# during a clean operation with mh_cleanpom or mh_installpom -# --artifact=<path>: path to the build artifact associated with this POM, -# it will be installed when using the command mh_install -# --java-lib: install the jar into /usr/share/java to comply with Debian -# packaging guidelines -# --usj-name=<name>: name to use when installing the library in /usr/share/java -# --usj-version=<version>: version to use when installing the library in /usr/share/java -# --no-usj-versionless: don't install the versionless link in /usr/share/java -# --dest-jar=<path>: the destination for the real jar -# it will be installed with mh_install. -# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. -# --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 --no-parent
  19. Download patch debian/build-classpath

    --- 2.6-3/debian/build-classpath 2011-11-13 23:40:09.000000000 +0000 +++ 2.6-3ubuntu2/debian/build-classpath 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/usr/share/java/junit.jar
  20. Download patch debian/copyright

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

Source: libcommons-logging-java

libcommons-logging-java (1.2-1ubuntu1) utopic; urgency=medium * Switch back to using libservlet3.0-java to avoid switch from tomcat7->tomcat8 in Ubuntu main and associated Maven MIR. -- James Page <james.page@ubuntu.com> Mon, 11 Aug 2014 15:42:08 +0100

Modifications :
  1. Download patch debian/rules

    --- 1.2-1/debian/rules 2014-07-13 23:59:29.000000000 +0000 +++ 1.2-1ubuntu1/debian/rules 2014-08-11 14:35:39.000000000 +0000 @@ -7,7 +7,7 @@ PACKAGE := $(DEB_SOURCE_PAC VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := dist -DEB_JARS := commons-logging log4j-1.2 excalibur-logkit avalon-framework servlet-api-3.1 junit ant-junit +DEB_JARS := commons-logging log4j-1.2 excalibur-logkit avalon-framework servlet-api-3.0 junit ant-junit DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt makebuilddir/lib$(PACKAGE)-java::
  2. Download patch debian/control

    --- 1.2-1/debian/control 2014-07-13 23:30:07.000000000 +0000 +++ 1.2-1ubuntu1/debian/control 2014-08-11 14:37:27.000000000 +0000 @@ -1,7 +1,8 @@ Source: libcommons-logging-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>, Niels Thykier <niels@thykier.net>, Emmanuel Bourg <ebourg@apache.org>, Jakub Adam <jakub.adam@ktknet.cz> Build-Depends: ant-optional, cdbs, debhelper (>= 9), default-jdk @@ -10,7 +11,7 @@ Build-Depends-Indep: junit, libcommons-parent-java, libexcalibur-logkit-java, liblog4j1.2-java, - libservlet3.1-java, + libservlet3.0-java, maven-repo-helper Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libcommons-logging-java
  3. Download patch debian/maven.rules

    --- 1.2-1/debian/maven.rules 2014-07-13 23:31:55.000000000 +0000 +++ 1.2-1ubuntu1/debian/maven.rules 2014-08-11 14:36:05.000000000 +0000 @@ -1,6 +1,6 @@ junit junit jar s/3\..*/3.x/ log4j log4j jar s/1\.2\..*/1.2.x/ -# force using servlet 3.1 -javax.servlet * * s/.*/3.1/ +# force using servlet 3.0 +javax.servlet * * s/.*/3.0/ s/avalon-framework/org.apache.avalon/ avalon-framework jar s/.*/debian/
  4. Download patch debian/ant.properties

    --- 1.2-1/debian/ant.properties 2014-07-13 23:47:25.000000000 +0000 +++ 1.2-1ubuntu1/debian/ant.properties 2014-08-11 14:36:12.000000000 +0000 @@ -3,5 +3,5 @@ log4j12.jar=/usr/share/java/log4j-1.2.ja logkit.jar=/usr/share/java/excalibur-logkit.jar avalon-framework.jar=/usr/share/java/avalon-framework.jar junit.jar=/usr/share/java/junit.jar -servletapi.jar=/usr/share/java/servlet-api-3.1.jar +servletapi.jar=/usr/share/java/servlet-api-3.0.jar test.failonerror=false

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

Source: libgnumail-java

libgnumail-java (1.1.2-9ubuntu3) trusty; urgency=medium * d/p/add-osgi-metadata.patch: Drop requirement for javax.activiation, fixing FTBFS in eclipse-* packages. -- James Page <james.page@ubuntu.com> Thu, 27 Mar 2014 09:34:49 +0000 libgnumail-java (1.1.2-9ubuntu2) trusty; urgency=medium * Merge with Debian; remaining changes: - Don't use bnd to generate OSGi metadata. -- Matthias Klose <doko@ubuntu.com> Mon, 06 Jan 2014 13:57:10 +0100

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

    --- 1.1.2-9/debian/patches/add-osgi-metadata.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.1.2-9ubuntu3/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-9/debian/rules 2013-05-27 12:54:33.000000000 +0000 +++ 1.1.2-9ubuntu3/debian/rules 2014-01-06 13:01:15.000000000 +0000 @@ -13,9 +13,6 @@ 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 ./gnumail-$(VERSION).jar ./gnumail-$(VERSION).jar - install/$(PACKAGE):: mh_installpom -p$(PACKAGE) debian/gnumail.pom mh_installjar -p$(PACKAGE) --java-lib debian/gnumail.pom ./gnumail-$(VERSION).jar
  4. Download patch debian/gnumail.bnd

    --- 1.1.2-9/debian/gnumail.bnd 2013-05-27 12:54:33.000000000 +0000 +++ 1.1.2-9ubuntu3/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-9/debian/control 2013-05-27 12:54:33.000000000 +0000 +++ 1.1.2-9ubuntu3/debian/control 2014-03-27 09:17:20.000000000 +0000 @@ -1,10 +1,11 @@ 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> Build-Depends: debhelper (>= 8), cdbs (>= 0.4.5.3), ant, maven-repo-helper -Build-Depends-Indep: default-jdk, libgnuinet-java, bnd, default-jdk-doc +Build-Depends-Indep: default-jdk, libgnuinet-java, default-jdk-doc Standards-Version: 3.9.4 Homepage: http://savannah.gnu.org/projects/classpathx Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libgnumail-java/
  6. Download patch .pc/applied-patches

    --- 1.1.2-9/.pc/applied-patches 2014-03-27 12:06:38.083404849 +0000 +++ 1.1.2-9ubuntu3/.pc/applied-patches 2014-03-27 12:06:38.307410710 +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-9/debian/patches/series 2013-05-27 12:54:33.000000000 +0000 +++ 1.1.2-9ubuntu3/debian/patches/series 2014-01-06 12:59:57.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-9/build.xml 2014-03-27 12:06:38.000000000 +0000 +++ 1.1.2-9ubuntu3/build.xml 2014-03-27 12:06:38.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: libjogl2-java

libjogl2-java (2.1.5-1ubuntu3) trusty; urgency=medium * Build again with the serve VM on AArch64 (builds locally). -- Matthias Klose <doko@ubuntu.com> Tue, 01 Apr 2014 18:25:04 +0200 libjogl2-java (2.1.5-1ubuntu2) trusty; urgency=medium * Build using the client VM on AArch64. -- Matthias Klose <doko@ubuntu.com> Fri, 28 Mar 2014 02:46:57 +0100 libjogl2-java (2.1.5-1ubuntu1) trusty; urgency=medium * Build using the zero VM on AArch64. -- Matthias Klose <doko@ubuntu.com> Tue, 25 Mar 2014 11:19:37 +0100

Modifications :
  1. Download patch debian/rules

    --- 2.1.5-1/debian/rules 2014-02-11 14:03:09.000000000 +0000 +++ 2.1.5-1ubuntu3/debian/rules 2014-04-01 16:25:01.000000000 +0000 @@ -17,6 +17,10 @@ ifeq ($(DEB_HOST_ARCH),armhf) DEB_ANT_ARGS += -DisAbiEabiGnuArmhf=true endif +#ifeq ($(DEB_HOST_ARCH),arm64) +# JAVACMD += -client +#endif + build-indep: # Disable the build of the help on slow archs. It takes forever (a few hours) ifneq (,$(findstring $(DEB_HOST_ARCH),$(ENABLE_BUILD_HELP_ARCHS)))

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: libmx4j-java

libmx4j-java (3.0.2-13ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - d/control: Drop optional jython dependencies to reduce main requirements in Ubuntu. -- James Page <james.page@ubuntu.com> Thu, 11 Jul 2013 11:26:43 +0100

Modifications :
  1. Download patch debian/control

    --- 3.0.2-13/debian/control 2013-05-17 10:52:06.000000000 +0000 +++ 3.0.2-13ubuntu1/debian/control 2013-07-11 10:25:34.000000000 +0000 @@ -1,12 +1,13 @@ Source: libmx4j-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>, Niels Thykier <niels@thykier.net> Build-Depends: cdbs, debhelper (>= 7), default-jdk, ant, liblog4j1.2-java, libcommons-logging-java, libbcel-java (>=5.0), - libgnumail-java, libservlet3.0-java, jython, + libgnumail-java, libservlet3.0-java, libaxis-java, javahelper, libhessian-java Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libmx4j-java @@ -18,7 +19,7 @@ Architecture: all Depends: libbcel-java (>=5.0), liblog4j1.2-java, ${misc:Depends} -Suggests: libservlet3.0-java, libgnumail-java, jython, libjetty-java, libhessian-java +Suggests: libservlet3.0-java, libgnumail-java, libjetty-java, libhessian-java Description: Open Source implementation of the JMX(TM) technology JMX defines the architecture, the patterns , the API and services to build manageable Java applications. It provide flexible framework to

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

Source: libnative-platform-java

libnative-platform-java (0.3~rc2-2ubuntu1) trusty; urgency=low * debian/patches/make_buildsystem.diff: move ld libs to end of linking command (LP: #1238322) -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> Sun, 12 Jan 2014 20:33:29 +0200

Modifications :
  1. Download patch Makefile

    --- 0.3~rc2-2/Makefile 2014-01-13 01:08:31.000000000 +0000 +++ 0.3~rc2-2ubuntu1/Makefile 2014-01-13 01:08:32.000000000 +0000 @@ -28,7 +28,7 @@ $(ODIR)/libnative-platform.so: $(OBJ_STD $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^ $(ODIR)/libnative-platform-curses.so: $(OBJ_CURSES) - $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -lcurses -shared -o $@ $^ + $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^ -lcurses $(JCLASSESDIR)/%.class: javafiles-list mkdir -p $(JCLASSESDIR)
  2. Download patch debian/patches/make_buildsystem.diff

    --- 0.3~rc2-2/debian/patches/make_buildsystem.diff 2013-05-05 23:26:09.000000000 +0000 +++ 0.3~rc2-2ubuntu1/debian/patches/make_buildsystem.diff 2014-01-12 09:08:26.000000000 +0000 @@ -38,7 +38,7 @@ Forwarded: no + $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^ + +$(ODIR)/libnative-platform-curses.so: $(OBJ_CURSES) -+ $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -lcurses -shared -o $@ $^ ++ $(CXX) $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o $@ $^ -lcurses + +$(JCLASSESDIR)/%.class: javafiles-list + mkdir -p $(JCLASSESDIR)

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: lwjgl

lwjgl (2.7.1+dfsg-3ubuntu1) saucy; urgency=low * Drop Build-Conflict on binutils-gold, now that binutils provides it. -- Adam Conrad <adconrad@ubuntu.com> Wed, 31 Jul 2013 20:31:45 +0100

Modifications :
  1. Download patch debian/control

    --- 2.7.1+dfsg-3/debian/control 2012-05-07 18:45:05.000000000 +0000 +++ 2.7.1+dfsg-3ubuntu1/debian/control 2013-07-31 19:32:17.000000000 +0000 @@ -1,7 +1,8 @@ Source: lwjgl 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: Gabriele Giacone <1o5g4r8o@gmail.com>, Michael Gilbert <mgilbert@debian.org>, @@ -18,8 +19,6 @@ Build-Depends: libxt-dev, Build-Depends-Indep: default-jdk-doc, -Build-Conflicts: - binutils-gold, Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-java/lwjgl.git Vcs-Browser: http://git.debian.org/?p=pkg-java/lwjgl.git

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

Source: netbeans

netbeans (7.0.1+dfsg1-5ubuntu2) quantal; urgency=low * Keep the build dependency on default-jdk to find jni.h. -- Matthias Klose <doko@ubuntu.com> Thu, 11 Oct 2012 11:48:20 +0200 netbeans (7.0.1+dfsg1-5ubuntu1) quantal; urgency=low * Explicitly build using OpenJDK 6, to fix the build failure. 7.0.1 is not ready to build using Java 7. -- Matthias Klose <doko@ubuntu.com> Wed, 19 Sep 2012 18:23:18 +0200

Modifications :
  1. Download patch debian/rules

    --- 7.0.1+dfsg1-5/debian/rules 2012-02-19 22:17:16.000000000 +0000 +++ 7.0.1+dfsg1-5ubuntu2/debian/rules 2012-09-19 16:34:34.000000000 +0000 @@ -1,6 +1,8 @@ #!/usr/bin/make -f -export JAVA_HOME=/usr/lib/jvm/default-java +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-$(DEB_HOST_ARCH) #package names pkg-platform := platform13
  2. Download patch debian/control

    --- 7.0.1+dfsg1-5/debian/control 2012-02-19 22:17:16.000000000 +0000 +++ 7.0.1+dfsg1-5ubuntu2/debian/control 2012-10-11 09:48:15.000000000 +0000 @@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers <pkg Uploaders: Yulia Novozhilova <Yulia.Novozhilova@sun.com>, Andres Mejia <mcitadel@gmail.com>, Andrew Ross <ubuntu@rossfamily.co.uk> Build-Depends: debhelper (>= 7.0.50~), javahelper, ant (>= 1.7.0), - ant-optional (>= 1.7.0), default-jdk, mingw32, maven-repo-helper, + ant-optional (>= 1.7.0), default-jdk, openjdk-6-jdk, mingw32, maven-repo-helper, w3c-dtd-xhtml, javacc, libjemmy2-java, javahelp2, libbindex-java, libswing-layout-java (>= 1.0.3), libjna-java (>= 3.2.7-2~),

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

Source: node-bones

node-bones (2.0.1+ds1-4ubuntu1) saucy; urgency=low * Artificially build-depend on nodejs, to ensure that this package only builds on architectures where nodejs is available. -- Colin Watson <cjwatson@ubuntu.com> Fri, 04 Oct 2013 16:26:07 +0100

Modifications :
  1. Download patch debian/control

    --- 2.0.1+ds1-4/debian/control 2012-09-20 09:00:20.000000000 +0000 +++ 2.0.1+ds1-4ubuntu1/debian/control 2013-10-04 15:26:06.000000000 +0000 @@ -1,11 +1,13 @@ Source: node-bones 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: David Paleino <dapal@debian.org> Build-Depends: debhelper (>= 8~) , dh-buildinfo + , nodejs Standards-Version: 3.9.4 Homepage: https://github.com/developmentseed/bones Vcs-Git: git://git.debian.org/collab-maint/node-bones.git

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

Source: node-expat

node-expat (1.6.0-2ubuntu2) trusty; urgency=medium * 9999_switch_to_gyp.patch: Switch from node-waf to node-gyp. * debian/*: Adjust build-deps, debhelper, and rules for gyp. -- Adam Conrad <adconrad@ubuntu.com> Sat, 29 Mar 2014 23:16:08 -0600 node-expat (1.6.0-2ubuntu1) quantal; urgency=low * Merge with Debian unstable. Remaining changes: - Cope with node -> nodejs renaming. -- Michael Bienia <geser@ubuntu.com> Mon, 01 Oct 2012 16:11:04 +0200

Modifications :
  1. Download patch binding.gyp

    --- 1.6.0-2/binding.gyp 1970-01-01 00:00:00.000000000 +0000 +++ 1.6.0-2ubuntu2/binding.gyp 2014-03-30 07:37:33.000000000 +0000 @@ -0,0 +1,11 @@ +{ + 'targets': [ + { + 'target_name': 'node_expat', + 'sources': [ 'node-expat.cc' ], + 'libraries': [ + '-lexpat' + ] + } + ] +}
  2. Download patch debian/rules

    --- 1.6.0-2/debian/rules 2012-07-07 08:32:36.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/rules 2014-03-30 06:04:06.000000000 +0000 @@ -44,8 +44,8 @@ DEB_DH_LINK_$(libpkgname) = usr/lib/node # node-waf build routines NODE-WAF-BUILDFLAGS = CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LINKFLAGS="$(LDFLAGS)" -NODE-WAF = NOCOLOR=1 NODE_PATH=$(cdbs_curdestdir)usr/lib/nodejs node-waf -v -NODE = NODE_DISABLE_COLORS=1 node +NODE-WAF = node-gyp +NODE = NODE_DISABLE_COLORS=1 nodejs configure/$(libpkgname):: debian/stamp-node-waf-configure debian/stamp-node-waf-configure: $(NODE-WAF-BUILDFLAGS) $(NODE-WAF) configure @@ -55,8 +55,6 @@ debian/stamp-node-waf-build: $(NODE-WAF) build $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,$(NODE) test.js) touch $@ -install/$(libpkgname):: - $(NODE-WAF) install clean:: rm -rf build rm -f .lock-wscript
  3. Download patch debian/install

    --- 1.6.0-2/debian/install 1970-01-01 00:00:00.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/install 2014-03-30 06:07:24.000000000 +0000 @@ -0,0 +1 @@ +build/Release/node_expat.node usr/lib/nodejs/
  4. Download patch debian/control

    --- 1.6.0-2/debian/control 2012-07-07 08:42:07.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/control 2014-03-30 05:26:32.000000000 +0000 @@ -1,12 +1,14 @@ Source: node-expat 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, debhelper, dh-buildinfo, nodejs-dev, + node-gyp, libexpat-dev, node-vows Standards-Version: 3.9.3
  5. Download patch debian/patches/9999_switch_to_gyp.patch

    --- 1.6.0-2/debian/patches/9999_switch_to_gyp.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/patches/9999_switch_to_gyp.patch 2014-03-30 05:15:44.000000000 +0000 @@ -0,0 +1,63 @@ +From e7d7cb51f60b821600ef58fb3c4293af4d3d7582 Mon Sep 17 00:00:00 2001 +From: Nathan Rajlich <nathan@tootallnate.net> +Date: Tue, 26 Jun 2012 17:22:19 -0700 +Subject: [PATCH] build: add support for building with node-gyp + +--- + binding.gyp | 11 +++++++++++ + package.json | 15 ++++++--------- + 2 files changed, 17 insertions(+), 9 deletions(-) + create mode 100644 binding.gyp + +diff --git a/binding.gyp b/binding.gyp +new file mode 100644 +index 0000000..0059465 +--- /dev/null ++++ b/binding.gyp +@@ -0,0 +1,11 @@ ++{ ++ 'targets': [ ++ { ++ 'target_name': 'node_expat', ++ 'sources': [ 'node-expat.cc' ], ++ 'libraries': [ ++ '-lexpat' ++ ] ++ } ++ ] ++} +diff --git a/package.json b/package.json +index be06986..a177510 100644 +--- a/package.json ++++ b/package.json +@@ -3,21 +3,18 @@ + ,"main": "./lib/node-expat" + ,"description": "NodeJS binding for fast XML parsing." + ,"keywords": ["xml","sax","expat","libexpat","parse","parsing"] +-,"scripts" : { "install": "node-waf configure build" +- ,"update": "node-waf build" +- ,"test": "vows --spec ./test.js" +- } ++,"scripts" : { "test": "vows --spec ./test.js" } + ,"dependencies": {} + ,"devDependencies": {"vows": ">=0.5.12"} + ,"repository": { "type": "git" +- , "path": "git://github.com/astro/node-expat.git" +- } ++ , "path": "git://github.com/astro/node-expat.git" ++ } + ,"homepage": "http://github.com/astro/node-expat" + ,"bugs": "http://github.com/astro/node-expat/issues" + ,"author": { "name": "Astro" +- , "email": "astro@spaceboyz.net" +- , "web": "http://spaceboyz.net/~astro/" +- } ++ , "email": "astro@spaceboyz.net" ++ , "web": "http://spaceboyz.net/~astro/" ++ } + ,"contributors": ["Stephan Maka", "Derek Hammer", "Iein Valdez", "Peter Körner", "Camilo Aguilar", "Michael Weibel", "Alexey Zhuchkov", "Satyam Shekhar", "Dhruv Matani", "Andreas Botsikas", "Tom Hughes-Croucher"] + ,"licenses": [{ "type": "MIT" }] + ,"engines": { "node": ">=0.4" } +-- +1.8.5.5 +
  6. Download patch debian/control.in

    --- 1.6.0-2/debian/control.in 2012-04-27 07:34:49.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/control.in 2012-10-01 14:12:20.000000000 +0000 @@ -1,7 +1,8 @@ Source: node-expat 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.3
  7. Download patch .pc/applied-patches

    --- 1.6.0-2/.pc/applied-patches 2014-03-30 07:37:32.943839156 +0000 +++ 1.6.0-2ubuntu2/.pc/applied-patches 2014-03-30 07:37:33.143844403 +0000 @@ -1 +1,2 @@ 1001_relax_test_timing_tolerance.patch +9999_switch_to_gyp.patch
  8. Download patch .pc/9999_switch_to_gyp.patch/package.json

    --- 1.6.0-2/.pc/9999_switch_to_gyp.patch/package.json 1970-01-01 00:00:00.000000000 +0000 +++ 1.6.0-2ubuntu2/.pc/9999_switch_to_gyp.patch/package.json 2012-06-22 01:55:26.000000000 +0000 @@ -0,0 +1,24 @@ +{ "name": "node-expat" +,"version": "1.6.0" +,"main": "./lib/node-expat" +,"description": "NodeJS binding for fast XML parsing." +,"keywords": ["xml","sax","expat","libexpat","parse","parsing"] +,"scripts" : { "install": "node-waf configure build" + ,"update": "node-waf build" + ,"test": "vows --spec ./test.js" + } +,"dependencies": {} +,"devDependencies": {"vows": ">=0.5.12"} +,"repository": { "type": "git" + , "path": "git://github.com/astro/node-expat.git" + } +,"homepage": "http://github.com/astro/node-expat" +,"bugs": "http://github.com/astro/node-expat/issues" +,"author": { "name": "Astro" + , "email": "astro@spaceboyz.net" + , "web": "http://spaceboyz.net/~astro/" + } +,"contributors": ["Stephan Maka", "Derek Hammer", "Iein Valdez", "Peter Körner", "Camilo Aguilar", "Michael Weibel", "Alexey Zhuchkov", "Satyam Shekhar", "Dhruv Matani", "Andreas Botsikas", "Tom Hughes-Croucher"] +,"licenses": [{ "type": "MIT" }] +,"engines": { "node": ">=0.4" } +}
  9. Download patch debian/patches/series

    --- 1.6.0-2/debian/patches/series 2012-05-10 12:37:54.000000000 +0000 +++ 1.6.0-2ubuntu2/debian/patches/series 2014-03-30 05:15:56.000000000 +0000 @@ -1 +1,2 @@ 1001_relax_test_timing_tolerance.patch +9999_switch_to_gyp.patch
  10. Download patch debian/links
  11. Download patch package.json

    --- 1.6.0-2/package.json 2012-06-22 01:55:26.000000000 +0000 +++ 1.6.0-2ubuntu2/package.json 2014-03-30 07:37:33.000000000 +0000 @@ -3,21 +3,18 @@ ,"main": "./lib/node-expat" ,"description": "NodeJS binding for fast XML parsing." ,"keywords": ["xml","sax","expat","libexpat","parse","parsing"] -,"scripts" : { "install": "node-waf configure build" - ,"update": "node-waf build" - ,"test": "vows --spec ./test.js" - } +,"scripts" : { "test": "vows --spec ./test.js" } ,"dependencies": {} ,"devDependencies": {"vows": ">=0.5.12"} ,"repository": { "type": "git" - , "path": "git://github.com/astro/node-expat.git" - } + , "path": "git://github.com/astro/node-expat.git" + } ,"homepage": "http://github.com/astro/node-expat" ,"bugs": "http://github.com/astro/node-expat/issues" ,"author": { "name": "Astro" - , "email": "astro@spaceboyz.net" - , "web": "http://spaceboyz.net/~astro/" - } + , "email": "astro@spaceboyz.net" + , "web": "http://spaceboyz.net/~astro/" + } ,"contributors": ["Stephan Maka", "Derek Hammer", "Iein Valdez", "Peter Körner", "Camilo Aguilar", "Michael Weibel", "Alexey Zhuchkov", "Satyam Shekhar", "Dhruv Matani", "Andreas Botsikas", "Tom Hughes-Croucher"] ,"licenses": [{ "type": "MIT" }] ,"engines": { "node": ">=0.4" }

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

Source: node-postgres

node-postgres (0.7.1-1ubuntu1) quantal; urgency=low * Cope with node -> nodejs renaming. -- Michael Bienia <geser@ubuntu.com> Mon, 01 Oct 2012 13:44:48 +0200

Modifications :
  1. Download patch debian/control

    --- 0.7.1-1/debian/control 2012-06-22 19:17:35.000000000 +0000 +++ 0.7.1-1ubuntu1/debian/control 2012-10-01 11:45:13.000000000 +0000 @@ -1,7 +1,8 @@ Source: node-postgres 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/patches/2002_rename-nodejs.patch

    --- 0.7.1-1/debian/patches/2002_rename-nodejs.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.7.1-1ubuntu1/debian/patches/2002_rename-nodejs.patch 2012-10-01 11:43:48.000000000 +0000 @@ -0,0 +1,26 @@ +Index: node-postgres-0.7.1/Makefile +=================================================================== +--- node-postgres-0.7.1.orig/Makefile 2012-06-19 05:41:48.000000000 +0200 ++++ node-postgres-0.7.1/Makefile 2012-10-01 13:43:41.000000000 +0200 +@@ -4,7 +4,7 @@ + + params := $(connectionString) + +-node-command := xargs -n 1 -I file node file $(params) ++node-command := xargs -n 1 -I file nodejs file $(params) + + .PHONY : test test-connection test-integration bench test-native build/default/binding.node + test: test-unit +@@ -21,10 +21,10 @@ + @find test/unit -name "*-tests.js" | $(node-command) + + test-connection: +- @node script/test-connection.js $(params) ++ @nodejs script/test-connection.js $(params) + + test-connection-binary: +- @node script/test-connection.js $(params) binary ++ @nodejs script/test-connection.js $(params) binary + + test-native: build/default/binding.node + @echo "***Testing native bindings***"
  3. Download patch debian/control.in

    --- 0.7.1-1/debian/control.in 2012-04-05 12:43:08.000000000 +0000 +++ 0.7.1-1ubuntu1/debian/control.in 2012-10-01 11:45:13.000000000 +0000 @@ -1,7 +1,8 @@ Source: node-postgres 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.3
  4. Download patch .pc/applied-patches

    --- 0.7.1-1/.pc/applied-patches 2012-10-01 13:06:55.931607808 +0000 +++ 0.7.1-1ubuntu1/.pc/applied-patches 2012-10-01 13:06:56.123612666 +0000 @@ -1 +1,2 @@ 2001_native_binding_path.patch +2002_rename-nodejs.patch
  5. Download patch .pc/2002_rename-nodejs.patch/Makefile

    --- 0.7.1-1/.pc/2002_rename-nodejs.patch/Makefile 1970-01-01 00:00:00.000000000 +0000 +++ 0.7.1-1ubuntu1/.pc/2002_rename-nodejs.patch/Makefile 2012-06-19 03:41:48.000000000 +0000 @@ -0,0 +1,40 @@ +SHELL := /bin/bash + +connectionString=pg://postgres:5432@localhost/postgres + +params := $(connectionString) + +node-command := xargs -n 1 -I file node file $(params) + +.PHONY : test test-connection test-integration bench test-native build/default/binding.node +test: test-unit + +test-all: test-unit test-integration test-native test-binary + +bench: + @find benchmark -name "*-bench.js" | $(node-command) + +build/default/binding.node: + @node-gyp rebuild + +test-unit: + @find test/unit -name "*-tests.js" | $(node-command) + +test-connection: + @node script/test-connection.js $(params) + +test-connection-binary: + @node script/test-connection.js $(params) binary + +test-native: build/default/binding.node + @echo "***Testing native bindings***" + @find test/native -name "*-tests.js" | $(node-command) + @find test/integration -name "*-tests.js" | $(node-command) native + +test-integration: test-connection + @echo "***Testing Pure Javascript***" + @find test/integration -name "*-tests.js" | $(node-command) + +test-binary: test-connection-binary + @echo "***Testing Pure Javascript (binary)***" + @find test/integration -name "*-tests.js" | $(node-command) binary
  6. Download patch debian/patches/series

    --- 0.7.1-1/debian/patches/series 2011-12-04 03:24:15.000000000 +0000 +++ 0.7.1-1ubuntu1/debian/patches/series 2012-10-01 11:42:03.000000000 +0000 @@ -1 +1,2 @@ 2001_native_binding_path.patch +2002_rename-nodejs.patch
  7. Download patch Makefile

    --- 0.7.1-1/Makefile 2012-06-19 03:41:48.000000000 +0000 +++ 0.7.1-1ubuntu1/Makefile 2012-10-01 13:06:56.000000000 +0000 @@ -4,7 +4,7 @@ connectionString=pg://postgres:5432@loca params := $(connectionString) -node-command := xargs -n 1 -I file node file $(params) +node-command := xargs -n 1 -I file nodejs file $(params) .PHONY : test test-connection test-integration bench test-native build/default/binding.node test: test-unit @@ -21,10 +21,10 @@ test-unit: @find test/unit -name "*-tests.js" | $(node-command) test-connection: - @node script/test-connection.js $(params) + @nodejs script/test-connection.js $(params) test-connection-binary: - @node script/test-connection.js $(params) binary + @nodejs script/test-connection.js $(params) binary test-native: build/default/binding.node @echo "***Testing native bindings***"

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

Source: node-stringprep

node-stringprep (0.1.5-1ubuntu1) trusty; urgency=medium * Switch from node-waf to node-gyp to fix FTBFS (Closes: #719382) -- Adam Conrad <adconrad@ubuntu.com> Sun, 29 Dec 2013 04:30:07 -0700 node-stringprep (0.1.5-1build1) trusty; urgency=medium * No change rebuild against libicu52 -- Dimitri John Ledkov <xnox@ubuntu.com> Sat, 28 Dec 2013 14:57:22 +0000

Modifications :
  1. Download patch debian/rules

    --- 0.1.5-1/debian/rules 2013-03-05 23:54:22.000000000 +0000 +++ 0.1.5-1ubuntu1/debian/rules 2013-12-29 11:42:55.000000000 +0000 @@ -35,13 +35,14 @@ DEB_UPSTREAM_TARBALL_MD5 = 31b51eaf62afd DEB_INSTALL_DOCS_$(libpkgname) += README.markdown configure/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf configure + NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-gyp configure build/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf build + NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-gyp build install/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf install + install -m 644 -D build/Release/node-stringprep.node \ + $(cdbs_curdestdir)/usr/lib/nodejs/node-stringprep.node # Node modules have an uncommon extension preventing autodetection by # dh_shlibdeps, so we do it manually
  2. Download patch debian/control

    --- 0.1.5-1/debian/control 2013-03-05 23:56:44.000000000 +0000 +++ 0.1.5-1ubuntu1/debian/control 2013-12-29 11:26:40.000000000 +0000 @@ -1,12 +1,14 @@ Source: node-stringprep 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, debhelper, dh-buildinfo, nodejs-dev (>= 0.2.6), + node-gyp, libicu-dev Standards-Version: 3.9.4 Homepage: https://github.com/astro/node-stringprep
  3. Download patch debian/control.in

    --- 0.1.5-1/debian/control.in 2013-03-05 23:48:30.000000000 +0000 +++ 0.1.5-1ubuntu1/debian/control.in 2013-12-28 14:57:22.000000000 +0000 @@ -1,7 +1,8 @@ Source: node-stringprep 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.4

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

Source: nodejs

nodejs (0.10.25~dfsg2-2ubuntu1) trusty; urgency=medium * 2014_powerpc_support.patch: Pull in powerpc support from alow. * 2015_ppc64el_configure.patch: Make configure understand ppc64. -- Adam Conrad <adconrad@ubuntu.com> Wed, 26 Mar 2014 23:59:23 -0600

Modifications :
  1. Download patch .pc/2014_powerpc_support.patch/test/simple/test-fs-readfile-pipe.js

    --- 0.10.25~dfsg2-2/.pc/2014_powerpc_support.patch/test/simple/test-fs-readfile-pipe.js 1970-01-01 00:00:00.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/.pc/2014_powerpc_support.patch/test/simple/test-fs-readfile-pipe.js 2014-01-23 05:05:51.000000000 +0000 @@ -0,0 +1,55 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +var common = require('../common'); +var assert = require('assert'); + +// simulate `cat readfile.js | node readfile.js` + +// TODO: Have some way to make this work on windows. +if (process.platform === 'win32') { + console.error('No /dev/stdin on windows. Skipping test.'); + process.exit(); +} + +var fs = require('fs'); + +var dataExpected = fs.readFileSync(__filename, 'utf8'); + +if (process.argv[2] === 'child') { + fs.readFile('/dev/stdin', function(er, data) { + if (er) throw er; + process.stdout.write(data); + }); + return; +} + +var exec = require('child_process').exec; +var f = JSON.stringify(__filename); +var node = JSON.stringify(process.execPath); +var cmd = 'cat ' + f + ' | ' + node + ' ' + f + ' child'; +exec(cmd, function(err, stdout, stderr) { + if (err) console.error(err); + assert(!err, 'it exits normally'); + assert(stdout === dataExpected, 'it reads the file and outputs it'); + assert(stderr === '', 'it does not write to stderr'); + console.log('ok'); +});
  2. Download patch deps/uv/include/uv-private/uv-aix.h

    --- 0.10.25~dfsg2-2/deps/uv/include/uv-private/uv-aix.h 1970-01-01 00:00:00.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/include/uv-private/uv-aix.h 2014-03-27 09:38:43.000000000 +0000 @@ -0,0 +1,28 @@ +/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#ifndef UV_AIX_H +#define UV_AIX_H + +#define UV_PLATFORM_LOOP_FIELDS \ + int fs_fd; \ + +#endif /* UV_AIX_H */
  3. Download patch node.gyp

    --- 0.10.25~dfsg2-2/node.gyp 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/node.gyp 2014-03-27 09:38:43.000000000 +0000 @@ -222,13 +222,21 @@ 'tools/msvs/genfiles/node_perfctr_provider.rc', ] } ], - [ 'node_shared_v8=="false"', { + # Conditionally include v8 or v8ppc + [ 'node_shared_v8=="false" and target_arch!="ppc" and target_arch!="ppc64"', { 'sources': [ 'deps/v8/include/v8.h', 'deps/v8/include/v8-debug.h', ], 'dependencies': [ 'deps/v8/tools/gyp/v8.gyp:v8' ], }], + [ 'node_shared_v8=="false" and (target_arch=="ppc" or target_arch=="ppc64")', { + 'sources': [ + 'deps/v8ppc/include/v8.h', + 'deps/v8ppc/include/v8-debug.h', + ], + 'dependencies': [ 'deps/v8ppc/tools/gyp/v8.gyp:v8' ], + }], [ 'node_shared_zlib=="false"', { 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], @@ -281,6 +289,11 @@ '-lkvm', ], }], + [ 'OS=="aix"', { + 'defines': [ + '_LINUX_SOURCE_COMPAT', + ], + }], [ 'OS=="solaris"', { 'libraries': [ '-lkstat', @@ -295,12 +308,19 @@ 'PLATFORM="sunos"', ], }], + # Conditionally reference v8 or v8ppc [ - 'OS=="linux" and node_shared_v8=="false"', { + 'OS=="linux" and node_shared_v8=="false" and target_arch!="ppc" and target_arch!="ppc64"', { 'ldflags': [ '-Wl,--whole-archive <(V8_BASE) -Wl,--no-whole-archive', ], }], + [ + 'OS=="linux" and node_shared_v8=="false" and (target_arch=="ppc" or target_arch=="ppc64")', { + 'ldflags': [ + '-Wl,--whole-archive <(PRODUCT_DIR)/obj.target/deps/v8ppc/tools/gyp/libv8_base.a -Wl,--no-whole-archive', + ], + }], ], 'msvs_settings': { 'VCLinkerTool': {
  4. Download patch .pc/2014_powerpc_support.patch/test/simple/test-debugger-client.js
  5. Download patch src/string_bytes.cc

    --- 0.10.25~dfsg2-2/src/string_bytes.cc 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/src/string_bytes.cc 2014-03-27 09:38:43.000000000 +0000 @@ -27,6 +27,7 @@ #include "node.h" #include "node_buffer.h" +#include "v8_typed_array_bswap.h" #include "v8.h" namespace node { @@ -202,13 +203,25 @@ size_t StringBytes::Write(char* buf, len = str->WriteUtf8(buf, buflen, chars_written, flags); break; - case UCS2: - len = str->Write(reinterpret_cast<uint16_t*>(buf), 0, buflen, flags); + case UCS2: { + uint16_t* twobytebuf = reinterpret_cast<uint16_t*>(buf); + len = str->Write(twobytebuf, 0, buflen, flags); if (chars_written != NULL) { *chars_written = len; } +#ifndef V8_TYPED_ARRAY_LITTLE_ENDIAN + // Node's "ucs2" encoding wants LE character data stored in the Buffer + // and v8::String::Write() provides character data in platform endian + // form, so we need to flip on BE platforms. + // See http://nodejs.org/api/buffer.html regarding Node's "ucs2" encoding + // specification + for (size_t i=0; i < len; i++) { + twobytebuf[i] = v8_typed_array::SwapBytes(twobytebuf[i]); + } +#endif len = len * sizeof(uint16_t); break; + } case BASE64: { String::AsciiValue value(str); @@ -228,7 +241,17 @@ size_t StringBytes::Write(char* buf, for (size_t i = 0; i < buflen && i < len; i++) { unsigned char *b = reinterpret_cast<unsigned char*>(&twobytebuf[i]); +#ifdef V8_TYPED_ARRAY_LITTLE_ENDIAN buf[i] = b[0]; +#else + // Node's "binary" encoding uses only the "first" 8-bits of each 16-bit + // character code. Node appears to expect LE character data and + // v8::String::Write() provides platform endian character data, + // so we need to choose the other 8-bits on BE platforms. + // See http://nodejs.org/api/buffer.html regarding Node's "binary" + // encoding specification + buf[i] = b[1]; +#endif } if (chars_written != NULL) { @@ -394,7 +417,8 @@ static bool contains_non_ascii(const cha } -#if defined(__x86_64__) || defined(_WIN64) +#if defined(__x86_64__) || defined(_WIN64) || defined(__PPC64__) || \ + defined(_ARCH_PPC64) const uintptr_t mask = 0x8080808080808080ll; #else const uintptr_t mask = 0x80808080l; @@ -447,7 +471,8 @@ static void force_ascii(const char* src, } } -#if defined(__x86_64__) || defined(_WIN64) +#if defined(__x86_64__) || defined(_WIN64) || defined(__PPC64__) || \ + defined(_ARCH_PPC64) const uintptr_t mask = ~0x8080808080808080ll; #else const uintptr_t mask = ~0x80808080l; @@ -606,7 +631,21 @@ Local<Value> StringBytes::Encode(const c case UCS2: { const uint16_t* data = reinterpret_cast<const uint16_t*>(buf); - val = String::New(data, buflen / 2); +#ifdef V8_TYPED_ARRAY_LITTLE_ENDIAN + val = String::New(data, buflen / 2); +#else + // Node's "ucs2" encoding expects LE character data inside a Buffer + // and v8::String::New() expects to be passed platform endian character + // data, so we need to flip on BE platforms. + // See http://nodejs.org/api/buffer.html regarding Node's "ucs2" + // encoding specification + uint16_t* dst = new uint16_t[buflen / 2]; + for (size_t i=0; i < buflen / 2; i++) { + dst[i] = v8_typed_array::SwapBytes(data[i]); + } + val = String::New(dst, buflen / 2); + delete[] dst; +#endif break; }
  6. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/aix.c
  7. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/fs.c
  8. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/internal.h
  9. Download patch deps/uv/src/unix/aix.c
  10. Download patch src/v8_typed_array_bswap.h

    --- 0.10.25~dfsg2-2/src/v8_typed_array_bswap.h 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/src/v8_typed_array_bswap.h 2014-03-27 09:38:43.000000000 +0000 @@ -24,7 +24,8 @@ // Windows will always be little endian (including ARM), so we just need to // worry about gcc. -#if defined (__ppc__) || defined (__ppc64__) || defined(__ARMEB__) +#if defined(__ARMEB__) || \ + (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && __BYTE_ORDER == __BIG_ENDIAN) #define V8_TYPED_ARRAY_BIG_ENDIAN 1 #else #define V8_TYPED_ARRAY_LITTLE_ENDIAN 1
  11. Download patch debian/patches/2014_powerpc_support.patch
  12. Download patch .pc/2014_powerpc_support.patch/common.gypi
  13. Download patch .pc/2014_powerpc_support.patch/src/v8_typed_array_bswap.h
  14. Download patch debian/control

    --- 0.10.25~dfsg2-2/debian/control 2014-01-24 14:30:46.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/debian/control 2014-03-27 06:00:47.000000000 +0000 @@ -1,7 +1,8 @@ Source: nodejs 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: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: cdbs,
  15. Download patch common.gypi

    --- 0.10.25~dfsg2-2/common.gypi 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/common.gypi 2014-03-27 09:38:43.000000000 +0000 @@ -40,6 +40,10 @@ ['target_arch=="x64"', { 'msvs_configuration_platform': 'x64', }], + ['OS=="aix"', { + 'cflags': [ '-gxcoff' ], + 'ldflags': [ '-Wl,-bbigtoc' ], + }], ], 'msvs_settings': { 'VCCLCompilerTool': { @@ -168,7 +172,7 @@ 'BUILDING_UV_SHARED=1', ], }], - [ 'OS=="linux" or OS=="freebsd" or OS=="kfreebsd" or OS=="openbsd" or OS=="solaris"', { + [ 'OS=="linux" or OS=="freebsd" or OS=="kfreebsd" or OS=="openbsd" or OS=="solaris" or OS=="aix"', { 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', '-pthread', ], 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ], 'ldflags': [ '-pthread', '-rdynamic' ], @@ -186,12 +190,34 @@ 'cflags': [ '-m64' ], 'ldflags': [ '-m64' ], }], + [ 'target_arch=="ppc" and OS!="aix"', { + 'cflags': [ '-m32' ], + 'ldflags': [ '-m32' ], + }], [ 'OS=="solaris"', { 'cflags': [ '-pthreads' ], 'ldflags': [ '-pthreads' ], 'cflags!': [ '-pthread' ], 'ldflags!': [ '-pthread' ], }], + [ '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': [ + [ 'target_arch=="ppc"', { + 'ldflags': [ '-Wl,-bmaxdata:0x30000000/dsa' ], + }], + [ 'target_arch=="ppc64"', { + 'cflags': [ '-maix64' ], + 'ldflags': [ '-maix64' ], + }], + ], + 'ldflags!': [ '-rdynamic' ], + }], ], }], ['OS=="mac"', {
  16. Download patch deps/uv/uv.gyp

    --- 0.10.25~dfsg2-2/deps/uv/uv.gyp 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/uv.gyp 2014-03-27 09:38:43.000000000 +0000 @@ -132,6 +132,7 @@ 'include/uv-private/uv-sunos.h', 'include/uv-private/uv-darwin.h', 'include/uv-private/uv-bsd.h', + 'include/uv-private/uv-aix.h', 'src/unix/async.c', 'src/unix/core.c', 'src/unix/dl.c', @@ -233,6 +234,7 @@ 'defines': [ '_ALL_SOURCE', '_XOPEN_SOURCE=500', + '_LINUX_SOURCE_COMPAT', ], 'link_settings': { 'libraries': [
  17. Download patch deps/uv/src/unix/core.c

    --- 0.10.25~dfsg2-2/deps/uv/src/unix/core.c 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/src/unix/core.c 2014-03-27 09:38:43.000000000 +0000 @@ -60,6 +60,10 @@ # include <sys/wait.h> #endif +#ifdef _AIX +#include <sys/ioctl.h> +#endif + static void uv__run_pending(uv_loop_t* loop); static uv_loop_t default_loop_struct; @@ -432,7 +436,8 @@ skip: } -#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || \ + defined(_AIX) int uv__nonblock(int fd, int set) { int r;
  18. Download patch debian/control.in

    --- 0.10.25~dfsg2-2/debian/control.in 2014-01-24 14:30:46.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/debian/control.in 2014-03-27 06:00:47.000000000 +0000 @@ -1,7 +1,8 @@ Source: nodejs 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: Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk> Build-Depends: @cdbs@
  19. Download patch .pc/applied-patches

    --- 0.10.25~dfsg2-2/.pc/applied-patches 2014-03-27 09:38:43.223357335 +0000 +++ 0.10.25~dfsg2-2ubuntu1/.pc/applied-patches 2014-03-27 09:38:43.851373760 +0000 @@ -10,3 +10,5 @@ 1003_test_disable_chunked_response.patch 1004_test_writeNaN.patch 1005_restore_sh_javascript_nonminified.patch +2014_powerpc_support.patch +2015_ppc64el_configure.patch
  20. Download patch .pc/2014_powerpc_support.patch/src/string_bytes.cc
  21. Download patch .pc/2014_powerpc_support.patch/Makefile
  22. Download patch .pc/2014_powerpc_support.patch/src/node.cc
  23. Download patch .pc/2014_powerpc_support.patch/test/simple/test-net-listen-fd0.js

    --- 0.10.25~dfsg2-2/.pc/2014_powerpc_support.patch/test/simple/test-net-listen-fd0.js 1970-01-01 00:00:00.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/.pc/2014_powerpc_support.patch/test/simple/test-net-listen-fd0.js 2014-01-23 05:05:51.000000000 +0000 @@ -0,0 +1,36 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +var common = require('../common'); +var assert = require('assert'); +var net = require('net'); + +var gotError = false; + +process.on('exit', function() { + assert.equal(gotError, true); +}); + +// this should fail with an async EINVAL error, not throw an exception +net.createServer(assert.fail).listen({fd:0}).on('error', function(e) { + assert.equal(e.code, 'EINVAL'); + gotError = true; +});
  24. Download patch src/node.cc

    --- 0.10.25~dfsg2-2/src/node.cc 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/src/node.cc 2014-03-27 09:38:43.000000000 +0000 @@ -698,7 +698,9 @@ const char *signo_string(int signo) { #endif #ifdef SIGLOST +# if SIGLOST != SIGABRT SIGNO_CASE(SIGLOST); +# endif #endif #ifdef SIGPWR
  25. Download patch .pc/2015_ppc64el_configure.patch/configure
  26. Download patch test/simple/test-fs-readfile-pipe.js

    --- 0.10.25~dfsg2-2/test/simple/test-fs-readfile-pipe.js 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/test/simple/test-fs-readfile-pipe.js 2014-03-27 09:38:43.000000000 +0000 @@ -24,9 +24,9 @@ var assert = require('assert'); // simulate `cat readfile.js | node readfile.js` -// TODO: Have some way to make this work on windows. -if (process.platform === 'win32') { - console.error('No /dev/stdin on windows. Skipping test.'); +// TODO: Have some way to make this work on windows and aix. +if (process.platform === 'win32' || process.platform === 'aix') { + console.error('No /dev/stdin on ' + process.platform + '. Skipping test.'); process.exit(); }
  27. Download patch configure

    --- 0.10.25~dfsg2-2/configure 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/configure 2014-03-27 09:38:43.000000000 +0000 @@ -302,11 +302,14 @@ def pkg_config(pkg): return (libs, cflags) -def cc_macros(): - """Checks predefined macros using the CC command.""" +def cc_macros(cc=None): + """Checks predefined macros using the C compiler command.""" + + if cc is None: + cc = CC try: - p = subprocess.Popen(shlex.split(CC) + ['-dM', '-E', '-'], + p = subprocess.Popen(shlex.split(cc) + ['-dM', '-E', '-'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) @@ -381,13 +384,21 @@ def arm_hard_float_abi(): def host_arch_cc(): """Host architecture check using the CC command.""" - k = cc_macros() + # use 'cc', as CC may be set to a target arch compiler command + # in case of cross-compilation + if sys.platform.startswith('aix'): + k = cc_macros('gcc') + else: + k = cc_macros('cc') matchup = { '__x86_64__' : 'x64', '__i386__' : 'ia32', '__arm__' : 'arm', '__mips__' : 'mips', + '__PPC64__' : 'ppc64', + '__PPC__' : 'ppc', + '_ARCH_PPC' : 'ppc', } rtn = 'ia32' # default @@ -470,6 +481,7 @@ def configure_node(o): target_arch = options.dest_cpu or host_arch o['variables']['host_arch'] = host_arch o['variables']['target_arch'] = target_arch + o['variables']['node_byteorder'] = sys.byteorder if target_arch == 'arm': configure_arm(o)
  28. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/tty.c

    --- 0.10.25~dfsg2-2/.pc/2014_powerpc_support.patch/deps/uv/src/unix/tty.c 1970-01-01 00:00:00.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/.pc/2014_powerpc_support.patch/deps/uv/src/unix/tty.c 2014-01-23 05:05:51.000000000 +0000 @@ -0,0 +1,179 @@ +/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#include "uv.h" +#include "internal.h" + +#include <assert.h> +#include <unistd.h> +#include <termios.h> +#include <errno.h> +#include <sys/ioctl.h> + + +static int orig_termios_fd = -1; +static struct termios orig_termios; + + +int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, int fd, int readable) { + uv__stream_init(loop, (uv_stream_t*)tty, UV_TTY); + +#if defined(__APPLE__) + if (uv__stream_try_select((uv_stream_t*) tty, &fd)) + return -1; +#endif /* defined(__APPLE__) */ + + if (readable) { + uv__nonblock(fd, 1); + uv__stream_open((uv_stream_t*)tty, fd, UV_STREAM_READABLE); + } else { + /* Note: writable tty we set to blocking mode. */ + uv__stream_open((uv_stream_t*)tty, fd, UV_STREAM_WRITABLE); + tty->flags |= UV_STREAM_BLOCKING; + } + + tty->mode = 0; + return 0; +} + + +int uv_tty_set_mode(uv_tty_t* tty, int mode) { + struct termios raw; + int fd; + + fd = uv__stream_fd(tty); + + if (mode && tty->mode == 0) { + /* on */ + + if (tcgetattr(fd, &tty->orig_termios)) { + goto fatal; + } + + /* This is used for uv_tty_reset_mode() */ + if (orig_termios_fd == -1) { + orig_termios = tty->orig_termios; + orig_termios_fd = fd; + } + + raw = tty->orig_termios; + raw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON); + raw.c_oflag |= (ONLCR); + raw.c_cflag |= (CS8); + raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG); + raw.c_cc[VMIN] = 1; + raw.c_cc[VTIME] = 0; + + /* Put terminal in raw mode after draining */ + if (tcsetattr(fd, TCSADRAIN, &raw)) { + goto fatal; + } + + tty->mode = 1; + return 0; + } else if (mode == 0 && tty->mode) { + /* off */ + + /* Put terminal in original mode after flushing */ + if (tcsetattr(fd, TCSAFLUSH, &tty->orig_termios)) { + goto fatal; + } + + tty->mode = 0; + return 0; + } + +fatal: + uv__set_sys_error(tty->loop, errno); + return -1; +} + + +int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { + struct winsize ws; + + if (ioctl(uv__stream_fd(tty), TIOCGWINSZ, &ws) < 0) { + uv__set_sys_error(tty->loop, errno); + return -1; + } + + *width = ws.ws_col; + *height = ws.ws_row; + + return 0; +} + + +uv_handle_type uv_guess_handle(uv_file file) { + struct sockaddr sa; + struct stat s; + socklen_t len; + int type; + + if (file < 0) + return UV_UNKNOWN_HANDLE; + + if (isatty(file)) + return UV_TTY; + + if (fstat(file, &s)) + return UV_UNKNOWN_HANDLE; + + if (S_ISREG(s.st_mode)) + return UV_FILE; + + if (S_ISCHR(s.st_mode)) + return UV_FILE; /* XXX UV_NAMED_PIPE? */ + + if (S_ISFIFO(s.st_mode)) + return UV_NAMED_PIPE; + + if (!S_ISSOCK(s.st_mode)) + return UV_UNKNOWN_HANDLE; + + len = sizeof(type); + if (getsockopt(file, SOL_SOCKET, SO_TYPE, &type, &len)) + return UV_UNKNOWN_HANDLE; + + len = sizeof(sa); + if (getsockname(file, &sa, &len)) + return UV_UNKNOWN_HANDLE; + + if (type == SOCK_DGRAM) + if (sa.sa_family == AF_INET || sa.sa_family == AF_INET6) + return UV_UDP; + + if (type == SOCK_STREAM) { + if (sa.sa_family == AF_INET || sa.sa_family == AF_INET6) + return UV_TCP; + if (sa.sa_family == AF_UNIX) + return UV_NAMED_PIPE; + } + + return UV_UNKNOWN_HANDLE; +} + + +void uv_tty_reset_mode(void) { + if (orig_termios_fd >= 0) { + tcsetattr(orig_termios_fd, TCSANOW, &orig_termios); + } +}
  29. Download patch .pc/2014_powerpc_support.patch/configure
  30. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/core.c
  31. Download patch deps/uv/src/unix/fs.c

    --- 0.10.25~dfsg2-2/deps/uv/src/unix/fs.c 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/src/unix/fs.c 2014-03-27 09:38:43.000000000 +0000 @@ -181,6 +181,15 @@ skip: static ssize_t uv__fs_read(uv_fs_t* req) { +#if defined(_AIX) + struct stat buf; + if(fstat(req->file, &buf)) + return -1; + if(S_ISDIR(buf.st_mode)) { + errno = EISDIR; + return -1; + } +#endif /* defined(_AIX) */ if (req->off < 0) return read(req->file, req->buf, req->len); else
  32. Download patch .pc/2014_powerpc_support.patch/deps/uv/src/unix/udp.c
  33. Download patch deps/uv/src/unix/tty.c

    --- 0.10.25~dfsg2-2/deps/uv/src/unix/tty.c 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/src/unix/tty.c 2014-03-27 09:38:43.000000000 +0000 @@ -26,6 +26,9 @@ #include <unistd.h> #include <termios.h> #include <errno.h> +#if defined (_AIX) +#include <memory.h> +#endif /* defined(_AIX) */ #include <sys/ioctl.h> @@ -154,6 +157,9 @@ uv_handle_type uv_guess_handle(uv_file f return UV_UNKNOWN_HANDLE; len = sizeof(sa); +#if defined (_AIX) + memset(&sa, 0, sizeof(sa)); +#endif /* defined(_AIX) */ if (getsockname(file, &sa, &len)) return UV_UNKNOWN_HANDLE; @@ -167,6 +173,19 @@ uv_handle_type uv_guess_handle(uv_file f if (sa.sa_family == AF_UNIX) return UV_NAMED_PIPE; } +#if defined (_AIX) + if(len == 0) { + len = sizeof(sa); + memset(&sa, 0, sizeof(sa)); + if (getpeername(file, &sa, &len) == -1) { + if(file == 0 || file == 1 || file == 2) + return UV_NAMED_PIPE; + return UV_UNKNOWN_HANDLE; + } + if(sa.sa_family == AF_UNIX) + return UV_NAMED_PIPE; + } +#endif /* defined(_AIX) */ return UV_UNKNOWN_HANDLE; }
  34. Download patch debian/patches/series

    --- 0.10.25~dfsg2-2/debian/patches/series 2014-01-27 08:47:39.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/debian/patches/series 2014-03-27 07:50:13.000000000 +0000 @@ -10,3 +10,5 @@ 1003_test_disable_chunked_response.patch 1004_test_writeNaN.patch 1005_restore_sh_javascript_nonminified.patch +2014_powerpc_support.patch +2015_ppc64el_configure.patch
  35. Download patch deps/uv/src/unix/udp.c

    --- 0.10.25~dfsg2-2/deps/uv/src/unix/udp.c 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/src/unix/udp.c 2014-03-27 09:38:43.000000000 +0000 @@ -558,7 +558,7 @@ int uv_udp_set_membership(uv_udp_t* hand static int uv__setsockopt_maybe_char(uv_udp_t* handle, int option, int val) { -#if defined(__sun) +#if defined(__sun) || defined(_AIX) char arg = val; #else int arg = val;
  36. Download patch .pc/2014_powerpc_support.patch/deps/uv/include/uv-private/uv-unix.h
  37. Download patch deps/uv/src/unix/internal.h

    --- 0.10.25~dfsg2-2/deps/uv/src/unix/internal.h 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/src/unix/internal.h 2014-03-27 09:38:43.000000000 +0000 @@ -41,6 +41,16 @@ # define futimes(fd, tv) futimesat(fd, (void*)0, tv) #endif /* __sun */ +#if defined(_AIX) +#define reqevents events +#define rtnevents revents +#include <sys/poll.h> +#undef reqevents +#undef rtnevents +#undef events +#undef revents +#endif /* _AIX */ + #if defined(__APPLE__) && !TARGET_OS_IPHONE # include <CoreServices/CoreServices.h> #endif @@ -73,7 +83,7 @@ # define UV__POLLHUP UV__EPOLLHUP #endif -#if defined(__sun) +#if defined(__sun) || defined(_AIX) # define UV__POLLIN POLLIN # define UV__POLLOUT POLLOUT # define UV__POLLERR POLLERR
  38. Download patch .pc/2014_powerpc_support.patch/node.gyp
  39. Download patch Makefile

    --- 0.10.25~dfsg2-2/Makefile 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/Makefile 2014-03-27 09:38:43.000000000 +0000 @@ -222,9 +222,17 @@ else ifeq ($(DESTCPU),arm) ARCH=arm else +ifeq ($(DESTCPU),ppc) +ARCH=ppc +else +ifeq ($(DESTCPU),ppc64) +ARCH=ppc64 +else ARCH=x86 endif endif +endif +endif TARNAME=node-$(VERSION) ifdef NIGHTLY TAG = nightly-$(NIGHTLY)
  40. Download patch debian/patches/2015_ppc64el_configure.patch

    --- 0.10.25~dfsg2-2/debian/patches/2015_ppc64el_configure.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/debian/patches/2015_ppc64el_configure.patch 2014-03-27 07:50:37.000000000 +0000 @@ -0,0 +1,13 @@ +Description: Make configure understand ppc64 +Author: Adam Conrad <adconrad@ubuntu.com> + +--- nodejs-0.10.25~dfsg2.orig/configure ++++ nodejs-0.10.25~dfsg2/configure +@@ -396,6 +396,7 @@ def host_arch_cc(): + '__i386__' : 'ia32', + '__arm__' : 'arm', + '__mips__' : 'mips', ++ '__PPC64__' : 'ppc64', + '__PPC__' : 'ppc', + '_ARCH_PPC' : 'ppc', + }
  41. Download patch .pc/2014_powerpc_support.patch/deps/uv/uv.gyp
  42. Download patch deps/uv/include/uv-private/uv-unix.h

    --- 0.10.25~dfsg2-2/deps/uv/include/uv-private/uv-unix.h 2014-03-27 09:38:43.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/deps/uv/include/uv-private/uv-unix.h 2014-03-27 09:38:43.000000000 +0000 @@ -43,6 +43,8 @@ #if defined(__linux__) # include "uv-linux.h" +#elif defined(_AIX) +# include "uv-aix.h" #elif defined(__sun) # include "uv-sunos.h" #elif defined(__APPLE__)
  43. Download patch test/simple/test-debugger-client.js

    --- 0.10.25~dfsg2-2/test/simple/test-debugger-client.js 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/test/simple/test-debugger-client.js 2014-03-27 09:38:43.000000000 +0000 @@ -27,8 +27,6 @@ var common = require('../common'); var assert = require('assert'); var debug = require('_debugger'); -var debugPort = common.PORT + 1337; -debug.port = debugPort; var spawn = require('child_process').spawn; setTimeout(function() { @@ -157,7 +155,7 @@ var script = 'setTimeout(function () { c var nodeProcess; function doTest(cb, done) { - var args = ['--debug=' + debugPort, '-e', script]; + var args = ['-e', script]; nodeProcess = spawn(process.execPath, args); nodeProcess.stdout.once('data', function(c) {
  44. Download patch test/simple/test-net-listen-fd0.js

    --- 0.10.25~dfsg2-2/test/simple/test-net-listen-fd0.js 2014-01-23 05:05:51.000000000 +0000 +++ 0.10.25~dfsg2-2ubuntu1/test/simple/test-net-listen-fd0.js 2014-03-27 09:38:43.000000000 +0000 @@ -29,8 +29,13 @@ process.on('exit', function() { assert.equal(gotError, true); }); -// this should fail with an async EINVAL error, not throw an exception +// This tests a corner case to ensure file descriptor 0 is treated +// like any other file descriptor. +// This should fail with an async error, not throw an exception. net.createServer(assert.fail).listen({fd:0}).on('error', function(e) { - assert.equal(e.code, 'EINVAL'); + // On UNIX, the errno may be ENOTSOCK rather than EINVAL in the case + // where fd 0 is a named or unnamed pipe + assert(e.code == 'EINVAL' || e.code == 'ENOTSOCK', + e.code + " in ['EINVAL', 'ENOTSOCK']"); gotError = true; });

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

Source: service-wrapper-java

service-wrapper-java (3.5.22-2ubuntu1) trusty; urgency=low * debian/patches/0001-fix-as-needed-ppc to fix FTBFS on ppc: "[exec] wrapper.c:(.text+0xd7e8): undefined reference to `ceil'" -- Andreas Moog <amoog@ubuntu.com> Wed, 27 Nov 2013 23:18:47 +0100

Modifications :
  1. Download patch src/c/Makefile-linux-ppc-64.make

    --- 3.5.22-2/src/c/Makefile-linux-ppc-64.make 2013-10-08 06:19:51.000000000 +0000 +++ 3.5.22-2ubuntu1/src/c/Makefile-linux-ppc-64.make 2013-11-27 23:37:17.000000000 +0000 @@ -33,7 +33,7 @@ init: if test ! -d .deps; then mkdir .deps; fi wrapper: $(wrapper_SOURCE) - $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper + $(COMPILE) -pthread $(wrapper_SOURCE) -lm -o $(BIN)/wrapper libwrapper.so: $(libwrapper_so_OBJECTS) ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
  2. Download patch debian/control

    --- 3.5.22-2/debian/control 2013-11-22 05:27:22.000000000 +0000 +++ 3.5.22-2ubuntu1/debian/control 2013-11-27 22:20:04.000000000 +0000 @@ -1,7 +1,8 @@ Source: service-wrapper-java Section: java Priority: optional -Maintainer: Rémi Debay <debay.remi@gmail.com> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Rémi Debay <debay.remi@gmail.com> Uploaders: tony mancill <tmancill@debian.org> Build-Depends: debhelper (>= 9), javahelper,
  3. Download patch debian/patches/0001-fix-as-needed-ppc.patch

    --- 3.5.22-2/debian/patches/0001-fix-as-needed-ppc.patch 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.22-2ubuntu1/debian/patches/0001-fix-as-needed-ppc.patch 2013-11-27 22:20:51.000000000 +0000 @@ -0,0 +1,27 @@ +Description: Fix FTBFS on ppc: + "[exec] wrapper.c:(.text+0xd7e8): undefined reference to `ceil'" +Author: Andreas Moog <amoog@ubuntu.com> +Bug: https://sourceforge.net/p/wrapper/bugs/285/ + +--- service-wrapper-java-3.5.22.orig/src/c/Makefile-linux-ppc-32.make ++++ service-wrapper-java-3.5.22/src/c/Makefile-linux-ppc-32.make +@@ -33,7 +33,7 @@ init: + if test ! -d .deps; then mkdir .deps; fi + + wrapper: $(wrapper_SOURCE) +- $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper ++ $(COMPILE) -pthread $(wrapper_SOURCE) -lm -o $(BIN)/wrapper + + libwrapper.so: $(libwrapper_so_OBJECTS) + ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so +--- service-wrapper-java-3.5.22.orig/src/c/Makefile-linux-ppc-64.make ++++ service-wrapper-java-3.5.22/src/c/Makefile-linux-ppc-64.make +@@ -33,7 +33,7 @@ init: + if test ! -d .deps; then mkdir .deps; fi + + wrapper: $(wrapper_SOURCE) +- $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper ++ $(COMPILE) -pthread $(wrapper_SOURCE) -lm -o $(BIN)/wrapper + + libwrapper.so: $(libwrapper_so_OBJECTS) + ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
  4. Download patch .pc/applied-patches

    --- 3.5.22-2/.pc/applied-patches 2013-11-27 23:37:17.467112780 +0000 +++ 3.5.22-2ubuntu1/.pc/applied-patches 2013-11-27 23:37:17.707119121 +0000 @@ -1,2 +1,3 @@ bashisms_690722.patch 0002-kfreebsd-support.patch +0001-fix-as-needed-ppc.patch
  5. Download patch .pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-32.make

    --- 3.5.22-2/.pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-32.make 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.22-2ubuntu1/.pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-32.make 2013-10-08 06:19:50.000000000 +0000 @@ -0,0 +1,48 @@ +# Copyright (c) 1999, 2013 Tanuki Software, Ltd. +# http://www.tanukisoftware.com +# All rights reserved. +# +# This software is the proprietary information of Tanuki Software. +# You shall use it only in accordance with the terms of the +# license agreement you entered into with Tanuki Software. +# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html + +COMPILE = gcc -O3 -m32 -fPIC -Wall --pedantic -DLINUX -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE + +INCLUDE=$(JAVA_HOME)/include + +DEFS = -I$(INCLUDE) -I$(INCLUDE)/linux + +wrapper_SOURCE = wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c + +libwrapper_so_OBJECTS = wrapper_i18n.o wrapperjni_unix.o wrapperinfo.o wrapperjni.o + +BIN = ../../bin +LIB = ../../lib + +all: init wrapper libwrapper.so + +clean: + rm -f *.o + +cleanall: clean + rm -rf *~ .deps + rm -f $(BIN)/wrapper $(LIB)/libwrapper.so + +init: + if test ! -d .deps; then mkdir .deps; fi + +wrapper: $(wrapper_SOURCE) + $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper + +libwrapper.so: $(libwrapper_so_OBJECTS) + ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp
  6. Download patch debian/patches/series

    --- 3.5.22-2/debian/patches/series 2013-11-22 05:27:22.000000000 +0000 +++ 3.5.22-2ubuntu1/debian/patches/series 2013-11-27 22:20:15.000000000 +0000 @@ -1,2 +1,3 @@ bashisms_690722.patch 0002-kfreebsd-support.patch +0001-fix-as-needed-ppc.patch
  7. Download patch src/c/Makefile-linux-ppc-32.make

    --- 3.5.22-2/src/c/Makefile-linux-ppc-32.make 2013-10-08 06:19:50.000000000 +0000 +++ 3.5.22-2ubuntu1/src/c/Makefile-linux-ppc-32.make 2013-11-27 23:37:17.000000000 +0000 @@ -33,7 +33,7 @@ init: if test ! -d .deps; then mkdir .deps; fi wrapper: $(wrapper_SOURCE) - $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper + $(COMPILE) -pthread $(wrapper_SOURCE) -lm -o $(BIN)/wrapper libwrapper.so: $(libwrapper_so_OBJECTS) ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
  8. Download patch .pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-64.make

    --- 3.5.22-2/.pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-64.make 1970-01-01 00:00:00.000000000 +0000 +++ 3.5.22-2ubuntu1/.pc/0001-fix-as-needed-ppc.patch/src/c/Makefile-linux-ppc-64.make 2013-10-08 06:19:51.000000000 +0000 @@ -0,0 +1,48 @@ +# Copyright (c) 1999, 2013 Tanuki Software, Ltd. +# http://www.tanukisoftware.com +# All rights reserved. +# +# This software is the proprietary information of Tanuki Software. +# You shall use it only in accordance with the terms of the +# license agreement you entered into with Tanuki Software. +# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html + +COMPILE = gcc -O3 -m64 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE + +INCLUDE=$(JAVA_HOME)/include + +DEFS = -I$(INCLUDE) -I$(INCLUDE)/linux + +wrapper_SOURCE = wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c + +libwrapper_so_OBJECTS = wrapper_i18n.o wrapperjni_unix.o wrapperinfo.o wrapperjni.o + +BIN = ../../bin +LIB = ../../lib + +all: init wrapper libwrapper.so + +clean: + rm -f *.o + +cleanall: clean + rm -rf *~ .deps + rm -f $(BIN)/wrapper $(LIB)/libwrapper.so + +init: + if test ! -d .deps; then mkdir .deps; fi + +wrapper: $(wrapper_SOURCE) + $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper + +libwrapper.so: $(libwrapper_so_OBJECTS) + ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp

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

Source: sikuli

sikuli (1.0~x~rc3.tesseract3-dfsg1-7ubuntu1) saucy; urgency=low * Merge from Debian unstable. * Dropped patches: - jgoodies-1.6-compat.patch: superseeded by new snapshot * debian/patches/force-java6-target.patch: fix lintian warning for java bytecode -- Yolanda Robla <yolanda.robla@canonical.com> Wed, 24 Jul 2013 13:10:29 +0200

Modifications :
  1. Download patch .pc/force-java6-target.patch/sikuli-script/src/main/java/CMakeLists.txt

    --- 1.0~x~rc3.tesseract3-dfsg1-7/.pc/force-java6-target.patch/sikuli-script/src/main/java/CMakeLists.txt 1970-01-01 00:00:00.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/.pc/force-java6-target.patch/sikuli-script/src/main/java/CMakeLists.txt 2012-02-13 21:41:27.000000000 +0000 @@ -0,0 +1,82 @@ +# Copyright 2010-2011, Sikuli.org +# Released under the MIT License. +IF(APPLE) + SET(OS_EXTRA_SOURCE_FILES + org/sikuli/script/MacUtil.java + org/sikuli/script/internal/hotkey/MacHotkeyManager.java + ) +ELSEIF(LINUX) + SET(OS_EXTRA_SOURCE_FILES + org/sikuli/script/LinuxUtil.java + org/sikuli/script/internal/hotkey/LinuxHotkeyManager.java + ) +ELSEIF(WIN32) + SET(OS_EXTRA_SOURCE_FILES + org/sikuli/script/Win32Util.java + org/sikuli/script/internal/hotkey/WindowsHotkeyManager.java + ) +ENDIF() + + +SET(JAVA_SOURCE_FILES + ${CMAKE_SWIG_OUTDIR}/*.java + ${OS_EXTRA_SOURCE_FILES} + org/sikuli/script/AppearEvent.java + org/sikuli/script/CapturePrompt.java + org/sikuli/script/ChangeEvent.java + org/sikuli/script/Clipboard.java + org/sikuli/script/Debug.java + org/sikuli/script/DummyOSUtil.java + org/sikuli/script/Env.java + org/sikuli/script/EventManager.java + org/sikuli/script/FindFailed.java + org/sikuli/script/Finder.java + org/sikuli/script/KeyCodeConverter.java + org/sikuli/script/Location.java + org/sikuli/script/Match.java + org/sikuli/script/OS.java + org/sikuli/script/OSUtil.java + org/sikuli/script/Observer.java + org/sikuli/script/OpenCV.java + org/sikuli/script/ScreenHighlighter.java + org/sikuli/script/Pattern.java + org/sikuli/script/Region.java + org/sikuli/script/Screen.java + org/sikuli/script/ScreenImage.java + org/sikuli/script/ScriptRunner.java + org/sikuli/script/Settings.java + org/sikuli/script/SikuliEvent.java + org/sikuli/script/SikuliEventAdapter.java + org/sikuli/script/SikuliEventObserver.java + org/sikuli/script/SikuliScript.java + org/sikuli/script/Subject.java + org/sikuli/script/UnionScreen.java + org/sikuli/script/VDictProxy.java + org/sikuli/script/VanishEvent.java + org/sikuli/script/App.java + org/sikuli/script/ImageLocator.java + org/sikuli/script/ResourceExtractor.java + org/sikuli/script/SikuliException.java + org/sikuli/script/AppNotFound.java + org/sikuli/script/Animator.java + org/sikuli/script/TransparentWindow.java + org/sikuli/script/ExtensionManager.java + org/sikuli/script/Key.java + org/sikuli/script/KeyModifier.java + org/sikuli/script/Button.java + org/sikuli/script/Constants.java + org/sikuli/script/internal/hotkey/HotkeyManager.java +) + +add_custom_target( ${PROJECT_NAME}.classes + COMMAND ${JAVA_COMPILE} -d ${BINARY_CLASS_DIR} -classpath "${CLASSPATH}" + ${JAVA_SOURCE_FILES} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + + +add_custom_target( ${JAR_FILE}.classes-in-jar + COMMAND ${CMAKE_COMMAND} -E copy_directory ${BINARY_CLASS_DIR} ${JAR_DIR} +) + +add_dependencies(${JAR_FILE}.classes-in-jar ${PROJECT_NAME}.classes) +add_dependencies(${PROJECT_NAME}.classes VisionProxy)
  2. Download patch debian/control

    --- 1.0~x~rc3.tesseract3-dfsg1-7/debian/control 2013-07-13 16:20:36.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/debian/control 2013-07-30 12:01:55.000000000 +0000 @@ -1,11 +1,12 @@ Source: sikuli Section: java Priority: extra -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: Gilles Filippini <pini@debian.org> -Build-Depends: debhelper (>= 8.1.3~), javahelper, default-jdk (>= 1:1.6), cmake, jython, libopencv-dev, libcommons-cli-java, junit, libswing-layout-java, libswingx-java, libjxgrabkey-java, libjgoodies-forms-java, libjson-simple-java, libmac-widgets-java, zip, exuberant-ctags, libtesseract-dev, swig, - default-jdk-doc, jython-doc, junit-doc, libswing-layout-java-doc, libswingx-java-doc, libjxgrabkey-doc, libjgoodies-forms-java-doc, libjson-simple-doc, libmac-widgets-doc, - python-sphinx +Build-Depends: debhelper (>= 8.1.3~), javahelper, default-jdk (>= 1:1.6), cmake, jython, libopencv-dev, libcommons-cli-java, junit, libswing-layout-java, libswingx-java, libjxgrabkey-java, + libjgoodies-forms-java, libjson-simple-java, libmac-widgets-java, zip, exuberant-ctags, libtesseract-dev, swig, default-jdk-doc, jython-doc, junit-doc, libswing-layout-java-doc, + libswingx-java-doc, libjxgrabkey-doc, libjgoodies-forms-java-doc, libjson-simple-doc, libmac-widgets-doc, python-sphinx Standards-Version: 3.9.3 Homepage: http://sikuli.org Vcs-Git: git://anonscm.debian.org/collab-maint/sikuli.git
  3. Download patch .pc/force-java6-target.patch/sikuli-ide/src/main/java/CMakeLists.txt

    --- 1.0~x~rc3.tesseract3-dfsg1-7/.pc/force-java6-target.patch/sikuli-ide/src/main/java/CMakeLists.txt 1970-01-01 00:00:00.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/.pc/force-java6-target.patch/sikuli-ide/src/main/java/CMakeLists.txt 2012-02-13 21:41:27.000000000 +0000 @@ -0,0 +1,79 @@ +# Copyright 2010-2011, Sikuli.org +# Released under the MIT License. +IF(APPLE) + SET(OS_EXTRA_SOURCE_FILES org/sikuli/ide/NativeLayerForMac.java) +ELSEIF(LINUX) + SET(OS_EXTRA_SOURCE_FILES org/sikuli/ide/NativeLayerForLinux.java) +ELSEIF(WIN32) + SET(OS_EXTRA_SOURCE_FILES org/sikuli/ide/NativeLayerForWindows.java) +ENDIF() + +SET(JAVA_SOURCE_FILES + ${OS_EXTRA_SOURCE_FILES} + org/sikuli/ide/AutoUpdater.java + org/sikuli/ide/ButtonGenCommand.java + org/sikuli/ide/CaptureButton.java + org/sikuli/ide/CloseableTabbedPane.java + org/sikuli/ide/CloseableTabbedPaneListener.java + org/sikuli/ide/CommandArgs.java + org/sikuli/ide/ConsolePane.java + org/sikuli/ide/CurrentLineHighlighter.java + org/sikuli/ide/FileChooser.java + org/sikuli/ide/I18N.java + org/sikuli/ide/IDESettings.java + org/sikuli/ide/ImageButton.java + org/sikuli/ide/LineNumberView.java + org/sikuli/ide/MyDocument.java + org/sikuli/ide/NativeLayer.java + org/sikuli/ide/Observer.java + org/sikuli/ide/PatternWindow.java + org/sikuli/ide/PreferencesWin.java + org/sikuli/ide/RegionButton.java + org/sikuli/ide/ScreenshotPane.java + org/sikuli/ide/sikuli_test/CounterPanel.java + org/sikuli/ide/sikuli_test/DefaultFailureDetailView.java + org/sikuli/ide/sikuli_test/FailureRunView.java + org/sikuli/ide/sikuli_test/ProgressBar.java + org/sikuli/ide/sikuli_test/TestHierarchyRunView.java + org/sikuli/ide/sikuli_test/TestRunContext.java + org/sikuli/ide/sikuli_test/TestRunView.java + org/sikuli/ide/sikuli_test/TestSuitePanel.java + org/sikuli/ide/sikuli_test/TestTreeModel.java + org/sikuli/ide/sikuli_test/TextUnitTestRunner.java + org/sikuli/ide/sikuli_test/UnitTestRunner.java + org/sikuli/ide/SikuliDocument.java + org/sikuli/ide/SikuliEditorKit.java + org/sikuli/ide/SikuliIDE.java + org/sikuli/ide/SikuliPane.java + org/sikuli/ide/SikuliView.java + org/sikuli/ide/SikuliViewFactory.java + org/sikuli/ide/SimilaritySlider.java + org/sikuli/ide/StatusBar.java + org/sikuli/ide/Subject.java + org/sikuli/ide/TargetOffsetPane.java + org/sikuli/ide/ToolbarButton.java + org/sikuli/ide/UserPreferences.java + org/sikuli/ide/Utils.java + org/sikuli/ide/NamingPane.java + org/sikuli/ide/ModernTabbedPaneUI.java + org/sikuli/ide/UndoManager.java + org/sikuli/ide/BevelDividerPainter.java + org/sikuli/ide/extmanager/ExtensionItem.java + org/sikuli/ide/extmanager/ExtensionManagerFrame.java + org/sikuli/ide/indentation/PythonIndentation.java + org/sikuli/ide/indentation/PythonState.java + org/sikuli/ide/util/GifDecoder.java + org/sikuli/ide/util/LoadingSpinner.java +) + +add_custom_target( ${PROJECT_NAME}.classes + COMMAND ${JAVA_COMPILE} -d ${BINARY_CLASS_DIR} -classpath "${CLASSPATH}" + ${JAVA_SOURCE_FILES} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + + +add_custom_target( ${JAR_FILE}.classes-in-jar + COMMAND ${CMAKE_COMMAND} -E copy_directory ${BINARY_CLASS_DIR} ${JAR_DIR} +) + +add_dependencies(${JAR_FILE}.classes-in-jar ${PROJECT_NAME}.classes)
  4. Download patch .pc/applied-patches

    --- 1.0~x~rc3.tesseract3-dfsg1-7/.pc/applied-patches 2013-07-30 14:19:16.226798236 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/.pc/applied-patches 2013-07-30 14:19:17.334827308 +0000 @@ -8,3 +8,4 @@ tessdata.patch gcc-4.7.patch no-opencv-surf-module.patch setTextAndMnemonic.patch +force-java6-target.patch
  5. Download patch sikuli-script/src/main/java/CMakeLists.txt

    --- 1.0~x~rc3.tesseract3-dfsg1-7/sikuli-script/src/main/java/CMakeLists.txt 2012-02-13 21:41:27.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/sikuli-script/src/main/java/CMakeLists.txt 2013-07-30 14:19:17.000000000 +0000 @@ -70,7 +70,7 @@ SET(JAVA_SOURCE_FILES add_custom_target( ${PROJECT_NAME}.classes COMMAND ${JAVA_COMPILE} -d ${BINARY_CLASS_DIR} -classpath "${CLASSPATH}" - ${JAVA_SOURCE_FILES} + ${JAVA_SOURCE_FILES} -source 1.6 -target 1.6 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
  6. Download patch debian/patches/series

    --- 1.0~x~rc3.tesseract3-dfsg1-7/debian/patches/series 2013-07-13 14:05:45.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/debian/patches/series 2013-07-30 12:01:55.000000000 +0000 @@ -8,3 +8,4 @@ tessdata.patch gcc-4.7.patch no-opencv-surf-module.patch setTextAndMnemonic.patch +force-java6-target.patch
  7. Download patch debian/patches/force-java6-target.patch

    --- 1.0~x~rc3.tesseract3-dfsg1-7/debian/patches/force-java6-target.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.0~x~rc3.tesseract3-dfsg1-7ubuntu1/debian/patches/force-java6-target.patch 2013-07-30 12:01:55.000000000 +0000 @@ -0,0 +1,30 @@ +Description: Force java 6 when building targets + This patch forces Java 6 when building targets. If not, it builds for + Java 7 by default. +Author: Yolanda Robla <yolanda.robla@canonical.com> +Index: sikuli-1.0~x~rc3/sikuli-ide/src/main/java/CMakeLists.txt +=============================================================== +--- sikuli/sikuli-ide/src/main/java/CMakeLists.txt 2013-06-21 15:37:19.488132999 +000