- update to pcmanfm-0.3.5.7
Interesting changelog entries: * underlying mime-type system was rewritten from scratch * memory usage was reduced * FAM-related bugs were fixed * UI was slightly improved
This commit is contained in:
parent
d0b2cc7def
commit
dfed0c109d
@ -1,16 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2008/02/01 21:38:27 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2008/02/04 09:29:22 ajacoutot Exp $
|
||||
|
||||
COMMENT= fast and lightweight file manager
|
||||
|
||||
DISTNAME= pcmanfm-0.3.2.2
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
DISTNAME= pcmanfm-0.3.5.7
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://pcmanfm.sourceforge.net/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPL
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -18,11 +17,11 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcmanfm/}
|
||||
|
||||
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
||||
Xcomposite Xdamage \
|
||||
Xrender atk-1.0 c cairo expat fontconfig freetype \
|
||||
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 m \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread z
|
||||
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
||||
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat \
|
||||
fontconfig freetype glib-2.0 glitz gmodule-2.0 \
|
||||
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
|
||||
pangoft2-1.0 png pthread z
|
||||
|
||||
LIB_DEPENDS= gdk-x11-2.0.>=1000,gdk_pixbuf-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2 \
|
||||
fam::sysutils/fam \
|
||||
@ -38,10 +37,12 @@ USE_X11= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lm"
|
||||
CONFIGURE_ARGS= --disable-hal
|
||||
CONFIGURE_ARGS= --disable-hal \
|
||||
--disable-inotify
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
|
||||
${WRKSRC}/src/xdgmime/xdgmime.c
|
||||
${WRKSRC}/src/app-chooser-dialog.c \
|
||||
${WRKSRC}/src/pref-dialog.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (pcmanfm-0.3.2.2.tar.gz) = 5zXI7/yUGRK1JTox1BNkFw==
|
||||
RMD160 (pcmanfm-0.3.2.2.tar.gz) = 7FZUnenHfGcF8rXiEY58DFLximk=
|
||||
SHA1 (pcmanfm-0.3.2.2.tar.gz) = Bb7TTEo6zmn0XkVusfitZBj93XQ=
|
||||
SHA256 (pcmanfm-0.3.2.2.tar.gz) = YBxgcRW++iJWfH2uM5lBZ4elSdqu/LA4IIUdzY2LTVA=
|
||||
SIZE (pcmanfm-0.3.2.2.tar.gz) = 448330
|
||||
MD5 (pcmanfm-0.3.5.7.tar.gz) = +E6LLNG44Oa+pHenpTrajQ==
|
||||
RMD160 (pcmanfm-0.3.5.7.tar.gz) = OiFs8AvWnW8+YGdxK4RI4qxMR8Q=
|
||||
SHA1 (pcmanfm-0.3.5.7.tar.gz) = IMY0tO8Sbd1f+5PWDANKh8kLdwE=
|
||||
SHA256 (pcmanfm-0.3.5.7.tar.gz) = lmKTB5o720mY3BU7UBDvWJUuFa6dwP2C418ax6ncXV4=
|
||||
SIZE (pcmanfm-0.3.5.7.tar.gz) = 559152
|
||||
|
21
x11/pcmanfm/patches/patch-src_app-chooser-dialog_c
Normal file
21
x11/pcmanfm/patches/patch-src_app-chooser-dialog_c
Normal file
@ -0,0 +1,21 @@
|
||||
$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 ) );
|
12
x11/pcmanfm/patches/patch-src_pref-dialog_c
Normal file
12
x11/pcmanfm/patches/patch-src_pref-dialog_c
Normal file
@ -0,0 +1,12 @@
|
||||
$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 )
|
||||
{
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-src_xdgmime_xdgmime_c,v 1.1 2007/09/18 06:23:28 ajacoutot Exp $
|
||||
--- src/xdgmime/xdgmime.c.orig Fri Oct 27 19:51:44 2006
|
||||
+++ src/xdgmime/xdgmime.c Tue Sep 18 08:10:53 2007
|
||||
@@ -219,7 +219,11 @@ void xdg_run_command_on_dirs ( XdgDirectoryFunc func,
|
||||
|
||||
xdg_data_dirs = getenv ( "XDG_DATA_DIRS" );
|
||||
if ( xdg_data_dirs == NULL )
|
||||
+#ifdef __OpenBSD__
|
||||
+ xdg_data_dirs = "!!LOCALBASE!!/share";
|
||||
+#else
|
||||
xdg_data_dirs = "/usr/local/share:/usr/share";
|
||||
+#endif
|
||||
|
||||
ptr = xdg_data_dirs;
|
||||
|
@ -1,20 +1,35 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/26 17:11:48 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/02/04 09:29:22 ajacoutot Exp $
|
||||
bin/pcmanfm
|
||||
share/applications/
|
||||
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/zh_CN/LC_MESSAGES/pcmanfm.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/pcmanfm.mo
|
||||
share/mime/packages/libmimetype.xml
|
||||
share/pcmanfm/
|
||||
share/pcmanfm/icons/
|
||||
share/pcmanfm/icons/file.png
|
||||
share/pcmanfm/icons/folder.png
|
||||
share/pcmanfm/mount.rules
|
||||
share/pixmaps/
|
||||
share/pixmaps/pcmanfm.png
|
||||
@exec %D/bin/update-mime-database %D/share/mime
|
||||
@unexec %D/bin/update-mime-database %D/share/mime
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user