Author: pebender
Date: Fri May 29 08:23:09 2009
New Revision: 4849
Added:
trunk/gar-minimyth/script/lib/popt/ (props changed)
trunk/gar-minimyth/script/lib/popt/Makefile
trunk/gar-minimyth/script/lib/popt/checksums
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/iguanair.pm
trunk/gar-minimyth/script/system/iguanair/ (props changed)
trunk/gar-minimyth/script/system/iguanair/Makefile
trunk/gar-minimyth/script/system/iguanair/checksums
trunk/gar-minimyth/script/system/iguanair/files/
trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-libusb_config.patch
trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-ln.patch
Modified:
trunk/gar-minimyth/html/minimyth/document-changelog.txt
trunk/gar-minimyth/script/meta/minimyth/Makefile
trunk/gar-minimyth/script/meta/minimyth/files/source/lists/minimyth-bin-list
trunk/gar-minimyth/script/system/lirc/Makefile
Log:
- Added iguanaIR init support for LIRC functions.
- Added packages lib/popt and system/iguanair.
Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt Fri May 29
08:23:09 2009
@@ -1,7 +1,7 @@
MiniMyth Changelog
--------------------------------------------------------------------------------
-Changes since 66 (2009-05-28):
+Changes since 66 (2009-05-29):
Current MythTV versions
MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch
svn 16082 and
@@ -60,6 +60,7 @@
- Added the MythPhone kernel module to the manual kernel module list.
- Changed Wiimote init so that it warns rather than fails when the
bluetooth device is not present.
+ - Added iguanaIR init support for LIRC functions.
Improved external equipment control support
- Sped up external equipment control script by
@@ -163,12 +164,14 @@
Added kernel-2.6.30/linux.
Added kernel-headers/linux-headers-2.6.30.
Added lib/libuuid.
+ Added lib/popt.
Added net/vconfig.
Added nvidia/nvidia-180.51.
Added nvidia/nvidia-185.18.14.
Added perl/perl-Device-SerialPort.
Added perl/perl/perl-RFLibs.
Added system/aquosserver.
+ Added system/iguanair.
Added system/irclient.
Updated packages
Added: trunk/gar-minimyth/script/lib/popt/Makefile
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/lib/popt/Makefile Fri May 29 08:23:09 2009
@@ -0,0 +1,32 @@
+GARNAME = popt
+GARVERSION = 1.15
+CATEGORIES = lib
+MASTER_SITES = http://rpm5.org/files/$(GARNAME)/
+DISTFILES = $(DISTNAME).tar.gz
+LICENSE = MIT
+
+DESCRIPTION =
+define BLURB
+endef
+
+DEPENDS = lang/c
+
+CONFIGURE_SCRIPTS = $(WORKSRC)/configure
+BUILD_SCRIPTS = $(WORKSRC)/Makefile
+INSTALL_SCRIPTS = $(WORKSRC)/Makefile
+
+CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
+ --enable-shared \
+ --disable-static \
+ --disable-rpath \
+ --with-gnu-ld
+
+include ../../gar.mk
+
+pre-configure:
+ @$(call FIX_LIBTOOL,$(WORKSRC)/configure)
+ @$(MAKECOOKIE)
+
+post-install:
+ @rm -f $(DESTDIR)$(libdir)/libpopt.la
+ @$(MAKECOOKIE)
Added: trunk/gar-minimyth/script/lib/popt/checksums
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/lib/popt/checksums Fri May 29 08:23:09 2009
@@ -0,0 +1 @@
+c61ef795fa450eb692602a661ec8d7f1 download/popt-1.15.tar.gz
Modified: trunk/gar-minimyth/script/meta/minimyth/Makefile
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/Makefile (original)
+++ trunk/gar-minimyth/script/meta/minimyth/Makefile Fri May 29 08:23:09
2009
@@ -26,12 +26,13 @@
$(if $(filter i386,$(mm_GARCH_FAMILY)),net/gpxe) \
disk/hdparm \
net/ifplugd \
+ system/iguanair \
net/iputils \
+ system/irclient \
+ system/irserver \
system/lcdproc \
system/kbdd \
kernel/kernel \
- system/irclient \
- system/irserver \
fonts/liberation-fonts \
system/lirc \
utils/lm_sensors \
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/lists/minimyth-bin-list
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/lists/minimyth-bin-list
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/lists/minimyth-bin-list
Fri May 29 08:23:09 2009
@@ -24,6 +24,7 @@
hose
iconv
ifplugstatus
+igdaemon
init
insmod
irclient
Added:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/iguanair.pm
==============================================================================
--- (empty file)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/iguanair.pm
Fri May 29 08:23:09 2009
@@ -0,0 +1,46 @@
+################################################################################
+# iguanair
+################################################################################
+package init::iguanair;
+
+use strict;
+use warnings;
+
+use MiniMyth ();
+
+sub start
+{
+ my $self = shift;
+ my $minimyth = shift;
+
+ my $igdaemon_enabled = 'no';
+ my @device_list = split(/ +/,
$minimyth->var_get('MM_LIRC_DEVICE_LIST'));
+ foreach my $device_item (@device_list)
+ {
+ my (undef, $driver, undef) = split(/,/, $device_item);
+ if ($driver eq 'iguanaIR')
+ {
+ $igdaemon_enabled = 'yes';
+ }
+ }
+ if ($igdaemon_enabled eq 'yes')
+ {
+ $minimyth->message_output('info', "starting iguanaIR daemon ...");
+ system('/usr/bin/igdaemon',
+ '--log-file=/var/log/igdaemon.log',
+ '--pid-file=/var/run/igdaemon.pid')
+ }
+ return 1;
+}
+
+sub stop
+{
+ my $self = shift;
+ my $minimyth = shift;
+
+ $minimyth->message_stop('igdeamon', "stopping iguanaIR daemon ...");
+
+ return 1;
+}
+
+1;
Added: trunk/gar-minimyth/script/system/iguanair/Makefile
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/system/iguanair/Makefile Fri May 29 08:23:09
2009
@@ -0,0 +1,44 @@
+GARNAME = iguanaIR
+GARVERSION = 0.99
+CATEGORIES = system
+MASTER_SITES = http://iguanaworks.net/downloads/
+DISTFILES = $(DISTNAME).tar.bz2
+PATCHFILES = $(DISTNAME)-libusb_config.patch $(DISTNAME)-ln.patch
+LICENSE = GPL2/LGPL2_1
+
+DESCRIPTION =
+define BLURB
+endef
+
+DEPENDS = lang/c lib/libusb lib/popt
+
+CONFIGURE_SCRIPTS = $(WORKSRC)/configure
+BUILD_SCRIPTS = $(WORKSRC)/Makefile
+INSTALL_SCRIPTS = $(WORKSRC)/Makefile
+
+CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
+ --disable-python
+
+CONFIGURE_ENV = \
+ LIBUSB_CONFIG=$(DESTDIR)$(bindir)/libusb-config
+ifneq ($(DESTIMG),build)
+CONFIGURE_ENV += \
+ ac_cv_func_lstat_dereferences_slashed_symlink='yes' \
+ ac_cv_func_malloc_0_nonnull='yes' \
+ ac_cv_func_realloc_0_nonnull='yes'
+endif
+INSTALL_ENV = \
+ LIBDIR='lib' \
+ RPM_OS='yes'
+
+include ../../gar.mk
+
+post-extract:
+ @cd $(WORKSRC) ; make cleanest
+ @$(MAKECOOKIE)
+
+pre-configure:
+ @cd $(WORKSRC)/autoconf ; aclocal --verbose --force
+ @cd $(WORKSRC)/autoconf ; autoconf --verbose --force -o ../configure
+ @$(call FIX_LIBTOOL,$(WORKSRC)/configure)
+ @$(MAKECOOKIE)
Added: trunk/gar-minimyth/script/system/iguanair/checksums
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/system/iguanair/checksums Fri May 29 08:23:09
2009
@@ -0,0 +1,3 @@
+c206d21283bb6fc8ee485a8c248a7061 download/iguanaIR-0.99.tar.bz2
+c587367db3f935a84b4af454b63cff8d
download/iguanaIR-0.99-libusb_config.patch
+83efbb4582a8c1b6ab3ad0feb8966e2b download/iguanaIR-0.99-ln.patch
Added:
trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-libusb_config.patch
==============================================================================
--- (empty file)
+++
trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-libusb_config.patch
Fri May 29 08:23:09 2009
@@ -0,0 +1,15 @@
+diff -Naur iguanaIR-0.99-old/autoconf/configure.ac
iguanaIR-0.99-new/autoconf/configure.ac
+--- iguanaIR-0.99-old/autoconf/configure.ac 2008-11-18 18:28:01.000000000
-0800
++++ iguanaIR-0.99-new/autoconf/configure.ac 2009-05-29 03:36:53.000000000
-0700
+@@ -97,7 +97,10 @@
+ AC_CHECK_LIB([usb], [usb_get_busses],
+ [
+ VERSION=0
+- for num in `libusb-config --version | tr '.' ' '`
++ if test x$LIBUSB_CONFIG = x; then
++ $LIBUSB_CONFIG = libusb-config
++ fi
++ for num in `$LIBUSB_CONFIG --version | tr '.' ' '`
+ do
+ VERSION=$(($VERSION * 100 + $num))
+ done
Added:
trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-ln.patch
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/system/iguanair/files/iguanaIR-0.99-ln.patch
Fri May 29 08:23:09 2009
@@ -0,0 +1,30 @@
+diff -Naur iguanaIR-0.99-old/Makefile.in iguanaIR-0.99-new/Makefile.in
+--- iguanaIR-0.99-old/Makefile.in 2009-05-29 03:32:36.000000000 -0700
++++ iguanaIR-0.99-new/Makefile.in 2009-05-29 04:30:58.000000000 -0700
+@@ -23,7 +23,7 @@
+ SHAREARG = -shared
+ LINKARGS = -Wl,-soname=$(LIBNAME),--version-script=ig.ver
+ ifeq ($(shell uname -m),x86_64)
+- LIBDIR = lib64
++ LIBDIR = lib
+ CFLAGS += -fpic
+ else
+ LIBDIR = lib
+@@ -34,8 +34,6 @@
+ ifeq ($(shell uname -m),Power Macintosh)
+ LIBDIR = lib
+ CFLAGS += -fPIC
+- CPPFLAGS += -I/sw/include
+- LDFLAGS += -L/sw/lib
+ SHAREEXT = dylib
+ LIBNAME=libiguanaIR.$(SHAREEXT)
+ SHAREARG = -dynamiclib
+@@ -120,7 +118,7 @@
+ .PHONY: install-symlink
+ install-symlink:
+ install -d $(DESTDIR)/usr/$(LIBDIR)
+- ln -s $(LIBNAME) $(DESTDIR)/usr/$(LIBDIR)/libiguanaIR.$(SHAREEXT)
++ ln -sf $(LIBNAME) $(DESTDIR)/usr/$(LIBDIR)/libiguanaIR.$(SHAREEXT)
+ endif
+
+ .PHONY: install
Modified: trunk/gar-minimyth/script/system/lirc/Makefile
==============================================================================
--- trunk/gar-minimyth/script/system/lirc/Makefile (original)
+++ trunk/gar-minimyth/script/system/lirc/Makefile Fri May 29 08:23:09 2009
@@ -15,7 +15,7 @@
define BLURB
endef
-DEPENDS = lang/c kernel/kernel lib/alsa-lib lib/libftdi lib/libirman
lib/libusb xorg/xorg
+DEPENDS = lang/c kernel/kernel lib/alsa-lib lib/libftdi lib/libirman
lib/libusb system/iguanair xorg/xorg
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---