From cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 21 Feb 2023 15:06:12 +0100 Subject: x+binpkg --- etc/portage/make.conf | 11 +++-------- etc/portage/package.accept_keywords/conf | 1 + root/.Xmodmap | 5 +++++ root/.xinitrc | 5 +++++ root/.xprofile | 8 ++++++++ root/posodobi.sh | 2 +- root/xkb/map | 7 +++++++ root/xkb/symbols/sijanec | 11 +++++++++++ 8 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 root/.Xmodmap create mode 100755 root/.xinitrc create mode 100755 root/.xprofile create mode 100644 root/xkb/map create mode 100644 root/xkb/symbols/sijanec diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 12c84bf..e7a25bd 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -1,15 +1,9 @@ PORTAGE_SCHEDULING_POLICY="idle" - -# -march=native NE SME BITI NA distcc iz očitnih razlogov -# uporabi resolve-march-native -COMMON_FLAGS="-ggdb3 -O2 $([ `cat /proc/meminfo | grep MemTotal | sed -e 's/ *//g' | cut -d: -f2 | cut -dk -f1` -ge 5000000 ] && echo -pipe)" # $(resolve-march-native) -# -pipe rabi RAM +COMMON_FLAGS="-ggdb3 -O2 -pipe -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32" # intersection of varovalka and b CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" - -# NOTE: This stage was built with the bindist Use flag enabled PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" PKGDIR="/var/cache/binpkgs" @@ -74,5 +68,6 @@ SIGNED_OFF_BY="Anton Luka Šijanec " L10N="sl en de hr si" -FEATURES="nostrip distcc" +FEATURES="nostrip distcc getbinpkg buildpkg" PHP_TARGETS="php8-1" +BINPKG_FORMAT="gpkg" diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf index 071260b..71b35e4 100644 --- a/etc/portage/package.accept_keywords/conf +++ b/etc/portage/package.accept_keywords/conf @@ -16,3 +16,4 @@ net-misc/xrdp ~* dev-util/rz-ghidra ~* www-apps/hugo ~* net-wireless/gqrx ~* +media-fonts/terminus-ttf ~* diff --git a/root/.Xmodmap b/root/.Xmodmap new file mode 100644 index 0000000..b2f8583 --- /dev/null +++ b/root/.Xmodmap @@ -0,0 +1,5 @@ +keycode 66 = Caps_Lock +keycode 66 = Hyper_L +clear lock +clear mod4 +add mod4 = Hyper_L diff --git a/root/.xinitrc b/root/.xinitrc new file mode 100755 index 0000000..4d4c713 --- /dev/null +++ b/root/.xinitrc @@ -0,0 +1,5 @@ +[ -f /etc/xprofile ] && . /etc/xprofile +[ -f ~/.xprofile ] && . ~/.xprofile +picom & +hsetroot -solid black +exec dbus-run-session sh -c "dex -a && exec i3" diff --git a/root/.xprofile b/root/.xprofile new file mode 100755 index 0000000..6c0a3bd --- /dev/null +++ b/root/.xprofile @@ -0,0 +1,8 @@ +xrandr --output HDMI-1 --set "Broadcast RGB" "Full" +setxkbmap si +xset r rate 150 60 # delay cps +xset b off # zvonček +xkbcomp -I/root/xkb ~/xkb/map $DISPLAY +xmodmap ~/.Xmodmap +xrdb ~/.Xresources +pulseaudio & diff --git a/root/posodobi.sh b/root/posodobi.sh index 0ef1a22..f50309c 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -3,6 +3,6 @@ set -xe f= grep "no-sync" <<<"$@" || emaint sync --auto grep "no-ask" <<<"$@" || f=--ask -emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y @world +emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries @world emerge @preserved-rebuild emerge --depclean diff --git a/root/xkb/map b/root/xkb/map new file mode 100644 index 0000000..c5660b0 --- /dev/null +++ b/root/xkb/map @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwertz)" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+si(basic)+inet(evdev)+sijanec(sijanec)" }; + xkb_geometry { include "pc(pc105)" }; +}; diff --git a/root/xkb/symbols/sijanec b/root/xkb/symbols/sijanec new file mode 100644 index 0000000..b7bb086 --- /dev/null +++ b/root/xkb/symbols/sijanec @@ -0,0 +1,11 @@ +partial alphanumeric_keys +xkb_symbols "sijanec" { + // /usr/share/X11/xkb/keycodes/ibm za imena tipk + // /usr/share/X11/xkb/symbols/ za imena simbolov - keysyms /usr/include/X11/keysymdef.h + // v arrayu so modifierji: sama, dvigalka, zamenjalka znakov, dvigalka+zamenjalka znakov + // https://www.ubuntu.si/forum/discussion/3894/slovenjenje-tipk-na-tipkovnici + key { [ braceleft, bracketleft, cacute, Cacute ] }; // { [ ć Ć + key { [ zcaron, Zcaron, ssharp, Ssharp ] }; // ž Ž + key { [ braceright, bracketright, dstroke, Dstroke ] }; // } ] dž DŽ + key { [ slash, ampersand, a, a ] }; // / & +}; -- cgit v1.2.3