From Fedora Project Wiki

< User:Jlaska

Revision as of 08:13, 26 March 2010 by Akurtakov (talk | contribs) (Fedora Dependencies)

This page outlines the efforts involved in packaging the Google Web Toolkit (gwt) for Fedora.

Bundled jar's

GWT has many build requirements. As currently distributed, the build-time requirements are bundled with the source code. This practice if forbidden according to the Fedora packaging guidelines (see Packaging:Java#Pre-built_JAR_files_.2F_Other_bundled_software). Therefore, each bundled jar file will need to be removed from gwt and packaged in Fedora. The gwt.spec file will be modified to add additional BuildRequires and link to the appropriate jar file packaged in Fedora.

The following sections detail the status of the jar files included in the gwt source.

Status uncertain

The following table lists the jar files that could not be found in existing Fedora or JPackage RPM packages. Each of the files listed will need to be reviewed to determine ...

  1. Is this a true build dependency for building gwt?
  2. Where is the upstream project?
  3. What is the package status?
Filename Status
tools/lib/selenium/selenium-java-client-driver.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/1.0.1/selenium-java-client-driver.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/1.0.1/selenium-server.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/selenium-server.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-core-js-r5070.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-r5070.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-core-js-2.5.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/protobuf/protobuf-2.2.0/protobuf-java-2.2.0.jar
tools/lib/protobuf/protobuf-2.2.0/protobuf-java-rebased-2.2.0.jar
tools/lib/sun/swingworker/swing-worker-1.1.jar May not be needed because it may be a part of jdk6 - User:akurtakov
tools/lib/javaswf/javaswf-20050404.jar
tools/lib/tomcat/servlets-common-1.0.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/lib/tomcat/tomcat-http11-1.0.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/lib/tomcat/tomcat-jk2-2.1.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/redist/emma/emma-2.0.5312-patched.jar Need to find out how this differs from Fedora package Package-x-generic-16.pngemma
tools/lib/tomcat/naming-common-1.0.jar Possibly Package-x-generic-16.pngdirectory-naming, need to compare contents

Unpackaged Dependencies

The following bundled JAR files are not packaged in Fedora or JPackage. These JAR files will need to be packaged for Fedora.

Check out User:akurtakov's Java Maven Packaging Guide for help.

Filename Project URL Status
javacc-maven-plugin URL rawhide package
tools/lib/easymock/easymockclassextension.jar
tools/api-checker/reference/gwt-dev-modified.jar
tools/api-checker/reference/gwt-user-modified.jar

JPackage Dependencies

The following bundled JAR files have been packaged at JPackage, but will need to go through the Fedora package review process so that gwt can be build in the Fedora build system.

Dependency Required By JPackage Status
tools/lib/cglib/cglib-2.2.jar gwt Already packaged Package-x-generic-16.pngcglib
asm cglib JPackage
aspectwerkz cglib JPackage
geronimo-j2ee-management-1.0-api aspectwerkz JPackage
jrexx aspectwerkz JPackage
piccolo aspectwerkz JPackage
gnu.trove aspectwerkz JPackage
tools/lib/cssparser/cssparser-0.9.5.jar gwt JPackage
tools/lib/apache/tapestry-util-text-4.0.2.jar gwt JPackage
tools/lib/htmlunit/htmlunit-2.5.jar gwt JPackage

Fedora Dependencies

The following bundled JAR files are already packaged and available in fedora. Most likely, no additional work is required for these packages.

Filename Package
tools/lib/easymock/easymock.jar Package-x-generic-16.pngeasymock
tools/lib/xalan/xalan-2.7.1.jar Package-x-generic-16.pngxalan-x2, Package-x-generic-16.pngxerces-j2
tools/lib/junit/junit-3.8.1.jar Package-x-generic-16.pngjunit
tools/lib/eclipse/jdt-3.1.1.jar Package-x-generic-16.pngeclipse-jdt
tools/lib/eclipse/jdt-3.4.2.jar Package-x-generic-16.pngeclipse-jdt
tools/lib/eclipse/jdt-3.3.1.jar Package-x-generic-16.pngeclipse-jdt
tools/lib/eclipse/org.eclipse.swt.gtk-linux-3.2.1.jar Package-x-generic-16.pngeclipse-swt
tools/lib/jetty/jetty-6.1.11.jar Package-x-generic-16.pngjetty
tools/lib/jfreechart/jfreechart-1.0.3.jar Package-x-generic-16.pngjfreechart
tools/lib/jfreechart/jcommon-1.0.6.jar Package-x-generic-16.pngjcommon
tools/lib/jfreechart/itext-1.4.6.jar Package-x-generic-16.pngitext
tools/lib/apache/commons/commons-collections-3.2.1.jar Package-x-generic-16.pngjakarta-commons-collections
tools/lib/apache/commons/commons-io-1.4.jar Package-x-generic-16.pngjakarta-commons-io
tools/lib/apache/commons/commons-httpclient-3.1.jar Package-x-generic-16.pngjakarta-commons-httpclient
tools/lib/apache/commons/commons-codec-1.3.jar Package-x-generic-16.pngjakarta-commons-codec
tools/lib/apache/commons/commons-lang-2.4.jar Package-x-generic-16.pngjakarta-commons-lang
tools/lib/apache/commons/commons-logging-1.1.1.jar Package-x-generic-16.pngjakarta-commons-logging
tools/lib/apache/ant-1.7.1.jar Package-x-generic-16.pngant
tools/lib/apache/ant-1.6.5.jar see ant-1.7.1
tools/lib/apache/ant-1.6.1.jar see ant-1.7.1
tools/lib/nekohtml/nekohtml-1.9.13.jar Package-x-generic-16.pngnekohtml
tools/lib/nekohtml/nekohtml-1.9.12.jar see neko-1.9.13
tools/lib/xerces/xerces-2_9_1/serializer.jar Package-x-generic-16.pngxalan-j2
tools/lib/xerces/xerces-2_9_1/xercesImpl.jar Package-x-generic-16.pngxerces-j2
tools/lib/xerces/xerces-2_9_1/xercesImpl-NoMetaInf.jar
tools/lib/xerces/xerces-2.0.2.jar Package-x-generic-16.pngxerces-j2
tools/lib/objectweb/asm-tree-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/objectweb/asm-analysis-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/objectweb/asm-xml-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/objectweb/asm-commons-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/objectweb/asm-util-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/objectweb/asm-3.1.jar Package-x-generic-16.pngobjectweb-asm
tools/lib/w3c/flute/flute-1.3.jar Package-x-generic-16.pngflute
tools/lib/w3c/sac/sac-1.3.jar Package-x-generic-16.pngsac
tools/lib/tomcat/jasper-compiler-1.0.jar Package-x-generic-16.pngtomcat5-jasper
tools/lib/tomcat/naming-java-1.0.jar Package-x-generic-16.pngdirectory-naming
tools/lib/tomcat/catalina-1.0.jar Package-x-generic-16.pngtomcat6-lib
tools/lib/tomcat/servlet-api-2.4.jar Package-x-generic-16.pngtomcat5-servlet-2.4-api
tools/lib/tomcat/naming-resources-1.0.jar Package-x-generic-16.pngtomcat5-common-lib
tools/lib/tomcat/servlet-api-2.5.jar Package-x-generic-16.pngtomcat6-servlet-2.5-api
tools/lib/tomcat/servlets-default-1.0.jar Package-x-generic-16.pngtomcat5-server-lib
tools/lib/tomcat/commons-beanutils-1.6.jar Package-x-generic-16.pngjakarta-commons-beanutils
tools/lib/tomcat/mx4j-jmx-1.1.jar Package-x-generic-16.pngmx4j
tools/lib/tomcat/jsp-api-2.1.jar Package-x-generic-16.pngtomcat6-jsp-2.1-api
tools/lib/tomcat/commons-collections-3.1.jar Package-x-generic-16.pngjakarta-commons-collections
tools/lib/tomcat/servlets-invoker-1.0.jar Package-x-generic-16.pngtomcat5-server-lib
tools/lib/tomcat/catalina-optional-1.0.jar Package-x-generic-16.pngtomcat5-server-lib
tools/lib/tomcat/commons-digester-1.5.jar Package-x-generic-16.pngjakarta-commons-digester
tools/lib/tomcat/jsp-api-2.0.jar Package-x-generic-16.pngtomcat5-jsp
tools/lib/tomcat/jasper-runtime-1.0.jar Package-x-generic-16.pngtomcat5-jasper
tools/lib/tomcat/ant-launcher-1.6.5.jar Package-x-generic-16.pngant
tools/lib/tomcat/commons-modeler-1.1.jar Package-x-generic-16.pngjakarta-commons-modeler
tools/lib/tomcat/naming-factory-1.0.jar Package-x-generic-16.pngtomcat5-common-lib
tools/lib/tomcat/ant-launcher-1.7.1.jar Package-x-generic-16.pngant
tools/lib/tomcat/jakarta-regexp-1.3.jar Package-x-generic-16.pngant-apache-regexp
tools/lib/tomcat/commons-logging-1.0.jar Package-x-generic-16.pngjakarta-commons-logging
tools/lib/tomcat/commons-el-1.0.jar Package-x-generic-16.pngjakarta-commons-el
tools/lib/tomcat/tomcat-coyote-1.0.jar Package-x-generic-16.pngtomcat5-server-lib
tools/lib/tomcat/tomcat-util-5.1.jar Package-x-generic-16.pngtomcat5-server-lib
tools/redist/emma/com.mountainminds.eclemma.core_1.3.2.jar Package-x-generic-16.pngeclipse-eclemma
tools/redist/emma/emma.jar Package-x-generic-16.pngemma
tools/redist/emma/emma_ant-2.0.5312.jar Package-x-generic-16.pngemma
tools/antlib/ant-junit-1.6.5.jar Package-x-generic-16.pngant-junit
tools/antlib/checkstyle-all-4.2.jar Package-x-generic-16.pngcheckstyle
tools/antlib/ant-contrib-1.0b3.jar Package-x-generic-16.pngant-contrib
tools/antlib/ant-junit-1.7.1.jar Package-x-generic-16.pngant-junit
tools/lib/tonicsystems/jarjar-1.0rc8.jar Package-x-generic-16.pngjarjar
tools/lib/xerces/xml-apis-2.0.2.jar Possibly Package-x-generic-16.pngxml-commons-apis, may need to compare content
tools/lib/xerces/xerces-2_9_1/xml-apis.jar Possibly Package-x-generic-16.pngxml-commons-apis, may need to compare content
tools/lib/cssparser/cssparser-0.9.5.jar Package-x-generic-16.pngcssparser

Safe to ignore

The following bundled JAR files have been deemed safe to ignore. It has been determined that they are not true build requirements for packaging gwt in Fedora

Filename Package Name Reason
tools/lib/selenium/selenium-java-client-driver-sources.jar
tools/lib/selenium/1.0.1/selenium-server-sources.jar Package-x-generic-16.pngselenium-server
tools/lib/selenium/selenium-server-sources.jar Package-x-generic-16.pngselenium-server
tools/lib/htmlunit/htmlunit-core-js-2.5-sources.jar JPackage
tools/lib/htmlunit/htmlunit-r5070-sources.jar JPackage
tools/lib/htmlunit/htmlunit-core-js-r5070-sources.jar JPackage
tools/lib/htmlunit/htmlunit-2.5-sources.jar JPackage
dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe1.jar ??? Recommended by User:akurtakov
dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe2.jar ??? Recommended by User:akurtakov
eclipse/settings/code-style/gwt-customchecks.jar gwt's eclipse/README.txt says this is for 'custom GWT Checkstyle checks' and 'is also built from source into build/lib during a full build' - User:AdamWill
tools/lib/eclipse/org.eclipse.swt.win32-win32-3.2.1.jar We're not building for win32
tools/lib/eclipse/org.eclipse.swt.carbon-macosx-3.2.1.jar We're not building for OSX