From owner-svn-ports-head@FreeBSD.ORG Tue Dec 24 16:03:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7352D7A0; Tue, 24 Dec 2013 16:03:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F1F61D5A; Tue, 24 Dec 2013 16:03:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBOG3jVg061876; Tue, 24 Dec 2013 16:03:45 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBOG3ibp061870; Tue, 24 Dec 2013 16:03:44 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312241603.rBOG3ibp061870@svn.freebsd.org> From: Pawel Pekala Date: Tue, 24 Dec 2013 16:03:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337367 - in head/audio/osd-lyrics: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 16:03:45 -0000 Author: pawel Date: Tue Dec 24 16:03:44 2013 New Revision: 337367 URL: http://svnweb.freebsd.org/changeset/ports/337367 Log: - Fix build on -current - Rescpect CXXFLAGS - Use desktop-file-utils/pathfix - Support staging PR: ports/184909 Submitted by: KATO Tsuguru Added: head/audio/osd-lyrics/files/patch-lib__chardetect__src__entry__impl.cpp (contents, props changed) head/audio/osd-lyrics/files/patch-lib__chardetect__src__prmem.h (contents, props changed) Deleted: head/audio/osd-lyrics/files/patch-free-visibility Modified: head/audio/osd-lyrics/Makefile Modified: head/audio/osd-lyrics/Makefile ============================================================================== --- head/audio/osd-lyrics/Makefile Tue Dec 24 15:58:58 2013 (r337366) +++ head/audio/osd-lyrics/Makefile Tue Dec 24 16:03:44 2013 (r337367) @@ -3,7 +3,7 @@ PORTNAME= osdlyrics PORTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio deskutils MASTER_SITES= GOOGLE_CODE PROJECTHOST= osd-lyrics @@ -17,36 +17,48 @@ LIB_DEPENDS= libnotify.so:${PORTSDIR}/de libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libcurl.so:${PORTSDIR}/ftp/curl +USES= desktop-file-utils gettext gmake iconv pathfix pkgconfig +USE_GNOME= gtk20 +USE_SQLITE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= DATADIRNAME=share # Cannot enable -Werror yet: Clang does not like the code `printf(_("..."))', # see this bug for details: http://llvm.org/bugs/show_bug.cgi?id=3814 #CONFIGURE_ARGS= --with-werror -USES= gettext gmake iconv pkgconfig -NO_STAGE= yes -USE_GNOME= gtk20 -USE_SQLITE= yes INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog NEWS README -LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= DOCS MPD XMMS2 AMAROK -MPD_DESC= Enable MPD support -XMMS2_DESC= Enable XMMS2 support -AMAROK_DESC= Enable Amarok 1.4 support +MPD_DESC= MPD support +XMMS2_DESC= XMMS2 support +AMAROK_DESC= Amarok 1.4 support MPD_LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd MPD_CONFIGURE_OFF= --disable-mpd + XMMS2_LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2 XMMS2_CONFIGURE_OFF= --disable-xmms2 + AMAROK_CONFIGURE_ENABLE= amarok1 .include +post-patch: +.for i in src/Makefile.in src/tests/Makefile.in + @${REINPLACE_CMD} -e \ + '/-lstdc++/d' ${WRKSRC}/${i} +.endfor +.for i in lib/chardetect/Makefile.in + @${REINPLACE_CMD} -e \ + '/-O2/d' ${WRKSRC}/${i} +.endfor + post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in AUTHORS ChangeLog NEWS README + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) +.endfor .include Added: head/audio/osd-lyrics/files/patch-lib__chardetect__src__entry__impl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osd-lyrics/files/patch-lib__chardetect__src__entry__impl.cpp Tue Dec 24 16:03:44 2013 (r337367) @@ -0,0 +1,13 @@ +--- lib/chardetect/src/entry/impl.cpp.orig ++++ lib/chardetect/src/entry/impl.cpp +@@ -41,8 +41,10 @@ + #include "chardetect.h" + #include "nscore.h" + #include "nsUniversalDetector.h" ++#pragma GCC visibility push(default) + #include + #include ++#pragma GCC visibility pop + + #ifdef _WIN32 + # include Added: head/audio/osd-lyrics/files/patch-lib__chardetect__src__prmem.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/osd-lyrics/files/patch-lib__chardetect__src__prmem.h Tue Dec 24 16:03:44 2013 (r337367) @@ -0,0 +1,12 @@ +--- lib/chardetect/src/prmem.h.orig ++++ lib/chardetect/src/prmem.h +@@ -37,7 +37,9 @@ + #ifndef nsDummyPrmem_h__ + #define nsDummyPrmem_h__ + ++#pragma GCC visibility push(default) + #include ++#pragma GCC visibility pop + + inline void* PR_Malloc(size_t len) + {