summarylogtreecommitdiffstats
path: root/PKGBUILD
AgeCommit message (Collapse)Author
2020-09-28Update download link and navigaton commandsCallum Parsey
byuu's original site is no longer available. :( In its place is a Markdown-based rendition of the core site content. The file server no longer seems to be available, which means the original dowloads for amethyst are all but gone. The site doesn't appear in the Wayback Machine either. I didn't try looking at Google's Web Cache or similar services, but those are likely temporary anyway. Luckily, I had a copy of amethyst in a Git repository, which I have made public and pointed this package to. This repository contains license files, so the LICENSE file in this package has been removed and all references in the PKGBUILD have also been removed. I have also removed references to the .install file as, according to https://wiki.archlinux.org/index.php/PKGBUILD#source this should not be listed. With a new way of downloading the code comes new ways of navigating and patching said code. Namely the previous tarball did not have a containing directory, whereas this one does. This means adjusting the 'cd' commands and patching the top-level directory (-p0) instead of one directory down (-p1). We also need to add the build directories manually. The original tarball contained these as empty directories, but these could not be pushed to the Git repository.
2020-05-04Add xorg-server-xwayland as an optional dependencyCallum Parsey
amethyst errors out if it is launched on Wayland, so I added instructions to the package to tell the user that GDK_BACKEND needs to be set to x11 in the environment. The desktop entry does this by default now, too.
2020-05-04Add patch to disable widget themingCallum Parsey
amethyst uses the hiro UI abstraction library also used in higan, bsnes etc. hiro supports GTK+3, but with a significant problem - many (not all, but some) of the theme colours specified in settings.bml are overridden by any CSS theme you have installed on your system (Adwaita, Breeze, etc.). All of the APIs that hiro uses to perform colour adjustment are from GTK+2, and are now deprecated. The proper solution to this is to revamp hiro to use CSS for colour theming rather than the outdated API. But this is something that should be done in a fork of hiro so that the fix can be pulled into higan and bsnes as well. So for now, I just comment out the calls to hiro's setBackgroundColor() and setForegroundColor() functions, so that all UI widgets just use the system CSS theme.
2020-05-03Build with GTK+3 instead of GTK+2Callum Parsey
I'm not sure if this functionality was present in v3.2 or if it's a new thing with v3.3, but amethyst can now be built using GTK+3 by passing the argument "hiro=gtk3" to make. So we do that here. This has the side effect of removing all compiler warnings from the previous commit, as we are no longer using any deprecated APIs! However, it does cause some theme issues to occur. When no file is open, the panel where the source editor would be becomes the system theme's background colour rather than the one configured in settings.bml. The same occurs in the unoccupied space in the file tree panel. I'll see if I can fix this with a patch shortly.
2020-05-03Initial update to amethyst v3.3Callum Parsey
The release patch needed to be updated as the location of the "prefix" setting in nall/GNUmakefile had changed. I also updated the project URL, and the timestamps in the patch file were also updated.
2019-06-10Add config files to backup variableneoninteger
This allows pacman to create pacnew/pacsave files should the user choose to modify their configuration and wish to keep it between package upgrades/removals.
2019-04-26Release package for amethyst v3.2neoninteger