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
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 |
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
#/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
#!/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/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
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
/dts-v1/; | |
/ { | |
#address-cells = <0x2>; | |
#size-cells = <0x2>; | |
model = "Qualcomm Technologies, Inc. SDM 660 PM660 + PM660L MTP F7A overlay"; | |
compatible = "qcom,sdm660-mtp", "qcom,sdm660", "qcom,mtp"; | |
qcom,msm-id = <0x13d 0x0>; | |
interrupt-parent = <0x1>; | |
qcom,board-id = <0x20008 0x0>; |
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 | |
set -x | |
KERNEL=./arch/arm64/boot/Image.gz | |
KERNEL_DTB=${KERNEL}-dtb | |
DTB=./arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dtb | |
INITRD=initramfs-postmarketos-qcom-sdm660 | |
# Optional: |
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
Thread: started! | |
Thread: writing: Write 0 | |
ready to read! | |
read: Write 0 | |
Thread: writing: Write 1 | |
ready to read! | |
read: Write 1 | |
Thread: writing: Write 2 | |
ready to read! | |
read: Write 2 |
OlderNewer