Skip to content

Instantly share code, notes, and snippets.

View therealromster's full-sized avatar

therealromster

View GitHub Profile
@therealromster
therealromster / gist:38587d2dc7bced73c702
Created November 17, 2015 08:23
wine 1.7.55 compilation broken
make[1]: Entering directory '/usr/ports/opt/wine/work/src/wine32/loader'
LC_ALL=C sed -e 's,@bindir\@,/usr/bin,g' -e 's,@dlldir\@,/usr/lib32/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.7.55,g' -e 's,@PACKAGE_VERSION\@,1.7.55,g' ../../wine-1.7.55/loader/wine.inf.in >wine.inf || (rm -f wine.inf && false)
LC_ALL=C sed -e 's,@bindir\@,/usr/bin,g' -e 's,@dlldir\@,/usr/lib32/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.7.55,g' -e 's,@PACKAGE_VERSION\@,1.7.55,g' ../../wine-1.7.55/loader/wine_info.plist.in >wine_info.plist || (rm -f wine_info.plist && false)
.././../wine64/tools/widl/widl -o mmstream.h -m32 -I. -I../../wine-1.7.55/include -I../include \
-I../../wine-1.7.55/include -D__WINESRC__ ../../wine-1.7.55/include/mmstream.idl
LC_ALL=C sed -e 's,@bindir\@,/usr/bin,g' -e 's,@dlldir\@,/usr/lib32/wine,g' -e 's,@PACKAGE_STRING\@,Wine 1.7.55,g' -e 's,@PACKAGE_VERSION\@,1.7.55,g' ../../wine-1.7.55/loader/wine.de.UTF-8.man.in >wine.de.UTF-8.man || (rm -f wine.de.UTF-8.man && false)
LC_ALL=C sed -e 's,@bindir\@,/usr/bin,g' -e '
$ make V=1
echo "FETCH URI "http://downloads.us.xiph.org/releases/opus"/"
FETCH URI http://downloads.us.xiph.org/releases/opus/
lsurl.py "http://downloads.us.xiph.org/releases/opus"/ 2>> src/log | egrep "/opus-[0-9.]+.*$" > src/files
cat src/files
http://downloads.us.xiph.org/releases/opus/opus-0.9.0.tar.gz
http://downloads.us.xiph.org/releases/opus/opus-0.9.1.tar.gz
http://downloads.us.xiph.org/releases/opus/opus-0.9.2.tar.gz
http://downloads.us.xiph.org/releases/opus/opus-0.9.3.tar.gz
http://downloads.us.xiph.org/releases/opus/opus-0.9.5.tar.gz
@therealromster
therealromster / Pkgfile.in
Created July 19, 2015 02:56
opus Pkgfile.in
# Description: Codec designed for interactive speech and audio transmission over the Internet.
# URL: http://www.opus-codec.org/
#ifeq X86 1
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: opus
#else
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
#endif
@therealromster
therealromster / Makefile
Created July 19, 2015 02:56
opus Makefile
URL := "http://downloads.us.xiph.org/releases/opus"
FILE_REGEX := "/opus-[0-9.]+.*$$"
FLAGS ?=
ifeq ("$(V)","1")
Q :=
vecho = @echo
else
Q := @
$ cat src/files | filter-tool.py --show-ranking --show-failed --print-sorted --print-raw
http://downloads.us.xiph.org/releases/opus/opus-0.9.0.tar.gz opus 0.9.0 rule=default.py:258 opus 0 9 0
http://downloads.us.xiph.org/releases/opus/opus-0.9.1.tar.gz opus 0.9.1 rule=default.py:258 opus 0 9 1
http://downloads.us.xiph.org/releases/opus/opus-0.9.2.tar.gz opus 0.9.2 rule=default.py:258 opus 0 9 2
http://downloads.us.xiph.org/releases/opus/opus-0.9.3.tar.gz opus 0.9.3 rule=default.py:258 opus 0 9 3
http://downloads.us.xiph.org/releases/opus/opus-0.9.5.tar.gz opus 0.9.5 rule=default.py:258 opus 0 9 5
http://downloads.us.xiph.org/releases/opus/opus-0.9.6.tar.gz opus 0.9.6 rule=default.py:258 opus 0 9 6
http://downloads.us.xiph.org/releases/opus/opus-0.9.7.tar.gz opus 0.9.7 rule=default.py:258 opus 0 9 7
http://downloads.us.xiph.org/releases/opus/opus-0.9.8.tar.gz opus 0.9.8 rule=default.py:258 opus 0 9 8
http://downloads.us.xiph.org/releases/opus/opus-0.9.9.tar.gz opus 0.9.9 rule=default.py:258 opus 0 9 9
@therealromster
therealromster / tint2rc
Created June 14, 2015 09:00
~/.config/tint2/tint2rc
$ cat ~/.config/tint2/tint2rc
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 7
border_width = 2
background_color = #000000 60
@therealromster
therealromster / upload
Created June 7, 2015 06:27
upload xdelta crux
#!/bin/sh
get_basename() {
local FILE="`echo $1 | sed 's|^.*://.*/||g'`"
echo $FILE
}
explode_filename_new() {
local FILE
@therealromster
therealromster / net
Created May 10, 2015 07:19
net crux script /etc/rc.d/net with WIFI and start-stop-daemon
#!/bin/sh
#
# /etc/rc.d/net: start/stop network interface
#
# Connection type: "DHCP", "WIFI" or "STATIC"
TYPE="DHCP"
# For "STATIC" connections, specify your settings here:
# To see your available devices run "ip link".
#!/bin/sh
# Create the folder structure
mkdir -p work/initramfs/{bin,sbin,etc,proc,sys,newroot}
cd work
touch initramfs/etc/mdev.conf
cp /bin/busybox initramfs/bin/busybox
chmod +x initramfs/bin/busybox
ln -s busybox initramfs/bin/sh
@therealromster
therealromster / gist:c52912505998b7ec8548
Created April 4, 2015 11:42
docker crux setup romter repo
wget 'https://crux.nu/portdb/?a=getup&q=romster' -O /etc/ports/romster.httpup
sed -e 's|# prtdir /home/packages/build:mypackage|prtdir /usr/ports/romster|' -i /etc/prt-get.conf
ports -u
prt-get install httpup
ports -u romster