summaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-skinenigmang/files
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-03-26 19:19:58 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-03-26 19:19:58 +0000
commitd40c793e7a4bdd37295f1316f779dce3fb8f76e6 (patch)
tree144a819d11d6b4afa9f10cb8cf92e01d4f701f03 /multimedia/vdr-plugin-skinenigmang/files
parenthttp://www.linuxtv.org/vdrwiki/index.php/Remote-plugin (diff)
http://www.vdr-wiki.de/wiki/index.php/Skinenigmang-plugin
"EnigmaNG" is a standalone VDR OSD skin based on the "Enigma" text2skin addon. WWW: http://andreas.vdr-developer.org/enigmang/index.html
Notes
Notes: svn path=/head/; revision=271806
Diffstat (limited to 'multimedia/vdr-plugin-skinenigmang/files')
-rw-r--r--multimedia/vdr-plugin-skinenigmang/files/patch-Makefile9
-rw-r--r--multimedia/vdr-plugin-skinenigmang/files/patch-vdr-skinenigmang-0.1.165
2 files changed, 74 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-skinenigmang/files/patch-Makefile b/multimedia/vdr-plugin-skinenigmang/files/patch-Makefile
new file mode 100644
index 000000000000..911e0b4e70fe
--- /dev/null
+++ b/multimedia/vdr-plugin-skinenigmang/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- skinenigmang-0.1.1/Makefile.orig
++++ skinenigmang-0.1.1/Makefile
+@@ -206,3 +210,6 @@ dist: clean
+
+ clean:
+ @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
++
++install:
++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
diff --git a/multimedia/vdr-plugin-skinenigmang/files/patch-vdr-skinenigmang-0.1.1 b/multimedia/vdr-plugin-skinenigmang/files/patch-vdr-skinenigmang-0.1.1
new file mode 100644
index 000000000000..e3f0a04f145e
--- /dev/null
+++ b/multimedia/vdr-plugin-skinenigmang/files/patch-vdr-skinenigmang-0.1.1
@@ -0,0 +1,65 @@
+diff -ur orig/skinenigmang-0.1.1/Makefile skinenigmang-0.1.1/Makefile
+--- orig/skinenigmang-0.1.1/Makefile 2010-03-13 16:33:20.000000000 +0100
++++ skinenigmang-0.1.1/Makefile 2010-04-07 13:38:45.000000000 +0200
+@@ -16,15 +16,15 @@
+
+ # If you are using the epgsearch plugin and want to see the number of
+ # timer conflicts in the main menu's info area.
+-SKINENIGMA_USE_PLUGIN_EPGSEARCH = 1
++#SKINENIGMA_USE_PLUGIN_EPGSEARCH = 1
+
+ # If you use the mailbox plugin this will include support for it.
+-SKINENIGMA_USE_PLUGIN_MAILBOX = 1
++#SKINENIGMA_USE_PLUGIN_MAILBOX = 1
+
+ # Include code to support the Avards plugin:
+ # - Dynamic OSD size depending on current WSS mode.
+ # - Display current WSS mode in channel info and replay OSDs.
+-SKINENIGMA_USE_PLUGIN_AVARDS = 1
++#SKINENIGMA_USE_PLUGIN_AVARDS = 1
+
+ # Disable code to show signal strength and signal-to-noise ratio
+ # in channel info OSD.
+@@ -32,7 +32,7 @@
+
+ # Strip debug symbols? Set eg. to /bin/true if not
+ #STRIP = strip
+-STRIP = /bin/true
++STRIP = /usr/bin/true
+
+ # The official name of this plugin.
+ # This name will be used in the '-P...' option of VDR to load the plugin.
+@@ -191,7 +191,11 @@
+ ifndef SKINENIGMA_DEBUG
+ @$(STRIP) $@
+ endif
++ifdef FREEBSD
++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
++else
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
++endif
+
+ dist: clean
+ @-rm -rf $(TMPDIR)/$(ARCHIVE)
+diff -ur orig/skinenigmang-0.1.1/enigma.c skinenigmang-0.1.1/enigma.c
+--- orig/skinenigmang-0.1.1/enigma.c 2010-04-05 10:33:42.000000000 +0200
++++ skinenigmang-0.1.1/enigma.c 2010-04-07 13:38:07.000000000 +0200
+@@ -256,6 +256,18 @@
+ #define ScrollbarHeight 20
+ #define ScrollbarWidth 16
+
++#ifdef __FreeBSD__
++/* XXX Implement strchrnul for FreeBSD. */
++static char *
++strchrnul (const char *s, int c_in)
++{
++ char c = c_in;
++ while (*s && (*s != c))
++ s++;
++
++ return (char *) s;
++}
++#endif
+
+ // --- cSkinEnigmaDisplayChannel --------------------------------------------
+