On Sat, Jun 29, 2013 at 08:17:59PM -0500, Amit Kulkarni wrote:
> Updating an ancient port to its latest working version.
> Including two additional ports which were split from pcmanfm.
> 
> I use pcmanfm as a File Manager replacement.
> 
> I emailed sthen@ and aja@ privately, both told me to send it to ports@ for 
> wider testing.
> 
> Works for me on amd64. If nobody objects I can maintain these.

Can you send a tarball for new ports please.


> 
> Index: libfm/Makefile
> ===================================================================
> RCS file: libfm/Makefile
> diff -N libfm/Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/Makefile    30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,41 @@
> +# $OpenBSD: Makefile,v 1.20 2010/11/22 08:37:03 espie Exp $
> +
> +COMMENT=     a library to provide file related widgets for pcmanfm
> +
> +DISTNAME=    libfm-1.1.0
> +
> +CATEGORIES=  x11
> +
> +SHARED_LIBS+=        fm-gtk  0.0 # 1.0
> +SHARED_LIBS+=        fm      0.0 # 1.0
> +
> +HOMEPAGE=    http://pcmanfm.sourceforge.net/
> +
> +# GPLv2
> +PERMIT_PACKAGE_CDROM=        Yes
> +
> +MASTER_SITES=        ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
> +
> +WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
> +WANTLIB += Xrandr Xrender atk-1.0 c cairo exif expat ffi fontconfig
> +WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
> +WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0
> +WANTLIB += harfbuzz m menu-cache pango-1.0 pangocairo-1.0 pangoft2-1.0
> +WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xcb-render
> +WANTLIB += xcb-shm z
> +
> +BUILD_DEPENDS=       textproc/intltool
> +LIB_DEPENDS= devel/glib2 \
> +             graphics/libexif \
> +             x11/gtk+2 \
> +             x11/libmenu-cache
> +
> +MODULES=     devel/gettext
> +
> +CONFIGURE_STYLE= gnu
> +
> +CONFIGURE_ENV=       CPPFLAGS="-I${LOCALBASE}/include"
> +
> +FAKE_FLAGS=  sysconfdir=${PREFIX}/share/examples/libfm
> +
> +.include <bsd.port.mk>
> Index: libfm/distinfo
> ===================================================================
> RCS file: libfm/distinfo
> diff -N libfm/distinfo
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/distinfo    30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,2 @@
> +SHA256 (libfm-1.1.0.tar.gz) = uUJuWIZwtTVwuAjEmr0dEDhjYU3TYiVZuMPvE5L+Cz0=
> +SIZE (libfm-1.1.0.tar.gz) = 1077445
> Index: libfm/patches/patch-docs_reference_libfm_Makefile_am
> ===================================================================
> RCS file: libfm/patches/patch-docs_reference_libfm_Makefile_am
> diff -N libfm/patches/patch-docs_reference_libfm_Makefile_am
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/patches/patch-docs_reference_libfm_Makefile_am      30 Jun 2013 
> 01:14:19 -0000
> @@ -0,0 +1,8 @@
> +$OpenBSD$
> +--- docs/reference/libfm/Makefile.am.orig    Wed Sep 19 14:31:43 2012
> ++++ docs/reference/libfm/Makefile.am Tue Nov  6 15:24:32 2012
> +@@ -142,4 +142,3 @@ if ENABLE_GTK_DOC
> + #TESTS = $(GTKDOC_CHECK)
> + endif
> + 
> +--include $(top_srcdir)/git.mk
> Index: libfm/patches/patch-docs_reference_libfm_Makefile_in
> ===================================================================
> RCS file: libfm/patches/patch-docs_reference_libfm_Makefile_in
> diff -N libfm/patches/patch-docs_reference_libfm_Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/patches/patch-docs_reference_libfm_Makefile_in      30 Jun 2013 
> 01:14:19 -0000
> @@ -0,0 +1,11 @@
> +$OpenBSD$
> +--- docs/reference/libfm/Makefile.in.orig    Wed Oct 31 19:34:46 2012
> ++++ docs/reference/libfm/Makefile.in Tue Nov  6 15:24:32 2012
> +@@ -819,7 +819,6 @@ dist-hook: dist-check-gtkdoc dist-hook-local
> + #TESTS_ENVIRONMENT = cd $(srcsrc) &&
> + #TESTS = $(GTKDOC_CHECK)
> + 
> +--include $(top_srcdir)/git.mk
> + 
> + # Tell versions [3.59,3.63) of GNU make to not export all variables.
> + # Otherwise a system limit (for SysV at least) may be exceeded.
> Index: libfm/patches/patch-src_actions_Makefile_am
> ===================================================================
> RCS file: libfm/patches/patch-src_actions_Makefile_am
> diff -N libfm/patches/patch-src_actions_Makefile_am
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/patches/patch-src_actions_Makefile_am       30 Jun 2013 01:14:19 
> -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- src/actions/Makefile.am.orig     Mon Sep 10 12:08:28 2012
> ++++ src/actions/Makefile.am  Mon Sep 10 12:09:24 2012
> +@@ -9,7 +9,7 @@ AM_CPPFLAGS = \
> +     -DPACKAGE_DATA_DIR=\""$(datadir)/libfm"\" \
> +     -DPACKAGE_LIB_DIR=\""$(libdir)/libfm"\" \
> +     -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
> +-    -Wno-unused-but-set-variable -Wno-unused-variable \
> ++    -Wno-unused-variable \
> +     $(NULL)
> + 
> + noinst_LTLIBRARIES = libfmactions.la
> Index: libfm/patches/patch-src_actions_Makefile_in
> ===================================================================
> RCS file: libfm/patches/patch-src_actions_Makefile_in
> diff -N libfm/patches/patch-src_actions_Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/patches/patch-src_actions_Makefile_in       30 Jun 2013 01:14:19 
> -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- src/actions/Makefile.in.orig     Wed Oct 31 19:34:48 2012
> ++++ src/actions/Makefile.in  Tue Nov  6 15:24:33 2012
> +@@ -317,7 +317,7 @@ AM_CPPFLAGS = \
> +     -DPACKAGE_DATA_DIR=\""$(datadir)/libfm"\" \
> +     -DPACKAGE_LIB_DIR=\""$(libdir)/libfm"\" \
> +     -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
> +-    -Wno-unused-but-set-variable -Wno-unused-variable \
> ++    -Wno-unused-variable \
> +     $(NULL)
> + 
> + noinst_LTLIBRARIES = libfmactions.la
> Index: libfm/pkg/DESCR
> ===================================================================
> RCS file: libfm/pkg/DESCR
> diff -N libfm/pkg/DESCR
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/pkg/DESCR   30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,3 @@
> +A glib/gio-based library used to develop pcmanfm providing
> +some file management utilities and related-widgets missing in
> +gtk+/glib.
> Index: libfm/pkg/PLIST
> ===================================================================
> RCS file: libfm/pkg/PLIST
> diff -N libfm/pkg/PLIST
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libfm/pkg/PLIST   30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,97 @@
> +@comment $OpenBSD$
> +@bin bin/libfm-pref-apps
> +include/libfm
> +include/libfm-1.0/
> +include/libfm-1.0/fm-actions.h
> +include/libfm-1.0/fm-app-chooser-combo-box.h
> +include/libfm-1.0/fm-app-chooser-dlg.h
> +include/libfm-1.0/fm-app-info.h
> +include/libfm-1.0/fm-app-menu-view.h
> +include/libfm-1.0/fm-archiver.h
> +include/libfm-1.0/fm-bookmarks.h
> +include/libfm-1.0/fm-cell-renderer-pixbuf.h
> +include/libfm-1.0/fm-cell-renderer-text.h
> +include/libfm-1.0/fm-clipboard.h
> +include/libfm-1.0/fm-config.h
> +include/libfm-1.0/fm-deep-count-job.h
> +include/libfm-1.0/fm-dir-list-job.h
> +include/libfm-1.0/fm-dir-tree-model.h
> +include/libfm-1.0/fm-dir-tree-view.h
> +include/libfm-1.0/fm-dnd-auto-scroll.h
> +include/libfm-1.0/fm-dnd-dest.h
> +include/libfm-1.0/fm-dnd-src.h
> +include/libfm-1.0/fm-dummy-monitor.h
> +include/libfm-1.0/fm-file-info-job.h
> +include/libfm-1.0/fm-file-info.h
> +include/libfm-1.0/fm-file-launcher.h
> +include/libfm-1.0/fm-file-menu.h
> +include/libfm-1.0/fm-file-ops-job-change-attr.h
> +include/libfm-1.0/fm-file-ops-job-delete.h
> +include/libfm-1.0/fm-file-ops-job-xfer.h
> +include/libfm-1.0/fm-file-ops-job.h
> +include/libfm-1.0/fm-file-properties.h
> +include/libfm-1.0/fm-file.h
> +include/libfm-1.0/fm-folder-model.h
> +include/libfm-1.0/fm-folder-view.h
> +include/libfm-1.0/fm-folder.h
> +include/libfm-1.0/fm-gtk-file-launcher.h
> +include/libfm-1.0/fm-gtk-marshal.h
> +include/libfm-1.0/fm-gtk-utils.h
> +include/libfm-1.0/fm-gtk.h
> +include/libfm-1.0/fm-icon-pixbuf.h
> +include/libfm-1.0/fm-icon.h
> +include/libfm-1.0/fm-job.h
> +include/libfm-1.0/fm-list.h
> +include/libfm-1.0/fm-marshal.h
> +include/libfm-1.0/fm-mime-type.h
> +include/libfm-1.0/fm-monitor.h
> +include/libfm-1.0/fm-nav-history.h
> +include/libfm-1.0/fm-path-bar.h
> +include/libfm-1.0/fm-path-entry.h
> +include/libfm-1.0/fm-path.h
> +include/libfm-1.0/fm-places-model.h
> +include/libfm-1.0/fm-places-view.h
> +include/libfm-1.0/fm-progress-dlg.h
> +include/libfm-1.0/fm-side-pane.h
> +include/libfm-1.0/fm-simple-job.h
> +include/libfm-1.0/fm-sortable.h
> +include/libfm-1.0/fm-standard-view.h
> +include/libfm-1.0/fm-tab-label.h
> +include/libfm-1.0/fm-thumbnail.h
> +include/libfm-1.0/fm-thumbnailer.h
> +include/libfm-1.0/fm-utils.h
> +include/libfm-1.0/fm.h
> +lib/libfm-gtk.a
> +lib/libfm-gtk.la
> +@lib lib/libfm-gtk.so.${LIBfm-gtk_VERSION}
> +lib/libfm.a
> +lib/libfm.la
> +@lib lib/libfm.so.${LIBfm_VERSION}
> +lib/pkgconfig/
> +lib/pkgconfig/libfm-gtk.pc
> +lib/pkgconfig/libfm-gtk3.pc
> +lib/pkgconfig/libfm.pc
> +@man man/man1/libfm-pref-apps.1
> +share/applications/
> +share/applications/libfm-pref-apps.desktop
> +share/examples/libfm/
> +share/examples/libfm/xdg/
> +@sample ${SYSCONFDIR}/xdg/
> +share/examples/libfm/xdg/libfm/
> +share/examples/libfm/xdg/libfm/libfm.conf
> +@sample ${SYSCONFDIR}/xdg/libfm.conf
> +share/examples/libfm/xdg/libfm/pref-apps.conf
> +@sample ${SYSCONFDIR}/xdg/pref-apps.conf
> +share/libfm/
> +share/libfm/archivers.list
> +share/libfm/ui/
> +share/libfm/ui/app-chooser.ui
> +share/libfm/ui/ask-rename.ui
> +share/libfm/ui/exec-file.ui
> +share/libfm/ui/file-prop.ui
> +share/libfm/ui/filesearch.ui
> +share/libfm/ui/preferred-apps.ui
> +share/libfm/ui/progress.ui
> +share/mime/
> +share/mime/packages/
> +share/mime/packages/libfm.xml
> Index: libmenu-cache/Makefile
> ===================================================================
> RCS file: libmenu-cache/Makefile
> diff -N libmenu-cache/Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libmenu-cache/Makefile    30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,28 @@
> +# $OpenBSD: Makefile,v 1.20 2010/11/22 08:37:03 espie Exp $
> +
> +COMMENT=     menu cache generation for pcmanfm
> +
> +DISTNAME=    menu-cache-0.3.3
> +PKGNAME=     libmenu-cache-0.3.3
> +
> +CATEGORIES=  x11
> +
> +HOMEPAGE=    http://www.lxde.org/
> +
> +SHARED_LIBS= menu-cache      0.0 # 1.0
> +
> +# GPLv2
> +PERMIT_PACKAGE_CDROM=        Yes
> +
> +MASTER_SITES=        ${MASTER_SITE_SOURCEFORGE:=lxde/}
> +
> +WANTLIB=     c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread z
> +
> +LIB_DEPENDS= devel/glib2
> +
> +MODULES=     devel/gettext
> +
> +CONFIGURE_STYLE=gnu
> +CONFIGURE_ENV=       CPPFLAGS="-I${LOCALBASE}/include"
> +
> +.include <bsd.port.mk>
> Index: libmenu-cache/distinfo
> ===================================================================
> RCS file: libmenu-cache/distinfo
> diff -N libmenu-cache/distinfo
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libmenu-cache/distinfo    30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,2 @@
> +SHA256 (menu-cache-0.3.3.tar.gz) = 
> ByQcH183G0JtOwpuVxqGGE7GJWvdfq16TahmzRDyWVU=
> +SIZE (menu-cache-0.3.3.tar.gz) = 392291
> Index: libmenu-cache/pkg/DESCR
> ===================================================================
> RCS file: libmenu-cache/pkg/DESCR
> diff -N libmenu-cache/pkg/DESCR
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libmenu-cache/pkg/DESCR   30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,3 @@
> +Libmenu-cache is a library creating and utilizing caches to speed
> +up the manipulation for freedesktop.org defined application menus.
> +It can be used as a replacement of libgnome-menu of gnome-menus.
> Index: libmenu-cache/pkg/PLIST
> ===================================================================
> RCS file: libmenu-cache/pkg/PLIST
> diff -N libmenu-cache/pkg/PLIST
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ libmenu-cache/pkg/PLIST   30 Jun 2013 01:14:19 -0000
> @@ -0,0 +1,10 @@
> +@comment $OpenBSD: PLIST,v 1.5 2009/12/21 20:46:02 ajacoutot Exp $
> +include/menu-cache/
> +include/menu-cache/menu-cache.h
> +lib/libmenu-cache.a
> +lib/libmenu-cache.la
> +@lib lib/libmenu-cache.so.${LIBmenu-cache_VERSION}
> +lib/pkgconfig/
> +lib/pkgconfig/libmenu-cache.pc
> +@bin libexec/menu-cache-gen
> +@bin libexec/menu-cached
> Index: pcmanfm/Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/pcmanfm/Makefile,v
> retrieving revision 1.28
> diff -u -p -u -p -r1.28 Makefile
> --- pcmanfm/Makefile  2 Apr 2013 16:16:47 -0000       1.28
> +++ pcmanfm/Makefile  30 Jun 2013 01:14:19 -0000
> @@ -2,8 +2,7 @@
>  
>  COMMENT=     fast and lightweight file manager
>  
> -DISTNAME=    pcmanfm-0.3.5.10
> -REVISION=    11
> +DISTNAME=    pcmanfm-1.1.0
>  
>  CATEGORIES=  x11
>  
> @@ -14,31 +13,22 @@ PERMIT_PACKAGE_CDROM=     Yes
>  
>  MASTER_SITES=        ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
>  
> -WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
> -WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
> -WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
> -WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
> -WANTLIB += pixman-1 png pthread z pthread-stubs xcb
> -WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 fam
> -WANTLIB += xcb-render xcb-render-util startup-notification-1
> +WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
> +WANTLIB += Xrandr Xrender atk-1.0 c cairo fm fm-gtk fontconfig
> +WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
> +WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
> +WANTLIB += pangoft2-1.0 pthread z
>  
> +RUN_DEPENDS= x11/gnome/icon-theme
>  LIB_DEPENDS= x11/gtk+2 \
> -             sysutils/gamin \
> -             devel/startup-notification
> -RUN_DEPENDS= devel/desktop-file-utils \
> -             misc/shared-mime-info>=0.21
> +             x11/libfm \
> +             x11/libmenu-cache
>  
>  MODULES=     devel/gettext
>  
> -CONFIGURE_STYLE=gnu
> -CONFIGURE_ENV=       CPPFLAGS="-I${LOCALBASE}/include" \
> -             LDFLAGS="-L${LOCALBASE}/lib -pthread"
> -CONFIGURE_ARGS=      --disable-hal \
> -             --disable-inotify
> -
> -pre-configure:
> -     @perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
> -             ${WRKSRC}/src/app-chooser-dialog.c \
> -             ${WRKSRC}/src/pref-dialog.c
> +CONFIGURE_STYLE= gnu
> +CONFIGURE_ENV=       CPPFLAGS="-I${LOCALBASE}/include"
> +
> +FAKE_FLAGS=     sysconfdir=${PREFIX}/share/examples/pcmanfm
>  
>  .include <bsd.port.mk>
> Index: pcmanfm/distinfo
> ===================================================================
> RCS file: /cvs/ports/x11/pcmanfm/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 distinfo
> --- pcmanfm/distinfo  14 Feb 2008 11:01:36 -0000      1.5
> +++ pcmanfm/distinfo  30 Jun 2013 01:14:19 -0000
> @@ -1,5 +1,2 @@
> -MD5 (pcmanfm-0.3.5.10.tar.gz) = CMD1kvcywPQGqVBsDkcxNg==
> -RMD160 (pcmanfm-0.3.5.10.tar.gz) = cGwK7fMjvtAFaEvkIAjDoUv4mm4=
> -SHA1 (pcmanfm-0.3.5.10.tar.gz) = Ur6bl15rCw8R6qV8IX3kM+CI1Wo=
> -SHA256 (pcmanfm-0.3.5.10.tar.gz) = 
> FJiS1Pym+1/XrL1bQX16DfBmVKpKDG/amx+wvVIrb6k=
> -SIZE (pcmanfm-0.3.5.10.tar.gz) = 580064
> +SHA256 (pcmanfm-1.1.0.tar.gz) = H2MB8zCtZI8zInCOxsD2gKhpWpRTky/hllO6tnMeVYI=
> +SIZE (pcmanfm-1.1.0.tar.gz) = 496895
> Index: pcmanfm/patches/patch-src_app-chooser-dialog_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_app-chooser-dialog_c
> diff -N pcmanfm/patches/patch-src_app-chooser-dialog_c
> --- pcmanfm/patches/patch-src_app-chooser-dialog_c    4 Feb 2008 09:29:22 
> -0000       1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,21 +0,0 @@
> -$OpenBSD: patch-src_app-chooser-dialog_c,v 1.1 2008/02/04 09:29:22 ajacoutot 
> Exp $
> ---- src/app-chooser-dialog.c.orig    Fri Feb  1 06:07:16 2008
> -+++ src/app-chooser-dialog.c Sun Feb  3 21:40:07 2008
> -@@ -263,7 +263,7 @@ on_browse_btn_clicked ( GtkButton *button,
> -     char * filename;
> -     char* app_name;
> -     GtkEntry* entry;
> --    const char* app_path = "/usr/share/applications";
> -+    const char* app_path = "!!LOCALBASE!!/share/applications";
> - 
> -     GtkWidget* parent = GTK_WIDGET( button );
> -     GtkWidget* dlg = gtk_file_chooser_dialog_new( NULL, GTK_WINDOW( parent 
> ),
> -@@ -274,7 +274,7 @@ on_browse_btn_clicked ( GtkButton *button,
> -                                                   GTK_RESPONSE_CANCEL,
> -                                                   NULL );
> -     gtk_file_chooser_set_current_folder ( GTK_FILE_CHOOSER ( dlg ),
> --                                          "/usr/bin" );
> -+                                          "!!LOCALBASE!!/bin" );
> -     if ( gtk_dialog_run( GTK_DIALOG( dlg ) ) == GTK_RESPONSE_OK )
> -     {
> -         filename = gtk_file_chooser_get_filename ( GTK_FILE_CHOOSER ( dlg ) 
> );
> Index: pcmanfm/patches/patch-src_main_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_main_c
> diff -N pcmanfm/patches/patch-src_main_c
> --- pcmanfm/patches/patch-src_main_c  1 Feb 2013 17:26:16 -0000       1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,16 +0,0 @@
> -$OpenBSD: patch-src_main_c,v 1.1 2013/02/01 17:26:16 ajacoutot Exp $
> -
> -Make sure we do not unlock an unitialized mutex.
> -
> ---- src/main.c.orig  Fri Feb  1 18:24:33 2013
> -+++ src/main.c       Fri Feb  1 18:24:10 2013
> -@@ -459,7 +459,9 @@ main ( int argc, char *argv[] )
> - 
> -     if( G_LIKELY( main_window || appSettings.showDesktop ) )
> -     {
> -+        gdk_threads_enter();
> -         gtk_main(); /* if folder windows or desktop icons are showed. */
> -+        gdk_threads_leave();
> -     }
> -     else
> -     {
> Index: pcmanfm/patches/patch-src_mime-type_mime-action_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_mime-type_mime-action_c
> diff -N pcmanfm/patches/patch-src_mime-type_mime-action_c
> --- pcmanfm/patches/patch-src_mime-type_mime-action_c 16 Jul 2010 13:15:19 
> -0000      1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,15 +0,0 @@
> -$OpenBSD: patch-src_mime-type_mime-action_c,v 1.1 2010/07/16 13:15:19 
> ajacoutot Exp $
> ---- src/mime-type/mime-action.c.orig Wed Feb 13 05:57:18 2008
> -+++ src/mime-type/mime-action.c      Fri Jul 16 15:10:42 2010
> -@@ -27,6 +27,11 @@
> - #include "glib-utils.h"
> - #include <string.h>
> - 
> -+#include <sys/types.h>
> -+#include <unistd.h>
> -+#include <sys/stat.h>
> -+#include <fcntl.h>
> -+
> - gboolean save_to_file( const char* path, const char* data, gssize len )
> - {
> -     int fd = creat( path, 0644 );
> Index: pcmanfm/patches/patch-src_mime-type_mime-cache_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_mime-type_mime-cache_c
> diff -N pcmanfm/patches/patch-src_mime-type_mime-cache_c
> --- pcmanfm/patches/patch-src_mime-type_mime-cache_c  16 Jul 2010 13:15:19 
> -0000      1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> -$OpenBSD: patch-src_mime-type_mime-cache_c,v 1.1 2010/07/16 13:15:19 
> ajacoutot Exp $
> ---- src/mime-type/mime-cache.c.orig  Fri Jul 16 15:03:52 2010
> -+++ src/mime-type/mime-cache.c       Fri Jul 16 15:04:08 2010
> -@@ -29,6 +29,7 @@
> - #include <stdio.h>
> - #include <string.h>
> - #include <stdlib.h>
> -+#include <unistd.h>
> - 
> - #ifdef HAVE_MMAP
> - #include <sys/mman.h>
> Index: pcmanfm/patches/patch-src_mime-type_mime-type_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_mime-type_mime-type_c
> diff -N pcmanfm/patches/patch-src_mime-type_mime-type_c
> --- pcmanfm/patches/patch-src_mime-type_mime-type_c   16 Jul 2010 13:15:19 
> -0000      1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> -$OpenBSD: patch-src_mime-type_mime-type_c,v 1.1 2010/07/16 13:15:19 
> ajacoutot Exp $
> ---- src/mime-type/mime-type.c.orig   Fri Jul 16 15:02:43 2010
> -+++ src/mime-type/mime-type.c        Fri Jul 16 15:03:08 2010
> -@@ -33,6 +33,7 @@
> - #include <fcntl.h>
> - #include <sys/stat.h>
> - #include <sys/types.h>
> -+#include <unistd.h>
> - 
> - /*
> -  * FIXME:
> Index: pcmanfm/patches/patch-src_pref-dialog_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_pref-dialog_c
> diff -N pcmanfm/patches/patch-src_pref-dialog_c
> --- pcmanfm/patches/patch-src_pref-dialog_c   4 Feb 2008 09:29:22 -0000       
> 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_pref-dialog_c,v 1.1 2008/02/04 09:29:22 ajacoutot Exp $
> ---- src/pref-dialog.c.orig   Fri Feb  1 06:07:16 2008
> -+++ src/pref-dialog.c        Sun Feb  3 21:40:07 2008
> -@@ -26,7 +26,7 @@
> - #include "settings.h"
> - 
> - #if 0
> --static const char theme_dir[] = "/usr/share/icons";
> -+static const char theme_dir[] = "!!LOCALBASE!!/share/icons";
> - 
> - gboolean is_theme_compatible_with_gnome( const char* theme_name )
> - {
> Index: pcmanfm/patches/patch-src_ptk_ptk-file-archiver_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_ptk_ptk-file-archiver_c
> diff -N pcmanfm/patches/patch-src_ptk_ptk-file-archiver_c
> --- pcmanfm/patches/patch-src_ptk_ptk-file-archiver_c 14 Feb 2008 11:01:37 
> -0000      1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,14 +0,0 @@
> -$OpenBSD: patch-src_ptk_ptk-file-archiver_c,v 1.2 2008/02/14 11:01:37 
> ajacoutot Exp $
> ---- src/ptk/ptk-file-archiver.c.orig Wed Feb 13 09:06:16 2008
> -+++ src/ptk/ptk-file-archiver.c      Thu Feb 14 11:54:02 2008
> -@@ -33,8 +33,8 @@ const ArchiveHandler handlers[]=
> -     {
> -         {
> -             "application/x-bzip-compressed-tar",
> --            "tar --bzip2 -cvf",
> --            "tar --bzip2 -xvf",
> -+            "gtar --bzip2 -cvf",
> -+            "gtar --bzip2 -xvf",
> -             ".tar.bz2", TRUE
> -         },
> -         {
> Index: pcmanfm/patches/patch-src_ptk_ptk-path-entry_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_ptk_ptk-path-entry_c
> diff -N pcmanfm/patches/patch-src_ptk_ptk-path-entry_c
> --- pcmanfm/patches/patch-src_ptk_ptk-path-entry_c    16 Jul 2010 13:15:19 
> -0000      1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_ptk_ptk-path-entry_c,v 1.1 2010/07/16 13:15:19 ajacoutot 
> Exp $
> ---- src/ptk/ptk-path-entry.c.orig    Fri Jul 16 15:04:23 2010
> -+++ src/ptk/ptk-path-entry.c Fri Jul 16 15:04:49 2010
> -@@ -13,6 +13,8 @@
> - #include "ptk-path-entry.h"
> - #include <gdk/gdkkeysyms.h>
> - 
> -+#include <string.h>
> -+
> - /*
> - static GQuark use_hand_cursor = (GQuark)"hand_cursor";
> - #define is_hand_cursor_used( entry )    (g_object_get_qdata(entry, 
> use_hand_cursor))
> Index: pcmanfm/patches/patch-src_settings_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_settings_c
> diff -N pcmanfm/patches/patch-src_settings_c
> --- pcmanfm/patches/patch-src_settings_c      16 Jul 2010 13:15:19 -0000      
> 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> -$OpenBSD: patch-src_settings_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
> ---- src/settings.c.orig      Fri Jul 16 15:05:28 2010
> -+++ src/settings.c   Fri Jul 16 15:05:49 2010
> -@@ -6,6 +6,7 @@
> - */
> - 
> - #include "settings.h"
> -+#include <stdlib.h>
> - #include <stdio.h>
> - #include <string.h>
> - #include <unistd.h>
> Index: pcmanfm/patches/patch-src_vfs_vfs-file-info_h
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_vfs_vfs-file-info_h
> diff -N pcmanfm/patches/patch-src_vfs_vfs-file-info_h
> --- pcmanfm/patches/patch-src_vfs_vfs-file-info_h     11 Feb 2008 20:02:27 
> -0000      1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_vfs_vfs-file-info_h,v 1.2 2008/02/11 20:02:27 ajacoutot 
> Exp $
> ---- src/vfs/vfs-file-info.h.orig     Mon Feb 11 06:51:10 2008
> -+++ src/vfs/vfs-file-info.h  Mon Feb 11 18:39:10 2008
> -@@ -48,7 +48,7 @@ struct _VFSFileInfo
> -     time_t atime;
> -     /* FIXME: blksize_t blksize; */
> -     long blksize;
> --    blkcnt_t blocks;
> -+    int32_t blocks;
> - 
> -     char* name; /* real name on file system */
> -     char* disp_name;  /* displayed name (in UTF-8) */
> Index: pcmanfm/patches/patch-src_vfs_vfs-file-monitor_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_vfs_vfs-file-monitor_c
> diff -N pcmanfm/patches/patch-src_vfs_vfs-file-monitor_c
> --- pcmanfm/patches/patch-src_vfs_vfs-file-monitor_c  26 May 2007 17:11:48 
> -0000      1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,15 +0,0 @@
> -$OpenBSD: patch-src_vfs_vfs-file-monitor_c,v 1.1.1.1 2007/05/26 17:11:48 
> ajacoutot Exp $
> ---- src/vfs/vfs-file-monitor.c.orig  Tue May 22 10:44:05 2007
> -+++ src/vfs/vfs-file-monitor.c       Tue May 22 10:43:53 2007
> -@@ -65,10 +65,8 @@ static gboolean connect_to_fam()
> - 
> -     if ( FAMOpen( &fam ) )
> -     {
> --        fam_io_channel = NULL;
> --        fam.fd = -1;
> -         g_warning( "There is no FAM/gamin server\n" );
> --        return FALSE;
> -+        exit( 1 );
> -     }
> - #if HAVE_FAMNOEXISTS
> -     /*
> Index: pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c
> ===================================================================
> RCS file: pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c
> diff -N pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c
> --- pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c      16 Jul 2010 
> 13:15:19 -0000      1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,11 +0,0 @@
> -$OpenBSD: patch-src_vfs_vfs-thumbnail-loader_c,v 1.1 2010/07/16 13:15:19 
> ajacoutot Exp $
> ---- src/vfs/vfs-thumbnail-loader.c.orig      Fri Jul 16 15:05:06 2010
> -+++ src/vfs/vfs-thumbnail-loader.c   Fri Jul 16 15:05:16 2010
> -@@ -22,6 +22,7 @@
> - #include "vfs-thumbnail-loader.h"
> - #include "glib-mem.h" /* for g_slice API */
> - #include "glib-utils.h" /* for g_mkdir_with_parents() */
> -+#include <stdlib.h>
> - #include <string.h>
> - #include <sys/stat.h>
> - 
> Index: pcmanfm/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/x11/pcmanfm/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 PLIST
> --- pcmanfm/pkg/PLIST 21 Dec 2009 20:46:02 -0000      1.5
> +++ pcmanfm/pkg/PLIST 30 Jun 2013 01:14:19 -0000
> @@ -1,36 +1,24 @@
>  @comment $OpenBSD: PLIST,v 1.5 2009/12/21 20:46:02 ajacoutot Exp $
>  @bin bin/pcmanfm
> +@man man/man1/pcmanfm.1
> +share/applications/
> +share/applications/pcmanfm-desktop-pref.desktop
>  share/applications/pcmanfm.desktop
> -share/locale/ca/LC_MESSAGES/pcmanfm.mo
> -share/locale/de/LC_MESSAGES/pcmanfm.mo
> -share/locale/es/LC_MESSAGES/pcmanfm.mo
> -share/locale/eu/LC_MESSAGES/pcmanfm.mo
> -share/locale/fr/LC_MESSAGES/pcmanfm.mo
> -share/locale/hu/LC_MESSAGES/pcmanfm.mo
> -share/locale/it/LC_MESSAGES/pcmanfm.mo
> -share/locale/ja/LC_MESSAGES/pcmanfm.mo
> -share/locale/pl/LC_MESSAGES/pcmanfm.mo
> -share/locale/pt_BR/LC_MESSAGES/pcmanfm.mo
> -share/locale/pt_PT/
> -share/locale/pt_PT/LC_MESSAGES/
> -share/locale/pt_PT/LC_MESSAGES/pcmanfm.mo
> -share/locale/ru/LC_MESSAGES/pcmanfm.mo
> -share/locale/sv_SE/
> -share/locale/sv_SE/LC_MESSAGES/
> -share/locale/sv_SE/LC_MESSAGES/pcmanfm.mo
> -share/locale/tr/LC_MESSAGES/pcmanfm.mo
> -share/locale/ur/
> -share/locale/ur/LC_MESSAGES/
> -share/locale/ur/LC_MESSAGES/pcmanfm.mo
> -share/locale/zh_CN/LC_MESSAGES/pcmanfm.mo
> -share/locale/zh_TW/LC_MESSAGES/pcmanfm.mo
> -share/mime/packages/libmimetype.xml
> +share/examples/pcmanfm/
> +share/examples/pcmanfm/xdg/
> +@sample ${SYSCONFDIR}/xdg/
> +share/examples/pcmanfm/xdg/pcmanfm/
> +@sample ${SYSCONFDIR}/xdg/pcmanfm/
> +share/examples/pcmanfm/xdg/pcmanfm/default/
> +@sample ${SYSCONFDIR}/xdg/pcmanfm/default/
> +share/examples/pcmanfm/xdg/pcmanfm/default/pcmanfm.conf
> +@sample ${SYSCONFDIR}/xdg/pcmanfm/default/pcmanfm.conf
>  share/pcmanfm/
> -share/pcmanfm/icons/
> -share/pcmanfm/icons/file.png
> -share/pcmanfm/icons/folder.png
> -share/pcmanfm/mount.rules
> -share/pixmaps/pcmanfm.png
> +share/pcmanfm/ui/
> +share/pcmanfm/ui/about.ui
> +share/pcmanfm/ui/autorun.ui
> +share/pcmanfm/ui/desktop-pref.ui
> +share/pcmanfm/ui/pref.ui
>  @exec %D/bin/update-mime-database %D/share/mime
>  @unexec-delete %D/bin/update-mime-database %D/share/mime
>  @exec %D/bin/update-desktop-database
> 

-- 
Antoine

Reply via email to