[Pkg-xfce-commits] r1608 - in desktop/trunk/mousepad/debian: . patches
corsac at alioth.debian.org
corsac at alioth.debian.org
Wed Feb 13 10:06:52 UTC 2008
Author: corsac
Date: 2008-02-13 10:06:51 +0000 (Wed, 13 Feb 2008)
New Revision: 1608
Added:
desktop/trunk/mousepad/debian/patches/
desktop/trunk/mousepad/debian/patches/01_fix-recent-items-sort.patch
desktop/trunk/mousepad/debian/patches/series
Modified:
desktop/trunk/mousepad/debian/changelog
desktop/trunk/mousepad/debian/control
desktop/trunk/mousepad/debian/rules
Log:
* debian/control: add build-dep on quilt
* debian/rules: use quilt to patch sources at build time
* debian/patches: 01_fix-recent-items-sort added to correct recent items
menu. closes: #465546
Modified: desktop/trunk/mousepad/debian/changelog
===================================================================
--- desktop/trunk/mousepad/debian/changelog 2008-02-13 07:44:15 UTC (rev 1607)
+++ desktop/trunk/mousepad/debian/changelog 2008-02-13 10:06:51 UTC (rev 1608)
@@ -1,3 +1,12 @@
+mousepad (0.2.13-2) UNRELEASED; urgency=low
+
+ * debian/control: add build-dep on quilt
+ * debian/rules: use quilt to patch sources at build time
+ * debian/patches: 01_fix-recent-items-sort added to correct recent items
+ menu. closes: #465546
+
+ -- Yves-Alexis Perez <corsac at debian.org> Wed, 13 Feb 2008 10:57:53 +0100
+
mousepad (0.2.13-1) unstable; urgency=low
[ Yves-Alexis Perez ]
Modified: desktop/trunk/mousepad/debian/control
===================================================================
--- desktop/trunk/mousepad/debian/control 2008-02-13 07:44:15 UTC (rev 1607)
+++ desktop/trunk/mousepad/debian/control 2008-02-13 10:06:51 UTC (rev 1608)
@@ -3,7 +3,7 @@
Priority: optional
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>, Rudy Godoy <rudy at kernel-panik.org>, Martin Loschwitz <madkiss at debian.org>, Yves-Alexis Perez <corsac at corsac.net>
-Build-Depends: debhelper (>= 4.0.0), docbook-to-man, libxfcegui4-dev (>= 4.4.2), pkg-config, libxml-parser-perl, chrpath
+Build-Depends: debhelper (>= 4.0.0), docbook-to-man, libxfcegui4-dev (>= 4.4.2), pkg-config, libxml-parser-perl, chrpath, quilt
Standards-Version: 3.7.2
Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/mousepad/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/mousepad/
Added: desktop/trunk/mousepad/debian/patches/01_fix-recent-items-sort.patch
===================================================================
--- desktop/trunk/mousepad/debian/patches/01_fix-recent-items-sort.patch (rev 0)
+++ desktop/trunk/mousepad/debian/patches/01_fix-recent-items-sort.patch 2008-02-13 10:06:51 UTC (rev 1608)
@@ -0,0 +1,12 @@
+Index: mousepad/src/menu.c
+===================================================================
+--- mousepad.orig/src/menu.c (revision 26427)
++++ mousepad/src/menu.c (working copy)
+@@ -210,6 +210,7 @@
+ gtk_recent_chooser_set_local_only(GTK_RECENT_CHOOSER(recent_menu), TRUE);
+ gtk_recent_chooser_set_limit(GTK_RECENT_CHOOSER(recent_menu), 10);
+ gtk_recent_chooser_set_show_tips(GTK_RECENT_CHOOSER(recent_menu), TRUE);
++ gtk_recent_chooser_set_sort_type(GTK_RECENT_CHOOSER(recent_menu), GTK_RECENT_SORT_MRU);
+ g_signal_connect_swapped(G_OBJECT(recent_menu), "item-activated", G_CALLBACK(cb_file_open_recent), sd);
+
+ recent_menu_item = gtk_item_factory_get_widget(ifactory, "/File/Open Recent");
Added: desktop/trunk/mousepad/debian/patches/series
===================================================================
--- desktop/trunk/mousepad/debian/patches/series (rev 0)
+++ desktop/trunk/mousepad/debian/patches/series 2008-02-13 10:06:51 UTC (rev 1608)
@@ -0,0 +1 @@
+01_fix-recent-items-sort.patch
Modified: desktop/trunk/mousepad/debian/rules
===================================================================
--- desktop/trunk/mousepad/debian/rules 2008-02-13 07:44:15 UTC (rev 1607)
+++ desktop/trunk/mousepad/debian/rules 2008-02-13 10:06:51 UTC (rev 1608)
@@ -17,7 +17,9 @@
CFLAGS += -O2
endif
-config.status: configure
+include /usr/share/quilt/quilt.make
+
+config.status: patch configure
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --enable-final
@@ -34,7 +36,7 @@
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp mousepad.1
More information about the Pkg-xfce-commits
mailing list