Updated some stuff

This commit is contained in:
Ella-0 2021-02-03 13:03:52 +00:00
parent 89caa8b7c9
commit d39936edde
16 changed files with 496 additions and 104 deletions

View file

@ -23,9 +23,10 @@ find_fail() {
} }
continue_interactive() { continue_interactive() {
read -p "Do you wish to proceed?: " yn printf '%s' "Do you wish to proceed?: "
read yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) echo "Proceeding";;
[Nn]* ) exit;; [Nn]* ) exit;;
* ) exit;; * ) exit;;
esac esac
@ -113,6 +114,7 @@ elif [ "$iu" = "1" ]; then
case $(stat -c "%F" /$file) in case $(stat -c "%F" /$file) in
directory) rmdir 2>/dev/null /$file;; directory) rmdir 2>/dev/null /$file;;
"regular file") rm /$file;; "regular file") rm /$file;;
"symbolic link") rm /$file;;
*) break;; *) break;;
esac esac
fi fi
@ -153,7 +155,8 @@ elif [ "$u" = "1" ]; then
case $(stat -c "%F" /$file) in case $(stat -c "%F" /$file) in
directory) rmdir 2>/dev/null /$file;; directory) rmdir 2>/dev/null /$file;;
"regular file") rm /$file;; "regular file") rm /$file;;
*) break;; "symbolic link") rm /$file;;
*) echo "can't remove $file";;
esac esac
done done
fi fi

View file

@ -5,7 +5,7 @@ export RUSTFLAGS="-C target-feature=-crt-static"
export CC=clang export CC=clang
export CXX=clang++ export CXX=clang++
stat /etc/lazypkg.conf > /dev/null 2> /dev/null && . /etc/lazypkg.conf stat /etc/lazypkg.conf > /dev/null 2> /dev/null || . /etc/lazypkg.conf
export SAMUFLAGS=-j$JOBS export SAMUFLAGS=-j$JOBS
export MAKEFLAGS=-j$JOBS export MAKEFLAGS=-j$JOBS

View file

@ -68,6 +68,7 @@ package() {
rm $pkgdir/bin/sleep rm $pkgdir/bin/sleep
rm $pkgdir/bin/stat rm $pkgdir/bin/stat
rm $pkgdir/bin/su rm $pkgdir/bin/su
rm $pkgdir/bin/sh
rm $pkgdir/bin/sync rm $pkgdir/bin/sync
rm $pkgdir/bin/touch rm $pkgdir/bin/touch
rm $pkgdir/bin/true rm $pkgdir/bin/true

View file

@ -38,6 +38,7 @@ package_dev() {
rm -r $pkgdir/usr/bin rm -r $pkgdir/usr/bin
rm $pkgdir/usr/lib/*.so rm $pkgdir/usr/lib/*.so
rm $pkgdir/usr/lib/*.so.* rm $pkgdir/usr/lib/*.so.*
env
} }
license() { license() {

35
pkgs/distcc/build.sh Normal file
View file

@ -0,0 +1,35 @@
pkgname=distcc
pkgver=3.3.5
bad="gmake"
fetch() {
curl -L "https://github.com/distcc/distcc/releases/download/v$pkgver/distcc-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=x86_64-unknown-linux-musl \
--host=x86_64-unknown-linux-musl \
--without-libiberty
gmake
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
install -d $pkgdir/usr/lib/distcc
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/cc
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c89
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c99
ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/c++
}
license() {
cd $pkgname-$pkgver
cat COPYING
}

31
pkgs/fontconfig/build.sh Normal file
View file

@ -0,0 +1,31 @@
pkgname=fontconfig
pkgver=2.13.93
fetch() {
curl "https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.93.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../fcobjshash.h $pkgname-$pkgver/src
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}

View file

@ -0,0 +1,347 @@
/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: /root/gperf-3.1/src/gperf --pic -m 100 --output-file src/fcobjshash.h src/fcobjshash.gperf */
/* Computed positions: -k'3,5' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
&& (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
&& ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
&& ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
&& ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
&& ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
&& ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
&& ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
&& ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
&& ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
&& ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
&& ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
&& ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
&& ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
&& ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
&& ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
&& ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
&& ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
&& ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
&& ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
&& ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
&& ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646. */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
#endif
#line 1 "src/fcobjshash.gperf"
#line 13 "src/fcobjshash.gperf"
struct FcObjectTypeInfo {
int name;
int id;
};
#include <string.h>
/* maximum key range = 59, duplicates = 0 */
#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
FcObjectTypeHash (register const char *str, register size_t len)
{
static const unsigned char asso_values[] =
{
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 4, 10, 32,
21, 29, 28, 49, 14, 4, 66, 66, 5, 31,
18, 22, 27, 66, 15, 9, 8, 23, 23, 13,
23, 16, 4, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
66, 66, 66, 66, 66, 66
};
register unsigned int hval = len;
switch (hval)
{
default:
hval += asso_values[(unsigned char)str[4]];
/*FALLTHROUGH*/
case 4:
case 3:
hval += asso_values[(unsigned char)str[2]];
break;
}
return hval;
}
struct FcObjectTypeNamePool_t
{
char FcObjectTypeNamePool_str7[sizeof("dpi")];
char FcObjectTypeNamePool_str8[sizeof("size")];
char FcObjectTypeNamePool_str9[sizeof("file")];
char FcObjectTypeNamePool_str13[sizeof("hash")];
char FcObjectTypeNamePool_str14[sizeof("rgba")];
char FcObjectTypeNamePool_str15[sizeof("spacing")];
char FcObjectTypeNamePool_str16[sizeof("scalable")];
char FcObjectTypeNamePool_str17[sizeof("slant")];
char FcObjectTypeNamePool_str18[sizeof("matrix")];
char FcObjectTypeNamePool_str19[sizeof("outline")];
char FcObjectTypeNamePool_str20[sizeof("charset")];
char FcObjectTypeNamePool_str21[sizeof("antialias")];
char FcObjectTypeNamePool_str22[sizeof("lang")];
char FcObjectTypeNamePool_str23[sizeof("embolden")];
char FcObjectTypeNamePool_str24[sizeof("weight")];
char FcObjectTypeNamePool_str25[sizeof("color")];
char FcObjectTypeNamePool_str26[sizeof("charwidth")];
char FcObjectTypeNamePool_str27[sizeof("variable")];
char FcObjectTypeNamePool_str28[sizeof("charheight")];
char FcObjectTypeNamePool_str29[sizeof("hinting")];
char FcObjectTypeNamePool_str30[sizeof("autohint")];
char FcObjectTypeNamePool_str31[sizeof("fullname")];
char FcObjectTypeNamePool_str32[sizeof("postscriptname")];
char FcObjectTypeNamePool_str33[sizeof("verticallayout")];
char FcObjectTypeNamePool_str34[sizeof("lcdfilter")];
char FcObjectTypeNamePool_str35[sizeof("fullnamelang")];
char FcObjectTypeNamePool_str36[sizeof("hintstyle")];
char FcObjectTypeNamePool_str37[sizeof("pixelsize")];
char FcObjectTypeNamePool_str38[sizeof("scale")];
char FcObjectTypeNamePool_str39[sizeof("globaladvance")];
char FcObjectTypeNamePool_str40[sizeof("width")];
char FcObjectTypeNamePool_str41[sizeof("order")];
char FcObjectTypeNamePool_str42[sizeof("family")];
char FcObjectTypeNamePool_str43[sizeof("fonthashint")];
char FcObjectTypeNamePool_str44[sizeof("namelang")];
char FcObjectTypeNamePool_str45[sizeof("embeddedbitmap")];
char FcObjectTypeNamePool_str46[sizeof("familylang")];
char FcObjectTypeNamePool_str47[sizeof("capability")];
char FcObjectTypeNamePool_str48[sizeof("rasterizer")];
char FcObjectTypeNamePool_str49[sizeof("index")];
char FcObjectTypeNamePool_str50[sizeof("style")];
char FcObjectTypeNamePool_str51[sizeof("foundry")];
char FcObjectTypeNamePool_str52[sizeof("fontversion")];
char FcObjectTypeNamePool_str53[sizeof("minspace")];
char FcObjectTypeNamePool_str54[sizeof("stylelang")];
char FcObjectTypeNamePool_str55[sizeof("fontvariations")];
char FcObjectTypeNamePool_str56[sizeof("fontformat")];
char FcObjectTypeNamePool_str57[sizeof("decorative")];
char FcObjectTypeNamePool_str58[sizeof("fontfeatures")];
char FcObjectTypeNamePool_str59[sizeof("symbol")];
char FcObjectTypeNamePool_str60[sizeof("prgname")];
char FcObjectTypeNamePool_str65[sizeof("aspect")];
};
static const struct FcObjectTypeNamePool_t FcObjectTypeNamePool_contents =
{
"dpi",
"size",
"file",
"hash",
"rgba",
"spacing",
"scalable",
"slant",
"matrix",
"outline",
"charset",
"antialias",
"lang",
"embolden",
"weight",
"color",
"charwidth",
"variable",
"charheight",
"hinting",
"autohint",
"fullname",
"postscriptname",
"verticallayout",
"lcdfilter",
"fullnamelang",
"hintstyle",
"pixelsize",
"scale",
"globaladvance",
"width",
"order",
"family",
"fonthashint",
"namelang",
"embeddedbitmap",
"familylang",
"capability",
"rasterizer",
"index",
"style",
"foundry",
"fontversion",
"minspace",
"stylelang",
"fontvariations",
"fontformat",
"decorative",
"fontfeatures",
"symbol",
"prgname",
"aspect"
};
#define FcObjectTypeNamePool ((const char *) &FcObjectTypeNamePool_contents)
const struct FcObjectTypeInfo *
FcObjectTypeLookup (register const char *str, register size_t len)
{
enum
{
TOTAL_KEYWORDS = 52,
MIN_WORD_LENGTH = 3,
MAX_WORD_LENGTH = 14,
MIN_HASH_VALUE = 7,
MAX_HASH_VALUE = 65
};
static const struct FcObjectTypeInfo wordlist[] =
{
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 43 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str7,FC_DPI_OBJECT},
#line 27 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str8,FC_SIZE_OBJECT},
#line 38 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str9,FC_FILE_OBJECT},
{-1}, {-1}, {-1},
#line 62 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str13,FC_HASH_OBJECT},
#line 44 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str14,FC_RGBA_OBJECT},
#line 30 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str15,FC_SPACING_OBJECT},
#line 42 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str16,FC_SCALABLE_OBJECT},
#line 24 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str17,FC_SLANT_OBJECT},
#line 49 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str18,FC_MATRIX_OBJECT},
#line 41 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str19,FC_OUTLINE_OBJECT},
#line 50 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str20,FC_CHARSET_OBJECT},
#line 32 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str21,FC_ANTIALIAS_OBJECT},
#line 51 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str22,FC_LANG_OBJECT},
#line 55 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str23,FC_EMBOLDEN_OBJECT},
#line 25 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str24,FC_WEIGHT_OBJECT},
#line 64 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str25,FC_COLOR_OBJECT},
#line 47 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str26,FC_CHARWIDTH_OBJECT},
#line 67 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str27,FC_VARIABLE_OBJECT},
#line 48 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str28,FC_CHAR_HEIGHT_OBJECT},
#line 34 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str29,FC_HINTING_OBJECT},
#line 36 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str30,FC_AUTOHINT_OBJECT},
#line 22 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str31,FC_FULLNAME_OBJECT},
#line 63 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str32,FC_POSTSCRIPT_NAME_OBJECT},
#line 35 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str33,FC_VERTICAL_LAYOUT_OBJECT},
#line 58 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str34,FC_LCD_FILTER_OBJECT},
#line 23 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str35,FC_FULLNAMELANG_OBJECT},
#line 33 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str36,FC_HINT_STYLE_OBJECT},
#line 29 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str37,FC_PIXEL_SIZE_OBJECT},
#line 45 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str38,FC_SCALE_OBJECT},
#line 37 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str39,FC_GLOBAL_ADVANCE_OBJECT},
#line 26 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str40,FC_WIDTH_OBJECT},
#line 69 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str41,FC_ORDER_OBJECT},
#line 18 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str42,FC_FAMILY_OBJECT},
#line 68 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str43,FC_FONT_HAS_HINT_OBJECT},
#line 59 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str44,FC_NAMELANG_OBJECT},
#line 56 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_EMBEDDED_BITMAP_OBJECT},
#line 19 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str46,FC_FAMILYLANG_OBJECT},
#line 53 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str47,FC_CAPABILITY_OBJECT},
#line 40 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str48,FC_RASTERIZER_OBJECT},
#line 39 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str49,FC_INDEX_OBJECT},
#line 20 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str50,FC_STYLE_OBJECT},
#line 31 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str51,FC_FOUNDRY_OBJECT},
#line 52 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str52,FC_FONTVERSION_OBJECT},
#line 46 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str53,FC_MINSPACE_OBJECT},
#line 21 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str54,FC_STYLELANG_OBJECT},
#line 66 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str55,FC_FONT_VARIATIONS_OBJECT},
#line 54 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str56,FC_FONTFORMAT_OBJECT},
#line 57 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str57,FC_DECORATIVE_OBJECT},
#line 60 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str58,FC_FONT_FEATURES_OBJECT},
#line 65 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str59,FC_SYMBOL_OBJECT},
#line 61 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str60,FC_PRGNAME_OBJECT},
{-1}, {-1}, {-1}, {-1},
#line 28 "src/fcobjshash.gperf"
{(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str65,FC_ASPECT_OBJECT}
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
register unsigned int key = FcObjectTypeHash (str, len);
if (key <= MAX_HASH_VALUE)
{
register int o = wordlist[key].name;
if (o >= 0)
{
register const char *s = o + FcObjectTypeNamePool;
if (*str == *s && !strcmp (str + 1, s + 1))
return &wordlist[key];
}
}
}
return 0;
}

View file

@ -0,0 +1,23 @@
pkgname=gettext-tiny
pkgver=master
fetch() {
curl -L "https://github.com/sabotage-linux/gettext-tiny/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
ckati
}
package() {
cd $pkgname-$pkgver
ckati install DESTDIR=$pkgdir PREFIX=/usr
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}

View file

@ -16,10 +16,10 @@ fetch() {
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
#gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ YACC=yacc LLVM_IAS=1 defconfig #gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ YACC=yacc LLVM_IAS=1 defconfig
gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ YACC=yacc LLVM_IAS=1 oldconfig gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ LEX=lex YACC=yacc LLVM_IAS=1 oldconfig
gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ YACC=yacc LLVM_IAS=1 menuconfig gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ LEX=lex YACC=yacc LLVM_IAS=1 menuconfig
cp .config ../../x86_64.config.new cp .config ../../x86_64.config.new
gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ YACC=yacc LLVM_IAS=1 gmake CC=cc CXX=c++ HOSTCC=cc HOSTCXX=c++ LEX=lex YACC=yacc LLVM_IAS=1
} }
package() { package() {

View file

@ -1,8 +1,8 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/x86 5.10.11 Kernel Configuration # Linux/x86 5.10.7 Kernel Configuration
# #
CONFIG_CC_VERSION_TEXT="LazyBox clang version 11.0.1" CONFIG_CC_VERSION_TEXT="Abyss OS clang version 11.0.1"
CONFIG_GCC_VERSION=0 CONFIG_GCC_VERSION=0
CONFIG_LD_VERSION=0 CONFIG_LD_VERSION=0
CONFIG_CC_IS_CLANG=y CONFIG_CC_IS_CLANG=y
@ -13,7 +13,6 @@ CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_CAN_LINK_STATIC=y
CONFIG_CC_HAS_ASM_GOTO=y CONFIG_CC_HAS_ASM_GOTO=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_IRQ_WORK=y CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_BUILDTIME_TABLE_SORT=y
@ -858,7 +857,6 @@ CONFIG_ARCH_HAS_PTE_SPECIAL=y
# end of Memory Management options # end of Memory Management options
CONFIG_NET=y CONFIG_NET=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y CONFIG_NET_INGRESS=y
CONFIG_SKB_EXTENSIONS=y CONFIG_SKB_EXTENSIONS=y
@ -1190,11 +1188,6 @@ CONFIG_NET_FLOW_LIMIT=y
# CONFIG_AF_KCM is not set # CONFIG_AF_KCM is not set
CONFIG_FIB_RULES=y CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
CONFIG_CFG80211=y CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set # CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
@ -1203,13 +1196,7 @@ CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set # CONFIG_CFG80211_DEBUGFS is not set
CONFIG_CFG80211_CRDA_SUPPORT=y CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_WEXT=y # CONFIG_CFG80211_WEXT is not set
CONFIG_CFG80211_WEXT_EXPORT=y
CONFIG_LIB80211=y
CONFIG_LIB80211_CRYPT_WEP=y
CONFIG_LIB80211_CRYPT_CCMP=y
CONFIG_LIB80211_CRYPT_TKIP=y
# CONFIG_LIB80211_DEBUG is not set
CONFIG_MAC80211=y CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y CONFIG_MAC80211_RC_MINSTREL=y
@ -1346,9 +1333,7 @@ CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_CACHE=y CONFIG_FW_CACHE=y
# end of Firmware loader # end of Firmware loader
CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DRIVER is not set
CONFIG_DEBUG_DEVRES=y CONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set # CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
@ -1982,7 +1967,6 @@ CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_WIL6210 is not set # CONFIG_WIL6210 is not set
# CONFIG_ATH10K is not set # CONFIG_ATH10K is not set
# CONFIG_WCN36XX is not set # CONFIG_WCN36XX is not set
# CONFIG_ATH11K is not set
CONFIG_WLAN_VENDOR_ATMEL=y CONFIG_WLAN_VENDOR_ATMEL=y
# CONFIG_ATMEL is not set # CONFIG_ATMEL is not set
# CONFIG_AT76C50X_USB is not set # CONFIG_AT76C50X_USB is not set
@ -1995,40 +1979,11 @@ CONFIG_WLAN_VENDOR_CISCO=y
# CONFIG_AIRO is not set # CONFIG_AIRO is not set
# CONFIG_AIRO_CS is not set # CONFIG_AIRO_CS is not set
CONFIG_WLAN_VENDOR_INTEL=y CONFIG_WLAN_VENDOR_INTEL=y
CONFIG_IPW2100=y # CONFIG_IPW2100 is not set
CONFIG_IPW2100_MONITOR=y # CONFIG_IPW2200 is not set
CONFIG_IPW2100_DEBUG=y # CONFIG_IWL4965 is not set
CONFIG_IPW2200=y # CONFIG_IWL3945 is not set
CONFIG_IPW2200_MONITOR=y # CONFIG_IWLWIFI is not set
CONFIG_IPW2200_RADIOTAP=y
CONFIG_IPW2200_PROMISCUOUS=y
CONFIG_IPW2200_QOS=y
CONFIG_IPW2200_DEBUG=y
CONFIG_LIBIPW=y
CONFIG_LIBIPW_DEBUG=y
CONFIG_IWLEGACY=y
CONFIG_IWL4965=y
CONFIG_IWL3945=y
#
# iwl3945 / iwl4965 Debugging Options
#
CONFIG_IWLEGACY_DEBUG=y
# end of iwl3945 / iwl4965 Debugging Options
CONFIG_IWLWIFI=y
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=y
CONFIG_IWLMVM=y
CONFIG_IWLWIFI_BCAST_FILTERING=y
#
# Debugging Options
#
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLWIFI_DEVICE_TRACING=y
# end of Debugging Options
CONFIG_WLAN_VENDOR_INTERSIL=y CONFIG_WLAN_VENDOR_INTERSIL=y
# CONFIG_HOSTAP is not set # CONFIG_HOSTAP is not set
# CONFIG_HERMES is not set # CONFIG_HERMES is not set
@ -2899,9 +2854,6 @@ CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100 CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set # CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_DRM_DP_CEC is not set # CONFIG_DRM_DP_CEC is not set
CONFIG_DRM_TTM=y
CONFIG_DRM_TTM_DMA_PAGE_POOL=y
CONFIG_DRM_VM=y
# #
# I2C encoder or helper chips # I2C encoder or helper chips
@ -2919,13 +2871,7 @@ CONFIG_DRM_VM=y
# CONFIG_DRM_RADEON is not set # CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set # CONFIG_DRM_AMDGPU is not set
CONFIG_DRM_NOUVEAU=y # CONFIG_DRM_NOUVEAU is not set
CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=y
CONFIG_NOUVEAU_DEBUG=5
CONFIG_NOUVEAU_DEBUG_DEFAULT=3
CONFIG_NOUVEAU_DEBUG_MMU=y
CONFIG_NOUVEAU_DEBUG_PUSH=y
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
CONFIG_DRM_I915=y CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE="" CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y CONFIG_DRM_I915_CAPTURE_ERROR=y
@ -2969,14 +2915,7 @@ CONFIG_DRM_PANEL_BRIDGE=y
# CONFIG_DRM_CIRRUS_QEMU is not set # CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_GM12U320 is not set # CONFIG_DRM_GM12U320 is not set
# CONFIG_DRM_VBOXVIDEO is not set # CONFIG_DRM_VBOXVIDEO is not set
CONFIG_DRM_LEGACY=y # CONFIG_DRM_LEGACY is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
# #
@ -3711,37 +3650,24 @@ CONFIG_VHOST_MENU=y
# CONFIG_GREYBUS is not set # CONFIG_GREYBUS is not set
# CONFIG_STAGING is not set # CONFIG_STAGING is not set
CONFIG_X86_PLATFORM_DEVICES=y CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_ACPI_WMI=y # CONFIG_ACPI_WMI is not set
CONFIG_WMI_BMOF=y
# CONFIG_ALIENWARE_WMI is not set
# CONFIG_HUAWEI_WMI is not set
# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set
CONFIG_MXM_WMI=y
# CONFIG_PEAQ_WMI is not set
# CONFIG_XIAOMI_WMI is not set
# CONFIG_ACERHDF is not set # CONFIG_ACERHDF is not set
# CONFIG_ACER_WIRELESS is not set # CONFIG_ACER_WIRELESS is not set
# CONFIG_ACER_WMI is not set
# CONFIG_APPLE_GMUX is not set # CONFIG_APPLE_GMUX is not set
# CONFIG_ASUS_LAPTOP is not set # CONFIG_ASUS_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set # CONFIG_ASUS_WIRELESS is not set
# CONFIG_ASUS_WMI is not set
CONFIG_EEEPC_LAPTOP=y CONFIG_EEEPC_LAPTOP=y
# CONFIG_DCDBAS is not set # CONFIG_DCDBAS is not set
# CONFIG_DELL_SMBIOS is not set # CONFIG_DELL_SMBIOS is not set
# CONFIG_DELL_RBTN is not set # CONFIG_DELL_RBTN is not set
# CONFIG_DELL_RBU is not set # CONFIG_DELL_RBU is not set
# CONFIG_DELL_SMO8800 is not set # CONFIG_DELL_SMO8800 is not set
# CONFIG_DELL_WMI_AIO is not set
# CONFIG_DELL_WMI_LED is not set
# CONFIG_AMILO_RFKILL is not set # CONFIG_AMILO_RFKILL is not set
# CONFIG_FUJITSU_LAPTOP is not set # CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set # CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set # CONFIG_GPD_POCKET_FAN is not set
# CONFIG_HP_ACCEL is not set # CONFIG_HP_ACCEL is not set
# CONFIG_HP_WIRELESS is not set # CONFIG_HP_WIRELESS is not set
# CONFIG_HP_WMI is not set
# CONFIG_IBM_RTL is not set # CONFIG_IBM_RTL is not set
# CONFIG_IDEAPAD_LAPTOP is not set # CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_SENSORS_HDAPS is not set # CONFIG_SENSORS_HDAPS is not set
@ -3754,15 +3680,12 @@ CONFIG_EEEPC_LAPTOP=y
# CONFIG_SURFACE_3_POWER_OPREGION is not set # CONFIG_SURFACE_3_POWER_OPREGION is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set # CONFIG_SURFACE_PRO3_BUTTON is not set
# CONFIG_MSI_LAPTOP is not set # CONFIG_MSI_LAPTOP is not set
# CONFIG_MSI_WMI is not set
# CONFIG_SAMSUNG_LAPTOP is not set # CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set # CONFIG_SAMSUNG_Q10 is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set # CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set # CONFIG_TOSHIBA_HAPS is not set
# CONFIG_TOSHIBA_WMI is not set
# CONFIG_ACPI_CMPC is not set # CONFIG_ACPI_CMPC is not set
# CONFIG_COMPAL_LAPTOP is not set # CONFIG_COMPAL_LAPTOP is not set
# CONFIG_LG_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set # CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set # CONFIG_SONY_LAPTOP is not set
# CONFIG_SYSTEM76_ACPI is not set # CONFIG_SYSTEM76_ACPI is not set
@ -4323,7 +4246,7 @@ CONFIG_CRYPTO_GHASH=y
# CONFIG_CRYPTO_POLY1305_X86_64 is not set # CONFIG_CRYPTO_POLY1305_X86_64 is not set
# CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_MICHAEL_MIC=y # CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set # CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD256 is not set
@ -4571,8 +4494,7 @@ CONFIG_FRAME_WARN=2048
# CONFIG_HEADERS_INSTALL is not set # CONFIG_HEADERS_INSTALL is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set # CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_FRAME_POINTER=y # CONFIG_STACK_VALIDATION is not set
CONFIG_STACK_VALIDATION=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options # end of Compile-time checks and compiler options

View file

@ -14,8 +14,6 @@ build() {
mkdir -p build mkdir -p build
cd build cd build
cmake -G Ninja -Wno-dev \ cmake -G Ninja -Wno-dev \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER_TARGET=x86_64-musl-linux-musl \ -DCMAKE_C_COMPILER_TARGET=x86_64-musl-linux-musl \
-DCMAKE_CXX_COMPILER_TARGET=x86_64-musl-linux-musl \ -DCMAKE_CXX_COMPILER_TARGET=x86_64-musl-linux-musl \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
@ -89,7 +87,7 @@ build() {
-DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=TRUE \ -DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=TRUE \
../llvm ../llvm
samu samu -j$JOBS
} }
package() { package() {

View file

@ -18,7 +18,6 @@ build() {
cd build cd build
meson .. \ meson .. \
--prefix=/usr \ --prefix=/usr \
--buildtype=release \
-Dplatforms=wayland \ -Dplatforms=wayland \
-Ddri3=true \ -Ddri3=true \
-Ddri-drivers=i915,i965 \ -Ddri-drivers=i915,i965 \

View file

@ -22,6 +22,7 @@ package() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir gmake install DESTDIR=$pkgdir
rm -r $pkgdir/usr/include rm -r $pkgdir/usr/include
install -d $pkgdir/usr/bin
ln -sr $pkgdir/lib/ld-musl*.so? $pkgdir/usr/bin/ldd ln -sr $pkgdir/lib/ld-musl*.so? $pkgdir/usr/bin/ldd
} }

View file

@ -11,7 +11,7 @@ build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
cd build cd build
meson .. \ meson .. \
--buildtype=release \ --buildtype=debug \
--prefix=/usr --prefix=/usr
samu samu
} }

View file

@ -27,7 +27,8 @@ package() {
# ln -sr $pkgdir/bin/toybox $pkgdir/usr/bin/lspci # ln -sr $pkgdir/bin/toybox $pkgdir/usr/bin/lspci
gmake PREFIX=$pkgdir install gmake PREFIX=$pkgdir install
rm $pkgidr/usr/bin/clear rm $pkgdir/usr/bin/clear
rm $pkgdir/usr/bin/tar
} }
license() { license() {

30
pkgs/zig/build.sh Normal file
View file

@ -0,0 +1,30 @@
pkgname=zig
pkgver=0.7.1
fetch() {
curl -L "https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
cmake -G Ninja ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}