diff --git a/README.md b/README.md index 5a627eb..6c647ef 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,10 @@ and it will do the rest. I've created issues for some of the missing functionality. Most importantly more email formats (as explained above). Beyond that, there're probably bugs, there's a certain lack of tests and documentation, the [windows build is on shaky grounds](https://github.com/terhechte/postsack/issues/20), [the light theme is wonky](https://github.com/terhechte/postsack/issues/15), [some parts need a healthy refactoring to be useful beyond Postsack](https://github.com/terhechte/postsack/issues/11), [and it would be great if the binaries could be generated from the Github actions](https://github.com/terhechte/postsack/issues/10). +## Installation + +For macOS, Linux or Windows install instructions, [please refer to the Readme in the postsack-native folder](postsack-native/Readme.md) + ## Deploying to crates.io for `cargo install` One of the issues I ran into was that many of the emails I had received over the years were not diff --git a/postsack-native/Readme.md b/postsack-native/Readme.md index 7edd677..29e6cac 100644 --- a/postsack-native/Readme.md +++ b/postsack-native/Readme.md @@ -33,6 +33,19 @@ sudo dnf install @development-tools glib cairo-devel pango-devel gdk-pixbux2-dev sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libsqlite3-dev ``` +### Arch based + +Thanks to Emilio Reggi, [there's an Arch package here](https://aur.archlinux.org/packages/postsack-bin/) + +### NixOS + +There's a `shell.nix` in this directory. It can be used to run Postsack on NixOS via: + +``` sh +> nix-shell shell.nix +$ cargo run +``` + ### Building ``` sh diff --git a/postsack-native/shell.nix b/postsack-native/shell.nix new file mode 100644 index 0000000..bb3ff78 --- /dev/null +++ b/postsack-native/shell.nix @@ -0,0 +1,16 @@ +with import {}; + +stdenv.mkDerivation { + name = "postsack-env"; + buildInputs = [ + rustc cargo xorg.libxcb + ]; + LD_LIBRARY_PATH = lib.makeLibraryPath [ + xorg.libxcb + xorg.libX11 + xorg.libXcursor + xorg.libXrandr + xorg.libXi + libglvnd + ]; +}