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
View File
@@ -0,0 +1,3 @@
FSViewer is a NeXT FileViewer lookalike for Window Maker. Viewing is currently
supported via browser mode and list mode. It has been written in C using the
WINGs library.
+34
View File
@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.42 2013/06/06 12:55:03 wiz Exp $
DISTNAME= FSViewer.app-0.2.5
PKGNAME= FSViewer-0.2.5
PKGREVISION= 16
CATEGORIES= sysutils x11 windowmaker
MASTER_SITES= http://www.bayernline.de/~gscholz/linux/fsviewer/
PATCH_SITES= http://www.bayernline.de/~gscholz/linux/fsviewer/
PATCHFILES= FSViewer.app-0.2.5-WM-0.81.0.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= johnam@mail.kemper.org
HOMEPAGE= http://www.bayernline.de/~gscholz/linux/fsviewer/
COMMENT= NextStep-like Filemanager for WindowMaker
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
LDFLAGS.SunOS+= -lintl
LDFLAGS.DragonFly= -lintl -lfontconfig
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --x-includes=${PREFIX:Q}/include
CONFIGURE_ARGS+= --x-libraries=${PREFIX:Q}/lib
.endif
.include "../../wm/windowmaker/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+162
View File
@@ -0,0 +1,162 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:16:04 joerg Exp $
GNUstep/Apps/FSViewer.app/FSViewer
GNUstep/Apps/FSViewer.app/MagicFiles
GNUstep/Apps/FSViewer.app/tiff/FSViewer.tif
GNUstep/Apps/FSViewer.app/tiff/exec-link.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-a.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-aiff.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-au.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-avi.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-bz2.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-c.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-cc.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-class.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-conf.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-core.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-cpp.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-dat.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-deb.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-eps.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-f90.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-fig.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-for.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-gif.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-gz.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-h.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-html.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-jar.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-java.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-jpg.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-m.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-mov.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-mp3.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-mpg.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-o.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-pdf.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-pedro.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-pl.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-png.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-ps.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-py.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-rc.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-rpm.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-sh.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-shar.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-so.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-tar.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-tcl.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-tex.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-texi.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-tga.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-tif.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-txt.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-wav.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-xbm.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-xcf.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-xpm.tif
GNUstep/Apps/FSViewer.app/tiff/file-dot-zip.tif
GNUstep/Apps/FSViewer.app/tiff/file-executable.tif
GNUstep/Apps/FSViewer.app/tiff/file-generic-gnustep.tif
GNUstep/Apps/FSViewer.app/tiff/file-generic-text.tif
GNUstep/Apps/FSViewer.app/tiff/file-link.tif
GNUstep/Apps/FSViewer.app/tiff/file-makefile.tif
GNUstep/Apps/FSViewer.app/tiff/file-plain.tif
GNUstep/Apps/FSViewer.app/tiff/file-readme.tif
GNUstep/Apps/FSViewer.app/tiff/folder-link.tif
GNUstep/Apps/FSViewer.app/tiff/folder.tif
GNUstep/Apps/FSViewer.app/tiff/fullfolder.tif
GNUstep/Apps/FSViewer.app/tiff/generic-coding.tif
GNUstep/Apps/FSViewer.app/tiff/generic-conf.tif
GNUstep/Apps/FSViewer.app/tiff/generic-config.tif
GNUstep/Apps/FSViewer.app/tiff/generic-library.tif
GNUstep/Apps/FSViewer.app/tiff/generic-sound.tif
GNUstep/Apps/FSViewer.app/tiff/generic-text.tif
GNUstep/Apps/FSViewer.app/tiff/home.tif
GNUstep/Apps/FSViewer.app/tiff/mycomputer.tif
GNUstep/Apps/FSViewer.app/tiff/neighbour.tif
GNUstep/Apps/FSViewer.app/xpm/FSViewer.xpm
GNUstep/Apps/FSViewer.app/xpm/FSViewer2.xpm
GNUstep/Apps/FSViewer.app/xpm/Folder.xpm
GNUstep/Apps/FSViewer.app/xpm/arrow.xpm
GNUstep/Apps/FSViewer.app/xpm/clk.xpm
GNUstep/Apps/FSViewer.app/xpm/date.xpm
GNUstep/Apps/FSViewer.app/xpm/exec-link.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-a.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-aiff.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-au.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-avi.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-bz2.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-c.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-cc.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-class.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-conf.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-core.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-cpp.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-dat.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-deb.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-eps.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-f90.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-fig.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-for.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-gif.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-gz.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-h.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-html.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-jar.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-java.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-jpg.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-m.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-mov.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-mp3.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-mpg.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-o.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-pdf.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-pedro.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-pl.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-png.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-ps.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-py.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-rc.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-rpm.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-sh.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-shar.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-so.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-tar.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-tcl.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-tex.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-texi.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-tga.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-txt.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-wav.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-xbm.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-xcf.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-xpm.xpm
GNUstep/Apps/FSViewer.app/xpm/file-dot-zip.xpm
GNUstep/Apps/FSViewer.app/xpm/file-executable.xpm
GNUstep/Apps/FSViewer.app/xpm/file-generic-gnustep.xpm
GNUstep/Apps/FSViewer.app/xpm/file-link.xpm
GNUstep/Apps/FSViewer.app/xpm/file-makefile.xpm
GNUstep/Apps/FSViewer.app/xpm/file-plain.xpm
GNUstep/Apps/FSViewer.app/xpm/file-readme.xpm
GNUstep/Apps/FSViewer.app/xpm/file_plain.xpm
GNUstep/Apps/FSViewer.app/xpm/folder-link.xpm
GNUstep/Apps/FSViewer.app/xpm/folder.xpm
GNUstep/Apps/FSViewer.app/xpm/full-folder.xpm
GNUstep/Apps/FSViewer.app/xpm/generic-coding.xpm
GNUstep/Apps/FSViewer.app/xpm/generic-conf.xpm
GNUstep/Apps/FSViewer.app/xpm/generic-library.xpm
GNUstep/Apps/FSViewer.app/xpm/generic-sound.xpm
GNUstep/Apps/FSViewer.app/xpm/generic-text.xpm
GNUstep/Apps/FSViewer.app/xpm/home.xpm
GNUstep/Apps/FSViewer.app/xpm/led.xpm
GNUstep/Apps/FSViewer.app/xpm/month.xpm
GNUstep/Apps/FSViewer.app/xpm/mycomputer.xpm
GNUstep/Apps/FSViewer.app/xpm/neighbour.xpm
GNUstep/Apps/FSViewer.app/xpm/penguin.xpm
GNUstep/Apps/FSViewer.app/xpm/weekday.xpm
GNUstep/Apps/FSViewer.app/xpm/wmanalog.xpm
GNUstep/Apps/FSViewer.app/xpm/wmdigital.xpm
GNUstep/Apps/FSViewer.app/xpm/wmtime.xpm
GNUstep/Apps/FSViewer.app/xpm/year.xpm
share/locale/de/LC_MESSAGES/FSViewer.mo
share/locale/ru/LC_MESSAGES/FSViewer.mo
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: distinfo,v 1.8 2012/05/04 16:34:48 joerg Exp $
SHA1 (FSViewer.app-0.2.5.tar.gz) = 0df2e5c6317f13b2c867c4d07c9840e455134f7d
RMD160 (FSViewer.app-0.2.5.tar.gz) = 6e11d8c950c4c4b6020b2af33a32d31f7bca371d
Size (FSViewer.app-0.2.5.tar.gz) = 858696 bytes
SHA1 (FSViewer.app-0.2.5-WM-0.81.0.patch.gz) = 7a8c689a30292438c6bd2f282390c7b289efea63
RMD160 (FSViewer.app-0.2.5-WM-0.81.0.patch.gz) = 86817447aa7183670e4ea131bf67f8a80a48a5aa
Size (FSViewer.app-0.2.5-WM-0.81.0.patch.gz) = 2674 bytes
SHA1 (patch-aa) = 790b6a6810bf38ffebb0b00f68f29e5ebe01a83d
SHA1 (patch-ab) = a0894d4fc9a1e925f1df331c26f23c915699a73f
SHA1 (patch-ag) = 5496345589bdf7cbf8bd64449f93a7270ce046a0
SHA1 (patch-src_FSFileButton.c) = 128ebcd74177133d87363cdafad8cf5aa1868d20
SHA1 (patch-src_FSPanel.c) = 9c9315e50335086e4c0ba7166731dfdefc1967c3
SHA1 (patch-src_list.h) = eff2f1c3aff21bd02ad53eb54dcc08d33494fe5a
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.2 2006/03/24 12:26:47 joerg Exp $
--- src/DnD.c.orig Sat Oct 9 20:45:23 1999
+++ src/DnD.c
@@ -21,8 +21,11 @@
#include <X11/cursorfont.h>
#include <stdio.h>
#include <stdlib.h>
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
#include <values.h>
-
+#else
+#define MAXINT 32
+#endif
#include "DnD.h"
/* #define DEBUG */
+33
View File
@@ -0,0 +1,33 @@
$NetBSD: patch-ab,v 1.5 2012/05/04 16:34:48 joerg Exp $
--- src/FSUtils.c.orig 2012-05-04 13:27:48.000000000 +0000
+++ src/FSUtils.c
@@ -66,6 +66,10 @@ typedef unsigned long ulong;
#define DF_COMMAND "df -k"
#endif
+#if defined(__DragonFly__)
+typedef unsigned long ulong;
+#endif
+
const char *formatk(ulong k);
static RContext *rContext = NULL;
@@ -1193,7 +1197,7 @@ FSGetDNDType(FileInfo *fileInfo)
char *pathname = NULL;
if(fileInfo == NULL)
- return;
+ return -1;
switch (fileInfo->fileType)
{
@@ -1227,7 +1231,7 @@ FSExecCommand(char *path, char *execStr)
{
char s[0xff];
- sprintf(s, _("Error changing to %s, \"%s\" cancelled."), path);
+ sprintf(s, _("Error changing to %s, \"%s\" cancelled."), path, execStr);
FSErrorDialog(_("Error File Operation"), s);
return 1;
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-ag,v 1.2 2004/11/26 09:10:11 adam Exp $
--- src/timestampWidget.h.orig 2002-01-05 16:20:27.000000000 +0000
+++ src/timestampWidget.h
@@ -44,6 +44,10 @@ typedef struct W_TimeStamp TimeStamp;
/* Function Prototypes - timestampWidget.c ***********************************/
+#ifndef BOOL
+#define BOOL int
+#endif
+
extern W_Class InitTimeStamp(WMScreen*);
extern TimeStamp *CreateTimeStamp(WMWidget*);
extern void SetTimeStampBlank(TimeStamp*, Bool);
@@ -0,0 +1,13 @@
$NetBSD: patch-src_FSFileButton.c,v 1.1 2012/05/04 16:34:48 joerg Exp $
--- src/FSFileButton.c.orig 2012-05-04 13:44:22.000000000 +0000
+++ src/FSFileButton.c
@@ -689,7 +689,7 @@ createTextView(W_Screen *scr, char *text
W_View *view = NULL;
if(!text)
- return;
+ return NULL;
view = W_CreateTopView(scr);
view->attribFlags |= CWOverrideRedirect|CWSaveUnder;
@@ -0,0 +1,35 @@
$NetBSD: patch-src_FSPanel.c,v 1.1 2012/05/04 16:34:48 joerg Exp $
--- src/FSPanel.c.orig 2012-05-04 13:30:20.000000000 +0000
+++ src/FSPanel.c
@@ -748,7 +748,7 @@ FSRunAppInputPanel(FSViewer *app, FileIn
{
char *result = NULL;
- if (!(appInput = FSCreateAppInputPanel(app, fileInfo, title))) { return; }
+ if (!(appInput = FSCreateAppInputPanel(app, fileInfo, title))) { return NULL; }
WMMapWidget(appInput->win);
@@ -1205,7 +1205,7 @@ FSRunAlertPanel(FSViewer *app,
if( !(alertPanel = FSCreateAlertPanel(app, title, msg,
defaultButton, alternateButton,
- otherButton) ) ) {return;}
+ otherButton) ) ) {return -1;}
WMMapWidget(alertPanel->win);
@@ -1392,10 +1392,10 @@ FSRunSelectIconPanel(WMWindow *owner, ch
char *imgStr = NULL;
if(selIcon)
- return;
+ return NULL;
if (!(selIcon = FSCreateSelectIconPanel(owner, title, str)))
- return;
+ return NULL;
WMMapWidget(selIcon->win);
@@ -0,0 +1,17 @@
$NetBSD: patch-src_list.h,v 1.1 2012/05/04 16:34:48 joerg Exp $
--- src/list.h.orig 2012-05-04 13:34:36.000000000 +0000
+++ src/list.h
@@ -29,11 +29,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __LIST_H_
#define __LIST_H_
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-# define INLINE inline
-#else
-# define INLINE
-#endif
+#define INLINE
typedef struct LinkedList {
void *head;