Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37744397
en ru br
Репозитории ALT
S:1.3-alt2.1
5.1: 1.3-alt1
4.1: 1.3-alt1
4.0: 1.3-alt1
3.0: 1.3-ipl6mdk
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: xtoolwait

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: xtoolwait_1.3-6.2.diff
Скачать


--- xtoolwait-1.3.orig/xtoolwait.c
+++ xtoolwait-1.3/xtoolwait.c
@@ -46,6 +46,7 @@
    -display display-name\n\
    -timeout nseconds\n\
    -mappings nwindows\n\
+   -withdrawn\n\
    -pid\n\
    -help\n\
    -version\n"
@@ -57,6 +58,7 @@
 char *programname, *childname;
 Atom xa_wm_state;
 int (*prevxerrhandler)(Display *, XErrorEvent *);
+int withdrawnok = 0;
 
 void
 timeout(signo)
@@ -103,7 +105,7 @@
     state = *((CARD32 *) prop);
 
     switch ((int) state) {
-        case WithdrawnState: DPRINTF(("WithdrawnState")); return 0;
+        case WithdrawnState: DPRINTF(("WithdrawnState")); return withdrawnok;
         case NormalState:    DPRINTF(("NormalState"));    return 1;
         case IconicState:    DPRINTF(("IconicState"));    return 1;
     }
@@ -208,6 +210,11 @@
             continue;
         }
 
+	if (!strcmp(argv[arg], "-withdrawn")) {
+	    withdrawnok = 1;
+	    arg += 1;
+	    continue;
+	}
         break;
     }
 
--- xtoolwait-1.3.orig/xtoolwait.man
+++ xtoolwait-1.3/xtoolwait.man
@@ -3,7 +3,8 @@
 xtoolwait \- start X client and wait for it to map a window
 .SH SYNOPSIS
 \fBxtoolwait\fP [ -display \fIdisplay-name\fP ] [ -timeout \fInseconds\fP ]
-[ -mappings \fInwindows\fP ] [ -pid ] [ -help ] [ -version ] \fIcommand\fP
+[ -mappings \fInwindows\fP ] [ -withdrawn ] [ -pid ] [ -help ]
+[ -version ] \fIcommand\fP
 .SH DESCRIPTION
 \fBXtoolwait\fP notably decreases the startup time of an X session by reducing
 the load on the X server and the OS.
@@ -29,6 +30,10 @@
 will map \fInwindows\fP top-level windows, in which case it will slightly
 increase the performance.
 .TP
+\fB-withdrawn\fP
+Consider windows in Withdrawn state as mapped.  This causes the expected
+behaviour when starting Window Maker dockapps.
+.TP
 \fB-pid\fP
 Print the process id (pid) of \fIcommand\fP to standard output. This option
 is useful for shell scripts that want to wait for (or send a signal to)
--- xtoolwait-1.3.orig/debian/rules
+++ xtoolwait-1.3/debian/rules
@@ -0,0 +1,100 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	xmkmf -a
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/xtoolwait.sgml > xtoolwait.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+	rm -f Makefile
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xtoolwait.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/xtoolwait
+	$(MAKE) install.man DESTDIR=$(CURDIR)/debian/xtoolwait
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+#	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- xtoolwait-1.3.orig/debian/docs
+++ xtoolwait-1.3/debian/docs
@@ -0,0 +1,2 @@
+README
+xtoolwait-1.3.lsm
--- xtoolwait-1.3.orig/debian/watch
+++ xtoolwait-1.3/debian/watch
@@ -0,0 +1,8 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+#sunsite.unc.edu	/pub/Linux/Incoming	xtoolwait-(.*)\.tar\.gz	debian	uupdate
+http://www.hacom.nl/~richard/software/xtoolwait.html \
+  xtoolwait-([\d\.]*).tar.gz
--- xtoolwait-1.3.orig/debian/README.Debian
+++ xtoolwait-1.3/debian/README.Debian
@@ -0,0 +1,2 @@
+The xtoolwait homepage is located at
+http://www.hacom.nl/~richard/software/xtoolwait.html
--- xtoolwait-1.3.orig/debian/copyright
+++ xtoolwait-1.3/debian/copyright
@@ -0,0 +1,14 @@
+This package was debianized by Milan Zamazal <pdm@fi.muni.cz> on
+Thu, 31 Oct 1996 22:43:46 +0100.
+
+It was downloaded from the homepage at
+http://www.hacom.nl/~richard/software/xtoolwait.html
+
+Copyright:
+
+Copyright (C) 1995  Richard Huveneers <richard@hekkihek.hacom.nl>
+
+This program is covered by the GPL version 2 or (at your option) any 
+later version.
+
+See /usr/share/common-licenses/GPL for the full text of the license.
--- xtoolwait-1.3.orig/debian/compat
+++ xtoolwait-1.3/debian/compat
@@ -0,0 +1 @@
+4
--- xtoolwait-1.3.orig/debian/control
+++ xtoolwait-1.3/debian/control
@@ -0,0 +1,16 @@
+Source: xtoolwait
+Section: x11
+Priority: optional
+Maintainer: Dwayne C. Litzenberger <debian@dlitz.net>
+Build-Depends: debhelper (>> 4.0.0), libx11-dev, libxext-dev, xutils-dev
+Standards-Version: 3.6.1
+Homepage: http://www.hacom.nl/~richard/software/xtoolwait.html
+
+Package: xtoolwait
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Allows to start X applications serially
+ Xtoolwait notably decreases the startup time of your X sessions,
+ provided that you start a number of X clients automatically during the
+ X session startup.  Xtoolwait starts one X client in the background,
+ waits until it has mapped a window and then exits.
--- xtoolwait-1.3.orig/debian/changelog
+++ xtoolwait-1.3/debian/changelog
@@ -0,0 +1,156 @@
+xtoolwait (1.3-6.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by replacing obsolete xutils with xutils-dev in
+    Build-Depends (Closes: #485727).
+  * Set urgency to Б─°mediumБ─² as this bug affects testing too.
+  * Remove obsolete x-dev from Build-Depends too (Closes: #515444).
+  * debian/control: Clean up description, move Homepage, remove Author.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 19 Jul 2009 03:41:38 +0200
+
+xtoolwait (1.3-6.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Drop usr/X11R6/bin from debian/dirs, which is all that's needed for 
+    xtoolwait compatibility with the X11R7 imake.  Closes: #364031.
+  * Remove autogenerated Makefile in the clean target, so it doesn't 
+    clutter the diff.
+
+ -- Steve Langasek <vorlon@debian.org>  Thu, 20 Apr 2006 23:54:50 -0700
+
+xtoolwait (1.3-6) unstable; urgency=low
+
+  * Update build-depends for sid.  Closes: #346843.
+  * Update README.Debian to reflect the author's current website and email
+    address.
+
+ -- Dwayne C. Litzenberger <debian@dlitz.net>  Sun,  8 Jan 2006 20:05:20 -0600
+
+xtoolwait (1.3-5) unstable; urgency=low
+
+  * New maintainer.  Closes: #192675, #170220.
+  * Added support for windows in Withdrawn state (e.g. support Window Maker
+    dockapps).  Closes: #142272.
+  * Updated for Debian Policy 3.6.1
+  * Upgraded to debhelper 4
+
+ -- Dwayne C. Litzenberger <debian@dlitz.net>  Sun, 24 Aug 2003 10:42:17 -0600
+
+xtoolwait (1.3-4.1) unstable; urgency=low
+
+  * NMU
+  * Rebuild to get rid of obsolete dependency on xlib6g.  Closes: #170220.
+  * Add Build-Depends.
+
+ -- Daniel Schepler <schepler@debian.org>  Fri, 14 Mar 2003 17:39:15 -0800
+
+xtoolwait (1.3-4) unstable; urgency=low
+
+  * Fix reference to GPL (lintian)
+
+ -- Martin Bialasinski <martinb@debian.org>  Sun, 13 Aug 2000 16:46:31 +0200
+
+xtoolwait (1.3-3) unstable; urgency=low
+
+  * Policy 3.0.1
+
+ -- Martin Bialasinski <martinb@debian.org>  Thu, 16 Sep 1999 18:33:10 +0200
+
+xtoolwait (1.3-2) unstable; urgency=low
+
+  * Corrected homepage location
+
+ -- Martin Bialasinski <martinb@debian.org>  Sun,  1 Aug 1999 16:04:51 +0200
+
+xtoolwait (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Closes Bug #36685
+  * Added author and Homepage to description
+
+ -- Martin Bialasinski <martinb@debian.org>  Sat, 31 Jul 1999 20:10:37 +0200
+
+xtoolwait (1.2-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Martin Bialasinski <martinb@debian.org>  Tue, 15 Sep 1998 01:23:54 +0200
+
+xtoolwait (1.1-8) unstable; urgency=low
+
+  * New Maintainer
+  * Standards 2.4.1
+  * Use debhelper in debian/rules
+  
+ -- Martin Bialasinski <martinb@debian.org>  Thu, 25 Jun 1998 21:22:51 +0200
+
+xtoolwait (1.1-7) unstable; urgency=low
+
+  * Use `dh_md5sums'.
+  * Lintian 0.2.2 satisfied.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Wed, 18 Feb 1998 19:15:16 +0100
+
+xtoolwait (1.1-6) unstable; urgency=low
+
+  * `checksums' renamed to `md5sums'.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Fri, 13 Feb 1998 18:15:09 +0100
+
+xtoolwait (1.1-5) unstable; urgency=low
+
+  * FSF address corrected.
+  * Standards 2.4.0.0.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Mon,  9 Feb 1998 21:18:49 +0100
+
+xtoolwait (1.1-4) unstable; urgency=low
+
+  * Upstream sources location updated.
+  * `-isp' flag added to dpkg-gencontrol.
+  * More error safe `rules'.
+  * Description synopsis shortened.
+  * Gzip `changelog.Debian'.
+  * `CHANGES' renamed to `changelog' and gzipped.
+  * Standards 2.3.0.1.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Mon, 12 Jan 1998 19:43:03 +0100
+
+xtoolwait (1.1-3) unstable; urgency=low
+
+  * Compiled with libc6.
+  * Does not use `debstd' anymore.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Tue,  7 Oct 1997 11:10:36 +0200
+
+xtoolwait (1.1-2) unstable; urgency=low
+
+  * `changelog.upstream' renamed to `changelog' (Bug #9633).
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Mon, 12 May 1997 11:12:52 +0200
+
+xtoolwait (1.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Mon, 3 Mar 1997 12:49:32 +0100
+
+xtoolwait (1.0-2) unstable; urgency=low
+
+  * Architecture field changed from `i386' to `any' (Bug #6440).
+  * Fixed bad manpage permissions.
+  * Moved to new standards.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Mon, 13 Jan 1997 12:58:32 +0100
+
+xtoolwait (1.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Milan Zamazal <pdm@fi.muni.cz>  Thu, 31 Oct 1996 22:43:46 +0100
+
+Local variables:
+mode: debian-changelog
+End:
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin