Commit graph

82 commits

Author SHA1 Message Date
Morph 0e83b14471 linux-fresh/mingw: Update Conan settings.yml
Fixes compilation when checking for "baremetal" OS
2022-01-24 20:30:08 -05:00
Schplee e02819b715
Merge pull request #47 from liushuyu/master
linux-fresh: install glslang and hidapi from PPA
2021-12-23 10:40:25 -08:00
liushuyu 20c0d3f040
linux-fresh: install glslang and hidapi from PPA 2021-12-23 04:08:24 -07:00
Schplee 9a41f60407
Merge pull request #46 from liushuyu/master
Several Maintenance Updates
2021-12-23 01:00:50 -08:00
liushuyu 264af2410a
linux-fresh: use newer git 2021-12-23 00:54:09 -07:00
liushuyu 7e6b2ed26b
CI: auto-refresh the images every 7 days ...
... a manual trigger is added as well, just in case
2021-12-23 00:09:58 -07:00
liushuyu 01d6fed126
linux-mingw/errno.h: remove the stale file 2021-12-23 00:07:48 -07:00
liushuyu 3262fbd485
linux-flatpak: drop ...
... in flavor of FlatHub official build
2021-12-23 00:07:04 -07:00
liushuyu ccadba44f5 linux-fresh: update base image to use Qt 5.15 ...
... other images replaced MAINTAINER with LABEL
2021-12-23 00:03:08 -07:00
liushuyu b4ae436ed4
linux-transifex: add missing dependencies (#45) 2021-10-15 01:48:58 +02:00
Tobias 2581cc7ea5
linux-transifex: Remove user and maintainer directives (#44) 2021-10-15 00:32:25 +02:00
Tobias c186616054
linux-transifex: Use debian base image, add git dependency (#43) 2021-10-14 22:19:19 +02:00
bunnei e610cb1cec
Merge pull request #41 from lat9nq/fresh-clean
fresh,mingw: Refresh and update to Qt 5.15.2
2021-10-01 09:53:39 -07:00
lat9nq 1fbb7a6a68 mingw: Use a variable to target ext libraries
Also modifies a comment. This is all to make it more readable, and also
force Docker to give the container new commit tags and rebuild it, since
the root certificates have expired.
2021-09-30 20:01:22 -04:00
lat9nq bd491190e7 fresh: Update to Qt 5.15.2
This also installs everything in one command so as to make pulling the
image download less data.

Primarily this was started to refresh the container, since the root
certificates for connecting to the internet (for things such as Conan)
have expired.
2021-09-30 19:40:04 -04:00
bunnei 402baf3e42
Merge pull request #40 from ameerj/clang-format-12
linux-clang-format: Update to clang-format-12
2021-09-24 13:01:31 -07:00
ameerj 9ee3f95fa9 linux-clang-format: Update to clang-format-12 2021-09-24 15:49:22 -04:00
Schplee b8bd395873
Merge pull request #39 from lat9nq/mingw-ext-packages
mingw: Use ext-linux-bin for select packages
2021-09-23 17:42:44 -07:00
lat9nq 4210e1e613 mingw: Use ext-linux-bin for select packages
Defers to our own repo for MinGW libraries. Required to build yuzu in a
manner that does not crash.
2021-09-23 20:11:23 -04:00
Schplee 3d148510cd
Merge pull request #38 from liushuyu/gh-actions
CI: fix image repository name
2021-09-22 14:57:43 -07:00
liushuyu 59c1c6213f
CI: fix image repository name 2021-09-22 15:49:12 -06:00
Schplee 172c2c2df5
Merge pull request #37 from liushuyu/gh-actions
linux-transifex: fix pip installation
2021-09-22 14:33:17 -07:00
liushuyu 99b35c2ac1
linux-transifex: fix pip installation 2021-09-17 01:21:00 -06:00
Schplee 3c84e18a76
Merge pull request #36 from liushuyu/gh-actions
CI: switch to use GitHub Actions
2021-09-16 23:41:18 -07:00
liushuyu bce37778c0
CI: switch to use GitHub Actions 2021-09-17 00:35:14 -06:00
bunnei b237f34101
Merge pull request #32 from lat9nq/mingw-no-32bit
mingw: Delete 32 bit binaries and fix container
2021-05-31 01:31:15 -07:00
lat9nq 87c73e5b5d mingw: Patch GLIBC due to running in an old environment
Dockerhub appears to use either an old version of docker or something,
and it is incompatible with an Arch Linux guest.
2021-05-31 04:13:50 -04:00
lat9nq ce32fc5a16 mingw: Delete 32 bit binaries
We don't use them, no reason to keep them. Removes mingw-w64-ffmpeg --
it never worked, and we no longer use it. And we don't use python2 any
more.
2021-05-31 03:59:42 -04:00
bunnei ab2973726e
Merge pull request #31 from lat9nq/update-mingw
linux-mingw: Remove Conan packages
2021-05-30 22:35:08 -07:00
lat9nq af5acc630c linux-mingw: Remove Conan packages
This opts to not install the yuzu dependencies from Conan, since this
happens again at build time regardless of installing them here.

Also prevents removing the /tmp directory, to not break building
packages later.
2021-05-30 22:05:42 -04:00
bunnei ef6a499d16
Merge pull request #30 from lat9nq/hidapi
fresh: Add hidapi 0.10.1 from ext-linux-bin
2021-05-14 22:39:08 -07:00
lat9nq 3146cfd659 fresh: Add hidapi 0.10.1 from ext-linux-bin
libhidapi-dev from Bionic repositories is too old for our needs.
Download and install a binary package for hidapi manually from
yuzu-emu/ext-linux-bin.

This also adds a number of packages required to compile hidapi. Needed
for producing new hidapi packages in the future.
2021-05-10 13:53:22 -04:00
lat9nq 63316f3e0a fresh: Remove Conan usage
Installing packages here does nothing: the container just re-downloads
them at CMake configure time. So skip installing them altogether.
2021-05-09 23:48:29 -04:00
bunnei 8507fa7caf
Merge pull request #29 from lat9nq/manual-boost
linux-fresh: Install Boost manually
2021-03-28 11:13:08 -07:00
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