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 -ru seafile-8.0.3.original/daemon/repo-mgr.c seafile-8.0.3/daemon/repo-mgr.c | |
--- seafile-8.0.3.original/daemon/repo-mgr.c 2021-06-24 18:03:18.000000000 +1200 | |
+++ seafile-8.0.3/daemon/repo-mgr.c 2021-07-01 19:23:57.291706307 +1200 | |
@@ -1362,7 +1362,7 @@ | |
} | |
#endif | |
-#ifndef WIN32 | |
+#ifdef WIN32 | |
base_name = g_path_get_basename(full_path); |
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 -Nru rstudio-rstudio-aee4453.original/src/cpp/CMakeLists.txt rstudio-rstudio-aee4453/src/cpp/CMakeLists.txt | |
--- rstudio-rstudio-aee4453.original/src/cpp/CMakeLists.txt 2020-09-18 06:16:48.000000000 +1200 | |
+++ rstudio-rstudio-aee4453/src/cpp/CMakeLists.txt 2020-12-23 17:29:51.015656459 +1300 | |
@@ -28,6 +28,7 @@ | |
# global directives | |
add_definitions(-DBOOST_ENABLE_ASSERT_HANDLER) | |
+add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS) | |
# explicitly do not use new c++ 11 features for websocketpp |
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
Create Ubuntu DEB package from a Qt application | |
Setting up the environment | |
sudo apt-get install build-essential devscripts ubuntu-dev-tools debhelper dh-make diff patch gnupg fakeroot lintian pbuilder | |
sudo apt-get install cdbs | |
Pbuilder lets you build in a clean, chroot environment, ensuring | |
all dependencies are present. Create a file .pbuilderrc |
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
#Uploaded in response to query on psychopy list: https://groups.google.com/group/psychopy-users/browse_thread/thread/c65e453edf530f8 | |
#asking for code to input a string. | |
#Program flashes string on screen, and user tries to type it in. Supports backspace but no other editing special characters. | |
#Checks whether subject got it right | |
#Alex Holcombe alex.holcombe@sydney.edu.au 21 August 2012 | |
#licensing: CC-BY whch means do whatever you want with it, with an attribution to the author. If you want permission to use it without | |
#attribution, just contact me. | |
from psychopy import monitors, visual, event, data, logging, core, sound, gui | |
import psychopy.info |