Accepting request 580337 from home:alois:branches:editors
- Update to version 5.2.13 New features: * This release includes Qt5 support. version 5.2.12 New features: * This version includes a new driver for raw ANSI terminals, for systems who don't (want to) have libncursesw. * The cursor position for every file is remembered from session to session. Fixed bugs: * Fixed action `open_under_cursor' (again). * Fixed behaviour inconsistency between actions `seek' and `seek-next'. * Fixed action `sync' (save all modified files). Other features: * Version numbering convention has changed: development versions shall no longer have (CURRENTVERSION+1)-dev, but (CURRENTVERSION)-patch. version 5.2.11 This version includes the following lot of features by fellow developer X-Ryl669: * New cut line action (copy and delete line), bound by default to ctrl-k. * New key assignation to document list (ctrl-e). * Fix ncurses detection for recent distributions. * Added suspension (bound to ctrl-l) for curses driver. * Added word selection with mouse double-click. * Paste in ncurses prompt. * New seek matching brace feature, bound to ctrl-j. * Text search wraps to the top of the document as many other text editors do. * Several miscellaneous fixes. Other features: * Window position and size is saved in all GUI interfaces. - Switched build to Qt5 and GTK+3 - Split gtk3 executable into subpackage - Added mp-5-gtk3.desktop as source OBS-URL: https://build.opensuse.org/request/show/580337 OBS-URL: https://build.opensuse.org/package/show/editors/mp?expand=0&rev=4
This commit is contained in:
parent
9c12b7ddbd
commit
25730ce3bd
10
mp-5-gtk3.desktop
Normal file
10
mp-5-gtk3.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
GenericName=Text Editor
|
||||||
|
Name=Minimum Profit (GTK+3 version)
|
||||||
|
MimeType=text/plain;
|
||||||
|
Exec=mp-5-gtk3 %U
|
||||||
|
Icon=mp-5
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
Categories=GTK;TextEditor;
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3ce1831d2cfb42a8540d197a9fdad163ecd17883a57cd798a2f30bfe791ddc1
|
|
||||||
size 504306
|
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
iEYEABECAAYFAlWY+acACgkQQw7jGUI4qLgcNwCgkIiDPUipaIOOq3gEwOecTYP+
|
|
||||||
ZbcAn1SCfxEULYKa4/zhJrI0kSsKO9kB
|
|
||||||
=/NY0
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
mp-5.2.13.tar.gz
Normal file
3
mp-5.2.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be1c486657105a6cdb0b2fc4c1efdee93f1f63aeec42ab6b1c0d97ba7a891c58
|
||||||
|
size 512269
|
7
mp-5.2.13.tar.gz.asc
Normal file
7
mp-5.2.13.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iHEEABECADEWIQQg4w2h98nE3MPhGDhDDuMZQjiouAUCWpRAARMcYW5nZWxAdHJp
|
||||||
|
cHRpY28uY29tAAoJEEMO4xlCOKi4eKUAn360C01H26R/q0U1+CP2lsbtvOqBAKCb
|
||||||
|
IY+puFasmkoRTdFr1Lwg67FFtQ==
|
||||||
|
=vrEl
|
||||||
|
-----END PGP SIGNATURE-----
|
44
mp.changes
44
mp.changes
@ -1,3 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 19:15:16 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 5.2.13
|
||||||
|
New features:
|
||||||
|
* This release includes Qt5 support.
|
||||||
|
version 5.2.12
|
||||||
|
New features:
|
||||||
|
* This version includes a new driver for raw ANSI terminals,
|
||||||
|
for systems who don't (want to) have libncursesw.
|
||||||
|
* The cursor position for every file is remembered from
|
||||||
|
session to session.
|
||||||
|
Fixed bugs:
|
||||||
|
* Fixed action `open_under_cursor' (again).
|
||||||
|
* Fixed behaviour inconsistency between actions `seek' and
|
||||||
|
`seek-next'.
|
||||||
|
* Fixed action `sync' (save all modified files).
|
||||||
|
Other features:
|
||||||
|
* Version numbering convention has changed: development
|
||||||
|
versions shall no longer have (CURRENTVERSION+1)-dev,
|
||||||
|
but (CURRENTVERSION)-patch.
|
||||||
|
version 5.2.11
|
||||||
|
This version includes the following lot of features by
|
||||||
|
fellow developer X-Ryl669:
|
||||||
|
* New cut line action (copy and delete line), bound by
|
||||||
|
default to ctrl-k.
|
||||||
|
* New key assignation to document list (ctrl-e).
|
||||||
|
* Fix ncurses detection for recent distributions.
|
||||||
|
* Added suspension (bound to ctrl-l) for curses driver.
|
||||||
|
* Added word selection with mouse double-click.
|
||||||
|
* Paste in ncurses prompt.
|
||||||
|
* New seek matching brace feature, bound to ctrl-j.
|
||||||
|
* Text search wraps to the top of the document as many
|
||||||
|
other text editors do.
|
||||||
|
* Several miscellaneous fixes.
|
||||||
|
Other features:
|
||||||
|
* Window position and size is saved in all GUI interfaces.
|
||||||
|
|
||||||
|
- Switched build to Qt5 and GTK+3
|
||||||
|
|
||||||
|
- Split gtk3 executable into subpackage
|
||||||
|
|
||||||
|
- Added mp-5-gtk3.desktop as source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 16 18:10:54 UTC 2017 - mpluskal@suse.com
|
Mon Jan 16 18:10:54 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
68
mp.spec
68
mp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mp
|
# spec file for package mp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: mp
|
Name: mp
|
||||||
Version: 5.2.10
|
Version: 5.2.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A text editor for programmers
|
Summary: A text editor for programmers
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
@ -29,20 +29,57 @@ Source2: %{name}.keyring
|
|||||||
Source3: %{name}-5.desktop
|
Source3: %{name}-5.desktop
|
||||||
Source4: %{name}-5.png
|
Source4: %{name}-5.png
|
||||||
Source5: %{name}-rpmlintrc
|
Source5: %{name}-rpmlintrc
|
||||||
|
Source6: %{name}-5-gtk3.desktop
|
||||||
Patch0: %{name}-docdir.patch
|
Patch0: %{name}-docdir.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gtk2-devel
|
|
||||||
BuildRequires: libqt4-devel
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
Requires(post): update-desktop-files
|
Requires(post): update-desktop-files
|
||||||
Requires(postun): update-desktop-files
|
Requires(postun): update-desktop-files
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Minimum Profit
|
Minimum Profit
|
||||||
A text editor for programmers
|
A text editor for programmers
|
||||||
|
|
||||||
|
Features
|
||||||
|
|
||||||
|
* Fully scriptable using a C-like scripting language.
|
||||||
|
* Unlimited undo levels.
|
||||||
|
* Complete Unicode support.
|
||||||
|
* Multiple files can be edited at the same time and blocks copied and pasted among them.
|
||||||
|
* Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts,
|
||||||
|
Ruby, Php, Python, HTML...
|
||||||
|
* Creative use of tags: tags created by the external utility ctags are used to move
|
||||||
|
instantaneously to functions or variables inside your current source tree. Tags are
|
||||||
|
visually highlighted (underlined), and symbol completion can be triggered to avoid typing
|
||||||
|
your own function names over and over.
|
||||||
|
* Intelligent help system: pressing F1 over any word of a text being edited triggers the
|
||||||
|
underlying system help (calling man when editing C or Shell files, perldoc with Perl, ri
|
||||||
|
on Ruby, winhelp on MS Windows...).
|
||||||
|
* Understandable interface: drop-down menus, reasonable default key bindings.
|
||||||
|
* Configurable keys, menus and colors.
|
||||||
|
* Text templates can be easily defined / accessed.
|
||||||
|
* Multiplatform: Console/curses, GTK+, MS Windows.
|
||||||
|
* Automatic indentation, word wrapping, internal grep, learning / repeating functions.
|
||||||
|
* Spellchecking support (via the ispell package).
|
||||||
|
* Multilingual.
|
||||||
|
* Password-protected, encrypted text files (using the ARCFOUR algorithm).
|
||||||
|
* It helps you abandon vi, emacs and other six-legged freaks definitely.
|
||||||
|
|
||||||
|
%package gtk3
|
||||||
|
Summary: A text editor for programmers (GTK+3 version)
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description gtk3
|
||||||
|
Minimum Profit
|
||||||
|
A text editor for programmers (GTK+3 version)
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|
||||||
* Fully scriptable using a C-like scripting language.
|
* Fully scriptable using a C-like scripting language.
|
||||||
@ -72,19 +109,24 @@ Features
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" \
|
export CFLAGS="%{optflags}"
|
||||||
./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
mv mp-5 mp-5-qt5
|
||||||
|
WITHOUT_QT5=1 WITHOUT_QT4=1 ./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
mv mp-5 mp-5-gtk3
|
||||||
|
mv mp-5-qt5 mp-5
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
install -D -p -m 644 %{SOURCE3} %{buildroot}/%{_datadir}/applications/%{name}-5.desktop
|
install -D -p -m 644 %{SOURCE3} %{buildroot}/%{_datadir}/applications/%{name}-5.desktop
|
||||||
install -D -p -m 644 %{SOURCE4} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
|
install -D -p -m 644 %{SOURCE4} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
|
||||||
|
install -p -m 644 %{SOURCE6} %{buildroot}/%{_datadir}/applications/%{name}-5-gtk3.desktop
|
||||||
|
install -m 755 mp-5-gtk3 %{buildroot}%{_bindir}/mp-5-gtk3
|
||||||
|
install -m 644 mp-5.1 %{buildroot}/%{_mandir}/man1/mp-5-gtk3.1
|
||||||
|
|
||||||
%suse_update_desktop_file %{name}-5 TextEditor
|
%suse_update_desktop_file %{name}-5 TextEditor
|
||||||
|
|
||||||
@ -92,14 +134,15 @@ install -D -p -m 644 %{SOURCE4} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
|
|||||||
rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
|
rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f minimum-profit.lang
|
%files -f minimum-profit.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/%{name}-5
|
%{_bindir}/%{name}-5
|
||||||
%{_bindir}/%{name}sl
|
%{_bindir}/%{name}sl
|
||||||
%dir %{_docdir}/%{name}-5
|
%dir %{_docdir}/%{name}-5
|
||||||
@ -110,4 +153,9 @@ rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
|
|||||||
%{_datadir}/applications/%{name}-5.desktop
|
%{_datadir}/applications/%{name}-5.desktop
|
||||||
%{_datadir}/pixmaps/%{name}-5.png
|
%{_datadir}/pixmaps/%{name}-5.png
|
||||||
|
|
||||||
|
%files gtk3
|
||||||
|
%{_bindir}/%{name}-5-gtk3
|
||||||
|
%{_datadir}/applications/%{name}-5-gtk3.desktop
|
||||||
|
%{_mandir}/man1/%{name}-5-gtk3.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user