Skip to content

Instantly share code, notes, and snippets.

@redtide
redtide / createdmg.sh
Created July 21, 2021 11:16
Lite XL create-dmg local script
#!/bin/bash
set -ex
if test -f lite-xl.dmg; then rm lite-xl.dmg; fi
if test -d "$(pwd)/createdmg"; then rm -rf "$(pwd)/createdmg"; fi
meson install -C build
mkdir createdmg
cp -r "Lite XL.app" createdmg/
@redtide
redtide / appdmg.sh
Created July 21, 2021 11:15
Lite XL AppDMG local script
#!/bin/bash
set -ex
if test -f lite-xl.dmg; then rm lite-xl.dmg; fi
if test -f lite-xl-dmg.json; then rm lite-xl-dmg.json; fi
meson install -C build
cat > lite-xl-dmg.json << EOF
{
@redtide
redtide / gist:4c8d85517ca12acab82992c7e306da2b
Last active July 11, 2021 11:52
wxRendererNative inheritance
wxRendererNative
|
+------------------+
| |
v v
wxDelegateRendererNative wxRendererGeneric
|
+----------------------------------+--------------+--------------+--------------+
| | | | |
v v v v v
@redtide
redtide / PKGBUILD
Last active June 16, 2020 11:38
libfm-qt double click patched PKGBUILD
_pkgname=libfm-qt
pkgname=${_pkgname}
pkgver=0.15.1
pkgrel=1
pkgdesc="Qt port of libfm, a library providing components to build desktop file managers"
arch=("i686" "x86_64")
url="https://github.com/lxqt/libfm-qt"
license=("LGPL")
depends=("qt5-x11extras" "menu-cache" "libexif")
makedepends=("cmake" "qt5-tools" "lxqt-build-tools")