Silly me, didn't realise debian/rules was a folder/file, was reading it as a sentence! Fixed that up and built, but it comes up with more errors that I am ill-equiped to understand/debug!
The only clue I can see is it seems to be complaining about the directory name I created (vdrlcdproc) - looks like it might expect it to be different and is using it to locate a .orig file?? Not sure what it is expecting, so I will tell you what I did. I just created a directory called vdrlcdproc under the linuxmce home folder for the plugin. Then saw you talking about expanding the patch into /tmp. So I did that. Where should they both be and called? Is this what is confusing it?
linuxmce@dcerouter:~/vdrlcdproc$ chmod +x debian/rules
linuxmce@dcerouter:~/vdrlcdproc$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is vdr-plugin-lcdproc
dpkg-buildpackage: source version is 0.0.10-30ubuntu3
dpkg-buildpackage: source changed by Timo Aaltonen <
tepsipakki@ubuntu.com>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.0.10-30ubuntu3
fakeroot debian/rules clean
/usr/share/vdr-dev/make-special-vdr.sh debian/rules clean SPECIAL_VDR_SUFFIX='' MAKE_SPECIAL_VDR='' NO_CHECKBUILDDEPS=''
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make -o .dependencies clean DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=.
make[1]: Entering directory `/home/linuxmce/vdrlcdproc'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/home/linuxmce/vdrlcdproc'
make: [clean-patched] Error 2 (ignored)
rm -f libvdr-*.so.*
dh_clean
dpatch deapply-all
93_vdr-1.3.38 not applied to ./ .
92_lcdproc-1.3.18 not applied to ./ .
90_APIVERSION not applied to ./ .
02_connecterror not applied to ./ .
01_Makefile-fPIC-fix not applied to ./ .
rm -rf patch-stamp patch-stampT debian/patched
dpkg-source -b vdrlcdproc
dpkg-source: warning: source directory './vdrlcdproc' is not <sourcepackage>-<upstreamversion> 'vdr-plugin-lcdproc-0.0.10'
dpkg-source: warning: .orig directory name vdrlcdproc.orig is not <package>-<upstreamversion> (wanted vdr-plugin-lcdproc-0.0.10.orig)
dpkg-source: building vdr-plugin-lcdproc using existing vdr-plugin-lcdproc_0.0.10.orig.tar.gz
dpkg-source: building vdr-plugin-lcdproc in vdr-plugin-lcdproc_0.0.10-30ubuntu3.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/patches/93_vdr-1.3.38.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/02_connecterror.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/92_lcdproc-1.3.18.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/90_APIVERSION.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/01_Makefile-fPIC-fix.dpatch' will not be represented in diff
dpkg-source: warning: ignoring deletion of file sockets.h
dpkg-source: warning: ignoring deletion of file setup.h
dpkg-source: warning: ignoring deletion of file HISTORY
dpkg-source: warning: ignoring deletion of file lcd.c
dpkg-source: warning: ignoring deletion of file i18n.h
dpkg-source: warning: ignoring deletion of file COPYING
dpkg-source: warning: ignoring deletion of file lcdtranstbl.h
dpkg-source: warning: ignoring deletion of file sockets.c
dpkg-source: warning: ignoring deletion of file README
dpkg-source: warning: ignoring deletion of file i18n.c
dpkg-source: warning: ignoring deletion of file lcd.h
dpkg-source: warning: ignoring deletion of file lcdkeyconf.h
dpkg-source: warning: ignoring deletion of file setup.c
dpkg-source: warning: ignoring deletion of file Makefile
dpkg-source: warning: ignoring deletion of file lcdproc.c
dpkg-source: building vdr-plugin-lcdproc in vdr-plugin-lcdproc_0.0.10-30ubuntu3.dsc
debian/rules build
/usr/share/vdr-dev/make-special-vdr.sh debian/rules build SPECIAL_VDR_SUFFIX='' MAKE_SPECIAL_VDR='' NO_CHECKBUILDDEPS=''
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 01_Makefile-fPIC-fix to ./ ... failed.
make: *** [patch-stamp] Error 1
linuxmce@dcerouter:~/vdrlcdproc$