From owner-svn-ports-all@FreeBSD.ORG Sat Jun 22 11:44:58 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 32C419B0; Sat, 22 Jun 2013 11:44:58 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2531D1969; Sat, 22 Jun 2013 11:44:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5MBiwm6006530; Sat, 22 Jun 2013 11:44:58 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5MBiuDs006520; Sat, 22 Jun 2013 11:44:56 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201306221144.r5MBiuDs006520@svn.freebsd.org> From: William Grzybowski Date: Sat, 22 Jun 2013 11:44:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321566 - in head/misc/lxde-common: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 11:44:58 -0000 Author: wg Date: Sat Jun 22 11:44:56 2013 New Revision: 321566 URL: http://svnweb.freebsd.org/changeset/ports/321566 Log: misc/lxde-common: NLS and config fixes - Trim Makefile header - Add LICENSE (GPLv2) - Install docs - Preserve original *.conf files - Pass maintainership to submitter PR: ports/179700 Submitted by: nemysis Modified: head/misc/lxde-common/Makefile head/misc/lxde-common/files/patch-Makefile-am head/misc/lxde-common/files/patch-Makefile-in head/misc/lxde-common/files/patch-configure head/misc/lxde-common/files/patch-configure-ac head/misc/lxde-common/pkg-descr head/misc/lxde-common/pkg-plist Modified: head/misc/lxde-common/Makefile ============================================================================== --- head/misc/lxde-common/Makefile Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/Makefile Sat Jun 22 11:44:56 2013 (r321566) @@ -1,22 +1,19 @@ -# New ports collection makefile for: lxde-common -# Date created: 2009/02/03 -# Whom: sahne -# +# Created by: sahne # $FreeBSD$ -# 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} +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,32 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ 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 + +OPTIONS_DEFINE= DOCS + +.include + +post-install: + ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf.sample + ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample +.if ! exists(${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf) + ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf +.endif +.if ! exists(${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf) + ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf +.endif + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif .include Modified: head/misc/lxde-common/files/patch-Makefile-am ============================================================================== --- head/misc/lxde-common/files/patch-Makefile-am Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/files/patch-Makefile-am Sat Jun 22 11:44:56 2013 (r321566) @@ -1,5 +1,5 @@ ---- Makefile.am.o 2012-03-09 15:28:13.000000000 -0500 -+++ Makefile.am 2012-03-09 15:29:20.000000000 -0500 +--- Makefile.am.orig 2011-07-29 16:04:03.000000000 +0200 ++++ Makefile.am 2013-06-21 19:58:35.000000000 +0200 @@ -6,6 +6,9 @@ xsessiondir=$(xsesspath) xsession_DATA = LXDE.desktop Modified: head/misc/lxde-common/files/patch-Makefile-in ============================================================================== --- head/misc/lxde-common/files/patch-Makefile-in Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/files/patch-Makefile-in Sat Jun 22 11:44:56 2013 (r321566) @@ -1,5 +1,5 @@ ---- Makefile.in.o 2012-03-09 15:48:58.000000000 -0500 -+++ Makefile.in 2012-03-09 15:51:53.000000000 -0500 +--- Makefile.in.orig 2011-07-29 16:12:19.000000000 +0200 ++++ Makefile.in 2013-06-21 21:33:42.000000000 +0200 @@ -79,7 +79,7 @@ "$(DESTDIR)$(imagesdir)" "$(DESTDIR)$(lxpaneldir)" \ "$(DESTDIR)$(lxpanel_paneldir)" "$(DESTDIR)$(openboxdir)" \ @@ -18,7 +18,7 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ -@@ -214,12 +214,15 @@ +@@ -214,14 +214,17 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xsesspath = @xsesspath@ @@ -32,9 +32,22 @@ +xdgdir = $(xdgpath) +xdg_DATA = lxde-logout.desktop defaultsdir = $(sysconfdir)/xdg/lxsession/LXDE - defaults_DATA = autostart desktop.conf +-defaults_DATA = autostart desktop.conf ++defaults_DATA = autostart wallpapersdir = $(datadir)/lxde/wallpapers -@@ -508,6 +511,26 @@ + wallpapers_DATA = \ + wallpapers/lxde_blue.jpg \ +@@ -243,8 +246,7 @@ + openbox/menu.xml + + pcmanfmdir = $(sysconfdir)/xdg/pcmanfm/LXDE +-pcmanfm_DATA = \ +- pcmanfm/pcmanfm.conf ++pcmanfm_DATA = + + EXTRA_DIST = \ + autostart \ +@@ -508,6 +510,26 @@ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(xsessiondir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(xsessiondir)" && rm -f $$files @@ -61,7 +74,7 @@ # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. -@@ -824,7 +847,7 @@ +@@ -824,7 +846,7 @@ all-am: Makefile $(SCRIPTS) $(DATA) installdirs: installdirs-recursive installdirs-am: @@ -70,7 +83,7 @@ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive -@@ -877,7 +900,7 @@ +@@ -877,7 +899,7 @@ install-data-am: install-defaultsDATA install-imagesDATA \ install-lxpanelDATA install-lxpanel_panelDATA \ install-openboxDATA install-pcmanfmDATA install-wallpapersDATA \ @@ -79,7 +92,7 @@ install-dvi: install-dvi-recursive -@@ -927,7 +950,7 @@ +@@ -927,7 +949,7 @@ uninstall-imagesDATA uninstall-lxpanelDATA \ uninstall-lxpanel_panelDATA uninstall-openboxDATA \ uninstall-pcmanfmDATA uninstall-wallpapersDATA \ @@ -88,7 +101,7 @@ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive -@@ -945,7 +968,7 @@ +@@ -945,7 +967,7 @@ install-info-am install-lxpanelDATA install-lxpanel_panelDATA \ install-man install-openboxDATA install-pcmanfmDATA \ install-pdf install-pdf-am install-ps install-ps-am \ @@ -97,7 +110,7 @@ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ -@@ -953,7 +976,7 @@ +@@ -953,7 +975,7 @@ uninstall-defaultsDATA uninstall-imagesDATA \ uninstall-lxpanelDATA uninstall-lxpanel_panelDATA \ uninstall-openboxDATA uninstall-pcmanfmDATA \ Modified: head/misc/lxde-common/files/patch-configure ============================================================================== --- head/misc/lxde-common/files/patch-configure Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/files/patch-configure Sat Jun 22 11:44:56 2013 (r321566) @@ -1,5 +1,5 @@ ---- configure.orig 2011-07-29 10:12:19.000000000 -0400 -+++ configure 2012-03-09 16:08:37.000000000 -0500 +--- configure.orig 2011-07-29 16:12:19.000000000 +0200 ++++ configure 2013-06-21 20:48:19.000000000 +0200 @@ -568,6 +568,7 @@ XMLCATALOG XML_CATALOG_FILE Modified: head/misc/lxde-common/files/patch-configure-ac ============================================================================== --- head/misc/lxde-common/files/patch-configure-ac Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/files/patch-configure-ac Sat Jun 22 11:44:56 2013 (r321566) @@ -1,5 +1,5 @@ ---- configure.ac.orig 2011-07-29 10:04:03.000000000 -0400 -+++ configure.ac 2012-03-09 16:09:36.000000000 -0500 +--- configure.ac.orig 2011-07-29 16:04:03.000000000 +0200 ++++ configure.ac 2013-06-21 21:11:18.000000000 +0200 @@ -23,6 +23,15 @@ [xsesspath="\${datarootdir}/xsessions"]) AC_SUBST(xsesspath) Modified: head/misc/lxde-common/pkg-descr ============================================================================== --- head/misc/lxde-common/pkg-descr Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/pkg-descr Sat Jun 22 11:44:56 2013 (r321566) @@ -1,3 +1,3 @@ LXDE Common files including startup and logout scripts. -WWW: http://lxde.org/ +WWW: http://lxde.org/ Modified: head/misc/lxde-common/pkg-plist ============================================================================== --- head/misc/lxde-common/pkg-plist Sat Jun 22 11:14:34 2013 (r321565) +++ head/misc/lxde-common/pkg-plist Sat Jun 22 11:44:56 2013 (r321566) @@ -1,9 +1,13 @@ 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 +@unexec if cmp -s %D/etc/xdg/lxsession/LXDE/desktop.conf %D/etc/xdg/lxsession/LXDE/desktop.conf.sample; then rm -f %D/etc/xdg/lxsession/LXDE/desktop.conf; fi +etc/xdg/lxsession/LXDE/desktop.conf.sample +@exec if [ ! -f %D/etc/xdg/lxsession/LXDE/desktop.conf ] ; then cp -p %D/%F %B/desktop.conf; fi +@unexec if cmp -s %D/etc/xdg/pcmanfm/LXDE/pcmanfm.conf %D/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample; then rm -f %D/etc/xdg/pcmanfm/LXDE/pcmanfm.conf; fi +etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample +@exec if [ ! -f %D/etc/xdg/pcmanfm/LXDE/pcmanfm.conf ] ; then cp -p %D/%F %B/pcmanfm.conf; fi share/applications/lxde-logout.desktop share/lxde/images/logout-banner.png share/lxde/images/lxde-icon.png @@ -15,11 +19,7 @@ share/lxde/wallpapers/lxde_red.jpg 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 +28,8 @@ share/xsessions/LXDE.desktop @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 +@dirrmtry etc/xdg/lxsession/LXDE +@dirrmtry etc/xdg/lxsession