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
_SRCS = \ | |
ar \ | |
arscan \ | |
commands \ | |
default \ | |
dir \ | |
expand \ | |
file \ | |
function \ | |
getloadavg \ |
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 | |
# tested on Ubuntu 16.04 | |
set -x | |
set -e | |
APP="mkvtoolnix-gui" | |
VERSION="23.0.0" | |
jobs="6" | |
qtversion="5.10.1" |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <ierrors.h> | |
#include <iapi.h> | |
static int gsdll_stdin(void *instance, char *buf, int len) { |
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
This file is part of MXE. See LICENSE.md for licensing information. | |
Contains ad hoc patches for cross building. | |
diff --git a/configure.ac b/configure.ac | |
index 1111111..2222222 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -146,9 +148,16 @@ if test x"$CCAUX" != x"" ; then | |
echo $AUXFLAGS_MAK_LINE06 >> $AUXFLAGS_MAK.in |
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
make[1]: Entering directory '/home/djcj/mxe' | |
uname -a | |
Linux djcj 4.4.0-122-generic #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | |
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1 | |
8a0bc9f733adfe0563ba0e86de754725b901873d - Update packages.json & build-matrix.html [6 days ago] [ (grafted, HEAD -> master, origin/master, origin/HEAD)] | |
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true | |
Distributor ID: Ubuntu | |
Description: Ubuntu 16.04.4 LTS | |
Release: 16.04 | |
Codename: xenial |
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
// windres bms.res bms_res.o | |
// g++ -m32 -Wall -O3 -mwindows bms_win32.cpp -o bms.exe bms_res.o -lshlwapi -s | |
// cl /Ox /EHsc /GS /guard:cf bms_win32.cpp /link /out:bms.exe bms.res user32.lib advapi32.lib shlwapi.lib | |
#include <windows.h> | |
#include <shlwapi.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <string> |
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 | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
# | |
# In jurisdictions that recognize copyright laws, the author or authors |
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
// gcc -m32 -Wall -Wextra -O3 bms.c -o bms_linux_new -ldl -s -Wl,-rpath,'$ORIGIN/bin' | |
// setting the RPATH to '$ORIGIN/bin' makes it possible to start the game without "bms.sh" | |
#include <dlfcn.h> | |
#include <errno.h> | |
#include <inttypes.h> | |
#include <libgen.h> | |
#include <limits.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
Copyright (c) 2014, Christoph "Youka" Spanknebel | |
Copyright (c) 2017 djcj <[email protected]> | |
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. | |
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: | |
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. | |
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. |
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
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* | |
* In jurisdictions that recognize copyright laws, the author or authors | |
* of this software dedicate any and all copyright interest in the |