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)
fontconfig to new nyan e8a5f66e460dc4c34b00b57eed4f0d6de8c4e1c4 Sylvain BERTRAND 2021-07-12 17:56:52
gfx stack update (gitlab is down) 02dd1da8bf3e061f61e229593daa90fd98bb1934 Sylvain BERTRAND 2021-07-11 12:41:28
gfx stack update 72d50ff8dd58e891bcd728c94fe31ac04eb30e45 Sylvain BERTRAND 2021-07-05 01:30:27
linux-amd: small cleanups d4cbff80ba420b244479c9a68bf7481eca4b7324 Sylvain BERTRAND 2021-07-02 19:57:40
gfx stack update 65fcedb981c9b6b601b4dbd283badb96c20e6046 Sylvain BERTRAND 2021-06-27 14:55:40
libpng to new nyan eb7d57cb73cf81182119fbed8ec1a8709b6a8a26 Sylvain BERTRAND 2021-06-26 13:10:39
bzip2 to new nyan 40af37d911798c7950c61b1391f8baeaa8839b6c Sylvain BERTRAND 2021-06-25 01:41:28
mutt to new nyan d497b7f9acee77342c6dca432fcc1bd0696715a3 Sylvain BERTRAND 2021-06-25 00:40:13
miniupnpc to new nyan dd4cf201c1b072384430cb6ea3c8f609c8cfc21a Sylvain BERTRAND 2021-06-24 21:14:38
libtool to new nyan 98cdc4c623b6de00ef0f60aa6d3f2a42a8d33a5e Sylvain BERTRAND 2021-06-24 19:48:02
automake to new nyan 7402408b2621a1ed85665f26841073575ad7d944 Sylvain BERTRAND 2021-06-24 19:33:09
autoconf to new nyan 52e700d38cb6ecfc6c1e37d920e5b089f652be66 Sylvain BERTRAND 2021-06-24 19:25:39
libffi/perl5/python3 to new nyan bf95e3edba98e9b33e63e7c7e11f54f1a7919a0a Sylvain BERTRAND 2021-06-24 16:13:25
openssh fixed 64 truncation and new nyan 8dc61ff35842cab7a6b835dc2ec46201e0d533d2 Sylvain BERTRAND 2021-06-24 12:21:19
sync linux config with current ncurses 018c21a2c1b298a7afde1e69aeece48e00d5291e Sylvain BERTRAND 2021-06-24 00:25:19
vim: new nyan 1d8ebb3757d0b421b9433c68b3e099020d39aba9 Sylvain BERTRAND 2021-06-23 19:35:27
towards the new nyan 34554e0757e39f9b8363b30148fc5ee6b4b429a2 Sylvain BERTRAND 2021-06-23 18:37:41
gfx stack update afaaadfdad869098a1a4eba62bca68afb9536b79 Sylvain BERTRAND 2021-06-23 01:04:53
drm: move to new nyan 1a416b7c38ea65998df66c171a2202e981bc1444 Sylvain BERTRAND 2021-06-22 15:47:05
quality of life for dealing with AMD devel linux 8ffca64c4d652517553a0495da1219dac5af4274 Sylvain BERTRAND 2021-06-21 19:02:41
Commit e8a5f66e460dc4c34b00b57eed4f0d6de8c4e1c4 - fontconfig to new nyan
Author: Sylvain BERTRAND
Author date (UTC): 2021-07-12 17:56
Committer name: Sylvain BERTRAND
Committer date (UTC): 2021-07-12 17:56
Parent(s): 02dd1da8bf3e061f61e229593daa90fd98bb1934
Signer:
Signing key:
Signing status: N
Tree: 9b9953c62d991023e4b132aa9c54582d530dcde7
File Lines added Lines deleted
builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/builder.sh 92 0
builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/contrib/orth.sh 0 0
builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/contrib/x86_64-glibc-expat-gcc.sh 8 16
File builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/builder.sh added (mode: 100644) (index 0000000..9069740)
1 src_name=fontconfig
2 git_commit=${pkg_name##*-}
3 slot=$git_commit
4 git_url0=https://gitlab.freedesktop.org/$src_name/$src_name.git
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
13 PATH_SAVED=$PATH
14 export PATH="\
15 /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\
16 /nyan/make/current/bin:\
17 /nyan/git/current/bin:\
18 $PATH\
19 "
20 target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)")
21 target_gnu_triple=${target_gnu_triple%-gcc}
22
23 if test x$git_commit != x; then
24 git checkout --force $git_commit
25 git reset --hard
26 fi
27
28 cd $pkg_dir
29
30 # install our canonical build system from the contrib dir
31 cp -rf $nyan_root/builders/$pkg_name/contrib $pkg_dir
32
33 build_dir=$builds_dir_root/$pkg_name
34 rm -Rf $build_dir
35 mkdir -p $build_dir
36 cd $build_dir
37
38 # create the build local configuration file
39 # the configuration can be augmented by fonts
40 # then must be shared
41 cat >$build_dir/local_conf.sh <<EOF
42 prefix=/nyan/fontconfig/$slot
43 default_fonts_dir=/share/fonts
44
45 expat_cppflags=-I/nyan/expat/current/include
46 expat_archives=libexpat.a
47 expat_ldflags=/nyan/expat/current/lib/libexpat.a
48
49 freetype_cppflags="\
50 -I/nyan/freetype/current/include/freetype2 \
51 \
52 -DHAVE_FT_GET_X11_FONT_FORMAT \
53 -DHAVE_FT_GET_BDF_PROPERTY \
54 -DHAVE_FT_GET_PS_FONT_INFO \
55 -DHAVE_FT_DONE_MM_VAR \
56 "
57 freetype_ldflags=/nyan/freetype/current/lib/libfreetype.so
58
59 host_cc="$target_gnu_triple-gcc -pipe -fPIC -O2 -c -static-libgcc \
60 -isystem /nyan/glibc/current/include \
61 -isystem /nyan/linux-headers/current/include"
62
63 host_ccld="$target_gnu_triple-gcc -pipe -fPIC -static-libgcc \
64 -B/nyan/glibc/current/lib -Wl,-s"
65 host_rpath_link=/nyan/glibc/current/lib:/nyan/freetype/current/lib
66
67 build_ccld="$target_gnu_triple-gcc -pipe -O2 -static-libgcc \
68 -isystem /nyan/glibc/current/include \
69 -isystem /nyan/linux-headers/current/include \
70 -B/nyan/glibc/current/lib \
71 -DFLEXIBLE_ARRAY_MEMBER"
72
73 cpp="$target_gnu_triple-gcc -E \
74 -isystem /nyan/glibc/current/include \
75 -isystem /nyan/linux-headers/current/include"
76
77 gperf="/nyan/gperf/current/bin/gperf"
78 gperf_cppflags="\
79 -DFC_GPERF_SIZE_T=size_t \
80 "
81
82 awk=/nyan/busybox/current/bin/awk
83 EOF
84
85 $pkg_dir/contrib/x86_64-glibc-expat-gcc.sh
86
87 cp -rf $build_dir/fakeroot/* /
88
89 export PATH=$PATH_SAVED
90 unset PATH_SAVED
91 unset target_gnu_triple
92 rm -Rf $build_dir $pkg_dir
File builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/contrib/orth.sh copied from file builders/fontconfig-1/contrib/orth.sh (similarity 100%)
File builders/fontconfig-452be8125f0e2a18a7dfef469e05d19374d36307/contrib/x86_64-glibc-expat-gcc.sh copied from file builders/fontconfig-1/contrib/x86_64-glibc-expat-gcc.sh (similarity 96%) (mode: 100755) (index 457200f..9adbec8)
6 6
7 7
8 8 #=============================================================================== #===============================================================================
9 set -e
10 9 version=2.13.91 version=2.13.91
11 10 # current = 13 # current = 13
12 11 # revision = 0 # revision = 0
 
... ... echo '#include <stdint.h>' >$build_dir/fcstdint.h
155 154
156 155 #=============================================================================== #===============================================================================
157 156 if test "${host_cc-unset}" = unset; then if test "${host_cc-unset}" = unset; then
158 host_cc="gcc -pipe -fPIC -O2 -c -static-libgcc \
159 -I/nyan/glibc/current/include-linux"
157 host_cc="gcc -pipe -fPIC -O2 -c -static-libgcc"
160 158 fi fi
161 159
162 160 if test "${host_ccld-unset}" = unset; then if test "${host_ccld-unset}" = unset; then
163 host_ccld="gcc -pipe -fPIC -static-libgcc \
164 -B/nyan/glibc/current/lib"
161 host_ccld="gcc -pipe -fPIC -static-libgcc"
165 162 fi fi
166 163
167 164 if test "${host_rpath_link-unset}" = unset; then if test "${host_rpath_link-unset}" = unset; then
 
... ... fi
173 170 #=============================================================================== #===============================================================================
174 171 if test "${build_ccld-unset}" = unset; then if test "${build_ccld-unset}" = unset; then
175 172 build_ccld="gcc -pipe -O2 -static-libgcc \ build_ccld="gcc -pipe -O2 -static-libgcc \
176 -I/nyan/glibc/current/include-linux \
177 -DFLEXIBLE_ARRAY_MEMBER \
178 -B/nyan/glibc/current/lib"
173 -DFLEXIBLE_ARRAY_MEMBER"
179 174 fi fi
180 175 #=============================================================================== #===============================================================================
181 176
 
... ... fi
199 194
200 195 #=============================================================================== #===============================================================================
201 196 if test "${awk-unset}" = unset; then if test "${awk-unset}" = unset; then
202 awk="/nyan/gawk/current/bin/awk"
197 awk="/nyan/busybox/current/bin/awk"
203 198 fi fi
204 199 #=============================================================================== #===============================================================================
205 200
 
... ... $build_dir/fc-lang/fc-lang -d $src_dir/fc-lang $ORTH \
249 244
250 245
251 246 #=============================================================================== #===============================================================================
252 # fcobjshash.h generation (should code one a cheap one, not expansive like this
253 # one
254 247 echo "GEN fcobjshash.h" echo "GEN fcobjshash.h"
255 $cpp -I$src_dir -I$src_dir/src <$src_dir/src/fcobjshash.gperf.h \
248 $cpp -I$src_dir -I$src_dir/src - <$src_dir/src/fcobjshash.gperf.h \
256 249 | sed 's/^ *//;s/ *, */,/' \ | sed 's/^ *//;s/ *, */,/' \
257 250 | $awk ' \ | $awk ' \
258 251 /CUT_OUT_BEGIN/ { no_write=1; next; }; \ /CUT_OUT_BEGIN/ { no_write=1; next; }; \
 
... ... $cpp -I$src_dir -I$src_dir/src <$src_dir/src/fcobjshash.gperf.h \
260 253 /^$/||/^#/ { next; }; \ /^$/||/^#/ { next; }; \
261 254 { if (!no_write) print; next; }; \ { if (!no_write) print; next; }; \
262 255 ' - >$build_dir/fcobjshash.gperf ' - >$build_dir/fcobjshash.gperf
263 $gperf --pic -m 100 $build_dir/fcobjshash.gperf >$build_dir/fcobjshash.h
256 $gperf -d --pic -m 100 $build_dir/fcobjshash.gperf >$build_dir/fcobjshash.h 2>/run/e
264 257 #=============================================================================== #===============================================================================
265 258
266 259
 
... ... wait
399 392 echo "CCLD $lib_name" echo "CCLD $lib_name"
400 393 mkdir -p $build_dir/fakeroot$lib_dir mkdir -p $build_dir/fakeroot$lib_dir
401 394
402 gcc -o $build_dir/fakeroot$lib_dir/$lib_name -Wl,-soname=$soname \
403 -shared -static-libgcc \
404 -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib \
395 $host_ccld -o $build_dir/fakeroot$lib_dir/$lib_name -Wl,-soname=$soname \
396 -shared \
405 397 -Wl,-rpath-link,$host_rpath_link \ -Wl,-rpath-link,$host_rpath_link \
406 398 -Wl,--no-undefined,--gc-sections,--version-script=$build_dir/fontconfig.map \ -Wl,--no-undefined,--gc-sections,--version-script=$build_dir/fontconfig.map \
407 399 $libfontconfig_c_objs \ $libfontconfig_c_objs \
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