[Pkg-wmaker-commits] [wmressel] 02/06: Import Debian changes 0.8-3
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 27 13:15:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmressel.
commit aa2fdf8e499b1e33e26c906c14476809f3c3f54d
Author: Mike Furr <mfurr at debian.org>
Date: Fri Jun 11 10:05:51 2004 -0400
Import Debian changes 0.8-3
wmressel (0.8-3) unstable; urgency=low
* Applied patch from Andreas Jochens to build on amd64
(Closes: 253759)
* Updated standards version to 3.6.1.0
* renamed the manpage to .1x to match its .TH
wmressel (0.8-2) unstable; urgency=low
* Fixed multiscreen support (closes: 158674)
* Changed maintainer field to my new d.o address :)
wmressel (0.8-1) unstable; urgency=low
* Initial Release. (closes: 146534)
---
Makefile.in | 2 +-
debian/changelog | 22 ++++++++++++++
debian/control | 14 +++++++++
debian/copyright | 14 +++++++++
debian/dirs | 2 ++
debian/docs | 4 +++
debian/rules | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/Makefile.in | 2 +-
src/wmressel.c | 2 +-
wmressel.1x | 47 ++++++++++++++++++++++++++++++
10 files changed, 193 insertions(+), 3 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 88b3b53..2883db5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -8,6 +8,6 @@ clean:
install:: wmressel
@INSTALL@ -s -m 0755 src/wmressel $(DESTDIR)/bin/
- @INSTALL@ -m 0644 wmressel.1 $(DESTDIR)/man/man1/
+ @INSTALL@ -m 0644 wmressel.1x $(DESTDIR)/share//man/man1/
@echo "wmressel installation finished..."
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4af7b8b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,22 @@
+wmressel (0.8-3) unstable; urgency=low
+
+ * Applied patch from Andreas Jochens to build on amd64
+ (Closes: 253759)
+ * Updated standards version to 3.6.1.0
+ * renamed the manpage to .1x to match its .TH
+
+ -- Mike Furr <mfurr at debian.org> Fri, 11 Jun 2004 10:05:51 -0400
+
+wmressel (0.8-2) unstable; urgency=low
+
+ * Fixed multiscreen support (closes: 158674)
+ * Changed maintainer field to my new d.o address :)
+
+ -- Mike Furr <mfurr at debian.org> Wed, 28 Aug 2002 17:53:28 -0400
+
+wmressel (0.8-1) unstable; urgency=low
+
+ * Initial Release. (closes: 146534)
+
+ -- Mike Furr <mike.furr at umbc.edu> Fri, 17 May 2002 12:38:06 -0400
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e11e7cb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: wmressel
+Section: x11
+Priority: optional
+Maintainer: Mike Furr <mfurr at debian.org>
+Build-Depends: debhelper (>> 3.0.0), libgtk1.2-dev, xlibs-dev
+Standards-Version: 3.6.1.0
+
+Package: wmressel
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Dock app to change X11 resolutions
+ wmressel is a simple dockable X11 resolution selector for Window
+ Maker that displays the current X11 resolution and lets you change
+ it through a popup menu.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..60a0f1b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,14 @@
+This package was debianized by Mike Furr <mike.furr at umbc.edu> on
+Fri, 17 May 2002 12:38:06 -0400.
+
+It was downloaded from http://team.gcu-squad.org/~slix/wmressel/
+
+Upstream Author: S�bastien LIENARD <slix at gcu-squad.org>
+
+Copyright:
+
+This software is copyrighted under the GPL version 2.
+You are free to distribute this software under the terms of
+said license.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..98d1583
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..81f7b1a
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,4 @@
+BUGS
+README
+TODO
+HINTS
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e52a294
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,87 @@
+#!/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
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ -$(MAKE) clean
+ rm -f config.cache config.guess config.log config.status config.sub
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/wmressel.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/wmressel/usr
+
+
+# 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_installdebconf
+ dh_installdocs
+ dh_installexamples
+ dh_installcron
+ dh_installman
+ dh_installinfo
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ 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
diff --git a/src/Makefile.in b/src/Makefile.in
index ad29705..1d51e38 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,4 +1,4 @@
-LIBS = -L/usr/lib @X_LIBS@ @X_PRE_LIBS@ -lX11 @LIBS@ @X_EXTRA_LIBS@
+LIBS = -L/usr/lib @X_LIBS@ @X_PRE_LIBS@ -lX11 @LIBS@ @X_EXTRA_LIBS@ -lXi -lm
FLAGS = @CFLAGS@ @GTK_CFLAGS@ @DEFS@
OBJS = wmressel.o wmgeneral/wmgeneral.o wmgeneral/misc.o wmgeneral/list.o
diff --git a/src/wmressel.c b/src/wmressel.c
index 8abe573..31abb8f 100644
--- a/src/wmressel.c
+++ b/src/wmressel.c
@@ -252,7 +252,7 @@ void create_popup(int selected_screen)
if (screen_count > 1 && !show_only_selected) {
menu_ptr = gtk_menu_new();
for (i=0; i<screen_count; i++) {
- submenu_ptr = create_screen_submenu(0);
+ submenu_ptr = create_screen_submenu(i);
sprintf(label_str, "Screen %i",i);
menuitem_ptr = gtk_menu_item_new_with_label(label_str);
gtk_menu_item_set_submenu(GTK_MENU_ITEM (menuitem_ptr), submenu_ptr);
diff --git a/wmressel.1x b/wmressel.1x
new file mode 100644
index 0000000..9df1b44
--- /dev/null
+++ b/wmressel.1x
@@ -0,0 +1,47 @@
+.TH wmressel 1x "March 2002"
+.SH NAME
+wmressel \- Dockable X11 Resolution Selector
+.SH SYNOPSIS
+.B wmressel
+[-h] [-v] [---display display] [-r] [-d] [-s <screen number> [-o]]
+.SH DESCRIPTION
+.PP
+wmressel is a simple dockable X11 Resolution Selector for Window Maker
+that displays current X11 resolution and lets you change it through a
+popup menu.
+.SH OPTIONS
+.TP
+.B \-h
+Display list of command-line options.
+.TP
+.B \-v
+Display version.
+.TP
+.B \--display <display>
+Use the designated X display.
+.TP
+.B \-r
+Show refresh rates in menu
+.TP
+.B \-d
+Show in menu if a mode is a Doublescan mode (D)
+.TP
+.B \-s <screen number>
+Show information about this screen
+.TP
+.B \-o
+Only show menu for selected screen
+.SH BUGS
+.PD 0
+Displayed resolution isn't refreshed if it is changed by another application
+or through the use of Crtl-Alt-(+|-) shortcuts
+.PD 1
+.SH TODO
+.PD 0
+Add realtime update of displayed resolution
+.PD 1
+.SH AUTHOR
+.PP
+wmressel was written by S�bastien Li�nard <slix at gcu-squad.org>
+.PP
+It is based on gvidm by Matthew Mueller and wmtimer by Josh King <jking at dwave.net>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmressel.git
More information about the Pkg-wmaker-commits
mailing list