[arch-commits] Commit in subtitleeditor/trunk (3 files)

Jaroslav Lichtblau <j at archlinux.org Jaroslav Lichtblau <j at archlinux.org
Mon Aug 1 16:53:12 UTC 2016


    Date: Monday, August 1, 2016 @ 16:53:12
  Author: jlichtblau
Revision: 184756

upgpkg: subtitleeditor 0.53.0-1 - new upstream release

Modified:
  subtitleeditor/trunk/PKGBUILD
  subtitleeditor/trunk/subtitleeditor.changelog
Deleted:
  subtitleeditor/trunk/cxx11-fixes.patch

--------------------------+
 PKGBUILD                 |   18 +++-----------
 cxx11-fixes.patch        |   57 ---------------------------------------------
 subtitleeditor.changelog |    3 ++
 3 files changed, 8 insertions(+), 70 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-01 15:31:05 UTC (rev 184755)
+++ PKGBUILD	2016-08-01 16:53:12 UTC (rev 184756)
@@ -2,8 +2,8 @@
 # Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
 
 pkgname=subtitleeditor
-pkgver=0.52.1
-pkgrel=3
+pkgver=0.53.0
+pkgrel=1
 pkgdesc="A GTK+3 tool to edit subtitles for GNU/Linux/*BSD"
 arch=('i686' 'x86_64')
 url="http://home.gna.org/subtitleeditor/"
@@ -10,19 +10,11 @@
 license=('GPL3')
 depends=('desktop-file-utils' 'enchant' 'gst-plugins-base' 'gstreamermm' 'gst-libav'
          'gtkmm3' 'hicolor-icon-theme' 'libsigc++' 'libxml++' 'xdg-utils')
-makedepends=('intltool' 'patch')
+makedepends=('intltool')
 changelog=$pkgname.changelog
-source=(http://download.gna.org/$pkgname/0.52/$pkgname-$pkgver.tar.gz
-        cxx11-fixes.patch)
-sha256sums=('5b3e5fc1f12bcf0d4bcf5014249b6832181bd3b513ac04ee665ec979441412d5'
-            '6e28116cc79553349eecde84a1f45dd50e4fabea58cdc0f809e4be4711ea6d76')
+source=(http://download.gna.org/$pkgname/0.53/$pkgname-$pkgver.tar.gz)
+sha256sums=('8fac7430fb552438d075ef3809d4a0f04a764d4dd0723a3ef18b2b695fecf920')
 
-prepare() {
-  cd "${srcdir}"/$pkgname-$pkgver
-  patch -Np1 -i ../cxx11-fixes.patch
-  sed -i -e 's/-ansi -Wall -Wextra -Wconversion/-std=c++11/' configure
-}
-
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 

Deleted: cxx11-fixes.patch
===================================================================
--- cxx11-fixes.patch	2016-08-01 15:31:05 UTC (rev 184755)
+++ cxx11-fixes.patch	2016-08-01 16:53:12 UTC (rev 184756)
@@ -1,57 +0,0 @@
-diff -uprb subtitleeditor-0.52.1.orig/plugins/actions/dialoguize/dialoguize.cc subtitleeditor-0.52.1/plugins/actions/dialoguize/dialoguize.cc
---- subtitleeditor-0.52.1.orig/plugins/actions/dialoguize/dialoguize.cc	2015-06-22 00:09:31.000000000 +0300
-+++ subtitleeditor-0.52.1/plugins/actions/dialoguize/dialoguize.cc	2015-12-07 21:05:46.340426646 +0200
-@@ -23,7 +23,7 @@
-  *	along with this program. If not, see <http://www.gnu.org/licenses/>.
-  */
-  
--#include <auto_ptr.h>
-+#include <memory>
- #include "extension/action.h"
- #include "i18n.h"
- #include "debug.h"
-diff -uprb subtitleeditor-0.52.1.orig/plugins/actions/documentmanagement/documentmanagement.cc subtitleeditor-0.52.1/plugins/actions/documentmanagement/documentmanagement.cc
---- subtitleeditor-0.52.1.orig/plugins/actions/documentmanagement/documentmanagement.cc	2015-06-22 00:09:31.000000000 +0300
-+++ subtitleeditor-0.52.1/plugins/actions/documentmanagement/documentmanagement.cc	2015-12-07 21:08:40.702810369 +0200
-@@ -178,9 +178,9 @@ public:
- 
- 		ui_id = ui->new_merge_id();
- 
--		#define ADD_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/"name, name, name);
--		#define ADD_OPEN_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-open/"name, name, name);
--		#define ADD_SAVE_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-save/"name, name, name);
-+		#define ADD_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/" name, name, name);
-+		#define ADD_OPEN_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-open/" name, name, name);
-+		#define ADD_SAVE_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-save/" name, name, name);
- 
- 		ADD_UI("new-document");
- 		ADD_OPEN_UI("open-document");
-diff -uprb subtitleeditor-0.52.1.orig/src/subtitleview.cc subtitleeditor-0.52.1/src/subtitleview.cc
---- subtitleeditor-0.52.1.orig/src/subtitleview.cc	2015-06-22 00:09:29.000000000 +0300
-+++ subtitleeditor-0.52.1/src/subtitleview.cc	2015-12-07 21:01:22.456819460 +0200
-@@ -1363,7 +1363,7 @@ bool SubtitleView::on_key_press_event(Gd
- 	{
- 		int num;
- 		std::istringstream ss(event->string);
--		bool is_num = ss >> num != 0; 
-+		bool is_num = static_cast<bool>(ss >> num);
- 		// Update only if it's different
- 		if(is_num != get_enable_search())
- 			set_enable_search(is_num);
-@@ -1647,4 +1647,3 @@ Glib::ustring SubtitleView::get_current_
- 		return get_name_of_column(m_currentColumn);
- 	return Glib::ustring();
- }
--
-diff -uprb subtitleeditor-0.52.1.orig/src/utility.h subtitleeditor-0.52.1/src/utility.h
---- subtitleeditor-0.52.1.orig/src/utility.h	2015-06-22 00:09:29.000000000 +0300
-+++ subtitleeditor-0.52.1/src/utility.h	2015-12-07 20:57:40.037095232 +0200
-@@ -91,7 +91,7 @@ bool from_string(const Glib::ustring &sr
- 	std::istringstream s(src);
- 	// return s >> dest != 0;
- 
--	bool state = s >> dest != 0;
-+	bool state = static_cast<bool>(s >> dest);
- 
- 	if(!state)
- 		se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());

Modified: subtitleeditor.changelog
===================================================================
--- subtitleeditor.changelog	2016-08-01 15:31:05 UTC (rev 184755)
+++ subtitleeditor.changelog	2016-08-01 16:53:12 UTC (rev 184756)
@@ -1,3 +1,6 @@
+2016-08-01 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* subtitleeditor 0.53.0-1
+
 2016-04-30 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* subtitleeditor 0.52.1-3 pacman hooks rebuild
 



More information about the arch-commits mailing list