rpms/xpad/F-13 xpad-4.0-remove-GTK_WINDOW_TOPLEVEL.patch, NONE, 1.1 xpad.spec, 1.9, 1.10

Christoph Wickert cwickert at fedoraproject.org
Mon May 17 15:50:23 UTC 2010


Author: cwickert

Update of /cvs/pkgs/rpms/xpad/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3822/F-13

Modified Files:
	xpad.spec 
Added Files:
	xpad-4.0-remove-GTK_WINDOW_TOPLEVEL.patch 
Log Message:
* Mon May 17 2010 Christoph Wickert <cwickert at fedoraproject.org> - 4.0-6
- Fix for GTK_WINDOW_TOPLEVEL by Bart Martens (Debian #576770)


xpad-4.0-remove-GTK_WINDOW_TOPLEVEL.patch:
 xpad-pad.c |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE xpad-4.0-remove-GTK_WINDOW_TOPLEVEL.patch ---
Index: xpad-4.0/src/xpad-pad.c
===================================================================
--- xpad-4.0.orig/src/xpad-pad.c	2010-04-11 18:19:18.000000000 +0200
+++ xpad-4.0/src/xpad-pad.c	2010-04-11 18:22:32.000000000 +0200
@@ -275,7 +275,6 @@
 		"gravity", GDK_GRAVITY_STATIC, /* static gravity makes saving pad x,y work */
 		"skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
 		"skip-taskbar-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
-		"type", GTK_WINDOW_TOPLEVEL,
 		"type-hint", GDK_WINDOW_TYPE_HINT_NORMAL,
 		"window-position", GTK_WIN_POS_MOUSE,
 		"child", vbox,


Index: xpad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xpad/F-13/xpad.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- xpad.spec	24 Oct 2009 21:40:28 -0000	1.9
+++ xpad.spec	17 May 2010 15:50:22 -0000	1.10
@@ -1,12 +1,15 @@
 Name:		xpad
 Version:	4.0
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	Sticky notepad for GTK+2
 
 Group:		User Interface/Desktops
 License:	GPLv3+
 URL:		http://xpad.sourceforge.net
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576770
+# http://patch-tracker.debian.org/patch/series/view/xpad/4.0-5/576770.diff
+Patch0:         xpad-4.0-remove-GTK_WINDOW_TOPLEVEL.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel libSM-devel gettext desktop-file-utils intltool
@@ -19,6 +22,7 @@ needed to run or compile it is the GTK+ 
 
 %prep
 %setup -q
+%patch0 -p1 -b .remove-GTK_WINDOW_TOPLEVEL
 
 
 %build
@@ -63,11 +67,14 @@ gtk-update-icon-cache %{_datadir}/icons/
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
 %{_bindir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/*-%{name}.desktop
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 %{_mandir}/man1/%{name}.1*
 
 %changelog
+* Mon May 17 2010 Christoph Wickert <cwickert at fedoraproject.org> - 4.0-6
+- Fix for GTK_WINDOW_TOPLEVEL by Bart Martens (Debian #576770)
+
 * Sat Oct 24 2009 Christoph Wickert <cwickert at fedoraproject.org> - 4.0-5
 - Remove autostart again. Doesn't work properly and is annoying on Live CDs
 - Spec file clean-ups



More information about the scm-commits mailing list