Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 05:20:10 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jpaetzel@FreeBSD.org
Subject:   ports/179700: [PATCH] misc/lxde-common: Add license, docs, take maintainership
Message-ID:  <20130619032020.48E57EF1@hub.freebsd.org>
Resent-Message-ID: <201306190330.r5J3U0Bu099890@freefall.freebsd.org>

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

>Number:         179700
>Category:       ports
>Synopsis:       [PATCH] misc/lxde-common: Add license, docs, 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 03:30: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
- Shorten header
- Add license (GPLv2)
- Add docs
- Trim WWW
- 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/20130619025501-33458/

>Fix:

--- lxde-common-0.5.5_4.patch begins here ---
diff -ruN /usr/ports/misc/lxde-common/Makefile ./Makefile
--- /usr/ports/misc/lxde-common/Makefile	2013-06-18 18:26:38.000000000 +0200
+++ ./Makefile	2013-06-19 04:20:06.000000000 +0200
@@ -1,22 +1,19 @@
-# New ports collection makefile for:   lxde-common
-# Date created:                2009/02/03
-# Whom:                        sahne
-#
+# Created by: sahne
 # $FreeBSD: head/misc/lxde-common/Makefile 321199 2013-06-18 15:55:34Z kmoore $
-#
 
 PORTNAME=	lxde-common
 PORTVERSION=	0.5.5
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	misc
 MASTER_SITES=	SF/lxde/${PORTNAME}%20%28default%20config%29/LXDE%20Common%20${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	LXDE Common files
 
-USE_GNOME=	gtk20
-USE_GMAKE=	yes
+LICENSE=	GPLv2
+
 USES=		iconv
+USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		CPPFLAGS="-I${LOCALBASE}/include" \
@@ -24,12 +21,21 @@
 		GMSGFMT="${LOCALBASE}/bin/msgfmt" \
 		--with-xsession-path=${PREFIX}/share/xsessions \
 		--with-xdg-path=${PREFIX}/share/applications
+USE_GMAKE=	yes
 
 DATADIR=	${PREFIX}/share/lxde
 INSTALLS_ICONS=	YES
 
-MAN1=	startlxde.1\
-	lxde-logout.1 \
-	openbox-lxde.1
+MAN1=	startlxde.1 lxde-logout.1 openbox-lxde.1
+
+PORTDOCS=	AUTHORS README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/misc/lxde-common/pkg-descr ./pkg-descr
--- /usr/ports/misc/lxde-common/pkg-descr	2013-06-02 18:52:51.000000000 +0200
+++ ./pkg-descr	2013-06-18 18:46:06.000000000 +0200
@@ -1,3 +1,3 @@
 LXDE Common files including startup and logout scripts.
 
-WWW:	http://lxde.org/
+WWW: http://lxde.org/
diff -ruN /usr/ports/misc/lxde-common/pkg-plist ./pkg-plist
--- /usr/ports/misc/lxde-common/pkg-plist	2013-06-02 18:52:51.000000000 +0200
+++ ./pkg-plist	2013-06-19 04:50:23.000000000 +0200
@@ -1,9 +1,9 @@
 bin/lxde-logout
 bin/openbox-lxde
 bin/startlxde
-etc/xdg/pcmanfm/LXDE/pcmanfm.conf
 etc/xdg/lxsession/LXDE/autostart
 etc/xdg/lxsession/LXDE/desktop.conf
+etc/xdg/pcmanfm/LXDE/pcmanfm.conf
 share/applications/lxde-logout.desktop
 share/lxde/images/logout-banner.png
 share/lxde/images/lxde-icon.png
@@ -15,11 +15,7 @@
 share/lxpanel/profile/LXDE/config
 share/lxpanel/profile/LXDE/panels/panel
 share/xsessions/LXDE.desktop
-@dirrm etc/xdg/lxsession/LXDE
-@dirrm etc/xdg/lxsession
-@dirrmtry etc/xdg/pcmanfm/LXDE
-@dirrmtry etc/xdg/pcmanfm
-@dirrmtry share/applications
+@dirrmtry share/xsessions
 @dirrmtry share/lxpanel/profile/LXDE/panels
 @dirrmtry share/lxpanel/profile/LXDE
 @dirrmtry share/lxpanel/profile
@@ -28,5 +24,8 @@
 @dirrm share/lxde/openbox
 @dirrm share/lxde/images
 @dirrm share/lxde
-@dirrmtry share/xsessions
-@dirrmtry etc/xdg
+@dirrmtry share/applications
+@dirrmtry etc/xdg/pcmanfm/LXDE
+@dirrmtry etc/xdg/pcmanfm
+@dirrm etc/xdg/lxsession/LXDE
+@dirrm etc/xdg/lxsession
--- lxde-common-0.5.5_4.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?20130619032020.48E57EF1>