[gentoo-commits] repo/gentoo:master commit in: app-editors/qemacs/, app-editors/qemacs/files/

2018-04-07 Thread Ulrich Müller
commit: b5c07195e5ac3ec9bb7da86b7d3d0795cafc225d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Apr  7 11:52:11 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Apr  7 11:53:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c07195

app-editors/qemacs: Remove old.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-editors/qemacs/Manifest|  1 -
 .../files/qemacs-0.3.2_pre20070226-tty_utf8.patch  | 43 
 .../files/qemacs-0.4.0_pre20080605-Makefile.patch  | 35 --
 .../qemacs-0.4.0_pre20080605-make_backup.patch | 68 ---
 .../files/qemacs-0.4.0_pre20090420-nostrip.patch   | 36 --
 .../qemacs/qemacs-0.4.0_pre20090420-r1.ebuild  | 76 --
 6 files changed, 259 deletions(-)

diff --git a/app-editors/qemacs/Manifest b/app-editors/qemacs/Manifest
index 41d0dd3d054..16ed5004d09 100644
--- a/app-editors/qemacs/Manifest
+++ b/app-editors/qemacs/Manifest
@@ -1,3 +1,2 @@
-DIST qemacs-0.4.0_pre20090420.tar.bz2 1393436 BLAKE2B 
73cc34e711957db31d765e07712b5fb0ec94523c8d3a175beec95ca244929335088c69156a0f9f8c4875868c1add52a1c5f76e74a07f70d89f2c1c5d80917669
 SHA512 
4595e34d3a83cbd7f25514dd96b7578976b30de80eb19b1391448ecdb9c06d2400978961e5abb94b3f715057e7563ae0976d704bc5afaaf83e62a67e8dd4
 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

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 1f51ada5c2b..000
--- 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/msg0.html
-http://bugs.gentoo.org/62829
-
 qemacs-orig/tty.c  2007-02-08 00:27:33.0 +0100
-+++ qemacs/tty.c   2007-02-26 15:07:41.0 +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 == _utf8) {
--if (ts->utf8_state == 0) {
--const char *p;
--p = (const char *)ts->buf;
--ch = utf8_decode();
--} else {
--ts->utf8_state = utf8_length[ts->buf[0]] - 1;
--ts->utf8_index = 0;
--return;
--}
-+  /* Make sure utf8 input works correctly 20040314 
 */
-+  ts->utf8_index++;
-+
-+  if (utf8_length[ts->buf[0]] == ts->utf8_index) {;
-+  const char *p;
-+  p = (const char *)ts->buf;
-+  ch = utf8_decode();
-+  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 73c3f68b13a..000
--- 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.0 +0100
-+++ Makefile   2009-03-07 21:28:43.0 +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 cdfe4c439db..000
--- 

[gentoo-commits] repo/gentoo:master commit in: app-editors/qemacs/, app-editors/qemacs/files/

2017-03-04 Thread Ulrich Müller
commit: d2377699716b0fe6814f5d7cd1c3ad374609720d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Mar  4 08:41:56 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Mar  4 08:41:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2377699

app-editors/qemacs: New snapshot.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 app-editors/qemacs/Manifest|  1 +
 .../files/qemacs-0.4.1_pre20170225-Makefile.patch  | 42 +++
 .../files/qemacs-0.4.1_pre20170225-manpage.patch   | 11 
 .../files/qemacs-0.4.1_pre20170225-nostrip.patch   | 61 +
 app-editors/qemacs/qemacs-0.4.1_pre20170225.ebuild | 63 ++
 5 files changed, 178 insertions(+)

diff --git a/app-editors/qemacs/Manifest b/app-editors/qemacs/Manifest
index fa2ea2e683a..6f2977c8a6d 100644
--- a/app-editors/qemacs/Manifest
+++ b/app-editors/qemacs/Manifest
@@ -1,2 +1,3 @@
 DIST qemacs-0.4.0_pre20090420.tar.bz2 1393436 SHA256 
14f1ffad569f1bdaaa27d2d7ab0251ce69afc9efc347bb244b11f5e34e818ab5 SHA512 
4595e34d3a83cbd7f25514dd96b7578976b30de80eb19b1391448ecdb9c06d2400978961e5abb94b3f715057e7563ae0976d704bc5afaaf83e62a67e8dd4
 WHIRLPOOL 
63ba6950a0340731cd9a041a5929d18f1769d915a7343a94b2b0c48d82a0af1680b2163426e8d268240d3c0c740895853439d96c2d49791e106f0798f5d88a8b
 DIST qemacs-0.4.1_pre20150916.tar.xz 1136592 SHA256 
1f019c7fc7aceaa2c5608a7ca251e244ee8bf67086e4b285c28f88849e1269b0 SHA512 
e9775ff3dfef6d6b6b263029a620e6575f9f4718b94c0acfcddc8e5da8cd835e57dfbd5fbd948778135b609ae0588924fc9a727b2e763a25148aa27886a9f467
 WHIRLPOOL 
4f97d931eb3880a8ce0f1f09a6f404297797f230cfcc4d2507fcf0b6fcf0c4d28d5868e943905d316cb0d5d22581095c4cd1a8bf00c44f11ed7606a357f7cc19
+DIST qemacs-0.4.1_pre20170225.tar.xz 1147408 SHA256 
9a3f754effbd9253b7aec9909fea801fc233cf69f98f6c807e5334ae1c8a08a6 SHA512 
a17c8901c917f91401e16b4f857735957ab0d3533d9dcc7a0decf768f453b68023f45e1241225a84d35ba793beb69754e0f2caa857165f8223882d5041d56c99
 WHIRLPOOL 
b430a0fd8ecef701d4727acb023d0a56553cf109e18ae64dfec886923ec6e5395d1dae9484c274d298675928c69e0e966f3443c0f9f4f8c6890af15bc0fd52ae

diff --git a/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-Makefile.patch 
b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-Makefile.patch
new file mode 100644
index 000..0540bcd767c
--- /dev/null
+++ b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-Makefile.patch
@@ -0,0 +1,42 @@
+Removes forced march setting and align-functions on x86, as they would
+override user's CFLAGS.
+
+--- qemacs-orig/Makefile
 qemacs/Makefile
+@@ -29,35 +29,11 @@
+ cmd  := 
+ endif
+ 
+-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 $(DEPTH)/cflags.mk
+-
+-ifdef TARGET_GPROF
+-  CFLAGS  += -p
+-  LDFLAGS += -p
+-endif
+-
+ #TCFLAGS := -DCONFIG_TINY -m32 $(CFLAGS) -Os
+ #TLDFLAGS := -m32 $(LDFLAGS)
+-TCFLAGS := -DCONFIG_TINY $(CFLAGS) -Os
++TCFLAGS := -DCONFIG_TINY $(CFLAGS)
+ 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.1_pre20170225-manpage.patch 
b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-manpage.patch
new file mode 100644
index 000..b73f3ee356b
--- /dev/null
+++ b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-manpage.patch
@@ -0,0 +1,11 @@
+--- qemacs-orig/qe.1
 qemacs/qe.1
+@@ -44,7 +44,7 @@
+ anti aliased font display.
+ .PP
+ For more information and a list of key bindings please see
+-/usr/share/doc/qemacs/README.gz.
++the README file in /usr/share/doc/@PF@/.
+ .SH AUTHOR
+ This manual page was written by Edmund GRIMLEY EVANS ,
+ for the Debian GNU/Linux system (but may be used by others).

diff --git a/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-nostrip.patch 
b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-nostrip.patch
new file mode 100644
index 000..60519dca5c3
--- /dev/null
+++ b/app-editors/qemacs/files/qemacs-0.4.1_pre20170225-nostrip.patch
@@ -0,0 +1,61 @@
+Suppress stripping.
+
+--- qemacs-orig/Makefile
 qemacs/Makefile
+@@ -203,7 +203,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
+@@ -218,7 +217,6 @@
+ xqe$(EXE): xqe_g$(EXE) Makefile
+   @rm -f $@
+   cp $< $@
+-  -$(STRIP) $@
+   @ls -l $@
+   @echo `size $@` `wc -c $@` xqe $(OPTIONS) \
+   | cut -d ' ' -f 7-10,13,15-40 >> STATS
+@@ -233,7 +231,6 @@
+