From 3999ee4d0abf3a584c92cb76bbf0413975eb983d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 22 Jan 2023 23:35:33 +0100 Subject: portage --- etc/portage/make.conf | 71 ++++++++++++++++++++++ etc/portage/package.mask/conf | 1 + .../patches/games-action/polymc/crack.patch | 19 ++++++ 3 files changed, 91 insertions(+) create mode 100644 etc/portage/make.conf create mode 100644 etc/portage/package.mask/conf create mode 100644 etc/portage/patches/games-action/polymc/crack.patch (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf new file mode 100644 index 0000000..a5ed085 --- /dev/null +++ b/etc/portage/make.conf @@ -0,0 +1,71 @@ +PORTAGE_NICENESS=19 + +# -march=native NE SME BITI NA distcc iz očitnih razlogov +# uporabi resolve-march-native +COMMON_FLAGS="-ggdb3 -O2 -pipe `resolve-march-native`" +# -pipe rabi RAM +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" + +# This sets the language of build output to English. +# Please keep this setting intact when reporting bugs. +LC_MESSAGES=C +MAKEOPTS="-j`nproc` -l`nproc`" + +GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" +# mirrorselect -i -o >> /etc/portage/make.conf + +USE="vim-syntax ffmpeg pulseaudio native-headset dbus acpi mtp fuse system-bootstrap" +USE="$USE adblock websockets" # qutebrowser +USE="$USE vnc rdp ssh" # remmina +USE="$USE extra graphics science publishers music" # texlive +USE="$USE hid" # mixxx +USE="$USE ipv6" # net-ftp/ftp +USE="$USE calendar math latex -spell" # app-office/abiwold, spell ima conflict +USE="$USE curl exif fpm ftp gd gmp imap inifile intl mysqli pdo sockets sodium sqlite threads tidy webp xmlreader xmlwriter zip" # dev-lang/php +# USE="$USE system-libvpx system-openjpeg -proprietary-codecs -official" # ungoogled-chromium +USE="$USE server" # libssh +USE="$USE gtk2 -official-branding" # palemoon +USE="$USE xface" # claws-mail +USE="$USE gsl" # app-office/calligra +USE="$USE omemo" # gajim +USE="$USE idn" # whois +USE="$USE amr opus" # sox +USE="$USE mtp" # za slike iz telefonov +USE="$USE graphite" # darktable ga rabi. to applya na gcc +USE="$USE dos" # wine +USE="$USE internal" # flashrom +USE="$USE -bundled-qt" # zoom +USE="$USE slattach" # net-tools +USE="$USE ftdi http osc examples python" # ola +USE="$USE xinerama" # za x11vnc -clip +USE="$USE heif" # za imagemagick .heic +USE="$USE webchannel" # za pyside za falkon +USE="$USE tesseract" # za opencv +USE="$USE fontconfig" # za gd za graphviz +USE="$USE system-png" # za torbrowser +USE="$USE bluetooth" + +CALLIGRA_FEATURES="stage words sheets" +PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt + +ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE" +# default je @FREE + +# L10N="sl" + +# repozitorij +PORTAGE_GPG_KEY="F4C3E3A4DFB7254397A9F993E76135F49802CD14" +SIGNED_OFF_BY="Anton Luka Šijanec " + +L10N="sl en de hr si" + +# ne poženi strip(1) +FEATURES="nostrip" diff --git a/etc/portage/package.mask/conf b/etc/portage/package.mask/conf new file mode 100644 index 0000000..250eb00 --- /dev/null +++ b/etc/portage/package.mask/conf @@ -0,0 +1 @@ +*/*-bin diff --git a/etc/portage/patches/games-action/polymc/crack.patch b/etc/portage/patches/games-action/polymc/crack.patch new file mode 100644 index 0000000..798099f --- /dev/null +++ b/etc/portage/patches/games-action/polymc/crack.patch @@ -0,0 +1,19 @@ +diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp +index 3422df7..acf5bc2 100644 +--- a/launcher/minecraft/auth/AccountList.cpp ++++ b/launcher/minecraft/auth/AccountList.cpp +@@ -650,13 +650,7 @@ void AccountList::setListFilePath(QString path, bool autosave) + + bool AccountList::anyAccountIsValid() + { +- for(auto account: m_accounts) +- { +- if(account->ownsMinecraft()) { +- return true; +- } +- } +- return false; ++ return true; + } + + void AccountList::fillQueue() { -- cgit v1.2.3 From 08ce8316270bf55d1e2772f4933fd36ae4ed43ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 22 Jan 2023 23:43:20 +0100 Subject: portage very idle --- etc/portage/make.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf index a5ed085..bba8e78 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -1,4 +1,4 @@ -PORTAGE_NICENESS=19 +PORTAGE_SCHEDULING_POLICY="idle" # -march=native NE SME BITI NA distcc iz očitnih razlogov # uporabi resolve-march-native -- cgit v1.2.3 From 5515b3b488c1dc9b53752419f895ccc85f70788a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 23 Jan 2023 19:37:53 +0100 Subject: portage command substitution patch --- .../sys-apps/portage/command-substitution.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 etc/portage/patches/sys-apps/portage/command-substitution.patch (limited to 'etc') diff --git a/etc/portage/patches/sys-apps/portage/command-substitution.patch b/etc/portage/patches/sys-apps/portage/command-substitution.patch new file mode 100644 index 0000000..30edeae --- /dev/null +++ b/etc/portage/patches/sys-apps/portage/command-substitution.patch @@ -0,0 +1,25 @@ +diff --git a/lib/portage/util/__init__.py b/lib/portage/util/__init__.py +index 285bf66..74e3232 100644 +--- a/lib/portage/util/__init__.py ++++ b/lib/portage/util/__init__.py +@@ -992,6 +992,20 @@ def varexpand(mystring, mydict=None, error_leader=None): + newstring.append(current) + continue + ++ if mystring[pos] == "(": ++ # print(f"[šijanec.eu] debug0 {mystring}"); ++ end = mystring[pos:].find(")") ++ if end == -1: ++ msg = error_leader() + "[šijanec.eu] missing closing ) in shell command substitution variable" ++ writemsg(msg + "\n", noiselevel=-1) ++ return "" ++ cmd = mystring[pos+1:pos+end] ++ out = subprocess.run(["sh", "-c", cmd], stdout=subprocess.PIPE).stdout.decode("utf-8") ++ newstring.append(out.strip()) ++ pos += end+1 ++ # print(f"[šijanec.eu] debug {cmd} {newstring}") ++ continue ++ + if mystring[pos] == "{": + pos += 1 + if pos == length: -- cgit v1.2.3 From 232b4f3aadd433c688503c9ded99dadada1463b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 26 Jan 2023 17:17:37 +0100 Subject: updating --- etc/portage/make.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf index bba8e78..9126823 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -2,7 +2,7 @@ PORTAGE_SCHEDULING_POLICY="idle" # -march=native NE SME BITI NA distcc iz očitnih razlogov # uporabi resolve-march-native -COMMON_FLAGS="-ggdb3 -O2 -pipe `resolve-march-native`" +COMMON_FLAGS="-ggdb3 -O2 -pipe $(resolve-march-native)" # -pipe rabi RAM CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" @@ -17,7 +17,7 @@ PKGDIR="/var/cache/binpkgs" # This sets the language of build output to English. # Please keep this setting intact when reporting bugs. LC_MESSAGES=C -MAKEOPTS="-j`nproc` -l`nproc`" +MAKEOPTS="-j$(nproc) -l$(nproc)" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" # mirrorselect -i -o >> /etc/portage/make.conf -- cgit v1.2.3 From 98cb382cf1999509e6d7c71f3b5d2e9bd3bd8cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 26 Jan 2023 18:58:41 +0100 Subject: portage --- etc/portage/make.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 9126823..d48ac23 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -67,5 +67,4 @@ SIGNED_OFF_BY="Anton Luka Šijanec " L10N="sl en de hr si" -# ne poženi strip(1) -FEATURES="nostrip" +FEATURES="nostrip distcc" -- cgit v1.2.3