Skip to content

Instantly share code, notes, and snippets.

View adamscott's full-sized avatar

Adam Scott adamscott

View GitHub Profile
// Gist repository of my activities.
#!/usr/bin/python3
import os
import os.path
import time
import math
import subprocess
import sys
filename = None
@adamscott
adamscott / configure.sh
Last active August 25, 2016 21:20
Custom Qt5.7 build for OSX (try to only build tools)
./configure \
$(: === MISC ===)\
-opensource \
-confirm-license \
-release \
-prefix "~/Dev/builds/Qt5.7/build/" \
$(: === NO MAKE ===)\
-nomake libs \
-nomake examples \
-nomake tests \
# Fix insecure RPATH hardcoded in the binary
# (it points to /usr/local/lib, which is not normally used on Arch Linux)
chrpath --delete "pico8"
@adamscott
adamscott / test.sh
Created September 14, 2016 03:55
Projet makedepends
cower -i pico | grep Makedepends | cut -c18- | grep -e 'chrpath|patchelf'
@adamscott
adamscott / genial-travis-qt5.7-1_make.log
Last active September 28, 2016 05:56
Genial Travis-CI Qt5.7 make and make_install
This file has been truncated, but you can view the full file.
cd qtbase/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qmake /private/tmp/qt-everywhere-opensource-src-5.7.0/qtbase/qtbase.pro -qtconf /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qt.conf -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
Info: creating cache file /private/tmp/qt-everywhere-opensource-src-5.7.0/qtbase/.qmake.cache
cd qmake/ && ( test -e Makefile.qmake-aux || /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qmake /private/tmp/qt-everywhere-opensource-src-5.7.0/qtbase/qmake/qmake-aux.pro -qtconf /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qt.conf -o Makefile.qmake-aux ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.qmake-aux
cd src/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qmake /private/tmp/qt-everywhere-opensource-src-5.7.0/qtbase/src/src.pro -qtconf /tmp/qt-everywhere-opensource-src-5.7.0/qtbase/bin/qt.conf -o Makefile ) && /Applications/Xcode.app/Con
@adamscott
adamscott / configure-linux.log
Last active September 25, 2016 18:01
genial-travis-qtstatic
temp
@adamscott
adamscott / -
Created September 25, 2016 21:19
pyqtdeploy/cache/qt-everywhere-opensource-src-5.7.0/configure.log
@adamscott
adamscott / -
Created September 25, 2016 23:48
pyqtdeploy/cache/qt-everywhere-opensource-src-5.7.0/configure.log
"""
"""
import sys
from PyQt5.QtCore import QCoreApplication, QTranslator, QLocale
from PyQt5.QtWidgets import QApplication
class Application: