From 4f856b99ee8d2fdd1b7be32212907875607f42b0 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Thu, 14 Jul 2022 23:29:42 +0200 Subject: [PATCH] Add some more submodules and refactor makepkg scripts --- .gitmodules | 9 +++++++++ gind-ubo-icons-alpha | 1 + gind-xfce-notify-theme | 1 + makepkg-and-update-db.sh | 27 +++++++++++++++++++++++++++ wine-staging-opt-3.21 | 1 + 5 files changed, 39 insertions(+) create mode 160000 gind-ubo-icons-alpha create mode 160000 gind-xfce-notify-theme create mode 100755 makepkg-and-update-db.sh create mode 160000 wine-staging-opt-3.21 diff --git a/.gitmodules b/.gitmodules index aa91dd8..4c9eecc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -55,3 +55,12 @@ [submodule "cairo-dock-git-patched"] path = cairo-dock-git-patched url = https://gindserver.duckdns.org/gitea/drdickgind/cairo-dock-git-patched.git +[submodule "gind-ubo-icons-alpha"] + path = gind-ubo-icons-alpha + url = https://gindserver.duckdns.org/gitea/drdickgind/gind-ubo-icons-alpha.git +[submodule "gind-xfce-notify-theme"] + path = gind-xfce-notify-theme + url = https://gindserver.duckdns.org/gitea/drdickgind/gind-xfce-notify-theme.git +[submodule "wine-staging-opt-3.21"] + path = wine-staging-opt-3.21 + url = https://gindserver.duckdns.org/gitea/drdickgind/wine-staging-opt-3.21.git diff --git a/gind-ubo-icons-alpha b/gind-ubo-icons-alpha new file mode 160000 index 0000000..9a2df11 --- /dev/null +++ b/gind-ubo-icons-alpha @@ -0,0 +1 @@ +Subproject commit 9a2df119bd086f508335087d89f7183865610cf0 diff --git a/gind-xfce-notify-theme b/gind-xfce-notify-theme new file mode 160000 index 0000000..481cb4f --- /dev/null +++ b/gind-xfce-notify-theme @@ -0,0 +1 @@ +Subproject commit 481cb4f01d5bff9379359841bd57a356bba72ef5 diff --git a/makepkg-and-update-db.sh b/makepkg-and-update-db.sh new file mode 100755 index 0000000..08ab198 --- /dev/null +++ b/makepkg-and-update-db.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +expireTimeNotifyOSD=10000 +currentId=1 +tmpFile=/tmp/currentNotifyId +# gets the current notify id from our tmp file +if [ -s $tmpFile ]; then + currentId=$(cat $tmpFile) +fi + +makepkg_bash_func() { + notify-send "Start makepkg for $name" -p -t $expireTimeNotifyOSD -r $currentId -i software-update-available > $tmpFile + #fixes issue with makepkg ... git repo is not a clone of ... + unset GIT_DIR + makepkg + repo-add /mnt/pi-usb-ssd/gind-repo/x86_64/gind-repo.db.tar.gz $name*.pkg.tar.zst + cp -n $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/ +} + +if [ $# -gt 0 ]; then + if [ "$1" == "$name" ]; then + makepkg_bash_func + fi +else + makepkg_bash_func +fi + diff --git a/wine-staging-opt-3.21 b/wine-staging-opt-3.21 new file mode 160000 index 0000000..e35b7fe --- /dev/null +++ b/wine-staging-opt-3.21 @@ -0,0 +1 @@ +Subproject commit e35b7feb2fb38a7bf36ac398c091cfa054a76636