Date: Wed, 19 Jun 2013 03:36:01 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: jpaetzel@FreeBSD.org Subject: ports/179698: [PATCH] x11-wm/lxsession: Add NLS option and fix, take maintainership Message-ID: <20130619013605.AB26B85B@hub.freebsd.org> Resent-Message-ID: <201306190140.r5J1e0Uv078723@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179698 >Category: ports >Synopsis: [PATCH] x11-wm/lxsession: Add NLS option and fix, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 19 01:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Take maintainership - Add Portscout - Add NLS Option - Fix NLS - Trim pkg-plist Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130619004001-36513/ Add because not build, bad code PORTSCOUT=<--->skipv:0.4.9.2 >Fix: --- lxsession-0.4.6.1_1.patch begins here --- diff -ruN /usr/ports/x11-wm/lxsession/Makefile ./Makefile --- /usr/ports/x11-wm/lxsession/Makefile 2013-06-18 18:26:42.000000000 +0200 +++ ./Makefile 2013-06-19 02:38:12.000000000 +0200 @@ -7,7 +7,7 @@ CATEGORIES= x11-wm MASTER_SITES= SF/lxde/LXSession%20%28session%20manager%29/LXSession%20${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= LXDE Session Manager LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal @@ -27,14 +27,23 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +PORTSCOUT= skipv:0.4.9.2 + +OPTIONS_DEFINE= NLS + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else -CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +post-patch: +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|po man|man|' \ + ${WRKSRC}/Makefile.in +.endif + .include <bsd.port.mk> diff -ruN /usr/ports/x11-wm/lxsession/pkg-plist ./pkg-plist --- /usr/ports/x11-wm/lxsession/pkg-plist 2013-06-02 18:56:46.000000000 +0200 +++ ./pkg-plist 2013-06-19 02:35:21.000000000 +0200 @@ -46,9 +46,9 @@ %%NLS%%share/locale/pt_BR/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/ro/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/ru/LC_MESSAGES/lxsession.mo -%%NLS%%share/locale/sl/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/si/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/sk/LC_MESSAGES/lxsession.mo +%%NLS%%share/locale/sl/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/sr/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/sr@latin/LC_MESSAGES/lxsession.mo %%NLS%%share/locale/sv/LC_MESSAGES/lxsession.mo @@ -70,31 +70,13 @@ %%DATADIR%%/images/system-shutdown.png @dirrm %%DATADIR%%/images @dirrm %%DATADIR%% -@dirrmtry share/locale/ast/LC_MESSAGES -@dirrmtry share/locale/ast -@dirrmtry share/locale/bn_IN/LC_MESSAGES -@dirrmtry share/locale/bn_IN -@dirrmtry share/locale/es_VE/LC_MESSAGES -@dirrmtry share/locale/es_VE -@dirrmtry share/locale/fo/LC_MESSAGES -@dirrmtry share/locale/fo -@dirrmtry share/locale/frp/LC_MESSAGES -@dirrmtry share/locale/frp -@dirrmtry share/locale/lg/LC_MESSAGES -@dirrmtry share/locale/lg -@dirrmtry share/locale/ps/LC_MESSAGES -@dirrmtry share/locale/ps -@dirrmtry share/locale/si/LC_MESSAGES -@dirrmtry share/locale/si -@dirrmtry share/locale/sr@latin/LC_MESSAGES -@dirrmtry share/locale/sr@latin -@dirrmtry share/locale/te/LC_MESSAGES -@dirrmtry share/locale/te -@dirrmtry share/locale/tt_RU/LC_MESSAGES -@dirrmtry share/locale/tt_RU -@dirrmtry share/locale/ur_PK/LC_MESSAGES -@dirrmtry share/locale/ur_PK -@dirrmtry share/locale/ur/LC_MESSAGES -@dirrmtry share/locale/ur -@dirrmtry share/locale/vi/LC_MESSAGES -@dirrmtry share/locale/vi +%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/ur_PK +%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/tt_RU +%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/lg +%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/frp +%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/es_VE --- lxsession-0.4.6.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130619013605.AB26B85B>