Title: [173170] trunk/Tools
Revision
173170
Author
[email protected]
Date
2014-09-02 03:59:16 -0700 (Tue, 02 Sep 2014)

Log Message

[Gtk] Make install-dependencies work on Arch Linux
https://bugs.webkit.org/show_bug.cgi?id=136374

Patch by Brendan Long <[email protected]> on 2014-09-02
Reviewed by Philippe Normand.

* gtk/install-dependencies: Add dependencies for pacman (Arch Linux).

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (173169 => 173170)


--- trunk/Tools/ChangeLog	2014-09-02 08:36:14 UTC (rev 173169)
+++ trunk/Tools/ChangeLog	2014-09-02 10:59:16 UTC (rev 173170)
@@ -1,3 +1,12 @@
+2014-09-02  Brendan Long  <[email protected]>
+
+        [Gtk] Make install-dependencies work on Arch Linux
+        https://bugs.webkit.org/show_bug.cgi?id=136374
+
+        Reviewed by Philippe Normand.
+
+        * gtk/install-dependencies: Add dependencies for pacman (Arch Linux).
+
 2014-09-01  Brian J. Burg  <[email protected]>
 
         Provide column numbers to DTrace willExecute/didExecute probes

Modified: trunk/Tools/gtk/install-dependencies (173169 => 173170)


--- trunk/Tools/gtk/install-dependencies	2014-09-02 08:36:14 UTC (rev 173169)
+++ trunk/Tools/gtk/install-dependencies	2014-09-02 10:59:16 UTC (rev 173170)
@@ -29,6 +29,14 @@
         exit 0
     fi
 
+    # pacman - Arch Linux
+    # pacman --version and pacman --help both return non-0
+    pacman -Ss &> /dev/null
+    if [ $? -eq 0 ]; then
+        installDependenciesWithPacman
+        exit 0
+    fi
+
     printNotSupportedMessageAndExit
 }
 
@@ -140,6 +148,130 @@
     apt-get install ninja-build || true
 }
 
+function installDependenciesWithPacman {
+    # These are dependencies necessary for building WebKitGTK+.
+    packages=" \
+        autoconf \
+        automake \
+        bison \
+        cmake \
+        file \
+        findutils \
+        flex \
+        gawk \
+        gcc \
+        gettext \
+        gnome-common \
+        gperf \
+        grep \
+        groff \
+        gzip \
+        libtool \
+        m4 \
+        make \
+        patch \
+        pkg-config \
+        sed \
+        texinfo \
+        util-linux \
+        which \
+        gtk-doc \
+        intltool \
+        itstool \
+        atk \
+        enchant \
+        faad2 \
+        geoclue \
+        gobject-introspection \
+        mesa \
+        mesa-libgl \
+        gnutls \
+        gtk2 \
+        gtk3 \
+        libsystemd \
+        harfbuzz \
+        harfbuzz-icu \
+        icu \
+        libjpeg-turbo \
+        mpg123 \
+        opus \
+        pango \
+        libpng \
+        libpulse \
+        librsvg \
+        libsecret \
+        libsoup \
+        sqlite \
+        libtheora \
+        libtool \
+        libvorbis \
+        libwebp \
+        libxcomposite \
+        libxslt \
+        libxt \
+        libxtst \
+        ninja \
+        ruby \
+        xorg-font-utils"
+
+    # These are dependencies necessary for running tests.
+    # Note: apache-mod_bw is available in the AUR, but the main repos
+    #       could not find ruby-json
+    packages="$packages \
+        apache \
+        curl \
+        php-apache \
+        libgpg-error \
+        pulseaudio \
+        python-gobject \
+        ruby \
+        ruby-highline \
+        xorg-server-xvfb"
+
+    # These are dependencies necessary for building the jhbuild.
+    # Note: Could not find libegl-mesa
+    packages="$packages \
+        git \
+        gobject-introspection \
+        icon-naming-utils \
+        libcroco \
+        libgcrypt \
+        libgpg-error \
+        p11-kit \
+        libpciaccess \
+        libtiff \
+        libxfixes \
+        libxfont \
+        libxkbfile \
+        llvm \
+        python2 \
+        python2-lxml \
+        ragel \
+        bigreqsproto \
+        compositeproto \
+        glproto \
+        inputproto \
+        randrproto \
+        resourceproto \
+        scrnsaverproto \
+        videoproto \
+        xcmiscproto \
+        xf86driproto \
+        xorg-font-utils \
+        xorg-util-macros \
+        xtrans \
+        xorg-utils"
+
+    # These are dependencies necessary for using webkit-patch
+    packages="$packages \
+        svn"
+    pacman -S --needed $packages
+
+    echo "You will also need to follow the instructions on the Arch Wiki to make"
+    echo "'python' call python2 in the webkit folder"
+    echo "https://wiki.archlinux.org/index.php?python#Dealing_with_version_problem_in_build_scripts"
+}
+
 function installDependenciesWithYum {
     # These are dependencies necessary for building WebKitGTK+.
     yum install \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to