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/, app-emulation/free42/files/
Date: Sun, 19 Nov 2017 21:51:00
Message-Id: 1511128046.e5a1125db5fc54b0675459cd9e3101566214f225.nimiux@gentoo
1 commit: e5a1125db5fc54b0675459cd9e3101566214f225
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 19 21:47:26 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 19 21:47:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a1125d
7
8 app-emulation/free42: Drops old version 1.5.15
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 app-emulation/free42/Manifest | 1 -
13 .../files/free42-1.5.15-fix-build-intel-lib.patch | 12 -----
14 .../free42/files/free42-1.5.15-fix-makefile.patch | 58 ----------------------
15 app-emulation/free42/free42-1.5.15.ebuild | 47 ------------------
16 app-emulation/free42/metadata.xml | 30 +++++------
17 5 files changed, 15 insertions(+), 133 deletions(-)
18
19 diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
20 index 9d7011700d1..21cdbba3ae3 100644
21 --- a/app-emulation/free42/Manifest
22 +++ b/app-emulation/free42/Manifest
23 @@ -1,2 +1 @@
24 -DIST free42-1.5.15.tgz 22683600 SHA256 2dda0558141cd26d4b04aa96608c85eadb0770c4f2b660889d4b2a6f3a880c21 SHA512 fc09fcb0efaa6502776517b22cd0015ea7ac7d128b80bd740f64272b6c7aa41f5509dd7e0166dc18043790b4bef725a37a6a7210308a67aeaed02622f9e6daef WHIRLPOOL 5f6f5b33ccb2c320515fbc4e67ee52c6bc6c25fdbc8cf24c05772a90be87fed03f48dfa363b195071c4bc722428fb116d246e9df2eaddba20742648891ad7769
25 DIST free42-nologo-2.0.6.tgz 7348647 SHA256 862135da3066576d71dbfedc1e41e97230e656ef2f0db3a5b87ba96650c12b9a SHA512 078a79cc4dfa36ae7342be5b90350f4b7269f4e71777f2620c2043510d6313acbc1fa9415b75f8b01bebb2de747b9af8a26738f877c34a4d82a1fdd52c75a61d WHIRLPOOL 5740055edfbafc6f91ba9d3a8b1dc259511dc99b1e5d06a78cf03976b71928c5423d57cd023c9d878108394f3b0992a3bf532f06e69089b976a8ca789dcae9ed
26
27 diff --git a/app-emulation/free42/files/free42-1.5.15-fix-build-intel-lib.patch b/app-emulation/free42/files/free42-1.5.15-fix-build-intel-lib.patch
28 deleted file mode 100644
29 index 6464714a001..00000000000
30 --- a/app-emulation/free42/files/free42-1.5.15-fix-build-intel-lib.patch
31 +++ /dev/null
32 @@ -1,12 +0,0 @@
33 -diff -Nuar a/gtk/build-intel-lib.sh b/gtk/build-intel-lib.sh
34 ---- a/gtk/build-intel-lib.sh 2017-04-01 20:02:45.000000000 +0200
35 -+++ b/gtk/build-intel-lib.sh 2017-04-04 13:55:43.719038089 +0200
36 -@@ -4,7 +4,7 @@
37 - cd IntelRDFPMathLib20U1
38 - patch -p0 <../intel-lib-linux.patch
39 - cd LIBRARY
40 --make CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
41 -+make A=a CC=gcc CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0
42 - mv libbid.a ../../gcc111libbid.a
43 - cd ../..
44 - ( 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
45
46 diff --git a/app-emulation/free42/files/free42-1.5.15-fix-makefile.patch b/app-emulation/free42/files/free42-1.5.15-fix-makefile.patch
47 deleted file mode 100644
48 index d64efb21a6d..00000000000
49 --- a/app-emulation/free42/files/free42-1.5.15-fix-makefile.patch
50 +++ /dev/null
51 @@ -1,58 +0,0 @@
52 -diff -Nuar a/gtk/Makefile b/gtk/Makefile
53 ---- a/gtk/Makefile 2017-04-01 20:02:45.000000000 +0200
54 -+++ b/gtk/Makefile 2017-04-04 13:59:04.969034463 +0200
55 -@@ -15,11 +15,11 @@
56 - # along with this program; if not, see http://www.gnu.org/licenses/.
57 - ###############################################################################
58 -
59 --CFLAGS = -MMD \
60 -+CFLAGS := -MMD \
61 - -Wall \
62 - -Wno-parentheses \
63 - -Wno-write-strings \
64 -- -g \
65 -+ -Wno-error=narrowing \
66 - -I/usr/X11R6/include \
67 - $(shell pkg-config --cflags gtk+-2.0) \
68 - -DVERSION="\"$(shell cat ../VERSION)\"" \
69 -@@ -27,21 +27,25 @@
70 - -DDECIMAL_GLOBAL_ROUNDING=1 \
71 - -DDECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS=1 \
72 - -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \
73 -- -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1
74 -+ -DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 \
75 -+ ${CFLAGS}
76 -
77 --CXXFLAGS = $(CFLAGS) \
78 -+CXXFLAGS := $(CFLAGS) \
79 - -fno-exceptions \
80 - -fno-rtti \
81 -- -D_WCHAR_T_DEFINED
82 -+ -D_WCHAR_T_DEFINED \
83 -+ ${CXXFLAGS}
84 -
85 --LDFLAGS = -L/usr/X11R6/lib
86 --LIBS = gcc111libbid.a -lXmu $(shell pkg-config --libs gtk+-2.0)
87 -+MYLDFLAGS = -L/usr/X11R6/lib
88 -+LIBS = gcc111libbid.a -lX11 -ldl -lXmu $(shell pkg-config --libs gtk+-2.0)
89 -
90 - ifeq "$(shell uname -s)" "Linux"
91 --LDFLAGS += -Wl,--hash-style=both
92 -+MYLDFLAGS += -Wl,--hash-style=both
93 - LIBS += -lpthread
94 - endif
95 -
96 -+MYLDFLAGS += ${LDFLAGS}
97 -+
98 - SRCS = shell_main.cc shell_skin.cc skins.cc keymap.cc shell_loadimage.cc \
99 - shell_spool.cc core_main.cc core_commands1.cc core_commands2.cc \
100 - core_commands3.cc core_commands4.cc core_commands5.cc \
101 -@@ -83,7 +87,7 @@
102 - endif
103 -
104 - $(EXE): $(OBJS)
105 -- $(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) $(LIBS)
106 -+ $(CXX) -o $(EXE) $(MYLDFLAGS) $(OBJS) $(LIBS)
107 -
108 - $(SRCS) skin2cc.cc keymap2cc.cc skin2cc.conf: symlinks
109 -
110
111 diff --git a/app-emulation/free42/free42-1.5.15.ebuild b/app-emulation/free42/free42-1.5.15.ebuild
112 deleted file mode 100644
113 index b765ac09719..00000000000
114 --- a/app-emulation/free42/free42-1.5.15.ebuild
115 +++ /dev/null
116 @@ -1,47 +0,0 @@
117 -# Copyright 1999-2017 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=6
121 -
122 -inherit eutils toolchain-funcs
123 -
124 -DESCRIPTION="An HP-42S Calculator Simulator"
125 -HOMEPAGE="http://thomasokken.com/free42/"
126 -SRC_URI="mirror://gentoo/${P}.tgz"
127 -
128 -LICENSE="GPL-2"
129 -SLOT="0"
130 -KEYWORDS="amd64 x86"
131 -IUSE="alsa"
132 -
133 -DEPEND="dev-libs/atk
134 - x11-libs/cairo
135 - x11-libs/gdk-pixbuf
136 - x11-libs/gtk+:2
137 - x11-libs/pango
138 - alsa? ( media-libs/alsa-lib )"
139 -
140 -RDEPEND="${DEPEND}
141 - x11-libs/libX11
142 - x11-libs/libXmu"
143 -
144 -S="${WORKDIR}/${PN}"
145 -
146 -src_prepare() {
147 - default
148 - sed -i -e 's/print_gif_name\[FILENAMELEN\]/print_gif_name\[1000\]/' \
149 - "${S}/gtk/shell_main.cc" || die
150 - epatch "${FILESDIR}"/${P}-fix-makefile.patch
151 - epatch "${FILESDIR}"/${P}-fix-build-intel-lib.patch
152 -}
153 -
154 -src_compile() {
155 - local myconf
156 - use alsa && myconf="AUDIO_ALSA=yes"
157 - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C "${S}/gtk"
158 -}
159 -
160 -src_install() {
161 - dodoc CREDITS HISTORY README TODO
162 - dobin gtk/free42dec
163 -}
164
165 diff --git a/app-emulation/free42/metadata.xml b/app-emulation/free42/metadata.xml
166 index 6a06bd3b7db..8cd4a7ec831 100644
167 --- a/app-emulation/free42/metadata.xml
168 +++ b/app-emulation/free42/metadata.xml
169 @@ -1,19 +1,19 @@
170 <?xml version="1.0" encoding="UTF-8"?>
171 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
172 <pkgmetadata>
173 - <maintainer type="person">
174 - <email>nimiux@g.o</email>
175 - <name>Chema Alonso</name>
176 - </maintainer>
177 - <longdescription lang="en">
178 - An HP-42S Calculator Simulator
179 - </longdescription>
180 - <longdescription lang="es">
181 - Un simulador de la calculadora HP-42S
182 - </longdescription>
183 - <use>
184 - <flag name="alsa">
185 - Adds support for Advanced Linux Sound Architecture
186 - </flag>
187 - </use>
188 + <maintainer type="person">
189 + <email>nimiux@g.o</email>
190 + <name>Chema Alonso</name>
191 + </maintainer>
192 + <longdescription lang="en">
193 + An HP-42S Calculator Simulator
194 + </longdescription>
195 + <longdescription lang="es">
196 + Un simulador de la calculadora HP-42S
197 + </longdescription>
198 + <use>
199 + <flag name="alsa">
200 + Adds support for Advanced Linux Sound Architecture
201 + </flag>
202 + </use>
203 </pkgmetadata>