guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

44/45: TEMP add helper-scripts


From: guix-commits
Subject: 44/45: TEMP add helper-scripts
Date: Sun, 31 Jan 2021 10:27:30 -0500 (EST)

htgoebel pushed a commit to branch wip-kde-plasma
in repository guix.

commit 50922b9ec210b8f2338eb36c37b56512f4fc8e82
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sat Dec 12 20:12:31 2020 +0100

    TEMP add helper-scripts
---
 next.sh    | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 refresh.sh |  9 +++++++++
 2 files changed, 68 insertions(+)

diff --git a/next.sh b/next.sh
new file mode 100755
index 0000000..ea6f343
--- /dev/null
+++ b/next.sh
@@ -0,0 +1,59 @@
+#!/usr/bin/env bash
+
+COMMIT=$(head -1 commits.txt | sed 's! .*!!')
+echo commit: $COMMIT
+git cherry-pick $COMMIT
+
+read -p "Konfikte lösen - cherry-pick contine"
+git cherry-pick --continue
+
+SCM=gnu/packages/kde-plasma.scm
+
+NAME=$(git log -p -1 $COMMIT | grep -F '(name "' | tail -1 | sed 
's/.*"\(.*\)".*/\1/')
+
+echo name: $NAME
+sed -i 's/build-system cmake-build-system/build-system qt-build-system/' $SCM
+#./pre-inst-env guix refresh -u $NAME
+
+git add gnu/packages/kde-plasma.scm
+git commit --amend --no-edit '-S'
+
+exit
+
+NUMBER=${1?number missing}
+
+patch=$(ls /tmp/plasma-patches/$NUMBER-*.patch)
+#NAME=${patch##*-Add-}
+#NAME=${NAME%*.patch}
+#echo $NUMBER $NAME
+git am $patch
+
+exit
+
+./pre-inst-env guix build refresh -u $NAME
+
+#git gui citool --amend
+
+exit
+
+read -p "Kopieren "
+read -p "Beschreibung "
+read -p "Name in wrapper "
+xdg-open https://cgit.kde.org/$NAME.git/tree/
+read -p "Lizenz "
+
+./pre-inst-env guix refresh -u $NAME
+
+BUILDOKAY=
+while [ -z "$BUILDOKAY" ] ; do
+    ./pre-inst-env guix build --substitute-urls=https://ci.guix.gnu.org $NAME
+    read -p "Build okay? " BUILDOKAY
+done
+
+sh ./00-test-gui-app.sh $NAME &
+sleep 60s
+pgrep -u $(id -u) -f store.*profile.*container.*$NAME | xargs kill
+pgrep -u $(id -u) -f store.*dbus-daemon | xargs kill
+
+git add gnu/packages/games.scm
+git commit -m "gnu: Add $NAME.
diff --git a/refresh.sh b/refresh.sh
new file mode 100644
index 0000000..8d1fbe9
--- /dev/null
+++ b/refresh.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+NAME=$(git log -p -1 HEAD | grep -F '(name "' | tail -1 | sed 
's/.*"\(.*\)".*/\1/')
+
+echo name: $NAME
+./pre-inst-env guix refresh -u $NAME
+
+git add gnu/packages/kde-plasma.scm
+git commit --amend --no-edit '-S'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]