Jump to content

fabio

WFG Programming Team
  • Posts

    1.055
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by fabio

  1. I noticed that the 0ad-unix-build.tar contains some .bat/.dll/.exe/.lib/.vcproj files and win-specific directories that could be removed reducing tar size from 37 to 25 MB, adding to the source/tools/dist/build.sh script some --exclude options:

    tar cf $PREFIX-unix-build-temp.tar --exclude='*.bat' --exclude='*.dll' --exclude='*.exe' --exclude='*.lib' --exclude='*.vcproj' --exlude='win' --exclude='win32' --exclude='include-win32' ${PREFIX}/{source,build,libraries/{cxxtest,fcollada,spidermonkey-tip,valgrind},binaries/system/readme.txt,*.txt}

    Also why the need for 2 tar files, are they supposed to be eventually released with autonomous update? This make running the "./test" difficult, see comment 3 at:

    https://bugs.launchpad.net/getdeb.net/+bug/556356

  2. No.

    SpiderMonkey isn't designed around regular stable releases - the versions that have been released are very old, the version that some people are planning to release soon is also very old, and the developers aren't interested in changing that (since they're mainly focused on Firefox; the recommended process for embedding SpiderMonkey is to just pick a recent snapshot and bundle it with your own code, like we do).

    The behaviour between versions often changes in incompatible ways, so using a different version to what's in SVN is quite likely to introduce test failures and subtle bugs and network out-of-sync errors. The particular version we're using also has a patch to avoid some thread-safety issues - using a different version means the game will randomly crash or corrupt memory in rare situations, which is not good. So you shouldn't do that (y)

    Why do you want it to use the system library?

    Packages provided by linux distributions usually prefer to depends on a shared library from another package rather than providing the same library in different packages (e.g. when there is a security problem the distribution only need to update 1 package; also save space on drive).

    Debian provides spidermonkey inside xulrunner packages that are already used by other packages. This is what I get on an Ubuntu 10.04:

    $ apt-cache rdepends xulrunner-1.9.1
    xulrunner-1.9.1
    Reverse Depends:
    zekr
    xulrunner-1.9.1-testsuite
    xulrunner-1.9.1-gnome-support
    xul-ext-flashgot
    |xul-ext-flashgot
    xul-ext-firecookie
    |xul-ext-firecookie
    xul-ext-firebug
    |xul-ext-firebug
    videolink
    python-hulahop
    |mozzemberek
    mozilla-nukeimage
    miro
    libgtk2-mozembed-perl
    libgtk-mozembed-ruby1.8
    libgjs0
    libgjs0
    kazehakase-gecko
    galeon
    xulrunner-1.9.1-dev
    xulrunner-1.9.1-dbg
    $ apt-cache rdepends xulrunner-1.9.2
    xulrunner-1.9.2
    Reverse Depends:
    xulrunner-1.9.2-testsuite
    xulrunner-1.9.2-gnome-support
    xiphos
    tuxguitar
    prism
    mozzemberek
    moonlight-plugin-mozilla
    google-gadgets-xul
    gnome-web-photo
    fennec
    eclipse-rcp
    conkeror
    chmsee
    yelp
    xulrunner-1.9.2-dev
    python-gtkmozembed
    libswt-mozilla-gtk-3.5-jni
    couchdb-bin

    IIRC some time ago 0ad was able to link to the system spidermonkey.

×
×
  • Create New...