Re: [OpenWrt-Devel] Problem with build-system and feeds script

2008-05-08 Thread Roberto Riggio
Yes, it works fine for me too.

- Oliver Ertl [EMAIL PROTECTED] wrote:
 Please test and report.
 
 cd ~/
 svn checkout https://svn.openwrt.org/openwrt/trunk/ ~/trunk/
 cd ~/trunk/
 ./scripts/feeds update -a
 ./scripts/feeds install -d m nano
 make menuconfig
 
 Now go to Utilities  Editors and tell me if the nano package is
 selected as M
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


-- 

Roberto Riggio, PhD

CREATE-NET
Via alla Cascata 56/C 
38100 Trento (Italy)

E-mail: [EMAIL PROTECTED]
HomePage: http://disi.unitn.it/~riggio/

Tel: +39.0461.314.960
Fax: +39.0461.314.972


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] update lcd4linux

2008-05-08 Thread Oliver Ertl
There is s better version:

http://lists.openwrt.org/pipermail/openwrt-devel/2008-April/002111.html

 [EMAIL PROTECTED] wrote:
  update lcd4linux to the latest svn version
  
  Signed-off-by: Michael Vogt michu at neophob.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] fix iproute2 on x86

2008-05-08 Thread Daniel Poelzleithner
Hi,

this patch fixes ip package.
Don't know if its the best solution, but I think if you include kernel
headers, you should care about including kernel header type definitions
as well :)

kindly regards
 poelzi
Index: package/iproute2/patches/008-u32_complition_fix.patch
===
--- package/iproute2/patches/008-u32_complition_fix.patch	(revision 0)
+++ package/iproute2/patches/008-u32_complition_fix.patch	(revision 0)
@@ -0,0 +1,10 @@
+Binary files iproute-2.6.20-070313.orig/tc/libtc.a and iproute-2.6.20-070313/tc/libtc.a differ
+diff -U 2 iproute-2.6.20-070313.orig/tc/m_ipt.c iproute-2.6.20-070313/tc/m_ipt.c
+--- iproute-2.6.20-070313.orig/tc/m_ipt.c	2007-03-13 22:50:56.0 +0100
 iproute-2.6.20-070313/tc/m_ipt.c	2008-05-08 10:42:54.0 +0200
+@@ -15,4 +15,5 @@
+ #include netinet/in.h
+ #include arpa/inet.h
++#include linux/types.h
+ #include iptables.h
+ #include linux/netfilter_ipv4/ip_tables.h
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [patch] Add vim-full vim-runtime vim-doc targets

2008-05-08 Thread john
hi

why do we need -doc as a package ?

blogic






Quoting Mark Kelly [EMAIL PROTECTED]:

 This patch is broken for me:

 Unpacking vim-full...Done.
 Configuring
 vim-full.../opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst:
  6: Syntax error: fi unexpected (expecting   
 then)
 make[3]: ***
 [/opt/openwrt/k1/build_dir/armeb/root-ixp4xx/usr/lib/ipkg/info/vim-full.list] 
 Error   
 2
 make[3]: Leaving directory `/opt/openwrt/packages/utils/vim'
 make[2]: *** [package/vim/install] Error 2
 make[2]: Leaving directory `/opt/openwrt/k1'
 make[1]: *** [/opt/openwrt/k1/staging_dir/armeb/stamp/.package_install]
 Error 2
 make[1]: Leaving directory `/opt/openwrt/k1'
 make: *** [world] Error 2


 /opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst
  should contain an extra THEN it appears, this patch fixes   
 it.
 ?
 Signed-off-by: Mark Kelly mark . kelly at cadre5 . com

 Index: Makefile
 ===
 ---? utils/vim/ Makefile  (revision 11074)
 +++ utils/vim/Makefile(working copy)
 @@ -160,6 +160,7 @@
if [ $${IPKG_INSTROOT} != / ]
then
  if [ -d /usr/share/ ]
 +then
ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
  fi
fi
 @@ -170,6 +171,7 @@
if [ $${IPKG_INSTROOT} != / ]
then
  if [ -d /usr/share/ ]
 +then
ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
  fi
fi





 On Wed, 2008-05-07 at 19:49 -0500, Travis Kemen wrote:

 Michael wrote:
  Here is a patch that adds a vim-full (normal options)  target to vim... as
  well as split out vim-runtime and vim-doc.
  The vim-runtime could probably be split further into base/ syntax  
   but given
  that it requires 1.4 M vim-full I'm not too worried.
 
 
  Signed-off-by: Michael Geddes michael at frog.wheelycreek.net
 
  Index: utils/vim/Makefile
  ===
  --- utils/vim/Makefile (revision 10654)
  +++ utils/vim/Makefile (working copy)
  @@ -20,7 +20,7 @@
 
   include $(INCLUDE_DIR)/package.mk
 
  -define Package/vim
  +define Package/vim/Default
 SECTION:=utils
 CATEGORY:=Utilities
 DEPENDS:=+libncurses
  @@ -29,15 +29,59 @@
 SUBMENU:=editors
   endef
 
  +define Package/vim
  +  $(call Packages/vim/Default)
  +  TITLE+= (Tiny)
  +endef
  +
  +define Package/vim-full
  +  $(call Packages/vim/Default)
  +  TITLE+= (Normal)
  +endef
  +
  +define Package/vim-runtime
  +  $(call Packages/vim/Default)
  +  TITLE+= (runtime files)
  +endef
  +
  +define Package/vim-help
  +  $(call Packages/vim/Default)
  +  TITLE+= (help files)
  +endef
  +
  +define Package/vim-full/conffiles
  +/usr/share/vim/vimrc
  +endef
  +
  +define Package/vim/conffiles
  +/usr/share/vim/vimrc
  +endef
  +
   define Package/vim/description
 Vim is an almost compatible version of the UNIX editor Vi.
  +  (Tiny build)
   endef
 
  +define Package/vim-full/description
  +  Vim is an almost compatible version of the UNIX editor Vi.
  +  (Normal build)
  +endef
  +
  +define Package/vim-runtime/description
  +  Vim is an almost compatible version of the UNIX editor Vi.
  +  (Runtime files)
  +endef
  +
  +define Package/vim-help/description
  +  Vim is an almost compatible version of the UNIX editor Vi.
  +  (Help files)
  +endef
  +
  +
   CONFIGURE_ARGS += \
 --disable-gui \
 --disable-gtktest \
 --disable-xim \
  -  --with-features=tiny \
 --without-x \
 --disable-multibyte \
 --disable-netbeans \
  @@ -45,11 +89,94 @@
 --disable-gpm \
 --with-tlib=ncurses
 
  -define Package/vim/install
  +ifneq ($(CONFIG_PACKAGE_vim),)
  +define Build/Compile/vim
  +  $(call Build/Configure/Default, \
  +--with-features=tiny \
  +   )
  +  $(MAKE) -C $(PKG_BUILD_DIR) clean
  +  $(MAKE) -C $(PKG_BUILD_DIR) \
  +DESTDIR=$(PKG_INSTALL_DIR) \
  +all
  +  $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_tiny
  +endef
  +endif
  +
  +ifneq ($(CONFIG_PACKAGE_vim-full),)
  +define Build/Compile/vim-full
  +  $(call Build/Configure/Default, \
  +--with-features=normal \
  +  )
  +  $(MAKE) -C $(PKG_BUILD_DIR) clean
  +  $(MAKE) -C $(PKG_BUILD_DIR) \
  +DESTDIR=$(PKG_INSTALL_DIR) \
  +all
  +  $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_normal
  +endef
  +endif
  +
  +define Build/Compile/vim-runtime
  +  $(MAKE) -C $(PKG_BUILD_DIR)/src DESTDIR=$(PKG_INSTALL_DIR)   
 installrtbase
  +  tar -czf $(PKG_BUILD_DIR)/docs.tgz   
 $(PKG_INSTALL_DIR)/usr/share/vim/vim*/doc
  +  rm -rf $(PKG_INSTALL_DIR)/usr/share/vim/vim*/doc
  +  rm -rf $(PKG_INSTALL_DIR)/usr/man
  +endef
  +
  +define Build/Configure
  +endef
  +
  +define Build/Compile
  +$(call Build/Compile/vim)
  +$(call Build/Compile/vim-full)
  +$(call Build/Compile/vim-runtime)
  +endef
  +
  +define Package/vim/install
 $(INSTALL_DIR) $(1)/usr/bin
  -  $(INSTALL_BIN) 

Re: [OpenWrt-Devel] [patch] Add vim-full vim-runtime vim-doc targets

2008-05-08 Thread Travis Kemen
Committed in 11075. Thanks

Travis

On Thu, May 8, 2008 at 8:29 AM, Mark Kelly [EMAIL PROTECTED] wrote:

  This patch is broken for me:

 Unpacking vim-full...Done.
 Configuring
 vim-full.../opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst:
 6: Syntax error: fi unexpected (expecting then)
 make[3]: ***
 [/opt/openwrt/k1/build_dir/armeb/root-ixp4xx/usr/lib/ipkg/info/vim-full.list]
 Error 2
 make[3]: Leaving directory `/opt/openwrt/packages/utils/vim'
 make[2]: *** [package/vim/install] Error 2
 make[2]: Leaving directory `/opt/openwrt/k1'
 make[1]: *** [/opt/openwrt/k1/staging_dir/armeb/stamp/.package_install]
 Error 2
 make[1]: Leaving directory `/opt/openwrt/k1'
 make: *** [world] Error 2


 /opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst
 should contain an extra THEN it appears, this patch fixes it.
 
 Signed-off-by: Mark Kelly mark . kelly at cadre5 . com

 Index: Makefile
 ===
 --- utils/vim/ Makefile (revision 11074)
 +++ utils/vim/Makefile (working copy)
 @@ -160,6 +160,7 @@
if [ $${IPKG_INSTROOT} != / ]
then
  if [ -d /usr/share/ ]
 +then
ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
  fi
fi
 @@ -170,6 +171,7 @@
if [ $${IPKG_INSTROOT} != / ]
then
  if [ -d /usr/share/ ]
 +then
ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
  fi
fi





 On Wed, 2008-05-07 at 19:49 -0500, Travis Kemen wrote:

 Michael wrote:
  Here is a patch that adds a vim-full (normal options)  target to vim... as
  well as split out vim-runtime and vim-doc.
  The vim-runtime could probably be split further into base/ syntax  but given
  that it requires 1.4 M vim-full I'm not too worried.
 
 
  Signed-off-by: Michael Geddes michael at frog.wheelycreek.net
 
  Index: utils/vim/Makefile
  ===
  --- utils/vim/Makefile  (revision 10654)
  +++ utils/vim/Makefile  (working copy)
  @@ -20,7 +20,7 @@
 
   include $(INCLUDE_DIR)/package.mk
 
  -define Package/vim
  +define Package/vim/Default
 SECTION:=utils
 CATEGORY:=Utilities
 DEPENDS:=+libncurses
  @@ -29,15 +29,59 @@
 SUBMENU:=editors
   endef
 
  +define Package/vim
  +  $(call Packages/vim/Default)
  +  TITLE+= (Tiny)
  +endef
  +
  +define Package/vim-full
  +  $(call Packages/vim/Default)
  +  TITLE+= (Normal)
  +endef
  +
  +define Package/vim-runtime
  +  $(call Packages/vim/Default)
  +  TITLE+= (runtime files)
  +endef
  +
  +define Package/vim-help
  +  $(call Packages/vim/Default)
  +  TITLE+= (help files)
  +endef
  +
  +define Package/vim-full/conffiles
  +/usr/share/vim/vimrc
  +endef
  +
  +define Package/vim/conffiles
  +/usr/share/vim/vimrc
  +endef
  +
   define Package/vim/description
  Vim is an almost compatible version of the UNIX editor Vi.
  +   (Tiny build)
   endef
 
  +define Package/vim-full/description
  +   Vim is an almost compatible version of the UNIX editor Vi.
  +   (Normal build)
  +endef
  +
  +define Package/vim-runtime/description
  +   Vim is an almost compatible version of the UNIX editor Vi.
  +   (Runtime files)
  +endef
  +
  +define Package/vim-help/description
  +   Vim is an almost compatible version of the UNIX editor Vi.
  +   (Help files)
  +endef
  +   
  +
   CONFIGURE_ARGS += \
  --disable-gui \
  --disable-gtktest \
  --disable-xim \
  -   --with-features=tiny \
  --without-x \
  --disable-multibyte \
  --disable-netbeans \
  @@ -45,11 +89,94 @@
  --disable-gpm \
  --with-tlib=ncurses
 
  -define Package/vim/install 
  +ifneq ($(CONFIG_PACKAGE_vim),)
  +define Build/Compile/vim
  +   $(call Build/Configure/Default, \
  + --with-features=tiny \
  +)
  +   $(MAKE) -C $(PKG_BUILD_DIR) clean
  +   $(MAKE) -C $(PKG_BUILD_DIR) \
  + DESTDIR=$(PKG_INSTALL_DIR) \
  + all
  +   $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_tiny
  +endef
  +endif
  +
  +ifneq ($(CONFIG_PACKAGE_vim-full),)
  +define Build/Compile/vim-full
  +   $(call Build/Configure/Default, \
  + --with-features=normal \
  +   )
  +   $(MAKE) -C $(PKG_BUILD_DIR) clean
  +   $(MAKE) -C $(PKG_BUILD_DIR) \
  + DESTDIR=$(PKG_INSTALL_DIR) \
  + all
  +   $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_normal
  +endef
  +endif
  +
  +define Build/Compile/vim-runtime
  +   $(MAKE) -C $(PKG_BUILD_DIR)/src DESTDIR=$(PKG_INSTALL_DIR) 
  installrtbase
  +   tar -czf $(PKG_BUILD_DIR)/docs.tgz 
  $(PKG_INSTALL_DIR)/usr/share/vim/vim*/doc
  +   rm -rf $(PKG_INSTALL_DIR)/usr/share/vim/vim*/doc
  +   rm -rf $(PKG_INSTALL_DIR)/usr/man
  +endef
  +
  +define Build/Configure
  +endef
  +
  +define Build/Compile
  +$(call Build/Compile/vim)
  +$(call Build/Compile/vim-full)
  +$(call Build/Compile/vim-runtime)
  +endef
  +
  +define Package/vim/install
  $(INSTALL_DIR) $(1)/usr/bin
  -   

Re: [OpenWrt-Devel] [patch] Add vim-full vim-runtime vim-doc targets

2008-05-08 Thread Travis Kemen
I think having a -doc package could be useful so that people that want the
documentation can simply install it.

Travis

On Thu, May 8, 2008 at 8:52 AM, [EMAIL PROTECTED] wrote:

 hi

 why do we need -doc as a package ?

 blogic






 Quoting Mark Kelly [EMAIL PROTECTED]:

  This patch is broken for me:
 
  Unpacking vim-full...Done.
  Configuring
 
 vim-full.../opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst:
 6: Syntax error: fi unexpected (expecting
  then)
  make[3]: ***
 
 [/opt/openwrt/k1/build_dir/armeb/root-ixp4xx/usr/lib/ipkg/info/vim-full.list]
 Error
  2
  make[3]: Leaving directory `/opt/openwrt/packages/utils/vim'
  make[2]: *** [package/vim/install] Error 2
  make[2]: Leaving directory `/opt/openwrt/k1'
  make[1]: *** [/opt/openwrt/k1/staging_dir/armeb/stamp/.package_install]
  Error 2
  make[1]: Leaving directory `/opt/openwrt/k1'
  make: *** [world] Error 2
 
 
 
 /opt/openwrt/k1/build_dir/armeb/root-ixp4xx//usr/lib/ipkg/info/vim-full.postinst
 should contain an extra THEN it appears, this patch fixes
  it.
  ?
  Signed-off-by: Mark Kelly mark . kelly at cadre5 . com
 
  Index: Makefile
  ===
  ---? utils/vim/ Makefile  (revision 11074)
  +++ utils/vim/Makefile(working copy)
  @@ -160,6 +160,7 @@
 if [ $${IPKG_INSTROOT} != / ]
 then
   if [ -d /usr/share/ ]
  +then
 ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
   fi
 fi
  @@ -170,6 +171,7 @@
 if [ $${IPKG_INSTROOT} != / ]
 then
   if [ -d /usr/share/ ]
  +then
 ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
   fi
 fi
 
 
 
 
 
  On Wed, 2008-05-07 at 19:49 -0500, Travis Kemen wrote:
 
  Michael wrote:
   Here is a patch that adds a vim-full (normal options)  target to
 vim... as
   well as split out vim-runtime and vim-doc.
   The vim-runtime could probably be split further into base/ syntax
but given
   that it requires 1.4 M vim-full I'm not too worried.
  
  
   Signed-off-by: Michael Geddes michael at frog.wheelycreek.net
  
   Index: utils/vim/Makefile
   ===
   --- utils/vim/Makefile (revision 10654)
   +++ utils/vim/Makefile (working copy)
   @@ -20,7 +20,7 @@
  
include $(INCLUDE_DIR)/package.mk
  
   -define Package/vim
   +define Package/vim/Default
  SECTION:=utils
  CATEGORY:=Utilities
  DEPENDS:=+libncurses
   @@ -29,15 +29,59 @@
  SUBMENU:=editors
endef
  
   +define Package/vim
   +  $(call Packages/vim/Default)
   +  TITLE+= (Tiny)
   +endef
   +
   +define Package/vim-full
   +  $(call Packages/vim/Default)
   +  TITLE+= (Normal)
   +endef
   +
   +define Package/vim-runtime
   +  $(call Packages/vim/Default)
   +  TITLE+= (runtime files)
   +endef
   +
   +define Package/vim-help
   +  $(call Packages/vim/Default)
   +  TITLE+= (help files)
   +endef
   +
   +define Package/vim-full/conffiles
   +/usr/share/vim/vimrc
   +endef
   +
   +define Package/vim/conffiles
   +/usr/share/vim/vimrc
   +endef
   +
define Package/vim/description
  Vim is an almost compatible version of the UNIX editor Vi.
   +  (Tiny build)
endef
  
   +define Package/vim-full/description
   +  Vim is an almost compatible version of the UNIX editor Vi.
   +  (Normal build)
   +endef
   +
   +define Package/vim-runtime/description
   +  Vim is an almost compatible version of the UNIX editor Vi.
   +  (Runtime files)
   +endef
   +
   +define Package/vim-help/description
   +  Vim is an almost compatible version of the UNIX editor Vi.
   +  (Help files)
   +endef
   +
   +
CONFIGURE_ARGS += \
  --disable-gui \
  --disable-gtktest \
  --disable-xim \
   -  --with-features=tiny \
  --without-x \
  --disable-multibyte \
  --disable-netbeans \
   @@ -45,11 +89,94 @@
  --disable-gpm \
  --with-tlib=ncurses
  
   -define Package/vim/install
   +ifneq ($(CONFIG_PACKAGE_vim),)
   +define Build/Compile/vim
   +  $(call Build/Configure/Default, \
   +--with-features=tiny \
   +   )
   +  $(MAKE) -C $(PKG_BUILD_DIR) clean
   +  $(MAKE) -C $(PKG_BUILD_DIR) \
   +DESTDIR=$(PKG_INSTALL_DIR) \
   +all
   +  $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_tiny
   +endef
   +endif
   +
   +ifneq ($(CONFIG_PACKAGE_vim-full),)
   +define Build/Compile/vim-full
   +  $(call Build/Configure/Default, \
   +--with-features=normal \
   +  )
   +  $(MAKE) -C $(PKG_BUILD_DIR) clean
   +  $(MAKE) -C $(PKG_BUILD_DIR) \
   +DESTDIR=$(PKG_INSTALL_DIR) \
   +all
   +  $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(PKG_BUILD_DIR)/vim_normal
   +endef
   +endif
   +
   +define Build/Compile/vim-runtime
   +  $(MAKE) -C $(PKG_BUILD_DIR)/src DESTDIR=$(PKG_INSTALL_DIR)
  installrtbase
   +  tar -czf $(PKG_BUILD_DIR)/docs.tgz
  $(PKG_INSTALL_DIR)/usr/share/vim/vim*/doc
   +  rm -rf 

[OpenWrt-Devel] Broadcom kernel 2.4 NLS support

2008-05-08 Thread Zintis
Revision states that Revision https://dev.openwrt.org/changeset/10712 adds
NLS support. I cant compile it. Can anyone help me? I that kernel does not
configures to compile NLS support. I'm trying to fix it but cant
understandhow to do it correctly. I' failingL

 

MoD

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [patch] Add vim-full vim-runtime vim-doc targets

2008-05-08 Thread Michael Geddes
APpologies for the bug in the post-inst scripts.

I've also discovered that the post-inst scripts don't work if you want to 
include this in the image (like I have).

You might want to remove the post-inst scripts.  There's a lot of pain for 
little gain.

About the docs  - If you've got the space vim is always better with its 
documentation.  However I decided that I would split the docs out 
so that you could choose to install or not to install.


//.ichael G
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Broadcom kernel 2.4 NLS support

2008-05-08 Thread Zintis
Revision https://dev.openwrt.org/changeset/10712 states that it adds NLS
support. I cant compile it. Can anyone help me? It seems that kernel .config
does not configures to compile NLS support - the values are somehov
overwritten. I'm trying to fix it but cant understand how to do it
correctly. I' failingL

 

MoD

 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel