Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 21:18:52 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139414: new port audio/ario
Message-ID:  <200910072118.n97LIqGB026053@www.freebsd.org>
Resent-Message-ID: <200910072120.n97LK1T2087094@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139414
>Category:       ports
>Synopsis:       new port audio/ario
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 07 21:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        8.0-RC1
>Organization:
>Environment:
FreeBSD silver.doors 8.0-RC1 FreeBSD 8.0-RC1 #6: Sat Oct  3 23:35:06 CEST 2009     root@silver.doors:/usr/obj/usr/src/sys/SILVER  i386

>Description:
I prepare port with ario-player, which use musicpd as backend.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	weave
#	weave/files
#	weave/files/patch-Makefile
#	weave/Makefile
#	weave/pkg-descr
#	weave/distinfo
#	weave/pkg-plist
#
echo c - weave
mkdir -p weave > /dev/null 2>&1
echo c - weave/files
mkdir -p weave/files > /dev/null 2>&1
echo x - weave/files/patch-Makefile
sed 's/^X//' >weave/files/patch-Makefile << '2bbb377499acbb7ddb915f073be2d38b'
X--- crypto/src/Makefile.orig	2009-08-27 22:08:18.000000000 +0200
X+++ crypto/src/Makefile	2009-09-18 21:52:06.000000000 +0200
X@@ -45,6 +45,10 @@
X sys := $(shell uname -s)
X wince = $(WINCE)
X 
X+ifeq ($(sys), FreeBSD)
X+  xpidl = $(PREFIX)/lib/libxul/xpidl -I$(PREFIX)/share/idl/firefox3/stable
X+endif
X+
X ifeq ($(wince), 1)
X   os = WINNT
X   cxx = $(sdkdir)/sdk/bin/arm-wince-gcc
X@@ -66,6 +70,14 @@
X   so = so
X   cppflags += -shared
X else
X+ifeq ($(sys), FreeBSD)
X+  os = FreeBSD
X+  compiler = gcc3
X+  cxx = c++
X+  so = so
X+  cppflags += -shared
X+  ldflags += -L$(PREFIX)/lib/firefox3 -L$(PREFIX)/lib
X+else
X ifeq ($(sys), MINGW32_NT-6.1)
X   os = WINNT
X   compiler = msvc
X@@ -92,6 +104,7 @@
X endif
X endif
X endif
X+endif
X 
X # Arch detection
X 
X@@ -121,6 +134,9 @@
X ifeq ($(machine), x86_64)
X   arch = x86_64
X else
X+ifeq ($(machine), amd64)
X+  arch = x86_64
X+else
X   $(error: Sorry, your architecture is unknown/unsupported: $(machine))
X endif
X endif
X@@ -130,6 +146,7 @@
X endif
X endif
X endif
X+endif
X 
X # Universal binary so no need for $(arch) for Darwin
X 
X@@ -188,6 +205,13 @@
X           -I$(sdkdir)/include/nspr \
X           -I$(sdkdir)/sdk/include
X 
X+ifeq ($(sys), FreeBSD)
X+  headers += -I$(PREFIX)/include/firefox3/stable \
X+             -I$(PREFIX)/include/nspr \
X+             -I$(PREFIX)/include/nss \
X+             -I$(PREFIX)/include/firefox3/unstable
X+endif
X+
X # libraries
X libdirs := $(sdkdir)/lib $(sdkdir)/bin
X ifeq ($(wince),1)
X@@ -202,6 +226,10 @@
X 
X ifeq ($(os), Linux)
X   libs := xpcom_core $(libs)
X+else
X+ifeq ($(os), FreeBSD)
X+  libs := xpcom $(libs)
X+endif
X endif
X 
X # compiler and Linker Flags
X@@ -264,6 +292,25 @@
X              $(sdkdir)/lib/libxpcomglue_s.a \
X              $(libdirs) $(libs)
X else
X+ifeq ($(os), FreeBSD)
X+  libdirs := $(patsubst %,-L%,$(libdirs))
X+  libs := $(patsubst %,-l%,$(libs))
X+  cppflags += -pipe -O2 \
X+              -fPIC -fno-rtti -fno-exceptions -fno-strict-aliasing \
X+              -fno-common -pthread \
X+              -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth \
X+              -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align \
X+              -Wno-long-long \
X+              -include xpcom-config.h $(headers) \
X+              -fshort-wchar
X+  ldflags += -pthread -pipe -DMOZILLA_STRICT_API \
X+             -Wl,-dead_strip \
X+             -Wl,-exported_symbol \
X+             -Wl,-z,defs -Wl,-h,WeaveCrypto.so \
X+             -Wl,-rpath-link,$(sdkdir)/bin \
X+             $(sdkdir)/lib/libxpcomglue_s.a \
X+             $(libdirs) $(libs)
X+else
X ifeq ($(os), SunOS)
X   libdirs := $(patsubst %,-L%,$(libdirs))
X   libs := $(patsubst %,-l%,$(libs))
X@@ -303,6 +350,7 @@
X endif
X endif
X endif
X+endif
X 
X ######################################################################
X 
X@@ -361,6 +409,11 @@
X 	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X 	chmod +x $@
X else
X+ifeq ($(os), FreeBSD)
X+  $(so_target): $(idl_headers)
X+	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X+	chmod +x $@
X+else
X ifeq ($(os), SunOS)
X   $(so_target): $(idl_headers)
X 	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X@@ -380,3 +433,4 @@
X endif
X endif
X endif
X+endif
2bbb377499acbb7ddb915f073be2d38b
echo x - weave/Makefile
sed 's/^X//' >weave/Makefile << 'e11388eb87fd6ec574dadb1ed689a2fc'
X# New ports collection makefile for:	weave
X# Date created:		31 Aug 2009
X# Whom:			Grzegorz Blach <magik@roorback.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	weave
XPORTVERSION=	0.7
XCATEGORIES=	www
XMASTER_SITES=	http://files.roorback.net/
X
XMAINTAINER=	magik@roorback.net
XCOMMENT=	Mozilla Weave extension
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35 \
X		${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul
X
XUSE_BZIP2=	1
XUSE_GMAKE=	1
XARCH!=		uname -m
X.if ${ARCH} == i386
X    PLATFORM= FreeBSD_x86-gcc3
X.elif ${ARCH} == amd64
X    PLATFORM= FreeBSD_x86_64-gcc3
X.else
X    PLATFORM= FreeBSD_${ARCH}-gcc3
X.endif
XGMAKE_FLAGS=	sdkdir=${PREFIX}/lib/firefox3/sdk rebuild_crypto=1 release_build=1 platform_target=${PLATFORM}
XALL_TARGET=	${GMAKE_FLAGS} build
XINSTALL_TARGET=	${GMAKE_FLAGS} xpi
X
XXPI_ID=		{340c2bbc-ce74-4362-90b5-7c26312808ef}
XXPI_DIR=	${PREFIX}/lib/xpi/${XPI_ID}
X
XPLIST_SUB=	PLATFORM=${PLATFORM}
X
Xpost-install:
X	${MKDIR} ${XPI_DIR}
X	(cd ${XPI_DIR}; tar xvf ${WRKSRC}/dist/xpi/weave-${PORTVERSION}-rel.xpi)
X	${FIND} ${XPI_DIR} -type d -exec ${CHMOD} 755 '{}' \;
X	${FIND} ${XPI_DIR} -type f -exec ${CHMOD} 644 '{}' \;
X	${FIND} ${XPI_DIR} -name '*.so' -exec ${CHMOD} 755 '{}' \;
X	${LN} -sf ${XPI_DIR} ${PREFIX}/lib/firefox3/extensions
X
X.include <bsd.port.mk>
e11388eb87fd6ec574dadb1ed689a2fc
echo x - weave/pkg-descr
sed 's/^X//' >weave/pkg-descr << 'c8392bc4c31c45d1314067f4362fa5bb'
XWeave is a Mozilla Labs project to explore ways in which
Xthe browser can broker richer experiences on the Web,
Xby integrating more closely with online services.
X
XWWW: http://labs.mozilla.com/weave/
c8392bc4c31c45d1314067f4362fa5bb
echo x - weave/distinfo
sed 's/^X//' >weave/distinfo << '11f77058d15488f6cb9d4a620461dfb2'
XMD5 (weave-0.7.tar.bz2) = 147cf606f0b14d29970f8daf414e45a9
XSHA256 (weave-0.7.tar.bz2) = 58ab733c325aa9f130dacc1ef9f1f36dd02a065bee3b3a3c8d540d7203697ef9
XSIZE (weave-0.7.tar.bz2) = 807987
11f77058d15488f6cb9d4a620461dfb2
echo x - weave/pkg-plist
sed 's/^X//' >weave/pkg-plist << '41e8e6eb1c0fee99398bff081f35f0da'
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome/sync.jar
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults/preferences/sync.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components/IWeaveCrypto.xpt
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components/Weave.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/collection.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/crypto.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/keys.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/wbo.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/themes.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/clientData.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/cookies.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/extensions.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/forms.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/history.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/input.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/microformats.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/passwords.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/plugins.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/prefs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/tabs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/bookmarks.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/history.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/clientData.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/forms.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/bookmark.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/passwords.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/prefs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/tabs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Observers.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Preferences.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/StringBundle.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Sync.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/authenticationLayer.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/readme.txt
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/transportLayer.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/xmppClient.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/auth.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/notifications.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/resource.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/service.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/stores.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/trackers.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/util.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/log4moz.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/faultTolerance.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/identity.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/constants.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/%%PLATFORM%%/components/WeaveCrypto.so
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/install.rdf
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome.manifest
Xlib/firefox3/extensions/{340c2bbc-ce74-4362-90b5-7c26312808ef}
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/%%PLATFORM%%/components
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/%%PLATFORM%%
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults/preferences
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome
X@dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}
41e8e6eb1c0fee99398bff081f35f0da
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910072118.n97LIqGB026053>