Skip to content

Instantly share code, notes, and snippets.

@cbeck88
cbeck88 / gist:e35200c5642819173eeb
Created October 31, 2014 01:29
ldd wesnoth 1.11.18 (didn't crash on ATS E1 S6.2)
$ ldd wesnoth
linux-vdso.so.1 => (0x00007fff3b462000)
libboost_iostreams.so.1.56.0 => /home/chris/.linuxbrew/lib/libboost_iostreams.so.1.56.0 (0x00007fc2b222d000)
libSDL-1.2.so.0 => /home/chris/.linuxbrew/lib/libSDL-1.2.so.0 (0x00007fc2b1fa0000)
libSDL_net-1.2.so.0 => /home/chris/.linuxbrew/lib/libSDL_net-1.2.so.0 (0x00007fc2b1d9a000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc2b1b50000)
libboost_system.so.1.56.0 => /home/chris/.linuxbrew/lib/libboost_system.so.1.56.0 (0x00007fc2b194c000)
libpangocairo-1.0.so.0 => /home/chris/.linuxbrew/lib/libpangocairo-1.0.so.0 (0x00007fc2b173f000)
libpango-1.0.so.0 => /home/chris/.linuxbrew/lib/libpango-1.0.so.0 (0x00007fc2b14fc000)
libgobject-2.0.so.0 => /home/chris/.linuxbrew/lib/libgobject-2.0.so.0 (0x00007fc2b12bc000)
@cbeck88
cbeck88 / gist:f30caf932d5a87bf6ac2
Last active August 29, 2015 14:08
dynamically linked deps (not transitive) for linuxbrew compiled wesnoth 1.11.18
(note that in this build, as a workaround for bugs, libpng is statically linked into sdl_image)
chris@chris-KLR650 ~/wesnoth-src/.a-a-áÇØßÜ/wesnoth $ readelf -Wa wesnoth|grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libSDL_net-1.2.so.0]
0x0000000000000001 (NEEDED) Shared library: [libboost_iostreams.so.1.56.0]
0x0000000000000001 (NEEDED) Shared library: [libboost_system.so.1.56.0]
0x0000000000000001 (NEEDED) Shared library: [libboost_filesystem.so.1.56.0]
0x0000000000000001 (NEEDED) Shared library: [libboost_locale.so.1.54.0]
0x0000000000000001 (NEEDED) Shared library: [libSDL-1.2.so.0]
@cbeck88
cbeck88 / wesnoth.rb
Last active August 29, 2015 14:08
temp temp temp
require 'formula'
class Wesnoth < Formula
homepage 'http://www.wesnoth.org/'
head 'https://github.com/wesnoth/wesnoth.git'
stable do
url 'https://downloads.sourceforge.net/project/wesnoth/wesnoth-1.10/wesnoth-1.10.7/wesnoth-1.10.7.tar.bz2'
sha1 '86e329585244c377a1863f64dd534bc7bbcc7acf'
chris@chris-KLR650 ~ $ ldd .linuxbrew/bin/wesnoth
linux-vdso.so.1 => (0x00007fffdd0f6000)
libSDL_net-1.2.so.0 => /home/chris/.linuxbrew/lib/libSDL_net-1.2.so.0 (0x00007f8a19ee4000)
libboost_iostreams.so.1.56.0 => /home/chris/.linuxbrew/lib/libboost_iostreams.so.1.56.0 (0x00007f8a19ccc000)
libboost_system.so.1.56.0 => /home/chris/.linuxbrew/lib/libboost_system.so.1.56.0 (0x00007f8a19ac7000)
libboost_filesystem.so.1.56.0 => /home/chris/.linuxbrew/lib/libboost_filesystem.so.1.56.0 (0x00007f8a198af000)
libboost_locale.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.54.0 (0x00007f8a195ae000)
libSDL-1.2.so.0 => /home/chris/.linuxbrew/lib/libSDL-1.2.so.0 (0x00007f8a19320000)
libSDL_ttf-2.0.so.0 => /home/chris/.linuxbrew/lib/libSDL_ttf-2.0.so.0 (0x00007f8a1911a000)
libSDL_mixer-1.2.so.0 => /home/chris/.linuxbrew/lib/libSDL_mixer-1.2.so.0 (0x00007f8a18ed1000)
chris@chris-KLR650 ~ $ brew list
autoconf boost jpeg libtiff pkg-config sdl xz
automake ccache libpng libtool scons webp
chris@chris-KLR650 ~ $ brew doctor
Your system is ready to brew.
chris@chris-KLR650 ~ $ brew install sdl_image --verbose
==> Downloading http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz
Already downloaded: /home/chris/.cache/Homebrew/sdl_image-1.2.12.tar.gz
==> Verifying sdl_image-1.2.12.tar.gz checksum
tar xf /home/chris/.cache/Homebrew/sdl_image-1.2.12.tar.gz
chris@chris-KLR650 ~ $ echo $PATH
/home/chris/.linuxbrew/sbin:/home/chris/.linuxbrew/bin:/home/chris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
chris@chris-KLR650 ~ $ cat .bashrc
#export PS1='\[$(__vte_prompt_command)\]'$PS1
#. /etc/profile.d/vte.sh
chris@chris-KLR650 ~/wesnoth-src/.a-a-áÇØßÜ/wesnoth $ find -type f -name "SConscript"
./src/SConscript
./src/nacl/SConscript
./src/lua/SConscript
./src/ana/src/SConscript
./doc/SConscript
./doc/manual/SConscript
./po/SConscript
./packaging/systemd/SConscript
./packaging/windows/SConscript
http://bot.brew.sh/job/Homebrew%20Games%20Pull%20Requests/19/version=yosemite/consoleText
Started by upstream project "Homebrew Games Pull Requests" build number 19
originally caused by:
GitHub pull request #165 of commit c662613fd57edfc5c5c0aea05d0e709aa3d85247 automatically merged.
[EnvInject] - Loading node environment variables.
Building remotely on yosemite in workspace /Users/brew/Jenkins/workspace/Homebrew Games Pull Requests/version/yosemite
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Homebrew/homebrew-games/ # timeout=10
patching file SConstruct
Hunk #1 FAILED at 105.
Hunk #2 succeeded at 121 with fuzz 2 (offset -10 lines).
1 out of 2 hunks FAILED -- saving rejects to file SConstruct.rej
Error: Failure while executing: /usr/bin/patch -g 0 -f -d /home/chris/homebrew_temp/wesnoth-9nRiWP/wesnoth-1.10.7 -p1 -i /home/chris/homebrew_temp/wesnoth--patch-zNT1mB/8f93e0ebb01a2cccafa45f851dd18dc660f94176.diff
chris@chris-KLR650 ~/wesnoth-src/.a-a-áÇØßÜ/wesnoth $ scons cxx0x=true
scons: Reading SConscript files ...
Saved options: default_targets = 'wesnoth,wesnothd', ccache = True, cxxtool = 'clang++'
Building Wesnoth version 1.13.0-dev
---[checking prerequisites]---
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/poll.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file sys/sendfile.h... (cached) yes
Checking for C function sendfile()... (cached) yes