Bug#402841: Public access ?
Hi,
The problem is not the package, but the build of all jar and .so
provided by upstream.
I attached a Makefile I used to make the build, but this is rather old
Makefile. I hope this help you understand the problem.
You will probably also need to rebuild iceweasel to ad some missing files.
I made many trial but even when I manage to build, this doesn't work
properly.
If you want to help, I would suggest to contact upstream authors, to ask
them to provide all what is needed to build binaries they provide.
I didn't check recently, so it may be easier to build now.
Except this you can just build a package with one of the precompiled
binary they provide, or simply make a convert of a tarball with alien,
but this doesn't fit to be uploaded in debian.
Cheers,
Christian
Jean Parpaillon a écrit :
> Hi,
> Is there a public repos where package sources can be found ? I need this
> package and would like to help.
>
>
> Regards,
>
TOOLSDIR=tools
default: linux
linux+eclipse+ice: toolssdk substmoz cpheader eclipse redistclean remnonlinux build1460 substjni jnibuild build1460
linux+eclipse: eclipse remnonlinux build1460
linux: remnonlinux build1460
all: toolssdk substmoz eclipse remnonlinux build1460
toolssdk: sdkclean $(TOOLSDIR)/sdk/iceweasel-2.0.0.11 #$(TOOLSDIR)/sdk/webkit-0~svn27674/JavaScriptCore
sdkclean:
-rm -rf $(TOOLSDIR)/sdk/mozilla* $(TOOLSDIR)/sdk/WebKit*
redistclean:
-rm -rf $(TOOLSDIR)/redist
mkdir $(TOOLSDIR)/redist
mkdir $(TOOLSDIR)/redist/iceweasel
cotools:
svn checkout http://google-web-toolkit.googlecode.com/svn/tools/ toolsco
extools:
svn export http://google-web-toolkit.googlecode.com/svn/tools/ toolsex
co:
svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/ trunk
co133:
svn checkout http://google-web-toolkit.googlecode.com/svn/tags/1.3.3/ 1.3.3
co1460:
svn checkout http://google-web-toolkit.googlecode.com/svn/tags/1.4.60/ 1.4.60co
ex1460:
svn export http://google-web-toolkit.googlecode.com/svn/tags/1.4.60/ 1.4.60
build:
export GWT_TOOLS=$(CURDIR)/$(TOOLSDIR); cd $(CURDIR)/trunk ; ant
buildex:
export GWT_VERSION=1.4.60 GWT_TOOLS=$(CURDIR)/toolsex; cd $(CURDIR)/1.4.60ex ; ant
build133:
export GWT_VERSION=1.3.3 GWT_TOOLS=$(CURDIR)/$(TOOLSDIR); cd $(CURDIR)/1.3.3 ; ant
build1460:
export GWT_VERSION=1.4.60 GWT_TOOLS=$(CURDIR)/$(TOOLSDIR); cd $(CURDIR)/1.4.60 ; ant
clean:
export GWT_VERSION=1.4.60 GWT_TOOLS=$(CURDIR)/$(TOOLSDIR); cd $(CURDIR)/1.4.60 ; ant clean
gwt-linux-1.3.3:
tar xvzf 1.3.3/build/dist/gwt-linux-1.3.3.tar.gz
$(TOOLSDIR):
mkdir $(TOOLSDIR)
$(TOOLSDIR)/sdk/iceweasel-2.0.0.11:
mkdir -p $(TOOLSDIR)/sdk/iceweasel-2.0.0.11
cp -r -L src/iceweasel/iceweasel-2.0.0.11/dist/sdk/lib $(TOOLSDIR)/sdk/iceweasel-2.0.0.11
cp -r -L src/iceweasel/iceweasel-2.0.0.11/dist/sdk/include $(TOOLSDIR)/sdk/iceweasel-2.0.0.11
#cp -r toolsex/sdk/mozilla-1.7.13/include/extra $(TOOLSDIR)/sdk/iceweasel-2.0.0.11/include/
#cd $(TOOLSDIR)/sdk/ ; ln -s iceweasel-2.0.0.11 mozilla-1.7.12
$(TOOLSDIR)/sdk/webkit-0~svn27674/JavaScriptCore:
mkdir -p $(TOOLSDIR)/sdk/webkit-0~svn27674/JavaScriptCore
cp -r -L src/webkit/webkit-0~svn27674/JavaScriptCore/kjs $(TOOLSDIR)/sdk/webkit-0~svn27674/JavaScriptCore
cp -r -L src/webkit/webkit-0~svn27674/JavaScriptCore/wtf $(TOOLSDIR)/sdk/webkit-0~svn27674/JavaScriptCore
#cd $(TOOLSDIR)/sdk/ ; ln -s webkit-0~svn27674 WebKit-418.9
ant-contrib:
cd src/ant-contrib ; svn export https://ant-contrib.svn.sourceforge.net/svnroot/ant-contrib/ant-contrib/tags/1.0b3 1.0b3
ant-contrib.build:
cd src/ant-contrib/1.0b3 ; ant 2>&1 | tee ../build.log
ant-junit:
apt-get install ant-optional
checkstyle:
apt-get install checkstyle
substmoz:
perl -pi -e 's/mozilla-1.7.12/iceweasel-2.0.0.11/' 1.4.60/eclipse/jni/linux/.project
perl -pi -e 's/mozilla-1.7.12/iceweasel-2.0.0.11/' 1.4.60/eclipse/jni/linux/.cdtbuild
perl -pi -e 's/mozilla-1.7.12/iceweasel-2.0.0.11/' 1.4.60/distro-source/linux/src/mozilla-hosted-browser.conf
perl -pi -e 's:/usr/lib/mozilla:/usr/lib/iceweasel:' 1.4.60/distro-source/linux/src/mozilla-hosted-browser.conf
perl -pi -e 's/mozilla-1.7.12/iceweasel-2.0.0.11/' 1.4.60/jni/linux/Makefile
perl -pi -e 's:mozilla/mozilla-1.7.12.tar.gz:iceweasel/iceweasel_2.0.0.11.orig.tar.gz:' 1.4.60/distro-source/linux/build.xml
substjni:
-rm -f 1.4.60/jni/linux/prebuilt/libgwt-ll.so
perl -pi -e 's/aliasing -D_REENTRANT/aliasing -DMOZILLA_INTERNAL_API -D_REENTRANT/' 1.4.60/jni/linux/Makefile
perl -pi -e 's/nsIServiceManagerUtils.h/nsServiceManagerUtils.h/' 1.4.60/jni/linux/mozilla-headers.h
substwebkit:
perl -pi -e 's:webkit/WebKit-418.9.tar.gz:webkit/webkit_0~svn27674.orig.tar.gz:' 1.4.60/distro-source/mac/build.xml
perl -pi -e 's:webkit/WebKit-418.9.tar.gz:webkit/webkit_0~svn27674.orig.tar.gz:' 1.4.60/jni/mac/Makefile
perl -pi -e 's:sdk/WebKit-418.9:sdk/webkit-0~svn27674:' 1.4.60/jni/mac/Makefile
remnonlinux:
rm -rf 1.4.60/eclipse/dev/windows
rm -rf 1.4.60/distro-source/windows
rm -rf 1.4.60/jni/windows
rm -rf 1.4.60/dev/windows
rm -rf 1.4.60/eclipse/jni/mac
rm -rf 1.4.60/eclipse/dev/mac
rm -rf 1.4.60/distro-source/mac
rm -rf 1.4.60/jni/mac
rm -rf 1.4.60/dev/mac
perl -pi -e 's/linux, windows, mac/linux/' /work/data/gwt/1.4.60/platforms.ant.xml
eclipse:
-rm -f $(TOOLSDIR)/lib/eclipse/*swt* $(TOOLSDIR)/lib/eclipse/org*
cp /usr/lib/jni/libswt-* $(TOOLSDIR)/lib/eclipse/
cp /usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar $(TOOLSDIR)/lib/eclipse/
perl -pi -e 's/org.eclipse.swt.gtk-linux-3.2.1.jar/org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar/' 1.4.60/dev/linux/build.xml
perl -pi -e 's/org.eclipse.swt.gtk-linux-3.2.1.jar/org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar/' 1.4.60/dev/core/build.xml
perl -pi -e 's/org.eclipse.swt.gtk-linux-3.2.1.jar/org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar/' 1.4.60/eclipse/dev/linux/.classpath
perl -pi -e 's/3235/3236/g' 1.4.60/distro-source/linux/build.xml
perl -pi -e 's/XPCOM.NS_InitEmbedding\(localFile.getAddress\(\), 0\)/XPCOM.NS_InitXPCOM3\(0,localFile.getAddress\(\), 0, 0, 0\)/g' 1.4.60/dev/linux/src/org/eclipse/swt/browser/Browser.java
perl -pi -e 's/NS_InitEmbedding/NS_InitXPCOM3/g' 1.4.60/dev/linux/src/org/eclipse/swt/browser/Browser.java
mozilla:
cd src/mozilla ; wget ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.13/source/mozilla-1.7.13-source.tar.bz2
cd src/mozilla ; wget ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.12/source/mozilla-1.7.12-source.tar.bz2
jnibuild:
cd 1.4.60/jni/linux; make GWT_TOOLS=../../../tools JAVAH=/usr/bin/javah JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.04
jniclean:
cd 1.4.60/jni/linux; make GWT_TOOLS=../../../tools JAVAH=/usr/bin/javah JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.04 clean
cpheader:
-rm -rf tools/sdk/iceweasel-2.0.0.11/include/extra
mkdir -p tools/sdk/iceweasel-2.0.0.11/include/extra
#??#cp /usr/include/mozjs/jscpucfg.h tools/sdk/iceweasel-2.0.0.11/include/extra
cp /usr/include/mozjs/jsapi.h \
/usr/include/mozjs/jsautocfg.h \
/usr/include/mozjs/jscompat.h \
/usr/include/mozjs/jslong.h \
/usr/include/mozjs/jsosdep.h \
/usr/include/mozjs/jsotypes.h \
/usr/include/mozjs/jspubtd.h \
/usr/include/mozjs/jstypes.h \
/usr/include/xulrunner/string/nsAlgorithm.h \
/usr/include/xulrunner/xpcom/nsAutoPtr.h \
/usr/include/xulrunner/string/nsCharTraits.h \
/usr/include/xulrunner/nsComponentManagerUtils.h \
/usr/include/xulrunner/string/nsDependentString.h \
/usr/include/xulrunner/string/nsDependentSubstring.h \
/usr/include/xulrunner/widget/nsEvent.h \
/usr/include/xulrunner/xpcom/nsIComponentManagerObsolete.h \
/usr/include/xulrunner/pref/nsIPref.h \
/usr/include/xulrunner/dom/nsIScriptGlobalObject.h \
/usr/include/xulrunner/dom/nsIScriptNameSpaceManager.h \
/usr/include/xulrunner/xpcom/nsIServiceManagerObsolete.h \
/usr/include/xulrunner/string/nsLiteralString.h \
/usr/include/xulrunner/string/nsObsoleteAString.h \
/usr/include/xulrunner/string/nsPromiseFlatString.h \
/usr/include/xulrunner/string/nsStringIterator.h \
/usr/include/xulrunner/string/nsSubstring.h \
/usr/include/xulrunner/string/nsSubstringTuple.h \
/usr/include/xulrunner/string/nsTPromiseFlatString.h \
/usr/include/xulrunner/nsXPCOMCID.h \
/usr/include/xulrunner/string/string-template-def-char.h \
/usr/include/xulrunner/string/string-template-def-unichar.h \
/usr/include/xulrunner/string/string-template-undef.h \
/usr/include/xulrunner/mozilla-config.h \
/usr/include/xulrunner/nsICategoryManager.h \
/usr/include/xulrunner/nsIFactory.h \
/usr/include/xulrunner/xpcom-config.h \
/usr/include/xulrunner/nsCOMPtr.h \
/usr/include/xulrunner/nsISupportsUtils.h \
/usr/include/xulrunner/nsISupportsBase.h \
/usr/include/xulrunner/nsError.h \
/usr/include/xulrunner/nsDebug.h \
/usr/include/xulrunner/nsISupportsImpl.h \
/usr/include/xulrunner/nscore.h \
/usr/include/nspr/prtypes.h \
/usr/include/nspr/prcpucfg.h \
/usr/include/nspr/prthread.h \
/usr/include/nspr/prinrval.h \
/usr/include/xulrunner/nsID.h \
/usr/include/xulrunner/nsISimpleEnumerator.h \
/usr/include/xulrunner/nsIMemory.h \
/usr/include/xulrunner/nsMemory.h \
/usr/include/xulrunner/nsXPCOM.h \
/usr/include/xulrunner/nsIDOMBarProp.h \
/usr/include/xulrunner/domstubs.h \
/usr/include/xulrunner/nsWeakReference.h \
/usr/include/xulrunner/nsIWeakReference.h \
/usr/include/xulrunner/nsIWeakReferenceUtils.h \
/usr/include/xulrunner/nsIClassInfo.h \
/usr/include/xulrunner/xpcom/nsIArray.h \
/usr/include/xulrunner/xpcom/nsIException.h \
/usr/include/xulrunner/xpconnect/xpcexception.h \
/usr/include/xulrunner/nsServiceManagerUtils.h \
/usr/include/xulrunner/nsIServiceManager.h \
/usr/include/xulrunner/nsISupports.h \
/usr/include/xulrunner/nsTraceRefcnt.h \
/usr/include/xulrunner/dom/nsIScriptContext.h \
/usr/include/xulrunner/dom/nsIScriptObjectOwner.h \
/usr/include/xulrunner/nsIDOMWindow.h \
/usr/include/xulrunner/xpconnect/nsIXPConnect.h \
/usr/include/xulrunner/string/nsReadableUtils.h \
/usr/include/xulrunner/string/nsTString.h \
/usr/include/xulrunner/string/nsString.h \
/usr/include/xulrunner/xpcom/nsIVariant.h \
/usr/include/xulrunner/string/nsAString.h \
/usr/include/xulrunner/string/nsTSubstring.h \
/usr/include/xulrunner/string/nsTSubstringTuple.h \
/usr/include/xulrunner/string/nsTDependentString.h \
/usr/include/xulrunner/string/nsTDependentSubstring.h \
/usr/include/xulrunner/string/nsTAString.h \
/usr/include/xulrunner/string/nsStringFwd.h \
/usr/include/xulrunner/string/nsTObsoleteAString.h \
\
/usr/include/xulrunner/nsEmbedAPI.h \
/usr/include/xulrunner/embedcomponents/nsIAppStartupNotifier.h \
\
\
tools/sdk/iceweasel-2.0.0.11/include/extra
#
-mkdir -p tools/sdk/iceweasel-2.0.0.11/lib
cp src/iceweasel/iceweasel-2.0.0.11/dist/lib/libxpcomglue_s.a \
src/iceweasel/iceweasel-2.0.0.11/dist/lib/libembed_base_s.a \
tools/sdk/iceweasel-2.0.0.11/lib/
#
#/usr/include/xulrunner/profdirserviceprovider/nsProfileDirServiceProvider.h \
#/usr/include/nspr/prio.h \
#/usr/include/xulrunner/plugin/nsIClassicPluginFactory.h \
#/usr/include/nspr/prlink.h \
#/usr/include/nspr/prtime.h \
#
#/usr/share/virtualbox/sdk/include/xpcom/xpcom/nsComponentManagerObsolete.h \
#/usr/include/xulrunner/nsIComponentManager.h \
#src/mozilla/mozilla-1.7.12-source/xpcom/components/nsIComponentManagerUtils.h \
#
#/usr/share/virtualbox/sdk/include/xpcom/xpcom/nsIServiceManagerUtils.h \
#/usr/include/xulrunner/nsStringAPI.h \
#
Reply to: