Author: teodor                       Date: Thu Apr 20 07:07:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- patch for spec and lirc-remotes.patch made by 
  Tomasz Narloch <eyev(at)poczta dot fm>
- enabled support for Igor Cesko receiver

---- Files affected:
SPECS:
   lirc.spec (1.124 -> 1.125) 

---- Diffs:

================================================================
Index: SPECS/lirc.spec
diff -u SPECS/lirc.spec:1.124 SPECS/lirc.spec:1.125
--- SPECS/lirc.spec:1.124       Mon Feb 13 10:54:26 2006
+++ SPECS/lirc.spec     Thu Apr 20 09:07:29 2006
@@ -16,7 +16,7 @@
 Summary(pl):   Serwery do zdalnego sterowania Linuksem za pomocą podczerwieni
 Name:          lirc
 Version:       0.8.0
-%define        _rel    1
+%define        _rel    2
 Release:       %{_rel}
 License:       GPL
 Group:         Daemons
@@ -34,6 +34,7 @@
 Patch4:                %{name}-alpha.patch
 Patch5:                %{name}-i2c-2.8.x.patch
 Patch6:                %{name}-sparc.patch
+Patch8:                %{name}-remotes.patch
 URL:           http://www.lirc.org/
 %{?with_x:BuildRequires:       xorg-lib-libX11-devel}
 BuildRequires: autoconf
@@ -907,6 +908,7 @@
 fi
 %endif
 %patch6 -p1
+%patch8 -p1
 
 %build
 echo '#' > drivers/Makefile.am
@@ -923,7 +925,8 @@
        --with-port=0x2f8 \
        --with-irq=3 \
        --without-soft-carrier \
-       --with-driver=serial
+       --with-driver=userspace \
+       --with-igor
 
 %{__make}
 
@@ -932,37 +935,40 @@
 
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} 
up}%{!?with_dist_kernel:nondist}; do
        drivers=%{drivers}
+       rm -rf o
+       if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
+               exit 1
+       fi
+       install -d o/include/{linux,config}
+       ln -sf %{_kernelsrcdir}/config-$cfg o/.config
+       ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h 
o/include/linux/autoconf.h
+       [ ! -L o/include/asm ] && ln -sf 
%{_kernelsrcdir}/include/asm-%{_target_base_arch} o/include/asm
+       ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
+       %if %{without dist_kernel}
+               touch o/include/config/MARKER
+               ln -sf %{_kernelsrcdir}/scripts o/
+       %else
+               %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+       %endif
        for drv in $drivers; do
+               cd $drv
                if [ "$drv" == "lirc_parallel" ] && [ "$cfg" == "smp" ]; then
                        echo "lirc_parallel is not smp safe"
                else
-               cd $drv
-               if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
-                       exit 1
-               fi
-               #rm -rf include
-               install -d include/{linux,config}
-               ln -sf %{_kernelsrcdir}/config-$cfg .config
-               ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h 
include/linux/autoconf.h
-               [ ! -L include/asm ] && ln -sf 
%{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
-               ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
-               %if %{without dist_kernel}
-                       ln -sf %{_kernelsrcdir}/scripts
-               %endif
-               touch include/config/MARKER
-               %{__make} clean \
-                       RCS_FIND_IGNORE="-name '*.ko' -o" \
-                       M=$PWD O=$PWD \
-                       %{?with_verbose:V=1}
-               %{__make} \
-                       M=$PWD O=$PWD \
-                       %{?with_verbose:V=1}
-               mv $drv{,-$cfg}.ko
-               cd ../
+                       ln -sf ../o
+                       %{__make} clean \
+                               RCS_FIND_IGNORE="-name '*.ko' -o" \
+                               M=$PWD O=$PWD/o \
+                               %{?with_verbose:V=1}
+                       %{__make} \
+                               M=$PWD O=$PWD/o \
+                               %{?with_verbose:V=1}
+                       mv $drv{,-$cfg}.ko
                fi
+               cd ..
        done
 done
-cd ../
+cd ..
 
 %endif
 
@@ -1523,6 +1529,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.125  2006/04/20 07:07:29  teodor
+- patch for spec and lirc-remotes.patch made by
+  Tomasz Narloch <eyev(at)poczta dot fm>
+- enabled support for Igor Cesko receiver
+
 Revision 1.124  2006/02/13 09:54:26  pluto
 - xorg modular deps.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lirc.spec?r1=1.124&r2=1.125&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to