If you want to use the latest available version of Squid, you can Build a Squid anonymous proxy from source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -d "/dev/dri" ]; then | |
kwin_wayland --drm --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile" | |
elif [ -d "/usr/lib/libhybris-egl" ]; then | |
# export EGL_PLATFORM=hwcomposer | |
# export QT_LOGGING_RULES="kwin*.debug=true;qt*.debug=true" | |
export QT_LOGGING_RULES="kwin*.debug=true" | |
export LD_PRELOAD=/usr/lib/libhybris-egl/libEGL.so.1 | |
kwin_wayland --hwcomposer /usr/bin/plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ x"$VERBOSE" = x"1" ]; then | |
set -x | |
fi | |
SCRIPT=$(readlink -f $0) | |
SCRIPTPATH=$(dirname $SCRIPT) | |
cd $SCRIPTPATH/.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#SESSION=$1 | |
SESSION=Session1 | |
dbus-send --system --dest=org.freedesktop.ConsoleKit \ | |
--print-reply \ | |
/org/freedesktop/ConsoleKit/$SESSION \ | |
org.freedesktop.ConsoleKit.Session.Unlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# Before chroot | |
cp -L /etc/resolv.conf /mnt/gentoo/etc/ | |
mount -t proc /proc /mnt/gentoo/proc | |
mount --rbind /sys /mnt/gentoo/sys | |
mount --make-rslave /mnt/gentoo/sys | |
mount --rbind /dev /mnt/gentoo/dev | |
mount --make-rslave /mnt/gentoo/dev | |
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# First, find what real compiler is called, symlink destination: ls -l /usr/bin/armv7hl-unknown-linux-gnueabi-gcc | |
# /usr/bin/armv7hl-unknown-linux-gnueabi-gcc: symbolic link to \ | |
# /usr/x86_64-pc-linux-gnu/armv7hl-unknown-linux-gnueabi/gcc-bin/7.3.0/armv7hl-unknown-linux-gnueabi-gcc | |
# So, we go and replace "/usr/bin/armv7hl-unknown-linux-gnueabi-gcc" with this script and make it executable. | |
# Then when this script is called instead of a real compiler, it would replace all parameters '-L/usr/lib64' | |
# to correct ones: '-L/usr/armv7hl-unknown-linux-gnueabi-gcc/lib' to prevent linking to wrong libs from host. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8) | |
project(wine_explorer) | |
set(CMAKE_VERBOSE_MAKEFILE ON) | |
set(CMAKE_C_FLAGS | |
"-m32 -fPIC -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer" | |
) | |
# Tweak this to your wine buld path |
NewerOlder