Date: Thu, 9 May 2013 16:33:10 -0700 From: Jason Helfman <jgh@FreeBSD.org> To: Matthias Andree <mandree@freebsd.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r317751 - head/net-im/pidgin-skype Message-ID: <CAMuy=%2Bh8XOjd9V3YvMSZojs6YhNkwV9WUKs5kb=3BPVfSC=xGw@mail.gmail.com> In-Reply-To: <201305092218.r49MIxPT065628@svn.freebsd.org> References: <201305092218.r49MIxPT065628@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
USE_GETTEXT has no effect, and has been deprecated. This should be: USES+= gettext -jgh On Thu, May 9, 2013 at 3:18 PM, Matthias Andree <mandree@freebsd.org> wrote: > Author: mandree > Date: Thu May 9 22:18:59 2013 > New Revision: 317751 > URL: http://svnweb.freebsd.org/changeset/ports/317751 > > Log: > Roll a newer upstream snapshot from SVN r659 (previous r628). > Changelog: https://code.google.com/p/skype4pidgin/source/list > > Clean up Makefile header. > > Prepare NLS, but upstream .pot/.po files are woefully out of date. > > Modified: > head/net-im/pidgin-skype/Makefile (contents, props changed) > head/net-im/pidgin-skype/distinfo (contents, props changed) > head/net-im/pidgin-skype/pkg-plist (contents, props changed) > > Modified: head/net-im/pidgin-skype/Makefile > > ============================================================================== > --- head/net-im/pidgin-skype/Makefile Thu May 9 22:02:15 2013 > (r317750) > +++ head/net-im/pidgin-skype/Makefile Thu May 9 22:18:59 2013 > (r317751) > @@ -1,13 +1,8 @@ > -# New ports collection makefile for: pidgin-skype > -# Date created: 2010-12-19 > -# Whom: mandree@FreeBSD.org > -# > +# Created by: mandree@FreeBSD.org > # $FreeBSD$ > -# > > PORTNAME= pidgin-skype > -PORTVERSION= 0.0.0.628 > -PORTREVISION= 1 > +PORTVERSION= 0.0.0.659 > CATEGORIES= net-im > MASTER_SITES= LOCAL/mandree > DISTFILES= pidgin-skype-svn-r${PORTVERSION:E}.tar.xz > @@ -46,9 +41,33 @@ mycflags= -shared -fPIC -DPIC ${PTHREAD_ > -DPURPLE_PLUGINS > mylibs= ${PTHREAD_LIBS} > > +USES= pkgconfig > + > +# DBUS: No DBUS here, does not work with Skype 2.1 beta > +# NLS: While the build works and enables translations, > +# the upstream translations and .pot file are woefully out of date. > +#OPTIONS_DEFINE= NLS > + > +.include <bsd.port.options.mk> > + > +.if ${PORT_OPTIONS:MNLS} > +mycflags+= -DENABLE_NLS > +mylibs+= -L${LOCALBASE}/lib -lintl > +USE_GETTEXT= yes > +PLIST_SUB+= NLS="" > + > +post-patch: > + ${REINPLACE_CMD} 's/#undef ENABLE_NLS//' ${WRKSRC}/libskype.c > +.else > +PLIST_SUB+= NLS="@comment" > +.endif > + > do-build: > - cd ${WRKSRC} && ${CC} ${CFLAGS} ${mycflags} \ > + cd ${WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${mycflags} \ > -o libskype.so libskype.c ${mylibs} > +.if ${PORT_OPTIONS:MNLS} > + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} > ${_MAKE_JOBS} ${MAKE_ARGS} -C ${BUILD_WRKSRC} locales > +.endif > > do-install: > ${MKDIR} ${PREFIX}/lib/purple-2 > @@ -61,5 +80,11 @@ do-install: > ${WRKSRC}/icons/${i}/skype.png \ > ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/ > .endfor > +.if ${PORT_OPTIONS:MNLS} > +.for i in cs de en_AU es fr hu it ja mk nb pl pt pt_BR ru > + ${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES/ > + ${INSTALL_DATA} ${WRKSRC}/po/${i}.mo > ${PREFIX}/share/locale/${i}/LC_MESSAGES/skype4pidgin.mo > +.endfor > +.endif > > .include <bsd.port.mk> > > Modified: head/net-im/pidgin-skype/distinfo > > ============================================================================== > --- head/net-im/pidgin-skype/distinfo Thu May 9 22:02:15 2013 > (r317750) > +++ head/net-im/pidgin-skype/distinfo Thu May 9 22:18:59 2013 > (r317751) > @@ -1,2 +1,2 @@ > -SHA256 (pidgin-skype-svn-r628.tar.xz) = > 14930415aaf4f7a6c10e9242e15a582b4db7f91c97ef8f6dbf3d154d69d1a794 > -SIZE (pidgin-skype-svn-r628.tar.xz) = 124040 > +SHA256 (pidgin-skype-svn-r659.tar.xz) = > fb1a5e63cd76d7dec70aa0ca9350c60b05819e13917892ee3b9bcf951519c113 > +SIZE (pidgin-skype-svn-r659.tar.xz) = 125352 > > Modified: head/net-im/pidgin-skype/pkg-plist > > ============================================================================== > --- head/net-im/pidgin-skype/pkg-plist Thu May 9 22:02:15 2013 > (r317750) > +++ head/net-im/pidgin-skype/pkg-plist Thu May 9 22:18:59 2013 > (r317751) > @@ -1,5 +1,19 @@ > @comment $FreeBSD$ > lib/purple-2/libskype.so > +%%NLS%%share/locale/cs/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/de/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/en_AU/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/es/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/fr/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/hu/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/it/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/ja/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/mk/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/nb/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/pl/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/pt/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/pt_BR/LC_MESSAGES/skype4pidgin.mo > +%%NLS%%share/locale/ru/LC_MESSAGES/skype4pidgin.mo > share/pixmaps/pidgin/protocols/16/skypeout.png > share/pixmaps/pidgin/protocols/22/skypeout.png > share/pixmaps/pidgin/protocols/48/skypeout.png > > -- -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMuy=%2Bh8XOjd9V3YvMSZojs6YhNkwV9WUKs5kb=3BPVfSC=xGw>