Skip to content

Instantly share code, notes, and snippets.

Avatar

Tom Schoonjans tschoonj

View GitHub Profile
View Dockerfile.miniconda
# escape=`
FROM buildtools2019:latest
# Restore the default Windows shell for correct batch processing.
SHELL ["cmd", "/S", "/C"]
# Download the Miniconda installer
ADD https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe C:\TEMP\miniconda.exe
@tschoonj
tschoonj / # meson - 2019-09-15_16-55-59.txt
Created Oct 8, 2019
meson on macOS 10.13.6 - Homebrew build logs
View # meson - 2019-09-15_16-55-59.txt
Homebrew build logs for meson on macOS 10.13.6
Build date: 2019-09-15 16:55:59
@tschoonj
tschoonj / xraylib_np.c
Created Dec 12, 2016
Cython clang issue
View xraylib_np.c
This file has been truncated, but you can view the full file.
/* Generated by Cython 0.25.2 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
#error Cython requires Python 2.6+ or Python 3.2+.
#else
@tschoonj
tschoonj / Recipe
Created Nov 25, 2016
DAWN Linux AppImage Recipe
View Recipe
#!/bin/bash
APP="DawnDiamond"
VERSION="2.3.0.v20161123-1546"
rm -rf $APP/$APP.AppDir
rm -rf out
mkdir -p $APP
View nordugrid-arc.diff
diff --git a/src/hed/acc/JobDescriptionParser/ARCJSDLParser.cpp b/src/hed/acc/JobDescriptionParser/ARCJSDLParser.cpp
index eab7a58..78ace1a 100644
--- a/src/hed/acc/JobDescriptionParser/ARCJSDLParser.cpp
+++ b/src/hed/acc/JobDescriptionParser/ARCJSDLParser.cpp
@@ -225,7 +225,7 @@ namespace Arc {
if (bool(xmlBenchmark["BenchmarkType"]) &&
bool(xmlBenchmark["BenchmarkValue"]) &&
stringto(xmlBenchmark["BenchmarkValue"], value))
- benchmark = std::make_pair<std::string, int>((std::string)xmlBenchmark["BenchmarkType"], value);
+ benchmark = std::make_pair((std::string)xmlBenchmark["BenchmarkType"], value);
View synfig.diff
diff --git a/src/synfig/main.cpp b/src/synfig/main.cpp
index b60637d..2242598 100644
--- a/src/synfig/main.cpp
+++ b/src/synfig/main.cpp
@@ -289,22 +289,22 @@ synfig::Main::Main(const synfig::String& basepath,ProgressCallback *cb):
locations.push_back(getenv("SYNFIG_MODULE_LIST"));
else
{
- locations.push_back("./"MODULE_LIST_FILENAME);
+ locations.push_back("./" MODULE_LIST_FILENAME);
View synfigstudio.diff
diff --git a/src/gui/canvasview.cpp b/src/gui/canvasview.cpp
index 076f704..9cf4504 100644
--- a/src/gui/canvasview.cpp
+++ b/src/gui/canvasview.cpp
@@ -33,7 +33,7 @@
# include <config.h>
#endif
-#include <sigc++/adaptors/hide.h>
+#include <sigc++/sigc++.h>
View gio.patch
diff --git a/gio/Makefile.am b/gio/Makefile.am
index e993e2f..6eab656 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -131,7 +131,7 @@ endif
if OS_COCOA
settings_sources += \
- gnextstepsettingsbackend.c
+ gnextstepsettingsbackend.m
@tschoonj
tschoonj / gdl-plplot.patch
Created Jul 9, 2015
gdl patch to make it compatible with plplot 5.11.0
View gdl-plplot.patch
diff --git a/CMakeModules/FindPlplot.cmake b/CMakeModules/FindPlplot.cmake
index a503f8c..ad13e7a 100644
--- a/CMakeModules/FindPlplot.cmake
+++ b/CMakeModules/FindPlplot.cmake
@@ -9,8 +9,8 @@
#
-find_library(PLPLOT_LIBRARY NAMES plplotd)
-find_library(PLPLOTCXX_LIBRARY NAMES plplotcxxd)
@tschoonj
tschoonj / Makefile.am
Last active Aug 29, 2015
plplot extcairo gtkmm drawingarea
View Makefile.am
bin_PROGRAMS = plplot-test
plplot_test_SOURCES = main.cpp \
PLplotWindow.h \
PLplotWindow.cpp \
PLplotDrawingArea.h \
PLplotDrawingArea.cpp
plplot_test_CPPFLAGS= $(plplotcxx_CFLAGS) $(gtkmm_CFLAGS)
plplot_test_LDADD = $(plplotcxx_LIBS) $(gtkmm_LIBS)
You can’t perform that action at this time.