瀏覽代碼

distro extend update

84582af
Dirk Alders 3 年之前
父節點
當前提交
4b65847814
共有 9 個文件被更改,包括 412 次插入10 次删除
  1. 3
    0
      apt-extend-mint
  2. 66
    0
      apt-extend-mx
  3. 82
    0
      apt-extend-ubuntu
  4. 103
    0
      dnf-extend-fedora
  5. 12
    9
      init_homepath
  6. 1
    0
      pip_upgrade_all
  7. 1
    1
      unittest_status
  8. 57
    0
      yay-extend-endeavour
  9. 87
    0
      zypper-extend-suse

+ 3
- 0
apt-extend-mint 查看文件

@@ -16,8 +16,11 @@ MULTIMEDIA="
16 16
 ffmpeg
17 17
 kodi kodi-pvr-hts
18 18
 spotify-client
19
+photocollage
20
+ardour ubuntustudio-controls calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame
19 21
 "
20 22
 
23
+
21 24
 TOOLS="
22 25
 evolution
23 26
 gnuplot

+ 66
- 0
apt-extend-mx 查看文件

@@ -0,0 +1,66 @@
1
+#!/bin/sh
2
+#
3
+
4
+#
5
+# Additional Packages
6
+COMMON="joe keepass2 xdotool powerline fonts-powerline powerline-gitstatus curlftpfs libstdc++6"
7
+
8
+_COMMON="
9
+joe git tmux
10
+keepass2 xdotool
11
+brasero
12
+sshfs curlftpfs openssh-server
13
+fonts-powerline powerline python3-powerline python3-powerline-gitstatus
14
+lib32stdc++6
15
+"
16
+
17
+MULTIMEDIA="qjackctl ardour calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame kodi"
18
+
19
+_MULTIMEDIA="
20
+ffmpeg
21
+kodi kodi-pvr-hts
22
+spotify-client
23
+"
24
+
25
+TOOLS="evolution latexmk texlive-generic-recommended texlive-latex-extra texlive-lang-german texlive-fonts-recommended"
26
+
27
+_TOOLS="
28
+evolution
29
+gnuplot
30
+gnome-boxes
31
+gvncviewer
32
+texlive-binaries texlive-latex-extra texlive-lang-german texlive-fonts-recommended texstudio
33
+gimp
34
+"
35
+
36
+PROGRAMMING="virtualenv python3-wxgtk4.0 qt5dxcb-plugin"
37
+
38
+_PROGRAMMING="
39
+pycodestyle
40
+virtualenv
41
+python-coverage python3-coverage python-jinja2 python3-jinja2
42
+python-wxtools python3-wxgtk4.0
43
+python3-evdev python3-serial
44
+python3-sphinx python3-sphinx-rtd-theme
45
+meld
46
+retext
47
+"
48
+
49
+ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING
50
+
51
+echo The followin packages and their required depending packages will be installed:
52
+echo ------------------------------------------------------------------------------
53
+echo $ALL
54
+echo ------------------------------------------------------------------------------
55
+read -r -p "Are you sure? [y/N] " response
56
+echo ------------------------------------------------------------------------------
57
+case "$response" in
58
+    [yY][eE][sS]|[yY])
59
+        echo $ALL
60
+        su --command="apt-get install -y $ALL"
61
+        ;;
62
+    *)
63
+        echo Installation aborted!
64
+        ;;
65
+esac
66
+

+ 82
- 0
apt-extend-ubuntu 查看文件

@@ -0,0 +1,82 @@
1
+#!/bin/sh
2
+#
3
+
4
+#
5
+# Additional Packages
6
+COMMON="
7
+joe git
8
+synaptic
9
+neofetch
10
+sshfs curlftpfs
11
+keepass2 xdotool
12
+tlp tlp-rdw
13
+lib32stdc++6
14
+"
15
+
16
+_COMMON="
17
+joe git tmux
18
+keepass2 xdotool
19
+brasero
20
+sshfs curlftpfs openssh-server
21
+fonts-powerline powerline python3-powerline python3-powerline-gitstatus
22
+lib32stdc++6
23
+"
24
+
25
+MULTIMEDIA="
26
+kodi kodi-pvr-hts
27
+ubuntu-restricted-extras libdvd-pkg
28
+"
29
+
30
+_MULTIMEDIA="
31
+ffmpeg
32
+spotify-client
33
+photocollage
34
+ardour ubuntustudio-controls calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame
35
+"
36
+
37
+
38
+TOOLS="
39
+"
40
+
41
+_TOOLS="
42
+evolution
43
+gnuplot
44
+gnome-boxes
45
+gvncviewer
46
+texlive-binaries texlive-latex-extra texlive-lang-german texlive-fonts-recommended texstudio
47
+gimp
48
+"
49
+
50
+PROGRAMMING="
51
+virtualenv
52
+python3-wxgtk4.0
53
+"
54
+
55
+_PROGRAMMING="
56
+pycodestyle
57
+virtualenv
58
+python-coverage python3-coverage python-jinja2 python3-jinja2
59
+python-wxtools python3-wxgtk4.0
60
+python3-evdev python3-serial
61
+python3-sphinx python3-sphinx-rtd-theme
62
+meld
63
+retext
64
+"
65
+
66
+ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING
67
+
68
+echo The followin packages and their required depending packages will be installed:
69
+echo ------------------------------------------------------------------------------
70
+echo $ALL
71
+echo ------------------------------------------------------------------------------
72
+read -r -p "Are you sure? [y/N] " response
73
+echo ------------------------------------------------------------------------------
74
+case "$response" in
75
+    [yY][eE][sS]|[yY]) 
76
+        sudo apt-get -y install $ALL
77
+        ;;
78
+    *)
79
+        echo Installation aborted!
80
+        ;;
81
+esac
82
+

+ 103
- 0
dnf-extend-fedora 查看文件

@@ -0,0 +1,103 @@
1
+#!/bin/sh
2
+#
3
+
4
+#
5
+# Additional Packages
6
+COMMON="
7
+joe
8
+neofetch
9
+powerline powerline-fonts
10
+keepass xdotool
11
+tlp
12
+gnome-tweaks mint-themes-gtk3 albatross-gtk3-theme breeze-gtk-gtk3 breeze-icon-theme breeze-cursor-theme clearlooks-phenix-gtk3-theme deepin-gtk-theme deepin-icon-theme
13
+curlftpfs sshfs
14
+powerline powerline-fonts
15
+snapd
16
+"
17
+
18
+MULTIMEDIA="
19
+qjackctl
20
+ardour6 calf fluid-soundfont-gm fluid-soundfont-gs lv2-calf-plugins lv2-calf-plugins-gui
21
+audacious
22
+"
23
+
24
+rpmfusion="
25
+kodi kodi-pvr-hts
26
+"
27
+
28
+snap="
29
+spotify
30
+"
31
+
32
+TOOLS="
33
+evolution thunderbird
34
+texlive-scheme-basic texlive-german texlive-nth texlive-units latexmk
35
+texstudio
36
+gimp
37
+remmina
38
+"
39
+
40
+PROGRAMMING="
41
+virtualenv
42
+meld
43
+python3-wxpython4
44
+"
45
+
46
+ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING
47
+
48
+
49
+
50
+echo RPMFUSION: The followin packages and their required depending packages will be installed:
51
+echo ------------------------------------------------------------------------------
52
+echo rpmfusion-free-release rpmfusion-nonfree-release lv2-EQ10Q-plugins $rpmfusion
53
+echo ------------------------------------------------------------------------------
54
+read -r -p "Are you sure? [y/N] " response
55
+echo ------------------------------------------------------------------------------
56
+case "$response" in
57
+    [yY][eE][sS]|[yY]) 
58
+        sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
59
+        sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
60
+        sudo dnf install -y $rpmfusion
61
+        ;;
62
+    *)
63
+        echo Installation aborted!
64
+        ;;
65
+esac
66
+
67
+
68
+
69
+echo DNF: The followin packages and their required depending packages will be installed:
70
+echo ------------------------------------------------------------------------------
71
+echo $ALL lv2-EQ10Q-plugins
72
+echo ------------------------------------------------------------------------------
73
+read -r -p "Are you sure? [y/N] " response
74
+echo ------------------------------------------------------------------------------
75
+case "$response" in
76
+    [yY][eE][sS]|[yY]) 
77
+        sudo dnf -y install $ALL https://kojipkgs.fedoraproject.org//packages/lv2-EQ10Q-plugins/2.2/5.fc32/x86_64/lv2-EQ10Q-plugins-2.2-5.fc32.x86_64.rpm
78
+
79
+        echo
80
+        ln -s /var/lib/snapd/snap /snap
81
+        ;;
82
+    *)
83
+        echo Installation aborted!
84
+        ;;
85
+esac
86
+
87
+
88
+echo SNAP: The followin packages and their required depending packages will be installed:
89
+echo ------------------------------------------------------------------------------
90
+echo $snap
91
+echo ------------------------------------------------------------------------------
92
+read -r -p "Are you sure? [y/N] " response
93
+echo ------------------------------------------------------------------------------
94
+case "$response" in
95
+    [yY][eE][sS]|[yY]) 
96
+        sudo snap install $snap
97
+        echo
98
+        ;;
99
+    *)
100
+        echo Installation aborted!
101
+        ;;
102
+esac
103
+

+ 12
- 9
init_homepath 查看文件

@@ -1,23 +1,26 @@
1 1
 #!/bin/sh
2 2
 #
3 3
 
4
-REPLACE_FOLDERS="Audio Bilder data Dokumente Downloads eclipse Musik prj Schreibtisch Videos"
4
+BASE_FOLDERS="data Downloads media_images Videos C64"
5
+VIP_FOLDERS="prj Schreibtisch"
5 6
 
6 7
 
7 8
 echo The following folders will be deleted:
8
-for folder in $REPLACE_FOLDERS; do
9
-	echo "* $HOME/\033[1m$folder\033[0m"
9
+for folder in $BASE_FOLDERS; do
10
+	echo -e "* $HOME/\033[1m$folder\033[0m"
11
+done
12
+for folder in $VIP_FOLDERS; do
13
+	echo -e "* $HOME/\033[1m$folder\033[0m"
10 14
 done
11 15
 echo
12 16
 read -r -p "Are you sure? [y/N] " response
13 17
 case "$response" in
14 18
     [yY][eE][sS]|[yY]) 
15
-        for folder in $REPLACE_FOLDERS; do
16
-            if [ "$folder" = "data" ]; then
17
-                rm -f $HOME/data; ln -s /usr/data/$USER $HOME/data
18
-            else
19
-                rm -rf $HOME/$folder; ln -s /usr/data/$USER/$folder $HOME
20
-            fi
19
+        for folder in $BASE_FOLDERS; do
20
+            rm -f $HOME/$folder; ln -s /usr/data/$USER/$folder $HOME
21
+        done
22
+        for folder in $VIP_FOLDERS; do
23
+            rm -rf $HOME/$folder; ln -s /usr/data/$USER/data/$folder $HOME
21 24
         done
22 25
         ;;
23 26
     *)

+ 1
- 0
pip_upgrade_all 查看文件

@@ -0,0 +1 @@
1
+pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

+ 1
- 1
unittest_status 查看文件

@@ -1,4 +1,4 @@
1
-#!/usr/bin/python3
1
+#!/home/dirk/bin/venv/bin/python
2 2
 #
3 3
 
4 4
 import os

+ 57
- 0
yay-extend-endeavour 查看文件

@@ -0,0 +1,57 @@
1
+#!/bin/sh
2
+#
3
+
4
+#
5
+# Additional Packages
6
+COMMON="
7
+joe htop
8
+owncloud-client
9
+powerline powerline-fonts
10
+chrome-gnome-shell
11
+keepass xdotool xsel
12
+sshfs curlftpfs
13
+lib32-glibc brother-mfc-5890cn canon-pixma-ts5055-complete
14
+"
15
+
16
+MULTIMEDIA="
17
+rhythmbox audacious
18
+kodi kodi-addon-pvr-hts
19
+shotwell
20
+pro-audio pulseaudio-jack realtime-privileges soundfont-fluid
21
+"
22
+
23
+TOOLS="
24
+evolution
25
+libreoffice-fresh
26
+texlive-bin texlive-latexextra
27
+gnome-latex
28
+gimp
29
+librecad
30
+xfig
31
+docker docker-compose
32
+"
33
+
34
+PROGRAMMING="
35
+python-pip
36
+python-virtualenv
37
+python2
38
+meld
39
+"
40
+
41
+ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING
42
+
43
+echo The followin packages and their required depending packages will be installed:
44
+echo ------------------------------------------------------------------------------
45
+echo $ALL
46
+echo ------------------------------------------------------------------------------
47
+read -r -p "Are you sure? [y/N] " response
48
+echo ------------------------------------------------------------------------------
49
+case "$response" in
50
+    [yY][eE][sS]|[yY]) 
51
+        yay -S --needed $ALL
52
+        ;;
53
+    *)
54
+        echo Installation aborted!
55
+        ;;
56
+esac
57
+

+ 87
- 0
zypper-extend-suse 查看文件

@@ -0,0 +1,87 @@
1
+#!/bin/sh
2
+#
3
+
4
+#
5
+# Additional Packages
6
+COMMON="
7
+git-core
8
+neofetch
9
+powerline
10
+sshfs curlftpfs
11
+keepass xdotool
12
+gtk3-metatheme-breeze gtk3-metatheme-adapta gtk3-metatheme-bluebird arc-icon-theme paper-icon-theme deepin-icon-theme elementary-icon-theme
13
+"
14
+
15
+_COMMON="
16
+joe git tmux
17
+keepass2 xdotool
18
+brasero
19
+sshfs curlftpfs openssh-server
20
+fonts-powerline powerline python3-powerline python3-powerline-gitstatus
21
+lib32stdc++6
22
+"
23
+
24
+MULTIMEDIA="
25
+kodi kodi.binary-addons-pvr.hts
26
+ardour qjackctl lv2-calf
27
+"
28
+
29
+_MULTIMEDIA="
30
+ffmpeg
31
+kodi kodi-pvr-hts
32
+spotify-client
33
+photocollage
34
+ardour ubuntustudio-controls calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame
35
+"
36
+
37
+
38
+TOOLS="
39
+texlive-latexmk-bin
40
+"
41
+
42
+_TOOLS="
43
+evolution
44
+gnuplot
45
+gnome-boxes
46
+gvncviewer
47
+texlive-binaries texlive-latex-extra texlive-lang-german texlive-fonts-recommended texstudio
48
+gimp
49
+"
50
+
51
+PROGRAMMING="
52
+make
53
+python38-virtualenv
54
+python38-wxPython
55
+"
56
+
57
+_PROGRAMMING="
58
+pycodestyle
59
+virtualenv
60
+python-coverage python3-coverage python-jinja2 python3-jinja2
61
+python-wxtools python3-wxgtk4.0
62
+python3-evdev python3-serial
63
+python3-sphinx python3-sphinx-rtd-theme
64
+meld
65
+retext
66
+"
67
+
68
+ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING
69
+
70
+echo The followin packages and their required depending packages will be installed:
71
+echo ------------------------------------------------------------------------------
72
+echo $ALL
73
+echo ------------------------------------------------------------------------------
74
+read -r -p "Are you sure? [y/N] " response
75
+echo ------------------------------------------------------------------------------
76
+case "$response" in
77
+    [yY][eE][sS]|[yY]) 
78
+        sudo zypper ar -cfp 90 https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman
79
+        sudo zypper ar -cfp 90 http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ libdvdcss
80
+        sudo zypper ar -cfp 90 https://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Tumbleweed/ multimedia:apps
81
+        sudo zypper install $ALL
82
+        ;;
83
+    *)
84
+        echo Installation aborted!
85
+        ;;
86
+esac
87
+

Loading…
取消
儲存