View | Details | Raw Unified | Return to bug 175099
Collapse All | Expand All

(-)./Makefile (-12 / +13 lines)
Lines 1-33 Link Here
1
# New ports collection makefile for:	x11-fm/libfm
1
# Created by: Kris Moore <kmoore@freebsd.org>
2
# Date created:				23 Sept 2010
3
# Whom:					Kris Moore <kmoore@freebsd.org>
4
#
5
# $FreeBSD: head/x11/libfm/Makefile 303720 2012-09-05 19:19:44Z kmoore $
2
# $FreeBSD: head/x11/libfm/Makefile 303720 2012-09-05 19:19:44Z kmoore $
6
#
7
3
8
PORTNAME=	libfm
4
PORTNAME=	libfm
9
PORTVERSION=	1.0
5
PORTVERSION=	1.1.0
10
CATEGORIES=	x11
6
CATEGORIES=	x11
11
MASTER_SITES=	SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
7
MASTER_SITES=	SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/
12
8
13
MAINTAINER=	kmoore@FreeBSD.org
9
MAINTAINER=	kmoore@FreeBSD.org
14
COMMENT=	The libFM backend library to PCManFM
10
COMMENT=	The libFM backend library to PCManFM
15
11
12
LICENSE=	GPLv2
13
16
LIB_DEPENDS=	startup-notification-1:${PORTSDIR}/x11/startup-notification \
14
LIB_DEPENDS=	startup-notification-1:${PORTSDIR}/x11/startup-notification \
17
		menu-cache.1:${PORTSDIR}/x11/menu-cache
15
		menu-cache.1:${PORTSDIR}/x11/menu-cache
18
16
19
USE_GNOME=	gnomehack gtk20 pkgconfig
17
USE_GNOME=	gnomehack gtk20
20
USE_AUTOTOOLS=	libtool
18
USE_AUTOTOOLS=	libtool
21
USE_GMAKE=	yes
19
USE_GMAKE=	yes
22
USE_FAM=	yes
20
USE_FAM=	yes
23
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_PKGCONFIG=	yes
24
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
25
LDFLAGS+=	-L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
26
CONFIGURE_ARGS+=--prefix=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc
25
CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc
27
26
28
MAN1=		libfm-pref-apps.1
27
MAN1=		libfm-pref-apps.1
29
28
30
.if !defined(WITHOUT_NLS)
29
OPTIONS_DEFINE=	NLS
30
31
.include <bsd.port.options.mk>
32
33
.if ${PORT_OPTIONS:MNLS}
31
USE_GETTEXT=	yes
34
USE_GETTEXT=	yes
32
PLIST_SUB+=	NLS=""
35
PLIST_SUB+=	NLS=""
33
.else
36
.else
Lines 35-42 Link Here
35
PLIST_SUB+=	NLS="@comment "
38
PLIST_SUB+=	NLS="@comment "
36
.endif
39
.endif
37
40
38
.include <bsd.port.pre.mk>
39
40
post-patch:
41
post-patch:
41
	@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
42
	@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
42
		${WRKSRC}/src/Makefile.in
43
		${WRKSRC}/src/Makefile.in
Lines 47-50 Link Here
47
pre-install:
48
pre-install:
48
	cd ${WRKDIR}/libfm-${PORTVERSION} && ${CHMOD} 755 install-sh
49
	cd ${WRKDIR}/libfm-${PORTVERSION} && ${CHMOD} 755 install-sh
49
50
50
.include <bsd.port.post.mk>
51
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libfm-1.0.tar.gz) = 317ea0b92136bf1791d91261125f8e4b461c4c93a468babf7bdb919d62f7e502
1
SHA256 (libfm-1.1.0.tar.gz) = b9426e588670b53570b808c49abd1d103863614dd3622559b8c3ef1392fe0b3d
2
SIZE (libfm-1.0.tar.gz) = 1051268
2
SIZE (libfm-1.1.0.tar.gz) = 1077445
(-)./files/patch-configure (-2 / +2 lines)
Lines 1-6 Link Here
1
--- configure.o	2012-09-06 10:00:49.687508071 -0400
1
--- configure.orig	2012-09-06 10:00:49.687508071 -0400
2
+++ configure	2012-09-06 10:01:00.168508809 -0400
2
+++ configure	2012-09-06 10:01:00.168508809 -0400
3
@@ -11822,7 +11822,7 @@
3
@@ -12491,7 +12491,7 @@
4
   ;;
4
   ;;
5
 esac
5
 esac
6
 fi
6
 fi
(-)./files/patch-src_gtk_fm-app-menu-view.c (-12 lines)
Lines 1-12 Link Here
1
--- src/gtk/fm-app-menu-view.c.o	2011-09-19 11:53:52.000000000 -0400
2
+++ src/gtk/fm-app-menu-view.c	2011-09-19 11:54:35.000000000 -0400
3
@@ -136,7 +136,8 @@
4
         oldenv = g_strdup(g_getenv("XDG_MENU_PREFIX"));
5
         g_setenv("XDG_MENU_PREFIX", "lxde-", TRUE);
6
         menu_cache = menu_cache_lookup("applications.menu");
7
-        g_setenv("XDG_MENU_PREFIX", oldenv, TRUE);
8
+	// Causing crashes when using "OpenWith" menus
9
+        //g_setenv("XDG_MENU_PREFIX", oldenv, TRUE);
10
         g_free(oldenv);
11
 
12
         if(menu_cache)
(-)./files/patch-src_job_fm-file-ops-job.c (-11 lines)
Lines 1-11 Link Here
1
--- src/job/fm-file-ops-job.c.orig	2012-09-05 14:01:38.265086278 -0400
2
+++ src/job/fm-file-ops-job.c	2012-09-05 14:01:52.454076353 -0400
3
@@ -537,7 +537,7 @@
4
     }
5
 
6
     job->total = fm_path_list_get_length(job->srcs);
7
-    g_debug("total files to link: %lu", (ulong)job->total);
8
+    g_debug("total files to link: %lu", (unsigned long)job->total);
9
 
10
     fm_file_ops_job_emit_prepared(job);
11
 
(-)./pkg-plist (-159 / +77 lines)
Lines 1-146 Link Here
1
bin/libfm-pref-apps
1
bin/libfm-pref-apps
2
etc/xdg/libfm/libfm.conf
2
include/libfm
3
etc/xdg/libfm/pref-apps.conf
3
include/libfm-1.0/fm-actions.h
4
include/libfm/libfm/fm-actions.h
4
include/libfm-1.0/fm-app-chooser-combo-box.h
5
include/libfm/libfm/fm-app-chooser-combo-box.h
5
include/libfm-1.0/fm-app-chooser-dlg.h
6
include/libfm/libfm/fm-app-chooser-dlg.h
6
include/libfm-1.0/fm-app-info.h
7
include/libfm/libfm/fm-app-menu-view.h
7
include/libfm-1.0/fm-app-menu-view.h
8
include/libfm/libfm/fm-app-info.h
8
include/libfm-1.0/fm-archiver.h
9
include/libfm/libfm/fm-archiver.h
9
include/libfm-1.0/fm-bookmarks.h
10
include/libfm/libfm/fm-bookmarks.h
10
include/libfm-1.0/fm-cell-renderer-pixbuf.h
11
include/libfm/libfm/fm-cell-renderer-pixbuf.h
11
include/libfm-1.0/fm-cell-renderer-text.h
12
include/libfm/libfm/fm-cell-renderer-text.h
12
include/libfm-1.0/fm-clipboard.h
13
include/libfm/libfm/fm-clipboard.h
13
include/libfm-1.0/fm-config.h
14
include/libfm/libfm/fm-config.h
14
include/libfm-1.0/fm-deep-count-job.h
15
include/libfm/libfm/fm-deep-count-job.h
15
include/libfm-1.0/fm-dir-list-job.h
16
include/libfm/libfm/fm-dir-list-job.h
16
include/libfm-1.0/fm-dir-tree-model.h
17
include/libfm/libfm/fm-dir-tree-model.h
17
include/libfm-1.0/fm-dir-tree-view.h
18
include/libfm/libfm/fm-dir-tree-view.h
18
include/libfm-1.0/fm-dnd-auto-scroll.h
19
include/libfm/libfm/fm-dnd-auto-scroll.h
19
include/libfm-1.0/fm-dnd-dest.h
20
include/libfm/libfm/fm-dnd-dest.h
20
include/libfm-1.0/fm-dnd-src.h
21
include/libfm/libfm/fm-dnd-src.h
21
include/libfm-1.0/fm-dummy-monitor.h
22
include/libfm/libfm/fm-dummy-monitor.h
22
include/libfm-1.0/fm-file-info-job.h
23
include/libfm/libfm/fm-file-info-job.h
23
include/libfm-1.0/fm-file-info.h
24
include/libfm/libfm/fm-file-info.h
24
include/libfm-1.0/fm-file-launcher.h
25
include/libfm/libfm/fm-file-launcher.h
25
include/libfm-1.0/fm-file-menu.h
26
include/libfm/libfm/fm-file-menu.h
26
include/libfm-1.0/fm-file-ops-job-change-attr.h
27
include/libfm/libfm/fm-file-ops-job-change-attr.h
27
include/libfm-1.0/fm-file-ops-job-delete.h
28
include/libfm/libfm/fm-file-ops-job-delete.h
28
include/libfm-1.0/fm-file-ops-job-xfer.h
29
include/libfm/libfm/fm-file-ops-job-xfer.h
29
include/libfm-1.0/fm-file-ops-job.h
30
include/libfm/libfm/fm-file-ops-job.h
30
include/libfm-1.0/fm-file-properties.h
31
include/libfm/libfm/fm-file-properties.h
31
include/libfm-1.0/fm-file.h
32
include/libfm/libfm/fm-folder.h
32
include/libfm-1.0/fm-folder-model.h
33
include/libfm/libfm/fm-folder-model.h
33
include/libfm-1.0/fm-folder-view.h
34
include/libfm/libfm/fm-folder-view.h
34
include/libfm-1.0/fm-folder.h
35
include/libfm/libfm/fm-gtk-file-launcher.h
35
include/libfm-1.0/fm-gtk-file-launcher.h
36
include/libfm/libfm/fm-gtk-marshal.h
36
include/libfm-1.0/fm-gtk-marshal.h
37
include/libfm/libfm/fm-gtk-utils.h
37
include/libfm-1.0/fm-gtk-utils.h
38
include/libfm/libfm/fm-gtk.h
38
include/libfm-1.0/fm-gtk.h
39
include/libfm/libfm/fm-icon-pixbuf.h
39
include/libfm-1.0/fm-icon-pixbuf.h
40
include/libfm/libfm/fm-icon.h
40
include/libfm-1.0/fm-icon.h
41
include/libfm/libfm/fm-job.h
41
include/libfm-1.0/fm-job.h
42
include/libfm/libfm/fm-list.h
42
include/libfm-1.0/fm-list.h
43
include/libfm/libfm/fm-marshal.h
43
include/libfm-1.0/fm-marshal.h
44
include/libfm/libfm/fm-mime-type.h
44
include/libfm-1.0/fm-mime-type.h
45
include/libfm/libfm/fm-monitor.h
45
include/libfm-1.0/fm-monitor.h
46
include/libfm/libfm/fm-nav-history.h
46
include/libfm-1.0/fm-nav-history.h
47
include/libfm/libfm/fm-path-bar.h
47
include/libfm-1.0/fm-path-bar.h
48
include/libfm/libfm/fm-path-entry.h
48
include/libfm-1.0/fm-path-entry.h
49
include/libfm/libfm/fm-path.h
49
include/libfm-1.0/fm-path.h
50
include/libfm/libfm/fm-places-model.h
50
include/libfm-1.0/fm-places-model.h
51
include/libfm/libfm/fm-places-view.h
51
include/libfm-1.0/fm-places-view.h
52
include/libfm/libfm/fm-progress-dlg.h
52
include/libfm-1.0/fm-progress-dlg.h
53
include/libfm/libfm/fm-side-pane.h
53
include/libfm-1.0/fm-side-pane.h
54
include/libfm/libfm/fm-simple-job.h
54
include/libfm-1.0/fm-simple-job.h
55
include/libfm/libfm/fm-tab-label.h
55
include/libfm-1.0/fm-sortable.h
56
include/libfm/libfm/fm-thumbnail.h
56
include/libfm-1.0/fm-standard-view.h
57
include/libfm/libfm/fm-thumbnailer.h
57
include/libfm-1.0/fm-tab-label.h
58
include/libfm/libfm/fm-utils.h
58
include/libfm-1.0/fm-thumbnail.h
59
include/libfm/libfm/fm.h
59
include/libfm-1.0/fm-thumbnailer.h
60
include/libfm-1.0/fm-utils.h
61
include/libfm-1.0/fm.h
60
lib/libfm-gtk.a
62
lib/libfm-gtk.a
61
lib/libfm-gtk.la
63
lib/libfm-gtk.la
62
lib/libfm-gtk.so
64
lib/libfm-gtk.so
63
lib/libfm-gtk.so.3
65
lib/libfm-gtk.so.4
64
lib/libfm.a
66
lib/libfm.a
65
lib/libfm.la
67
lib/libfm.la
66
lib/libfm.so
68
lib/libfm.so
67
lib/libfm.so.3
69
lib/libfm.so.4
68
libdata/pkgconfig/libfm-gtk.pc
70
libdata/pkgconfig/libfm-gtk.pc
71
libdata/pkgconfig/libfm-gtk3.pc
69
libdata/pkgconfig/libfm.pc
72
libdata/pkgconfig/libfm.pc
70
share/applications/libfm-pref-apps.desktop
73
share/applications/libfm-pref-apps.desktop
71
share/gtk-doc/html/libfm/FmBookmarks.html
74
%%DATADIR%%/archivers.list
72
share/gtk-doc/html/libfm/FmCellRendererPixbuf.html
75
%%DATADIR%%/ui/app-chooser.ui
73
share/gtk-doc/html/libfm/FmCellRendererText.html
76
%%DATADIR%%/ui/ask-rename.ui
74
share/gtk-doc/html/libfm/FmConfig.html
77
%%DATADIR%%/ui/exec-file.ui
75
share/gtk-doc/html/libfm/FmDeepCountJob.html
78
%%DATADIR%%/ui/file-prop.ui
76
share/gtk-doc/html/libfm/FmDirListJob.html
79
%%DATADIR%%/ui/filesearch.ui
77
share/gtk-doc/html/libfm/FmDirTreeModel.html
80
%%DATADIR%%/ui/preferred-apps.ui
78
share/gtk-doc/html/libfm/FmDirTreeView.html
81
%%DATADIR%%/ui/progress.ui
79
share/gtk-doc/html/libfm/FmDndDest.html
80
share/gtk-doc/html/libfm/FmDndSrc.html
81
share/gtk-doc/html/libfm/FmDummyMonitor.html
82
share/gtk-doc/html/libfm/FmFileInfoJob.html
83
share/gtk-doc/html/libfm/FmFileOpsJob.html
84
share/gtk-doc/html/libfm/FmFolder.html
85
share/gtk-doc/html/libfm/FmFolderModel.html
86
share/gtk-doc/html/libfm/FmFolderView.html
87
share/gtk-doc/html/libfm/FmJob.html
88
share/gtk-doc/html/libfm/FmNavHistory.html
89
share/gtk-doc/html/libfm/FmPathBar.html
90
share/gtk-doc/html/libfm/FmPathEntry.html
91
share/gtk-doc/html/libfm/FmPlacesModel.html
92
share/gtk-doc/html/libfm/FmPlacesView.html
93
share/gtk-doc/html/libfm/FmSidePane.html
94
share/gtk-doc/html/libfm/FmTabLabel.html
95
share/gtk-doc/html/libfm/annotation-glossary.html
96
share/gtk-doc/html/libfm/api-index-full.html
97
share/gtk-doc/html/libfm/home.png
98
share/gtk-doc/html/libfm/index.html
99
share/gtk-doc/html/libfm/index.sgml
100
share/gtk-doc/html/libfm/left.png
101
share/gtk-doc/html/libfm/libfm-fm-app-chooser-combo-box.html
102
share/gtk-doc/html/libfm/libfm-fm-app-chooser-dlg.html
103
share/gtk-doc/html/libfm/libfm-fm-app-info.html
104
share/gtk-doc/html/libfm/libfm-fm-app-menu-view.html
105
share/gtk-doc/html/libfm/libfm-fm-archiver.html
106
share/gtk-doc/html/libfm/libfm-fm-clipboard.html
107
share/gtk-doc/html/libfm/libfm-fm-dnd-auto-scroll.html
108
share/gtk-doc/html/libfm/libfm-fm-file-info.html
109
share/gtk-doc/html/libfm/libfm-fm-file-launcher.html
110
share/gtk-doc/html/libfm/libfm-fm-file-menu.html
111
share/gtk-doc/html/libfm/libfm-fm-file-properties.html
112
share/gtk-doc/html/libfm/libfm-fm-gtk-file-launcher.html
113
share/gtk-doc/html/libfm/libfm-fm-gtk-utils.html
114
share/gtk-doc/html/libfm/libfm-fm-gtk.html
115
share/gtk-doc/html/libfm/libfm-fm-icon-pixbuf.html
116
share/gtk-doc/html/libfm/libfm-fm-icon.html
117
share/gtk-doc/html/libfm/libfm-fm-list.html
118
share/gtk-doc/html/libfm/libfm-fm-mime-type.html
119
share/gtk-doc/html/libfm/libfm-fm-monitor.html
120
share/gtk-doc/html/libfm/libfm-fm-path.html
121
share/gtk-doc/html/libfm/libfm-fm-progress-dlg.html
122
share/gtk-doc/html/libfm/libfm-fm-thumbnail.html
123
share/gtk-doc/html/libfm/libfm-fm-thumbnailer.html
124
share/gtk-doc/html/libfm/libfm-fm-utils.html
125
share/gtk-doc/html/libfm/libfm-fm.html
126
share/gtk-doc/html/libfm/libfm.devhelp2
127
share/gtk-doc/html/libfm/libfm.html
128
share/gtk-doc/html/libfm/libfm-core.html
129
share/gtk-doc/html/libfm/libfm-jobs.html
130
share/gtk-doc/html/libfm/libfm-FmSimpleJob.html
131
share/gtk-doc/html/libfm/libfm-gtk.html
132
share/gtk-doc/html/libfm/object-tree.html
133
share/gtk-doc/html/libfm/right.png
134
share/gtk-doc/html/libfm/style.css
135
share/gtk-doc/html/libfm/up.png
136
share/libfm/archivers.list
137
share/libfm/ui/app-chooser.ui
138
share/libfm/ui/ask-rename.ui
139
share/libfm/ui/exec-file.ui
140
share/libfm/ui/file-prop.ui
141
share/libfm/ui/preferred-apps.ui
142
share/libfm/ui/progress.ui
143
share/mime/packages/libfm.xml
144
%%NLS%%share/locale/af/LC_MESSAGES/libfm.mo
82
%%NLS%%share/locale/af/LC_MESSAGES/libfm.mo
145
%%NLS%%share/locale/ar/LC_MESSAGES/libfm.mo
83
%%NLS%%share/locale/ar/LC_MESSAGES/libfm.mo
146
%%NLS%%share/locale/be/LC_MESSAGES/libfm.mo
84
%%NLS%%share/locale/be/LC_MESSAGES/libfm.mo
Lines 199-228 Link Here
199
%%NLS%%share/locale/vi/LC_MESSAGES/libfm.mo
137
%%NLS%%share/locale/vi/LC_MESSAGES/libfm.mo
200
%%NLS%%share/locale/zh_CN/LC_MESSAGES/libfm.mo
138
%%NLS%%share/locale/zh_CN/LC_MESSAGES/libfm.mo
201
%%NLS%%share/locale/zh_TW/LC_MESSAGES/libfm.mo
139
%%NLS%%share/locale/zh_TW/LC_MESSAGES/libfm.mo
202
@dirrm etc/xdg/libfm
140
share/mime/packages/libfm.xml
203
@dirrm share/libfm/ui
204
@dirrm share/libfm
205
@dirrmtry etc/xdg
206
@dirrmtry include/libfm/libfm
207
@dirrmtry include/libfm
208
@dirrmtry lib/gio/modules
209
@dirrmtry lib/gio
210
@dirrmtry libdata/pkgconfig
211
@dirrmtry share/applications
141
@dirrmtry share/applications
212
@dirrmtry share/gtk-doc/html/libfm
142
@dirrmtry share/mime/packages
213
@dirrmtry share/gtk-doc/html
143
@dirrmtry share/mime
214
@dirrmtry share/gtk-doc
144
@dirrm %%DATADIR%%/ui
215
@dirrmtry share/locale/bn/LC_MESSAGES
145
@dirrm %%DATADIR%%
216
@dirrmtry share/locale/bn
146
@dirrm include/libfm-1.0
217
@dirrmtry share/locale/es_VE/LC_MESSAGES
218
@dirrmtry share/locale/es_VE
219
@dirrmtry share/locale/fo/LC_MESSAGES
220
@dirrmtry share/locale/fo
221
@dirrmtry share/locale/lg/LC_MESSAGES
222
@dirrmtry share/locale/lg
223
@dirrmtry share/locale/sr@latin/LC_MESSAGES
224
@dirrmtry share/locale/sr@latin
225
@dirrmtry share/locale/tt_RU/LC_MESSAGES
226
@dirrmtry share/locale/tt_RU
227
@dirrmtry share/locale/ur_PK/LC_MESSAGES
228
@dirrmtry share/locale/ur_PK

Return to bug 175099