SOURCES: endeavour-PLD.patch (NEW), endeavour-mimetypes.ini (NEW) ...
abram
abram at pld-linux.org
Fri Dec 23 15:44:19 CET 2005
Author: abram Date: Fri Dec 23 14:44:18 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch for PLD, for me works
- mimetypes.ini conf file, i use it in my work
---- Files affected:
SOURCES:
endeavour-PLD.patch (NONE -> 1.1) (NEW), endeavour-mimetypes.ini (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/endeavour-PLD.patch
diff -u /dev/null SOURCES/endeavour-PLD.patch:1.1
--- /dev/null Fri Dec 23 15:44:18 2005
+++ SOURCES/endeavour-PLD.patch Fri Dec 23 15:44:13 2005
@@ -0,0 +1,161 @@
+diff -uNr endeavour-2.5.6.orig/endeavour2/config.h endeavour-2.5.6.pld/endeavour2/config.h
+--- endeavour-2.5.6.orig/endeavour2/config.h 2005-10-07 09:01:48.000000000 +0200
++++ endeavour-2.5.6.pld/endeavour2/config.h 2005-12-14 09:21:25.005740728 +0100
+@@ -343,13 +343,13 @@
+ #endif
+
+ #define EDV_DEF_FORMAT_FRONT_PROG EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
+- "/bin/format.front"
++ "/format.front"
+ #define EDV_DEF_FSCK_FRONT_PROG EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
+- "/bin/fsck.front"
++ "/fsck.front"
+ #define EDV_DEF_ZIPTOOL_FRONT_PROG EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
+- "/bin/ziptool.front"
++ "/ziptool.front"
+ #define EDV_DEF_DOWNLOAD_FRONT_PROG EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
+- "/bin/download.front"
++ "/download.front"
+ #define EDV_DEF_MAIL_CLIENT_PROG "/usr/bin/balsa"
+
+
+diff -uNr endeavour-2.5.6.orig/endeavour2/edvcore.c endeavour-2.5.6.pld/endeavour2/edvcore.c
+--- endeavour-2.5.6.orig/endeavour2/edvcore.c 2005-10-07 09:01:51.000000000 +0200
++++ endeavour-2.5.6.pld/endeavour2/edvcore.c 2005-12-23 15:27:37.817417472 +0100
+@@ -194,6 +194,11 @@
+ EDV_CFG_PARM_FILE_MIME_TYPES,
+ PrefixPaths(global_config_dir, EDV_DEF_MIMETYPES_FILE)
+ );
++#elif defined(PLD)
++ EDV_SET_S(
++ EDV_CFG_PARM_FILE_MIME_TYPES,
++ PrefixPaths(global_config_dir, EDV_DEF_MIMETYPES_FILE)
++ );
+ #else
+ EDV_SET_S(
+ EDV_CFG_PARM_FILE_MIME_TYPES,
+diff -uNr endeavour-2.5.6.orig/endeavour2/lib/endeavour2-config.c endeavour-2.5.6.pld/endeavour2/lib/endeavour2-config.c
+--- endeavour-2.5.6.orig/endeavour2/lib/endeavour2-config.c 2005-10-07 09:01:45.000000000 +0200
++++ endeavour-2.5.6.pld/endeavour2/lib/endeavour2-config.c 2005-12-22 14:55:50.856055776 +0100
+@@ -24,7 +24,7 @@
+
+
+ #define CFLAGS "\
+--I/usr/lib/endeavour2/include"
++-I/usr/include/endeavour2"
+
+ #define LIBS "\
+ -lendeavour2"
+diff -uNr endeavour-2.5.6.orig/endeavour2/lib/Makefile endeavour-2.5.6.pld/endeavour2/lib/Makefile
+--- endeavour-2.5.6.orig/endeavour2/lib/Makefile 2005-10-07 09:01:45.000000000 +0200
++++ endeavour-2.5.6.pld/endeavour2/lib/Makefile 2005-12-22 14:25:24.112762968 +0100
+@@ -70,8 +70,8 @@
+ BIN_DIR = $(PREFIX)/bin
+ LIB_DIR = $(PREFIX)/lib
+ EDV_ARCH_DIR = $(PREFIX)/lib/endeavour2
+-EDV_INCLUDE_DIR = $(PREFIX)/lib/endeavour2/include
+-EDV_LIB_DIR = $(PREFIX)/lib/endeavour2/lib
++EDV_INCLUDE_DIR = $(PREFIX)/include/endeavour2/
++EDV_LIB_DIR = $(PREFIX)/lib/
+
+
+ # Compile time information export:
+diff -uNr endeavour-2.5.6.orig/endeavour2/platforms.ini endeavour-2.5.6.pld/endeavour2/platforms.ini
+--- endeavour-2.5.6.orig/endeavour2/platforms.ini 2005-10-07 09:02:02.000000000 +0200
++++ endeavour-2.5.6.pld/endeavour2/platforms.ini 2005-12-23 12:04:27.893567576 +0100
+@@ -285,6 +285,95 @@
+ MustExist = Yes
+ DependPath = gtk-config
+
++# PLD/Linux
++# autor Michał Abramowicz <abram at pld-linux.org>
++# 14.12.2005
++Platform = PLD
++ Description = For PLD Linux (http://www.pld-linux.org)
++ PREFIX = /usr
++ CFLAGS = -g -O2 -Wall -DPLD -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions
++ LIBS = -lm
++ LIB_DIR =
++ CC = cc
++ CPP = c++
++ PlatformSearchPathInclude = /usr/include
++ PlatformSearchPathInclude = /usr/X11R6/include
++ PlatformSearchPathLib = /lib
++ PlatformSearchPathLib = /usr/lib
++ PlatformSearchPathLib = /usr/X11R6/lib
++ PlatformSearchPathEtc = /etc
++ PlatformSearchPathBin = /usr/bin
++ PlatformSearchPathBin = /usr/X11R6/bin
++ PlatformSearchPathData = /usr/share/icons
++ PlatformFeature = arch-i386
++ Description = Adds -march=i386 for 486 specific optimizations
++ MustExist = Preferred
++ FeatureCFLAGS = -march=i386
++ FeatureDepend = i386
++ DependType = Machine
++ MustExist = Yes
++ DependMachine = i386
++ PlatformFeature = arch-i586
++ Description = Adds -march=i586 for Pentium specific optimizations
++ MustExist = Preferred
++ FeatureCFLAGS = -march=i586
++ FeatureDepend = i586
++ DependType = Machine
++ MustExist = Yes
++ DependMachine = i586
++ PlatformFeature = arch-i686
++ Description = Adds -march=i686 for Pentium Pro specific optimizations
++ MustExist = Preferred
++ FeatureCFLAGS = -march=i686
++ FeatureDepend = i686
++ DependType = Machine
++ MustExist = Yes
++ DependMachine = i686
++ PlatformFeature = libgif
++ Description = Uncompressed GIF Library
++ MustExist = Preffered
++ FeatureCFLAGS = -DHAVE_LIBGIF
++ FeatureLIBS = -lgif
++ FeatureDepend = libgif-devel
++ DependType = Header
++ MustExist = Yes
++ DependPath = gif_lib.h
++ DependGrepString = DGifOpenFileName
++ PlatformFeature = XF86VidMode
++ Description = XF86 Video Mode extension
++ MustExist = Preferred
++ FeatureCFLAGS = -DHAVE_XF86_VIDMODE
++ FeatureLIBS = -lXxf86vm
++ FeatureLIB_DIR = -L/usr/X11R6/lib/
++ FeatureDepend = xf86vidmode-lib
++ DependType = Library
++ MustExist = Yes
++ DependPath = libXxf86vm.a
++ DependGrepString = XF86VidModeQueryExtension
++ FeatureDepend = xf86vidmode-devel
++ DependType = Header
++ MustExist = Yes
++ DependPath = X11/extensions/xf86vmode.h
++ DependGrepString = XF86VidModeQueryExtension
++ PlatformFeature = Imlib
++ Description = Image library
++ MustExist = Preffered
++ FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
++ FeatureLIBS = `imlib-config --libs`
++ FeatureDepend = Imlib-devel
++ DependType = Program
++ MustExist = Yes
++ DependPath = imlib-config
++ PlatformFeature = libgtk
++ Description = GTK+ 1.2.x
++ MustExist = Yes
++ FeatureCFLAGS = `gtk-config --cflags`
++ FeatureLIBS = `gtk-config --libs`
++ FeatureLIB_DIR = -L/usr/X11R6/lib
++ FeatureDepend = gtk-devel
++ DependType = Program
++ MustExist = Yes
++ DependPath = gtk-config
+
+ # Debian GNU/Linux
+ #
================================================================
Index: SOURCES/endeavour-mimetypes.ini
diff -u /dev/null SOURCES/endeavour-mimetypes.ini:1.1
--- /dev/null Fri Dec 23 15:44:18 2005
+++ SOURCES/endeavour-mimetypes.ini Fri Dec 23 15:44:13 2005
@@ -0,0 +1,248 @@
+BeginMIMEType = 1
+ Type = misc/untitled
+ Description = New MIME Type
+ Handler = Command
+EndMIMEType
+BeginMIMEType = 1
+ Type = image/*
+ Value = .jpg .bmp .gif .xpm .png .tiff
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_file_image_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_file_image_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_file_image_48x48.xpm
+ Handler = Command
+ Command = default=/usr/bin/eog %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/eog ]
+ AccessTime = 1105345304
+ ModifyTime = 1105345304
+ ChangeTime = 1105345304
+EndMIMEType
+BeginMIMEType = 1
+ Type = audio/mod
+ Handler = Command
+ Command = default=/usr/bin/mikmod %s
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = audio/*
+ Handler = Command
+ Command = default=/usr/bin/mplayer -vc null -vo null %s
+ Command = test=/usr/bin/[ -z "$DISPLAY" ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = video/*
+ Handler = Command
+ Command = default=/usr/bin/mplayer -vc null -vo null %s
+ Command = test=/usr/bin/[ -z "$DISPLAY" ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = video/mpeg
+ Handler = Command
+ Command = default=/usr/bin/mplayer -vc null -vo null %s
+ Command = test=/usr/bin/[ -z "$DISPLAY" ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/pdf
+ Value = .pdf
+ Description = PDF File
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_file_pdf_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_file_pdf_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_file_pdf_48x48.xpm
+ Handler = Command
+ Command = default=/usr/bin/acroread %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" ]
+ AccessTime = 1105345458
+ ModifyTime = 1105345458
+ ChangeTime = 1105345458
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/postscript
+ Value = .ai .eps .ps
+ Description = Postscript Files
+ Handler = Command
+ Command = default=/usr/bin/gv -safer %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" ]
+ AccessTime = 1105345495
+ ModifyTime = 1105345495
+ ChangeTime = 1105345495
+EndMIMEType
+BeginMIMEType = 1
+ Type = text/html
+ Value = .html
+ Description = HTML File
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_mozilla_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_mozilla_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_mozilla_48x48.xpm
+ Handler = Command
+ Command = default=/usr/bin/mozilla-firefox %s
+ AccessTime = 1105345140
+ ModifyTime = 1105345140
+ ChangeTime = 1105345140
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/x-shockwave-flash
+ Handler = Command
+ Command = default=/usr/bin/swfplayer %s & sleep 2
+ Command = test=/usr/bin/[ -n "$DISPLAY" ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/msword
+ Value = .doc
+ Description = MSWORD file
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_file_text_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_file_text_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_file_text_48x48.xpm
+ Handler = Command
+ Command = default=/usr/bin/oowriter %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
+ AccessTime = 1105345195
+ ModifyTime = 1105345195
+ ChangeTime = 1105345195
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.ms-excel
+ Value = .xls
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_48x48.xpm
+ Handler = Command
+ Command = default=/usr/bin/oocalc %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
+ AccessTime = 1105345211
+ ModifyTime = 1105345211
+ ChangeTime = 1105345211
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.ms-powerpoint
+ Value = .pps
+ Handler = Command
+ Command = default=/usr/bin/ooimpress %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/ooimpress ]
+ AccessTime = 1104937609
+ ModifyTime = 1104937609
+ ChangeTime = 1104937609
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/x-msexcel
+ Value = .xls
+ IconSmallStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_20x20.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_32x32.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/icon_file_spreadsheet_20x20.xpm
+ Handler = Command
+ Command = default=/usr/bin/oocalc %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
+ AccessTime = 1105345229
+ ModifyTime = 1105345229
+ ChangeTime = 1105345229
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.stardivision.calc
+ Value = .sdc
+ IconSmallStandard = /usr/share/endeavour2/icons/sdc.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/sdc.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/sdc.xpm
+ Handler = Command
+ Command = default=/usr/bin/oocalc %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
+ AccessTime = 1105346034
+ ModifyTime = 1105346034
+ ChangeTime = 1105346034
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.stardivision.writer
+ Value = .sdw
+ IconSmallStandard = /usr/share/endeavour2/icons/sdw.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/sdc.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/sdw.xpm
+ Handler = Command
+ Command = default=/usr/bin/oowriter %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
+ AccessTime = 1105346045
+ ModifyTime = 1105346045
+ ChangeTime = 1105346045
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.writer
+ Value = .sxw
+ Description = OpenOffice document file
+ IconSmallStandard = /usr/share/endeavour2/icons/ooo_writer.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/ooo_writer.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/ooo_writer.xpm
+ Handler = Command
+ Command = default=/usr/bin/oowriter %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
+ AccessTime = 1105346687
+ ModifyTime = 1105346687
+ ChangeTime = 1105346687
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.writer.template
+ Handler = Command
+ Command = default=/usr/bin/oowriter %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oowriter ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.calc
+ Value = .sxc
+ IconSmallStandard = /usr/share/endeavour2/icons/ooo_calc.xpm
+ IconMediumStandard = /usr/share/endeavour2/icons/ooo_calc.xpm
+ IconLargeStandard = /usr/share/endeavour2/icons/ooo_calc.xpm
+ Handler = Command
+ Command = default=/usr/bin/oocalc %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
+ AccessTime = 1105346708
+ ModifyTime = 1105346708
+ ChangeTime = 1105346708
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.calc.template
+ Handler = Command
+ Command = default=/usr/bin/oocalc %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/oocalc ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.impress
+ Handler = Command
+ Command = default=/usr/bin/ooimpress %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/ooimpress ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/vnd.sun.xml.impress.template
+ Handler = Command
+ Command = default=/usr/bin/ooimpress %s
+ Command = test=/usr/bin/[ -n "$DISPLAY" -a -x /usr/bin/ooimpress ]
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/x-rar-compressed
+ Handler = Command
+ Command = default=/usr/bin/rar v -c- %s
+ ModifyTime = 1104936897
+ ChangeTime = 1104936897
+EndMIMEType
+BeginMIMEType = 1
+ Type = application/postscript
+ Value = .ai .ps .eps
+ Description = Postscript Files
+ IconSmallStandard = /usr/share/pixmaps/Ghost.xpm
+ Handler = Command
+ Command = default=/usr/bin/gv -safer %s
+ AccessTime = 1105343127
+ ModifyTime = 1105343127
+ ChangeTime = 1105343127
+EndMIMEType
================================================================
More information about the pld-cvs-commit
mailing list