Bug 179698 - [PATCH] x11-wm/lxsession: Add NLS option and fix, take maintainership
Summary: [PATCH] x11-wm/lxsession: Add NLS option and fix, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 02:40 UTC by nemysis
Modified: 2013-06-21 14:10 UTC (History)
1 user (show)

See Also:


Attachments
lxsession-0.4.6.1_1.patch (3.02 KB, patch)
2013-06-19 02:40 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-06-19 02:40:00 UTC
- 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
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-06-21 14:01:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-06-21 14:07:24 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-06-21 14:07:24 UTC
Author: wg
Date: Fri Jun 21 13:07:17 2013
New Revision: 321469
URL: http://svnweb.freebsd.org/changeset/ports/321469

Log:
  x11-wm/lxsession: fix NLS option
  
  - Fix NLS option [1]
  - Pass maintainership to submitter
  
  PR:		ports/179698
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/x11-wm/lxsession/Makefile
  head/x11-wm/lxsession/pkg-plist

Modified: head/x11-wm/lxsession/Makefile
==============================================================================
--- head/x11-wm/lxsession/Makefile	Fri Jun 21 12:41:33 2013	(r321468)
+++ head/x11-wm/lxsession/Makefile	Fri Jun 21 13:07:17 2013	(r321469)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 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,21 @@ MAN1=		lxsession.1 lxsession-logout.1
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+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>

Modified: head/x11-wm/lxsession/pkg-plist
==============================================================================
--- head/x11-wm/lxsession/pkg-plist	Fri Jun 21 12:41:33 2013	(r321468)
+++ head/x11-wm/lxsession/pkg-plist	Fri Jun 21 13:07:17 2013	(r321469)
@@ -46,9 +46,9 @@ bin/lxsession-logout
 %%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 @@ bin/lxsession-logout
 %%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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"