From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel =?utf-8?q?Weism=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] vdr_streamdev: changed dependency to vdr 2.2.0 Date: Mon, 24 Oct 2016 10:15:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1341241306815385989==" List-Id: --===============1341241306815385989== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From 40172654ddcf1976b4070fb7ef813a5a6ea1d181 Mon Sep 17 00:00:00 2001 From: =3D?utf8?q?Daniel=3D20Weism=3DC3=3DBCller?=3D Date: Tue, 18 Oct 2016 16:08:18 +0200 Subject: [PATCH] vdr_streamdev: changed dependency to vdr 2.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=3Dutf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weism=C3=83=C2=BCller --- config/rootfiles/packages/vdr_streamdev | 2 +- lfs/vdr_streamdev | 15 ++++++-------- src/patches/vdr-streamdev_recordings-64.patch | 29 ------------------------= --- 3 files changed, 7 insertions(+), 39 deletions(-) delete mode 100644 src/patches/vdr-streamdev_recordings-64.patch diff --git a/config/rootfiles/packages/vdr_streamdev b/config/rootfiles/packa= ges/vdr_streamdev index 458e7d8..887383f 100644 --- a/config/rootfiles/packages/vdr_streamdev +++ b/config/rootfiles/packages/vdr_streamdev @@ -5,4 +5,4 @@ etc/vdr/plugins/streamdev-server/streamdevhosts.conf #usr/lib/vdr #usr/lib/vdr/bin usr/lib/vdr/bin/externremux.sh -usr/lib/vdr/libvdr-streamdev-server.so.2.0.0 +usr/lib/vdr/libvdr-streamdev-server.so.2.2.0 diff --git a/lfs/vdr_streamdev b/lfs/vdr_streamdev index c230a69..aae82f0 100644 --- a/lfs/vdr_streamdev +++ b/lfs/vdr_streamdev @@ -25,19 +25,19 @@ include Config =20 VER =3D 0.6.1 -GIT_VER =3D 10db11ac -THISAPP =3D vdr-streamdev-$(GIT_VER) -DL_FILE =3D $(THISAPP).tar.xz +GIT_VER =3D 674bb5b +THISAPP =3D vdr-plugin-streamdev-$(VER)-$(GIT_VER) +DL_FILE =3D $(THISAPP).tar.gz =20 DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D vdr_streamdev -PAK_VER =3D 2 +PAK_VER =3D 3 =20 DEPS =3D "" =20 -VDRPLUGVER =3D 2.0.0 +VDRPLUGVER =3D 2.2.0 =20 EXTRA_FLAGS=3D -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_= SOURCE CFLAGS +=3D $(EXTRA_FLAGS) @@ -51,7 +51,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D e5011fd1a4b0624b192911f37c6040e3 +$(DL_FILE)_MD5 =3D 7eb0c36bb46d8b5d0aabd30f4b67e99a =20 install : $(TARGET) =20 @@ -84,9 +84,6 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/vdr-streamdev_recordin= gs-64.patch - cd $(DIR_APP) && sed -i 's@$(VDRDIR)/device.h@/usr/include/vdr/device.h@' = Makefile cd $(DIR_APP) && make $(MAKE_TUNING) LIBDIR=3D. VDRDIR=3D/usr/lib/vdr \ CFLAGS=3D"$(CFLAGS)" CXXFLAGS=3D"$(CXXFLAGS)" \ diff --git a/src/patches/vdr-streamdev_recordings-64.patch b/src/patches/vdr-= streamdev_recordings-64.patch deleted file mode 100644 index 2dc5250..0000000 --- a/src/patches/vdr-streamdev_recordings-64.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naur vdr-streamdev-10db11ac.org/server/connectionHTTP.c vdr-streamdev-= 10db11ac/server/connectionHTTP.c ---- vdr-streamdev-10db11ac.org/server/connectionHTTP.c 2013-02-18 12:43:02.0= 00000000 +0100 -+++ vdr-streamdev-10db11ac/server/connectionHTTP.c 2013-04-29 15:16:40.04916= 8127 +0200 -@@ -455,11 +455,11 @@ - return NULL; - - char *p =3D NULL; -- unsigned long l =3D strtoul(FileBase, &p, 0); -+ unsigned long long l =3D strtoull(FileBase, &p, 0); - if (p !=3D FileBase && l > 0L) { - if (*p =3D=3D ':') { - // get recording by dev:inode -- unsigned long inode =3D strtoul(p + 1, &p, 0); -+ unsigned long long inode =3D strtoull(p + 1, &p, 0); - if (*p =3D=3D 0 && inode > 0) { - struct stat st; - cThreadLock RecordingsLock(&Recordings); -diff -Naur vdr-streamdev-10db11ac.org/server/menuHTTP.c vdr-streamdev-10db11= ac/server/menuHTTP.c ---- vdr-streamdev-10db11ac.org/server/menuHTTP.c 2013-02-18 12:43:02.0000000= 00 +0100 -+++ vdr-streamdev-10db11ac/server/menuHTTP.c 2013-04-29 15:15:30.352502787 += 0200 -@@ -28,7 +28,7 @@ - { - struct stat st; - if (stat(current->FileName(), &st) =3D=3D 0) -- return cString::sprintf("%lu:%lu.rec", st.st_dev, st.st_ino); -+ return cString::sprintf("%llu:%llu.rec", (unsigned long long) st.st_dev, = (unsigned long long) st.st_ino); - return ""; - } - --=20 2.5.5 --===============1341241306815385989==--