Skip to content

Instantly share code, notes, and snippets.

--
-- MediaTomb Launcher
-- Created by mattintosh4 on 2013-04-15.
-- Copyright (c) 2013 mattintosh4, https://github.com/mattintosh4
--
-- User edit area
property mediatomb : "/opt/local/bin/mediatomb"
Using built-in specs.
COLLECT_GCC=/usr/local/gcc48/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc48/libexec/gcc/x86_64-apple-darwin10.8.0/4.8.1/lto-wrapper
Target: x86_64-apple-darwin10.8.0
Configured with: ../configure --prefix=/usr/local/gcc48 --build=x86_64-apple-darwin10.8.0 --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --enable-cloog-backend=isl --enable-lto --enable-libstdcxx-time --disable-isl-version-check --disable-cloog-version-check --disable-multilib --disable-nls --disable-bootstrap --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-isl=/usr/local --with-cloog=/usr/local --with-host-libstdcxx=-lstdc++ CC=/usr/local/bin/clang CXX=/usr/local/bin/clang++
Thread model: posix
gcc version 4.8.1 20130429 (prerelease) (GCC)
/usr/local/gcc48
  1. m4 with --program-prefix=g.
    after installation, export M4=/usr/local/bin/gm4.
  • autoconf
  • automake
  • libtool with --program-prefix=g
    after installation, export LIBTOOL=/usr/local/bin/glibtool
    export LIBTOOLIZE=/usr/local/bin/glibtoolize.
  • pkg-config with --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig.
  • gettext
  • libffi
  • glib
  • freetype
  • libpng
--- jmorecfg.h.orig 2013-07-10 06:57:41.000000000 +0900
+++ jmorecfg.h 2013-07-10 06:58:30.000000000 +0900
@@ -252,17 +252,16 @@
* Defining HAVE_BOOLEAN before including jpeglib.h should make it work.
*/
-#ifdef HAVE_BOOLEAN
+#ifndef HAVE_BOOLEAN
+typedef int boolean;
+#endif
@mattintosh4
mattintosh4 / winetricks_tkool.patch
Last active December 22, 2015 02:09
Winetricks (20130707) に RPG ツクール 2000/2003/XP/VX/VX Ace RTP を追加するパッチ
@@ -3794,6 +3794,96 @@
#---------------------------------------------------------
+w_metadata rpg2000 dlls \
+ title="RPG TKOOL 2000 RTP" \
+ publisher="enterbrain" \
+ media="download" \
+ year="2000" \
+ file1="2000rtp.zip" \
#!/bin/sh
iconv -f UTF-8 -t CP932 <<EOS | /Applications/NXWine.app/Contents/Resources/bin/wine regedit.exe -
[HKEY_CURRENT_USER\\Software\\Wine\\Fonts\\Replacements]
"Meiryo"="ヒラギノ角ゴ Pro W3"
"Meiryo UI"="ヒラギノ角ゴ Pro W3"
"メイリオ"="ヒラギノ角ゴ Pro W3"
EOS
REGEDIT4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This file is written by CP932. ;;
;; Do not change encoding! ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
"MS UI Gothic"="ヒラギノ丸ゴ Pro W4"
"MS Pゴシック"="ヒラギノ丸ゴ Pro W4"
#!/bin/bash
bash --version
unset PATH
bash --version
$ enable -a
enable .
enable :
enable [
enable alias
enable bg
enable bind
enable break
enable builtin
enable caller
#!/bin/sh
set -e
case ${SHELL} in
*bash)
BASH=${SHELL}
;;
*)
BASH=`PATH=/usr/bin:/bin; which bash`
;;