Skip to content

Instantly share code, notes, and snippets.

@fleger
fleger / ffms2avs-ffms-r656.diff
Created March 23, 2012 08:07
avxsynth: Fix undefined symbol _Z13GetSwsContextii11PixelFormatiiS_li in libffms2avs.so
diff -Naur a/AVXSynth/plugins/ffms2avs/Makefile b/AVXSynth/plugins/ffms2avs/Makefile
--- a/AVXSynth/plugins/ffms2avs/Makefile 2012-03-22 16:09:10.742745684 +0100
+++ b/AVXSynth/plugins/ffms2avs/Makefile 2012-03-23 08:42:34.266584253 +0100
@@ -25,6 +25,7 @@
$(SRC_PATH)/avssources.o \
$(SRC_PATH)/ffpp.o \
$(SRC_PATH)/ffms2avs.o \
+ $(SRC_PATH)/core/videoutils.o \
#
@fleger
fleger / mpd
Created March 2, 2012 19:38
MPD User Daemon
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/user-rc.d/functions
case "$1" in
start)
stat_busy "Starting Music Player Daemon"
/usr/bin/mpd "${XDG_CONFIG_HOME:-${HOME}/.config}/mpd/mpd.conf" &> /dev/null
@fleger
fleger / python2-pefile.patch
Created November 29, 2011 08:27
Patch for python2-pefile from the AUR
diff -Naur a/python2-pefile/PKGBUILD b/python2-pefile/PKGBUILD
--- a/python2-pefile/PKGBUILD 2011-11-23 04:17:37.000000000 +0100
+++ b/python2-pefile/PKGBUILD 2011-11-29 09:24:34.834723815 +0100
@@ -1,22 +1,25 @@
# Contributor: Wes Brown <wesbrown18@gmail.com>
pkgname=python2-pefile
-pkgver=1.2.10
-subver=114
-pkgrel=0
+pkgver=1.2.10_114
@fleger
fleger / bumblebee-2.4.1-6_improved_configuration_backup.patch
Created November 28, 2011 08:46
Patch for bumblebee AUR package that improves how the configuration is backed up
diff -Naur a/bumblebee/bumblebee.install b/bumblebee/bumblebee.install
--- a/bumblebee/bumblebee.install 2011-10-05 18:30:14.000000000 +0200
+++ b/bumblebee/bumblebee.install 2011-11-28 09:43:33.079042852 +0100
@@ -28,7 +28,23 @@
_backup() {
cp "$1" "$1.pacsave"
- echo "File $1 backed up as $1.pacsave"
+ #echo "File $1 backed up as $1.pacsave"
+}
@fleger
fleger / build.log
Created September 20, 2011 16:08
lib32-virtualgl build failes
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
@fleger
fleger / menu.lst
Created July 12, 2011 12:10
grub4dos menu.lst for bootable USB stick
color red/black white/black
timeout 30
default 0
title Chakra 2011.04-r1 x86_64
find --set-root /boot/chakra/chakra-2011.04-r1-x86_64.iso
map --heads=0 --sectors-per-track=0 /boot/chakra/chakra-2011.04-r1-x86_64.iso (hd32)
map --hook
root (hd32)
kernel /chakra/boot/x86_64/vmlinuz26 edd=off quiet chakraisolabel=CL_201104_r1 lang=fr nonfree=yes radeon.modeset=0 xdriver=no img_dev=/dev/disk/by-label/MBOOT img_loop=/boot/chakra/chakra-2011.04-r1-x86_64.iso
@fleger
fleger / .asoundrc
Created June 18, 2011 08:09
ALSA: Bauer stereophonic to binaural global filter
pcm.bs2b {
type ladspa
slave.pcm "plug:dmix"
path "/usr/lib/ladspa"
plugins [
{
label bs2b
input {
controls [ 700 4.5 ]
}
@fleger
fleger / cmake.log
Created June 14, 2011 16:48
Path64 compilation failed
Scanning dependencies of target pscrt-static-x86_64
[ 32%] Generating pscrt-static-x86_64/malloc_opt_c.o
[ 32%] Generating pscrt-static-x86_64/memset_em64t_s.o
[ 32%] Generating pscrt-static-x86_64/memset_opteron_s.o
[ 32%] Generating pscrt-static-x86_64/memcpy_em64t_c.o
[ 32%] Generating pscrt-static-x86_64/memcpy_opteron_c.o
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include/xmmintrin.h:37,
from /home/fleger/tmp/path64-git/src/path64-build/src/libpscrt/intrin.h:51,
from /home/fleger/tmp/path64-git/src/path64-build/src/libpscrt/memcpy_opteron.c:25:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include/mmintrin.h: In function '_mm_add_si64':
@fleger
fleger / fixX77JHDA.sh
Created May 24, 2011 17:52
Fix the sound card of the Asus X77J to output 5.1 sound with ALSA
rclocal.10-fixX77JHDA() {
# Fix the sound card configuration to output 5.1 with ALSA.
local snddev=/dev/snd/hwC0D0
[[ -e "$snddev" ]] &&
# Source: 0x0 - Front
# 0x1 - LFE / Center
# 0x2 - Rear
# 1st jack (0x19) will be rear channels (green)
@fleger
fleger / sd_wlan-linux-3.1.diff
Created May 8, 2011 16:29
Fix SD WLAN to compile against new kernels (2.6.35 - 3.1)
diff -Naur a/SD_WLAN/SD-WLAN-BT-8688-LINUX2625-SAAR-10.49.3.p70-26609.P64_B1/wlan_src/Makefile b/SD_WLAN/SD-WLAN-BT-8688-LINUX2625-SAAR-10.49.3.p70-26609.P64_B1/wlan_src/Makefile
--- a/SD_WLAN/SD-WLAN-BT-8688-LINUX2625-SAAR-10.49.3.p70-26609.P64_B1/wlan_src/Makefile 2010-07-13 22:08:32.000000000 +0200
+++ b/SD_WLAN/SD-WLAN-BT-8688-LINUX2625-SAAR-10.49.3.p70-26609.P64_B1/wlan_src/Makefile 2011-11-10 11:11:37.288408994 +0100
@@ -89,7 +89,7 @@
# ARCH specifies the architecture of the target processor, this kernel
# module will run.
# ARCH can be set on the command line
-# make ARCH=<arm/i386>
+# make ARCH=<arm/x86>
# Alternatively ARCH can be set in the environment