sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
dwm/st updates, fontconfig fix 11e28c08c6eb47435fa87dfd1d2ff1173967e76a Sylvain BERTRAND 2022-05-10 19:04:35
gfx stack update (mesa SDK being trashed more) ee38e381557418681479858c8384aafb5d631250 Sylvain BERTRAND 2022-05-08 14:38:32
gfx stack update 16b749f378d11f768a612cf08676789f7fdff2bc Sylvain BERTRAND 2022-04-24 15:56:01
gfx stack update 68453551954c52e998012d0ce1f5b05e99e24df5 Sylvain BERTRAND 2022-04-17 15:47:49
gfx stack update (AMD dev linux broken on navi10 LXE) 0bad3efa8e0e6e24c44c0707e494d47fc833755f Sylvain BERTRAND 2022-04-10 16:04:32
gfx stack update 189baa3e6c397181d0639e18a5e56c27aed03bfd Sylvain BERTRAND 2022-04-03 16:28:42
gfx stack update (linux destroyed by gcc/clang) d692fbce2d54116209ec329d5e172018652cf046 Sylvain BERTRAND 2022-03-27 15:25:21
gfx stack update (a lot of new trash code in linux, microsoft? google? ibm?) 0e915966007eecfc71620a3852ae26c059725204 Sylvain BERTRAND 2022-03-20 16:15:55
more C compilers 6b8020c1ea2bca8d65b86740c850723f04f0cb9b Sylvain BERTRAND 2022-03-20 16:13:55
gfx stack update 031c1509740c7abf25aadac2136695c3e292ce5c Sylvain BERTRAND 2022-03-13 13:22:52
gfx stack update (linux is being trashed because of fanboys of compilers) c900fe1a5b86b2db51a694ef124513a31baf326f Sylvain BERTRAND 2022-03-06 13:53:59
dav1d: need an upstream fix 76a6d021cb56e9e81655d4f4391bcb088c7f3878 Sylvain BERTRAND 2022-03-04 20:59:18
gfx stack update (ffmpeg/dav1d glitched) 19612db67cc5c5d2389d25a4faaad6a38f9e6ead Sylvain BERTRAND 2022-02-28 21:11:10
gfx stack update 4d43e5f3f1cb8fe67ee7cad3a96c18e1be7b3232 Sylvain BERTRAND 2022-02-20 13:04:44
gfx stack update 656a6a347d377529db75f7a82487b7a23a6a05db Sylvain BERTRAND 2022-02-14 00:45:03
gfx stack update 2c431f853f8d938972aebe8ce9e4be29c93e9329 Sylvain BERTRAND 2022-02-06 17:53:13
gfx stack update 032d8009b7dbc3a02781fa708ea72a9199e23e74 Sylvain BERTRAND 2022-01-30 16:40:14
gfx stack update fed039d498c6b8c6c43f7012ba77a5a582c86c0c Sylvain BERTRAND 2022-01-24 02:43:25
gfx stack update a8ccdfe5ec91a1eed44965159059210b16322f0f Sylvain BERTRAND 2022-01-16 19:11:28
gfx stack update (AMD linux/x11 repos unreachable) 15abc62444150c19cbdfed902a4b809c2d3e1953 Sylvain BERTRAND 2022-01-09 15:39:18
Commit 11e28c08c6eb47435fa87dfd1d2ff1173967e76a - dwm/st updates, fontconfig fix
Author: Sylvain BERTRAND
Author date (UTC): 2022-05-10 19:04
Committer name: Sylvain BERTRAND
Committer date (UTC): 2022-05-10 19:04
Parent(s): ee38e381557418681479858c8384aafb5d631250
Signer:
Signing key:
Signing status: N
Tree: b4c7024fd875a432543811ec46a72ceda254603e
File Lines added Lines deleted
builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/builder.sh 88 0
builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/config.h 3 5
builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/dwm-actualfullscreen.diff 4 7
builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/builder.sh 2 1
builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/builder.sh 0 0
builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.h 5 3
builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.h.invert 3 3
builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.mk 0 0
File builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/builder.sh added (mode: 100644) (index 0000000..ba33a3e)
1 src_name=dwm
2 git_commit=${pkg_name##*-}
3 slot=$git_commit
4 git_url0=https://git.suckless.org/dwm
5
6 pkg_dir=$pkgs_dir_root/$src_name
7 src_dir=$src_dir_root/$src_name
8 rm -Rf $pkg_dir
9 mkdir -p $pkgs_dir_root
10 cp -r $src_dir $pkg_dir
11
12 PATH_SAVED=$PATH
13 export PATH="\
14 /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\
15 /nyan/make/current/bin:\
16 /nyan/git/current/bin:\
17 $PATH\
18 "
19 target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)")
20 target_gnu_triple=${target_gnu_triple%-gcc}
21
22 cd $pkg_dir
23
24 if test x$git_commit != x; then
25 git checkout --force $git_commit
26 git reset --hard
27 fi
28
29 cp $nyan_root/builders/$pkg_name/dwm-actualfullscreen*.diff ./
30 patch -p 1 -i dwm-actualfullscreen*.diff
31
32 build_dir=/run/builds/$pkg_name
33 rm -Rf $build_dir
34 mkdir -p $build_dir
35 cd $build_dir
36
37 # install our config.h
38 cp $nyan_root/builders/dwm-$slot/config.h ./
39 #---------------------------------------------------------------------------------------------------
40 version=6.3
41
42 cppflags="\
43 -isystem /nyan/glibc/current/include \
44 -isystem /nyan/linux-headers/current/include \
45 -DVERSION=\"$version\" \
46 -I$build_dir \
47 -I/nyan/xorgproto/current/include \
48 -I/nyan/libX11/current/include \
49 -I/nyan/libXft/current/include \
50 -I/nyan/freetype/current/include/freetype2 \
51 -I/nyan/fontconfig/current/include \
52 -I/nyan/libXrender/current/include \
53 "
54
55 ldflags="\
56 -L/nyan/libX11/current/lib \
57 -L/nyan/freetype/current/lib \
58 -L/nyan/libXft/current/lib \
59 -L/nyan/fontconfig/current/lib \
60 "
61
62 libs="\
63 -lX11 \
64 -lfreetype \
65 -lXft \
66 -lfontconfig \
67 "
68 #---------------------------------------------------------------------------------------------------
69 $target_gnu_triple-gcc -Os -pipe -static-libgcc -c $cppflags $pkg_dir/drw.c -o $build_dir/drw.o
70 $target_gnu_triple-gcc -Os -pipe -static-libgcc -c $cppflags $pkg_dir/dwm.c -o $build_dir/dwm.o
71 $target_gnu_triple-gcc -Os -pipe -static-libgcc -c $cppflags $pkg_dir/util.c -o $build_dir/util.o
72
73 $target_gnu_triple-gcc -pipe -static-libgcc -B/nyan/glibc/current/lib $ldflags $libs -o $build_dir/dwm \
74 $build_dir/drw.o $build_dir/dwm.o $build_dir/util.o \
75 -Wl,-rpath-link,\
76 /nyan/glibc/current/lib:\
77 /nyan/libXrender/current/lib:\
78 /nyan/libxcb/current/lib:\
79 /nyan/libXau/current/lib
80
81 mkdir -p /nyan/dwm/$slot/bin
82 cp -f $build_dir/dwm /nyan/dwm/$slot/bin
83 $target_gnu_triple-strip -s /nyan/dwm/$slot/bin/dwm
84
85 export PATH=$PATH_SAVED
86 unset PATH_SAVED
87 unset target_gnu_triple
88 rm -Rf $build_dir $pkg_dir
File builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/config.h copied from file builders/dwm-0/config.h (similarity 95%) (mode: 100644) (index e3eb8a8..ba38892)
4 4 /* appearance */ /* appearance */
5 5 static const unsigned int borderpx = 4; /* border pixel of windows */ static const unsigned int borderpx = 4; /* border pixel of windows */
6 6 static const unsigned int snap = 32; /* snap pixel */ static const unsigned int snap = 32; /* snap pixel */
7 static const int showbar = 1; /* 0 means no bar */
7 static const int showbar = 0; /* 0 means no bar */
8 8 static const int topbar = 1; /* 0 means bottom bar */ static const int topbar = 1; /* 0 means bottom bar */
9 9 static const char *fonts[] = { "DejaVu Sans Mono:size=10" }; static const char *fonts[] = { "DejaVu Sans Mono:size=10" };
10 10 static const char dmenufont[] = "DejaVu Sans Mono:size=10"; static const char dmenufont[] = "DejaVu Sans Mono:size=10";
 
... ... static const Rule rules[] = {
31 31 // { "Gimp", NULL, NULL, 0, 1, -1 }, // { "Gimp", NULL, NULL, 0, 1, -1 },
32 32 // { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, // { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
33 33 { "Steam", NULL, NULL, 0, 0, -1 }, { "Steam", NULL, NULL, 0, 0, -1 },
34 { "MPlayer", NULL, NULL, 0, 1, -1 },
35 34 { "npv", NULL, NULL, 0, 1, -1 }, { "npv", NULL, NULL, 0, 1, -1 },
36 35 { NULL , NULL, "Celeste", 0, 1, -1 }, { NULL , NULL, "Celeste", 0, 1, -1 },
37 36 }; };
38 37
39 38 /* layout(s) */ /* layout(s) */
40 static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
39 static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
41 40 static const int nmaster = 1; /* number of clients in master area */ static const int nmaster = 1; /* number of clients in master area */
42 41 static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
42 static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
43 43
44 44 static const Layout layouts[] = { static const Layout layouts[] = {
45 45 /* symbol arrange function */ /* symbol arrange function */
 
... ... static const char *termcmd[] = { "/root/bin/dwm_st.sh", NULL };
70 70 static const char *linkscmd[] = { "/root/bin/dwm_links.sh", NULL }; static const char *linkscmd[] = { "/root/bin/dwm_links.sh", NULL };
71 71 static const char *bgcmd[] = { "/root/bin/dwm_bg.sh", NULL }; static const char *bgcmd[] = { "/root/bin/dwm_bg.sh", NULL };
72 72 static const char *bgtilecmd[] = { "/root/bin/dwm_bg_tile.sh", NULL }; static const char *bgtilecmd[] = { "/root/bin/dwm_bg_tile.sh", NULL };
73 static const char *norepcmd[] = { "/root/bin/x11keyautorepeat", NULL };
74 73
75 74 static Key keys[] = { static Key keys[] = {
76 75 /* modifier key function argument */ /* modifier key function argument */
 
... ... static Key keys[] = {
78 77 //{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, //{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
79 78 { 0, XF86XK_Calculator, spawn, {.v = termcmd } }, { 0, XF86XK_Calculator, spawn, {.v = termcmd } },
80 79 { 0, XF86XK_HomePage, spawn, {.v = linkscmd } }, { 0, XF86XK_HomePage, spawn, {.v = linkscmd } },
81 { ShiftMask, XF86XK_HomePage, spawn, {.v = norepcmd } },
82 80 { 0, XF86XK_Mail, spawn, {.v = bgcmd } }, { 0, XF86XK_Mail, spawn, {.v = bgcmd } },
83 81 { ShiftMask, XF86XK_Mail, spawn, {.v = bgtilecmd } }, { ShiftMask, XF86XK_Mail, spawn, {.v = bgtilecmd } },
84 82 { MODKEY|ShiftMask, XK_b, togglebar, {0} }, { MODKEY|ShiftMask, XK_b, togglebar, {0} },
File builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/dwm-actualfullscreen.diff copied from file builders/dwm-0/dwm-actualfullscreen-20191112-cb3f58a.diff (similarity 67%) (mode: 100644) (index 056be91..5cae649)
1 1 --- a/dwm.c --- a/dwm.c
2 2 +++ b/dwm.c +++ b/dwm.c
3 @@ -211,6 +211,7 @@ static void tagmon(const Arg *arg);
3 @@ -212,6 +212,7 @@ static void tagmon(const Arg *arg);
4 4 static void tile(Monitor *); static void tile(Monitor *);
5 5 static void togglebar(const Arg *arg); static void togglebar(const Arg *arg);
6 6 static void togglefloating(const Arg *arg); static void togglefloating(const Arg *arg);
 
8 8 static void toggletag(const Arg *arg); static void toggletag(const Arg *arg);
9 9 static void toggleview(const Arg *arg); static void toggleview(const Arg *arg);
10 10 static void unfocus(Client *c, int setfocus); static void unfocus(Client *c, int setfocus);
11 @@ -1719,6 +1720,13 @@ togglefloating(const Arg *arg)
11 @@ -1728,6 +1729,13 @@ togglefloating(const Arg *arg)
12 12 arrange(selmon); arrange(selmon);
13 13 } }
14 14
15 15 +void +void
16 16 +togglefullscr(const Arg *arg) +togglefullscr(const Arg *arg)
17 17 +{ +{
18 + if(selmon->sel)
19 + setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
18 + if(selmon->sel)
19 + setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
20 20 +} +}
21 21 + +
22 22 void void
23 23 toggletag(const Arg *arg) toggletag(const Arg *arg)
24 24 { {
25 2.17.1
26
File builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/builder.sh changed (mode: 100644) (index 9069740..0e238ef)
... ... $PATH\
20 20 target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)") target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)")
21 21 target_gnu_triple=${target_gnu_triple%-gcc} target_gnu_triple=${target_gnu_triple%-gcc}
22 22
23 cd $pkg_dir
24
23 25 if test x$git_commit != x; then if test x$git_commit != x; then
24 26 git checkout --force $git_commit git checkout --force $git_commit
25 27 git reset --hard git reset --hard
26 28 fi fi
27 29
28 cd $pkg_dir
29 30
30 31 # install our canonical build system from the contrib dir # install our canonical build system from the contrib dir
31 32 cp -rf $nyan_root/builders/$pkg_name/contrib $pkg_dir cp -rf $nyan_root/builders/$pkg_name/contrib $pkg_dir
File builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/builder.sh copied from file builders/st-4536f46cfff50c66a115755def0155d8e246b02f/builder.sh (similarity 100%)
File builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.h copied from file builders/st-4536f46cfff50c66a115755def0155d8e246b02f/config.h (similarity 99%) (mode: 100644) (index 4f29e23..65ff818)
... ... static const char *colorname[] = {
120 120 /* more colors can be added after 255 to use with DefaultXX */ /* more colors can be added after 255 to use with DefaultXX */
121 121 "#cccccc", "#cccccc",
122 122 "#555555", "#555555",
123 "gray90", /* default foreground colour */
124 "black", /* default background colour */
123 125 }; };
124 126
125 127
 
... ... static const char *colorname[] = {
127 129 * Default colors (colorname index) * Default colors (colorname index)
128 130 * foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
129 131 */ */
130 unsigned int defaultfg = 7;
131 unsigned int defaultbg = 0;
132 static unsigned int defaultcs = 256;
132 unsigned int defaultfg = 258;
133 unsigned int defaultbg = 259;
134 unsigned int defaultcs = 256;
133 135 static unsigned int defaultrcs = 257; static unsigned int defaultrcs = 257;
134 136
135 137 /* /*
File builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.h.invert copied from file builders/st-4536f46cfff50c66a115755def0155d8e246b02f/config.h.invert (similarity 99%) (mode: 100644) (index ea0c990..bab3c76)
... ... static const char *colorname[] = {
127 127 * Default colors (colorname index) * Default colors (colorname index)
128 128 * foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
129 129 */ */
130 unsigned int defaultbg = 7;
131 unsigned int defaultfg = 0;
130 unsigned int defaultfg = 259;
131 unsigned int defaultbg = 258;
132 unsigned int defaultcs = 257;
132 133 static unsigned int defaultrcs = 256; static unsigned int defaultrcs = 256;
133 static unsigned int defaultcs = 257;
134 134
135 135 /* /*
136 136 * Default shape of cursor * Default shape of cursor
File builders/st-baa9357e96d2478baa52a3301e70ac80a229b726/config.mk copied from file builders/st-4536f46cfff50c66a115755def0155d8e246b02f/config.mk (similarity 100%)
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main