[OpenWrt-Devel] [PATCH] mac80211: iwlagn include firmware for 7260 cards
This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn. Signed-off-by: Matthew Reeve --- package/kernel/mac80211/Makefile2014-03-08 04:28:54.587641441 + +++ package/kernel/mac80211/Makefile2014-03-08 04:32:02.535645305 + @@ -833,6 +833,13 @@ define KernelPackage/iwlagn/config Download and install firmware for: Intel Centrino Advanced-N 6230, Wireless-N 1030, Wireless-N 130 and Advanced-N 6235 + config IWL7260_FW + bool "Intel 7260 Firmware" + default y + help + Download and install firmware for: + Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 + config IWL100_FW bool "Intel 100 Firmware" default y @@ -1704,6 +1711,9 @@ endif ifneq ($(CONFIG_IWL6030_FW),) $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware endif +ifneq ($(CONFIG_IWL7260_FW),) + $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-7.ucode $(1)/lib/firmware +endif ifneq ($(CONFIG_IWL100_FW),) $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware endif ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Correct use of basic_rate parameter for ath9k / 802.11n?
Thanks for the clarification. The basic rates vs. supported rates were a bit ambiguous to me. My underlying motivation was to disable lower 2.4GHz bitrates, i.e. 1 through 5.5Mbit/s, to conserve airtime. Is such a hotplug script nevertheless the best to disable such low rates? (Or likewise any patch to allow specification of supported rates via UCI?) On Fri, Mar 7, 2014 at 12:24 PM, Felix Fietkau wrote: > On 2014-03-04 18:20, Ben West wrote: > > To follow up, here it seems that setting the basic_rate option in > > /etc/config/wireless under AA r39154 has no effect on the rate mask, at > > least when queried via > > /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/rc_rateidx_mask_2ghz > > > > As a work-around, I'm using this hotplug script in /etc/hotplug.d/iface > > to disable the slower legacy 2.4GHz rates: > > > > #!/bin/sh > > > > . /lib/functions.sh > > . /lib/functions/network.sh > > > > # Disable legacy 2.4GHz low bitrates > > if [ ifup = "$ACTION" ]; then > > case "$DEVICE" in > > wlan*) > > logger setting bitrate for device "$DEVICE" on interface > > "$INTERFACE" > > iw "$DEVICE" set bitrates legacy-2.4 6 9 11 12 18 24 36 48 54 > > ;; > > br-*) > > #Bridged interfage, check if any wifi interface is member > > for i in $(ls /sys/class/net/$DEVICE/brif); do > > case "$i" in > > wlan*) > > logger setting bitrate for device "$i" on > > interface "$INTERFACE" > > iw "$i" set bitrates legacy-2.4 6 9 11 12 18 24 > > 36 48 54 > > ;; > > esac > > done > > ;; > > esac > > fi > > > > Should values specified as basic_rate appear in the wifi interface's > > rate mask? > No, the set of basic rates is different from the set of supported (or > used) rates - basic rates are considered mandatory, but do not describe > the entire rate set. > Feel free to send a patch to allow configuring supported rates. > > - Felix > -- Ben West http://gowasabi.net b...@gowasabi.net 314-246-9434 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 004/005] [packages] gst1-plugins-bad: Add a new gst1-plugins-bad package
>From ff2e304c49fc5efc549558f3c958ed439c1d942f Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:39 -0500 Subject: [PATCH 5/6] Bad plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-bad/Makefile | 253 + .../gst1-plugins-bad/patches/000-gettext.patch | 45 2 files changed, 298 insertions(+) create mode 100644 multimedia/gst1-plugins-bad/Makefile create mode 100644 multimedia/gst1-plugins-bad/patches/000-gettext.patch diff --git a/multimedia/gst1-plugins-bad/Makefile b/multimedia/gst1-plugins-bad/Makefile new file mode 100644 index 000..b82b1dd --- /dev/null +++ b/multimedia/gst1-plugins-bad/Makefile @@ -0,0 +1,253 @@ +# +# Copyright (C) 2011 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:=gst1-plugins-bad +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/ +PKG_MD5SUM:=cfd6f303c8df2740b27cc63b945decef + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-bad +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (bad) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts1-plugins-bad/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the bad plugins collection. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + --disable-nls \ + \ + --disable-directsound \ + --disable-directdraw \ + --disable-osx_video \ + --disable-quicktime \ + --disable-vcd \ + --disable-alsa \ + --disable-assrender \ + --disable-amrwb \ + --disable-apexsink \ + --disable-bz2 \ + --disable-cdaudio \ + --disable-celt \ + --disable-cog \ + --disable-dc1394 \ + --disable-directfb \ + --disable-dirac \ + --disable-dts \ + --disable-divx \ + --disable-resindvd \ + --disable-metadata \ + --disable-faac \ + --disable-faad \ + --disable-fbdev \ + --disable-flite \ + --disable-gsm \ + --disable-jack \ + --disable-jp2k \ + --disable-kate \ + --disable-ladspa \ + --disable-lv2 \ + --disable-modplug \ + --disable-mimic \ + --disable-libmms \ + --disable-mpeg2enc \ + --disable-mplex \ + --disable-musepack \ + --disable-musicbrainz \ + --disable-mythtv \ + --disable-nas \ + --disable-neon \ + --disable-ofa \ + --disable-rsvg \ + --disable-timidity \ + --disable-wildmidi \ + --disable-sdl \ + --disable-sdltest \ + --disable-sndfile \ + --disable-soundtouch \ + --disable-spc \ + --disable-gme \ + --disable-swfdec \ + --disable-theoradec \ + --disable-xvid \ + --disable-dvb \ + --disable-wininet \ + --disable-acm \ + --disable-vdpau \ + --disable-schro \ + --disable-zbar \ + --disable-vp8 \ + --disable-librfb \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-ugly/install + /bin/true +endef + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other packages +define GstBuildLibrary + + GST_DEPENDS += +libgst1$(1) + + define Package/libgst1$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) library (base) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4) + endef + + define Package/libgst1$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) library. + endef + + define Package/libgst1$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \ + $$(1)/usr/lib/ \ + ) + endef + + $$(eval $$(call BuildPackage,libgst1$(1))) +endef +$(eval $(call GstBuildLibrary,photography,photography,,)) + + +# 1: short name +# 2: description +# 3: dependencies on other gstr
[OpenWrt-Devel] [PATCH 005/005] [packages] gst1-plugins-ugly: Add a new gst1-plugins-ugly package
>From 4648b73df7eff02ff7f8633b06bb4a48bb172d9b Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:56 -0500 Subject: [PATCH 6/6] Ugly plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-ugly/Makefile | 135 + .../gst1-plugins-ugly/patches/001-no_docs.patch| 24 .../gst1-plugins-ugly/patches/002-no_tests.patch | 24 .../patches/003-no_translations.patch | 35 ++ 4 files changed, 218 insertions(+) create mode 100644 multimedia/gst1-plugins-ugly/Makefile create mode 100644 multimedia/gst1-plugins-ugly/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-ugly/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-ugly/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-ugly/Makefile b/multimedia/gst1-plugins-ugly/Makefile new file mode 100644 index 000..dd75e66 --- /dev/null +++ b/multimedia/gst1-plugins-ugly/Makefile @@ -0,0 +1,135 @@ +# +# Copyright (C) 2009-2011 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:=gst1-plugins-ugly +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/ +PKG_MD5SUM:=7ae60e2f759f58f32af5fcdc3c9193c4 + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_gst1-mod-asf \ + CONFIG_PACKAGE_gst1-mod-lame \ + CONFIG_PACKAGE_gst1-mod-mad \ + CONFIG_PACKAGE_gst1-mod-mpeg2dec \ + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-ugly +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (ugly) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts-plugins-ugly/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the ugly plugins collection. +endef + + +GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1)) + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + --disable-a52dec \ + --disable-amrnb \ + --disable-amrwb \ + $(call GST_COND_SELECT,asf) \ + --disable-cdio \ + --disable-dvdlpcmdec \ + --disable-dvdread \ + --disable-dvdsub \ + --disable-iec958 \ + $(call GST_COND_SELECT,lame) \ + $(call GST_COND_SELECT,mad) \ + $(call GST_COND_SELECT,mpeg2dec) \ + --disable-mpegaudioparse \ + --disable-mpegstream \ + --disable-realmedia \ + --disable-sidplay \ + --disable-synaesthesia \ + --disable-twolame \ + --disable-x264 \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-ugly/install + /bin/true +endef + + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other gstreamer plugins (short name) +# 5: dependencies on other packages +define GstBuildPlugin + + GST_DEPENDS += +gst1-mod-$(1) + + define Package/gst1-mod-$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) plugin (ugly) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5) + endef + + define Package/gst1-mod-$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) plugin. + endef + + define Package/gst1-mod-$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \ + $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + endef + + $$(eval $$(call BuildPackage,gst1-mod-$(1))) +endef + +$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,)) +$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib)) +$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag +libmad)) +$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2)) + +$(eval $(call BuildPackage,gst1-plugins-ugly)) diff --git a/multimedia/gst1-plugins-ugly/patches/001-no_docs.patch b/multimedia/gst1-plugins-
[OpenWrt-Devel] [PATCH 003/005] [packages] gst1-plugins-good: Add a new gst1-plugins-good package
>From f45f723f81bfa889556526f0a5c0ce7ae5ff10b3 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:17 -0500 Subject: [PATCH 4/6] Good plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-good/Makefile | 175 + .../gst1-plugins-good/patches/001-no_docs.patch| 22 +++ .../gst1-plugins-good/patches/002-no_tests.patch | 22 +++ .../patches/003-no_translations.patch | 33 4 files changed, 252 insertions(+) create mode 100644 multimedia/gst1-plugins-good/Makefile create mode 100644 multimedia/gst1-plugins-good/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-good/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-good/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-good/Makefile b/multimedia/gst1-plugins-good/Makefile new file mode 100644 index 000..e3a560a --- /dev/null +++ b/multimedia/gst1-plugins-good/Makefile @@ -0,0 +1,175 @@ +## Copyright (C) 2009-2011 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:=gst1-plugins-good +PKG_VERSION:=1.0.7 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/ +PKG_MD5SUM:=e4b1c825475a9b478fe29e8e9f34516f + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-good +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (good) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts-plugins-good/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the good plugins collection. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + --disable-aalib \ + --disable-alpha \ + --disable-annodex \ + --disable-apetag \ + --disable-auparse \ + --disable-avi \ + --disable-bz2 \ + --disable-cairo \ + --disable-directsound \ + --disable-dv1394 \ + --disable-effectv \ + --disable-esd \ + --disable-flv \ + --disable-flx \ + --disable-gconf \ + --disable-gconftool \ + --disable-gdk_pixbuf \ + --disable-goom \ + --disable-goom2k1 \ + --disable-gst_v4l2 \ + --disable-hal \ + --disable-jpeg \ + --disable-law \ + --disable-libcaca \ + --disable-libdv \ + --disable-libpng \ + --disable-matroska \ + --disable-monoscope \ + --disable-osx_audio \ + --disable-osx_video \ + --disable-pulse \ + --disable-qtdemux \ + --disable-rtspmanager \ + --disable-smpte \ + --disable-shout2 \ + --disable-speex \ + --disable-sunaudio \ + --disable-taglib \ + --disable-videobox \ + --disable-videocrop \ + --disable-videofilter \ + --disable-videomixer \ + --disable-wavpack \ + --disable-x \ + --disable-xshm \ + --disable-xvideo \ + --disable-y4m \ + --disable-zlib \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-good/install + /bin/true +endef + + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other gstreamer plugins (short name) +# 5: dependencies on other packages +define GstBuildPlugin + + GST_DEPENDS += +gst1-mod-$(1) + + define Package/gst1-mod-$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) plugin (good) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5) + endef + + define Package/gst1-mod-$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) plugin. + endef + + define Package/gst1-mod-$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \ + $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + endef + + $$(eval $$(call BuildPackage,gst1-mod-$(1))) +endef + +$(eval $(c
[OpenWrt-Devel] [PATCH 002/005] [packages] gst1-plugins-base: Add a new gst1-plugins-base package
>From 4454a29846b8c580dc380b108cfa8e48a13ff67a Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 21:58:27 -0500 Subject: [PATCH 3/6] Add base plugins for GStreamer 1.0 To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-base/Makefile | 237 + .../gst1-plugins-base/patches/001-no_docs.patch| 36 .../gst1-plugins-base/patches/002-no_tests.patch | 38 .../patches/003-no_translations.patch | 49 + 4 files changed, 360 insertions(+) create mode 100644 multimedia/gst1-plugins-base/Makefile create mode 100644 multimedia/gst1-plugins-base/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-base/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-base/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-base/Makefile b/multimedia/gst1-plugins-base/Makefile new file mode 100644 index 000..00d9b3e --- /dev/null +++ b/multimedia/gst1-plugins-base/Makefile @@ -0,0 +1,237 @@ +# +# Copyright (C) 2008-2011 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:=gst1-plugins-base +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/ +PKG_MD5SUM:=17aeabfbcd232526f50c9bee375f1b97 + +PKG_BUILD_DEPENDS:= gstreamer1 liboil +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_gst1-mod-alsa \ + CONFIG_PACKAGE_gst1-mod-app \ + CONFIG_PACKAGE_gst1-mod-audioconvert \ + CONFIG_PACKAGE_gst1-mod-audiorate \ + CONFIG_PACKAGE_gst1-mod-audioresample \ + CONFIG_PACKAGE_gst1-mod-audiotestsrc \ + CONFIG_PACKAGE_gst1-mod-gio \ + CONFIG_PACKAGE_gst1-mod-ogg \ + CONFIG_PACKAGE_gst1-mod-tcp \ + CONFIG_PACKAGE_gst1-mod-theora \ + CONFIG_PACKAGE_gst1-mod-videotestsrc \ + CONFIG_PACKAGE_gst1-mod-volume \ + CONFIG_PACKAGE_gst1-mod-vorbis \ + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +# -liconv crept in from pkg-config, to be revisited later +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-base +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (base) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts1-plugins-base/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other libraries and + plugins from the base plugins collection. +endef + + +GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1)) + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + $(call GST_COND_SELECT,alsa) \ + --disable-alsa-test \ + $(call GST_COND_SELECT,app) \ + $(call GST_COND_SELECT,audioconvert) \ + $(call GST_COND_SELECT,audiorate) \ + $(call GST_COND_SELECT,audioresample) \ + $(call GST_COND_SELECT,audiotestsrc) \ + --disable-cdparanoia \ + --disable-ffmpegcolorspace \ + --disable-freetypetest \ + $(call GST_COND_SELECT,gio) \ + --disable-gnome_vfs \ + --disable-gst_v4l \ + --disable-libvisual \ + $(call GST_COND_SELECT,ogg) \ + --disable-oggtest \ + --disable-pango \ + --disable-subparse \ + $(call GST_COND_SELECT,tcp) \ + $(call GST_COND_SELECT,theora) \ + --disable-videorate \ + --disable-videoscale \ + $(call GST_COND_SELECT,videotestsrc) \ + $(call GST_COND_SELECT,volume) \ + $(call GST_COND_SELECT,vorbis) \ + --disable-vorbistest \ + --disable-x \ + --disable-xshm \ + --disable-xvideo \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + \ + --with-audioresample-format=int \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/include/gstreamer-$(GST_VERSION)/* \ + $(1)/usr/include/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst*-$(GST_VERSION).{la,so*} \ + $(1)/usr/lib/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR);
[OpenWrt-Devel] [PATCH 001/005] [packages] gstreamer1: Add a new gstreamer1 package
>From 42ce62f764ec046620fbdc2120f1891a22dd966b Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 21:57:00 -0500 Subject: [PATCH 2/6] Many applications are starting to require GStreamer 1.0, which is API-incompatible with GStreamer 0.10. The name gstreamer1 allows GStreamer 0.10 and 1.0 to coexist, in a manner similar to gtk1 and gtk2. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gstreamer1/Makefile | 189 + multimedia/gstreamer1/patches/001-no_docs.patch| 37 multimedia/gstreamer1/patches/002-no_tests.patch | 39 + .../gstreamer1/patches/003-no_translations.patch | 48 ++ 4 files changed, 313 insertions(+) create mode 100644 multimedia/gstreamer1/Makefile create mode 100644 multimedia/gstreamer1/patches/001-no_docs.patch create mode 100644 multimedia/gstreamer1/patches/002-no_tests.patch create mode 100644 multimedia/gstreamer1/patches/003-no_translations.patch diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile new file mode 100644 index 000..d410960 --- /dev/null +++ b/multimedia/gstreamer1/Makefile @@ -0,0 +1,189 @@ +# +# Copyright (C) 2008-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:=gstreamer1 +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION) +PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/ +PKG_MD5SUM:=8155b9c7574ccaa361cc504e8e0e72dc + +PKG_FIXUP:=autoreconf +PKG_REMOVE_FILES:=autogen.sh aclocal.m4 + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gstreamer1 +$(call Package/gstreamer1/Default) + TITLE+= framework + DEPENDS+= +libgstreamer1 \ + +libgst1check \ + +libgst1controller \ + +libgst1net +endef + +define Package/gstreamer1/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies on the other GStreamer + componenents. +endef + + +define Package/gstreamer1-utils +$(call Package/gstreamer1/Default) + TITLE+= utilities + DEPENDS+= +libgstreamer1 +endef + +define Package/gstreamer1-utils/description +$(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer utilities. +endef + + +define Package/libgstreamer1 +$(call Package/gstreamer1/Default) + TITLE+= library (core) + DEPENDS+= +glib2 +libpthread +libxml2 +endef + +define Package/libgstreamer1/description +$(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer core library. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --enable-static \ + --disable-examples \ + --disable-tests \ + --disable-valgrind \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/include/gstreamer-$(GST_VERSION)/* \ + $(1)/usr/include/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \ + $(1)/usr/lib/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \ + $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \ + $(1)/usr/lib/pkgconfig/ \ + ) + $(INSTALL_DIR) $(2)/share/aclocal + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/share/aclocal/* \ + $(2)/share/aclocal/ \ + ) +endef + +define Package/gstreamer1/install + /bin/true +endef + +define Package/gstreamer1-utils/install + $(INSTALL_DIR) $(1)/usr/bin + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/bin/gst-launch* \ + ./usr/bin/gst-inspect* \ + ./usr/bin/gst-typefind* \ + $(1)/usr/bin/ \ + ) +endef + +define Package/libgstreamer1/install + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgstbase-$(GST_VERSION)
[OpenWrt-Devel] (no subject)
>From 42ce62f764ec046620fbdc2120f1891a22dd966b Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 21:57:00 -0500 Subject: [PATCH 2/6] Many applications are starting to require GStreamer 1.0, which is API-incompatible with GStreamer 0.10. The name gstreamer1 allows GStreamer 0.10 and 1.0 to coexist, in a manner similar to gtk1 and gtk2. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gstreamer1/Makefile | 189 + multimedia/gstreamer1/patches/001-no_docs.patch| 37 multimedia/gstreamer1/patches/002-no_tests.patch | 39 + .../gstreamer1/patches/003-no_translations.patch | 48 ++ 4 files changed, 313 insertions(+) create mode 100644 multimedia/gstreamer1/Makefile create mode 100644 multimedia/gstreamer1/patches/001-no_docs.patch create mode 100644 multimedia/gstreamer1/patches/002-no_tests.patch create mode 100644 multimedia/gstreamer1/patches/003-no_translations.patch diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile new file mode 100644 index 000..d410960 --- /dev/null +++ b/multimedia/gstreamer1/Makefile @@ -0,0 +1,189 @@ +# +# Copyright (C) 2008-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:=gstreamer1 +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION) +PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/ +PKG_MD5SUM:=8155b9c7574ccaa361cc504e8e0e72dc + +PKG_FIXUP:=autoreconf +PKG_REMOVE_FILES:=autogen.sh aclocal.m4 + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gstreamer1 +$(call Package/gstreamer1/Default) + TITLE+= framework + DEPENDS+= +libgstreamer1 \ + +libgst1check \ + +libgst1controller \ + +libgst1net +endef + +define Package/gstreamer1/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies on the other GStreamer + componenents. +endef + + +define Package/gstreamer1-utils +$(call Package/gstreamer1/Default) + TITLE+= utilities + DEPENDS+= +libgstreamer1 +endef + +define Package/gstreamer1-utils/description +$(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer utilities. +endef + + +define Package/libgstreamer1 +$(call Package/gstreamer1/Default) + TITLE+= library (core) + DEPENDS+= +glib2 +libpthread +libxml2 +endef + +define Package/libgstreamer1/description +$(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer core library. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --enable-static \ + --disable-examples \ + --disable-tests \ + --disable-valgrind \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/include/gstreamer-$(GST_VERSION)/* \ + $(1)/usr/include/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \ + $(1)/usr/lib/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \ + $(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \ + $(1)/usr/lib/pkgconfig/ \ + ) + $(INSTALL_DIR) $(2)/share/aclocal + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/share/aclocal/* \ + $(2)/share/aclocal/ \ + ) +endef + +define Package/gstreamer1/install + /bin/true +endef + +define Package/gstreamer1-utils/install + $(INSTALL_DIR) $(1)/usr/bin + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/bin/gst-launch* \ + ./usr/bin/gst-inspect* \ + ./usr/bin/gst-typefind* \ + $(1)/usr/bin/ \ + ) +endef + +define Package/libgstreamer1/install + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgstbase-$(GST_VERSION)
[OpenWrt-Devel] (no subject)
>From ff2e304c49fc5efc549558f3c958ed439c1d942f Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:39 -0500 Subject: [PATCH 5/6] Bad plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-bad/Makefile | 253 + .../gst1-plugins-bad/patches/000-gettext.patch | 45 2 files changed, 298 insertions(+) create mode 100644 multimedia/gst1-plugins-bad/Makefile create mode 100644 multimedia/gst1-plugins-bad/patches/000-gettext.patch diff --git a/multimedia/gst1-plugins-bad/Makefile b/multimedia/gst1-plugins-bad/Makefile new file mode 100644 index 000..b82b1dd --- /dev/null +++ b/multimedia/gst1-plugins-bad/Makefile @@ -0,0 +1,253 @@ +# +# Copyright (C) 2011 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:=gst1-plugins-bad +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/ +PKG_MD5SUM:=cfd6f303c8df2740b27cc63b945decef + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-bad +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (bad) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts1-plugins-bad/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the bad plugins collection. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + --disable-nls \ + \ + --disable-directsound \ + --disable-directdraw \ + --disable-osx_video \ + --disable-quicktime \ + --disable-vcd \ + --disable-alsa \ + --disable-assrender \ + --disable-amrwb \ + --disable-apexsink \ + --disable-bz2 \ + --disable-cdaudio \ + --disable-celt \ + --disable-cog \ + --disable-dc1394 \ + --disable-directfb \ + --disable-dirac \ + --disable-dts \ + --disable-divx \ + --disable-resindvd \ + --disable-metadata \ + --disable-faac \ + --disable-faad \ + --disable-fbdev \ + --disable-flite \ + --disable-gsm \ + --disable-jack \ + --disable-jp2k \ + --disable-kate \ + --disable-ladspa \ + --disable-lv2 \ + --disable-modplug \ + --disable-mimic \ + --disable-libmms \ + --disable-mpeg2enc \ + --disable-mplex \ + --disable-musepack \ + --disable-musicbrainz \ + --disable-mythtv \ + --disable-nas \ + --disable-neon \ + --disable-ofa \ + --disable-rsvg \ + --disable-timidity \ + --disable-wildmidi \ + --disable-sdl \ + --disable-sdltest \ + --disable-sndfile \ + --disable-soundtouch \ + --disable-spc \ + --disable-gme \ + --disable-swfdec \ + --disable-theoradec \ + --disable-xvid \ + --disable-dvb \ + --disable-wininet \ + --disable-acm \ + --disable-vdpau \ + --disable-schro \ + --disable-zbar \ + --disable-vp8 \ + --disable-librfb \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-ugly/install + /bin/true +endef + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other packages +define GstBuildLibrary + + GST_DEPENDS += +libgst1$(1) + + define Package/libgst1$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) library (base) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4) + endef + + define Package/libgst1$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) library. + endef + + define Package/libgst1$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst$(1)-$(GST_VERSION).so.* \ + $$(1)/usr/lib/ \ + ) + endef + + $$(eval $$(call BuildPackage,libgst1$(1))) +endef +$(eval $(call GstBuildLibrary,photography,photography,,)) + + +# 1: short name +# 2: description +# 3: dependencies on other gstr
[OpenWrt-Devel] (no subject)
>From 0e3d0fc4fef035b210250d927640e677f1f4bf88 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 21:56:14 -0500 Subject: [PATCH 1/6] Fix build of glib2 on Fedora 20 To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- libs/glib2/Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index 978e816..9c69ee6 100644 --- a/libs/glib2/Makefile +++ b/libs/glib2/Makefile @@ -57,6 +57,13 @@ define Build/Configure ); endef +# Fix build on Fedora 20. +define Host/Configure + $(call Host/Configure/Default, \ + --disable-selinux \ + ); +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) \ -- 1.8.5.3 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] (no subject)
>From 4648b73df7eff02ff7f8633b06bb4a48bb172d9b Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:56 -0500 Subject: [PATCH 6/6] Ugly plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-ugly/Makefile | 135 + .../gst1-plugins-ugly/patches/001-no_docs.patch| 24 .../gst1-plugins-ugly/patches/002-no_tests.patch | 24 .../patches/003-no_translations.patch | 35 ++ 4 files changed, 218 insertions(+) create mode 100644 multimedia/gst1-plugins-ugly/Makefile create mode 100644 multimedia/gst1-plugins-ugly/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-ugly/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-ugly/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-ugly/Makefile b/multimedia/gst1-plugins-ugly/Makefile new file mode 100644 index 000..dd75e66 --- /dev/null +++ b/multimedia/gst1-plugins-ugly/Makefile @@ -0,0 +1,135 @@ +# +# Copyright (C) 2009-2011 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:=gst1-plugins-ugly +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/ +PKG_MD5SUM:=7ae60e2f759f58f32af5fcdc3c9193c4 + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_gst1-mod-asf \ + CONFIG_PACKAGE_gst1-mod-lame \ + CONFIG_PACKAGE_gst1-mod-mad \ + CONFIG_PACKAGE_gst1-mod-mpeg2dec \ + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-ugly +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (ugly) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts-plugins-ugly/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the ugly plugins collection. +endef + + +GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1)) + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + --disable-a52dec \ + --disable-amrnb \ + --disable-amrwb \ + $(call GST_COND_SELECT,asf) \ + --disable-cdio \ + --disable-dvdlpcmdec \ + --disable-dvdread \ + --disable-dvdsub \ + --disable-iec958 \ + $(call GST_COND_SELECT,lame) \ + $(call GST_COND_SELECT,mad) \ + $(call GST_COND_SELECT,mpeg2dec) \ + --disable-mpegaudioparse \ + --disable-mpegstream \ + --disable-realmedia \ + --disable-sidplay \ + --disable-synaesthesia \ + --disable-twolame \ + --disable-x264 \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-ugly/install + /bin/true +endef + + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other gstreamer plugins (short name) +# 5: dependencies on other packages +define GstBuildPlugin + + GST_DEPENDS += +gst1-mod-$(1) + + define Package/gst1-mod-$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) plugin (ugly) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5) + endef + + define Package/gst1-mod-$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) plugin. + endef + + define Package/gst1-mod-$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \ + $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + endef + + $$(eval $$(call BuildPackage,gst1-mod-$(1))) +endef + +$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,)) +$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib)) +$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag +libmad)) +$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2)) + +$(eval $(call BuildPackage,gst1-plugins-ugly)) diff --git a/multimedia/gst1-plugins-ugly/patches/001-no_docs.patch b/multimedia/gst1-plugins-
[OpenWrt-Devel] (no subject)
>From f45f723f81bfa889556526f0a5c0ce7ae5ff10b3 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 22:34:17 -0500 Subject: [PATCH 4/6] Good plugins for GStreamer 1.0. To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-good/Makefile | 175 + .../gst1-plugins-good/patches/001-no_docs.patch| 22 +++ .../gst1-plugins-good/patches/002-no_tests.patch | 22 +++ .../patches/003-no_translations.patch | 33 4 files changed, 252 insertions(+) create mode 100644 multimedia/gst1-plugins-good/Makefile create mode 100644 multimedia/gst1-plugins-good/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-good/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-good/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-good/Makefile b/multimedia/gst1-plugins-good/Makefile new file mode 100644 index 000..e3a560a --- /dev/null +++ b/multimedia/gst1-plugins-good/Makefile @@ -0,0 +1,175 @@ +## Copyright (C) 2009-2011 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:=gst1-plugins-good +PKG_VERSION:=1.0.7 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/ +PKG_MD5SUM:=e4b1c825475a9b478fe29e8e9f34516f + +PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-good +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (good) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts-plugins-good/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other plugins from + the good plugins collection. +endef + + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + --disable-aalib \ + --disable-alpha \ + --disable-annodex \ + --disable-apetag \ + --disable-auparse \ + --disable-avi \ + --disable-bz2 \ + --disable-cairo \ + --disable-directsound \ + --disable-dv1394 \ + --disable-effectv \ + --disable-esd \ + --disable-flv \ + --disable-flx \ + --disable-gconf \ + --disable-gconftool \ + --disable-gdk_pixbuf \ + --disable-goom \ + --disable-goom2k1 \ + --disable-gst_v4l2 \ + --disable-hal \ + --disable-jpeg \ + --disable-law \ + --disable-libcaca \ + --disable-libdv \ + --disable-libpng \ + --disable-matroska \ + --disable-monoscope \ + --disable-osx_audio \ + --disable-osx_video \ + --disable-pulse \ + --disable-qtdemux \ + --disable-rtspmanager \ + --disable-smpte \ + --disable-shout2 \ + --disable-speex \ + --disable-sunaudio \ + --disable-taglib \ + --disable-videobox \ + --disable-videocrop \ + --disable-videofilter \ + --disable-videomixer \ + --disable-wavpack \ + --disable-x \ + --disable-xshm \ + --disable-xvideo \ + --disable-y4m \ + --disable-zlib \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Package/gst1-plugins-good/install + /bin/true +endef + + +# 1: short name +# 2: description +# 3: dependencies on other gstreamer libraries (short name) +# 4: dependencies on other gstreamer plugins (short name) +# 5: dependencies on other packages +define GstBuildPlugin + + GST_DEPENDS += +gst1-mod-$(1) + + define Package/gst1-mod-$(1) +$(call Package/gstreamer1/Default) +TITLE+= $(2) plugin (good) +DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5) + endef + + define Package/gst1-mod-$(1)/description + $(call Package/gstreamer1/description/Default) + . + This package contains the GStreamer $(2) plugin. + endef + + define Package/gst1-mod-$(1)/install + $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \ + $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ + ) + endef + + $$(eval $$(call BuildPackage,gst1-mod-$(1))) +endef + +$(eval $(c
[OpenWrt-Devel] (no subject)
>From 4454a29846b8c580dc380b108cfa8e48a13ff67a Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 7 Mar 2014 21:58:27 -0500 Subject: [PATCH 3/6] Add base plugins for GStreamer 1.0 To: openwrt-devel@lists.openwrt.org Signed-off-by: W. Michael Petullo --- multimedia/gst1-plugins-base/Makefile | 237 + .../gst1-plugins-base/patches/001-no_docs.patch| 36 .../gst1-plugins-base/patches/002-no_tests.patch | 38 .../patches/003-no_translations.patch | 49 + 4 files changed, 360 insertions(+) create mode 100644 multimedia/gst1-plugins-base/Makefile create mode 100644 multimedia/gst1-plugins-base/patches/001-no_docs.patch create mode 100644 multimedia/gst1-plugins-base/patches/002-no_tests.patch create mode 100644 multimedia/gst1-plugins-base/patches/003-no_translations.patch diff --git a/multimedia/gst1-plugins-base/Makefile b/multimedia/gst1-plugins-base/Makefile new file mode 100644 index 000..00d9b3e --- /dev/null +++ b/multimedia/gst1-plugins-base/Makefile @@ -0,0 +1,237 @@ +# +# Copyright (C) 2008-2011 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:=gst1-plugins-base +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION) +PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/ +PKG_MD5SUM:=17aeabfbcd232526f50c9bee375f1b97 + +PKG_BUILD_DEPENDS:= gstreamer1 liboil +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_gst1-mod-alsa \ + CONFIG_PACKAGE_gst1-mod-app \ + CONFIG_PACKAGE_gst1-mod-audioconvert \ + CONFIG_PACKAGE_gst1-mod-audiorate \ + CONFIG_PACKAGE_gst1-mod-audioresample \ + CONFIG_PACKAGE_gst1-mod-audiotestsrc \ + CONFIG_PACKAGE_gst1-mod-gio \ + CONFIG_PACKAGE_gst1-mod-ogg \ + CONFIG_PACKAGE_gst1-mod-tcp \ + CONFIG_PACKAGE_gst1-mod-theora \ + CONFIG_PACKAGE_gst1-mod-videotestsrc \ + CONFIG_PACKAGE_gst1-mod-volume \ + CONFIG_PACKAGE_gst1-mod-vorbis \ + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +# -liconv crept in from pkg-config, to be revisited later +include $(INCLUDE_DIR)/nls.mk + +define Package/gstreamer1/Default + CATEGORY:=Multimedia + SECTION:=multimedia + TITLE:=GStreamer + URL:=http://gstreamer.freedesktop.org/ +endef + +define Package/gstreamer1/description/Default + GStreamer open source multimedia framework +endef + + +define Package/gst1-plugins-base +$(call Package/gstreamer1/Default) + TITLE+= plugins collection (base) + DEPENDS+= $(GST_DEPENDS) +endef + +define Package/gts1-plugins-base/description +$(call Package/gstreamer1/description/Default) + . + This meta package contains only dependencies to the other libraries and + plugins from the base plugins collection. +endef + + +GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1)) + +GST_VERSION:=1.0 + +CONFIGURE_ARGS += \ + --disable-debug \ + --disable-examples \ + \ + $(call GST_COND_SELECT,alsa) \ + --disable-alsa-test \ + $(call GST_COND_SELECT,app) \ + $(call GST_COND_SELECT,audioconvert) \ + $(call GST_COND_SELECT,audiorate) \ + $(call GST_COND_SELECT,audioresample) \ + $(call GST_COND_SELECT,audiotestsrc) \ + --disable-cdparanoia \ + --disable-ffmpegcolorspace \ + --disable-freetypetest \ + $(call GST_COND_SELECT,gio) \ + --disable-gnome_vfs \ + --disable-gst_v4l \ + --disable-libvisual \ + $(call GST_COND_SELECT,ogg) \ + --disable-oggtest \ + --disable-pango \ + --disable-subparse \ + $(call GST_COND_SELECT,tcp) \ + $(call GST_COND_SELECT,theora) \ + --disable-videorate \ + --disable-videoscale \ + $(call GST_COND_SELECT,videotestsrc) \ + $(call GST_COND_SELECT,volume) \ + $(call GST_COND_SELECT,vorbis) \ + --disable-vorbistest \ + --disable-x \ + --disable-xshm \ + --disable-xvideo \ + \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-x \ + \ + --with-audioresample-format=int \ + +EXTRA_LDFLAGS+= \ + -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ + + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/include/gstreamer-$(GST_VERSION)/* \ + $(1)/usr/include/gstreamer-$(GST_VERSION)/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib + ( cd $(PKG_INSTALL_DIR); $(CP) \ + ./usr/lib/libgst*-$(GST_VERSION).{la,so*} \ + $(1)/usr/lib/ \ + ) + $(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION) + ( cd $(PKG_INSTALL_DIR);
Re: [OpenWrt-Devel] [PATCH] netifd: fix bridge reloading issue
On 2014-03-07 10:22, Emanuel Taube wrote: > Check in the right order to decide if the bridge have to be set up. > Additionally we are consistent with setting it down. > > Signed-off-by: Emanuel Taube Applied and Committed to OpenWrt in r39791 Thanks, - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Correct use of basic_rate parameter for ath9k / 802.11n?
On 2014-03-04 18:20, Ben West wrote: > To follow up, here it seems that setting the basic_rate option in > /etc/config/wireless under AA r39154 has no effect on the rate mask, at > least when queried via > /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/rc_rateidx_mask_2ghz > > As a work-around, I'm using this hotplug script in /etc/hotplug.d/iface > to disable the slower legacy 2.4GHz rates: > > #!/bin/sh > > . /lib/functions.sh > . /lib/functions/network.sh > > # Disable legacy 2.4GHz low bitrates > if [ ifup = "$ACTION" ]; then > case "$DEVICE" in > wlan*) > logger setting bitrate for device "$DEVICE" on interface > "$INTERFACE" > iw "$DEVICE" set bitrates legacy-2.4 6 9 11 12 18 24 36 48 54 > ;; > br-*) > #Bridged interfage, check if any wifi interface is member > for i in $(ls /sys/class/net/$DEVICE/brif); do > case "$i" in > wlan*) > logger setting bitrate for device "$i" on > interface "$INTERFACE" > iw "$i" set bitrates legacy-2.4 6 9 11 12 18 24 > 36 48 54 > ;; > esac > done > ;; > esac > fi > > Should values specified as basic_rate appear in the wifi interface's > rate mask? No, the set of basic rates is different from the set of supported (or used) rates - basic rates are considered mandatory, but do not describe the entire rate set. Feel free to send a patch to allow configuring supported rates. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] buildroot: add alternative PKG_CONFIG_PATH
On 2014-02-24 21:25, Dirk Neukirchen wrote: > udev Makefile.am has two different .pc files and put them > into two locations. Don't know if changing the udev Makefile > or changing the pkgconfig paths is the right way - someone > has to decide :) > > udev and vala use an additional pkg-config dir > add it to the path > > discovered because openobex did not find udev.pc > > Signed-off-by: Dirk Neukirchen Applied in r39792, thanks. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Openwrt future release strategy? kernel strategy?
On 2014-03-07 16:40, Hannu Nyman wrote: > So far I have not seen any response from the devs, which is a bit > disappointing :-( > > In any case, I thought to add that apparently 3.12 has been named a > "long-term kernel" last week: > https://lkml.org/lkml/2014/2/26/596 > https://www.kernel.org/category/releases.html > > But I guess that Openwrt has already gone past the possibility of using 3.12, > as some platforms are already at 3.13 and 3.14 got first checkins today. We're still working on our build infrastructure for the release. As for the kernel version: The important targets that should get a binary release are still at 3.10. I think some targets have been upgraded because they depend on new kernel infrastructure where a backport is not feasible, and such targets do not need to be maintained for the release in the same way as the others. At this point it does not make sense to destabilize the main targets by updating them to 3.12, because the amount of time necessary to stabilize them would further delay a release. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Openwrt future release strategy? kernel strategy?
So far I have not seen any response from the devs, which is a bit disappointing :-( In any case, I thought to add that apparently 3.12 has been named a "long-term kernel" last week: https://lkml.org/lkml/2014/2/26/596 https://www.kernel.org/category/releases.html But I guess that Openwrt has already gone past the possibility of using 3.12, as some platforms are already at 3.13 and 3.14 got first checkins today. On 15.2.2014 10:50, Hannu Nyman wrote: What is the current plan regarding the next releases? In 2012 it sounded like the goal was to move to a more rapid release strategy, maybe something every 6 months. https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016427.html But that has not been the outcome during that 18 months since that discussion :-( And then later after the AA12.09 release there was some talk and initial preparations for an AA 12.09.1 maintenance release, but there has not been much happening in the AA branch. It has been practically dead (5 check-ins in last 3 months). Is there going to be AA12.09.1 release or not? The current situation is a difficult from documentation and support perspective: for example ipv6 support varies a lot: old 12.09 has different ipv6 config and modules than the 12.09 branch currently has, and then trunk is again different (no more 6relayd). Same goes also toward netifd, which has seen lots of changes in trunk. I feel that it would be great to have either a 12.09.1 rather soon, maybe with a bit more aligned with trunk than it currently is, or alternatively a new BB 14.x release. Regarding the next trunk release, I am a bit confused about the current amount of various kernels. For a while I though that the next release might be built on the long-term 3.10.x kernel, but currently there is so much 3.13 work going on, that I guess that 3.10 will not be the basis. At the same time the are still semi-abndoned(?) platforms with kernel 3.3/3.6/3.8/3.9. Based on that I fear that there is a long road to the next release. Developers and us regular contributors are happy with the self-built daily trunk builds, but a proper release with a stable package repository would make it easier for the average end-user. It would be great if the developers would open the current roadmap a bit. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] AP-mode drivers for BCM4360
2014-03-07 9:59 GMT+01:00 Kira Backes : > Is someone working on AP-enabled drivers for this chipset and if not, > is it possible for me to develop those? I’ve never developed a driver > but I’m a kind of experienced C developer and I’d be willing to throw > myself into this, maybe I’d finish in a year ;-) If you don't have any access to specs, it may be hard. Do you have any plan how to develop a driver? Some kind of RE? -- Rafał ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] netifd: fix bridge reloading issue
Description of the bridge reloading issue, fixed by this patch: When doing a "ubus call network reload" the devices are reconfigured first and after that the interfaces are reconfigured. In case we have an interface using a bridge, while the members of the bridge are VLANs (which are set down, if they don't have a user), it happens during device reconfiguration, that the bridge is not set present, so the VLANs don't have a user and are set down. Later during interface reconfiguration the bridge don't have members anymore and so it is set down also. 2014-03-07 10:22 GMT+01:00 Emanuel Taube : > Check in the right order to decide if the bridge have to be set up. > Additionally we are consistent with setting it down. > > Signed-off-by: Emanuel Taube > > diff --git a/bridge.c b/bridge.c > index 4ef0d7e..7bd1cf0 100644 > --- a/bridge.c > +++ b/bridge.c > @@ -231,10 +231,10 @@ bridge_member_cb(struct device_user *dev, enum > device_event ev) > bm->present = true; > bst->n_present++; > > + if (bst->n_present == 1) > + device_set_present(&bst->dev, true); > if (bst->dev.active) > bridge_enable_member(bm); > - else if (bst->n_present == 1) > - device_set_present(&bst->dev, true); > > break; > case DEV_EVENT_REMOVE: > -- > 1.7.10.4 > > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] netifd: fix bridge reloading issue
Check in the right order to decide if the bridge have to be set up. Additionally we are consistent with setting it down. Signed-off-by: Emanuel Taube diff --git a/bridge.c b/bridge.c index 4ef0d7e..7bd1cf0 100644 --- a/bridge.c +++ b/bridge.c @@ -231,10 +231,10 @@ bridge_member_cb(struct device_user *dev, enum device_event ev) bm->present = true; bst->n_present++; + if (bst->n_present == 1) + device_set_present(&bst->dev, true); if (bst->dev.active) bridge_enable_member(bm); - else if (bst->n_present == 1) - device_set_present(&bst->dev, true); break; case DEV_EVENT_REMOVE: -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] AP-mode drivers for BCM4360
Dear openwrt devel list, I’m a somewhat experienced C coder and I just bought an ASUS PCE-AC68 card (using only BCM4360) and broadcom has a partly open driver which supports this card but not the AP mode, for example see this package: http://packages.ubuntu.com/trusty/bcmwl-kernel-source Is someone working on AP-enabled drivers for this chipset and if not, is it possible for me to develop those? I’ve never developed a driver but I’m a kind of experienced C developer and I’d be willing to throw myself into this, maybe I’d finish in a year ;-) rgds, Kira Backes ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel