Accepting request 198903 from X11:XOrg

Update to ver 1.0.8 (forwarded request 198765 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/198903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmodmap?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2013-09-13 12:47:21 +00:00 committed by Git OBS Bridge
commit 0a29f60a3b
5 changed files with 22 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef22ede9c4a3c720da539292c6911515a8408e618e0dec6aa2196ee2153de4b5
size 135223

3
xmodmap-1.0.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efe2e3c89858a2db3bdcf969f55f55d0af4f5007789198344de0595249a99fc3
size 141026

View File

@ -1,12 +0,0 @@
Index: xmodmap-1.0.6/xmodmap.c
===================================================================
--- xmodmap-1.0.6.orig/xmodmap.c
+++ xmodmap-1.0.6/xmodmap.c
@@ -26,6 +26,7 @@ from The Open Group.
*/
+#define _GNU_SOURCE
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <stdio.h>

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Sep 12 19:37:37 UTC 2013 - zaitor@opensuse.org
- Update to version 1.0.8:
+ Add missing copyright dates from xmodmap.man to COPYING.
+ Allow printing -help & -grammar messages without a valid
DISPLAY.
+ Error in manpage example about swapping Control_L/Caps_Lock
keys (deb#641588).
+ Include X11/Xwindows.h on WIN32.
+ Include config.h before stdio.h & other system headers
(fdo#48696).
- Drop xmodmap-includes.patch, fixed upstream.
-------------------------------------------------------------------
Mon Apr 23 07:02:02 UTC 2012 - vuntz@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package xmodmap
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,18 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xmodmap
Version: 1.0.7
Version: 1.0.8
Release: 0
License: MIT
Summary: Utility to modify keymaps and pointer button mappings in X
Url: http://xorg.freedesktop.org/
License: MIT
Group: System/X11/Utilities
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
Source1: Xmodmap.template
Source2: Xmodmap.remote.template
# PATCH-FIX-UPSTREAM xmodmap-includes.patch fdo#48696 dimstar@opensuse.org -- asprintf is only defined with _GNU_SOURCE.
Patch0: xmodmap-includes.patch
BuildRequires: pkg-config
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
@ -44,7 +43,6 @@ tastes.
%prep
%setup -q
%patch0 -p1
%build
%configure