ports/163927: [UPDATE] graphics/ristretto

Olivier Duchateau duchateau.olivier at gmail.com
Sun Jan 8 17:00:32 UTC 2012


>Number:         163927
>Category:       ports
>Synopsis:       [UPDATE] graphics/ristretto
>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:   Sun Jan 08 17:00:31 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
This port becomes a "meta-port", because Ristretto exists in three versions.

Below slaves ports:
- ristretto01 -> 0.1.4 (default)
- ristretto02 -> 0.2.3
- ristretto03 -> 0.3.0

Note: on my FreeBSD box Ristretto (0.1.4 and 0.2.3) not work fine.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/graphics/ristretto/Makefile ristretto/Makefile
--- /usr/ports/graphics/ristretto/Makefile	2011-10-26 22:27:20.000000000 +0200
+++ ristretto/Makefile	2012-01-08 15:19:40.000000000 +0100
@@ -6,31 +6,14 @@
 #
 
 PORTNAME=	ristretto
-PORTVERSION=	0.0.93
 CATEGORIES=	graphics xfce
-MASTER_SITES=	${MASTER_SITE_XFCE}
-MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
-DIST_SUBDIR=	xfce4
+MASTER_SITES=	# empty
+MASTER_SITE_SUBDIR=	# empty
+DIST_SUBDIR=	# empty
 
 MAINTAINER=	xfce at FreeBSD.org
 COMMENT=	An image viewer with Xfce integration
 
-LIB_DEPENDS=	exif.12:${PORTSDIR}/graphics/libexif \
-		dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
-		cairo.2:${PORTSDIR}/graphics/cairo
+MASTERDIR=	${.CURDIR}/../ristretto01
 
-USE_BZIP2=	yes
-GNU_CONFIGURE=	yes
-USE_GNOME=	gnomehack gtk20 glib20 intltool intlhack desktopfileutils pkgconfig
-USE_GMAKE=	yes
-INSTALLS_ICONS=	yes
-USE_GETTEXT=	yes
-USE_XFCE=	configenv libmenu libutil xfconf
-
-post-patch:
-	@${REINPLACE_CMD} -e 's| docs||' ${WRKSRC}/Makefile.in
-
-post-install:
-	@-update-desktop-database
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
Only in /usr/ports/graphics/ristretto/: distinfo
diff -u /usr/ports/graphics/ristretto/pkg-plist ristretto/pkg-plist
--- /usr/ports/graphics/ristretto/pkg-plist	2011-03-17 14:13:14.000000000 +0100
+++ ristretto/pkg-plist	2012-01-08 15:19:40.000000000 +0100
@@ -1,55 +0,0 @@
-bin/ristretto
-share/applications/ristretto.desktop
-share/icons/hicolor/16x16/apps/ristretto.png
-share/icons/hicolor/22x22/apps/ristretto.png
-share/icons/hicolor/24x24/apps/ristretto.png
-share/icons/hicolor/32x32/apps/ristretto.png
-share/icons/hicolor/36x36/apps/ristretto.png
-share/icons/hicolor/48x48/apps/ristretto.png
-share/icons/hicolor/scalable/apps/ristretto.svg
-share/locale/ar/LC_MESSAGES/ristretto.mo
-share/locale/ast/LC_MESSAGES/ristretto.mo
-share/locale/bg/LC_MESSAGES/ristretto.mo
-share/locale/ca/LC_MESSAGES/ristretto.mo
-share/locale/cs/LC_MESSAGES/ristretto.mo
-share/locale/da/LC_MESSAGES/ristretto.mo
-share/locale/de/LC_MESSAGES/ristretto.mo
-share/locale/el/LC_MESSAGES/ristretto.mo
-share/locale/en_GB/LC_MESSAGES/ristretto.mo
-share/locale/es/LC_MESSAGES/ristretto.mo
-share/locale/eu/LC_MESSAGES/ristretto.mo
-share/locale/fi/LC_MESSAGES/ristretto.mo
-share/locale/fr/LC_MESSAGES/ristretto.mo
-share/locale/gl/LC_MESSAGES/ristretto.mo
-share/locale/hr/LC_MESSAGES/ristretto.mo
-share/locale/hu/LC_MESSAGES/ristretto.mo
-share/locale/id/LC_MESSAGES/ristretto.mo
-share/locale/it/LC_MESSAGES/ristretto.mo
-share/locale/ja/LC_MESSAGES/ristretto.mo
-share/locale/lv/LC_MESSAGES/ristretto.mo
-share/locale/nb/LC_MESSAGES/ristretto.mo
-share/locale/nl/LC_MESSAGES/ristretto.mo
-share/locale/pl/LC_MESSAGES/ristretto.mo
-share/locale/pt/LC_MESSAGES/ristretto.mo
-share/locale/pt_BR/LC_MESSAGES/ristretto.mo
-share/locale/ro/LC_MESSAGES/ristretto.mo
-share/locale/ru/LC_MESSAGES/ristretto.mo
-share/locale/sk/LC_MESSAGES/ristretto.mo
-share/locale/sv/LC_MESSAGES/ristretto.mo
-share/locale/tr/LC_MESSAGES/ristretto.mo
-share/locale/ug/LC_MESSAGES/ristretto.mo
-share/locale/uk/LC_MESSAGES/ristretto.mo
-share/locale/ur/LC_MESSAGES/ristretto.mo
-share/locale/ur_PK/LC_MESSAGES/ristretto.mo
-share/locale/vi/LC_MESSAGES/ristretto.mo
-share/locale/zh_CN/LC_MESSAGES/ristretto.mo
- at dirrmtry share/locale/ur_PK/LC_MESSAGES
- at dirrmtry share/locale/ur_PK
- at dirrmtry share/locale/ur/LC_MESSAGES
- at dirrmtry share/locale/ur
- at dirrmtry share/locale/ug/LC_MESSAGES
- at dirrmtry share/locale/ug
- at dirrmtry share/locale/ast/LC_MESSAGES
- at dirrmtry share/locale/ast
- at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list