add emacs files

This commit is contained in:
nya 2021-04-17 20:17:20 -05:00
parent 80c972ba89
commit f08b0dd538
7 changed files with 285 additions and 14 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
size="8G"
size="10G"
modprobe zram
echo $size > /sys/block/zram0/disksize
mkswap /dev/zram0

View file

@ -1,5 +1,5 @@
COMMON_FLAGS="-O2 -pipe -march=native -mtune=ivybridge"
#MAKEOPTS="-j6"
MAKEOPTS="-j6 -l7"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
@ -15,14 +15,15 @@ PKGDIR="/var/cache/binpkgs"
## portage settings
EMERGE_DEFAULT_OPTS="--ask --verbose --tree --deep"
PORTAGE_SYNC_STALE="3"
FEATURES="candy collision-protect network-sandbox parallel-fetch sandbox"
PORTAGE_NICENESS="10"
FEATURES="collision-protect network-sandbox parallel-fetch sandbox"
## organize useflags
AUDIO_FLAGS="aac alsa -cdda flac mp3 mp4 ogg pulseaudio vorbis x264"
MEDIA_FLAGS="gif imlib jpeg png svg tiff truetype unicode"
VIDEO_FLAGS="acpi cairo -cdr dri gles2 opengl -ogre sdl vulkan -wayland X"
VIDEO_FLAGS="acpi cairo -cdr dri gles2 opengl -ogre sdl vaapi vulkan -wayland X"
SYSTEM_FLAGS="bluetooth -branding -cups dbus elogind -geolocation -gnome gtk
gtk3 gpm icu -netifrc networkmanager policykit -systemd threads udev upower udisks xml"
gtk3 gpm icu -netifrc networkmanager osmesa policykit -systemd threads udev upower udisks xml"
GPU="intel nouveau i915 i965"
USE="${AUDIO_FLAGS} ${MEDIA_FLAGS} ${VIDEO_FLAGS} ${SYSTEM_FLAGS}"

View file

@ -16,12 +16,23 @@ dev-util/ostree curl
dev-lang/rust nightly parallel-compiler system-llvm
# source-han-sans useflags
media-fonts/source-han-sans l10n_ja l10n_ko l10n_zh-CN"
media-fonts/source-han-sans l10n_ja l10n_ko l10n_zh-CN
# emacs useflags
app-editors/emacs gui sound xft xwidgets harfbuzz imagemagick
app-editors/emacs dynamic-loading gui harfbuzz imagemagick sound toolkit-scroll-bars xft
app-emacs/emacs-common gui
# qutebrowser useflags
dev-python/PyQt5 sql declarative printsupport widgets network multimedia gui webchannel
dev-qt/qtwebengine widgets
dev-qt/qtwebchannel qml
media-libs/libvpx svc
sys-libs/zlib minizip
dev-qt/qtmultimedia widgets
# networkmanager useflags
net-misc/networkmanager -ppp
# save kernel config
sys-kernel/vanilla-kernel savedconfig

View file

@ -1,8 +1,8 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.11.10 Kernel Configuration
# Linux/x86 5.11.14 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="x86_64-pc-linux-gnu-gcc (Gentoo 10.2.0-r5 p6) 10.2.0"
CONFIG_CC_VERSION_TEXT="gcc (Gentoo 10.2.0-r5 p6) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100200
CONFIG_LD_VERSION=235010000
@ -21,7 +21,7 @@ CONFIG_THREAD_INFO_IN_TASK=y
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="camellia-dist"
CONFIG_LOCALVERSION="-camellia-dist"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
@ -8611,13 +8611,13 @@ CONFIG_FONTS=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
CONFIG_FONT_ACORN_8x8=y
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_6x10 is not set
# CONFIG_FONT_10x18 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_TER16x32 is not set
CONFIG_FONT_TER16x32=y
# CONFIG_FONT_6x8 is not set
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_PMEM_API=y

View file

@ -16,8 +16,6 @@ static const char *colors[SchemeLast][2] = {
/* -l and -g options; controls number of lines and columns in grid if > 0 */
static unsigned int lines = 6;
static unsigned int maxhist = 64;
static int histnodup = 1; /* if 0, record repeated histories */
static unsigned int columns = 2;
/*