Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
sysutils/rox/DESCR Normal file
View File

@@ -0,0 +1,3 @@
ROX-Filer is a simple and easy to use graphical file manager for X11, the
windowing system used on Unix and Unix-like operating systems. It is also
the core component of the ROX Desktop.

11
sysutils/rox/MESSAGE Normal file
View File

@@ -0,0 +1,11 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2006/01/03 15:39:45 rxg Exp $
Please note the following when running the rox(1) command that comes with
this package. If the environment variable CHOICESPATH is unset, then the
package will automatically set up a directory called Choices in your home
directory containing defaults from ${PREFIX}/share/Choices.
Rox applications can be found in ${PREFIX}/share/rox.
===========================================================================

78
sysutils/rox/Makefile Normal file
View File

@@ -0,0 +1,78 @@
# $NetBSD: Makefile,v 1.71 2013/06/06 12:55:06 wiz Exp $
#
DISTNAME= rox-filer-2.10
PKGNAME= rox-2.10
PKGREVISION= 20
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://rox.sourceforge.net/
COMMENT= RISC OS-like filer for X
CONFLICTS= rox-base-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}
DIST_SUBDIR= rox
USE_TOOLS+= pax pkg-config
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin libexec/rox ${PKGMANDIR}/man1 \
share/Choices share/mime/packages \
share/rox/ROX-Filer
SUBST_CLASSES+= path
SUBST_MESSAGE.path= Fixing hardcoded paths.
SUBST_STAGE.path= post-patch
SUBST_FILES.path= ROX-Filer/AppRun
SUBST_FILES.path+= ROX-Filer/src/choices.c
SUBST_FILES.path+= ROX-Filer/src/type.c
SUBST_FILES.path+= ROX-Filer/src/xdgmime.c
SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
SUBST_CLASSES+= bin
SUBST_MESSAGE.bin= Fixing binary path.
SUBST_STAGE.bin= post-patch
SUBST_FILES.bin= ROX-Filer/AppRun
SUBST_SED.bin= -e 's,BIN="$$APP_DIR,BIN="${PREFIX}/libexec/rox,g'
BUILD_TARGET= ROX-Filer
CONFIGURE_DIRS= ROX-Filer/src
CONFIGURE_SCRIPT= ./configure.tmp
LIBS.SunOS+= -lm
LDFLAGS.DragonFly+= -lm
post-patch:
${MV} ${WRKSRC}/ROX-Filer/src/configure ${WRKSRC}/ROX-Filer/src/${CONFIGURE_SCRIPT}
post-build:
@${ECHO} "#!/bin/sh" >> ${WRKDIR}/rox
@${ECHO} ${PREFIX}"/share/rox/ROX-Filer/AppRun \"\$$@\"" >> ${WRKDIR}/rox
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ROX-Filer/ROX-Filer ${DESTDIR}${PREFIX}/libexec/rox
cd ${WRKSRC}/Choices && pax -rw . ${DESTDIR}${PREFIX}/share/Choices
cd ${WRKSRC}/ROX-Filer && pax -rw \
-s ',^\./ROX-Filer$$,,' -s ',^\./ROX-Filer/.*,,' \
-s ',^\./ROX-Filer.dbg$$,,' -s ',^\./ROX-Filer.dbg/.*,,'\
-s ',^\./src$$,,' -s ',^\./src/.*,,' \
. ${DESTDIR}${PREFIX}/share/rox/ROX-Filer
${INSTALL_MAN} ${WRKSRC}/rox.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/rox.xml ${DESTDIR}${PREFIX}/share/mime/packages
${INSTALL_SCRIPT} ${WRKDIR}/rox ${DESTDIR}${PREFIX}/bin
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

152
sysutils/rox/PLIST Normal file
View File

@@ -0,0 +1,152 @@
@comment $NetBSD: PLIST,v 1.9 2009/12/10 16:28:44 joerg Exp $
bin/rox
libexec/rox/ROX-Filer
man/man1/rox.1
share/Choices/MIME-types/application_postscript
share/Choices/MIME-types/text
share/Choices/MIME-types/text_html
share/mime/packages/rox.xml
share/rox/ROX-Filer/.DirIcon
share/rox/ROX-Filer/AppInfo.xml
share/rox/ROX-Filer/AppRun
share/rox/ROX-Filer/Help/COPYING
share/rox/ROX-Filer/Help/Changes
share/rox/ROX-Filer/Help/Manual-fr.html
share/rox/ROX-Filer/Help/Manual-it.html
share/rox/ROX-Filer/Help/Manual.html
share/rox/ROX-Filer/Help/README
share/rox/ROX-Filer/Help/README-es
share/rox/ROX-Filer/Help/TODO
share/rox/ROX-Filer/Messages/README
share/rox/ROX-Filer/Messages/cs/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/da/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/de/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/es/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/et_EE/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/eu/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/fi/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/fr/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/gl/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/hu/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/it/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/ja/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/nl/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/no/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/pl/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/pt_BR/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/pt_PT/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/ro/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/ru/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/sv/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/uk/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/vi/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/zh_CN/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Messages/zh_TW/LC_MESSAGES/ROX-Filer.mo
share/rox/ROX-Filer/Options.xml
share/rox/ROX-Filer/ROX/MIME/application-msword.png
share/rox/ROX-Filer/ROX/MIME/application-pdf.png
share/rox/ROX-Filer/ROX/MIME/application-pgp.png
share/rox/ROX-Filer/ROX/MIME/application-postscript.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.ms-access.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.ms-excel.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.ms-office.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.ms-powerpoint.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.rn-realmedia.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.stardivision.writer.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.calc.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.calc.template.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.draw.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.draw.template.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.impress.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.impress.template.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.impress.template2.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.writer.global.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.writer.png
share/rox/ROX-Filer/ROX/MIME/application-vnd.sun.xml.writer.template.png
share/rox/ROX-Filer/ROX/MIME/application-x-abiword.png
share/rox/ROX-Filer/ROX/MIME/application-x-bzip-compressed-tar.png
share/rox/ROX-Filer/ROX/MIME/application-x-bzip.png
share/rox/ROX-Filer/ROX/MIME/application-x-compressed-tar.png
share/rox/ROX-Filer/ROX/MIME/application-x-core.png
share/rox/ROX-Filer/ROX/MIME/application-x-deb.png
share/rox/ROX-Filer/ROX/MIME/application-x-dia-diagram.png
share/rox/ROX-Filer/ROX/MIME/application-x-dvi.png
share/rox/ROX-Filer/ROX/MIME/application-x-executable.png
share/rox/ROX-Filer/ROX/MIME/application-x-font-afm.png
share/rox/ROX-Filer/ROX/MIME/application-x-font-linux-psf.png
share/rox/ROX-Filer/ROX/MIME/application-x-font-pcf.png
share/rox/ROX-Filer/ROX/MIME/application-x-font-speedo.png
share/rox/ROX-Filer/ROX/MIME/application-x-font-ttf.png
share/rox/ROX-Filer/ROX/MIME/application-x-font.png
share/rox/ROX-Filer/ROX/MIME/application-x-generic.png
share/rox/ROX-Filer/ROX/MIME/application-x-glade.png
share/rox/ROX-Filer/ROX/MIME/application-x-gnumeric.png
share/rox/ROX-Filer/ROX/MIME/application-x-gzip.png
share/rox/ROX-Filer/ROX/MIME/application-x-gzpostscript.png
share/rox/ROX-Filer/ROX/MIME/application-x-jar.png
share/rox/ROX-Filer/ROX/MIME/application-x-java-archive.png
share/rox/ROX-Filer/ROX/MIME/application-x-java.png
share/rox/ROX-Filer/ROX/MIME/application-x-lyx.png
share/rox/ROX-Filer/ROX/MIME/application-x-object.png
share/rox/ROX-Filer/ROX/MIME/application-x-perl.png
share/rox/ROX-Filer/ROX/MIME/application-x-rpm.png
share/rox/ROX-Filer/ROX/MIME/application-x-sharedlib.png
share/rox/ROX-Filer/ROX/MIME/application-x-shellscript.png
share/rox/ROX-Filer/ROX/MIME/application-x-tar.png
share/rox/ROX-Filer/ROX/MIME/application-x-texmacs.png
share/rox/ROX-Filer/ROX/MIME/application-x-trash.png
share/rox/ROX-Filer/ROX/MIME/application-x-troff-man-compressed.png
share/rox/ROX-Filer/ROX/MIME/application-x-troff-man.png
share/rox/ROX-Filer/ROX/MIME/application-x-troff.png
share/rox/ROX-Filer/ROX/MIME/application-xhtml+xml.png
share/rox/ROX-Filer/ROX/MIME/application-xml.png
share/rox/ROX-Filer/ROX/MIME/application-zip.png
share/rox/ROX-Filer/ROX/MIME/audio-midi.png
share/rox/ROX-Filer/ROX/MIME/audio-mpeg.png
share/rox/ROX-Filer/ROX/MIME/audio-x-generic.png
share/rox/ROX-Filer/ROX/MIME/audio-x-mod.png
share/rox/ROX-Filer/ROX/MIME/audio-x-mp3.png
share/rox/ROX-Filer/ROX/MIME/audio-x-pn-realaudio.png
share/rox/ROX-Filer/ROX/MIME/audio-x-wav.png
share/rox/ROX-Filer/ROX/MIME/image-gif.png
share/rox/ROX-Filer/ROX/MIME/image-jpeg.png
share/rox/ROX-Filer/ROX/MIME/image-x-generic.png
share/rox/ROX-Filer/ROX/MIME/image-x-xpixmap.png
share/rox/ROX-Filer/ROX/MIME/inode-blockdevice.png
share/rox/ROX-Filer/ROX/MIME/inode-chardevice.png
share/rox/ROX-Filer/ROX/MIME/inode-core.png
share/rox/ROX-Filer/ROX/MIME/inode-directory.png
share/rox/ROX-Filer/ROX/MIME/inode-fifo.png
share/rox/ROX-Filer/ROX/MIME/inode-mount-point.png
share/rox/ROX-Filer/ROX/MIME/inode-socket.png
share/rox/ROX-Filer/ROX/MIME/message-x-generic.png
share/rox/ROX-Filer/ROX/MIME/text-html.png
share/rox/ROX-Filer/ROX/MIME/text-x-c++src.png
share/rox/ROX-Filer/ROX/MIME/text-x-copying.png
share/rox/ROX-Filer/ROX/MIME/text-x-csrc.png
share/rox/ROX-Filer/ROX/MIME/text-x-diff.png
share/rox/ROX-Filer/ROX/MIME/text-x-generic.png
share/rox/ROX-Filer/ROX/MIME/text-x-java.png
share/rox/ROX-Filer/ROX/MIME/text-x-makefile.png
share/rox/ROX-Filer/ROX/MIME/text-x-python.png
share/rox/ROX-Filer/ROX/MIME/text-x-tcl.png
share/rox/ROX-Filer/ROX/MIME/text-x-tex.png
share/rox/ROX-Filer/ROX/MIME/text-xml.png
share/rox/ROX-Filer/ROX/MIME/video-mpeg.png
share/rox/ROX-Filer/ROX/MIME/video-quicktime.png
share/rox/ROX-Filer/ROX/MIME/video-x-generic.png
share/rox/ROX-Filer/ROX/index.theme
share/rox/ROX-Filer/Templates.glade
share/rox/ROX-Filer/images/application.png
share/rox/ROX-Filer/images/dirs.png
share/rox/ROX-Filer/images/iconified.png
share/rox/ROX-Filer/images/rox-mount.png
share/rox/ROX-Filer/images/rox-mounted.png
share/rox/ROX-Filer/images/rox-select.png
share/rox/ROX-Filer/images/rox-show-details.png
share/rox/ROX-Filer/images/rox-show-hidden.png
share/rox/ROX-Filer/images/rox-symlink.png
share/rox/ROX-Filer/images/rox-xattr.png
share/rox/ROX-Filer/images/symlink.png
share/rox/ROX-Filer/style.css
share/rox/ROX-Filer/subclasses

10
sysutils/rox/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.13 2013/02/22 21:38:06 jperkin Exp $
SHA1 (rox/rox-filer-2.10.tar.bz2) = 691297d18be69a883db0a38130f5df99f9e1bc29
RMD160 (rox/rox-filer-2.10.tar.bz2) = 48b64ccaceb96b59fbd2467aa65d8e128ebd960d
Size (rox/rox-filer-2.10.tar.bz2) = 1903129 bytes
SHA1 (patch-ROX-Filer_src_mount.c) = 19d820cf74d57dbfeb255b21522639ac2fc41574
SHA1 (patch-aa) = 20cf42090c9cd3149af6e7be59f826624062d759
SHA1 (patch-ab) = bec4e64a5f54109fab55f89b8da9a55d0465d0ab
SHA1 (patch-ac) = fc78b2208cb052bedaab4ae3c1e59677bc299f6e
SHA1 (patch-ad) = 3a8fef42c3749bb9aa2fc17f292a940aacd596b3

View File

@@ -0,0 +1,28 @@
$NetBSD: patch-ROX-Filer_src_mount.c,v 1.1 2013/02/22 21:38:06 jperkin Exp $
Re-order includes so the correct ones are used on SunOS.
--- ROX-Filer/src/mount.c.orig 2009-07-18 14:23:18.000000000 +0000
+++ ROX-Filer/src/mount.c
@@ -29,6 +29,10 @@
#ifdef HAVE_MNTENT_H
/* Linux, etc */
# include <mntent.h>
+#elif HAVE_SYS_MNTENT_H
+ /* SunOS */
+# include <sys/mntent.h>
+# include <sys/mnttab.h>
#elif HAVE_SYS_UCRED_H
/* NetBSD, OSF1, etc */
# include <fstab.h>
@@ -37,10 +41,6 @@
# include <sys/ucred.h>
# include <sys/mount.h>
# include <stdlib.h>
-#elif HAVE_SYS_MNTENT_H
- /* SunOS */
-# include <sys/mntent.h>
-# include <sys/mnttab.h>
#endif
#include <sys/time.h>
#ifdef HAVE_SYS_VFS_H

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-aa,v 1.4 2009/11/05 19:50:54 reinoud Exp $
--- ROX-Filer/src/config.h.in.orig 2009-07-18 16:23:18.000000000 +0200
+++ ROX-Filer/src/config.h.in
@@ -60,9 +60,9 @@
/* printf format string to print file sizes */
#ifdef LARGE_FILE_SUPPORT
-# define SIZE_FMT G_GINT64_MODIFIER "d"
+# define SIZE_FMT G_GINT64_MODIFIER "jd"
#else
-# define SIZE_FMT G_GINT32_MODIFIER "d"
+# define SIZE_FMT G_GINT32_MODIFIER "jd"
#endif
#if 1

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-ab,v 1.5 2012/01/08 03:39:25 sbd Exp $
--- ROX-Filer/src/infobox.c.orig 2009-07-18 14:23:18.000000000 +0000
+++ ROX-Filer/src/infobox.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <sys/param.h>
#include <signal.h>
+#include <stdint.h>
#include <libxml/parser.h>
#include <gtk/gtk.h>
@@ -435,7 +436,7 @@ static void insert_size(DU *du, const ch
cell = (size >= PRETTY_SIZE_LIMIT)
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
format_size(size),
- size, _("bytes"))
+ (intmax_t) size, _("bytes"))
: g_strdup(format_size(size));
set_cell(du->store, du->path, cell);
@@ -576,7 +577,7 @@ static GtkWidget *make_details(const guc
item->size >= PRETTY_SIZE_LIMIT
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
format_size(item->size),
- item->size, _("bytes"))
+ (intmax_t) item->size, _("bytes"))
: g_strdup(format_size(item->size)));
}
else

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ac,v 1.6 2009/12/10 16:28:44 joerg Exp $
--- ROX-Filer/src/pixmaps.c.orig 2009-07-18 16:23:18.000000000 +0200
+++ ROX-Filer/src/pixmaps.c
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
+#include <inttypes.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
@@ -432,7 +433,7 @@ static void save_thumbnail(const char *p
swidth = g_strdup_printf("%d", original_width);
sheight = g_strdup_printf("%d", original_height);
- ssize = g_strdup_printf("%" SIZE_FMT, info.st_size);
+ ssize = g_strdup_printf("%" SIZE_FMT, (intmax_t) info.st_size);
smtime = g_strdup_printf("%ld", (long) info.st_mtime);
path = pathdup(pathname);

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ad,v 1.3 2009/11/05 19:50:54 reinoud Exp $
--- ROX-Filer/src/support.c.orig 2009-07-18 16:23:18.000000000 +0200
+++ ROX-Filer/src/support.c
@@ -272,7 +272,7 @@ const char *format_size(off_t size)
units = _("B");
g_free(buffer);
- buffer = g_strdup_printf("%" SIZE_FMT " %s", size, units);
+ buffer = g_strdup_printf("%" SIZE_FMT " %s", (intmax_t) size, units);
return buffer;
}
@@ -309,7 +309,7 @@ const char *format_size_aligned(off_t si
units = ' ';
g_free(buffer);
- buffer = g_strdup_printf("%4" SIZE_FMT "%c", size, units);
+ buffer = g_strdup_printf("%4" SIZE_FMT "%c", (intmax_t) size, units);
return buffer;
}