[vdr-plugin-skindesigner] 02/12: Imported Debian patch 0.2.2-3-gf3ad276-0yavdr0~trusty

Tobias Grimm tiber-guest at moszumanska.debian.org
Sun Feb 15 18:24:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

tiber-guest pushed a commit to branch master
in repository vdr-plugin-skindesigner.

commit 5e06ac7b318231d381313474d7315f1f673b86e6
Author: Frodo <frodo.vdr at gmx.net>
Date:   Thu Feb 12 19:32:18 2015 +0100

    Imported Debian patch 0.2.2-3-gf3ad276-0yavdr0~trusty
---
 debian/changelog                |  6 +++
 debian/changelog.old            | 12 +++++
 debian/compat                   |  1 +
 debian/control                  | 28 ++++++++++++
 debian/copyright                | 37 ++++++++++++++++
 debian/dirs                     |  4 ++
 debian/get-new-snapshot.sh      | 98 +++++++++++++++++++++++++++++++++++++++++
 debian/install                  |  2 +
 debian/links                    |  1 +
 debian/patches/fix-cairo.diff   | 36 +++++++++++++++
 debian/patches/series           |  0
 debian/plugin.skindesigner.conf | 12 +++++
 debian/rules                    | 20 +++++++++
 debian/source/format            |  1 +
 debian/temperatures.frodo       | 32 ++++++++++++++
 debian/watch                    |  2 +
 16 files changed, 292 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a25119b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+vdr-plugin-skindesigner (0.2.2-3-gf3ad276-0yavdr0~trusty) trusty; urgency=low
+
+  * f3ad276: fixed header icon for plugin menus
+
+ -- Frodo <frodo.vdr at gmx.net>  Thu, 12 Feb 2015 19:32:18 +0100
+
diff --git a/debian/changelog.old b/debian/changelog.old
new file mode 100644
index 0000000..7fe529f
--- /dev/null
+++ b/debian/changelog.old
@@ -0,0 +1,12 @@
+vdr-plugin-skindesigner (0.2.2-3-gf3ad276-0yavdr0~trusty) trusty; urgency=low
+
+  * f3ad276: fixed header icon for plugin menus
+
+ -- Frodo <frodo.vdr at gmx.net>  Thu, 12 Feb 2015 19:32:18 +0100
+
+vdr-plugin-skindesigner (0.2.2-3-gf3ad276-0yavdr0~precise) precise; urgency=low
+
+  * f3ad276: fixed header icon for plugin menus
+
+ -- Frodo <frodo.vdr at gmx.net>  Thu, 12 Feb 2015 19:31:42 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..01a9c41
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: vdr-plugin-skindesigner
+Section: video
+Priority: extra
+Maintainer: Frodo <frodo.vdr at gmx.net> 
+Uploaders: Frodo <frodo.vdr at gmx.net> 
+Build-Depends: debhelper (>= 9), vdr-dev (>= 2.0.0), pkg-config, gettext, libjpeg-dev, librsvg2-dev, libcairo2-dev, libxml2-dev
+Standards-Version: 3.9.3
+Homepage: http://projects.vdr-developer.org/projects/plg-skindesigner
+
+Package: vdr-plugin-skindesigner
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${vdr:Depends}, ttf-ubuntu-font-family
+Recommends: fonts-ds-digital, skindesigner-logos, fonts-vdropensans
+Description: skindesigner skin template for VDR
+ skindesigner is a highly customizable true color skin for the
+ on-screen-display (OSD) of the Linux Video Disc Recorder VDR.
+
+Package: vdr-plugin-skindesigner-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: vdr-plugin-skindesigner (= ${binary:Version}), ${misc:Depends}
+Description: skindesigner skin template for VDR - debugging symbols
+ skindesigner is a highly customizable true color skin for the
+ on-screen-display (OSD) of the Linux Video Disc Recorder VDR.
+ .
+ This package contains the debugging symbols.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..21437b2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Upstream Homepage:
+    http://projects.vdr-developer.org/projects/plg-skindesigner
+
+Upstream Author:
+    Louis Braun <louis DOT braun AT gmx DOT de>
+
+Debian Maintainers:
+    Frodo <frodo.vdr at gmx.net>
+
+Copyright:
+    (C) 2012 - 2014 Louis Braun
+
+Copyright (Debian packaging):
+    (C) 2014 Frodo
+    (C) 2013 Tobias Grimm
+
+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.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..9fc4f57
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,4 @@
+var/cache/vdr/plugins
+var/cache/vdr/plugins/skindesigner
+# usr/share/vdr/plugins/skindesigner/skins
+
diff --git a/debian/get-new-snapshot.sh b/debian/get-new-snapshot.sh
new file mode 100755
index 0000000..b737da7
--- /dev/null
+++ b/debian/get-new-snapshot.sh
@@ -0,0 +1,98 @@
+echo Downloading latest from git repository...
+# set -x
+
+BUILDDISTRIBUTION=$1
+GITSOURCE='git://projects.vdr-developer.org/vdr-plugin-skindesigner.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/\.git.*//' -e 's/~*//g')
+SUBVERSION=$(dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e 's/~.*//g' | awk -F'-' '{ print $4 }' | sed -e 's/yavdr*//g')
+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
+	GITCHANGE=$(git log --pretty=format:"%h: %s" -1)
+fi
+
+VERSION_SOURCE=$(grep 'static const char \*VERSION' skindesigner.c | sed -e 's/^.*=//g'  -e 's/[";]//g' -e 's/\s//g')
+VERSION_DATE=$(/bin/date --utc +%0Y%0m%0d)
+GITHEAD=$(git rev-list HEAD | wc -l)
+GITBUILD=$(printf '%04d' "$GITHEAD")
+GITVER=$(git describe | cut -f 1 -d '-') 
+GITSUBVER=$(git describe | cut -f 2 -d '-')
+GITDESCBUILD=$(git describe | cut -f 3 -d '-')
+BUILD=$(/bin/date --utc +%H%M)
+
+
+VERSION_FULL="$(git describe)"
+
+git clone --depth 1 ${GITSOURCE} ${DEB_SOURCE_PACKAGE}
+
+cd ${DEB_SOURCE_PACKAGE}
+GIT_SHA=$(git show --pretty=format:"%h" --quiet | head -1 || true)
+cd ..
+
+if [ ! $(echo $VERSION_FULL | grep -) ] ; then
+        VERSION_FULL="${VERSION_FULL}-0-g${GIT_SHA}"
+fi
+# VERSION_FULL="${VERSION_FULL}.${VERSION_DATE}.${BUILD}"
+
+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}
+fi
+
+if [ $DISTRIBUTION != 'trusty' ] ; then
+        DISTRIBUTION='trusty'
+else
+        DISTRIBUTION='precise'
+fi
+
+if [ ! -z $BUILDDISTRIBUTION ] ; then
+	DISTRIBUTION=$BUILDDISTRIBUTION
+fi
+
+test=$(grep ${GIT_SHA} debian/changelog | grep $DISTRIBUTION)
+if [ $? -eq 0 ] ; then
+	SUBVERSION=$((SUBVERSION +1))
+else
+	SUBVERSION=0
+fi
+
+echo "${VERSION_FULL}-${SUBVERSION}yavdr0~${DISTRIBUTION}"
+
+# exit 0
+
+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}-${SUBVERSION}yavdr0~${DISTRIBUTION}" "${GITCHANGE}"
+                mv ./debian/changelog ./debian/changelog.old
+                cat ./debian/changelog.old | head -6 > ./debian/changelog
+
+		break;
+	fi
+done
+
+exit 0
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..60aaaec
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+debian/plugin.skindesigner.conf    etc/vdr/plugins
+debian/temperatures.frodo          usr/lib/vdr/plugins/skindesigner/scripts
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..422fe65
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+/usr/lib/vdr/plugins/skindesigner/scripts/temperatures.frodo /usr/lib/vdr/plugins/skindesigner/scripts/temperatures
diff --git a/debian/patches/fix-cairo.diff b/debian/patches/fix-cairo.diff
new file mode 100644
index 0000000..bc0039d
--- /dev/null
+++ b/debian/patches/fix-cairo.diff
@@ -0,0 +1,36 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ vdr-plugin-skindesigner (0.0.8-2-g28fd2f5-0frodo0~trusty) trusty; urgency=low
+ .
+   * New upstream snapshot vdr-plugin-skindesigner 0.0.8-2-g28fd2f5
+Author: Frodo <frodo.vdr at gmx.net>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- vdr-plugin-skindesigner-0.0.8-2-g28fd2f5.orig/libcore/imagecreator.c
++++ vdr-plugin-skindesigner-0.0.8-2-g28fd2f5/libcore/imagecreator.c
+@@ -19,7 +19,7 @@ bool cImageCreator::InitCairoImage(int w
+ 		return false;
+ 	surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
+     cr = cairo_create(surface);
+-    cairo_set_antialias(cr, CAIRO_ANTIALIAS_BEST);
++    cairo_set_antialias(cr, CAIRO_ANTIALIAS_SUBPIXEL);
+     return true;
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/plugin.skindesigner.conf b/debian/plugin.skindesigner.conf
new file mode 100644
index 0000000..f37878d
--- /dev/null
+++ b/debian/plugin.skindesigner.conf
@@ -0,0 +1,12 @@
+#After "normal" Plugin installation you have to care about the paths for the
+#used Icons, the skins and epg images. The following paths can be set
+#at startup:
+#
+#  -s <SKINPATH>, --skinpath=<SKINPATH> Set directory where xml skins are stored, 
+#                                 default: /usr/share/vdr/plugins/skindesigner/skins/
+#
+#  -e <EPGIMAGESPATH>, --epgimages=<IMAGESPATH> Set directory where epgimages are stored, 
+#                                 default: /var/cache/vdr/plugins/skindesigner/epgimages/
+
+# --skinpath=/usr/share/vdr/plugins/skindesigner/skins
+--epgimages=/var/cache/vdr/epgimages
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..43f3a64
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+#DH_VERBOSE=1
+
+PLG_PACKAGE = $(filter-out %-dbg, $(shell dh_listpackages))
+DBG_PACKAGE = $(filter %-dbg, $(shell dh_listpackages))
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/$(PLG_PACKAGE)
+
+override_dh_strip:
+	dh_strip --dbg-package=$(DBG_PACKAGE)
+
+override_dh_gencontrol:
+	sh /usr/share/vdr-dev/dependencies.sh
+	dh_gencontrol
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/temperatures.frodo b/debian/temperatures.frodo
new file mode 100755
index 0000000..a7187c8
--- /dev/null
+++ b/debian/temperatures.frodo
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+# please update this script to fit your needs
+# this script is call every time the widget will be drawn, so keep it short and fast ;)
+
+OUTPUTFLDR="/tmp/skindesigner"
+mkdir -p ${OUTPUTFLDR}
+
+# if the script is executed from system_information script set the locale back for "°C"
+LANG=de_DE.UTF-8
+
+# there can be 4 files, cpu, gpu, pccase, motherboard
+
+rm -f ${OUTPUTFLDR}/cpu ${OUTPUTFLDR}/gpu
+
+# intel core-i cpu temp
+#sensors -A coretemp-isa-0000 | grep "Core 0" | awk '{print $3}' | tr -d "+" > ./cpu
+
+# cpu temp
+CPUTEMP=($(sensors -A | grep "Core"))
+CPUTEMP[2]=${CPUTEMP[2]/+}                      # +36.0°C -> 36.0°C
+echo "${CPUTEMP[2]/./,}" > ${OUTPUTFLDR}/cpu               # 36,0°C
+echo "${CPUTEMP[2]%.*}°C" > ${OUTPUTFLDR}/cpu               # 36°C
+
+# pc case temp
+#sensors -A acpitz-virtual-0 | grep "temp1" | awk '{print $2}' | tr -d "+" > ${OUTPUTFLDR}/pccase
+
+# nvidia gpu temp
+# nvidia-settings must be run as the user of the x server
+# GPU=$(nvidia-settings -c :0 -t -query GPUCoreTemp | head -n 1)
+GPU=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)
+echo "${GPU}°C" > ${OUTPUTFLDR}/gpu
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e7a0637
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://projects.vdr-developer.org/projects/skin-nopacity/files .*/vdr-skindesigner-(.*)\.tgz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-skindesigner.git



More information about the pkg-vdr-dvb-changes mailing list