From f0abf8e0f56a29443155296091efbe575b3c8c88 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 13:23:50 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 6 +++++- commitid | 1 + make-git-snapshot.sh | 17 +++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 commitid create mode 100644 make-git-snapshot.sh diff --git a/.gitignore b/.gitignore index 5b8f406..35c1446 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -SOURCES/libXxf86dga-1.1.5.tar.bz2 +libXxf86dga-1.1.1.tar.bz2 +/libXxf86dga-1.1.2.tar.bz2 +/libXxf86dga-1.1.3.tar.bz2 +/libXxf86dga-20130524.tar.bz2 +/libXxf86dga-1.1.4.tar.bz2 /libXxf86dga-1.1.5.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..b22aeaa --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +a8dc6be3213bc91dec5e25535ef4bad5a9456af0 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..1f17297 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=libXxf86dga-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/xorg/lib/libXxf86dga $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.bz2 $DIRNAME +rm -rf $DIRNAME