From Fedora Project Wiki
m (Try to make it a little clearer to understand)
(Redirect to new page)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page outlines the efforts involved in packaging the Google Web Toolkit (gwt) for Fedora.
+
#REDIRECT [[User:Jlaska/autoqa_package_dependencies]]
 
 
= 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 {{filename|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 ...
 
 
 
# Is this a true build dependency for building gwt?
 
# Where is the upstream project?
 
# What is the package status?
 
 
 
{| class="wikitable sortable" border="1"
 
! Filename !! Status
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|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.
 
|-
 
| {{filename|tools/lib/protobuf/protobuf-2.2.0/protobuf-java-2.2.0.jar}} ||
 
|-
 
| {{filename|tools/lib/protobuf/protobuf-2.2.0/protobuf-java-rebased-2.2.0.jar}} ||
 
|-
 
| {{filename|tools/lib/sun/swingworker/swing-worker-1.1.jar}} || May not be needed because it may be a part of jdk6 - [[User:akurtakov]]
 
|-
 
| {{filename|tools/lib/javaswf/javaswf-20050404.jar}} ||
 
|-
 
| {{filename|tools/lib/tomcat/servlets-common-1.0.jar}} || Should be obsoleted by something in tomcat5 or tomcat6
 
|-
 
| {{filename|tools/lib/tomcat/tomcat-http11-1.0.jar}} || Should be obsoleted by something in tomcat5 or tomcat6
 
|-
 
| {{filename|tools/lib/tomcat/tomcat-jk2-2.1.jar}} || Should be obsoleted by something in tomcat5 or tomcat6
 
|-
 
| {{filename|tools/redist/emma/emma-2.0.5312-patched.jar}} || Need to find out how this differs from Fedora package {{package|emma}}
 
|-
 
| {{filename|tools/lib/tomcat/naming-common-1.0.jar}} || Possibly {{package|directory-naming}}, need to compare contents
 
|-
 
|}
 
 
 
== Unpackaged Dependencies ==
 
 
 
The following bundled JAR files are not packaged in Fedora or [http://jpackage.org JPackage].  These JAR files will need to be packaged for Fedora. 
 
 
 
Check out [[User:akurtakov]]'s [http://akurtakov.blogspot.com/2009/09/packaging-java-libraries-using-maven.html Java Maven Packaging Guide] for help.
 
 
 
{| class="wikitable sortable" border="1"
 
! Filename !! Project URL !! Status
 
|-
 
| javacc-maven-plugin || [http://mojo.codehaus.org/javacc-maven-plugin/source-repository.html URL] || [http://akurtakov.fedorapeople.org/javacc-maven-plugin-2.6-1.fc12.src.rpm javacc-maven-plugin-2.6-1.fc12.src.rpm]
 
|-
 
| {{filename|tools/lib/easymock/easymockclassextension.jar}} || ||
 
|-
 
| {{filename|tools/api-checker/reference/gwt-dev-modified.jar}} || ||
 
|-
 
| {{filename|tools/api-checker/reference/gwt-user-modified.jar}} || ||
 
|-
 
|}
 
 
 
== JPackage Dependencies ==
 
 
 
The following bundled JAR files have been packaged at [http://jpackage.org JPackage], but will need to go through the Fedora package review process so that gwt can be build in the Fedora build system.
 
 
 
{| class="wikitable sortable" border="1"
 
! Dependency !! Required By !! JPackage !! Status
 
|-
 
| {{filename|tools/lib/cglib/cglib-2.2.jar}} || gwt || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=5420 JPackage]
 
|-
 
| asm || cglib || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=6304 JPackage]
 
|-
 
| aspectwerkz || cglib || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=3274 JPackage]
 
|-
 
| geronimo-j2ee-management-1.0-api || aspectwerkz || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=7845 JPackage]
 
|-
 
| jrexx || aspectwerkz || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=8299 JPackage]
 
|-
 
| piccolo || aspectwerkz || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=8296 JPackage]
 
|-
 
| gnu.trove || aspectwerkz || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=8153 JPackage]
 
|-
 
| {{filename|tools/lib/cssparser/cssparser-0.9.5.jar}} || gwt || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=6483 JPackage]
 
|-
 
| maven2-default-skin || cssparser || [http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=8283 JPackage]
 
|-
 
| maven-surefire-plugin || cssparser || Instead use {{package|maven-surefire-maven-plugin}}
 
|-
 
| javacc-maven-plugin || cssparser || [http://jpackage.org/browser/rpm.php?jppversion=5.0&id=7524 JPackage]
 
|-
 
| {{filename|tools/lib/tonicsystems/jarjar-1.0rc8.jar}} || gwt || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=3064 JPackage] || [https://bugzilla.redhat.com/show_bug.cgi?id=532523 Review Request]
 
|-
 
| {{filename|tools/lib/apache/tapestry-util-text-4.0.2.jar}} || gwt || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=7343 JPackage]
 
|-
 
| {{filename|tools/lib/htmlunit/htmlunit-2.5.jar}} || gwt || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8381 JPackage]
 
|-
 
|}
 
 
 
== Fedora Dependencies ==
 
 
 
The following bundled JAR files are already packaged and available in [http://fedoraproject.org fedora].  Most likely, no additional work is required for these packages.
 
 
 
{| class="wikitable sortable" border="1"
 
! Filename !! Package
 
|-
 
| {{filename|tools/lib/easymock/easymock.jar}} || {{package|easymock}}
 
|-
 
| {{filename|tools/lib/xalan/xalan-2.7.1.jar}} || {{package|xalan-x2}}, {{package|xerces-j2}}
 
|-
 
| {{filename|tools/lib/junit/junit-3.8.1.jar}} || {{package|junit}}
 
|-
 
| {{filename|tools/lib/eclipse/jdt-3.1.1.jar}} || {{package|eclipse-jdt}}
 
|-
 
| {{filename|tools/lib/eclipse/jdt-3.4.2.jar}} || {{package|eclipse-jdt}}
 
|-
 
| {{filename|tools/lib/eclipse/jdt-3.3.1.jar}} || {{package|eclipse-jdt}}
 
|-
 
| {{filename|tools/lib/eclipse/org.eclipse.swt.gtk-linux-3.2.1.jar}} || {{package|eclipse-swt}}
 
|-
 
| {{filename|tools/lib/jetty/jetty-6.1.11.jar}} || {{package|jetty}}
 
|-
 
| {{filename|tools/lib/jfreechart/jfreechart-1.0.3.jar}} || {{package|jfreechart}}
 
|-
 
| {{filename|tools/lib/jfreechart/jcommon-1.0.6.jar}} || {{package|jcommon}}
 
|-
 
| {{filename|tools/lib/jfreechart/itext-1.4.6.jar}} || {{package|itext}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-collections-3.2.1.jar}} || {{package|jakarta-commons-collections}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-io-1.4.jar}} || {{package|jakarta-commons-io}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-httpclient-3.1.jar}} || {{package|jakarta-commons-httpclient}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-codec-1.3.jar}} || {{package|jakarta-commons-codec}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-lang-2.4.jar}} || {{package|jakarta-commons-lang}}
 
|-
 
| {{filename|tools/lib/apache/commons/commons-logging-1.1.1.jar}} || {{package|jakarta-commons-logging}}
 
|-
 
| {{filename|tools/lib/apache/ant-1.7.1.jar}} || {{package|ant}} {{Anchor|ant-1.7.1}}
 
|-
 
| {{filename|tools/lib/apache/ant-1.6.5.jar}} || [[#ant-1.7.1|see ant-1.7.1]]
 
|-
 
| {{filename|tools/lib/apache/ant-1.6.1.jar}} || [[#ant-1.7.1|see ant-1.7.1]]
 
|-
 
| {{filename|tools/lib/nekohtml/nekohtml-1.9.13.jar}} || {{package|nekohtml}} {{Anchor|neko-1.9.13}}
 
|-
 
| {{filename|tools/lib/nekohtml/nekohtml-1.9.12.jar}} || [[#neko-1.9.13|see neko-1.9.13]]
 
|-
 
| {{filename|tools/lib/xerces/xerces-2_9_1/serializer.jar}} || {{package|xalan-j2}}
 
|-
 
| {{filename|tools/lib/xerces/xerces-2_9_1/xercesImpl.jar}} || {{package|xerces-j2}}
 
|-
 
| {{filename|tools/lib/xerces/xerces-2_9_1/xercesImpl-NoMetaInf.jar}} ||
 
|-
 
| {{filename|tools/lib/xerces/xerces-2.0.2.jar}} || {{package|xerces-j2}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-tree-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-analysis-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-xml-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-commons-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-util-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/objectweb/asm-3.1.jar}} || {{package|objectweb-asm}}
 
|-
 
| {{filename|tools/lib/w3c/flute/flute-1.3.jar}} || {{package|flute}}
 
|-
 
| {{filename|tools/lib/w3c/sac/sac-1.3.jar}} || {{package|sac}}
 
|-
 
| {{filename|tools/lib/tomcat/jasper-compiler-1.0.jar}} || {{package|tomcat5-jasper}}
 
|-
 
| {{filename|tools/lib/tomcat/naming-java-1.0.jar}} || {{package|directory-naming}}
 
|-
 
| {{filename|tools/lib/tomcat/catalina-1.0.jar}} || {{package|tomcat6-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/servlet-api-2.4.jar}} || {{package|tomcat5-servlet-2.4-api}}
 
|-
 
| {{filename|tools/lib/tomcat/naming-resources-1.0.jar}} || {{package|tomcat5-common-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/servlet-api-2.5.jar}} || {{package|tomcat6-servlet-2.5-api}}
 
|-
 
| {{filename|tools/lib/tomcat/servlets-default-1.0.jar}} || {{package|tomcat5-server-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-beanutils-1.6.jar}} || {{package|jakarta-commons-beanutils}}
 
|-
 
| {{filename|tools/lib/tomcat/mx4j-jmx-1.1.jar}} || {{package|mx4j}}
 
|-
 
| {{filename|tools/lib/tomcat/jsp-api-2.1.jar}} || {{package|tomcat6-jsp-2.1-api}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-collections-3.1.jar}} || {{package|jakarta-commons-collections}}
 
|-
 
| {{filename|tools/lib/tomcat/servlets-invoker-1.0.jar}} || {{package|tomcat5-server-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/catalina-optional-1.0.jar}} || {{package|tomcat5-server-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-digester-1.5.jar}} || {{package|jakarta-commons-digester}}
 
|-
 
| {{filename|tools/lib/tomcat/jsp-api-2.0.jar}} || {{package|tomcat5-jsp}}
 
|-
 
| {{filename|tools/lib/tomcat/jasper-runtime-1.0.jar}} || {{package|tomcat5-jasper}}
 
|-
 
| {{filename|tools/lib/tomcat/ant-launcher-1.6.5.jar}} || {{package|ant}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-modeler-1.1.jar}} || {{package|jakarta-commons-modeler}}
 
|-
 
| {{filename|tools/lib/tomcat/naming-factory-1.0.jar}} || {{package|tomcat5-common-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/ant-launcher-1.7.1.jar}} || {{package|ant}}
 
|-
 
| {{filename|tools/lib/tomcat/jakarta-regexp-1.3.jar}} || {{package|ant-apache-regexp}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-logging-1.0.jar}} || {{package|jakarta-commons-logging}}
 
|-
 
| {{filename|tools/lib/tomcat/commons-el-1.0.jar}} || {{package|jakarta-commons-el}}
 
|-
 
| {{filename|tools/lib/tomcat/tomcat-coyote-1.0.jar}} || {{package|tomcat5-server-lib}}
 
|-
 
| {{filename|tools/lib/tomcat/tomcat-util-5.1.jar}} || {{package|tomcat5-server-lib}}
 
|-
 
| {{filename|tools/redist/emma/com.mountainminds.eclemma.core_1.3.2.jar}} || {{package|eclipse-eclemma}}
 
|-
 
| {{filename|tools/redist/emma/emma.jar}} || {{package|emma}}
 
|-
 
| {{filename|tools/redist/emma/emma_ant-2.0.5312.jar}} || {{package|emma}}
 
|-
 
| {{filename|tools/antlib/ant-junit-1.6.5.jar}} || {{package|ant-junit}}
 
|-
 
| {{filename|tools/antlib/checkstyle-all-4.2.jar}} || {{package|checkstyle}}
 
|-
 
| {{filename|tools/antlib/ant-contrib-1.0b3.jar}} || {{package|ant-contrib}}
 
|-
 
| {{filename|tools/antlib/ant-junit-1.7.1.jar}} || {{package|ant-junit}}
 
|-
 
| {{filename|tools/lib/xerces/xml-apis-2.0.2.jar}} || Possibly {{package|xml-commons-apis}}, may need to compare content
 
|-
 
| {{filename|tools/lib/xerces/xerces-2_9_1/xml-apis.jar}} || Possibly {{package|xml-commons-apis}}, may need to compare content
 
|-
 
|}
 
 
 
== 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
 
 
 
{| class="wikitable sortable" border="1"
 
! Filename !! Package Name !! Reason
 
|-
 
| {{filename|tools/lib/selenium/selenium-java-client-driver-sources.jar}} ||
 
|-
 
| {{filename|tools/lib/selenium/1.0.1/selenium-server-sources.jar}} || {{package|selenium-server}}
 
|-
 
| {{filename|tools/lib/selenium/selenium-server-sources.jar}} || {{package|selenium-server}}
 
|-
 
| {{filename|tools/lib/htmlunit/htmlunit-core-js-2.5-sources.jar}} || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8381 JPackage]
 
|-
 
| {{filename|tools/lib/htmlunit/htmlunit-r5070-sources.jar}} || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8381 JPackage]
 
|-
 
| {{filename|tools/lib/htmlunit/htmlunit-core-js-r5070-sources.jar}} || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8381 JPackage]
 
|-
 
| {{filename|tools/lib/htmlunit/htmlunit-2.5-sources.jar}} || [http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8381 JPackage]
 
|-
 
| {{filename|dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe1.jar}} || ??? || Recommended by [[User:akurtakov]]
 
|-
 
| {{filename|dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe2.jar}} || ??? || Recommended by [[User:akurtakov]]
 
|-
 
| {{filename|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]]
 
|-
 
| {{filename|tools/lib/eclipse/org.eclipse.swt.win32-win32-3.2.1.jar}} || ||  We're not building for win32
 
|-
 
| {{filename|tools/lib/eclipse/org.eclipse.swt.carbon-macosx-3.2.1.jar}} || || We're not building for OSX
 
|-
 
|}
 

Latest revision as of 16:33, 30 June 2010