Your message dated Sat, 20 Apr 2013 16:09:50 +0100
with message-id <[email protected]>
and subject line Re: Bug#692363: unblock: texstudio/2.3+debian-4
has caused the Debian Bug report #692363,
regarding unblock: texstudio/2.3+debian-4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
692363: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692363
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package texstudio:
texstudio (2.3+debian-4) unstable; urgency=low
* Adding patch to prevent needless latex run when no bib-files are referenced
(Closes: #688558).
* Adding patch to set the default value of "automatically run 'latex, bibtex,
latex' if bib-files were changed" to disabled.
* Adding patch to make 'pdflatex, viewpdf' the default quick build option.
* Adding patch to prevent the config file from growing by unnecessary
whitespace.
* Adding patch to disable the riddle asked when accessing advanced
configuration options.
-- Tom Jampen <[email protected]> Sat, 20 Oct 2012 12:21:07 +0200
Thanks
Tom
diff -Nru texstudio-2.3+debian/debian/changelog
texstudio-2.3+debian/debian/changelog
--- texstudio-2.3+debian/debian/changelog 2012-06-24 13:26:24.000000000
+0200
+++ texstudio-2.3+debian/debian/changelog 2012-10-20 15:46:03.000000000
+0200
@@ -1,3 +1,17 @@
+texstudio (2.3+debian-4) unstable; urgency=low
+
+ * Adding patch to prevent needless latex run when no bib-files are referenced
+ (Closes: #688558).
+ * Adding patch to set the default value of "automatically run 'latex, bibtex,
+ latex' if bib-files were changed" to disabled.
+ * Adding patch to make 'pdflatex, viewpdf' the default quick build option.
+ * Adding patch to prevent the config file from growing by unnecessary
+ whitespace.
+ * Adding patch to disable the riddle asked when accessing advanced
+ configuration options.
+
+ -- Tom Jampen <[email protected]> Sat, 20 Oct 2012 12:21:07 +0200
+
texstudio (2.3+debian-3) unstable; urgency=low
* Adding build-dependency on zlib1g-dev (Closes: #678583).
diff -Nru texstudio-2.3+debian/debian/patches/06-fix-auto-bibtex.patch
texstudio-2.3+debian/debian/patches/06-fix-auto-bibtex.patch
--- texstudio-2.3+debian/debian/patches/06-fix-auto-bibtex.patch
1970-01-01 01:00:00.000000000 +0100
+++ texstudio-2.3+debian/debian/patches/06-fix-auto-bibtex.patch
2012-10-09 22:09:52.000000000 +0200
@@ -0,0 +1,21 @@
+Author: Tom Jampen <[email protected]>
+Description:
+ TeXstudio automatically runs 'latex, bibtex, latex' before compiling the
+ tex-files when referenced bib-files were changed. A bug caused the first of
+ these three commands to run even when no bib-files are referenced or present
+ at all. This patch prevents the needless and possibly harmful (e.g. when using
+ pdflatex instead of latex) 'latex' run.
+
+diff -Naurp a/texmaker.cpp b/texmaker.cpp
+--- a/texmaker.cpp 2012-09-28 15:16:18.796613057 +0200
++++ b/texmaker.cpp 2012-09-28 15:56:11.635616640 +0200
+@@ -3434,6 +3434,9 @@ void Texmaker::RunPreCompileCommand() {
+ foreach (const LatexDocument* doc, docs)
+ foreach (const FileNamePair& bf,
doc->mentionedBibTeXFiles())
+ bibFiles.insert(bf.absolute);
++ if (bibFiles.empty()) {
++ return;
++ }
+ if (bibFiles == master->lastCompiledBibTeXFiles) {
+ QFileInfo
bbl(BuildManager::parseExtendedCommandLine("?am.bbl",
documents.getTemporaryCompileFileName()).first());
+ if (bbl.exists()) {
diff -Nru
texstudio-2.3+debian/debian/patches/07-disable-auto-bibtex-option.patch
texstudio-2.3+debian/debian/patches/07-disable-auto-bibtex-option.patch
--- texstudio-2.3+debian/debian/patches/07-disable-auto-bibtex-option.patch
1970-01-01 01:00:00.000000000 +0100
+++ texstudio-2.3+debian/debian/patches/07-disable-auto-bibtex-option.patch
2012-10-09 22:16:48.000000000 +0200
@@ -0,0 +1,19 @@
+Author: Tom Jampen <[email protected]>
+Description:
+ Automatically running 'latex, bibtex, latex' if bib-files were changed
+ shouldn't be the default behavior as most users probably use other tex
+ compilers than latex nowadays (e.g. pdflatex). This patch sets the default
+ value to disabled.
+
+diff -Naurp a/configmanager.cpp b/configmanager.cpp
+--- a/configmanager.cpp 2012-10-09 22:15:18.178361247 +0200
++++ b/configmanager.cpp 2012-10-09 22:16:14.550659283 +0200
+@@ -582,7 +582,7 @@ QSettings* ConfigManager::readSettings()
+ return 0;
+ }
+ buildManager->readSettings(*config);
+- runLaTeXBibTeXLaTeX=config->value("Tools/After BibTeX Change",
"tmx://latex && tmx://bibtex && tmx://latex").toString()!="";
++ runLaTeXBibTeXLaTeX=config->value("Tools/After BibTeX Change",
"").toString()!="";
+
+ //import old key replacements or set default
+ QStringList keyReplace, keyReplaceAfterWord, keyReplaceBeforeWord;
diff -Nru
texstudio-2.3+debian/debian/patches/08-change-default-quickbuild-option.patch
texstudio-2.3+debian/debian/patches/08-change-default-quickbuild-option.patch
---
texstudio-2.3+debian/debian/patches/08-change-default-quickbuild-option.patch
1970-01-01 01:00:00.000000000 +0100
+++
texstudio-2.3+debian/debian/patches/08-change-default-quickbuild-option.patch
2012-10-09 22:24:01.000000000 +0200
@@ -0,0 +1,24 @@
+Author: Tom Jampen <[email protected]>
+Description:
+ This patch changes the default quick build command from 'latex, dvips, viewps'
+ to 'pdflatex, viewpdf' which seems more appropriate nowadays.
+
+diff -Naurp a/buildmanager.cpp b/buildmanager.cpp
+--- a/buildmanager.cpp 2012-10-09 07:30:48.152577937 +0200
++++ b/buildmanager.cpp 2012-10-09 07:34:12.268984537 +0200
+@@ -570,12 +570,12 @@ void BuildManager::readSettings(const QS
+ setLatexCommand(i,commands[i]);
+ if (reinterpret_cast<int&>(quickmode)<0) {
+ //choose working default where every necessary command is knownr
+- if (hasLatexCommand(CMD_LATEX) && hasLatexCommand(CMD_DVIPS) &&
hasLatexCommand(CMD_VIEWPS))
++ if (hasLatexCommand(CMD_PDFLATEX) &&
hasLatexCommand(CMD_VIEWPDF))
++ quickmode=3;
++ else if (hasLatexCommand(CMD_LATEX) &&
hasLatexCommand(CMD_DVIPS) && hasLatexCommand(CMD_VIEWPS))
+ quickmode=1;
+ else if (hasLatexCommand(CMD_LATEX) &&
hasLatexCommand(CMD_VIEWDVI))
+ quickmode=2;
+- else if (hasLatexCommand(CMD_PDFLATEX) &&
hasLatexCommand(CMD_VIEWPDF))
+- quickmode=3;
+ else if (hasLatexCommand(CMD_LATEX) &&
hasLatexCommand(CMD_DVIPDF) && hasLatexCommand(CMD_VIEWPDF))
+ quickmode=4;
+ else if (hasLatexCommand(CMD_LATEX) &&
hasLatexCommand(CMD_DVIPS) &&
diff -Nru texstudio-2.3+debian/debian/patches/09-trim-commands.patch
texstudio-2.3+debian/debian/patches/09-trim-commands.patch
--- texstudio-2.3+debian/debian/patches/09-trim-commands.patch 1970-01-01
01:00:00.000000000 +0100
+++ texstudio-2.3+debian/debian/patches/09-trim-commands.patch 2012-10-20
12:14:50.000000000 +0200
@@ -0,0 +1,20 @@
+Author: Tom Jampen <[email protected]>
+Description:
+ TeXstudio lets the user configure several commands and command options.
+ Commands without options (the default for some svn commands) let TeXstudio's
+ configuration file grow as TeXstudio adds whitespace after each command name
+ to separate it from its options everytime the configuration is saved. This
+ patch removes unnecessary whitespace.
+
+diff -Naurp a/buildmanager.cpp b/buildmanager.cpp
+--- a/buildmanager.cpp 2012-10-09 22:26:19.745856689 +0200
++++ b/buildmanager.cpp 2012-10-09 22:30:09.031067074 +0200
+@@ -617,7 +617,7 @@ void BuildManager::setLatexCommand(Latex
+ && (QFileInfo(unquote).exists())
+ )
+ ))
+- commands[cmd] = cmdString + " " +
defaultCommandOptions(cmd);
++ commands[cmd] = (cmdString + " " +
defaultCommandOptions(cmd)).trimmed();
+ else
+ commands[cmd] = cmdString;
+ }
diff -Nru texstudio-2.3+debian/debian/patches/10-disable-riddle.patch
texstudio-2.3+debian/debian/patches/10-disable-riddle.patch
--- texstudio-2.3+debian/debian/patches/10-disable-riddle.patch 1970-01-01
01:00:00.000000000 +0100
+++ texstudio-2.3+debian/debian/patches/10-disable-riddle.patch 2012-10-20
12:17:26.000000000 +0200
@@ -0,0 +1,19 @@
+Author: Tom Jampen <[email protected]>
+Description:
+ In order to display the advanced configuration options, TeXstudio users are
+ forced to correctly answer a riddle. This patch removes this unnecessary
+ obstacle.
+
+diff -Naurp a/configdialog.cpp b/configdialog.cpp
+--- a/configdialog.cpp 2012-10-02 10:06:14.272933764 +0200
++++ b/configdialog.cpp 2012-10-02 10:06:35.935400890 +0200
+@@ -522,8 +522,7 @@ void ConfigDialog::advancedOptionsToggle
+
+ void ConfigDialog::advancedOptionsClicked(bool on){
+ if (on) {
+- if (!askRiddle())
ui.checkBoxShowAdvancedOptions->setChecked(false);
+- else riddled = true;
++ riddled = true;
+ }
+ }
+
diff -Nru texstudio-2.3+debian/debian/patches/series
texstudio-2.3+debian/debian/patches/series
--- texstudio-2.3+debian/debian/patches/series 2012-05-19 23:22:15.000000000
+0200
+++ texstudio-2.3+debian/debian/patches/series 2012-10-20 12:16:52.000000000
+0200
@@ -3,3 +3,8 @@
03-fix-manpage-version.patch
04-mythes-path.patch
05-gcc4.7.patch
+06-fix-auto-bibtex.patch
+07-disable-auto-bibtex-option.patch
+08-change-default-quickbuild-option.patch
+09-trim-commands.patch
+10-disable-riddle.patch
--- End Message ---
--- Begin Message ---
On Thu, 2013-01-31 at 00:14 +0100, Nicolas Boulenguez wrote:
> The complete description that you provide confirms that your changes
> will most probably not reach wheezy, as they are not compliant with
> the current freeze policy [1].
>
> #688558 has a severity of normal. The worst other patched bug (ever
> growing config file) seems a normal bug to me [2].
>
> [1] http://release.debian.org/wheezy/freeze_policy.html
> [2] http://www.debian.org/Bugs/Developer#severities
I'm afraid I have to agree that it's too late to fix any of these bugs
for wheezy, in r0 at least. Even if we wanted to, texstudio is currently
RC-buggy in unstable, FTFBS on several architectures.
Regards,
Adam
--- End Message ---