diff options
author | Case Duckworth | 2023-02-08 15:44:01 -0600 |
---|---|---|
committer | Case Duckworth | 2023-02-08 15:44:01 -0600 |
commit | 0b64ff5db42121fec07b9e2294af8c46d36aa328 (patch) | |
tree | 5c9cf445c851a3721ac86e10f9c04df0e5f3015f /examples | |
download | misc-0b64ff5db42121fec07b9e2294af8c46d36aa328.tar.gz misc-0b64ff5db42121fec07b9e2294af8c46d36aa328.zip |
Initial commit
Diffstat (limited to 'examples')
-rw-r--r-- | examples/emacs | 37 | ||||
-rw-r--r-- | examples/golang | 2 | ||||
-rw-r--r-- | examples/keepassxc | 27 | ||||
-rw-r--r-- | examples/lieer | 21 | ||||
-rw-r--r-- | examples/notmuch | 8 | ||||
-rw-r--r-- | examples/tree-sitter | 4 |
6 files changed, 99 insertions, 0 deletions
diff --git a/examples/emacs b/examples/emacs new file mode 100644 index 0000000..e7348db --- /dev/null +++ b/examples/emacs | |||
@@ -0,0 +1,37 @@ | |||
1 | # misc :: Emacs -*- bash-ts -*- | ||
2 | |||
3 | # Variables | ||
4 | |||
5 | SOURCE=git://git.sv.gnu.org/emacs.git | ||
6 | CHECKOUT=emacs-29 | ||
7 | |||
8 | CONFIGURE_ARGS=( | ||
9 | --prefix="$MISC_INSTALL_PREFIX" | ||
10 | --with-cairo | ||
11 | --with-file-notification=inotify | ||
12 | --with-imagemagick | ||
13 | --with-json | ||
14 | --with-native-compilation=aot # Emacs 29 | ||
15 | --with-tree-sitter=yes # requires tree-sitter | ||
16 | --with-x | ||
17 | --with-x-toolkit=lucid | ||
18 | --with-xinput2 | ||
19 | --with-xml2 | ||
20 | # --with-xwidgets # requires gtk3 | ||
21 | --without-gconf | ||
22 | --without-gsettings | ||
23 | ) | ||
24 | |||
25 | MISC_DEPENDENCIES=( | ||
26 | tree-sitter | ||
27 | ) | ||
28 | |||
29 | # Plan | ||
30 | |||
31 | install_deps | ||
32 | repo_pull | ||
33 | repo_ready extraclean | ||
34 | |||
35 | with_repo ./autogen.sh | ||
36 | configure | ||
37 | make_install bootstrap | ||
diff --git a/examples/golang b/examples/golang new file mode 100644 index 0000000..65265be --- /dev/null +++ b/examples/golang | |||
@@ -0,0 +1,2 @@ | |||
1 | # golang -*- bash-ts -*- | ||
2 | |||
diff --git a/examples/keepassxc b/examples/keepassxc new file mode 100644 index 0000000..cd3cf42 --- /dev/null +++ b/examples/keepassxc | |||
@@ -0,0 +1,27 @@ | |||
1 | # keepassxc -*- bash-ts -*- | ||
2 | |||
3 | SOURCE=https://github.com/keepassxreboot/keepassxc.git | ||
4 | |||
5 | # This is a cmake program | ||
6 | |||
7 | CMAKE_ARGS=( | ||
8 | -DCMAKE_INSTALL_PREFIX="$MISC_INSTALL_PREFIX" | ||
9 | -DCMAKE_BUILD_TYPE="Release" | ||
10 | # Features | ||
11 | -DWITH_XC_AUTOTYPE="ON" # Auto-Type | ||
12 | -DWITH_XC_YUBIKEY="OFF" # YubiKey HMAC-SHA1 authentication support | ||
13 | -DWITH_XC_BROWSER="ON" # KeePassXC-Browser extension support | ||
14 | -DWITH_XC_NETWORKING="ON" # Networking support | ||
15 | -DWITH_XC_SSHAGENT="ON" # SSHAgent support | ||
16 | -DWITH_XC_FDOSECRETS="ON" # Freedesktop.org Secrets Service support | ||
17 | -DWITH_XC_KEESHARE="OFF" # KeeShare group synchronization extension | ||
18 | -DWITH_XC_UPDATECHECK="OFF" # Enable/Disable automatic updating checking | ||
19 | ) | ||
20 | |||
21 | # Plan | ||
22 | |||
23 | repo_pull latest | ||
24 | repo_ready | ||
25 | |||
26 | with_repo '{ mkdir build; cd build; cmake "${CMAKE_ARGS[@]}" ..; }' | ||
27 | _make install | ||
diff --git a/examples/lieer b/examples/lieer new file mode 100644 index 0000000..6c90e64 --- /dev/null +++ b/examples/lieer | |||
@@ -0,0 +1,21 @@ | |||
1 | # lieer -*- bash-ts -*- | ||
2 | |||
3 | SOURCE=https://github.com/gauteh/lieer | ||
4 | |||
5 | APT_DEPENDENCIES=( | ||
6 | python3 | ||
7 | libnotmuch-dev | ||
8 | # hopefully pip will install the rest | ||
9 | ) | ||
10 | |||
11 | # Don't error when we don't have a virtualenv. | ||
12 | export PIP_REQUIRE_VIRTUALENV=false | ||
13 | |||
14 | # Plan | ||
15 | |||
16 | install_deps | ||
17 | repo_pull | ||
18 | repo_ready | ||
19 | |||
20 | with_repo pip3 install --user . | ||
21 | |||
diff --git a/examples/notmuch b/examples/notmuch new file mode 100644 index 0000000..00db730 --- /dev/null +++ b/examples/notmuch | |||
@@ -0,0 +1,8 @@ | |||
1 | # notmuch -*- bash-ts -*- | ||
2 | |||
3 | SOURCE=https://git.notmuchmail.org/git/notmuch | ||
4 | |||
5 | CONFIGURE_ARGS=( | ||
6 | --prefix="$MISC_INSTALL_PREFIX" | ||
7 | ) | ||
8 | |||
diff --git a/examples/tree-sitter b/examples/tree-sitter new file mode 100644 index 0000000..55c723e --- /dev/null +++ b/examples/tree-sitter | |||
@@ -0,0 +1,4 @@ | |||
1 | # Tree-sitter -*- bash-ts -*- | ||
2 | |||
3 | SOURCE="https://github.com/tree-sitter/tree-sitter.git" | ||
4 | |||