Skip to content

Instantly share code, notes, and snippets.

Avatar
🏳️‍🌈

Julian Geywitz geigi

🏳️‍🌈
View GitHub Profile
@geigi
geigi / The journey of building Cozy for macOS.md
Last active Sep 7, 2020
The journey of building Cozy (GTK+3, python, gstreamer) for macOS using pyinstaller
View The journey of building Cozy for macOS.md

The journey of building Cozy on macOS

  • Remove hombrew/macports completely or setup a clean macOS VM
  • Get the GTK+ setup shell script to setup the build environment. Everything which is installed from now on will be bundled with the macOS application later on: [https://wiki.gnome.org/Projects/GTK+/OSX/Building][1]
./gtk-osx-build-setup.sh
alias jhbuild="PATH=gtk-prefix/bin:$PATH jhbuild"
jhbuild bootstrap
jhbuild build python3
View get-last-successful-build-artifact.sh
#!/bin/bash
# check requirements
REQS=( curl jq unzip )
for REQ in ${REQS[@]}
do
which ${REQ} >/dev/null
if [ ! $? -eq 0 ]; then
echo "requirement ${REQ} is missing"
@geigi
geigi / PYZ-00.pyz Content.txt
Created Oct 14, 2018
[macOS 14.0] Gtk pyinstaller cairo error
View PYZ-00.pyz Content.txt
? O PYZ-00.pyz
Name: (ispkg, pos, len)
{'__future__': (0, 17, 1874),
'_compat_pickle': (0, 1891, 2671),
'_compression': (0, 4562, 2009),
'_py_abc': (0, 6571, 2410),
'_strptime': (0, 8981, 7768),
'_threading_local': (0, 16749, 2788),
'argparse': (0, 19537, 24062),
'ast': (0, 43599, 5628),
@geigi
geigi / # osc - 2018-10-11_15-49-08.txt
Created Oct 11, 2018
osc on macOS 10.14 - Homebrew build logs
View # osc - 2018-10-11_15-49-08.txt
Homebrew build logs for osc on macOS 10.14
Build date: 2018-10-11 15:49:08
View osx-for-hackers.sh
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'