From 826d3eaa1b858b1212ac24dd4916db5fb22560e9 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Fri, 20 Oct 2017 17:25:08 +0900 Subject: [PATCH] packaging: modify some files to bump to 0.7.2 Change-Id: I19d76d9b0e6ee79c1f0a07a7099131aca69d53dc Signed-off-by: Sung-Jin Park --- LICENSE => COPYING | 0 autogen.sh | 14 ++++++++++++++ gen_tables.sh | 2 +- packaging/libxkbcommon.spec | 3 ++- 4 files changed, 17 insertions(+), 2 deletions(-) rename LICENSE => COPYING (100%) create mode 100755 autogen.sh diff --git a/LICENSE b/COPYING similarity index 100% rename from LICENSE rename to COPYING diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..c7467f1 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,14 @@ +#!/bin/sh -e + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf --verbose --install --force --warnings=all +cd "$ORIGDIR" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir/configure" "$@" +fi diff --git a/gen_tables.sh b/gen_tables.sh index 2661cf9..3621c63 100755 --- a/gen_tables.sh +++ b/gen_tables.sh @@ -2,4 +2,4 @@ BASE_HEADER_FILE="./xkbcommon/xkbcommon-keysyms.h" -LC_CTYPE=C python ./makekeys.py ${BASE_HEADER_FILE} > ./src/ks_tables.h +LC_CTYPE=C python scripts/makekeys ${BASE_HEADER_FILE} > ./src/ks_tables.h diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec index 78535a0..6eef142 100644 --- a/packaging/libxkbcommon.spec +++ b/packaging/libxkbcommon.spec @@ -1,5 +1,5 @@ Name: libxkbcommon -Version: 0.4.3 +Version: 0.7.2 Release: 0 License: MIT Summary: Wayland libxkbcommon library @@ -47,6 +47,7 @@ chmod a+x ./gen_tables.sh ./gen_tables.sh %build +chmod a+x ./autogen.sh %autogen --disable-static --disable-x11 %__make %{?_smp_mflags} V=1; -- 2.7.4