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
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2018, djcj <djcj@gmx.de> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
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
class tray_window : public Fl_Double_Window | |
{ | |
public: | |
tray_window(int W, int H, const char *L=0) | |
: Fl_Double_Window(W, H, L) { } | |
int handle(int event) { | |
int rv = Fl_Double_Window::handle(event); | |
switch (event) { | |
case FL_PUSH: |
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
@echo OFF | |
if exist %SystemRoot%\SysWOW64 ( | |
set ARCH=x64 | |
) else ( | |
set ARCH=i586 | |
) | |
if not exist jre1.8.0_171\bin\java.exe ( | |
rd /s /q jre1.8.0_171 |
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
https://github.com/mate-desktop/engrampa/commit/499e600d758578eeb8187f92d0c12b36e50f7595 | |
--- a/src/fr-init.c | |
+++ b/src/fr-init.c | |
@@ -62,6 +62,7 @@ | |
{ "application/x-7z-compressed-tar", ".tar.7z", N_("Tar compressed with 7z (.tar.7z)"), 0 }, | |
{ "application/x-ace", ".ace", N_("Ace (.ace)"), 0 }, | |
{ "application/x-alz", ".alz", NULL, 0 }, | |
+ { "application/x-ar", ".a", N_("Ar (.a)"), 0 }, | |
{ "application/x-ar", ".ar", N_("Ar (.ar)"), 0 }, |
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 | |
set -e | |
export LANG=C | |
monopath="/usr/lib/mono/4.5" | |
file="$1" | |
need="/tmp/need.log" | |
out="bundle" |
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 | |
# build-dependencies: mono-devel subversion imagemagick | |
# build system: Ubuntu 16.04 | |
set -e | |
set -x | |
export LANG=C | |
APP="gMKVExtractGUI" | |
from_source=yes |
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
app: gMKVExtractGUI | |
binpatch: false | |
ingredients: | |
packages: | |
- mkvtoolnix | |
- mono-runtime | |
- libmono-corlib4.5-cil | |
- libmono-system-core4.0-cil | |
- libmono-system-data4.0-cil |
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) { |