SHA256
1
0
forked from pool/joe
OBS User unknown 2009-01-21 13:09:50 +00:00 committed by Git OBS Bridge
parent eeb897a65b
commit f440e8b138
11 changed files with 971 additions and 683 deletions

1210
de.po

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cf80c7dda5777554ad65b17d4034090a9a97d42f25947b2e984cd92f94cbad3
size 492159

3
joe-3.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:990f7f5b68f0964b920c6faeb18f16a3d56e81246536e67fc994da310c58de62
size 531140

20
joe-activate_po.patch Normal file
View File

@ -0,0 +1,20 @@
--- configure.ac
+++ configure.ac
@@ -138,7 +138,7 @@
#AC_SUBST(REQRD_LIBS)
dnl OK lets try it...
-dnl AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT([external])
AH_VERBATIM([_PARAMS],[/* Check to see if we can use strict prototypes */
#ifndef PARAMS
@@ -153,7 +153,7 @@
AC_CHECK_PROG(SPELL,aspell,aspell,ispell)
AC_CONFIG_FILES([Makefile rc/Makefile man/Makefile man/ru/Makefile po/Makefile.in
-syntax/Makefile po/Makefile
+syntax/Makefile
syntax/c.jsf syntax/perl.jsf syntax/verilog.jsf syntax/sh.jsf syntax/python.jsf
syntax/conf.jsf syntax/php.jsf syntax/mail.jsf syntax/pascal.jsf syntax/html.jsf
syntax/vhdl.jsf syntax/fortran.jsf syntax/java.jsf syntax/xml.jsf syntax/tcl.jsf

30
joe-fr_trans.patch Normal file
View File

@ -0,0 +1,30 @@
--- po/fr.po
+++ po/fr.po
@@ -1714,27 +1714,3 @@
#: w.c:822
msgid "There is no message buffer"
msgstr "Il n'y a pas de message"
-
-#~msgid "|error list files|eE"
-#~msgstr "Erreur à l'écriture du fichier"
-
-#~msgid "|don't wrap|nN"
-#~msgstr "La recherche ne recommence pas au début du fichier"
-
-#~msgid "|ignore lock, continue with edit|iI"
-#~ msgstr "Pressez Entrée pour continuer avec %s "
-
-#~ msgid "sS"
-#~ msgstr "sS"
-
-#~ msgid "qQ"
-#~ msgstr "qQaA"
-
-#~ msgid "iI"
-#~ msgstr "iIeE"
-
-#~ msgid "yY"
-#~ msgstr "yYoO"
-
-#~ msgid "nN"
-#~ msgstr "nN"

View File

@ -1,3 +1,104 @@
-------------------------------------------------------------------
Wed Jan 21 13:13:26 CET 2009 - pth@suse.de
- Use gettext autoconf macros and makefiles.
- Added complete germen translation.
- Update to 3.7
Changes in 3.7:
- backspace/DEL means 'n' in replace prompt for better emacs
compatibility
- Menus are now made up of macros instead of options.
New commands:
menu Prompt for a menu to display with tab
completion.
mode Prompt for an option to change with tab
completion.
Menus are defined in joerc file with :defmenu command.
Menu entries are the pair: macro string. String is a
format string displayed in the menu. Macro is executed
when then menu entry is selected.
Use this to add your own macros to ^T.
- ^T is now a user definable menu system
- Treat \ as a quote character for file I/O. Now you can edit
files like !test with \!test
- Print NULs in default search string. Handle many \s properly.
- Allow backslashes in file names
- Fix %A to print unicode
- Charles Tabony's (vectorshifts's) highlighter stack patch
- ! is relace all in replace prompt
- Turn off UTF-8 when we enter hex mode
- Call ttsig on vfile I/O errors.
- Abort cleanly when malloc returns NULL
- Add reload command to reload file from disk
- Modify configure scrips to use docdir for extra documents and
datadir/joe for syntax and i18n files.
- Don't use bold yellow, it's bad for white screens
- Fix TeX highlighter: don't highlight "
- Make mail.jsf more forgiving for those of us who still use old
UNIX mail
- Fix file rename bugs
- Improve ubop: can reformat a block of paragraphs again.
Reformat of adjacent indented paragraphs working again.
- Improve XML highlighter: allow \r in whitespace
Changes in 3.6:
- Preserve setuid bit
- Fix bug where backup file did not get modtime of original
- New diff highlighter
- Fix paragraph format when overtype is on
- Fix non-french spacing
- Fix bug with joe +2 on single line files
- Add syntax file for .jsf files
- Add ASCII table to joerc help
- ^KD renames file
- Improve HTML highlighter... if you see <? it's probably a script...
- Check for EINTR from ioctl
- > allowed in xml content
- Add -flowed option: adds a space after paragraph lines.
- Fix German and French .po files: they were cause search&replace to break.
- Look at LC_MESSAGES to get the language to use for editor messages.
- Added -no_double_quoted and -tex_comment for TeX
- Added -break_symlinks option and changed -break_links option to not
break symbolic links.
- Paragraph format of single line paragraph is indented only if autoindent
is enabled.
- Guessindent no longer overrides istep if indendation is space.
- Fix low limit of lmargin
- Allow inserting file in rectangle mode even if selected rectangle is
zero-width.
- .js is Javascript
- Fix ^G in perl mode when you hit it on second brace in:
{\'
\'}
- Fix LUA highlighter
- Improved conf.jsf
- Added local option (-nobackup) to suppress backup files
- Add Matlab syntax file
- Improve mail syntax highlighter
- Fix crash when calling syntax file as subroutine
- Get "ctags" tag search to work again
- Fix crash when JOE tries to write to unwritable file
- Fix crash when entering blank macro ESC x <return>
- Improve Verilog highlighter
- Fix crash when typing ESC x !ls
- Add C++ keywords to highlighter
- Added RPM spec file syntax spec.jsf
- Improve 'istring' (.jsf command)
- Update French .po file
- Fix infinite search/replace loop bug
- New feature: insert status line format string using 'txt'
- Update Russion .po file
- Update Russian manpage
- Update jicerc Russian rc file
- Fix lock prompt message
- Add Ukrainian .po file
-------------------------------------------------------------------
Fri Apr 4 11:46:57 CEST 2008 - pnemec@suse.cz
@ -173,10 +274,9 @@ Thu Jul 19 09:52:53 CEST 2001 - pmladek@suse.cz
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
- fixed runnig on ia64:
* The argument of the function isblank must be an unsigned
char or EOF but the function brc sometimes returns MAXINT.
-------------------------------------------------------------------
Fri Mar 30 15:46:22 CEST 2001 - uli@suse.de

176
joe.spec
View File

@ -1,10 +1,17 @@
#
# spec file for package joe (Version 3.5)
# spec file for package joe (Version 3.7)
#
# Copyright (c) 2008 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.
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -16,18 +23,20 @@ BuildRequires: ncurses-devel
License: GPL v2 or later
Group: Productivity/Editors/Other
AutoReqProv: on
Version: 3.5
Release: 92
Version: 3.7
Release: 1
Summary: A Text Editor
Url: http://sourceforge.net/projects/joe-editor
Source: joe-%{version}.tar.bz2
Source1: spec.jsf
Source1: lang_additions.tar.bz2
Source2: de.po
Patch: joe-3.1.patch
Patch: joe-3.1-terminate_buffer.patch
Patch1: joe-3.0-rc.patch
Patch2: joe-3.1-ia64.patch
Patch2: joe-3.1-fix_isblanck_argument.patch
Patch3: joe-3.3-warnings.patch
Patch4: joe-3.5-fix_locale.patch
Patch5: joe-activate_po.patch
Patch6: joe-fr_trans.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -71,41 +80,147 @@ Authors:
%patch2
%patch3
%patch4
cp %{S:2} po/
%patch6
gettextize -f
tar -xvf %{S:1}
%patch5
cp %{S:2} po
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wall -W -Wno-unused"
autoreconf -fi
export CFLAGS="%{optflags} -W -Wno-unused"
./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir}
--sysconfdir=%{_sysconfdir} \
--docdir=%{_defaultdocdir}/%name
cd po
make update-po
make
%install
make \
prefix=$RPM_BUILD_ROOT%{_prefix} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
install
%makeinstall
# prefix=%{buildroot}%{_prefix} \
# mandir=%{buildroot}%{_mandir} \
# sysconfdir=%{buildroot}%{_sysconfdir} \
# docdir=%{buildroot}%{_defaultdocdir}/%name \
# install
for i in jmacs jpico jstar rjoe; do
ln -s joe.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$i.1.gz
ln -s joe.1.gz %{buildroot}%{_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
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS HINTS HACKING LIST README TODO docs/*.html
%doc %{_defaultdocdir}/%{name}
%doc %{_mandir}/man1/*
%config %{_sysconfdir}/joe/*rc
%{_sysconfdir}/joe
%doc %{_mandir}/*/man1/*
%config %{_sysconfdir}/joe/*
%dir %{_sysconfdir}/joe
%dir %{_datadir}/%{name}
%{_bindir}/*
%{_datadir}/%{name}/charmaps
%{_datadir}/%{name}/syntax
%lang(de) %{_datadir}/%{name}/lang/de.mo
%lang(en) %{_datadir}/%{name}/lang/en@*.mo
%lang(fr) %{_datadir}/%{name}/lang/fr.mo
%lang(ru) %{_datadir}/%{name}/lang/ru.mo
%lang(uk) %{_datadir}/%{name}/lang/uk.mo
%changelog
* Wed Jan 21 2009 pth@suse.de
- Use gettext autoconf macros and makefiles.
- Added complete germen translation.
- Update to 3.7
Changes in 3.7:
- backspace/DEL means 'n' in replace prompt for better emacs
compatibility
- Menus are now made up of macros instead of options.
New commands:
menu Prompt for a menu to display with tab
completion.
mode Prompt for an option to change with tab
completion.
Menus are defined in joerc file with :defmenu command.
Menu entries are the pair: macro string. String is a
format string displayed in the menu. Macro is executed
when then menu entry is selected.
Use this to add your own macros to ^T.
- ^T is now a user definable menu system
- Treat \ as a quote character for file I/O. Now you can edit
files like !test with \!test
- Print NULs in default search string. Handle many \s properly.
- Allow backslashes in file names
- Fix %%A to print unicode
- Charles Tabony's (vectorshifts's) highlighter stack patch
- ! is relace all in replace prompt
- Turn off UTF-8 when we enter hex mode
- Call ttsig on vfile I/O errors.
- Abort cleanly when malloc returns NULL
- Add reload command to reload file from disk
- Modify configure scrips to use docdir for extra documents and
datadir/joe for syntax and i18n files.
- Don't use bold yellow, it's bad for white screens
- Fix TeX highlighter: don't highlight "
- Make mail.jsf more forgiving for those of us who still use old
UNIX mail
- Fix file rename bugs
- Improve ubop: can reformat a block of paragraphs again.
Reformat of adjacent indented paragraphs working again.
- Improve XML highlighter: allow \r in whitespace
Changes in 3.6:
- Preserve setuid bit
- Fix bug where backup file did not get modtime of original
- New diff highlighter
- Fix paragraph format when overtype is on
- Fix non-french spacing
- Fix bug with joe +2 on single line files
- Add syntax file for .jsf files
- Add ASCII table to joerc help
- ^KD renames file
- Improve HTML highlighter... if you see <? it's probably a script...
- Check for EINTR from ioctl
- > allowed in xml content
- Add -flowed option: adds a space after paragraph lines.
- Fix German and French .po files: they were cause search&replace to break.
- Look at LC_MESSAGES to get the language to use for editor messages.
- Added -no_double_quoted and -tex_comment for TeX
- Added -break_symlinks option and changed -break_links option to not
break symbolic links.
- Paragraph format of single line paragraph is indented only if autoindent
is enabled.
- Guessindent no longer overrides istep if indendation is space.
- Fix low limit of lmargin
- Allow inserting file in rectangle mode even if selected rectangle is
zero-width.
- .js is Javascript
- Fix ^G in perl mode when you hit it on second brace in:
{\'
\'}
- Fix LUA highlighter
- Improved conf.jsf
- Added local option (-nobackup) to suppress backup files
- Add Matlab syntax file
- Improve mail syntax highlighter
- Fix crash when calling syntax file as subroutine
- Get "ctags" tag search to work again
- Fix crash when JOE tries to write to unwritable file
- Fix crash when entering blank macro ESC x <return>
- Improve Verilog highlighter
- Fix crash when typing ESC x !ls
- Add C++ keywords to highlighter
- Added RPM spec file syntax spec.jsf
- Improve 'istring' (.jsf command)
- Update French .po file
- Fix infinite search/replace loop bug
- New feature: insert status line format string using 'txt'
- Update Russion .po file
- Update Russian manpage
- Update jicerc Russian rc file
- Fix lock prompt message
- Add Ukrainian .po file
* Fri Apr 04 2008 pnemec@suse.cz
- change rpm spec file color #333570 (dim white -> magenta)
* Sat Jun 23 2007 pth@suse.de
@ -113,7 +228,7 @@ rm -rf $RPM_BUILD_ROOT
- Patch by Jan Engelhardt to fix handling of locale categories.
* Mon Apr 02 2007 cthiel@suse.de
- added BuildRequires: ncurses-devel
* Sun Jul 23 2006 cthiel@suse.de
* Sat Jul 22 2006 cthiel@suse.de
- update to 3.5
* Fix $# in shell highlighter.
* Fix .in files in ftype
@ -144,7 +259,7 @@ rm -rf $RPM_BUILD_ROOT
characters properly.
* you can now type a macro right into the ESC X prompt.
* New * Startup Log * window catches .jsf file errors.
* Wed May 31 2006 cthiel@suse.de
* Tue May 30 2006 cthiel@suse.de
- update to 3.4
* Paragraph reformatter and word wrap now handle '*' and '-' bullet lists.
* Better internationalization (i18n)
@ -219,10 +334,9 @@ rm -rf $RPM_BUILD_ROOT
- 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
- fixed runnig on ia64:
* The argument of the function isblank must be an unsigned
char or EOF but the function brc sometimes returns MAXINT.
* Fri Mar 30 2001 uli@suse.de
- update -> 2.9.5 (all fixes are still there)
* Thu Mar 15 2001 pblaha@suse.cz

3
lang_additions.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03c0239003800ee14b1eab18d6f59e8f752697b82c83bcc0e94b746115cfd023
size 5096

101
spec.jsf
View File

@ -1,101 +0,0 @@
# 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 magenta
=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