lcdproc: Update to 0.5.6.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2013 17:46:30 +0000 (19:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 May 2013 17:47:19 +0000 (19:47 +0200)
config/rootfiles/packages/lcdproc
lfs/lcdproc
src/patches/lcdproc-0.5.6-menuitem.patch [new file with mode: 0644]

index 935a79c..c8fc669 100644 (file)
@@ -1,7 +1,8 @@
-etc/LCDd.conf
-etc/lcdexec.conf
-etc/lcdproc.conf
-etc/lcdvc.conf
+etc/lcdproc
+etc/lcdproc/LCDd.conf
+etc/lcdproc/lcdexec.conf
+etc/lcdproc/lcdproc.conf
+etc/lcdproc/lcdvc.conf
 usr/bin/fortune.pl
 usr/bin/iosock.pl
 usr/bin/lcdexec
@@ -13,7 +14,6 @@ usr/bin/tail.pl
 usr/bin/x11amp.pl
 usr/lib/lcdproc
 #usr/lib/lcdproc/CFontz.so
-#usr/lib/lcdproc/CFontz633.so
 #usr/lib/lcdproc/CFontzPacket.so
 #usr/lib/lcdproc/CwLnx.so
 #usr/lib/lcdproc/EyeboxOne.so
@@ -25,6 +25,7 @@ usr/lib/lcdproc
 #usr/lib/lcdproc/bayrad.so
 #usr/lib/lcdproc/curses.so
 #usr/lib/lcdproc/ea65.so
+#usr/lib/lcdproc/glcd.so
 #usr/lib/lcdproc/glk.so
 #usr/lib/lcdproc/hd44780.so
 #usr/lib/lcdproc/icp_a106.so
@@ -39,6 +40,7 @@ usr/lib/lcdproc
 #usr/lib/lcdproc/mtc_s16209x.so
 #usr/lib/lcdproc/picolcd.so
 #usr/lib/lcdproc/pyramid.so
+#usr/lib/lcdproc/sdeclcd.so
 #usr/lib/lcdproc/sed1330.so
 #usr/lib/lcdproc/sed1520.so
 #usr/lib/lcdproc/serialPOS.so
@@ -49,6 +51,7 @@ usr/lib/lcdproc
 #usr/lib/lcdproc/t6963.so
 #usr/lib/lcdproc/text.so
 #usr/lib/lcdproc/tyan.so
+#usr/lib/lcdproc/vlsys_m428.so
 usr/sbin/LCDd
 #usr/share/man/man1/lcdexec.1
 #usr/share/man/man1/lcdproc.1
index 01525a2..0e329ba 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.5.5
+VER        = 0.5.6
 
 THISAPP    = lcdproc-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = c92d4529d36eeec6d9d6fd0a4aa3ec82
+$(DL_FILE)_MD5 = df4f5c2c7285eaf6979b9c7768b4877f
 
 install : $(TARGET)
 
@@ -77,9 +77,22 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --enable-libusb --enable-drivers=all --enable-permissive-menu-goto --enable-lcdproc-menus --enable-stat-nfs --enable-stat-smbfs --with-lcdport=13666 --enable-seamless-hbars --prefix=/usr --sysconfdir=/etc
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/lcdproc-0.5.6-menuitem.patch
+       cd $(DIR_APP) && \
+               ./configure \
+                       --prefix=/usr \
+                       --sysconfdir=/etc/lcdproc \
+                       --enable-libusb \
+                       --enable-drivers=all \
+                       --enable-permissive-menu-goto \
+                       --enable-lcdproc-menus \
+                       --enable-stat-nfs \
+                       --enable-stat-smbfs \
+                       --with-lcdport=13666 \
+                       --enable-seamless-hbars
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       install -v -m 644 $(DIR_SRC)/config/backup/includes/lcdproc /var/ipfire/backup/addons/includes/lcdproc
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/lcdproc \
+               /var/ipfire/backup/addons/includes/lcdproc
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
diff --git a/src/patches/lcdproc-0.5.6-menuitem.patch b/src/patches/lcdproc-0.5.6-menuitem.patch
new file mode 100644 (file)
index 0000000..b9e933d
--- /dev/null
@@ -0,0 +1,11 @@
+--- server/menuitem.c  2012/04/25 19:53:15     1.37
++++ server/menuitem.c  2013/01/17 21:27:27     1.38
+@@ -33,6 +33,8 @@
+ #define MAX_NUMERIC_LEN 40
++extern Menu *main_menu;               /* Access to the main menu */
++
+ char *error_strs[] = {"", "Out of range", "Too long", "Too short", "Invalid Address"};
+ char *menuitemtypenames[] = {"menu", "action", "checkbox", "ring", "slider", "numeric", "alpha", "ip"};
+ char *menueventtypenames[] = {"select", "update", "plus", "minus", "enter", "leave"};