summaryrefslogtreecommitdiff
path: root/app-editors/qemacs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
commit6957f5c65b02bba533954eabc0b62f5de36be206 (patch)
tree21d8ab8f61dffd9cccc82d0badb68982516a6855 /app-editors/qemacs
parente91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff)
gentoo resync : 10.04.2018
Diffstat (limited to 'app-editors/qemacs')
-rw-r--r--app-editors/qemacs/Manifest6
-rw-r--r--app-editors/qemacs/files/qemacs-0.3.2_pre20070226-tty_utf8.patch43
-rw-r--r--app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile.patch35
-rw-r--r--app-editors/qemacs/files/qemacs-0.4.0_pre20080605-make_backup.patch68
-rw-r--r--app-editors/qemacs/files/qemacs-0.4.0_pre20090420-nostrip.patch36
-rw-r--r--app-editors/qemacs/qemacs-0.4.0_pre20090420-r1.ebuild76
6 files changed, 0 insertions, 264 deletions
diff --git a/app-editors/qemacs/Manifest b/app-editors/qemacs/Manifest
index e9bd4013990d..bc1416f3d51f 100644
--- a/app-editors/qemacs/Manifest
+++ b/app-editors/qemacs/Manifest
@@ -1,16 +1,10 @@
-AUX qemacs-0.3.2_pre20070226-tty_utf8.patch 1128 BLAKE2B ac0fdec59a95d42caf986a47cb377e924bd21a927b456bdd58d619a9ed4339844090bd770291ccdb8ad64f3e27ede4036788dbaaa0d2c65991c1cece1fef25bc SHA512 d2476fed6cb9fcd223317c2dc744a41efa1e99426f8240ae7182292ae0a2ef5c3b7114392174f6c28c8da0009d0ac6dcd2885418654499f8eb41d5e94eb88010
-AUX qemacs-0.4.0_pre20080605-Makefile.patch 754 BLAKE2B d2d08f4a8d8fc3f0eb42905ccdbb8ff88adcec9e360d91d70d980854e130113636c8eac20e528ff320578c15183f119d1e4b9b90b4a3d3ce9a7dfb773d9dbde7 SHA512 b6468498d2489dcf46fdba654e6c988e9c9a9cad89d977800d1e00a0b97fba456b7cf613fc919bfc5706eeec1dce578a714abf85a914af99f3fa6c8c6dc673cc
-AUX qemacs-0.4.0_pre20080605-make_backup.patch 2151 BLAKE2B 06bca7e8b36559c8ec6061db291ab597c85b49cb7c4079cc2f3cd5a8d414c49b60324d34090ac596f47f5dadae96145ab21b4665624b7f9ca15e9103cdece11e SHA512 e20b59067d344a84193f8de02471cc04d8f2e91601ae70fa11dcda0e85c65aa68ea33c109feca6c62adae098f4d691fcf5c2be205e46cc3023119821a69a4775
-AUX qemacs-0.4.0_pre20090420-nostrip.patch 1155 BLAKE2B fe8f090f84b9d8a35395abb5f397dbbf575542176c9827edacbe83165078bcb95f23d17533911d08add97bfb885eb168e4289ab8f628b24416b660a2aa9d94b6 SHA512 6c6438c8c6a17c5b29bc117a695cbc5e0287ab3a20243f9dbe7d487cd67e9c31d7a63a3828d8c5d3abfd9620582167bb4633c6896b6862d9fe6a9c2ecfeb71da
AUX qemacs-0.4.1_pre20150916-Makefile.patch 799 BLAKE2B 1a75b0b1f6ec433bb130fa3fcd142eacfdd2665117e6efdaa28dee0d2bbf394e5c270241be5719d64f49facb115febb8f99de399b4561e6921bc7f1293ff59a0 SHA512 1bb412ffc530b8d00569618b8a7d87d65b2baa9a3aacf83b377c41ea29b976ea0f84161d979f06d79a27b6b5b1192135917772c3af2bab66fb28a58c3006dd18
AUX qemacs-0.4.1_pre20150916-nostrip.patch 1162 BLAKE2B a84d798d0a2d97b6413b10c075daa9f28b952ee655192e01cf6fd788e003785c0ad243bacbda16be071ac2e2a3ff38e7e005a008c88e475483e74d67291f8f4f SHA512 9495ea9799a6b728a2f25545dd2216758247b70985bbf8d1d0cccff1d152ee1f14575e4ca02799cfe105ea0ac799c1865414f30270c3f2373601ac02b1e44770
AUX qemacs-0.4.1_pre20170225-Makefile.patch 954 BLAKE2B 16fce167962370753730dbe61ee5cbfa4d1e7b208bd350e433eeeb1bfe9eef2892a4532e83675b6c40344aed04df38c8236a01a7ff3db5fa6ec5592ec1225c18 SHA512 8146d383e53df6a5c540581925d85c2eff3dafe5cd78a23a784f3fc4fd41e23804f1287dc68597b33582f9beacef57df4a80a1930399b66566c77ff5e17eb227
AUX qemacs-0.4.1_pre20170225-manpage.patch 372 BLAKE2B 68e2d415700e576c5706788036665271cffee46a4b896573de3691c3e8cc96db9972fd0f170033b9d85fb048578c8cf3502a53a5c4ad8b7c9858c0771e195a42 SHA512 1c81e3570a2d00df04fa9a4dfae404be2f1c684b9b86ef67aa3f13a4b6f734d99d768350d41c75dc8c2874ccf853d021e497c87c751d86e2df1015f42fe97889
AUX qemacs-0.4.1_pre20170225-nostrip.patch 1771 BLAKE2B af8ad554ea5dbdcd8e7a3df32a4ff5402e84f56642a74f228b0c5be8166895b82b90e291f043a5e18a757b6e6de69ed50af3950c719f2b40be1e3d1e031c2031 SHA512 9ad3c3cd4a7744894718099ff8df2648e11385c6926a137f3f04ed33ef449d658cfb873476276bc52de7a7cee5ed2a2319893d8f47e7a2413d00d61378123656
-DIST qemacs-0.4.0_pre20090420.tar.bz2 1393436 BLAKE2B 73cc34e711957db31d765e07712b5fb0ec94523c8d3a175beec95ca244929335088c69156a0f9f8c4875868c1add52a1c5f76e74a07f70d89f2c1c5d80917669 SHA512 4595e34d3a83cbd7f25514dd96b7578976b30de80eb19b1391448ecdb9c06d24088880978961e5abb94b3f715057e7563ae0976d704bc5afaaf83e62a67e8dd4
DIST qemacs-0.4.1_pre20150916.tar.xz 1136592 BLAKE2B aff8875b81bd51f77bebcb4dfe60ed0d4396a05af1f42e6b8765e15f9e04e00162924c3514a9ea1e8cb8c0b9ecd2a4112b9d7a46b7d156c032d37d381f2ae0f0 SHA512 e9775ff3dfef6d6b6b263029a620e6575f9f4718b94c0acfcddc8e5da8cd835e57dfbd5fbd948778135b609ae0588924fc9a727b2e763a25148aa27886a9f467
DIST qemacs-0.4.1_pre20170225.tar.xz 1147408 BLAKE2B 369f3c5ff1b1f7b22bbd1f70f0c150e425a5b68828e62db427e4b41c58c8ee9ae0449a83693e9354d88fc482691d7a5f3661360ef602aeaba963776c4725b894 SHA512 a17c8901c917f91401e16b4f857735957ab0d3533d9dcc7a0decf768f453b68023f45e1241225a84d35ba793beb69754e0f2caa857165f8223882d5041d56c99
-EBUILD qemacs-0.4.0_pre20090420-r1.ebuild 1910 BLAKE2B 101e654b4c911d5034418c40b51ed4fd804bca329ac0130beda4eeaa63e3bb7951900561f72408bdbee63adc3d664441439a55ee0ce6a9a8fd4c0ae59bd88142 SHA512 60c8fc230db516b9bc1e80cfac47f2917014db1b36e6f468beb460b5799e4cfba3426400dcf5ae515d007675b55a865c82eb6fdafd91e3b74390e4f7c673254a
EBUILD qemacs-0.4.1_pre20150916.ebuild 1664 BLAKE2B 9bb83316a5059a92c0eb04a1c07336ac0976b11778f60b0898bc79ba1a3edc1eb722327b08ba3bf766b67cf5a5f33d3407cfe86329aca377a62234f69b083b8b SHA512 9ca5f4c41d4232051070547d8591235c1ac4d3e5dbba738d58b5668690935f9e106ce1a4921d7004cf4bbc7ef33f717b782a8246d7f402fc9c35a356baa720f9
EBUILD qemacs-0.4.1_pre20170225.ebuild 1493 BLAKE2B 7f05bee8c264e4c3f246eaa4ce35fc443ba42db076a7fa5eb693ec3d75186824c3a0faa2d77d5d841a5c66e6670f6856818ba1fd465564235f89c591f9e7d9de SHA512 6665d0222f86f4bbd658d8ee754276f5bb9c828bb3e73ea0f9a93b30f7e8300074418d36d88036bcbcb8c67dc31e96f3b38c477003c1e617c781645741c723e6
MISC metadata.xml 1937 BLAKE2B 1367de4b5e027102ce6a7720129bf21bd6d9556d748f0770d005ee0b9a4454f5ad0d27d0d25e8c7b97bc3c0bb796a78df636479d33bf6bd5acee36498e8a8a81 SHA512 a26f40107a0616980d3722685b1491eee4c606a685e78bbc23a62de6c9b67cf15ff3ac92cbc935a38d280844a0d15c21f92ee7bdbb28218f8ae664bbc526feac
diff --git a/app-editors/qemacs/files/qemacs-0.3.2_pre20070226-tty_utf8.patch b/app-editors/qemacs/files/qemacs-0.3.2_pre20070226-tty_utf8.patch
deleted file mode 100644
index 1f51ada5c2b7..000000000000
--- a/app-editors/qemacs/files/qemacs-0.3.2_pre20070226-tty_utf8.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-utf8 input in tty.c
-http://lists.gnu.org/archive/html/qemacs-devel/2004-03/msg00000.html
-http://bugs.gentoo.org/62829
-
---- qemacs-orig/tty.c 2007-02-08 00:27:33.000000000 +0100
-+++ qemacs/tty.c 2007-02-26 15:07:41.000000000 +0100
-@@ -78,7 +78,6 @@
- /* input handling */
- enum InputState input_state;
- int input_param;
-- int utf8_state;
- int utf8_index;
- unsigned char buf[10];
- char *term_name;
-@@ -374,15 +373,19 @@
-
- /* charset handling */
- if (s->charset == &charset_utf8) {
-- if (ts->utf8_state == 0) {
-- const char *p;
-- p = (const char *)ts->buf;
-- ch = utf8_decode(&p);
-- } else {
-- ts->utf8_state = utf8_length[ts->buf[0]] - 1;
-- ts->utf8_index = 0;
-- return;
-- }
-+ /* Make sure utf8 input works correctly 20040314 <damm@opensource.se> */
-+ ts->utf8_index++;
-+
-+ if (utf8_length[ts->buf[0]] == ts->utf8_index) {;
-+ const char *p;
-+ p = (const char *)ts->buf;
-+ ch = utf8_decode(&p);
-+ ts->utf8_index = 0;
-+ }
-+ else {
-+ return;
-+ }
-+
- } else {
- ch = ts->buf[0];
- }
diff --git a/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile.patch b/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile.patch
deleted file mode 100644
index 73c3f68b13a3..000000000000
--- a/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig 2009-03-07 21:27:48.000000000 +0100
-+++ Makefile 2009-03-07 21:28:43.000000000 +0100
-@@ -19,32 +19,6 @@
-
- include config.mak
-
--ifeq ($(CC),gcc)
-- CFLAGS := -Wall -g -O2 -funsigned-char
-- # do not warn about zero-length formats.
-- CFLAGS += -Wno-format-zero-length
-- LDFLAGS := -g
--endif
--
--#include local compiler configuration file
---include cflags.mk
--
--ifdef TARGET_GPROF
-- CFLAGS += -p
-- LDFLAGS += -p
--endif
--
--TLDFLAGS := $(LDFLAGS)
--
--ifdef TARGET_ARCH_X86
-- #CFLAGS+=-fomit-frame-pointer
-- ifeq ($(GCC_MAJOR),2)
-- CFLAGS+=-m386 -malign-functions=0
-- else
-- CFLAGS+=-march=i386 -falign-functions=0
-- endif
--endif
--
- DEFINES=-DHAVE_QE_CONFIG_H
-
- ########################################################
diff --git a/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-make_backup.patch b/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-make_backup.patch
deleted file mode 100644
index cdfe4c439db8..000000000000
--- a/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-make_backup.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Add make-backup-files command for backup toggling, from upstream mailing list:
-http://lists.gnu.org/archive/html/qemacs-devel/2004-11/msg00007.html
-http://bugs.gentoo.org/75052
-
---- buffer.c.orig 2009-03-07 21:14:02.000000000 +0100
-+++ buffer.c 2009-03-07 21:15:40.000000000 +0100
-@@ -1657,12 +1657,14 @@
- if (stat(filename, &st) == 0)
- mode = st.st_mode & 0777;
-
-- /* backup old file if present */
-- if (strlen(filename) < MAX_FILENAME_SIZE - 1) {
-+ /* backup old file if present and make-backup-files is on */
-+ if(mbf == 1) {
-+ if (strlen(filename) < MAX_FILENAME_SIZE - 1) {
- if (snprintf(buf1, sizeof(buf1), "%s~", filename) < ssizeof(buf1)) {
- // should check error code
- rename(filename, buf1);
- }
-+ }
- }
-
- /* CG: should pass mode to buffer_save */
---- qe.c.orig 2009-03-07 21:14:09.000000000 +0100
-+++ qe.c 2009-03-07 21:17:01.000000000 +0100
-@@ -71,6 +71,7 @@
- static int screen_height = 0;
- static int no_init_file;
- static const char *user_option;
-+mbf = 1;
-
- /* mode handling */
-
-@@ -5316,6 +5317,14 @@
- do_refresh(qs->first_window);
- }
-
-+static void make_backup_files(EditState *s) {
-+ if(mbf == 1) {
-+ mbf = 0;
-+ } else {
-+ mbf = 1;
-+ }
-+}
-+
- /* compute default path for find/save buffer */
- static void get_default_path(EditState *s, char *buf, int buf_size)
- {
---- qeconfig.h.orig 2009-03-07 21:14:19.000000000 +0100
-+++ qeconfig.h 2009-03-07 21:17:37.000000000 +0100
-@@ -192,6 +192,7 @@
- "downcase-region", do_changecase_region, ESi, -1, "*v")
- CMD3( KEY_CTRLX(KEY_CTRL('u')), KEY_NONE,
- "upcase-region", do_changecase_region, ESi, 1, "*v")
-+ CMD0( KEY_NONE, KEY_NONE, "make-backup-files", make_backup_files)
-
- /*---------------- Command handling ----------------*/
-
---- qe.h.orig 2009-03-07 21:14:26.000000000 +0100
-+++ qe.h 2009-03-07 21:17:53.000000000 +0100
-@@ -1765,6 +1765,7 @@
- /* image.c */
- void fill_border(EditState *s, int x, int y, int w, int h, int color);
- int qe_bitmap_format_to_pix_fmt(int format);
-+int mbf;
-
- /* shell.c */
- EditBuffer *new_shell_buffer(EditBuffer *b0, const char *name,
diff --git a/app-editors/qemacs/files/qemacs-0.4.0_pre20090420-nostrip.patch b/app-editors/qemacs/files/qemacs-0.4.0_pre20090420-nostrip.patch
deleted file mode 100644
index 120b09c2129d..000000000000
--- a/app-editors/qemacs/files/qemacs-0.4.0_pre20090420-nostrip.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- qemacs-orig/Makefile
-+++ qemacs/Makefile
-@@ -151,7 +151,6 @@
- qe$(EXE): qe_g$(EXE) Makefile
- rm -f $@
- cp $< $@
-- -$(STRIP) $@
- @ls -l $@
- echo `size $@` `wc -c $@` qe $(OPTIONS) \
- | cut -d ' ' -f 7-10,13,15-40 >> STATS
-@@ -165,7 +164,6 @@
- tqe$(EXE): tqe_g$(EXE) Makefile
- rm -f $@
- cp $< $@
-- -$(STRIP) $@
- @ls -l $@
- echo `size $@` `wc -c $@` tqe $(OPTIONS) \
- | cut -d ' ' -f 7-10,13,15-40 >> STATS
-@@ -329,7 +327,7 @@
- $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/bin
- $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/man/man1
- $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/qe
-- $(INSTALL) -m 755 -s qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
-+ $(INSTALL) -m 755 qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
- ln -sf qemacs $(DESTDIR)$(prefix)/bin/qe$(EXE)
- ifdef CONFIG_FFMPEG
- ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/ffplay$(EXE)
-@@ -337,7 +335,7 @@
- $(INSTALL) -m 644 kmaps ligatures $(DESTDIR)$(prefix)/share/qe
- $(INSTALL) -m 644 qe.1 $(DESTDIR)$(prefix)/man/man1
- ifdef CONFIG_HTML
-- $(INSTALL) -m 755 -s html2png$(EXE) $(DESTDIR)$(prefix)/bin
-+ $(INSTALL) -m 755 html2png$(EXE) $(DESTDIR)$(prefix)/bin
- endif
-
- uninstall:
diff --git a/app-editors/qemacs/qemacs-0.4.0_pre20090420-r1.ebuild b/app-editors/qemacs/qemacs-0.4.0_pre20090420-r1.ebuild
deleted file mode 100644
index 44aa76fbf48a..000000000000
--- a/app-editors/qemacs/qemacs-0.4.0_pre20090420-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="QEmacs is a very small but powerful UNIX editor"
-HOMEPAGE="https://savannah.nongnu.org/projects/qemacs"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1+ GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 arm ~ppc x86"
-IUSE="X png unicode xv"
-RESTRICT="test"
-
-RDEPEND="
- X? ( x11-libs/libX11
- x11-libs/libXext
- xv? ( x11-libs/libXv ) )
- png? ( >=media-libs/libpng-1.2:0= )"
-
-DEPEND="${RDEPEND}
- >=app-text/texi2html-5"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- # Removes forced march setting and align-functions on x86, as they
- # would override user's CFLAGS..
- epatch "${FILESDIR}/${PN}-0.4.0_pre20080605-Makefile.patch"
- # Make backup files optional
- epatch "${FILESDIR}/${PN}-0.4.0_pre20080605-make_backup.patch"
- # Suppress stripping
- epatch "${FILESDIR}/${P}-nostrip.patch"
-
- use unicode && epatch "${FILESDIR}/${PN}-0.3.2_pre20070226-tty_utf8.patch"
-
- # Change the manpage to reference a /real/ file instead of just an
- # approximation. Purely cosmetic!
- sed -i -e "s,^/usr/share/doc/qemacs,&-${PVR}," qe.1 || die
-
- # Fix compability with >=app-text/texi2html-5
- sed -i -e "/texi2html/s,-number,&-sections," Makefile || die
-}
-
-src_configure() {
- # when using any other CFLAGS than -O0, qemacs will segfault on startup,
- # see bug 92011
- replace-flags "-O?" -O0
- econf --cc="$(tc-getCC)" \
- $(use_enable X x11) \
- $(use_enable png) \
- $(use_enable xv)
-}
-
-src_compile() {
- # Does not support parallel building.
- emake -j1
-}
-
-src_install() {
- emake install DESTDIR="${D}"
- dodoc Changelog README TODO config.eg
- dohtml *.html
-
- # Fix man page location
- mv "${D}"/usr/{,share/}man || die
-
- # Install headers so users can build their own plugins.
- insinto /usr/include/qe
- doins *.h
- insinto /usr/include/qe/libqhtml
- doins libqhtml/*.h
-}