From 96ed2c4fc513a84f8360317e330a1d0efb26bfe59b4cc8c83d31c531f918a8bb Mon Sep 17 00:00:00 2001
From: OBS User mrdocs <null@suse.de>
Date: Fri, 15 Mar 2013 03:42:40 +0000
Subject: [PATCH] Accepting request 159448 from
 home:badshah400:branches:Publishing

Update to version 4.0

OBS-URL: https://build.opensuse.org/request/show/159448
OBS-URL: https://build.opensuse.org/package/show/Publishing/texmaker?expand=0&rev=49
---
 texmaker-3.5.2.tar.bz2              |  3 ---
 texmaker-4.0.tar.bz2                |  3 +++
 texmaker-correct-doc-location.patch |  8 ++++----
 texmaker.changes                    | 25 +++++++++++++++++++++++++
 texmaker.spec                       |  4 ++--
 5 files changed, 34 insertions(+), 9 deletions(-)
 delete mode 100644 texmaker-3.5.2.tar.bz2
 create mode 100644 texmaker-4.0.tar.bz2

diff --git a/texmaker-3.5.2.tar.bz2 b/texmaker-3.5.2.tar.bz2
deleted file mode 100644
index c23e583..0000000
--- a/texmaker-3.5.2.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5ffc96d64befa07656ee82e4f3cfc95a84d73759607d0229e864899d7629f312
-size 13165580
diff --git a/texmaker-4.0.tar.bz2 b/texmaker-4.0.tar.bz2
new file mode 100644
index 0000000..175605c
--- /dev/null
+++ b/texmaker-4.0.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7e8dd8ebf7ed2102c32b46640e3b030d9d8d4899067d50873cd9f9f6eabd2c21
+size 13120378
diff --git a/texmaker-correct-doc-location.patch b/texmaker-correct-doc-location.patch
index 9b4f3fe..fa76365 100644
--- a/texmaker-correct-doc-location.patch
+++ b/texmaker-correct-doc-location.patch
@@ -1,8 +1,8 @@
-Index: texmaker-3.3.2/texmaker.pro
+Index: texmaker-4.0/texmaker.pro
 ===================================================================
---- texmaker-3.3.2.orig/texmaker.pro
-+++ texmaker-3.3.2/texmaker.pro
-@@ -346,9 +346,6 @@ utilities.files = doc/doc1.png \
+--- texmaker-4.0.orig/texmaker.pro
++++ texmaker-4.0/texmaker.pro
+@@ -351,9 +351,6 @@ utilities.files = doc/doc1.png \
  	atd/atd.css \
  	atd/csshttprequest.js \
  	atd/jquery.atd.textarea.js \
diff --git a/texmaker.changes b/texmaker.changes
index 8154623..fce60e5 100644
--- a/texmaker.changes
+++ b/texmaker.changes
@@ -1,3 +1,28 @@
+-------------------------------------------------------------------
+Thu Mar 14 17:48:13 UTC 2013 - badshah400@gmail.com
+
+- Update to version 4.0:
+  + Now supports Qt5 (this version can also be compiled on
+    Qt>=4.7.2)
+  + Ctrl+Shift+F2 keyboard shortcut for toggling between the
+    master document and the current document
+  + Continuous mode in the internal pdf viewer is not re-enabled
+    automatically after a new compilation
+  + Unix/MacOSX users can now add an option in the configuration
+    dialog to the lp command for printing documents from the
+    internal pdf viewer
+  + a special "quick build command" has been added for the .asy
+    files : if the current document has an .asy extension, this
+    "asymptote quick build command" will be used with the F1
+    shortcut instead of the standard "quick build command"
+  + while using the "user tags", @@ will now be replaced by @
+    (a single @ is always used to set a place holder)
+  + Bugs fixed :
+    - A compilation trouble with gcc 4.8 has been fixed
+    - A problem with the insertion of an user tag by using a
+      keyboard trigger has been fixed
+    - A bad column count in the editor has been fixed  
+
 -------------------------------------------------------------------
 Fri Nov  9 23:25:57 UTC 2012 - badshah400@gmail.com
 
diff --git a/texmaker.spec b/texmaker.spec
index 9fef552..e168d6a 100644
--- a/texmaker.spec
+++ b/texmaker.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package texmaker
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           texmaker
-Version:        3.5.2
+Version:        4.0
 Release:        0
 Summary:        Free cross-platform LaTeX editor
 License:        GPL-2.0