Skip to contentSkip to conversation

libupnp: move to version 1.6.14

PATCH New Gustavo Zacarias 2 participants 5 messages Mar 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libupnp: move to version 1.6.14

As pointed by Sagaert Johan in the mailing list and further testing version 1.6.15 has some issues.
So move to version 1.6.14 which is far more stable and compliant.

---
 ...-no-ipv6.patch => libupnp-1.6.14-no-ipv6.patch} |    0
 package/libupnp/libupnp.mk                         |    2 +-
 2 files changed, 1 insertions(+), 1 deletions(-)
 rename package/libupnp/{libupnp-1.6.15-no-ipv6.patch => libupnp-1.6.14-no-ipv6.patch} (100%)
package/libupnp/libupnp-1.6.14-no-ipv6.patch renamed from package/libupnp/libupnp-1.6.15-no-ipv6.patch +0 -0
similarity index 100%
rename from package/libupnp/libupnp-1.6.15-no-ipv6.patch
rename to package/libupnp/libupnp-1.6.14-no-ipv6.patch
package/libupnp/libupnp.mk +1 -1
index 1fa07ca..5ac68c3 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBUPNP_VERSION = 1.6.15
+LIBUPNP_VERSION = 1.6.14
 LIBUPNP_SOURCE = libupnp-$(LIBUPNP_VERSION).tar.bz2
 LIBUPNP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/pupnp/pupnp/libUPnP%20$(LIBUPNP_VERSION)
 LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/2 ushare: new package

UPnP media streamer.

TODO: Add DLNA support (libdlna) if there's interest.

---
 package/Config.in                         |    1 +
 package/ushare/Config.in                  |   13 ++
 package/ushare/ushare-compile-fixes.patch |  206 +++++++++++++++++++++++++++++
 package/ushare/ushare.mk                  |   26 ++++
 4 files changed, 246 insertions(+), 0 deletions(-)
 create mode 100644 package/ushare/Config.in
 create mode 100644 package/ushare/ushare-compile-fixes.patch
 create mode 100644 package/ushare/ushare.mk
package/Config.in +1 -0
index e4bb0e1..b7516ec 100644
@@ -524,6 +524,7 @@ source "package/tn5250/Config.in"
 source "package/transmission/Config.in"
 source "package/ttcp/Config.in"
 source "package/udpcast/Config.in"
+source "package/ushare/Config.in"
 source "package/vpnc/Config.in"
 source "package/vsftpd/Config.in"
 source "package/vtun/Config.in"
package/ushare/Config.in new file +13 -0
new file mode 100644
index 0000000..a714fa0
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_USHARE
+	bool "ushare"
+	depends on BR2_LARGEFILE
+	select BR2_PACKAGE_LIBUPNP
+	help
+	  uShare is a UPnP (TM) A/V & DLNA Media Server.
+	  It implements the server component that provides UPnP media devices
+	  with information on available multimedia files.
+
+	  http://ushare.geexbox.org/
+
+comment "ushare requires a toolchain with LARGEFILE support"
+	depends on !BR2_LARGEFILE
package/ushare/ushare-compile-fixes.patch new file +206 -0

206 lines not on this page · raw message

package/ushare/ushare.mk new file +26 -0
new file mode 100644
index 0000000..6238f64
@@ -0,0 +1,26 @@
+#############################################################
+#
+# ushare
+#
+#############################################################
+
+USHARE_VERSION = 1.1a
+USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2
+USHARE_SITE = http://ushare.geexbox.org/releases
+USHARE_DEPENDENCIES = host-pkg-config libupnp
+
+define USHARE_CONFIGURE_CMDS
+	(cd $(@D); \
+		$(TARGET_CONFIGURE_OPTS) \
+		./configure --prefix=/usr $(DISABLE_NLS) --cross-compile \
+		--cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \
+		--disable-strip --disable-debug \
+	)
+endef
+
+define USHARE_INSTALL_TARGET_CMDS
+	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+	rm -f $(TARGET_DIR)/etc/init.d/ushare
+endef
+
+$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 2/2 ushare: new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> UPnP media streamer.
Gustavo> TODO: Add DLNA support (libdlna) if there's interest.

Gustavo> +############################################################# Gustavo> +
Gustavo> +USHARE_VERSION = 1.1a
Gustavo> +USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2 Gustavo> +USHARE_SITE = http://ushare.geexbox.org/releases
Gustavo> +USHARE_DEPENDENCIES = host-pkg-config libupnp Gustavo> +
Gustavo> +define USHARE_CONFIGURE_CMDS
Gustavo> + (cd $(@D); \
Gustavo> + $(TARGET_CONFIGURE_OPTS) \
Gustavo> + ./configure --prefix=/usr $(DISABLE_NLS) --cross-compile \
Gustavo> + --cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \
Gustavo> + --disable-strip --disable-debug \
Gustavo> + )
Gustavo> +endef
Gustavo> +
Gustavo> +define USHARE_INSTALL_TARGET_CMDS
Gustavo> + $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
Gustavo> + rm -f $(TARGET_DIR)/etc/init.d/ushare
Gustavo> +endef

Why the custom configure and install steps?

Gustavo> +
Gustavo> +$(eval $(call AUTOTARGETS))

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/2 ushare: new package

Quoted 15 lines · Peter Korsgaard

Gustavo> +define USHARE_CONFIGURE_CMDS
Gustavo> + (cd $(@D); \
Gustavo> + $(TARGET_CONFIGURE_OPTS) \
Gustavo> + ./configure --prefix=/usr $(DISABLE_NLS) --cross-compile
\
Gustavo> + --cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \
Gustavo> + --disable-strip --disable-debug \
Gustavo> + )
Gustavo> +endef
Gustavo> +
Gustavo> +define USHARE_INSTALL_TARGET_CMDS
Gustavo> + $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
Gustavo> + rm -f $(TARGET_DIR)/etc/init.d/ushare
Gustavo> +endef

Quoted 1 line

Why the custom configure and install steps?

It's not autoconf and it'll bail out on unknown options. So basically s/AUTOTARGETS/GENTARGETS/ :) Regards.

#4 lore raw

PATCH 1/2 libupnp: move to version 1.6.14

In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> As pointed by Sagaert Johan in the mailing list and further testing version Gustavo> 1.6.15 has some issues.
Gustavo> So move to version 1.6.14 which is far more stable and compliant.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard