Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/smc/, profiles/, games-arcade/smc/files/
Date: Mon, 11 Sep 2017 18:57:30
Message-Id: 1505156169.6b8e2820ad9abbffbadf3dd62b89d5ddfc4a341a.mgorny@gentoo
1 commit: 6b8e2820ad9abbffbadf3dd62b89d5ddfc4a341a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 11 18:43:25 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 11 18:56:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8e2820
7
8 games-arcade/smc: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/625604
11
12 games-arcade/smc/Manifest | 2 -
13 games-arcade/smc/files/smc-1.9-boost150.patch | 101 -------------------------
14 games-arcade/smc/files/smc-1.9-underlink.patch | 25 ------
15 games-arcade/smc/metadata.xml | 14 ----
16 games-arcade/smc/smc-1.9.ebuild | 54 -------------
17 profiles/package.mask | 5 --
18 6 files changed, 201 deletions(-)
19
20 diff --git a/games-arcade/smc/Manifest b/games-arcade/smc/Manifest
21 deleted file mode 100644
22 index 285b6d33aa2..00000000000
23 --- a/games-arcade/smc/Manifest
24 +++ /dev/null
25 @@ -1,2 +0,0 @@
26 -DIST SMC_Music_4.1_high.zip 36605212 SHA256 0ab0e232bbdcde5c5e2391518593c5b3b2d152481946dd29d2ba7f6e22d83034 SHA512 e82e514fd2bcb0dad8973f91a40d13445498a8a0af237c83739da6b9f85d6829d9a68739677842519484cdb45e969d221cd9bb53042d0cf1981e2e5765a0da08 WHIRLPOOL c355b3440ba991f45dbda93f485282a665d8262aee00cca901807356d8cebab1deb64f6e7f79a603f8b70386a9bfa50ed41db8c9d49d995a1526db92b7c8b75a
27 -DIST smc-1.9.tar.bz2 49568474 SHA256 b4194e70d3f1de3da884dd1a11e4f5cec25a205f66a3b85cc9fc1c86289b237d SHA512 f7fdb3dd48e2c4503158e5237911906d1de23b9c8ac0f494affa6e79eb57620c61cc757e4ba6e83fdd556fc5ee061b42be0b27055deb96e9d6e5b3ea8199124e WHIRLPOOL 9bf6ea2a7db552200e57b10968ffa13ae524b91c868fc3c5d45f7ab2ee7c547563b5f337f536183538369bde86530b272befb1601b551739b62acc71305fc697
28
29 diff --git a/games-arcade/smc/files/smc-1.9-boost150.patch b/games-arcade/smc/files/smc-1.9-boost150.patch
30 deleted file mode 100644
31 index 42d7ce2bc66..00000000000
32 --- a/games-arcade/smc/files/smc-1.9-boost150.patch
33 +++ /dev/null
34 @@ -1,101 +0,0 @@
35 ---- src/overworld/world_manager.cpp.old 2012-11-14 17:05:19.759087973 +0100
36 -+++ src/overworld/world_manager.cpp 2012-11-14 17:06:55.365644219 +0100
37 -@@ -111,14 +111,14 @@
38 - void cOverworld_Manager :: Load_Dir( const std::string &dir, bool user_dir /* = 0 */ )
39 - {
40 - // set world directory
41 -- fs::path full_path( dir, fs::native );
42 -+ fs::path full_path( dir );
43 - fs::directory_iterator end_iter;
44 -
45 - for( fs::directory_iterator dir_itr( full_path ); dir_itr != end_iter; ++dir_itr )
46 - {
47 - try
48 - {
49 -- std::string current_dir = dir_itr->path().leaf();
50 -+ std::string current_dir = dir_itr->path().filename().string();
51 -
52 - // only directories with an existing description
53 - if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) )
54 ---- src/video/video.cpp.old 2012-11-14 17:10:26.448625365 +0100
55 -+++ src/video/video.cpp 2012-11-14 17:11:37.486580531 +0100
56 -@@ -749,7 +749,7 @@
57 - {
58 - try
59 - {
60 -- fs::remove_all( fs::path( m_imgcache_dir, fs::native ) );
61 -+ fs::remove_all( fs::path( m_imgcache_dir ) );
62 - }
63 - // could happen if a file is locked or we have no write rights
64 - catch( const std::exception &ex )
65 -@@ -771,7 +771,7 @@
66 - // no cache available
67 - if( !Dir_Exists( imgcache_dir_active ) )
68 - {
69 -- fs::create_directories( fs::path( imgcache_dir_active + "/" GAME_PIXMAPS_DIR, fs::native ) );
70 -+ fs::create_directories( fs::path( imgcache_dir_active + "/" GAME_PIXMAPS_DIR ) );
71 - }
72 - // cache available
73 - else
74 ---- src/core/filesystem/filesystem.cpp.old 2012-11-14 09:00:41.965617165 +0100
75 -+++ src/core/filesystem/filesystem.cpp 2012-11-14 16:57:11.282043980 +0100
76 -@@ -64,7 +64,7 @@
77 -
78 - bool Dir_Exists( const std::string &dir )
79 - {
80 -- return fs::exists( fs::path( dir, fs::native ) );
81 -+ return fs::exists( fs::path( dir ) );
82 -
83 - /*struct stat file_info;
84 -
85 -@@ -89,7 +89,7 @@
86 -
87 - bool Create_Directory( const std::string &dir )
88 - {
89 -- return fs::create_directory( fs::path( dir, fs::native ) );
90 -+ return fs::create_directory( fs::path( dir ) );
91 - }
92 -
93 - size_t Get_File_Size( const std::string &filename )
94 -@@ -130,7 +130,7 @@
95 - {
96 - vector<std::string> valid_files;
97 -
98 -- fs::path full_path( dir, fs::native );
99 -+ fs::path full_path( dir );
100 - fs::directory_iterator end_iter;
101 -
102 - // load all available objects
103 -@@ -142,27 +142,27 @@
104 - if( fs::is_directory( *dir_itr ) )
105 - {
106 - // ignore hidden directories
107 -- if( dir_itr->path().leaf().find( "." ) == 0 )
108 -+ if( dir_itr->path().filename().string().find( "." ) == 0 )
109 - {
110 - continue;
111 - }
112 -
113 - if( with_directories )
114 - {
115 -- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
116 -+ valid_files.push_back( dir + "/" + dir_itr->path().filename().string() );
117 - }
118 -
119 - // load all items from the sub-directory
120 - if( search_in_sub_directories )
121 - {
122 -- vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().leaf(), file_type, with_directories );
123 -+ vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().filename().string(), file_type, with_directories );
124 - valid_files.insert( valid_files.end(), new_valid_files.begin(), new_valid_files.end() );
125 - }
126 - }
127 - // valid file
128 -- else if( file_type.empty() || dir_itr->path().leaf().rfind( file_type ) != std::string::npos )
129 -+ else if( file_type.empty() || dir_itr->path().filename().string().rfind( file_type ) != std::string::npos )
130 - {
131 -- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
132 -+ valid_files.push_back( dir + "/" + dir_itr->path().filename().string() );
133 - }
134 - }
135 - catch( const std::exception &ex )
136
137 diff --git a/games-arcade/smc/files/smc-1.9-underlink.patch b/games-arcade/smc/files/smc-1.9-underlink.patch
138 deleted file mode 100644
139 index 6e076027c47..00000000000
140 --- a/games-arcade/smc/files/smc-1.9-underlink.patch
141 +++ /dev/null
142 @@ -1,25 +0,0 @@
143 -diff -burN smc-1.9.orig/configure.ac smc-1.9/configure.ac
144 ---- smc-1.9.orig/configure.ac 2013-10-23 19:11:08.635054067 +0200
145 -+++ smc-1.9/configure.ac 2013-10-23 19:42:29.820272295 +0200
146 -@@ -12,6 +12,10 @@
147 - ### Check for libraries ###
148 -
149 - # Check for the Boost Filesystem library
150 -+AC_CHECK_LIB(boost_system, main, ,
151 -+ AC_MSG_ERROR([Unable to find Boost System library]))
152 -+
153 -+# Check for the Boost Filesystem library
154 - AC_CHECK_LIB(boost_filesystem, main, ,
155 - AC_MSG_ERROR([Unable to find Boost Filesystem library]))
156 -
157 -@@ -36,6 +40,10 @@
158 - CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
159 - LIBS="$LIBS $SDL_LIBS"
160 -
161 -+# Check for the X11 library
162 -+AC_CHECK_LIB(X11, XOpenDisplay, ,
163 -+ AC_MSG_ERROR([X11 library not found]))
164 -+
165 - # Check for the libpng library
166 - AC_CHECK_LIB(png, png_init_io, ,
167 - AC_MSG_ERROR([libpng library not found]))
168
169 diff --git a/games-arcade/smc/metadata.xml b/games-arcade/smc/metadata.xml
170 deleted file mode 100644
171 index fd7e435280e..00000000000
172 --- a/games-arcade/smc/metadata.xml
173 +++ /dev/null
174 @@ -1,14 +0,0 @@
175 -<?xml version="1.0" encoding="UTF-8"?>
176 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
177 -<pkgmetadata>
178 - <maintainer type="project">
179 - <email>games@g.o</email>
180 - <name>Gentoo Games Project</name>
181 - </maintainer>
182 - <use>
183 - <flag name="music">Download and install the music files</flag>
184 - </use>
185 - <upstream>
186 - <remote-id type="sourceforge">smclone</remote-id>
187 - </upstream>
188 -</pkgmetadata>
189
190 diff --git a/games-arcade/smc/smc-1.9.ebuild b/games-arcade/smc/smc-1.9.ebuild
191 deleted file mode 100644
192 index 1a068441397..00000000000
193 --- a/games-arcade/smc/smc-1.9.ebuild
194 +++ /dev/null
195 @@ -1,54 +0,0 @@
196 -# Copyright 1999-2013 Gentoo Foundation
197 -# Distributed under the terms of the GNU General Public License v2
198 -
199 -EAPI=5
200 -inherit autotools eutils flag-o-matic games
201 -
202 -MUSIC_P=SMC_Music_4.1_high
203 -DESCRIPTION="Secret Maryo Chronicles"
204 -HOMEPAGE="http://www.secretmaryo.org/"
205 -SRC_URI="mirror://sourceforge/smclone/${P}.tar.bz2
206 - music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )"
207 -
208 -LICENSE="GPL-3"
209 -SLOT="0"
210 -KEYWORDS="amd64 x86"
211 -IUSE="music"
212 -
213 -RDEPEND="<dev-games/cegui-0.7[opengl,devil]
214 - dev-libs/boost
215 - virtual/opengl
216 - virtual/glu
217 - x11-libs/libX11
218 - dev-libs/libpcre[unicode]
219 - media-libs/libpng:0
220 - media-libs/libsdl[X,joystick,opengl]
221 - media-libs/sdl-image[png]
222 - media-libs/sdl-mixer[vorbis]
223 - media-libs/sdl-ttf"
224 -DEPEND="${RDEPEND}
225 - virtual/pkgconfig
226 - music? ( app-arch/unzip )"
227 -
228 -src_unpack() {
229 - unpack ${P}.tar.bz2
230 - cd "${S}"
231 - use music && unpack ${MUSIC_P}.zip
232 -}
233 -
234 -src_prepare() {
235 - epatch \
236 - "${FILESDIR}"/${P}-boost150.patch \
237 - "${FILESDIR}"/${P}-underlink.patch
238 - eautoreconf
239 -}
240 -
241 -src_install() {
242 - default
243 - newicon data/icon/window_32.png smc.png
244 - make_desktop_entry ${PN} "Secret Maryo Chronicles"
245 - doman makefiles/unix/man/smc.6
246 - dodoc docs/*.txt
247 - dohtml docs/{*.css,*.html}
248 - prepgamesdirs
249 -}
250
251 diff --git a/profiles/package.mask b/profiles/package.mask
252 index c8d2d2b2171..53944e7bde7 100644
253 --- a/profiles/package.mask
254 +++ b/profiles/package.mask
255 @@ -424,11 +424,6 @@ sci-geosciences/googleearth
256 # Dead for ages, not usable at present time (#625596). Removal in a month.
257 app-mobilephone/linuxsms
258
259 -# Pacho Ramos <pacho@g.o> (26 Jul 2017)
260 -# Upstream dead, last consumer of obsolete cegui version (#625604). Removal
261 -# in a month.
262 -games-arcade/smc
263 -
264 # Kent Fredric <kentnl@g.o> (21 Jul 2017)
265 # Masked due to serious regression that introduces widespread data
266 # corruption when storing data in blobs. Masked, because any code