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
# Maintainer: Pablo Lluch <pablo dot lluch at gmail dot com> | |
# Contributor: Chad Voegele | |
pkgname=python-spams | |
pkgver=2.5 | |
pkgrel=1 | |
arch=('i686' 'x86_64') | |
license=('GPL3') | |
pkgdesc="Optimization toolbox for solving various sparse estimation problems | |
with Python interface" |
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
diff --git a/python-spams.patch b/python-spams.patch | |
index dd7c7fa..4784767 100644 | |
--- a/python-spams.patch | |
+++ b/python-spams.patch | |
@@ -19,8 +19,8 @@ diff -Naur trunka/swig/python/mkpy trunk/swig/python/mkpy | |
-INC="-I. -Ispams/linalg -Ispams/prox -Ispams/decomp -Ispams/dictLearn -I/usr/include/python2.7/" | |
-INC_PYTHON=-I/usr/include/python2.6 | |
-+INC="-I. -Ispams/linalg -Ispams/prox -Ispams/decomp -Ispams/dictLearn -I/usr/include/python3.5m/" | |
-+INC_PYTHON=-I/usr/include/python3.5m |
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
diff -Naur trunka/linalg/linalg.h trunk/linalg/linalg.h | |
--- trunka/linalg/linalg.h 2016-04-24 08:33:27.339077788 -0500 | |
+++ trunk/linalg/linalg.h 2016-04-24 08:34:03.125869367 -0500 | |
@@ -1679,7 +1679,7 @@ | |
up.copy(u); | |
} | |
lambda+=theta*norm; | |
- if isnan(lambda) { | |
+ if (isnan(lambda)) { | |
std::cerr << "eigLargestSymApprox failed" << std::endl; |
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
diff -x .git -Naur xournal/src/xo-paint.c xournal_b/src/xo-paint.c | |
--- xournal/src/xo-paint.c 2017-01-12 16:59:15.343353729 -0600 | |
+++ xournal_b/src/xo-paint.c 2017-01-12 16:57:55.733350742 -0600 | |
@@ -277,6 +277,8 @@ | |
else { | |
if (hypot(pt[0]-pt[2], pt[1]-pt[3]) < PIXEL_MOTION_THRESHOLD/ui.zoom) | |
return; // not a meaningful motion | |
+ if (hypot(pt[0]-pt[2], pt[1]-pt[3]) > 100) | |
+ return; // not a meaningful motion | |
ui.cur_path.num_points++; |
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
mount -o bind /jffs/opt /opt | |
sleep 5 | |
. /opt/secrets.sh | |
/opt/ddns/ddns.sh & |
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/sh | |
# DynDNS Updater Script, with HTTPS/SSL Support | |
# This example uses Google's HTTPS/SSL URL update method to update the IP for hostname.example.com. | |
# This script runs in an endless loop set to the UPDATE_INTERVAL which is currently 1 minutes. | |
# Edit the settings section to match your DynDNS provider, | |
# including the DDNS URL which will be unique for each provider. | |
# See also: https://www.dd-wrt.com/wiki/index.php/DDNS_-_How_to_setup_Custom_DDNS_settings_using_embedded_inadyn_-_HOWTO#Custom_.28URL_Updates.29 | |
# And: http://www.dd-wrt.com/wiki/index.php/Useful_Scripts#DynDNS_Updates_Using_Curl_.28with_HTTPS.2FSSL_Support.29 | |
# alfer@fusebin.com | |
# cavoegele@gmail.com |