This commit is contained in:
commit
b1bf96ecc3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
149
joe-3.0-rc.patch
Normal file
149
joe-3.0-rc.patch
Normal file
@ -0,0 +1,149 @@
|
||||
--- rc/jmacsrc.in
|
||||
+++ rc/jmacsrc.in
|
||||
@@ -876,6 +875,10 @@
|
||||
-wordwrap
|
||||
-syntax mail
|
||||
|
||||
+ RPM spec file
|
||||
+*.spec
|
||||
+-syntax spec
|
||||
+
|
||||
THIRD SECTION: Named help screens:
|
||||
|
||||
Use \i to turn on/off inverse video
|
||||
@@ -1249,6 +1252,7 @@
|
||||
home ^A
|
||||
home ^[ [ H
|
||||
home ^[ [ 1 ~
|
||||
+home ^[ [ 7 ~
|
||||
bop ^[ p (uemacs)
|
||||
bop ^[ {
|
||||
bufed ^X b
|
||||
@@ -1277,6 +1281,7 @@
|
||||
eol ^E
|
||||
eol ^[ [ F
|
||||
eol ^[ [ 4 ~
|
||||
+eol ^[ [ 8 ~
|
||||
eop ^[ n (uemacs)
|
||||
eop ^[ }
|
||||
execmd ^[ x
|
||||
--- rc/joerc.in
|
||||
+++ rc/joerc.in
|
||||
@@ -908,6 +908,10 @@
|
||||
-wordwrap
|
||||
-syntax mail
|
||||
|
||||
+ RPM spec file
|
||||
+*.spec
|
||||
+-syntax spec
|
||||
+
|
||||
THIRD SECTION: Named help screens:
|
||||
|
||||
Use \i to turn on/off inverse video
|
||||
@@ -1325,6 +1329,9 @@
|
||||
bol ^# SP A
|
||||
home .kh
|
||||
home ^A
|
||||
+home ^[ [ H
|
||||
+home ^[ [ 1 ~
|
||||
+home ^[ [ 7 ~
|
||||
center ^K A Center line
|
||||
center ^K ^A
|
||||
center ^K a
|
||||
@@ -1349,6 +1356,9 @@
|
||||
eol .kH Go to end of line
|
||||
eol .@7
|
||||
eol ^E
|
||||
+eol ^[ [ F
|
||||
+eol ^[ [ 4 ~
|
||||
+eol ^[ [ 8 ~
|
||||
exsave ^K X Save and exit
|
||||
exsave ^K ^X
|
||||
exsave ^K x
|
||||
--- rc/jpicorc.in
|
||||
+++ rc/jpicorc.in
|
||||
@@ -902,6 +902,10 @@
|
||||
-wordwrap
|
||||
-syntax mail
|
||||
|
||||
+ RPM spec file
|
||||
+*.spec
|
||||
+-syntax spec
|
||||
+
|
||||
THIRD SECTION: Named help screens:
|
||||
|
||||
Use \i to turn on/off inverse video
|
||||
@@ -1154,6 +1158,7 @@
|
||||
home ^A
|
||||
home ^[ [ H
|
||||
home ^[ [ 1 ~
|
||||
+home ^[ [ 7 ~
|
||||
center ^[ ^C Center line
|
||||
center ^[ c
|
||||
delch .kD Delete character
|
||||
@@ -1182,6 +1187,7 @@
|
||||
eol ^E
|
||||
eol ^[ [ F
|
||||
eol ^[ [ 4 ~
|
||||
+eol ^[ [ 8 ~
|
||||
execmd ^[ X Prompt for command to execute
|
||||
execmd ^[ ^X Prompt for command to execute
|
||||
execmd ^[ x Prompt for command to execute
|
||||
--- rc/jstarrc.in
|
||||
+++ rc/jstarrc.in
|
||||
@@ -878,6 +878,10 @@
|
||||
-wordwrap
|
||||
-syntax mail
|
||||
|
||||
+ RPM spec file
|
||||
+*.spec
|
||||
+-syntax spec
|
||||
+
|
||||
THIRD SECTION: Named help screens:
|
||||
|
||||
Use \i to turn on/off inverse video
|
||||
@@ -1194,6 +1198,7 @@
|
||||
home .kh Goto beginning of line
|
||||
home ^[ [ H
|
||||
home ^[ [ 1 ~
|
||||
+home ^[ [ 7 ~
|
||||
home ^Q S
|
||||
home ^Q ^S
|
||||
home ^Q s
|
||||
@@ -1235,6 +1240,7 @@
|
||||
eol .@7
|
||||
eol ^[ [ F
|
||||
eol ^[ [ 4 ~
|
||||
+eol ^[ [ 8 ~
|
||||
eol ^Q D
|
||||
eol ^Q ^D
|
||||
eol ^Q d
|
||||
--- rc/rjoerc.in
|
||||
+++ rc/rjoerc.in
|
||||
@@ -902,6 +902,10 @@
|
||||
-wordwrap
|
||||
-syntax mail
|
||||
|
||||
+ RPM spec file
|
||||
+*.spec
|
||||
+-syntax spec
|
||||
+
|
||||
THIRD SECTION: Named help screens:
|
||||
|
||||
Use \i to turn on/off inverse video
|
||||
@@ -1238,6 +1242,7 @@
|
||||
bol ^A
|
||||
bol ^[ [ H
|
||||
bol ^[ [ 1 ~
|
||||
+bol ^[ [ 7 ~
|
||||
bol ^# SP A
|
||||
center ^K A Center line
|
||||
center ^K ^A
|
||||
@@ -1264,6 +1269,7 @@
|
||||
eol ^E
|
||||
eol ^[ [ F
|
||||
eol ^[ [ 4 ~
|
||||
+eol ^[ [ 8 ~
|
||||
exsave ^K X Save and exit
|
||||
exsave ^K ^X
|
||||
exsave ^K x
|
26
joe-3.1-ia64.patch
Normal file
26
joe-3.1-ia64.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- b.c
|
||||
+++ b.c
|
||||
@@ -463,9 +463,10 @@
|
||||
int pisblank(P *p)
|
||||
{
|
||||
P *q = pdup(p, USTR "pisblank");
|
||||
+ int brc_result;
|
||||
|
||||
p_goto_bol(q);
|
||||
- while (joe_isblank(p->b->o.charmap,brc(q)))
|
||||
+ while (((brc_result = brc(q)) != MAXINT) && joe_isblank(p->b->o.charmap,brc(q)))
|
||||
pgetb(q);
|
||||
if (piseol(q)) {
|
||||
prm(q);
|
||||
@@ -497,9 +498,10 @@
|
||||
{
|
||||
P *q = pdup(p, US "pisindent");
|
||||
long col;
|
||||
+ int brc_result;
|
||||
|
||||
p_goto_bol(q);
|
||||
- while (joe_isblank(p->b->o.charmap,brc(q)))
|
||||
+ while (((brc_result = brc(q)) != MAXINT) && joe_isblank(p->b->o.charmap,brc(q)))
|
||||
pgetc(q);
|
||||
col = q->col;
|
||||
prm(q);
|
11
joe-3.1.patch
Normal file
11
joe-3.1.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- path.c
|
||||
+++ path.c
|
||||
@@ -210,6 +210,8 @@
|
||||
where = (unsigned char *)getenv("TEMP");
|
||||
if (!where)
|
||||
where = USTR _PATH_TMP;
|
||||
+ if (strlen(where) > PATH_MAX+NAME_MAX)
|
||||
+ where[PATH_MAX+NAME_MAX+1] = '\0';
|
||||
|
||||
namesize = zlen(where) + 16;
|
||||
name = vsmk(namesize); /* [G.Ghibo'] we need to use vsmk() and not malloc() as
|
10
joe-3.3-warnings.patch
Normal file
10
joe-3.3-warnings.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- bw.c
|
||||
+++ bw.c
|
||||
@@ -206,6 +206,7 @@
|
||||
#ifdef junk
|
||||
P *tmp = 0;
|
||||
HIGHLIGHT_STATE state;
|
||||
+ memset((void*)&state,0,sizeof(HIGHLIGHT_STATE));
|
||||
|
||||
/* Screen y position of requested line */
|
||||
int y = line-w->top->line+w->y;
|
3
joe-3.5.tar.bz2
Normal file
3
joe-3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cf80c7dda5777554ad65b17d4034090a9a97d42f25947b2e984cd92f94cbad3
|
||||
size 492159
|
264
joe.changes
Normal file
264
joe.changes
Normal file
@ -0,0 +1,264 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 22 22:51:24 CEST 2006 - cthiel@suse.de
|
||||
|
||||
- update to 3.5
|
||||
* Fix $# in shell highlighter.
|
||||
* Fix .in files in ftype
|
||||
* Tags file patch: allows you to put a path in TAGS environment variable.
|
||||
* Fix possible querysave bug.
|
||||
* Fix query window bug: cursor was not left in original windows for new
|
||||
multi-line query window thing.
|
||||
* Fix bug where we could not find ^@
|
||||
* Accept ,start,size notation only if it is correct.
|
||||
* Fix bug from undo_keep: undo_keep has to be a multiple of 2 for redo to
|
||||
work properly.
|
||||
* New undo_keep option.
|
||||
* Add built-in joerc file.
|
||||
* Fix menu bug: coredump on left arrow.
|
||||
* allow |comments| in gettext strings.
|
||||
* dnelson's patches for large files, tty.c include file problems and
|
||||
$(srcdir).
|
||||
* new syntax files: m4 joerc
|
||||
* use hash table in rc file parser.
|
||||
* use hash table in syntax parser.
|
||||
* add auto-expanding hash table.
|
||||
* i18n of other single-key prompts. add joe_gettext to yncheck.
|
||||
* fix bug coredump when doing multi-file search and replace
|
||||
* internationalized y/n handling.
|
||||
* new spell check macro which uses 'language'
|
||||
* fix sh highlight bug: do not try to highlight $( )
|
||||
* query windows can now be multi-line. Also they should handle wide
|
||||
characters properly.
|
||||
* you can now type a macro right into the ESC X prompt.
|
||||
* New * Startup Log * window catches .jsf file errors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 22:43:23 CEST 2006 - cthiel@suse.de
|
||||
|
||||
- update to 3.4
|
||||
* Paragraph reformatter and word wrap now handle '*' and '-' bullet lists.
|
||||
* Better internationalization (i18n)
|
||||
* Multi-file search and replace
|
||||
* Build and grep window work more like Turbo-C: the messages window is
|
||||
forced onto the screen when you hit ^[ = and ^[ -.
|
||||
* Syntax highlighter definition files (.jsf files) can now have
|
||||
subroutines. This eases highlighter reuse: for example, Mason and PHP
|
||||
can share the HTML highlighter.
|
||||
* You can now define which characters can indent paragraphs. Also the
|
||||
default list has been reduced so that formatting of TeX/LaTeX files
|
||||
works better.
|
||||
* Highlighting now uses less CPU time and always parses from the beginning
|
||||
of the file (the number of sync lines option is deprecated).
|
||||
* File selection menu/completion-list is now above the prompt (which is
|
||||
more like bash). Also it is transposed, so that it is sorted by columns
|
||||
instead of rows.
|
||||
* "Bufed" (prompt for a buffer to edit), works like other file prompt
|
||||
commands: it's a real prompt with history and completion.
|
||||
* Automatic horizontal left scroll jumps by 5-10 columns.
|
||||
* New syntax files: troff, Haskell, Cadance SKILL, REXX, LUA, RUBY. Many
|
||||
of the existing syntax files have been improved.
|
||||
- removed joe-3.0-processing.patch, joe-3.1-compilesubdir.patch,
|
||||
joe-3.1-syntaxsegv.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:03 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 15:21:25 CET 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 5 17:50:43 CEST 2005 - uli@suse.de
|
||||
|
||||
- build with warnings
|
||||
- fixed warnings Autobuild objects to (fixes s390x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 15:45:23 CEST 2005 - cthiel@suse.de
|
||||
|
||||
- update to 3.3
|
||||
- disabled joe-3.1-compilesubdir.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 23 15:15:04 CEST 2004 - uli@suse.de
|
||||
|
||||
- parse entering/leaving dir msgs from make
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 17 15:44:06 CEST 2004 - uli@suse.de
|
||||
|
||||
- update -> 3.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 13:10:59 CEST 2004 - uli@suse.de
|
||||
|
||||
- fixed segfault in syntax highlighting
|
||||
- added highlighting rules for spec files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 15:10:54 CEST 2004 - uli@suse.de
|
||||
|
||||
- update -> 3.0 (UTF-8 support, syntax highlighting)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 21:28:17 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 11:11:20 CET 2002 - egmont@suselinux.hu
|
||||
|
||||
- updated to 2.9.8-pre1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 18:10:49 CET 2002 - egmont@suselinux.hu
|
||||
|
||||
- disabled undo patch, seems to be very buggy
|
||||
- use relative symlinks instead of absolute ones
|
||||
- added symlinks for manpages
|
||||
- added URL
|
||||
- added defattr(-,root,root) to spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 26 10:08:20 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed problem with large files (#5833)
|
||||
* fixed by joe-2.9.7-pre1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 16:32:18 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- added three patches from SourceForge, thanks to
|
||||
Koblinger Egmont <egmont@suselinux.hu> for hints
|
||||
* resize - solves pause after xterm resizing
|
||||
* asis - turns off -asis in the default config, as it
|
||||
is no longer needed
|
||||
* undo - solves a problem with undo and the "Modified" mark
|
||||
after many savings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 12:37:47 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- downgraded to stable version 2.9.5
|
||||
* thanks to Koblinger Egmont <egmont@suselinux.hu> and
|
||||
his experiences
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 09:52:53 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- updated to version 2.9.6
|
||||
- config files moved from /usr/lib to /etc
|
||||
- cleaned up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 14:21:12 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed cast warnings on ia64
|
||||
- fixed to run on ia64:
|
||||
* argument of function isblank must have the value
|
||||
of an unsigned char or EOF but function brc returns
|
||||
sometimes MAXINT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 15:46:22 CEST 2001 - uli@suse.de
|
||||
|
||||
- update -> 2.9.5 (all fixes are still there)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 10:16:08 CET 2001 - pblaha@suse.cz
|
||||
|
||||
- add build root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 11:43:49 CET 2001 - pblaha@suse.cz
|
||||
|
||||
- applied patch from Thomas Biege
|
||||
- This patch protects a user to open a .joerc file,
|
||||
- that doesn't belongs to him, in public writeable
|
||||
- directories (like /tmp). Commands can be executed
|
||||
- via .joerc.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 16:11:58 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- added locale patch
|
||||
- sorted
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 16:21:07 CEST 2000 - schwab@suse.de
|
||||
|
||||
- conf.c: don't redeclare time on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 17:21:18 CEST 2000 - dipa@suse.de
|
||||
|
||||
- a patch that take the resizing of a X terminal into consideration
|
||||
+#include <sys/ioctl.h> in tty.c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 14:17:50 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Move /usr/man -> /usr/share/man
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 24 18:24:21 MEST 1999 - uli@suse.de
|
||||
|
||||
- added -fsigned-char to CFLAGS (PPC)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 24 19:06:14 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Applied better security fix (w/o unlinking) from thomas@suse.de
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 19:03:19 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Additionally added unlink("DEADJOE");
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 18:51:55 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Checked in DEADJOE permissions security fix from thomas@suse.de
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 00:49:52 MET 1999 - ro@suse.de
|
||||
|
||||
- conf.c: don't redeclare time on alpha
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 16:44:01 MET 1998 - max@suse.de
|
||||
|
||||
- termcap support is broken with glibc2
|
||||
but ncurses seems to work now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 18 18:26:37 MEST 1998 - max@suse.de
|
||||
|
||||
- applied Home/End key fix from joe to the other *rc files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 09:42:12 MEST 1998 - max@suse.de
|
||||
|
||||
- added some doc files to the file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 12 15:51:18 MET 1997 - max@suse.de
|
||||
|
||||
- using terminfo again for bugfix reasons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 28 16:19:12 MET 1997 - max@suse.de
|
||||
|
||||
- cleaned up generated specfile
|
||||
- configured for terminfo instead of termcap
|
||||
- fixed the Home/End key bug
|
||||
|
257
joe.spec
Normal file
257
joe.spec
Normal file
@ -0,0 +1,257 @@
|
||||
#
|
||||
# spec file for package joe (Version 3.5)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: joe
|
||||
License: GPL
|
||||
Group: Productivity/Editors/Other
|
||||
Autoreqprov: on
|
||||
Version: 3.5
|
||||
Release: 1
|
||||
Summary: A Text Editor
|
||||
URL: http://sourceforge.net/projects/joe-editor
|
||||
Source: joe-%{version}.tar.bz2
|
||||
Source1: spec.jsf
|
||||
Patch: joe-3.1.patch
|
||||
Patch1: joe-3.0-rc.patch
|
||||
Patch2: joe-3.1-ia64.patch
|
||||
Patch3: joe-3.3-warnings.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
JOE (Joe's Own Editor) is a freeware ASCII editor for UNIX. Joe is
|
||||
similar to most IBM PC text editors. The keyboard combinations are
|
||||
similar to WordStar[tm] and Turbo C. Some of Joe's features include:
|
||||
|
||||
-full support of termcap and terminfo (useful for device-independent
|
||||
descriptions to control screen output) -optimized screen refresh like
|
||||
GNU Emacs (Joe can even be used at 2400 baud) -easy installation with
|
||||
all features for UNIX integration with vi: a marked block of text can
|
||||
be filtered through a UNIX command and wherever JOE accepts a filename
|
||||
parameter, the following can also be substituted:
|
||||
|
||||
!command\t\t:to redirect from or to another command
|
||||
|
||||
>>filename\t\t:to append onto an existing file
|
||||
|
||||
filename,start,size\t:to edit a part of a file or device
|
||||
|
||||
-\t\t\t:to use standard input/output
|
||||
|
||||
When JOE has several files opened at the same time, each file is
|
||||
displayed in its own window. Additionally, JOE allows for shell windows
|
||||
from which the output of the executed commands are saved in a buffer,
|
||||
automatic filename completion (via TAB), help windows, undo and redo,
|
||||
and search and replace using regular expressions.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Joseph H. Allen <jhallen@world.std.com>
|
||||
|
||||
Marek 'Marx' Grac <xgrac@fi.muni.cz>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wall -W -Wno-unused"
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--mandir=%{_mandir} \
|
||||
--sysconfdir=%{_sysconfdir}
|
||||
make
|
||||
|
||||
%install
|
||||
make \
|
||||
prefix=$RPM_BUILD_ROOT%{_prefix} \
|
||||
mandir=$RPM_BUILD_ROOT%{_mandir} \
|
||||
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
|
||||
install
|
||||
for i in jmacs jpico jstar rjoe; do
|
||||
ln -s joe.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$i.1.gz
|
||||
done
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/joe/syntax
|
||||
# docs should go to /usr/share/doc/packages/joe
|
||||
rm -rf $RPM_BUILD_ROOT/etc/joe/doc
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING ChangeLog NEWS HINTS HACKING LIST README TODO docs/*.html
|
||||
%doc %{_mandir}/man1/*
|
||||
%config %{_sysconfdir}/joe/*rc
|
||||
%{_sysconfdir}/joe
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog -n joe
|
||||
* Sat Jul 22 2006 - cthiel@suse.de
|
||||
- update to 3.5
|
||||
* Fix $# in shell highlighter.
|
||||
* Fix .in files in ftype
|
||||
* Tags file patch: allows you to put a path in TAGS environment variable.
|
||||
* Fix possible querysave bug.
|
||||
* Fix query window bug: cursor was not left in original windows for new
|
||||
multi-line query window thing.
|
||||
* Fix bug where we could not find ^@
|
||||
* Accept ,start,size notation only if it is correct.
|
||||
* Fix bug from undo_keep: undo_keep has to be a multiple of 2 for redo to
|
||||
work properly.
|
||||
* New undo_keep option.
|
||||
* Add built-in joerc file.
|
||||
* Fix menu bug: coredump on left arrow.
|
||||
* allow |comments| in gettext strings.
|
||||
* dnelson's patches for large files, tty.c include file problems and
|
||||
$(srcdir).
|
||||
* new syntax files: m4 joerc
|
||||
* use hash table in rc file parser.
|
||||
* use hash table in syntax parser.
|
||||
* add auto-expanding hash table.
|
||||
* i18n of other single-key prompts. add joe_gettext to yncheck.
|
||||
* fix bug coredump when doing multi-file search and replace
|
||||
* internationalized y/n handling.
|
||||
* new spell check macro which uses 'language'
|
||||
* fix sh highlight bug: do not try to highlight $( )
|
||||
* query windows can now be multi-line. Also they should handle wide
|
||||
characters properly.
|
||||
* you can now type a macro right into the ESC X prompt.
|
||||
* New * Startup Log * window catches .jsf file errors.
|
||||
* Tue May 30 2006 - cthiel@suse.de
|
||||
- update to 3.4
|
||||
* Paragraph reformatter and word wrap now handle '*' and '-' bullet lists.
|
||||
* Better internationalization (i18n)
|
||||
* Multi-file search and replace
|
||||
* Build and grep window work more like Turbo-C: the messages window is
|
||||
forced onto the screen when you hit ^[ = and ^[ -.
|
||||
* Syntax highlighter definition files (.jsf files) can now have
|
||||
subroutines. This eases highlighter reuse: for example, Mason and PHP
|
||||
can share the HTML highlighter.
|
||||
* You can now define which characters can indent paragraphs. Also the
|
||||
default list has been reduced so that formatting of TeX/LaTeX files
|
||||
works better.
|
||||
* Highlighting now uses less CPU time and always parses from the beginning
|
||||
of the file (the number of sync lines option is deprecated).
|
||||
* File selection menu/completion-list is now above the prompt (which is
|
||||
more like bash). Also it is transposed, so that it is sorted by columns
|
||||
instead of rows.
|
||||
* "Bufed" (prompt for a buffer to edit), works like other file prompt
|
||||
commands: it's a real prompt with history and completion.
|
||||
* Automatic horizontal left scroll jumps by 5-10 columns.
|
||||
* New syntax files: troff, Haskell, Cadance SKILL, REXX, LUA, RUBY. Many
|
||||
of the existing syntax files have been improved.
|
||||
- removed joe-3.0-processing.patch, joe-3.1-compilesubdir.patch,
|
||||
joe-3.1-syntaxsegv.patch
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Jan 13 2006 - schwab@suse.de
|
||||
- Don't strip binaries.
|
||||
* Tue Jul 05 2005 - uli@suse.de
|
||||
- build with warnings
|
||||
- fixed warnings Autobuild objects to (fixes s390x)
|
||||
* Sun Jun 05 2005 - cthiel@suse.de
|
||||
- update to 3.3
|
||||
- disabled joe-3.1-compilesubdir.patch
|
||||
* Wed Jun 23 2004 - uli@suse.de
|
||||
- parse entering/leaving dir msgs from make
|
||||
* Thu Jun 17 2004 - uli@suse.de
|
||||
- update -> 3.1
|
||||
* Tue Apr 27 2004 - uli@suse.de
|
||||
- fixed segfault in syntax highlighting
|
||||
- added highlighting rules for spec files
|
||||
* Mon Apr 26 2004 - uli@suse.de
|
||||
- update -> 3.0 (UTF-8 support, syntax highlighting)
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Tue Feb 05 2002 - egmont@suselinux.hu
|
||||
- updated to 2.9.8-pre1
|
||||
* Mon Jan 28 2002 - egmont@suselinux.hu
|
||||
- disabled undo patch, seems to be very buggy
|
||||
- use relative symlinks instead of absolute ones
|
||||
- added symlinks for manpages
|
||||
- added URL
|
||||
- added defattr(-,root,root) to spec file
|
||||
* Wed Sep 26 2001 - pmladek@suse.cz
|
||||
- fixed problem with large files (#5833)
|
||||
* fixed by joe-2.9.7-pre1
|
||||
* Thu Sep 13 2001 - pmladek@suse.cz
|
||||
- added three patches from SourceForge, thanks to
|
||||
Koblinger Egmont <egmont@suselinux.hu> for hints
|
||||
* resize - solves pause after xterm resizing
|
||||
* asis - turns off -asis in the default config, as it
|
||||
is no longer needed
|
||||
* undo - solves a problem with undo and the "Modified" mark
|
||||
after many savings
|
||||
* Fri Aug 10 2001 - pmladek@suse.cz
|
||||
- downgraded to stable version 2.9.5
|
||||
* thanks to Koblinger Egmont <egmont@suselinux.hu> and
|
||||
his experiences
|
||||
* Thu Jul 19 2001 - pmladek@suse.cz
|
||||
- updated to version 2.9.6
|
||||
- config files moved from /usr/lib to /etc
|
||||
- cleaned up spec file
|
||||
* Thu May 24 2001 - pmladek@suse.cz
|
||||
- fixed cast warnings on ia64
|
||||
- fixed to run on ia64:
|
||||
* argument of function isblank must have the value
|
||||
of an unsigned char or EOF but function brc returns
|
||||
sometimes MAXINT
|
||||
* Fri Mar 30 2001 - uli@suse.de
|
||||
- update -> 2.9.5 (all fixes are still there)
|
||||
* Thu Mar 15 2001 - pblaha@suse.cz
|
||||
- add build root
|
||||
* Wed Mar 14 2001 - pblaha@suse.cz
|
||||
- applied patch from Thomas Biege
|
||||
- This patch protects a user to open a .joerc file,
|
||||
- that doesn't belongs to him, in public writeable
|
||||
- directories (like /tmp). Commands can be executed
|
||||
- via .joerc.
|
||||
* Fri Jun 23 2000 - nadvornik@suse.cz
|
||||
- added locale patch
|
||||
- sorted
|
||||
* Fri May 19 2000 - schwab@suse.de
|
||||
- conf.c: don't redeclare time on ia64
|
||||
* Tue Apr 04 2000 - dipa@suse.de
|
||||
- a patch that take the resizing of a X terminal into consideration
|
||||
+#include <sys/ioctl.h> in tty.c
|
||||
* Thu Mar 02 2000 - kukuk@suse.de
|
||||
- Move /usr/man -> /usr/share/man
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Tue Aug 24 1999 - uli@suse.de
|
||||
- added -fsigned-char to CFLAGS (PPC)
|
||||
* Sat Jul 24 1999 - garloff@suse.de
|
||||
- Applied better security fix (w/o unlinking) from thomas@suse.de
|
||||
* Tue Jul 20 1999 - garloff@suse.de
|
||||
- Additionally added unlink("DEADJOE");
|
||||
* Tue Jul 20 1999 - garloff@suse.de
|
||||
- Checked in DEADJOE permissions security fix from thomas@suse.de
|
||||
* Wed Feb 03 1999 - ro@suse.de
|
||||
- conf.c: don't redeclare time on alpha
|
||||
* Mon Nov 23 1998 - max@suse.de
|
||||
- termcap support is broken with glibc2
|
||||
but ncurses seems to work now.
|
||||
* Fri Sep 18 1998 - max@suse.de
|
||||
- applied Home/End key fix from joe to the other *rc files
|
||||
* Mon Aug 10 1998 - max@suse.de
|
||||
- added some doc files to the file list
|
||||
* Fri Dec 12 1997 - max@suse.de
|
||||
- using terminfo again for bugfix reasons
|
||||
* Tue Oct 28 1997 - max@suse.de
|
||||
- cleaned up generated specfile
|
||||
- configured for terminfo instead of termcap
|
||||
- fixed the Home/End key bug
|
101
spec.jsf
Normal file
101
spec.jsf
Normal file
@ -0,0 +1,101 @@
|
||||
# JOE syntax highlight file for RPM spec files
|
||||
|
||||
# some text sections are _very_ long (e.g. %changelog)
|
||||
-4000
|
||||
|
||||
=Idle
|
||||
=Colon blue
|
||||
=Macro bold blue
|
||||
=Comment green
|
||||
=Variable cyan
|
||||
=Text dim white
|
||||
=Section red
|
||||
|
||||
:idle Idle
|
||||
* idle
|
||||
"%" expr recolor=-1
|
||||
"\n" colident
|
||||
"#" comment recolor=-1
|
||||
|
||||
:colident Colon
|
||||
* idle noeat recolor=-100
|
||||
":" idle
|
||||
"A-Za-z0-9" colident
|
||||
|
||||
:expr Macro
|
||||
* idle recolor=-1
|
||||
"%" idle
|
||||
" \t" expr
|
||||
"a-zA-Z_0-9" exprident recolor=-1 buffer
|
||||
"{" exprvar recolor=-1
|
||||
|
||||
:exprident Variable
|
||||
* idle noeat recolor=-1 strings
|
||||
"define" define
|
||||
"description" textsection
|
||||
"changelog" textsection
|
||||
"build" section
|
||||
"install" section
|
||||
"clean" section
|
||||
"files" section
|
||||
"package" section
|
||||
"prep" section
|
||||
"pre" section
|
||||
"post" section
|
||||
"postun" section
|
||||
"preun" section
|
||||
"setup" macro
|
||||
"patch" macronum
|
||||
"dir" macro
|
||||
"config" macro
|
||||
"doc" macro
|
||||
"defattr" macro
|
||||
"ifarch" macro
|
||||
"ifnarch" macro
|
||||
"endif" macro
|
||||
"else" macro
|
||||
"if" macro
|
||||
done
|
||||
"a-zA-Z_" exprident
|
||||
|
||||
:section Section
|
||||
* idle
|
||||
|
||||
:macronum Macro
|
||||
* idle recolor=-1
|
||||
"0-9" macronum recolor=-1
|
||||
|
||||
:macro Macro
|
||||
* idle recolor=-1
|
||||
|
||||
:define Macro
|
||||
* defineident noeat recolor=-1
|
||||
" \t" define
|
||||
"\n" idle noeat
|
||||
|
||||
:defineident Variable
|
||||
* defineident
|
||||
" \t\n" idle noeat
|
||||
|
||||
:exprvar Variable
|
||||
* exprvar
|
||||
"}" idle
|
||||
|
||||
:textsection Section
|
||||
* textsection2 noeat
|
||||
|
||||
:textsection2 Idle
|
||||
* textsection2
|
||||
"\n" textsection3
|
||||
|
||||
:textsection3 Text
|
||||
* textsection3
|
||||
"%" textsection4 recolor=-1
|
||||
|
||||
:textsection4 Text
|
||||
* expr noeat recolor=-2
|
||||
"%" textsection3
|
||||
|
||||
:comment Comment
|
||||
* comment
|
||||
"\n" idle noeat
|
Loading…
x
Reference in New Issue
Block a user