Skip to content

Instantly share code, notes, and snippets.

[nix-shell:/mnt/D/workspace/c++/qt/projects/active/kindd/build/core]$ cat kindd
#! /nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/bash -e
export QT_PLUGIN_PATH='/nix/store/nyi66w3gdiv1i1karlljx934fyii24bc-qtbase-5.12.7-bin/lib/qt-5.12.7/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/9ys1dwyhml247h7s1ldi6w7g38bk1xy5-qtsvg-5.12.7-bin/lib/qt-5.12.7/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/bvlhla2izdl4fiqy1ja13kvsxp0x1563-qtdeclarative-5.12.7-bin/lib/qt-5.12.7/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/bvlhla2izdl4fiqy1ja13kvsxp0x1563-qtdeclarative-5.12.7-bin/lib/qt-5.12.7/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QML2_IMPORT_PATH='/nix/store/grdvfwd0ryma8mz6qxdzikwpcr6licsq-qtquickcontrols-5.12.7/lib/qt-5.12.7/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QT_PLUGIN_PATH='/nix/store/kzx060ail6355cbgy869ylaz6c076frs-qtwayland-5.12.7-bin/lib/qt-5.12.7/plugins'${QT_PLUGIN_PAT
[nix-shell:/mnt/D/workspace/c++/qt/projects/active/kindd/build/core]$ ./kindd
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to findi
2020-03-24 20:42:07,057 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION ****
2020-03-24 20:42:07,057 - INFO - API is: neo
2020-03-24 20:42:07,057 - INFO - VIMSPECTOR_HOME = /home/linarcx/.config/nvim/plugged/vimspector
2020-03-24 20:42:07,062 - INFO - gadgetDir = /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux
2020-03-24 20:42:07,066 - DEBUG - Toggle found bp at /mnt/D/workspace/dart/dart/saeed/lib/saeed.dart:2 ? False (New)
2020-03-24 20:42:15,014 - INFO - User requested start debug session with {}
2020-03-24 20:42:15,016 - DEBUG - Reading gadget config: /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux/.gadgets.json
2020-03-24 20:42:15,020 - DEBUG - Reading gadget config: None
2020-03-24 20:42:15,022 - DEBUG - Reading configurations from: None
2020-03-24 20:42:15,022 - DEBUG - Reading configurations from: /mnt/D/workspace/dart/dart/saeed/.vimspector.json
2020-03-24 23:30:26,667 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION ****
2020-03-24 23:30:26,667 - INFO - API is: neo
2020-03-24 23:30:26,667 - INFO - VIMSPECTOR_HOME = /home/linarcx/.config/nvim/plugged/vimspector
2020-03-24 23:30:26,672 - INFO - gadgetDir = /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux
2020-03-24 23:30:26,674 - DEBUG - Toggle found bp at /mnt/D/workspace/dart/dart/saeed/lib/saeed.dart:2 ? False (New)
2020-03-24 23:30:27,643 - INFO - User requested start debug session with {}
2020-03-24 23:30:27,644 - DEBUG - Reading gadget config: /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux/.gadgets.json
2020-03-24 23:30:27,647 - DEBUG - Reading gadget config: None
2020-03-24 23:30:27,649 - DEBUG - Reading configurations from: None
2020-03-24 23:30:27,650 - DEBUG - Reading configurations from: /mnt/D/workspace/dart/dart/saeed/.vimspector.json
#include <stdlib.h>
const char style[] = {
0x40, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x63, 0x65,
0x20, 0x7b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d,
0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x20, 0x6f, 0x63,
0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x6e, 0x63,
0x68, 0x6f, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x73, 0x72, 0x63,
0x3a, 0x20, 0x75, 0x72, 0x6c, 0x28, 0x64, 0x61, 0x74, 0x61,
0x3a, 0x66, 0x6f, 0x6e, 0x74, 0x2f, 0x77, 0x6f, 0x66, 0x66,
0x3b, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3d, 0x75,
╰ cmake ..; make VERBOSE=1
-- The C compiler identification is Clang 7.1.0
-- Check for working C compiler: /nix/store/jw35sxb07zaw3p2sdzs9pj06sssn6avl-clang-wrapper-7.1.0/bin/clang
-- Check for working C compiler: /nix/store/jw35sxb07zaw3p2sdzs9pj06sssn6avl-clang-wrapper-7.1.0/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is Clang 7.1.0
-- Check for working CXX compiler: /nix/store/jw35sxb07zaw3p2sdzs9pj06sssn6avl-clang-wrapper-7.1.0/bin/clang++
2020-03-26 20:23:06,221 - INFO - **** INITIALISING NEW VIMSPECTOR SESSION ****
2020-03-26 20:23:06,222 - INFO - API is: neo
2020-03-26 20:23:06,222 - INFO - VIMSPECTOR_HOME = /home/linarcx/.config/nvim/plugged/vimspector
2020-03-26 20:23:06,224 - INFO - gadgetDir = /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux
2020-03-26 20:23:06,227 - DEBUG - Toggle found bp at /mnt/D/workspace/dart/dart/moh/lib/moh.dart:2 ? False (New)
2020-03-26 20:23:07,592 - DEBUG - Toggle found bp at /mnt/D/workspace/dart/dart/moh/lib/moh.dart:3 ? False (New)
2020-03-26 20:23:09,521 - INFO - User requested start debug session with {}
2020-03-26 20:23:09,523 - DEBUG - Reading gadget config: /home/linarcx/.config/nvim/plugged/vimspector/gadgets/linux/.gadgets.json
2020-03-26 20:23:09,525 - DEBUG - Reading gadget config: None
2020-03-26 20:23:09,527 - DEBUG - Reading configurations from: None
#define EVENT_SIZE (sizeof(struct inotify_event))
#define EVENT_BUF_LEN (1024 * (EVENT_SIZE + 16))
int main()
{
int length, i = 0;
int fd;
int wd;
char buffer[EVENT_BUF_LEN];
# Template file for 'gala'
pkgname=gala
version=3.2.0
revision=1
build_style=meson
hostmakedepends="cmake pkg-config glib-devel libgee08-devel"
makedepends="cmake cmake-vala bamf-devel plank-devel gnome-desktop-devel gnome-settings-daemon-devel mutter-devel libcanberra-devel gnome-common granite-devel intltool vala-devel"
depends="atk bamf cairo gdk-pixbuf gnome-desktop gtk+3 json-glib libdrm libX11 libXcomposite libXdamage libXext libXfixes libXi libXrandr libXtst mesa mutter pango plank wayland"
short_desc="Gala Window Manager"
maintainer="linarcx <linarcx@riseup.net>"
# Template file for 'gala'
pkgname=gala
version=3.2.0
revision=1
build_style=meson
hostmakedepends="cmake pkg-config glib-devel libgee08-devel"
makedepends="cmake cmake-vala bamf-devel plank-devel gnome-desktop-devel gnome-settings-daemon-devel mutter-devel libcanberra-devel gnome-common granite-devel intltool vala-devel"
depends="atk bamf cairo gdk-pixbuf gnome-desktop gtk+3 json-glib libdrm libX11 libXcomposite libXdamage libXext libXfixes libXi libXrandr libXtst mesa mutter pango plank wayland"
short_desc="Gala Window Manager"
maintainer="linarcx <linarcx@riseup.net>"