From 0b64ff5db42121fec07b9e2294af8c46d36aa328 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 8 Feb 2023 15:44:01 -0600 Subject: Initial commit --- examples/emacs | 37 +++++++++++++++++++++++++++++++++++++ examples/golang | 2 ++ examples/keepassxc | 27 +++++++++++++++++++++++++++ examples/lieer | 21 +++++++++++++++++++++ examples/notmuch | 8 ++++++++ examples/tree-sitter | 4 ++++ 6 files changed, 99 insertions(+) create mode 100644 examples/emacs create mode 100644 examples/golang create mode 100644 examples/keepassxc create mode 100644 examples/lieer create mode 100644 examples/notmuch create mode 100644 examples/tree-sitter (limited to 'examples') diff --git a/examples/emacs b/examples/emacs new file mode 100644 index 0000000..e7348db --- /dev/null +++ b/examples/emacs @@ -0,0 +1,37 @@ +# misc :: Emacs -*- bash-ts -*- + +# Variables + +SOURCE=git://git.sv.gnu.org/emacs.git +CHECKOUT=emacs-29 + +CONFIGURE_ARGS=( + --prefix="$MISC_INSTALL_PREFIX" + --with-cairo + --with-file-notification=inotify + --with-imagemagick + --with-json + --with-native-compilation=aot # Emacs 29 + --with-tree-sitter=yes # requires tree-sitter + --with-x + --with-x-toolkit=lucid + --with-xinput2 + --with-xml2 + # --with-xwidgets # requires gtk3 + --without-gconf + --without-gsettings +) + +MISC_DEPENDENCIES=( + tree-sitter +) + +# Plan + +install_deps +repo_pull +repo_ready extraclean + +with_repo ./autogen.sh +configure +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 @@ +# golang -*- bash-ts -*- + diff --git a/examples/keepassxc b/examples/keepassxc new file mode 100644 index 0000000..cd3cf42 --- /dev/null +++ b/examples/keepassxc @@ -0,0 +1,27 @@ +# keepassxc -*- bash-ts -*- + +SOURCE=https://github.com/keepassxreboot/keepassxc.git + +# This is a cmake program + +CMAKE_ARGS=( + -DCMAKE_INSTALL_PREFIX="$MISC_INSTALL_PREFIX" + -DCMAKE_BUILD_TYPE="Release" + # Features + -DWITH_XC_AUTOTYPE="ON" # Auto-Type + -DWITH_XC_YUBIKEY="OFF" # YubiKey HMAC-SHA1 authentication support + -DWITH_XC_BROWSER="ON" # KeePassXC-Browser extension support + -DWITH_XC_NETWORKING="ON" # Networking support + -DWITH_XC_SSHAGENT="ON" # SSHAgent support + -DWITH_XC_FDOSECRETS="ON" # Freedesktop.org Secrets Service support + -DWITH_XC_KEESHARE="OFF" # KeeShare group synchronization extension + -DWITH_XC_UPDATECHECK="OFF" # Enable/Disable automatic updating checking +) + +# Plan + +repo_pull latest +repo_ready + +with_repo '{ mkdir build; cd build; cmake "${CMAKE_ARGS[@]}" ..; }' +_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 @@ +# lieer -*- bash-ts -*- + +SOURCE=https://github.com/gauteh/lieer + +APT_DEPENDENCIES=( + python3 + libnotmuch-dev + # hopefully pip will install the rest +) + +# Don't error when we don't have a virtualenv. +export PIP_REQUIRE_VIRTUALENV=false + +# Plan + +install_deps +repo_pull +repo_ready + +with_repo pip3 install --user . + diff --git a/examples/notmuch b/examples/notmuch new file mode 100644 index 0000000..00db730 --- /dev/null +++ b/examples/notmuch @@ -0,0 +1,8 @@ +# notmuch -*- bash-ts -*- + +SOURCE=https://git.notmuchmail.org/git/notmuch + +CONFIGURE_ARGS=( + --prefix="$MISC_INSTALL_PREFIX" +) + 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 @@ +# Tree-sitter -*- bash-ts -*- + +SOURCE="https://github.com/tree-sitter/tree-sitter.git" + -- cgit 1.4.1-21-gabe81