Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 22:01:27 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307253 - in head/sysutils/nitrogen: . files
Message-ID:  <201211092201.qA9M1S4o066453@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov  9 22:01:27 2012
New Revision: 307253
URL: http://svnweb.freebsd.org/changeset/ports/307253

Log:
  - Update to version 1.5.2
  - Convert to optionsNG
  - Mark MAKE_JOBS_SAFE
  - Update projects homepage
  
  While I'm here:
  - Add missing deps
  - Install desktop entry file
  
  PR:		ports/172068
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Deleted:
  head/sysutils/nitrogen/files/patch-src-Thumbview.cc
Modified:
  head/sysutils/nitrogen/Makefile
  head/sysutils/nitrogen/distinfo
  head/sysutils/nitrogen/files/patch-data-icon-theme-installer
  head/sysutils/nitrogen/pkg-descr
  head/sysutils/nitrogen/pkg-plist

Modified: head/sysutils/nitrogen/Makefile
==============================================================================
--- head/sysutils/nitrogen/Makefile	Fri Nov  9 21:57:37 2012	(r307252)
+++ head/sysutils/nitrogen/Makefile	Fri Nov  9 22:01:27 2012	(r307253)
@@ -2,43 +2,65 @@
 # $FreeBSD$
 
 PORTNAME=	nitrogen
-PORTVERSION=	1.5.1
-PORTREVISION=	1
+PORTVERSION=	1.5.2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://projects.l3ib.org/nitrogen/files/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Background browser and setter for X windows
 
+LICENSE=	GPLv2 # (or later)
+
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
-LIB_DEPENDS=	gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
-RUN_DEPENDS=	${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
-		${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
+LIB_DEPENDS=	atkmm:${PORTSDIR}/accessibility/atkmm \
+		glibmm:${PORTSDIR}/devel/glibmm \
+		pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
+		sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
+		pcre:${PORTSDIR}/devel/pcre \
+		cairo:${PORTSDIR}/graphics/cairo \
+		cairomm:${PORTSDIR}/graphics/cairomm \
+		png15:${PORTSDIR}/graphics/png \
+		freetype:${PORTSDIR}/print/freetype2 \
+		expat:${PORTSDIR}/textproc/expat2 \
+		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
+		gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
+		pangomm:${PORTSDIR}/x11-toolkits/pangomm \
+		xcb:${PORTSDIR}/x11/libxcb
+RUN_DEPENDS=	gnome-icon-theme>0:${PORTSDIR}/misc/gnome-icon-theme \
+		hicolor-icon-theme>0:${PORTSDIR}/misc/hicolor-icon-theme
 
-LICENSE=	GPLv2
+OPTIONS_DEFINE=	XINERAMA
+OPTIONS_DEFAULT=XINERAMA
 
+USE_GETTEXT=	yes
+USE_ICONV=	yes
 USE_GNOME=	gtk20
-INSTALLS_ICONS=	yes
+USE_XORG=	pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
+		xrandr xrender
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-inotify
-CXXFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
+INSTALLS_ICONS=	yes
+MAKE_JOBS_SAFE=	yes
 
-OPTIONS_DEFINE=	XINERAMA
-OPTIONS_DEFAULT=	XINERAMA
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		nitrogen.1
 
+DESKTOP_ENTRIES="Nitrogen" "${COMMENT}" "${PORTNAME}.png" "${PORTNAME}" \
+		"Graphics;Viewer;" true
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MXINERAMA}
-CONFIGURE_ARGS+=--enable-xinerama
 USE_XORG+=	xinerama
+CONFIGURE_ARGS+=--enable-xinerama
 .else
 CONFIGURE_ARGS+=--disable-xinerama
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
 		${WRKSRC}/data/icon-theme-installer
 
 .include <bsd.port.mk>

Modified: head/sysutils/nitrogen/distinfo
==============================================================================
--- head/sysutils/nitrogen/distinfo	Fri Nov  9 21:57:37 2012	(r307252)
+++ head/sysutils/nitrogen/distinfo	Fri Nov  9 22:01:27 2012	(r307253)
@@ -1,2 +1,2 @@
-SHA256 (nitrogen-1.5.1.tar.gz) = 10b0c84c5c98a4c27bfad60588af0648756542793e380b58c67111b62a88c16f
-SIZE (nitrogen-1.5.1.tar.gz) = 300606
+SHA256 (nitrogen-1.5.2.tar.gz) = 60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2
+SIZE (nitrogen-1.5.2.tar.gz) = 307356

Modified: head/sysutils/nitrogen/files/patch-data-icon-theme-installer
==============================================================================
--- head/sysutils/nitrogen/files/patch-data-icon-theme-installer	Fri Nov  9 21:57:37 2012	(r307252)
+++ head/sysutils/nitrogen/files/patch-data-icon-theme-installer	Fri Nov  9 22:01:27 2012	(r307253)
@@ -1,5 +1,11 @@
---- data/icon-theme-installer.orig	Sun Dec 31 16:59:08 2006
-+++ data/icon-theme-installer	Tue Jul  3 21:45:35 2007
+--- data/icon-theme-installer.orig	2007-08-07 07:20:48.000000000 +0900
++++ data/icon-theme-installer	2012-09-25 01:26:45.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!%%LOCALBASE%%/bin/bash
+ 
+ # icon-theme-installer
+ # Copyright (C) 2006 Novell, Inc.
 @@ -101,12 +101,12 @@
  	exit 1
  fi

Modified: head/sysutils/nitrogen/pkg-descr
==============================================================================
--- head/sysutils/nitrogen/pkg-descr	Fri Nov  9 21:57:37 2012	(r307252)
+++ head/sysutils/nitrogen/pkg-descr	Fri Nov  9 22:01:27 2012	(r307253)
@@ -1,4 +1,4 @@
 Nitrogen is a background browser and setter for X windows. It is written
 in C++ using the gtkmm toolkit.
 
-WWW: http://l3ib.org/nitrogen
+WWW: http://projects.l3ib.org/nitrogen

Modified: head/sysutils/nitrogen/pkg-plist
==============================================================================
--- head/sysutils/nitrogen/pkg-plist	Fri Nov  9 21:57:37 2012	(r307252)
+++ head/sysutils/nitrogen/pkg-plist	Fri Nov  9 22:01:27 2012	(r307253)
@@ -1,12 +1,12 @@
 bin/nitrogen
 share/icons/hicolor/128x128/apps/nitrogen.png
-share/icons/hicolor/16x16/apps/nitrogen.png
-share/icons/hicolor/22x22/apps/nitrogen.png
-share/icons/hicolor/32x32/apps/nitrogen.png
-share/icons/hicolor/48x48/apps/nitrogen.png
-share/icons/hicolor/16x16/devices/video-display.png
 share/icons/hicolor/16x16/actions/wallpaper-centered.png
 share/icons/hicolor/16x16/actions/wallpaper-scaled.png
 share/icons/hicolor/16x16/actions/wallpaper-tiled.png
 share/icons/hicolor/16x16/actions/wallpaper-zoomed.png
+share/icons/hicolor/16x16/apps/nitrogen.png
+share/icons/hicolor/16x16/devices/video-display.png
 share/icons/hicolor/16x16/mimetypes/image-x-generic.png
+share/icons/hicolor/22x22/apps/nitrogen.png
+share/icons/hicolor/32x32/apps/nitrogen.png
+share/icons/hicolor/48x48/apps/nitrogen.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211092201.qA9M1S4o066453>