Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2008 21:51:30 +0200 (CEST)
From:      Marcus von Appen <mva@sysfault.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122426: [Maintainer-Update] x11-fm/emelfm2: update to 0.4
Message-ID:  <200804031951.m33JpUo4042669@medusa.sysfault.org>
Resent-Message-ID: <200804032000.m33K0Aqn031132@freefall.freebsd.org>

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

>Number:         122426
>Category:       ports
>Synopsis:       [Maintainer-Update] x11-fm/emelfm2: update to 0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 20:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar  1 13:47:43 CET
>Description:
- Update to 0.4

Added file(s):
- files/patch-e2_complete__path.c
- files/patch-plugins_e2p_crypt.c

Removed file(s):
- files/patch-e2_fileview.h

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- emelfm2-0.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/Makefile /usr/ports/x11-fm/emelfm2.new/Makefile
--- /usr/ports/x11-fm/emelfm2/Makefile	2008-03-24 18:02:22.000000000 +0100
+++ /usr/ports/x11-fm/emelfm2.new/Makefile	2008-04-03 09:42:11.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	emelfm2
-PORTVERSION=	0.3.5
-PORTREVISION=	1
+PORTVERSION=	0.4
 CATEGORIES=	x11-fm
 MASTER_SITES=	http://emelfm2.net/rel/
 
@@ -29,6 +28,7 @@
 		FAM	"Enable FAM for file monitoring" off \
 		THUMB	"Enable the thumbnail plugin" off \
 		TRACKER	"Enable the tracker plugin" off \
+		HAL	"Enable HAL support" off \
 		NLS	"Enable gettext support" on
 
 .include <bsd.port.pre.mk>
@@ -76,6 +76,11 @@
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+.if defined (WITH_HAL)
+MAKE_ENV +=	WITH_HAL=1
+LIB_DEPENDS+=	hal.1:${PORTSDIR}/sysutils/hal
+.endif
+
 .if ${OSVERSION} < 600000
 post-patch:
 	@${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/distinfo /usr/ports/x11-fm/emelfm2.new/distinfo
--- /usr/ports/x11-fm/emelfm2/distinfo	2007-07-28 21:09:27.000000000 +0200
+++ /usr/ports/x11-fm/emelfm2.new/distinfo	2008-04-03 09:38:49.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (emelfm2-0.3.5.tar.gz) = 4f5a065a7d35371a920533153f24e362
-SHA256 (emelfm2-0.3.5.tar.gz) = 8eeacc5dad3fcb562bde6b8817c4beee3ec2354d1f5f38ec4bd656f0bf9d0b0a
-SIZE (emelfm2-0.3.5.tar.gz) = 1081106
+MD5 (emelfm2-0.4.tar.gz) = 0242f340b642d7de2c09ccc8963e3135
+SHA256 (emelfm2-0.4.tar.gz) = 074be06f816460b2467cbad6e54beec39e110940942fc98df6225b7b05c4467c
+SIZE (emelfm2-0.4.tar.gz) = 1143199
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/files/patch-Makefile /usr/ports/x11-fm/emelfm2.new/files/patch-Makefile
--- /usr/ports/x11-fm/emelfm2/files/patch-Makefile	2007-07-28 21:09:27.000000000 +0200
+++ /usr/ports/x11-fm/emelfm2.new/files/patch-Makefile	2008-04-03 21:27:36.000000000 +0200
@@ -1,5 +1,5 @@
---- Makefile.orig	Sat Jul 28 10:40:12 2007
-+++ Makefile	Sat Jul 28 10:42:14 2007
+--- Makefile.orig	2008-02-09 23:22:11.000000000 +0100
++++ Makefile	2008-04-03 21:27:21.000000000 +0200
 @@ -56,7 +56,7 @@
  
  #these are only used here for installation purposes
@@ -9,16 +9,15 @@
  #as well as usage here, all in-code uses of these is assumed localised
  ifeq ($(DOCS_VERSION), 1)
  DOC_DIR = $(PREFIX)/share/doc/$(TARGET)-$(VERSION)
-@@ -203,7 +203,7 @@
- 
- lLDFLAGS = $(LDFLAGS)
- # -lrt needed for clock_gettime()
--lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) -lrt
-+lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0)
- ifeq ($(USE_FAM),1)
- lLIBS += -lfam
+@@ -234,6 +234,7 @@
+ lLIBS += -lacl
+ endif
+ ifeq ($(WITH_HAL),1)
++lCFLAGS += $(shell pkg-config --cflags dbus-1 dbus-glib-1 hal hal-storage)
+ lLIBS += $(shell pkg-config --libs dbus-1 dbus-glib-1 hal hal-storage)
  endif
-@@ -221,10 +221,10 @@
+ # for vfs & gvfs development
+@@ -246,10 +247,10 @@
  endif
  # should not need translation
  OPSYS := $(shell uname)
@@ -31,13 +30,5 @@
 +#lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi)
 +#endif
  
- #for gvfs development
- ifeq ($(WITH_GVFS),1)
-@@ -254,7 +254,6 @@
- 	done
- 	@install -d $(MAN_DIR)
- 	@install -m 644 docs/$(TARGET).1 $(MAN_DIR);
--	@bzip2 -f $(MAN_DIR)/$(TARGET).1;
- 
- ifeq ($(XDG_INTEGRATION), 1)
- 		@install -d $(XDG_DESKTOP_DIR)
+ .PHONY: all plugins install install_plugins uninstall uninstall_plugins doc \
+         clean deps marshals gettext i18n install_i18n uninstall_i18n \
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/files/patch-e2_complete__path.c /usr/ports/x11-fm/emelfm2.new/files/patch-e2_complete__path.c
--- /usr/ports/x11-fm/emelfm2/files/patch-e2_complete__path.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/x11-fm/emelfm2.new/files/patch-e2_complete__path.c	2008-04-03 15:44:54.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/command/complete/e2_complete__path.c	2008-03-22 03:58:43.000000000 +0100
++++ src/command/complete/e2_complete__path.c	2008-04-03 15:15:09.000000000 +0200
+@@ -147,7 +147,7 @@
+ 	{
+ 		gchar *p1, *p2, *localpath;
+ 		p1 = g_utf8_next_char (strrchr (word, G_DIR_SEPARATOR));	//the 'real' word to complete
+-		p2 = strndup (word, p1 - word);	//prefix for matches
++		p2 = g_strndup (word, p1 - word);	//prefix for matches
+ 		if (word[0] == G_DIR_SEPARATOR)
+ 		{	//word is an absolute path string
+ 			localpath = F_FILENAME_TO_LOCALE (p2);
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/files/patch-e2_fileview.h /usr/ports/x11-fm/emelfm2.new/files/patch-e2_fileview.h
--- /usr/ports/x11-fm/emelfm2/files/patch-e2_fileview.h	2007-08-05 23:28:25.000000000 +0200
+++ /usr/ports/x11-fm/emelfm2.new/files/patch-e2_fileview.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- src/e2_fileview.h.orig	Sat Nov  4 14:39:08 2006
-+++ src/e2_fileview.h	Sat Nov  4 14:39:26 2006
-@@ -21,6 +21,7 @@
- #ifndef E2_FILEVIEW_H
- #define E2_FILEVIEW_H
- 
-+#include <pthread.h>
- #include "emelfm2.h"
- 
- #ifdef E2_VFS
-
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/files/patch-plugins_e2p_crypt.c /usr/ports/x11-fm/emelfm2.new/files/patch-plugins_e2p_crypt.c
--- /usr/ports/x11-fm/emelfm2/files/patch-plugins_e2p_crypt.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/x11-fm/emelfm2.new/files/patch-plugins_e2p_crypt.c	2008-04-03 15:46:19.000000000 +0200
@@ -0,0 +1,20 @@
+--- plugins/e2p_crypt.c.orig	2007-11-22 22:23:11.000000000 +0100
++++ plugins/e2p_crypt.c	2008-04-03 15:45:48.000000000 +0200
+@@ -1545,7 +1545,7 @@
+ 	{
+ 		sep = strchr (execpath, ':');	//ascii scan ok
+ 		if (sep != NULL)
+-			execpath = strndup (execpath, sep-execpath);
++			execpath = g_strndup (execpath, sep-execpath);
+ 		//FIXME preserve execpath so that later members can be used
+ 	}
+ #ifdef E2_VFS
+@@ -1849,7 +1849,7 @@
+ 		}
+ 	}
+ 
+-	fdatasync (fdesc);
++	fsync (fdesc);
+ 
+ 	retval = TRUE;
+ cleanup:
diff -ruN --exclude=CVS /usr/ports/x11-fm/emelfm2/pkg-plist /usr/ports/x11-fm/emelfm2.new/pkg-plist
--- /usr/ports/x11-fm/emelfm2/pkg-plist	2007-05-27 21:49:38.000000000 +0200
+++ /usr/ports/x11-fm/emelfm2.new/pkg-plist	2008-04-03 21:30:31.000000000 +0200
@@ -2,6 +2,7 @@
 lib/emelfm2/plugins/e2p_clone.so
 lib/emelfm2/plugins/e2p_config.so
 lib/emelfm2/plugins/e2p_cpbar.so
+lib/emelfm2/plugins/e2p_crypt.so
 lib/emelfm2/plugins/e2p_dircmp.so
 lib/emelfm2/plugins/e2p_du.so
 lib/emelfm2/plugins/e2p_find.so
@@ -10,7 +11,7 @@
 lib/emelfm2/plugins/e2p_mvbar.so
 lib/emelfm2/plugins/e2p_names_clip.so
 lib/emelfm2/plugins/e2p_pack.so
-lib/emelfm2/plugins/e2p_rename_ext.so
+lib/emelfm2/plugins/e2p_rename.so
 lib/emelfm2/plugins/e2p_sort_by_ext.so
 lib/emelfm2/plugins/e2p_times.so
 %%TRACKER%%lib/emelfm2/plugins/e2p_track.so
@@ -67,6 +68,7 @@
 share/pixmaps/emelfm2/plugin_clone_48.png
 share/pixmaps/emelfm2/plugin_config_48.png
 share/pixmaps/emelfm2/plugin_copy_48.png
+share/pixmaps/emelfm2/plugin_crypt_48.png
 share/pixmaps/emelfm2/plugin_dircmp_48.png
 share/pixmaps/emelfm2/plugin_du_48.png
 share/pixmaps/emelfm2/plugin_extsort_48.png
--- emelfm2-0.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?200804031951.m33JpUo4042669>