Re: [OpenWrt-Devel] Global variables live across LuCI modules
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Nguyễn Hồng Quân, each request will make uhttpd fork off a new process with an isolated process space. Every memory you modify within there will get discarded once the process serving the request ends. However you can use luci.util.serialize_data() and luci.util.restore_data() to serialize arbitrarily nested structures and write them to the filesystem, e.g. into /tmp so that another module/process can load them from there. See http://luci.subsignal.org/api/luci/modules/luci.util.html#restore_data ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAqCmgACgkQdputYINPTPN+dACgoAFclMLbXNaSaPXHLLC7GZnG UMUAn3pLWAHTMpWZTQQhQKfXI1hROvUj =H9GP -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] iwinfo: add some Atheros cards
These are two Atheros modules we are using, just for the cosmetics to make them show up with the proper names in LuCI. Signed-off-by: Daniel Golle dgo...@allnet.de --- package/iwinfo/src/iwinfo_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/iwinfo/src/iwinfo_lib.c b/package/iwinfo/src/iwinfo_lib.c index 98bd1ec..b2fc6aa 100644 --- a/package/iwinfo/src/iwinfo_lib.c +++ b/package/iwinfo/src/iwinfo_lib.c @@ -346,6 +346,7 @@ const struct iwinfo_hardware_entry IWINFO_HARDWARE_ENTRIES[] = { { VENDOR_UBNT, XR5, 0x168c, 0x001b, 0x, 0x3005, 10, 0 }, { VENDOR_UBNT, XR7, 0x168c, 0x001b, 0x0777, 0x3007, 10, 0 }, { VENDOR_UBNT, XR9, 0x168c, 0x001b, 0x0777, 0x3009, 10, -1520 }, + { VENDOR_ATH, AR5413,0x168c, 0x001b, 0x168c, 0x2063, 0, 0 }, { VENDOR_UBNT, SRC, 0x168c, 0x0013, 0x168c, 0x1042, 1, 0 }, { VENDOR_UBNT, SR2, 0x168c, 0x0013, 0x0777, 0x2041, 10, 0 }, { VENDOR_UBNT, SR4, 0x168c, 0x0013, 0x0777, 0x2004, 6, 0 }, @@ -366,6 +367,7 @@ const struct iwinfo_hardware_entry IWINFO_HARDWARE_ENTRIES[] = { { VENDOR_ATH, AR9220,0x168c, 0x0029, 0x168c, 0xa094, 0, 0 }, { VENDOR_ATH, AR9223,0x168c, 0x0029, 0x168c, 0xa095, 0, 0 }, + { VENDOR_ATH, AR9285,0x168c, 0x002b, 0x168c, 0xa091, 0, 0 }, #endif { NULL } }; -- 1.7.11.4 pgpsIOM3ZvU8j.pgp Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] iwinfo: add some Atheros cards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Commited in r33186 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAqWZIACgkQdputYINPTPOI2wCfTvRN3sz+iIpE8ANyRZaNXzM4 az0AoJ9slbYhFWfZeXufe037cQzberhn =+esL -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] WMAC LED Problems
Peter, I believe 'led' should come after 'done'. If 'done' comes after 'led', something 'led' configured for so called status_led will be wiped and it is set to default-on by /etc/diag.sh done. Am I missing something? --- shinoda On 2012/08/03, at 0:21, Peter Naulls wrote: On 08/01/2012 09:03 PM, LEO Airwarosu Yoichi Shinoda wrote: On 2012/08/01, at 22:39, Peter Naulls wrote: The problem here is that the LED handling is done in the wrong order. I submitted a fix/patch(?) for this months ago, but it seems to have been ignored or lost. I can dig it out again - the fix is pretty simple. I would definitely would like to take a look at it. Ah yes: Index: base-files/files/etc/init.d/led === --- base-files/files/etc/init.d/led (revision 31054) +++ base-files/files/etc/init.d/led (working copy) @@ -1,7 +1,7 @@ #!/bin/sh /etc/rc.common # (C) 2008 openwrt.org -START=96 +START=94 load_led() { local name ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 08/16] [packages] add packaging for gupnp
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/gupnp/Makefile | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 libs/gupnp/Makefile diff --git a/libs/gupnp/Makefile b/libs/gupnp/Makefile new file mode 100644 index 000..53bd14c --- /dev/null +++ b/libs/gupnp/Makefile @@ -0,0 +1,71 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gupnp +PKG_VERSION:=0.18.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/ +PKG_SHA256SUM:=5920621de6386664ee759386514effa5e0544e40298245e4c67076d92715fba2 + +PKG_BUILD_DEPENDS:=libgnutls + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ +-Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/libgupnp + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Library for implementing both UPnP clients and services in C + URL:=http://www.gupnp.org/ + DEPENDS:=+libgssdp +libuuid +endef + +define Package/libgupnp/description +GUPnP is a library for implementing both UPnP clients and services in C, using +GObject and LibSoup. It allows for fully asynchronous use without using threads +and so cleanly integrates naturally into main-loop based applications, and +supports all of the UPnP features. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gupnp-1.0/libgupnp} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-1.0.{so*,la,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/gupnp-1.0/libgupnp/*.h \ + $(1)/usr/include/gupnp-1.0/libgupnp/ +endef + +define Package/libgupnp/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-1.0.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libgupnp)) + -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 09/16] [packages] add packaging for gupnp-av
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/gupnp-av/Makefile | 67 1 file changed, 67 insertions(+) create mode 100644 libs/gupnp-av/Makefile diff --git a/libs/gupnp-av/Makefile b/libs/gupnp-av/Makefile new file mode 100644 index 000..660842b --- /dev/null +++ b/libs/gupnp-av/Makefile @@ -0,0 +1,67 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gupnp-av +PKG_VERSION:=0.10.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/gupnp-av/0.10/ +PKG_SHA256SUM:=4863c9bcbfa2e9fcb215d43c8d1e4090fbd078f8ae65e45a3314e7f6d59a8cbf + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ +-Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/libgupnp-av + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Library for dealing with UPnP/AV profiles + URL:=http://www.gupnp.org/ + DEPENDS:=+libgupnp +endef + +define Package/libgupnp-av/description +GUPnP A/V is a small utility library that aims to ease the handling and +implementation of UPnP A/V profiles. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gupnp-av-1.0/libgupnp-av} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-av-1.0.{so*,la,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/gupnp-av-1.0/libgupnp-av/*.h \ + $(1)/usr/include/gupnp-av-1.0/libgupnp-av/ +endef + +define Package/libgupnp-av/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-av-1.0.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libgupnp-av)) + -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 10/16] [packages] add packaging for gupnp-dlna
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/gupnp-dlna/Makefile | 67 ++ 1 file changed, 67 insertions(+) create mode 100644 libs/gupnp-dlna/Makefile diff --git a/libs/gupnp-dlna/Makefile b/libs/gupnp-dlna/Makefile new file mode 100644 index 000..97c9ee2 --- /dev/null +++ b/libs/gupnp-dlna/Makefile @@ -0,0 +1,67 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gupnp-dlna +PKG_VERSION:=0.6.6 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gupnp-dlna/0.6/ +PKG_SHA256SUM:=82a1e75c398379567a5a5db9acd19bd01334b4f0053c8a166a77bc09bf0ca047 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/libgupnp-dlna + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Library for dealing with DLNA-related tasks + URL:=http://www.gupnp.org/ + DEPENDS:=+libgupnp +gstreamer +libgstpbutils +endef + +define Package/libgupnp-dlna/description +A small utility library that aims to ease the DLNA-related tasks such as media +profile guessing, transcoding to a given profile, etc. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gupnp-dlna-1.0/libgupnp-dlna} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-dlna-1.0.{so*,la,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/gupnp-dlna-1.0/libgupnp-dlna/*.h \ + $(1)/usr/include/gupnp-dlna-1.0/libgupnp-dlna/ +endef + +define Package/libgupnp-dlna/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgupnp-dlna-1.0.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libgupnp-dlna)) + -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 11/16] [packages] add packaging for vala
Signed-off-by: Andy Leiserson a...@leiserson.org --- lang/vala/Makefile | 71 1 file changed, 71 insertions(+) create mode 100644 lang/vala/Makefile diff --git a/lang/vala/Makefile b/lang/vala/Makefile new file mode 100644 index 000..d909634 --- /dev/null +++ b/lang/vala/Makefile @@ -0,0 +1,71 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=vala +PKG_VERSION:=0.16.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/vala/0.16/ +PKG_SHA256SUM:=3adb37aa2b35e2e2daed47552e85dbcbf752c0f7768b269d856993620073a657 + +PKG_BUILD_DEPENDS:=glib2/host vala/host +HOST_BUILD_DEPENDS:=glib2/host + +include $(INCLUDE_DIR)/host-build.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ +-Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/vala + SECTION:=lang + CATEGORY:=Languages + TITLE:=C-sharp like language for the GObject system + URL:=http://live.gnome.org/Vala +endef + +define Package/vala/description +Vala is a C-sharp like language for the GObject system. This package contains +the Vala-to-C compiler. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) \ + $(1)/usr/share/vala-0.16/vapi \ + $(1)/usr/lib \ + $(1)/usr/share/pkgconfig \ + $(1)/usr/bin + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/vala-0.16/vapi/* \ + $(1)/usr/share/vala-0.16/vapi + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/libvala-0.16.{so*,la} \ + $(1)/usr/lib + + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/{vala,vala-0.16,valac,valac-0.16,vapicheck,vapicheck-0.16,vapigen,vapigen-0.16,vala-gen-introspect,vala-gen-introspect-0.16} \ + $(1)/usr/bin + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/pkgconfig/*.pc \ + $(1)/usr/share/pkgconfig +endef + +$(eval $(call HostBuild)) +$(eval $(call BuildPackage,vala)) -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 12/16] [packages] add packaging for gupnp-vala
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/gupnp-vala/Makefile | 56 libs/gupnp-vala/patches/010-no-tests.patch | 11 ++ 2 files changed, 67 insertions(+) create mode 100644 libs/gupnp-vala/Makefile create mode 100644 libs/gupnp-vala/patches/010-no-tests.patch diff --git a/libs/gupnp-vala/Makefile b/libs/gupnp-vala/Makefile new file mode 100644 index 000..24efee8 --- /dev/null +++ b/libs/gupnp-vala/Makefile @@ -0,0 +1,56 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gupnp-vala +PKG_VERSION:=0.10.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gupnp-vala/0.10/ +PKG_SHA256SUM:=6d463c1c19786453dd06787e0829afa1e6f51421c91b769bac09be97cc54e9d4 + +PKG_BUILD_DEPENDS:=vala/host libgssdp libgupnp libgupnp-av libgupnp-dlna + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gupnp-vala + SECTION:=lang + CATEGORY:=Languages + TITLE:=GUPnP Vala bindings + URL:=http://live.gnome.org/GUPnP +endef + +define Package/gupnp-vala/description +Vala bindings for GUPnP +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DIR) $(1)/usr/share/vala/vapi + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/vala/vapi/*.{vapi,deps} \ + $(1)/usr/share/vala/vapi +endef + +$(eval $(call BuildPackage,gupnp-vala)) diff --git a/libs/gupnp-vala/patches/010-no-tests.patch b/libs/gupnp-vala/patches/010-no-tests.patch new file mode 100644 index 000..faf919e --- /dev/null +++ b/libs/gupnp-vala/patches/010-no-tests.patch @@ -0,0 +1,11 @@ +--- a/Makefile.am b/Makefile.am +@@ -2,7 +2,7 @@ + + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + +-SUBDIRS = . tests ++SUBDIRS = . + + pkgconfig_DATA= gupnp-vala-1.0.pc + pkgconfigdir = $(libdir)/pkgconfig -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 13/16] [packages] update gstreamer to 0.10.36
update gstreamer plugins packages. refresh patches the following plugins were removed from gst-plugins-bad: * audioparsersbad * invtelecine * mpeg4videoparse * qtmux * selector * valve Signed-off-by: Andy Leiserson a...@leiserson.org --- multimedia/gst-plugins-bad/Makefile| 32 .../gst-plugins-bad/patches/000-gettext.patch | 16 +- multimedia/gst-plugins-base/Makefile | 14 - .../gst-plugins-base/patches/001-no_docs.patch |2 +- .../gst-plugins-base/patches/002-no_tests.patch|4 +-- .../patches/003-no_translations.patch |6 ++-- multimedia/gst-plugins-good/Makefile | 18 ++- .../gst-plugins-good/patches/001-no_docs.patch |2 +- .../gst-plugins-good/patches/002-no_tests.patch|2 +- .../patches/003-no_translations.patch |4 +-- multimedia/gst-plugins-ugly/Makefile | 12 .../gst-plugins-ugly/patches/001-no_docs.patch | 10 +++--- .../gst-plugins-ugly/patches/002-no_tests.patch| 10 +++--- .../patches/003-no_translations.patch | 16 +- multimedia/gstreamer/Makefile |8 ++--- multimedia/gstreamer/patches/001-no_docs.patch |4 +-- multimedia/gstreamer/patches/002-no_tests.patch|4 +-- .../gstreamer/patches/003-no_translations.patch|6 ++-- 18 files changed, 81 insertions(+), 89 deletions(-) diff --git a/multimedia/gst-plugins-bad/Makefile b/multimedia/gst-plugins-bad/Makefile index 5c1b5df..3a81305 100644 --- a/multimedia/gst-plugins-bad/Makefile +++ b/multimedia/gst-plugins-bad/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 OpenWrt.org +# Copyright (C) 2011-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gst-plugins-bad -PKG_VERSION:=0.10.19 +PKG_VERSION:=0.10.23 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/ -PKG_MD5SUM:=368f72e2a1c7a6e8fe60394e4315259b +PKG_MD5SUM:=e4822fa2cc933768e2998311a1565979 PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil @@ -41,7 +41,7 @@ $(call Package/gstreamer/Default) DEPENDS+= $(GST_DEPENDS) endef -define Package/gts-plugins-bad/description +define Package/gst-plugins-bad/description $(call Package/gstreamer/description/Default) . This meta package contains only dependencies to the other plugins from @@ -196,17 +196,16 @@ endef $(eval $(call GstBuildPlugin,adpcmdec,adpcm decoding support,,,)) $(eval $(call GstBuildPlugin,adpcmenc,adpcm encoding support,,,)) -$(eval $(call GstBuildPlugin,aiff,aiff support,,,)) +$(eval $(call GstBuildPlugin,aiff,aiff support,tag,,)) $(eval $(call GstBuildPlugin,asfmux,asf muxing support,rtp,,)) -$(eval $(call GstBuildPlugin,audioparsersbad,audioparsers support,audio tag,,)) $(eval $(call GstBuildPlugin,autoconvert,autoconvert support,,,)) -$(eval $(call GstBuildPlugin,camerabin,camerabin support,interfaces photography,,)) +$(eval $(call GstBuildPlugin,camerabin,camerabin support,interfaces photography tag,,)) $(eval $(call GstBuildPlugin,legacyresample,legacyresample support,,,+liboil +librt)) $(eval $(call GstBuildPlugin,bayer,bayer support,video,,)) $(eval $(call GstBuildPlugin,cdxaparse,cdxaparse support,riff,,)) $(eval $(call GstBuildPlugin,dataurisrc,dataurisrc support,,,)) $(eval $(call GstBuildPlugin,dccp,dccp support,,,)) -$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,interfaces,,)) +$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,interfaces video,,)) $(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,)) $(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,)) $(eval $(call GstBuildPlugin,festival,festival support,audio,,)) @@ -215,14 +214,11 @@ $(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,)) $(eval $(call GstBuildPlugin,h264parse,h264parse support,,,)) $(eval $(call GstBuildPlugin,hdvparse,hdvparse support,,,)) $(eval $(call GstBuildPlugin,id3tag,id3tag support,tag,,)) -$(eval $(call GstBuildPlugin,invtelecine,invtelecine support,,,)) -$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag,,)) -#$(eval $(call GstBuildPlugin,librfbsrc,librfb support,,,)) +$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag interfaces,,)) $(eval $(call GstBuildPlugin,liveadder,liveadder support,audio,,)) $(eval $(call GstBuildPlugin,mpegdemux,mpegdemux support,tag,,+liboil +librt)) -$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,,,)) +$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,video,,)) $(eval $(call GstBuildPlugin,mpegpsmux,mpegpsmux support,,,)) -$(eval $(call
[OpenWrt-Devel] [PATCH 14/16] [packages] build the gstreamer faad plugin
Signed-off-by: Andy Leiserson a...@leiserson.org --- multimedia/gst-plugins-bad/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/gst-plugins-bad/Makefile b/multimedia/gst-plugins-bad/Makefile index 3a81305..dbe47db 100644 --- a/multimedia/gst-plugins-bad/Makefile +++ b/multimedia/gst-plugins-bad/Makefile @@ -77,7 +77,6 @@ CONFIGURE_ARGS += \ --disable-resindvd \ --disable-metadata \ --disable-faac \ - --disable-faad \ --disable-fbdev \ --disable-flite \ --disable-gsm \ @@ -208,6 +207,7 @@ $(eval $(call GstBuildPlugin,dccp,dccp support,,,)) $(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,interfaces video,,)) $(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,)) $(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,)) +$(eval $(call GstBuildPlugin,faad,faad support,audio,,+libfaad2)) $(eval $(call GstBuildPlugin,festival,festival support,audio,,)) $(eval $(call GstBuildPlugin,freeze,freeze support,,,)) $(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,)) -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 15/16] [packages] add configurable fixed point build for faad
Change the faad build to use fixed point math if emulated floating point is in use (based on CONFIG_SOFT_FLOAT). Adds a config option to force the use of floating point math. Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/faad2/Config.in | 12 libs/faad2/Makefile | 17 - 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 libs/faad2/Config.in diff --git a/libs/faad2/Config.in b/libs/faad2/Config.in new file mode 100644 index 000..0033676 --- /dev/null +++ b/libs/faad2/Config.in @@ -0,0 +1,12 @@ +config FAAD2_ALWAYS_USE_FLOATING_POINT + depends on PACKAGE_libfaad2 + bool Build FAAD2 to use floating-point math even if using soft floats. + default n + help + By default, libfaad2 will be built to use fixed point rather + than floating point math if emulated floating point operations + are being used. (See the CONFIG_SOFT_FLOAT option.) Set this + option if you would like to use floating point math regardless + of whether floating point emulation is in use. + + For the best real-time decoding ability, leave this option off. diff --git a/libs/faad2/Makefile b/libs/faad2/Makefile index 3505e66..025234e 100644 --- a/libs/faad2/Makefile +++ b/libs/faad2/Makefile @@ -9,12 +9,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=faad2 PKG_VERSION:=2.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/faac PKG_MD5SUM:=4c332fa23febc0e4648064685a3d4332 +PKG_CONFIG_DEPENDS := \ + CONFIG_SOFT_FLOAT \ + CONFIG_FAAD2_ALWAYS_USE_FLOATING_POINT + PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -22,6 +26,12 @@ include $(INCLUDE_DIR)/package.mk TARGET_CFLAGS += $(FPIC) +# Use fixed point math, if we're using soft floats, and the user didn't +# specifically ask to use floats anyways. +ifeq ($(CONFIG_SOFT_FLOAT)-$(CONFIG_FAAD2_ALWAYS_USE_FLOATING_POINT),y-) +TARGET_CFLAGS+= -DFIXED_POINT +endif + define Package/faad2/Default URL:=http://www.audiocoding.com/faad2.html TITLE:=Freeware Advanced Audio Decoder @@ -52,6 +62,11 @@ $(call Package/faad2/Default) CATEGORY:=Libraries TITLE+=library DEPENDS:=@BUILD_PATENTED + MENU:=1 +endef + +define Package/libfaad2/config + source $(SOURCE)/Config.in endef define Package/libfaad2/description -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 16/16] [packages] add packaging for rygel
Plugins other than playbin are untested. Rygel is normally run as a desktop service under a user account. It doesn't behave like a system daemon. Since running as a desktop service doesn't make sense for OpenWrt, I've included an init script and made a crude change to send the output to syslog. Signed-off-by: Andy Leiserson a...@leiserson.org --- multimedia/rygel/Makefile | 195 multimedia/rygel/files/etc/config/rygel|6 + multimedia/rygel/files/etc/init.d/rygel| 30 +++ multimedia/rygel/files/etc/rygel.conf |9 + .../rygel/patches/010-conftest-honor-cc.patch | 16 ++ .../patches/010-identify-libs-by-suffix.patch | 18 ++ .../patches/010-vapidirs-from-pkg-config.patch | 28 +++ .../rygel/patches/020-playbin-mime-types.patch | 10 + .../rygel/patches/030-output-to-syslog.patch | 35 9 files changed, 347 insertions(+) create mode 100644 multimedia/rygel/Makefile create mode 100644 multimedia/rygel/files/etc/config/rygel create mode 100755 multimedia/rygel/files/etc/init.d/rygel create mode 100644 multimedia/rygel/files/etc/rygel.conf create mode 100644 multimedia/rygel/patches/010-conftest-honor-cc.patch create mode 100644 multimedia/rygel/patches/010-identify-libs-by-suffix.patch create mode 100644 multimedia/rygel/patches/010-vapidirs-from-pkg-config.patch create mode 100644 multimedia/rygel/patches/020-playbin-mime-types.patch create mode 100644 multimedia/rygel/patches/030-output-to-syslog.patch diff --git a/multimedia/rygel/Makefile b/multimedia/rygel/Makefile new file mode 100644 index 000..ce9c4e7 --- /dev/null +++ b/multimedia/rygel/Makefile @@ -0,0 +1,195 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=rygel +PKG_VERSION:=0.14.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/rygel/0.14/ +PKG_SHA256SUM:=c4f79fb30bc1a062a2ffdadc7a55dd91fa58240302f152fb070d8c674b67 + +PKG_FIXUP:=autoreconf +PKG_BUILD_DEPENDS:=vala/host intltool/host vala gupnp-vala + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ +-Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/rygel/Default + SECTION:=multimedia + CATEGORY:=Multimedia + TITLE:=GNOME UPnP/DLNA services + URL:=http://live.gnome.org/Rygel +endef + +define Package/rygel/description/Default + Rygel is a collection of DLNA (UPnP AV) services (devices in UPnP speak), + implemented through a plug-in mechanism. +endef + +define Package/rygel +$(call Package/rygel/Default) + DEPENDS:=+libgssdp +libgupnp +libgupnp-av +libgupnp-dlna +libgee \ ++libsoup +gstreamer +libgstvideo +libgstpbutils +endef + +define Package/rygel/conffiles +/etc/config/rygel +endef + +define Package/rygel/description +$(call Package/rygel/description/Default) + . + This package contains the main rygel binary. +endef + +define RemoveValaStamps + find $(PKG_BUILD_DIR) -name *_vala.stamp | xargs rm -f +endef + +Hooks/Configure/Pre += RemoveValaStamps + +define Build/Configure + $(call Build/Configure/Default,--without-ui,) +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Package/rygel/install + $(INSTALL_DIR) $(1)/usr/bin + + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/rygel \ + $(1)/usr/bin + + $(INSTALL_DIR) $(1)/usr/share/rygel/xml + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/rygel/xml/*.xml \ + $(1)/usr/share/rygel/xml + + $(INSTALL_DIR) $(1)/etc + $(INSTALL_DATA) files/etc/rygel.conf $(1)/etc + + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) files/etc/init.d/rygel $(1)/etc/init.d/rygel + + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_CONF) files/etc/config/rygel $(1)/etc/config/rygel + + $(INSTALL_DIR) $(1)/usr/share/icons/hicolor/{32x32,48x48,128x128}/apps + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/32x32/apps/rygel.png \ + $(1)/usr/share/icons/hicolor/32x32/apps/rygel.png + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/48x48/apps/rygel.png \ + $(1)/usr/share/icons/hicolor/48x48/apps/rygel.png + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/128x128/apps/rygel.png \ + $(1)/usr/share/icons/hicolor/128x128/apps/rygel.png +endef + +# 1: plugin name as used in shared library filename +# 2: additional dependencies, if any +define RygelBuildPlugin + + define Package/rygel-$(1) +$(call Package/rygel/Default) +TITLE+= - $(1) plugin +DEPENDS:=+rygel $(2) +
[OpenWrt-Devel] [PATCH 05/16] [packages] update libsoup to version 2.38.1
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/libsoup/Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/libsoup/Makefile b/libs/libsoup/Makefile index 775e920..6d6ba20 100644 --- a/libs/libsoup/Makefile +++ b/libs/libsoup/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsoup -PKG_VERSION:=2.28.2 +PKG_VERSION:=2.38.1 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.28 -PKG_MD5SUM:=31d7ad416005eed4b78f07ac01b6b9f0 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.38 +PKG_SHA256SUM:=71b8923fc7a5fef9abc5420f7f3d666fdb589f43a8c50892d584d58b3c513f9a PKG_FIXUP:=autoreconf PKG_INSTALL:=1 -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 06/16] [packages] add libgee package
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/libgee/Makefile | 74 ++ 1 file changed, 74 insertions(+) create mode 100644 libs/libgee/Makefile diff --git a/libs/libgee/Makefile b/libs/libgee/Makefile new file mode 100644 index 000..80f98cf --- /dev/null +++ b/libs/libgee/Makefile @@ -0,0 +1,74 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libgee +PKG_VERSION:=0.6.4 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@GNOME/libgee/0.6/ +PKG_SHA256SUM:=55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665 + +PKG_BUILD_DEPENDS:=vala/host glib2 + +TARGET_LDFLAGS+=\ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/libgee + SECTION:=libs + CATEGORY:=Libraries + TITLE:=GObject based collection library + URL:=http://live.gnome.org/Libgee + DEPENDS:=+glib2 +endef + +define Package/libgee/description +libgee is a collection library providing GObject-based interfaces and classes +for commonly used data structures. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gee-1.0} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgee.{so*,la} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/gee-1.0/gee.h \ + $(1)/usr/include/gee-1.0/ + + $(INSTALL_DIR) $(1)/usr/share/vala/vapi + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/share/vala/vapi/gee-1.0.vapi \ + $(1)/usr/share/vala/vapi +endef + +define Package/libgee/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgee.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libgee)) -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 07/16] [packages] add packaging for gssdp
Signed-off-by: Andy Leiserson a...@leiserson.org --- libs/gssdp/Makefile | 68 +++ 1 file changed, 68 insertions(+) create mode 100644 libs/gssdp/Makefile diff --git a/libs/gssdp/Makefile b/libs/gssdp/Makefile new file mode 100644 index 000..7357003 --- /dev/null +++ b/libs/gssdp/Makefile @@ -0,0 +1,68 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gssdp +PKG_VERSION:=0.12.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.12/ +PKG_SHA256SUM:=16acb4cc5249836ebe0e1758b75b85b8d529b51f72d9f68d8e4ae524d55f3347 + +PKG_BUILD_DEPENDS:=libsoup glib2 $(ICONV_DEPENDS) + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +TARGET_LDFLAGS+=\ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Package/libgssdp + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Library for resource discovery and announcement over SSDP + URL:=http://www.gupnp.org/ + DEPENDS:=+libsoup +glib2 +endef + +define Package/libgssdp/description +A GObject-based API for doing SSDP (Simple Service Discovery Protocol) transparently. +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/gssdp-1.0/libgssdp} + + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgssdp-1.0.{so*,la,a} \ + $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/include/gssdp-1.0/libgssdp/*.h \ + $(1)/usr/include/gssdp-1.0/libgssdp/ +endef + +define Package/libgssdp/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/libgssdp-1.0.so* \ + $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libgssdp)) + -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 02/16] support finding /usr/share data using pkgconfig
Argh. Several of these patches got space-stuffed. They will apply if you pipe them through sed 's/^ / /'. Sorry for the trouble. I can resubmit them if needed but I'll wait for feedback first. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH} fix hard reset of alix/soekris hardware under heavy NIC load
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13.08.2012 18:14, Michael Markstaller wrote: On 11.08.2012 14:58, Adam Gensler wrote: I did go way back in trunk to try to find a working version and ended up back on 2.6.39.4 and it crashed there too. So I assume it's in older versions too. Thanks, I assume that too but were unable to reproduce it reliable so far; I'd definitely want to port this fix back (if it's existing in older kernel).. Do you have a method to reliable reproduce this problem without Smartbits (having none)? Which resulting packet-size did you send, 64byte UDP-payload without Eth/IP/UDP-headers or less? Omit this question, just for the logs: it's reproduceable with pktgen using 60(64) byte on wire with any Alix under Debian 2.6.32 also :( What a mess.. Thanks again for pointing at.. Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAq0qMACgkQaWRHV2kMuAIjVwCfd5aKNL3tc+4CYxDETQaAakGJ vZ4An2a5GaCrVOuAjE2i/DLl+0ANMzzs =tsEh -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel