mirror of
https://github.com/FrodoVDR/channellogos.git
synced 2023-10-10 11:36:54 +00:00
add debian
This commit is contained in:
30
debian/changelog
vendored
Normal file
30
debian/changelog
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
skindesigner-logos (0.0.1.git20141201.2141-0frodo0~trusty) trusty; urgency=low
|
||||
|
||||
* New upstream snapshot (commit 110f600), build 0006
|
||||
|
||||
-- Frodo <frodo.vdr@gmx.net> Mon, 01 Dec 2014 22:41:26 +0100
|
||||
|
||||
skindesigner-logos (0.0.1.git20141201.2139-0frodo0~precise) precise; urgency=low
|
||||
|
||||
* New upstream snapshot (commit 110f600), build 0006
|
||||
|
||||
-- Frodo <frodo.vdr@gmx.net> Mon, 01 Dec 2014 22:40:15 +0100
|
||||
|
||||
skindesigner-logos (0.0.1.git20141130.2201-0frodo0~trusty) trusty; urgency=low
|
||||
|
||||
* New upstream snapshot (commit 0ca6d82), build 0000
|
||||
|
||||
-- Frodo <frodo.vdr@gmx.net> Sun, 30 Nov 2014 23:04:37 +0100
|
||||
|
||||
skindesigner-logos (0.0.1.git20141130.2143-0frodo0~precise) precise; urgency=low
|
||||
|
||||
* New upstream snapshot (commit 0ca6d82), build 0000
|
||||
|
||||
-- Frodo <frodo.vdr@gmx.net> Sun, 30 Nov 2014 22:46:17 +0100
|
||||
|
||||
skindesigner-logos (0.0.1.git20141130.2135-0frodo0~precise) precise; urgency=low
|
||||
|
||||
* New upstream snapshot (commit 0ca6d82), build 0000
|
||||
|
||||
-- Frodo <frodo.vdr@gmx.net> Sun, 30 Nov 2014 22:37:45 +0100
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
14
debian/control
vendored
Normal file
14
debian/control
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Source: skindesigner-logos
|
||||
Section: misc
|
||||
Priority: extra
|
||||
Maintainer: Frodo <frodo.vdr@example.org>
|
||||
Uploaders: Frodo <frodo.vdr@example.org>
|
||||
Build-Depends: debhelper (>= 9)
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://github.com/FrodoVDR/svg-channellogos.git
|
||||
|
||||
Package: skindesigner-logos
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, vdr-plugin-skindesigner (>= 0.0.8)
|
||||
Description: svg logos for skindesigner
|
||||
|
27
debian/copyright
vendored
Normal file
27
debian/copyright
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
Upstream Homepage:
|
||||
https://github.com/CReimer/skindesigner-elchi
|
||||
|
||||
Upstream Author:
|
||||
CReimer <>
|
||||
|
||||
License:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
The complete text of the GNU General Public License can be found
|
||||
in /usr/share/common-licenses/GPL-2 on most Debian systems.
|
||||
|
||||
License (Debian packaging):
|
||||
The Debian packaging is licensed under the GPL, version 2 or any
|
||||
later version, see /usr/share/common-licenses/GPL-2.
|
1
debian/dirs
vendored
Normal file
1
debian/dirs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/share/vdr/plugins/skindesigner/logos
|
80
debian/get-new-snapshot.sh
vendored
Executable file
80
debian/get-new-snapshot.sh
vendored
Executable file
@@ -0,0 +1,80 @@
|
||||
echo Downloading latest from git repository...
|
||||
# set -x
|
||||
|
||||
BUILDDISTRIBUTION=$1
|
||||
GITSOURCE='https://github.com/FrodoVDR/svg-channellogos.git'
|
||||
|
||||
DEB_SOURCE_PACKAGE=`egrep '^Source: ' debian/control | cut -f 2 -d ' '`
|
||||
DISTRIBUTION=`dpkg-parsechangelog | grep ^Distribution: | sed -e 's/^Distribution:\s*//'`
|
||||
VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e s/-[^-]*$// -e s/\.git.*//`
|
||||
GIT_SHA_OLD=`git show --pretty=format:"%h" --quiet | head -1 || true`
|
||||
|
||||
if [ -d ${DEB_SOURCE_PACKAGE} ] ; then
|
||||
rm -rf ${DEB_SOURCE_PACKAGE}
|
||||
fi
|
||||
|
||||
if [ -d ".git" ] ; then
|
||||
git pull
|
||||
fi
|
||||
|
||||
VERSION_DATE=`/bin/date --utc +%0Y%0m%0d`
|
||||
GITHEAD=`git rev-list HEAD | wc -l`
|
||||
GITBUILD="$(printf '%04d' "$GITHEAD")"
|
||||
BUILD=`/bin/date --utc +%H%M`
|
||||
|
||||
VERSION_FULL="${VERSION_UPSTREAM}.git${VERSION_DATE}.${BUILD}"
|
||||
|
||||
git clone --depth 1 ${GITSOURCE} ${DEB_SOURCE_PACKAGE}
|
||||
|
||||
cd ${DEB_SOURCE_PACKAGE}
|
||||
GIT_SHA=`git show --pretty=format:"%h" --quiet | head -1 || true`
|
||||
cd ..
|
||||
|
||||
CHKMAKE="/tmp/${DEB_SOURCE_PACKAGE}.make"
|
||||
CHKFILE="/tmp/${DEB_SOURCE_PACKAGE}.exist"
|
||||
[ -f ${CHKFILE} ] && rm ${CHKFILE}
|
||||
|
||||
if [ "x${GIT_SHA_OLD}" == "x${GIT_SHA}" ] ; then
|
||||
echo "Keine neue Version von ${DEB_SOURCE_PACKAGE} gefunden: ${GIT_SHA_OLD} = ${GIT_SHA}" | tee ${CHKFILE}
|
||||
if [ -f ${CHKMAKE} ] ; then
|
||||
# exit 1
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $DISTRIBUTION != 'trusty' ] ; then
|
||||
DISTRIBUTION='trusty'
|
||||
else
|
||||
DISTRIBUTION='precise'
|
||||
fi
|
||||
|
||||
if [ ! -z $BUILDDISTRIBUTION ] ; then
|
||||
DISTRIBUTION=$BUILDDISTRIBUTION
|
||||
fi
|
||||
|
||||
ARCHTYPEN="xz:J bz2:j gz:z"
|
||||
for archtyp in ${ARCHTYPEN}
|
||||
do
|
||||
arch=`echo $archtyp | cut -d: -f1`
|
||||
pack=`echo $archtyp | cut -d: -f2`
|
||||
DEBSRCPKGFILE="../${DEB_SOURCE_PACKAGE}_${VERSION_FULL}.orig.tar.${arch}"
|
||||
DEBSRCPKGFILEBAK="${DEBSRCPKGFILE}.1"
|
||||
|
||||
if [ -f ${DEBSRCPKGFILE} ] ; then
|
||||
mv ${DEBSRCPKGFILE} ${DEBSRCPKGFILEBAK}
|
||||
fi
|
||||
|
||||
if [ -f ${DEBSRCPKGFILE} -o -f ${DEBSRCPKGFILEBAK} ] ; then
|
||||
echo "$DEBSRCPKGFILE or $DEBSRCPKGFILEBAK exists";
|
||||
continue;
|
||||
else
|
||||
echo $DEBSRCPKGFILE
|
||||
tar --exclude=.git --exclude=debian -c${pack}f ${DEBSRCPKGFILE} ${DEB_SOURCE_PACKAGE}
|
||||
rm -rf ${DEB_SOURCE_PACKAGE}
|
||||
|
||||
dch -b -D ${DISTRIBUTION} -v "${VERSION_FULL}-0frodo0~${DISTRIBUTION}" "New upstream snapshot (commit ${GIT_SHA}), build ${GITBUILD}"
|
||||
break;
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
1
debian/install
vendored
Normal file
1
debian/install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
logos/* usr/share/vdr/plugins/skindesigner/logos
|
7
debian/rules
vendored
Executable file
7
debian/rules
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
#DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
@@ -0,0 +1 @@
|
||||
compression = "xz"
|
Reference in New Issue
Block a user