diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-07-10 00:23:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-07-10 00:23:24 +0900 |
commit | 5bb4d4359a52e9caf331f6001b953dc553df64df (patch) | |
tree | 0e0ef61d88a17bf3fd53ee7bc32d3ec4b765b545 /debian/patches | |
download | universal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.tar.gz universal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.zip |
Initial import of UniversalIndentGUI 1.2.0 from Debian snapshot
(https://snapshot.debian.org/package/universalindentgui/1.2.0-1.1).
The code is available under GPL2 licence.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/disable_check_for_update.patch | 15 | ||||
-rw-r--r-- | debian/patches/qsci_rename.patch | 40 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 57 insertions, 0 deletions
diff --git a/debian/patches/disable_check_for_update.patch b/debian/patches/disable_check_for_update.patch new file mode 100644 index 0000000..26fe12e --- /dev/null +++ b/debian/patches/disable_check_for_update.patch @@ -0,0 +1,15 @@ +--- + src/UiGuiSettings.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/UiGuiSettings.cpp ++++ b/src/UiGuiSettings.cpp +@@ -181,7 +181,7 @@ bool UiGuiSettings::initSettings() + _qsettings->setValue( "UniversalIndentGUI/language", _availableTranslations.indexOf( _qsettings->value("UniversalIndentGUI/language", "").toString() ) );
+
+ // Read the update check settings from the settings file.
+- _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", true) );
++ _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", false) );
+ _qsettings->setValue( "UniversalIndentGUI/LastUpdateCheck", _qsettings->value("UniversalIndentGUI/LastUpdateCheck", QDate(1900,1,1)) );
+
+ // Read the main window state.
diff --git a/debian/patches/qsci_rename.patch b/debian/patches/qsci_rename.patch new file mode 100644 index 0000000..54489c1 --- /dev/null +++ b/debian/patches/qsci_rename.patch @@ -0,0 +1,40 @@ +--- universalindentgui-1.2.0.orig/UniversalIndentGUI.pro ++++ universalindentgui-1.2.0/UniversalIndentGUI.pro +@@ -23,7 +23,7 @@ macx { + ICON = resources/UniversalIndentGUI.icns + } + else { +- LIBS += -lqscintilla2 ++ LIBS += -lqscintilla2_qt4 + } + + CONFIG(release, debug|release) { +--- universalindentgui-1.2.0.orig/UniversalIndentGUI.xcodeproj/project.pbxproj ++++ universalindentgui-1.2.0/UniversalIndentGUI.xcodeproj/project.pbxproj +@@ -571,7 +571,7 @@ + ); + OTHER_LDFLAGS = ( + "-headerpad_max_install_names", +- "-lqscintilla2", ++ "-lqscintilla2_qt4", + "-L/opt/local/lib", + ); + OTHER_REZFLAGS = ""; +@@ -637,7 +637,7 @@ + ); + OTHER_LDFLAGS = ( + "-headerpad_max_install_names", +- "-lqscintilla2", ++ "-lqscintilla2_qt4", + "-L/opt/local/lib", + ); + OTHER_REZFLAGS = ""; +@@ -701,7 +701,7 @@ + ); + OTHER_LDFLAGS = ( + "-headerpad_max_install_names", +- "-lqscintilla2", ++ "-lqscintilla2_qt4", + "-L/opt/local/lib", + ); + OTHER_REZFLAGS = ""; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..3b81d2d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +disable_check_for_update.patch +qsci_rename.patch |