From da1105a2880d140c4355587af9110ef667ac85c3 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 10:11:10 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 3 +-- commitid | 1 + make-git-snapshot.sh | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 commitid create mode 100644 make-git-snapshot.sh diff --git a/.gitignore b/.gitignore index 3ba7216..9a06e56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/libinput-1.16.3.tar.xz -/libinput-1.16.3.tar.xz +/libinput-*.tar.xz diff --git a/commitid b/commitid new file mode 100644 index 0000000..bb06ca8 --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +58abea394657baba66f6e0cd6c4c27e084bb5b16 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..a61db49 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=libinput-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/wayland/libinput $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +git log | head -1 | awk '{ print $2 }' > ../commitid +git repack -a -d +cd .. +tar jcf $DIRNAME.tar.xz $DIRNAME +rm -rf $DIRNAME