Changes between Version 398 and Version 399 of BuildInstructions


Ignore:
Timestamp:
Feb 20, 2021, 11:21:55 PM (3 years ago)
Author:
thedwarf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v398 v399  
    272272Get the updated build scripts from: http://ponce.cc/slackware/testing/0ad/ http://ponce.cc/slackware/testing/0ad-data/
    273273
    274 Make the following modifications to both 0ad.[wiki:SlackBuild] and 0ad-data.[wiki:SlackBuild] build scripts: tar xvf $CWD/$PRGNAM-$VERSION-$RELEASE-unix-build.tar.xz cd $PRGNAM-$VERSION-$RELEASE chown -R root:root .
    275 
    276 tar xvf $CWD/$PRGNAM-$VERSION-$RELEASE-unix-build.tar.xz # cd $PRGNAM-$VERSION-$RELEASE chown -R root:root .
     274Make the following modifications to both 0ad.!SlackBuild and 0ad-data.!SlackBuild build scripts: tar xvf $CWD/$PRGNAM-$VERSION-$RELEASE-unix-build.tar.xz cd $PRGNAM-$VERSION-$RELEASE chown -R !root:root .
     275
     276tar xvf $CWD/$PRGNAM-$VERSION-$RELEASE-unix-build.tar.xz # cd $PRGNAM-$VERSION-$RELEASE chown -R !root:root .
    277277
    278278==== CentOS ====
     
    281281**Note:** The advice below is derived from installing in a Virtual Machine with //CentOS 7// 64-bit minimally installed. If you have //CentOS 6// (or earlier), the following steps may not be possible. Installation on a physical machine, a machine with more stuff already installed upon it, or a machine that is 32-bit, may differ slightly.
    282282
    283  1. Firstly, you will need to enable the "Extra Packages for Enterprise Linux" (or "EPEL") repository (if you haven't already). You can do this by running (as root/via sudo) {{{ #!sh yum install epel-release }}}
    284 
    285  2. Install some auxiliary packages. These are not dependencies of 0 A.D. itself, but are necessary to run update_workspaces.sh successfully. They might already be installed on your system: {{{ #!sh yum install bzip2 patch }}}
    286 
    287  3. Install the 0 A.D. dependencies that are available directly from repos: {{{ #!sh yum install cmake gcc-c++ enet-devel libglvnd-devel gloox-devel libicu-devel \ libogg-devel libpng-devel libsodium-devel libvorbis-devel libxml2-devel \ miniupnpc-devel openal-soft-devel subversion wxGTK3-devel zlib-devel SDL2-devel }}}
     283 1. Firstly, you will need to enable the "Extra Packages for Enterprise Linux" (or "EPEL") repository (if you haven't already). You can do this by running (as root/via sudo) ` #!sh yum install epel-release `
     284
     285 2. Install some auxiliary packages. These are not dependencies of 0 A.D. itself, but are necessary to run update_workspaces.sh successfully. They might already be installed on your system: ` #!sh yum install bzip2 patch `
     286
     287 3. Install the 0 A.D. dependencies that are available directly from repos: ` #!sh yum install cmake gcc-c++ enet-devel libglvnd-devel gloox-devel libicu-devel \ libogg-devel libpng-devel libsodium-devel libvorbis-devel libxml2-devel \ miniupnpc-devel openal-soft-devel subversion wxGTK3-devel zlib-devel SDL2-devel `
    288288
    289289 4. Acquire a sufficiently recent version of //libcurl//:
     
    295295     * `libcurl-{version}.cf.rhel7.{arch}.rpm`
    296296     * `libcurl-devel-{version}.cf.rhel7.{arch}.rpm`
    297    * Install some dependencies from repos: {{{ #!sh yum install nss-devel libnghttp2 libpsl libmetalink }}}
    298    * Install dependencies from downloaded packages. [[BR]][[BR]] **Note:** This will replace the version of //libssh2// that is provided by the //CentOS// official repos. This is necessary as the version of //libcurl// we're installing needs a more up-to-date version than what the official repos can provide. As the packages we've acquired are compiled as to be interoperable with //CentOS// systems, this shouldn't cause any problems with other programs installed on your system. [[BR]][[BR]] Install the `libssh2-*` and `libssh2-devel-*` packages using `rpm -Uvh`. For example: {{{ #!sh rpm -Uvh libssh2-1.8.0-8.0.cf.rhel7.x86_64.rpm libssh2-devel-1.8.0-8.0.cf.rhel7.x86_64.rpm }}}
    299    * Install the updated //curl// packages (`curl-*`, `libcurl-*` and `libcurl-devel-*`) using `rpm -Uvh`. For example: {{{ #!sh rpm -Uvh curl-7.61.1-3.0.cf.rhel7.x86_64.rpm libcurl-7.61.1-3.0.cf.rhel7.x86_64.rpm libcurl-devel-7.61.1-3.0.cf.rhel7.x86_64.rpm }}}
     297   * Install some dependencies from repos: ` #!sh yum install nss-devel libnghttp2 libpsl libmetalink `
     298   * Install dependencies from downloaded packages. [[BR]][[BR]] **Note:** This will replace the version of //libssh2// that is provided by the //CentOS// official repos. This is necessary as the version of //libcurl// we're installing needs a more up-to-date version than what the official repos can provide. As the packages we've acquired are compiled as to be interoperable with //CentOS// systems, this shouldn't cause any problems with other programs installed on your system. [[BR]][[BR]] Install the `libssh2-*` and `libssh2-devel-*` packages using `rpm -Uvh`. For example: ` #!sh rpm -Uvh libssh2-1.8.0-8.0.cf.rhel7.x86_64.rpm libssh2-devel-1.8.0-8.0.cf.rhel7.x86_64.rpm `
     299   * Install the updated //curl// packages (`curl-*`, `libcurl-*` and `libcurl-devel-*`) using `rpm -Uvh`. For example: ` #!sh rpm -Uvh curl-7.61.1-3.0.cf.rhel7.x86_64.rpm libcurl-7.61.1-3.0.cf.rhel7.x86_64.rpm libcurl-devel-7.61.1-3.0.cf.rhel7.x86_64.rpm `
    300300
    301301 5. Acquire a sufficiently recent version of //boost//:
     
    380380If you want to create packages for a Linux distribution see the current [https://salsa.debian.org/games-team/0ad/tree/master/debian 0ad] and [https://salsa.debian.org/games-team/0ad-data/tree/master/debian 0ad-data] packages on [https://salsa.debian.org/public Salsa] for examples (especially the `control` and `rules` files).
    381381
    382 {{{#!comment Keep anchor for convenient fragment links to the former "OS X" heading. }}} [=#OS_X]
     382`#!comment Keep anchor for convenient fragment links to the former "OS X" heading. ` [=#OS_X]
    383383
    384384== macOS ==