Commit Graph

48 Commits

Author SHA1 Message Date
lat9nq
627de07f96 linux-fresh: Install Boost manually
Manually install Boost using a pre-built package. Works around an issue
with the zlib Conan package failing to build with Clang.
2021-03-25 20:32:39 -04:00
bunnei
1a3c9dae54
Merge pull request #28 from lat9nq/fresh-wayland
fresh: Add package qt(512)wayland
2021-03-18 11:52:26 -07:00
lat9nq
670d16de7c fresh: Add package qt(512)wayland
Adds the qt[version]wayland package to linux-fresh. Required to run the
AppImage on Wayland.
2021-02-23 01:18:45 -05:00
bunnei
91c8fcfc1e
Merge pull request #27 from lat9nq/linux-clang
linux-fresh: Add Clang 12 from llvm.org
2021-02-21 23:14:22 -07:00
lat9nq
1c37df5677 linux-fresh: Set DEBIAN_FRONTEND as environment variable
Prevents repeating the same code text over and over each time apt-get is
used. This is a required variable to use apt-get in a non-interactive
container, so it should be set globally, anyways.
2021-02-18 01:22:58 -05:00
lat9nq
63478434b8 linux-fresh: Add Clang 12 from llvm.org
Adds the Clang compiler from apt.llvm.org to linux-fresh. The intention
is to run two instances of linux-fresh when checking CI on yuzu, one
compiles with GCC and the other with Clang.

This includes a workaround in Conan where the default configuration file
is not set up to permit using Clang 12. settings.yml is there to allow
using Clang 12.
2021-02-18 01:16:18 -05:00
bunnei
1f77c51c5a
Merge pull request #26 from lat9nq/mingw-remove-ffmpeg
linux-fresh: Add package nasm
2021-02-05 21:47:54 -08:00
lat9nq
c47cdf2ee8 linux-fresh: Add package nasm
Adds nasm to linux-fresh so that FFmpeg can be compiled.
2021-02-05 22:34:25 -05:00
bunnei
9d80622f2d
Merge pull request #25 from lat9nq/fresh-zsync
linux-fresh: Add package 'zsync'
2021-01-12 22:15:40 -08:00
lat9nq
6f0ed60b4d linux-fresh: Add package 'zsync'
Soft-requirement to embed update information into AppImages. Requirement
to create the actual update files.
2021-01-06 12:40:09 -05:00
bunnei
912e66c4ea
Merge pull request #24 from lat9nq/downgrade-fresh
linux-fresh: Downgrade to Bionic Beaver
2020-12-29 16:47:19 -08:00
lat9nq
8d8fddaf4e linux-fresh: Downgrade to Bionic Beaver
This is in preparation to have a legal AppImage when Ubuntu 16.04 is
deprecated in April 2021. As stated in [AppImage's
documentation](https://docs.appimage.org/packaging-guide/distribution.html#appimagehub),
to distribute yuzu on AppImageHub, an AppImage needs to compatible with
the oldest still supported release of Ubuntu, which will be 18.04 in
April.

Beyond making AppImages, this brings a number of other changes:
- The needed CMake, GCC, and Qt versions are now variables at the top of
  the Dockerfile.
- The dependencies list is sorted lexicographically.
- Added package `file`, required for the Qt linuxdeploy plugin, thus
  superseding #23.
- Added package `software-properties-common`, required to use
  `add-apt-repository`.
- Added package `python3-setuptools`, a dependency of `python3-pip` that
  somehow isn't installed with it by default.
- Removed package `python` as yuzu no longer uses Unicorn, thus Python 2
  was no longer required.
- Moved installing GCC, Qt, FFmpeg, and SDL2 from the main Ubuntu
  repositories to updated launchpad repositories.
- Removed packages `cmake` and `glslang-tools`, instead opting to
  download and install them from their upstream repositories.
  - In the case of `glslang-tools`, Ubuntu does not have any equivalent
    package for Bionic.

This does not upgrade any package versions. This only brings Ubuntu
18.04 roughly to parity with the current 20.04 container. Once an
AppImage is in action, we can upgrade the GCC and Qt versions to our
heart's content (up to GCC 11 and Qt 5.15.2). Until then, it should be
said **Mainline builds are not compatible with Ubuntu versions below
20.04 despite using 18.04 to build yuzu**. We need an AppImage to make
yuzu compatible with older distro releases, and we need an AppImage to
make yuzu compatible with current releases if we upgrade Qt and/or GCC.

Another note is that the Qt version here is being downgraded from 5.12.8
to 5.12.6. The Qt launchpad PPA used here did not release usable
`qt512webengine` packages for 5.12.8 nor 5.12.7, and since upgrading to
5.12.10 would break compatibility with wild Ubuntu 20.04 installs, a
downgrade is necessary. Hopefully this is a temporary change during our
transition to 5.15.2.

Massive thank you to @AniLeo from RPCS3 for telling me about updated GCC
and Qt launchpad PPAs.
2020-12-29 18:54:48 -05:00
bunnei
b2661419ef
Merge pull request #22 from lat9nq/conan-boost
linux-fresh: Install Boost through Conan
2020-12-08 15:06:33 -08:00
lat9nq
cbbee60824 linux-fresh: Install Boost through Conan
Ubuntu 20.04's version of Boost (1.71.0) is older than yuzu's minimum requirement
(1.73.0). Thus the container was downloading Boost through conan each
time it builds yuzu.

Instead, install Boost through Conan ahead of time, as opposed to
installed effectively garbage.
2020-12-08 17:48:32 -05:00
bunnei
c5385aef7e
Merge pull request #20 from lat9nq/glslv-update
linux: Add glslang and glslang-utils to mingw and fresh containers
2020-11-19 17:07:30 -08:00
lat9nq
0a9e0ecccc linux: Add glslang and glslang-utils to mingw and fresh containers
...respectively. Required for TCR.
2020-11-19 19:57:56 -05:00
bunnei
b6af5cee89
Merge pull request #19 from lat9nq/fresh-gcc-10
linux-fresh: Update to GCC 10.2
2020-11-17 22:24:37 -08:00
lat9nq
9854161ae7 linux-fresh: Remove unneeded rapidjson dependency.
Raptor client leftover that is no longer needed.
2020-11-18 01:20:28 -05:00
lat9nq
6a14e3f5d0 linux-fresh: Update to GCC 10.2
While we're at it, also update conan packages.
Required for texture cache updates.
2020-11-18 01:18:38 -05:00
bunnei
7b9db402ef
Merge pull request #18 from lat9nq/nvdec-updates
Update MinGW and fresh containers with FFmpeg libraries
2020-10-18 18:36:58 -07:00
lat9nq
4439b95fb1 linux-fresh: add avcodec, avutil, and swscale library headers 2020-09-27 15:24:40 -04:00
lat9nq
34efbab012 linux-mingw: upgrade conan packages, conan GCC version
Also use ownstuff ffmpeg, instead of the dead link from mingw-setup.sh
mingw-setup.sh was thus removed as it only did one thing that could be
reduced to a single command in the Dockerfile.
2020-09-26 16:55:32 -04:00
bunnei
7dba201b19
Merge pull request #16 from lioncash/clang
clang-format: Correct package name
2020-08-11 23:06:25 -04:00
Lioncash
0df903547c clang-format: Correct package name
The actual package itself has dropped the use of the decimal in the
version number.
2020-08-08 20:19:03 -04:00
bunnei
3c00bb480c
Merge pull request #15 from lioncash/clang
linux-clang-format: Make use of clang-format 10
2020-08-07 09:11:46 -04:00
Lioncash
4722d4e8ab linux-clang-format: Make use of clang-format 10
This plays nicer with C++ attributes and is also more up to date.
2020-08-02 20:54:15 -04:00
Morph
6e5efdd94a
Add qttools5-dev and qttools5-dev-tools for translation support (#13)
* Add qttools5-dev and qttools5-dev-tools for translation support

* Remove qttools5-dev-tools as it's already a dependency of qttools5-dev
2020-07-19 13:26:50 +02:00
bunnei
58e23749f3
Merge pull request #10 from jroweboy/yuzu-user
Update the docker images to run as yuzu user (UID 1027)
2020-05-07 23:21:58 -04:00
James Rowe
2f78410b2b Update the docker images to run as yuzu user (UID 1027) 2020-05-07 21:12:25 -06:00
bunnei
a222fcd7a7
Merge pull request #9 from jroweboy/conan
Add new system libraries and install some additional libraries through conan
2020-05-07 17:23:01 -04:00
James Rowe
b0e1a8e193 Add linux-mingw update for conan cross compiling as well 2020-05-06 02:27:23 -06:00
James Rowe
58cb2114b5 Use the libstdc++11 libcxx for conan and include libzip in the base image 2020-05-06 00:28:32 -06:00
James Rowe
4fe0ebbd8f Add new system libraries and install some additional libraries through conan 2020-05-06 00:11:36 -06:00
Zach Hilman
5ec9c4a00f
Merge pull request #8 from jroweboy/master
Update build envs to ubuntu 20.04. Change mingw build env to arch
2020-05-01 20:57:29 -04:00
James Rowe
48dc64253f Combine RUN statements into one and remove shell expansion 2020-04-30 22:39:10 -06:00
Zach Hilman
27681f5297
Merge pull request #7 from meiro/master
Add Dockerfile for linux-flatpak
2020-04-27 14:27:01 -04:00
Roman Meier
9daa154e90 linux-flatpak: Merge apt-get RUN statements 2020-04-27 18:10:14 +02:00
James Rowe
affcece6a6 Remove any leftover apt caches 2020-04-24 21:52:57 -06:00
James Rowe
4bf0830796 Update build envs to ubunto 20.04. Change mingw build env to arch 2020-04-24 18:12:02 -06:00
Tobias
ade2a84dba
Merge pull request #6 from yuzu-emu/revert-5-port-22
Revert "Set mingw SDL2 version to 2.0.10"
2020-04-05 21:00:03 +02:00
Tobias
0245a70ce1
Revert "Set mingw SDL2 version to 2.0.10" 2020-04-05 20:59:02 +02:00
bunnei
f88d000be6
Merge pull request #5 from yuzu-emu/port-22
Set mingw SDL2 version to 2.0.10
2020-04-04 13:55:54 -04:00
Tobias
e8c15b0fa8
mingw-setup: Set mingw SDL2 version to 2.0.10 2020-04-04 19:39:32 +02:00
Tobias
9d6d9c6147
Set mingw SDL2 version to 2.0.10 2020-04-04 19:38:58 +02:00
Roman Meier
09245ff74e Add Dockerfile for linux-flatpak 2020-03-25 11:34:17 +01:00
Tobias
0b26836970 README: Correct Dockerhub link (#2)
* README: Correct Dockerhub link

* Super important
2019-04-15 18:37:32 -04:00
chris062689
8a43699577 Initial addition of build-environment files. 2019-03-22 20:27:11 -04:00
Flame Sage
51e5a2389f
Initial commit 2018-12-29 22:21:19 +00:00