Skip to content

Instantly share code, notes, and snippets.

@a17r
a17r / projecteur-0.10-qt6.patch
Created January 29, 2025 20:36
projecteur-qt6-build-error.log
From c30ed4b6743b6334017635c90c58e26726a890ca Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 29 Jan 2025 21:29:06 +0100
Subject: [PATCH] CMake: Fix and switch to Qt6 unconditionally
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 78 +++++----------------------------
cmake/modules/Translation.cmake | 30 ++++++-------
2 files changed, 27 insertions(+), 81 deletions(-)
@a17r
a17r / dmesg-2022-10-26-gentoo-sources-6.0.5.log
Created October 26, 2022 17:51
BUG: kernel NULL pointer dereference
[ 0.000000] Linux version 6.0.5-gentoo (root@tuxbrain) (gcc (Gentoo 12.2.0 p9) 12.2.0, GNU ld (Gentoo 2.39 p5) 2.39.0) #1 SMP PREEMPT_DYNAMIC Wed Oct 26 18:24:59 CEST 2022
[ 0.000000] Command line:
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] signal: max sigframe size: 1776
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
@a17r
a17r / dev-qt:qtdeclarative-5.15.6:20220917-151454.log
Last active September 17, 2022 20:43
qtdeclarative-5.15.6 build failure on arfrever-qt/master
This file has been truncated, but you can view the full file.
* Package: dev-qt/qtdeclarative-5.15.6:5/5.15
* Repository: qt
* Maintainer: qt@gentoo.org
* Upstream: https://bugreports.qt.io/
* USE: abi_x86_64 amd64 elibc_glibc jit kernel_linux userland_GNU vulkan widgets
* FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* Checking whether python3_11 is suitable ...
* >=dev-lang/python-3.11.0_beta4:3.11 ...
[ ok ]
* Using python3.11 to build (via PYTHON_COMPAT iteration)
@a17r
a17r / qconfig_p.h
Created September 12, 2022 19:21
qconfig_p.h 2022-09-12
#ifndef QT_FEATURE_sse2
#define QT_FEATURE_sse2 1
#endif
#ifndef QT_FEATURE_alloca_h
#define QT_FEATURE_alloca_h 1
#endif
#ifndef QT_FEATURE_alloca
#define QT_FEATURE_alloca 1
#endif
#ifndef QT_FEATURE_alloca_malloc_h
@a17r
a17r / qconfig{,_p}.h
Created September 11, 2022 20:57
global/qconfig.h and global/qconfig_p.h from a fully installed Qt
/usr/include/qt5/QtCore/qconfig.h
#include <Gentoo/gentoo-qconfig.h>
#define QT_FEATURE_shared 1
#define QT_FEATURE_cross_compile -1
#define QT_FEATURE_framework -1
#define QT_FEATURE_rpath -1
#define QT_COMPILER_SUPPORTS_SSE2 1
#define QT_COMPILER_SUPPORTS_AES 1
#define QT_FEATURE_appstore_compliant -1
@a17r
a17r / #g-qt-back.log
Last active September 11, 2022 20:03
qt-dbus-stuffs
[Donnerstag, 8. September 2022] [23:01:32 CEST] <asturm> syncqt didn't help :/
[Donnerstag, 8. September 2022] [23:20:39 CEST] <[Arfrever]> Don't you need '#include <QtGui/QGuiApplication>' or something?
[Donnerstag, 8. September 2022] [23:21:00 CEST] <asturm> sure, it's there.
[Donnerstag, 8. September 2022] [23:21:57 CEST] <asturm> but for some reason `#if QT_CONFIG(dbus)` is off
[Donnerstag, 8. September 2022] [23:41:05 CEST] <[Arfrever]> asturm: What if you add in ebuild: $(usev dbus -dbus)
[Donnerstag, 8. September 2022] [23:41:14 CEST] <[Arfrever]> E.g. before $(usev dbus -dbus-linked)
[Donnerstag, 8. September 2022] [23:41:55 CEST] <[Arfrever]> Currently in your build log, there is: -no-dbus ... -dbus-linked
[Donnerstag, 8. September 2022] [23:43:08 CEST] <asturm> yes, that's because all these flags have always gotten disabled first by eclass. was going to try that next
[...]
@a17r
a17r / preserved-rebuild
Created August 31, 2021 11:47
preserved-rebuild sample output
!!! existing preserved libs:
>>> package: media-libs/libglvnd-1.3.3
* - /usr/lib/libGL.so.1
* - /usr/lib/libGL.so.1.7.0
* used by /usr/lib/libavdevice.so.58.13.100 (media-video/ffmpeg-4.4-r1)
* used by /usr/lib/libcairo.so.2.11600.0 (x11-libs/cairo-1.16.0-r4)
* used by /usr/lib/libva-glx.so.2.1200.0 (x11-libs/libva-2.12.0)
* - /usr/lib/libGLdispatch.so.0
* - /usr/lib/libGLdispatch.so.0.0.0
* - /usr/lib64/libGLdispatch.so.0
@a17r
a17r / qtwebengine-5.15.2_p20210625.pkg_preinst
Last active July 2, 2021 18:33
qtwebengine-5.15.2_p20210625 pkg_preinst
* This version of Qt WebEngine is based on Chromium version 87.0.4280, with
* additional security fixes from newer versions. Extensive as it is, the
* list of backports is impossible to evaluate, but always bound to be behind
* Chromium's release schedule.
* In addition, various online services may deny service based on an outdated
* user agent version (and/or other checks). Google are already known to do so.
*
* tldr: Your web browsing experience will be compromised.
@a17r
a17r / grep.log
Last active February 12, 2021 23:43
$ grep -RE "(after|before|need|use). *xdm"
sys-power/nvclock/files/nvclock_initd: need xdm
sys-auth/sssd/files/sssd: use syslog xdm
sys-auth/elogind/files/elogind.init-r1: # Make sure elogind is up before xdm starts any dm
sys-auth/elogind/files/elogind.init-r1: before xdm
sys-auth/elogind/files/elogind.init: # Make sure elogind is up before xdm starts any dm
sys-auth/elogind/files/elogind.init: before xdm
x11-base/xorg-server/files/xdm.initd-11: need localmount xdm-setup
x11-base/xorg-server/files/xdm.confd-4:# to using VT7. If you wish to use the xdm init script, then you should ensure
x11-base/xorg-server/files/xdm.confd-4:# What display manager do you use ? [ xdm | gdm | sddm | gpe | lightdm | entrance ]
sys-apps/bolt/files/bolt.openrc: before xdm
@a17r
a17r / kdeproj2020.md
Last active January 3, 2021 23:41
KDE proj 2020
  • KDE Project: Stable users started the year with KDE Plasma 5.17.4, Frameworks 5.64 and Applications 19.08.3. Over the course of twelve months we packaged all 37 upstream releases to these package groups, which at the end of the year consisted of 363 individual packages, with mostly no delay at all. Thanks to the major effort of Georgy Yakovlev most of these packages were made available to ppc64. At the end of 2020, stable users are running KDE Plasma 5.19.5, Frameworks 5.74 and Applications 20.08.3.