Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/free42/files/, app-emulation/free42/
Date: Tue, 20 Feb 2018 14:53:17
Message-Id: 1519138385.56477ce83798fc57854d8ba6104f452e69949b44.nimiux@gentoo
1 commit: 56477ce83798fc57854d8ba6104f452e69949b44
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 20 14:53:05 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 20 14:53:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56477ce8
7
8 app-emulation/free42: Drops old version 2.0.12
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-emulation/free42/Manifest | 1 -
13 .../files/free42-2.0.12-fix-build-intel-lib.patch | 12 -----
14 .../free42/files/free42-2.0.12-fix-makefile.patch | 58 ----------------------
15 app-emulation/free42/free42-2.0.12.ebuild | 49 ------------------
16 4 files changed, 120 deletions(-)
17
18 diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
19 index 10246441290..5aee3a6e13c 100644
20 --- a/app-emulation/free42/Manifest
21 +++ b/app-emulation/free42/Manifest
22 @@ -1,4 +1,3 @@
23 DIST free42-nologo-2.0.10.tgz 7389429 BLAKE2B a633a78ed5974e327aafa9d783c04bdcaa895940580c595c9c67ab0181ec7000efaa92021a485199268341f15f4c4bafe3964d4118c068e8abbfa2f358045b5a SHA512 4f03b9b206ef17e71295f0baac96ca26f34a00844cee6cad254f8ab798d3d0c724788200f3f207a3301f62eb0960707a23e6bcbb2ac924a78b0f0e1c78e70e6d
24 -DIST free42-nologo-2.0.12.tgz 7389088 BLAKE2B 4f205439e7f642e266ec3f4b5032c9b48c2b726f5cce80a5a855b925ae7ff8cccbba1ce066f54af37b87f28a13f5c92e724d35ee71aa1439b3934b370662c3ca SHA512 b04d5c104deda8cb15d0a77186c55ae6270568255f4a6ad62ede33e0a154c42f5dce53456d60f434df04f46a0bb824caf45e58ce7c75f5a69102a7952defc611
25 DIST free42-nologo-2.0.15.tgz 7389800 BLAKE2B f78a925459f7eea3347d5394cdde47cd7318770895ea0c375b14c5855ff9d08db86c72324122c15792db8e457fa6bfb8039a911de240e23269bf87def58381cf SHA512 533528b651b408156fb069e4969f35a1d365be84a7fc63d0d40a35ace75592dd88cc20def3dff2de4b7a7e3eeaeab99bb89ad333135be90dab13b52ac6af804b
26 DIST free42-nologo-2.0.6.tgz 7348647 BLAKE2B 708c88b4903358c23989d515c61884ffc9feae3d43fc54f1ac8a18779cfe8aa2d0e1a2ec667e24f78da58cd94ad515399191b7dc968adbc59bb97517b34680be SHA512 078a79cc4dfa36ae7342be5b90350f4b7269f4e71777f2620c2043510d6313acbc1fa9415b75f8b01bebb2de747b9af8a26738f877c34a4d82a1fdd52c75a61d
27
28 diff --git a/app-emulation/free42/files/free42-2.0.12-fix-build-intel-lib.patch b/app-emulation/free42/files/free42-2.0.12-fix-build-intel-lib.patch
29 deleted file mode 100644
30 index a321b1d714b..00000000000
31 --- a/app-emulation/free42/files/free42-2.0.12-fix-build-intel-lib.patch
32 +++ /dev/null
33 @@ -1,12 +0,0 @@
34 -diff -Nuar a/gtk/build-intel-lib.sh b/gtk/build-intel-lib.sh
35 ---- a/gtk/build-intel-lib.sh 2018-01-08 02:52:33.000000000 +0100
36 -+++ b/gtk/build-intel-lib.sh 2018-01-13 19:43:23.709997784 +0100
37 -@@ -4,7 +4,7 @@
38 - cd IntelRDFPMathLib20U1
39 - patch -p0 <../intel-lib-linux.patch
40 - cd LIBRARY
41 --make CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
42 -+make A=a CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
43 - mv libbid.a ../../gcc111libbid.a
44 - cd ../..
45 - ( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc
46
47 diff --git a/app-emulation/free42/files/free42-2.0.12-fix-makefile.patch b/app-emulation/free42/files/free42-2.0.12-fix-makefile.patch
48 deleted file mode 100644
49 index 7642316920f..00000000000
50 --- a/app-emulation/free42/files/free42-2.0.12-fix-makefile.patch
51 +++ /dev/null
52 @@ -1,58 +0,0 @@
53 -diff -Nuar a/gtk/Makefile b/gtk/Makefile
54 ---- a/gtk/Makefile 2018-01-08 02:52:33.000000000 +0100
55 -+++ b/gtk/Makefile 2018-01-13 19:40:49.059998446 +0100
56 -@@ -15,11 +15,11 @@
57 - # along with this program; if not, see http://www.gnu.org/licenses/.
58 - ###############################################################################
59 -
60 --CFLAGS = -MMD \
61 -+CFLAGS := -MMD \
62 - -Wall \
63 - -Wno-parentheses \
64 - -Wno-write-strings \
65 -- -g \
66 -+ -Wno-error=narrowing \
67 - -I/usr/X11R6/include \
68 - $(shell pkg-config --cflags gtk+-2.0) \
69 - -DVERSION="\"$(shell cat ../VERSION)\"" \
70 -@@ -27,21 +27,25 @@
71 - -DDECIMAL_GLOBAL_ROUNDING=1 \
72 - -DDECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS=1 \
73 - -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \
74 -- -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1
75 -+ -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 \
76 -+ ${CFLAGS}
77 -
78 --CXXFLAGS = $(CFLAGS) \
79 -+CXXFLAGS := $(CFLAGS) \
80 - -fno-exceptions \
81 - -fno-rtti \
82 -- -D_WCHAR_T_DEFINED
83 -+ -D_WCHAR_T_DEFINED \
84 -+ ${CXXFLAGS}
85 -
86 --LDFLAGS = -L/usr/X11R6/lib
87 --LIBS = gcc111libbid.a -lXmu $(shell pkg-config --libs gtk+-2.0)
88 -+MYLDFLAGS = -L/usr/X11R6/lib
89 -+LIBS = gcc111libbid.a -lX11 -ldl -lXmu $(shell pkg-config --libs gtk+-2.0)
90 -
91 - ifeq "$(shell uname -s)" "Linux"
92 --LDFLAGS += -Wl,--hash-style=both
93 -+MYLDFLAGS += -Wl,--hash-style=both
94 - LIBS += -lpthread
95 - endif
96 -
97 -+MYLDFLAGS += ${LDFLAGS}
98 -+
99 - SRCS = shell_main.cc shell_skin.cc skins.cc keymap.cc shell_loadimage.cc \
100 - shell_spool.cc core_main.cc core_commands1.cc core_commands2.cc \
101 - core_commands3.cc core_commands4.cc core_commands5.cc \
102 -@@ -83,7 +87,7 @@
103 - endif
104 -
105 - $(EXE): $(OBJS)
106 -- $(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) $(LIBS)
107 -+ $(CXX) -o $(EXE) $(MYLDFLAGS) $(OBJS) $(LIBS)
108 -
109 - $(SRCS) skin2cc.cc keymap2cc.cc skin2cc.conf: symlinks
110 -
111
112 diff --git a/app-emulation/free42/free42-2.0.12.ebuild b/app-emulation/free42/free42-2.0.12.ebuild
113 deleted file mode 100644
114 index ce44a72c5ae..00000000000
115 --- a/app-emulation/free42/free42-2.0.12.ebuild
116 +++ /dev/null
117 @@ -1,49 +0,0 @@
118 -# Copyright 1999-2018 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -inherit eutils toolchain-funcs
124 -
125 -MY_PV="${PN}-nologo-${PV}"
126 -
127 -DESCRIPTION="An HP-42S Calculator Simulator"
128 -HOMEPAGE="http://thomasokken.com/free42/"
129 -SRC_URI="http://thomasokken.com/free42/upstream/${MY_PV}.tgz"
130 -
131 -LICENSE="GPL-2"
132 -SLOT="0"
133 -KEYWORDS="~amd64 ~x86"
134 -IUSE="alsa"
135 -
136 -DEPEND="dev-libs/atk
137 - x11-libs/cairo
138 - x11-libs/gdk-pixbuf
139 - x11-libs/gtk+:2
140 - x11-libs/pango
141 - alsa? ( media-libs/alsa-lib )"
142 -
143 -RDEPEND="${DEPEND}
144 - x11-libs/libX11
145 - x11-libs/libXmu"
146 -
147 -S="${WORKDIR}/${MY_PV}"
148 -
149 -src_prepare() {
150 - sed -i -e 's/print_gif_name\[FILENAMELEN\]/print_gif_name\[1000\]/' \
151 - "${S}/gtk/shell_main.cc" || die
152 - epatch "${FILESDIR}"/${P}-fix-makefile.patch
153 - epatch "${FILESDIR}"/${P}-fix-build-intel-lib.patch
154 - eapply_user
155 -}
156 -
157 -src_compile() {
158 - local myconf
159 - use alsa && myconf="AUDIO_ALSA=yes"
160 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C "${S}/gtk"
161 -}
162 -
163 -src_install() {
164 - dodoc CREDITS HISTORY README
165 - dobin gtk/free42dec
166 -}