summaryrefslogtreecommitdiffstats
path: root/Documentation/scripts/usefull_commands
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
commit644110a847c5911c2eb04eb53c93031740561efc (patch)
tree9658dde1cc70b52b233957b7852f87d997e98156 /Documentation/scripts/usefull_commands
downloadtde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.tar.gz
tde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.zip
Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'Documentation/scripts/usefull_commands')
-rw-r--r--Documentation/scripts/usefull_commands15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/scripts/usefull_commands b/Documentation/scripts/usefull_commands
new file mode 100644
index 00000000..8ecaa988
--- /dev/null
+++ b/Documentation/scripts/usefull_commands
@@ -0,0 +1,15 @@
+# Per ebuild check and commit
+for I in <packages> ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done
+for I in kstart ksystraycmd ksysguard nsplugin kate kxkb ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done
+
+# update trinity live lists
+find trinity-base/ -iname '*9999.ebuild' | while read eb; do PN="$(basename $(dirname ${eb}))"; C="$(basename $(dirname $(dirname ${eb})))"; P="$(basename ${eb%%.ebuild})"; echo "~$C/$P"' **'; done | tee Documentation/trinity.live.keywords
+
+# update all manifests
+find . -iname *.ebuild | while read eb; do ebuild $eb digest; done
+
+# run ./test_separate_compilation.sh
+cat Documentation/derived-lists/<LIST> | sed 's/#.*//;s/^\s*//;s/\s*$//;/^\s*$/d' |xargs bash ./test_separate_compilation.sh
+
+# update manifests which older thatn ebuilds
+find . -iname *.ebuild | while read eb; do ma="$(dirname $eb)/Manifest"; find $(dirname $eb) -type f | while read f; do [ $f -nt $ma ] && ebuild $eb digest && touch $ma; done; done