mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
- 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
This commit is contained in:
parent
baa64d0a6e
commit
6e5d381748
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307253
@ -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
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_GNOME= gtk20
|
||||
INSTALLS_ICONS= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-inotify
|
||||
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
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
|
||||
|
||||
OPTIONS_DEFINE= XINERAMA
|
||||
OPTIONS_DEFAULT= XINERAMA
|
||||
OPTIONS_DEFAULT=XINERAMA
|
||||
|
||||
USE_GETTEXT= yes
|
||||
USE_ICONV= yes
|
||||
USE_GNOME= gtk20
|
||||
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
|
||||
xrandr xrender
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-inotify
|
||||
INSTALLS_ICONS= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- src/Thumbview.cc.orig 2010-07-31 08:36:07.000000000 +0200
|
||||
+++ src/Thumbview.cc 2010-07-31 08:36:33.000000000 +0200
|
||||
@@ -745,6 +745,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#endif
|
||||
+
|
||||
void Thumbview::set_current_display_mode(DisplayMode newmode)
|
||||
{
|
||||
remove();
|
||||
@@ -776,4 +778,3 @@
|
||||
signal_selected(path);
|
||||
}
|
||||
|
||||
-#endif
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user