[Pkg-xfce-commits] r7467 - in desktop/trunk/mousepad: . debian debian/patches

Yves-Alexis Perez corsac at alioth.debian.org
Tue May 21 10:21:33 UTC 2013


Author: corsac
Date: 2013-05-21 22:21:33 +0000 (Tue, 21 May 2013)
New Revision: 7467

Removed:
   desktop/trunk/mousepad/debian/patches/00_resensitize-find-button.patch
   desktop/trunk/mousepad/debian/patches/01_fix-first-replace.patch
   desktop/trunk/mousepad/debian/patches/02_fix-typos-in-test.patch
   desktop/trunk/mousepad/debian/patches/series
Modified:
   desktop/trunk/mousepad/
   desktop/trunk/mousepad/debian/changelog
   desktop/trunk/mousepad/debian/compat
   desktop/trunk/mousepad/debian/control
   desktop/trunk/mousepad/debian/rules
Log:
merge changes from experimental



Property changes on: desktop/trunk/mousepad
___________________________________________________________________
Added: svn:mergeinfo
   + /desktop/branches/experimental/mousepad:7249-7429

Modified: desktop/trunk/mousepad/debian/changelog
===================================================================
--- desktop/trunk/mousepad/debian/changelog	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/changelog	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,3 +1,39 @@
+mousepad (0.3.0-2) UNRELEASED; urgency=low
+
+  [ Yves-Alexis Perez ]
+  * debian/control:
+    - drop build-dep on hardening-includes, not needed anymore.
+  * debian/rules:
+    - enable all hardening flags..
+
+  [ Lionel Le Folgoc ]
+  * debian/control:
+    - drop xfprint4 recommendation, mousepad uses gtk printing now.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Mon, 31 Dec 2012 06:53:05 +0100
+
+mousepad (0.3.0-1) experimental; urgency=low
+
+  * New upstream release.
+    - properly handle “file modified” status.                   closes: #508119
+    - properly handle modified files when opening recent ones.  closes: #587667
+    - properly handle “search & replace”.                       closes: #612005
+    - “match case” setting is remembered.                       closes: #524963
+  * debian/patches:
+    - 02_fix-typos-in-test, 01_fix-first-replace,
+      00_resensitize-find-button dropped, included upstream.
+  * debian/control:
+    - drop build-dep on libxfcegui4-dev.
+    - add build-dep on libgtksourceview2.0-dev and libdbus-glib-1-dev.
+    - update debhelper build-dep to 9.
+  * debian/compat bumped to 9.
+  * debian/rules:
+    - use debhelper 9 hardening support.
+    - use --fail-missing in dh_install.
+    - no need to ignore files in .pc anymore. 
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 30 Dec 2012 20:32:25 +0100
+
 mousepad (0.2.16-6) unstable; urgency=low
 
   [ Lionel Le Folgoc ]

Modified: desktop/trunk/mousepad/debian/compat
===================================================================
--- desktop/trunk/mousepad/debian/compat	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/compat	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1 +1 @@
-7
+9

Modified: desktop/trunk/mousepad/debian/control
===================================================================
--- desktop/trunk/mousepad/debian/control	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/control	2013-05-21 22:21:33 UTC (rev 7467)
@@ -4,9 +4,8 @@
 Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
 Uploaders: Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, 
  Yves-Alexis Perez <corsac at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), 
- libxfcegui4-dev (>= 4.6.0), pkg-config, libxml-parser-perl, intltool,
- hardening-includes
+Build-Depends: debhelper (>= 9), pkg-config, libxml-parser-perl, intltool,
+ libgtksourceview2.0-dev, libdbus-glib-1-dev
 Standards-Version: 3.9.3
 Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/mousepad/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/mousepad/
@@ -15,7 +14,6 @@
 Section: xfce
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: xfprint4
 Description: simple Xfce oriented text editor
  Mousepad is a graphical text editor for Xfce based on Leafpad.
  .

Deleted: desktop/trunk/mousepad/debian/patches/00_resensitize-find-button.patch
===================================================================
--- desktop/trunk/mousepad/debian/patches/00_resensitize-find-button.patch	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/patches/00_resensitize-find-button.patch	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,32 +0,0 @@
-Description: Fix find and replace with gtk+ >= 2.18
-Origin: upstream, http://git.xfce.org/apps/mousepad/commit/?id=80819d447df5661ee6c9e9cd22f501cee612da8b
-Bug: https://bugzilla.xfce.org/show_bug.cgi?id=5831
-
---- mousepad-0.2.16.orig/src/search.c
-+++ mousepad-0.2.16/src/search.c
-@@ -210,8 +210,11 @@
- 		G_CALLBACK(toggle_sensitivity), NULL);
- 	 g_signal_connect(G_OBJECT(entry_find), "delete-text",
- 		G_CALLBACK(toggle_sensitivity), NULL);
--	 if (sd->search.string_find) 
-+	 if (sd->search.string_find) {
- 		 gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
-+		 gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
-+			GTK_RESPONSE_OK, TRUE);
-+	 }
- 
- 	gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
- 	gtk_entry_set_activates_default(GTK_ENTRY(entry_find), TRUE);
-@@ -275,8 +278,11 @@
- 		G_CALLBACK(toggle_sensitivity), NULL);
- 	 g_signal_connect(G_OBJECT(entry_find), "delete-text",
- 		G_CALLBACK(toggle_sensitivity), NULL);
--	 if (sd->search.string_find) 
-+	 if (sd->search.string_find) {
- 		 gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
-+		 gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
-+			GTK_RESPONSE_OK, TRUE);
-+	}
- 	label_replace = gtk_label_new_with_mnemonic(_("Re_place with: "));
- 	 gtk_misc_set_alignment(GTK_MISC(label_replace), 0, 0.5);
- 	 gtk_table_attach_defaults(GTK_TABLE(table), label_replace, 0, 1, 1, 2);

Deleted: desktop/trunk/mousepad/debian/patches/01_fix-first-replace.patch
===================================================================
--- desktop/trunk/mousepad/debian/patches/01_fix-first-replace.patch	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/patches/01_fix-first-replace.patch	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,40 +0,0 @@
-Description: fix Find function
-Origin: upstream, http://git.xfce.org/apps/mousepad/commit/?id=a6383ccf4e3ba425ffb6489a795785e6a626c048
-Bug: https://bugzilla.xfce.org/show_bug.cgi?id=6544
-
-diff -Naur mousepad-svn-r29637/src/search.c mousepad/src/search.c
---- mousepad-svn-r29637/src/search.c	2007-11-16 05:20:21.000000000 +0500
-+++ mousepad/src/search.c	2009-03-01 13:03:38.000000000 +0500
-@@ -78,7 +78,7 @@
- static gint document_replace_real(StructData *sd)
- {
- 	GtkTextIter iter, match_start, match_end;
--	GtkTextMark *mark_init = NULL;
-+	GtkTextMark *mark_init = NULL, *mark_start, *mark_end;
- 	gboolean res;
- 	gint num = 0;
- 	GtkWidget *q_dialog = NULL;
-@@ -113,6 +113,11 @@
- 				if (num == 0 && q_dialog == NULL)
- 					q_dialog = create_dialog_message_question(
- 						gtk_widget_get_toplevel(sd->mainwin->textview), _("Replace?"));
-+
-+				gtk_text_buffer_get_selection_bounds(textbuffer, &match_start, &match_end);
-+				mark_start = gtk_text_buffer_create_mark(textbuffer, NULL, &match_start, FALSE);
-+				mark_end = gtk_text_buffer_create_mark(textbuffer, NULL, &match_end, FALSE);
-+
- 				switch (gtk_dialog_run(GTK_DIALOG(q_dialog))) {
- 				case GTK_RESPONSE_CANCEL:
- 					res = 0;
-@@ -122,6 +127,11 @@
- 				case GTK_RESPONSE_NO:
- 					continue;
- 				}
-+
-+				gtk_text_buffer_get_iter_at_mark(textbuffer, &match_start, mark_start);
-+				gtk_text_buffer_get_iter_at_mark(textbuffer, &match_end, mark_end);
-+				gtk_text_buffer_move_mark_by_name(textbuffer, "selection_bound", &match_start);
-+				gtk_text_buffer_move_mark_by_name(textbuffer, "insert", &match_end);
- 			}
- 			gtk_text_buffer_delete_selection(textbuffer, TRUE, TRUE);
- 			undo_set_sequency(TRUE);

Deleted: desktop/trunk/mousepad/debian/patches/02_fix-typos-in-test.patch
===================================================================
--- desktop/trunk/mousepad/debian/patches/02_fix-typos-in-test.patch	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/patches/02_fix-typos-in-test.patch	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,37 +0,0 @@
-diff --git a/src/keyevent.c b/src/keyevent.c
-index ee6389c..549db21 100644
---- a/src/keyevent.c
-+++ b/src/keyevent.c
-@@ -36,7 +36,7 @@ guint keyevent_getval(void)
- 	gchar flag = 0;
- 	
- 	gdk_window_get_pointer(gdkwin, NULL, NULL, &mask);
--	if (mask &= GDK_CONTROL_MASK)
-+	if (mask & GDK_CONTROL_MASK)
- 		flag = 1;
- 	
- 	return keyval + 0x10000 * flag;
-@@ -89,19 +89,19 @@ static gboolean cb_key_press_event(GtkWidget *text_view, GdkEventKey *event)
- 	case GDK_Return:
- 		if (check_preedit(text_view))
- 			return FALSE;
--		if ((indent_get_state() && !(event->state &= GDK_SHIFT_MASK)) ||
--			(!indent_get_state() && (event->state &= GDK_SHIFT_MASK))) {
-+		if ((indent_get_state() && !(event->state & GDK_SHIFT_MASK)) ||
-+			(!indent_get_state() && (event->state & GDK_SHIFT_MASK))) {
- 			indent_real(text_view);
- 			return TRUE;
- 		}
- 		break;
- 	case GDK_Tab:
--		if (event->state &= GDK_CONTROL_MASK) {
-+		if (event->state & GDK_CONTROL_MASK) {
- 			indent_toggle_tab_width(text_view);
- 			return TRUE;
- 		}
- 	case GDK_ISO_Left_Tab:
--		if (event->state &= GDK_SHIFT_MASK) {
-+		if (event->state & GDK_SHIFT_MASK) {
- 			keyval = 0;
- 			indent_multi_line_unindent(buffer);
- 		} else if (!check_selection_bound(buffer))

Deleted: desktop/trunk/mousepad/debian/patches/series
===================================================================
--- desktop/trunk/mousepad/debian/patches/series	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/patches/series	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,3 +0,0 @@
-00_resensitize-find-button.patch
-01_fix-first-replace.patch
-02_fix-typos-in-test.patch

Modified: desktop/trunk/mousepad/debian/rules
===================================================================
--- desktop/trunk/mousepad/debian/rules	2013-05-21 22:20:53 UTC (rev 7466)
+++ desktop/trunk/mousepad/debian/rules	2013-05-21 22:21:33 UTC (rev 7467)
@@ -1,27 +1,13 @@
 #!/usr/bin/make -f
-include /usr/share/hardening-includes/hardening.make
 
-CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
-LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
-CFLAGS+=$(HARDENING_CFLAGS)
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-export CFLAGS LDFLAGS
-
 override_dh_install:
 	# install menu pixmap
 	install -D -m 644 $(CURDIR)/debian/mousepad.xpm \
 		$(CURDIR)/debian/mousepad/usr/share/pixmaps/mousepad.xpm
-	dh_install
+	dh_install --fail-missing
 
-override_dh_auto_configure:
-	dh_auto_configure
-	find .pc -type f -name '*.c' -exec echo '{}' >> po/POTFILES.skip \;
-
-override_dh_auto_clean:
-	rm -f po/POTFILES.skip
-	dh_auto_clean
-
-
 %:
 	dh $@ --parallel




More information about the Pkg-xfce-commits mailing list