about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-16 12:33:58 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-17 15:46:55 +0200
commita1d37dda1856eeff060ede7653fb6dae1affd605 (patch)
treefe434eff4fc6d253ea41e6ba7dac8dec4c191afe
parent05db5226dd1abe143866fb3c9e674b241d11d836 (diff)
downloadprofani-tty-a1d37dda1856eeff060ede7653fb6dae1affd605.tar.gz
Add Fedora travis CI
Regards https://github.com/profanity-im/profanity/issues/1314#issuecomment-614242435
-rw-r--r--.travis.yml2
-rw-r--r--Dockerfile.fedora66
-rw-r--r--README.md6
3 files changed, 70 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index a40b7432..71f450d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,8 @@ matrix:
       env: BUILD_FLAVOR=debian
     - os: linux
       env: BUILD_FLAVOR=arch
+    - os: linux
+      env: BUILD_FLAVOR=fedora
     - os: osx
       env:
         # Ensure that "keg-only" Homebrew versions are used.
diff --git a/Dockerfile.fedora b/Dockerfile.fedora
new file mode 100644
index 00000000..0307cd53
--- /dev/null
+++ b/Dockerfile.fedora
@@ -0,0 +1,66 @@
+# Build the latest Fedora image
+FROM fedora:latest
+
+# expect - for functional tests
+# libmicrohttpd - for stabber
+# glibc-locale - to have en_US locale
+RUN dnf install -y \
+  autoconf \
+  autoconf-archive \
+  automake \
+  expect-devel \
+  gcc \
+  git \
+  glib2-devel \
+  glibc-all-langpacks \
+  gtk2-devel \
+  libXScrnSaver-devel \
+  libcmocka-devel \
+  libcurl-devel \
+  expat-devel \
+  libgcrypt-devel \
+  gpgme-devel \
+  libmicrohttpd-devel \
+  libnotify-devel \
+  libotr-devel \
+  libsignal-protocol-c-devel \
+  libtool \
+  libuuid-devel \
+  make \
+  ncurses-devel \
+  python \
+  python-devel \
+  python3 \
+  python3-devel \
+  readline-devel \
+  openssl-devel \
+  sqlite-devel
+
+# https://github.com/openSUSE/docker-containers-build/issues/26
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+
+RUN mkdir -p /usr/src
+WORKDIR /usr/src
+
+RUN mkdir -p /usr/src/stabber
+RUN git clone git://github.com/boothj5/stabber.git
+WORKDIR /usr/src/stabber
+RUN ./bootstrap.sh
+RUN ./configure --prefix=/usr --disable-dependency-tracking
+RUN make
+RUN make install
+
+WORKDIR /usr/src
+RUN mkdir -p /usr/src/libmesode
+RUN git clone git://github.com/profanity-im/libmesode.git
+WORKDIR /usr/src/libmesode
+RUN ./bootstrap.sh
+RUN ./configure --prefix=/usr
+RUN make
+RUN make install
+
+RUN mkdir -p /usr/src/profanity
+WORKDIR /usr/src/profanity
+COPY . /usr/src/profanity
diff --git a/README.md b/README.md
index e9ff51fc..fe94a59c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-Profanity
-=========
+# Profanity
 [![Build Status](https://api.travis-ci.org/profanity-im/profanity.png?branch=master)](https://travis-ci.org/profanity-im/profanity) [![builds.sr.ht status](https://builds.sr.ht/~wstrm/profanity.svg)](https://builds.sr.ht/~wstrm/profanity?) [![Chat](https://inverse.chat/badge.svg?room=profanity@rooms.dismail.de)](https://conversations.im/j/profanity@rooms.dismail.de)
 
 Profanity is a console based XMPP client inspired by [Irssi](http://www.irssi.org/).
@@ -10,8 +9,7 @@ If you like Profanity consider becoming a sponsor or [donate](https://profanity-
 
 See the [User Guide](https://profanity-im.github.io/userguide.html) for information on installing and using Profanity.
 
-Links
------
+## Links
 
 Homepage: https://profanity-im.github.io/ - https://github.com/profanity-im/profanity-im.github.io