Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: app-text/enscript/files/, app-text/enscript/
Date: Sat, 26 Dec 2020 13:24:28
Message-Id: 1608989028.96026fd2856f52fc04de6e740b80d12508b18176.grobian@gentoo
1 commit: 96026fd2856f52fc04de6e740b80d12508b18176
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 13:23:48 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 13:23:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=96026fd2
7
8 app-text/enscript: migrated to gx86
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 app-text/enscript/Manifest | 1 -
13 app-text/enscript/enscript-1.6.6.ebuild | 53 --------
14 app-text/enscript/files/ebuild.st | 133 ---------------------
15 app-text/enscript/files/enscript-1.6.2-ruby.patch | 19 ---
16 .../enscript/files/enscript-1.6.4-ebuild.st.patch | 10 --
17 .../files/enscript-1.6.4-fsf-gcc-darwin.patch | 32 -----
18 .../enscript/files/enscript-1.6.5.2-php.st.patch | 11 --
19 app-text/enscript/metadata.xml | 8 --
20 8 files changed, 267 deletions(-)
21
22 diff --git a/app-text/enscript/Manifest b/app-text/enscript/Manifest
23 deleted file mode 100644
24 index b5dc1665c3..0000000000
25 --- a/app-text/enscript/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST enscript-1.6.6.tar.gz 1330493 BLAKE2B 02e333271ac6716e049402d5904b0ad6926b31d4533c813a9e5bcf76045d4100def2476426b97c52585e8f5c0a741159fb3e78de79c817e75de81ebd464c0d61 SHA512 bf1c2b9ea7723518a1ef312145ddcd6ffdef0c6e8b5795ea84cb55d76fccc02f441d0c2dc6897e970368186e6a829ab74a090716624e0f7a8f575653fa495ebc
29
30 diff --git a/app-text/enscript/enscript-1.6.6.ebuild b/app-text/enscript/enscript-1.6.6.ebuild
31 deleted file mode 100644
32 index 7386c36588..0000000000
33 --- a/app-text/enscript/enscript-1.6.6.ebuild
34 +++ /dev/null
35 @@ -1,53 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/enscript-1.6.6.ebuild,v 1.1 2012/09/26 14:27:26 jer Exp $
39 -
40 -EAPI="2"
41 -
42 -inherit eutils
43 -
44 -DESCRIPTION="powerful text-to-postscript converter"
45 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
46 -HOMEPAGE="http://www.gnu.org/software/enscript/enscript.html"
47 -
48 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
49 -SLOT="0"
50 -LICENSE="GPL-3"
51 -IUSE="nls ruby"
52 -
53 -DEPEND="
54 - sys-devel/flex
55 - sys-devel/bison
56 - nls? ( sys-devel/gettext )
57 -"
58 -RDEPEND="nls? ( virtual/libintl )"
59 -
60 -src_prepare() {
61 - epatch "${FILESDIR}"/enscript-1.6.4-ebuild.st.patch
62 - epatch "${FILESDIR}"/enscript-1.6.5.2-php.st.patch
63 - use ruby && epatch "${FILESDIR}"/enscript-1.6.2-ruby.patch
64 - epatch "${FILESDIR}"/enscript-1.6.4-fsf-gcc-darwin.patch
65 - sed -i src/tests/passthrough.test -e 's|tail +2|tail -n +2|g' || die
66 -}
67 -
68 -src_configure() {
69 - econf $(use_enable nls)
70 -}
71 -
72 -src_install() {
73 - emake DESTDIR="${D}" install || die "install failed"
74 -
75 - dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
76 -
77 - insinto /usr/share/enscript/hl
78 - doins "${FILESDIR}"/ebuild.st || die "doins ebuild.st failed"
79 -
80 - if use ruby ; then
81 - insinto /usr/share/enscript/hl
82 - doins "${FILESDIR}"/ruby.st || die "doins ruby.st failed"
83 - fi
84 -}
85 -
86 -pkg_postinst() {
87 - elog "Now, customize /etc/enscript.cfg."
88 -}
89
90 diff --git a/app-text/enscript/files/ebuild.st b/app-text/enscript/files/ebuild.st
91 deleted file mode 100644
92 index 6d27d945bf..0000000000
93 --- a/app-text/enscript/files/ebuild.st
94 +++ /dev/null
95 @@ -1,133 +0,0 @@
96 -/**
97 - * Name: ebuild
98 - * Description: Gentoo Portage ebuild
99 - * Author: Ed Catmur <ed@×××××××××.uk>
100 - *
101 - * Based on gentoo.vim by Ciaran McCreesh <ciaranm@g.o>
102 - */
103 -
104 -state ebuild extends bash
105 -{
106 - /* Variables */
107 - /^([ \t]*)([0-9a-zA-Z_.-]+)(=)/ {
108 - language_print ($1);
109 - variable_name_face(true);
110 - language_print ($2);
111 - variable_name_face(false);
112 - language_print ($3);
113 - }
114 -
115 - /* Core keywords */
116 - /\b(use|has_version|best_version|use_with|use_enable|check_KV\
117 -|keepdir|econf|die|einstall|einfo|ewarn|eerror|diropts\
118 -|dobin|docinto|dodoc|doexe|dohard|dohtml|doinfo|doins\
119 -|dolib|dolib|a|dolib|so|doman|dosbin|dosym|emake|exeinto\
120 -|exeopts|fowners|fperms|insinto|insopts|into|libopts|newbin\
121 -|newexe|newins|newman|newsbin|prepall|prepalldocs|prepallinfo\
122 -|prepallman|prepallstrip|has|unpack|dopython|dosed|into\
123 -|doinitd|doconfd|doenvd|dojar|domo|dodir|ebegin|eend\
124 -|newconfd|newdoc|newenvd|newinitd|newlib\.a|newlib\.so\
125 -|hasq|hasv|useq|usev\
126 -|addread|addwrite|adddeny|addpredict\
127 -|inherit\
128 -|EXPORT_FUNCTIONS)\b/ {
129 - keyword_face(true);
130 - language_print ($0);
131 - keyword_face (false);
132 - }
133 -
134 - /* Recognised functions */
135 - /\b(pkg_nofetch|pkg_setup|src_unpack|src_compile|src_test|src_install\
136 -|pkg_preinst|pkg_postinst|pkg_prerm|pkg_postrm|pkg_config)\b/ {
137 - function_name_face(true);
138 - language_print ($0);
139 - function_name_face(false);
140 - }
141 -
142 - /* Other keywords */
143 - /\b(gen_usr_ldscript|draw_line|epatch|have_NPTL|get_number_of_jobs|egetent\
144 -|emktemp|enewuser|enewgroup|edos2unix|make_desktop_entry|unpack_pdv\
145 -|unpack_makeself|check_license|cdrom_get_cds|cdrom_load_next\
146 -|cdrom_locate_file_on_cd|strip|linguas|epause|ebeep|built_with_use\
147 -|make_session_desktop|domenu|doicon|find_unpackable_file|unpack_pdv\
148 -|set_arch_to_kernel|set_arch_to_portage|preserve_old_lib\
149 -|preserve_old_lib_notify|built_with_use|epunt_cxx|dopamd|newpamd\
150 -|make_wrapper\
151 -|setup-allowed-flags|filter-flags|filter-lfs-flags|append-lfs-flags\
152 -|append-flags|replace-flags|replace-cpu-flags|is-flag|filter-mfpmath\
153 -|strip-flags|test_flag|test_version_info|strip-unsupported-flags|get-flag\
154 -|has_hardened|has_pic|has_pie|has_ssp_all|has_ssp|has_m64|has_m32\
155 -|replace-sparc64-flags|append-ldflags|filter-ldflags|fstack-flags|gcc2-flags\
156 -|gcc-getCC|gcc-getCXX|gcc-fullversion|gcc-version|gcc-major-version\
157 -|gcc-minor-version|gcc-micro-version|gcc-libpath|gcc-libstdcxx-version\
158 -|gcc-libstdcxx-major-version|gcc2-flags\
159 -|elibtoolize|uclibctoolize|darwintoolize\
160 -|ht_fix_file|ht_fix_all\
161 -|fdo-mime_desktop_database_update|fdo-mime_mime_database_update\
162 -|webapp_checkfileexists|webapp_import_config|webapp_strip_appdir\
163 -|webapp_strip_d|webapp_strip_cwd|webapp_configfile|webapp_hook_script\
164 -|webapp_postinst_txt|webapp_postupgrade_txt|webapp_runbycgibin\
165 -|webapp_serverowned|webapp_server_configfile|webapp_sqlscript\
166 -|webapp_src_install|webapp_pkg_postinst|webapp_pkg_setup\
167 -|webapp_getinstalltype|webapp_src_preinst|webapp_pkg_prerm\
168 -|get_all_version_components|version_is_at_least\
169 -|get_version_components|get_major_version\
170 -|get_version_component_range|get_after_major_version\
171 -|replace_version_separator|replace_all_version_separators\
172 -|delete_version_separator|delete_all_version_separators\
173 -|cvs_fetch|cvs_src_unpack\
174 -|dobashcompletion|bash-completion_pkg_postinst\
175 -|vim-plugin_src_install|vim-plugin_pkg_postinst|vim-plugin_pkg_postrm\
176 -|update_vim_afterscripts|display_vim_plugin_help\
177 -|update_vim_helptags\
178 -|has_multilib_profile|get_libdir|get_multilibdir|get_libdir_override\
179 -|get_abi_var|get_abi_CFLAGS|get_abi_LDFLAGS|get_abi_CHOST\
180 -|get_abi_FAKE_TARGETS|get_abi_CDEFINE|get_abi_LIBDIR|get_install_abis\
181 -|get_all_abis|get_all_libdirs|is_final_abi|number_abis|get_ml_incdir\
182 -|prep_ml_includes|create_ml_includes|create_ml_includes-absolute\
183 -|create_ml_includes-tidy_path|create_ml_includes-listdirs\
184 -|create_ml_includes-makedestdirs|create_ml_includes-allfiles\
185 -|create_ml_includes-sym_for_dir\
186 -|64-bit\
187 -|tc-getPROG|tc-getAR|tc-getAS|tc-getCC|tc-getCXX|tc-getLD|tc-getNM\
188 -|tc-getRANLIB|tc-getF77|tc-getGCJ|tc-getBUILD_CC|tc-export|ninj\
189 -|tc-is-cross-compiler|tc-ninja_magic_to_arch|tc-arch-kernel|tc-arch\
190 -|tc-endian|gcc-fullversion|gcc-version|gcc-major-version\
191 -|gcc-minor-version|gcc-micro-version\
192 -|docrondir|docron|docrontab|cron_pkg_postinst\
193 -|egamesconf|egamesinstall|gameswrapper|dogamesbin|dogamessbin|dogameslib\
194 -|dogameslib.a|dogameslib.so|newgamesbin|newgamessbin|gamesowners|gamesperms\
195 -|prepgamesdirs|gamesenv|games_pkg_setup|games_src_compile|games_pkg_postinst\
196 -|games_ut_unpack|games_umod_unpack|games_make_wrapper\
197 -|subversion_svn_fetch|subversion_bootstrap|subversion_src_unpack\
198 -|alternatives_auto_makesym|alternatives_makesym|alternatives_pkg_postinst\
199 -|alternatives_pkg_postrm\
200 -|rpm_unpack|rpm_src_unpack\
201 -|python_version|python_tkinter_exists|python_mod_exists|python_mod_compile\
202 -|python_mod_optimize|python_mod_cleanup|python_disable_pyc\
203 -|python_enable_pyc\
204 -|check_version_h|get_KV_info|is_2_4_kernel|is_2_5_kernel|is_2_6_kernel\
205 -|kernel_supports_modules\
206 -|perl-module_src_prep|perl-module_src_compile|perl-module_src_test\
207 -|perl-module_src_install|perl-module_pkg_setup|perl-module_pkg_preinst\
208 -|perl-module_pkg_postinst|perl-module_pkg_prerm|perl-module_pkg_postrm\
209 -|perlinfo|fixlocalpod|updatepod\
210 -|distutils_src_compile|distutils_src_install|distutils_pkg_postrm\
211 -|distutils_pkg_postinst|distutils_python_version|disutils_python_tkinter\
212 -|need_apache|need_apache1|need_apache2\
213 -|apache-module_pkg_setup|apache-module_src_compile\
214 -|apache-module_src_install|apache-module_pkg_postinst|acache_cd_dir\
215 -|apache_mod_file|apache_doc_magic|apache1_src_compile|apache1_src_install\
216 -|apache1_pkg_postinst|apache2_pkg_setup|apache2_src_compile\
217 -|apache1_src_install|apache2_pkg_postinst\
218 -|dopamd|newpamd|dopamsecurity|newpamsecurity|getpam_mod_dir\
219 -|dopammod|newpammod|pamd_mimic_system\
220 -|virtualmake|Xmake|Xemake|Xeconf\
221 -|gnome2_src_configure|gnome2_src_compile|gnome2_src_install\
222 -|gnome2_gconf_install|gnome2_gconf_uninstal|gnome2_omf_fix\
223 -|gnome2_scrollkeeper_update|gnome2_pkg_postinst|gnome2_pkg_postrm)\b/ {
224 - builtin_face(true);
225 - language_print ($0);
226 - builtin_face(false);
227 - }
228 -}
229
230 diff --git a/app-text/enscript/files/enscript-1.6.2-ruby.patch b/app-text/enscript/files/enscript-1.6.2-ruby.patch
231 deleted file mode 100644
232 index b492ca4f44..0000000000
233 --- a/app-text/enscript/files/enscript-1.6.2-ruby.patch
234 +++ /dev/null
235 @@ -1,19 +0,0 @@
236 ---- states/hl/enscript.st.orig 2006-12-17 02:10:37.000000000 +0100
237 -+++ states/hl/enscript.st 2006-12-17 02:10:13.000000000 +0100
238 -@@ -489,6 +489,7 @@
239 - /\.idl$/ idl;
240 - /\.(hs|lhs|gs|lgs)$/ haskell;
241 - /\.(pm|pl)$/ perl;
242 -+ /\.(rb|rbw)$/ ruby;
243 - /\.(eps|EPS|ps|PS)$/ postscript;
244 - /\.py$/ python;
245 - /\.pyx$/ pyrex;
246 -@@ -531,6 +532,8 @@
247 - /-\*- [Ii][Dd][Ll] -\*-/ idl;
248 - /-\*- [Pp][Ee][Rr][Ll] -\*-/ perl;
249 - /^#![ \t]*\/.*\/perl/ perl;
250 -+ /-\*- [Rr][Uu][Bb][Yy] -\*-/ ruby;
251 -+ /^#![ \t]*\/.*\/ruby/ ruby;
252 - /^From:/ mail;
253 - /^#![ \t]*(\/usr)?\/bin\/[ngmt]?awk/ awk;
254 - /^#![ \t]*(\/usr)?\/bin\/sh/ sh;
255
256 diff --git a/app-text/enscript/files/enscript-1.6.4-ebuild.st.patch b/app-text/enscript/files/enscript-1.6.4-ebuild.st.patch
257 deleted file mode 100644
258 index 0741576226..0000000000
259 --- a/app-text/enscript/files/enscript-1.6.4-ebuild.st.patch
260 +++ /dev/null
261 @@ -1,10 +0,0 @@
262 ---- states/hl/enscript.st 2006/01/31 05:37:23 1.1
263 -+++ states/hl/enscript.st 2006/01/31 06:48:32
264 -@@ -509,6 +509,7 @@ namerules
265 - /\b(rfc.*\.txt|draft-.*\.txt)$/ rfc;
266 - /\.inf$/i inf;
267 - /\.tex$/ tex;
268 -+ /\.(ebuild|eclass)$/ ebuild;
269 - /\.wmlscript$/ wmlscript;
270 - /\.wmls$/ wmlscript;
271 - /^.*$/ passthrough;
272
273 diff --git a/app-text/enscript/files/enscript-1.6.4-fsf-gcc-darwin.patch b/app-text/enscript/files/enscript-1.6.4-fsf-gcc-darwin.patch
274 deleted file mode 100644
275 index 1e99756ceb..0000000000
276 --- a/app-text/enscript/files/enscript-1.6.4-fsf-gcc-darwin.patch
277 +++ /dev/null
278 @@ -1,32 +0,0 @@
279 ---- compat/regex.c
280 -+++ compat/regex.c
281 -@@ -5539,9 +5539,6 @@
282 - It returns 0 if it succeeds, nonzero if it doesn't. (See regex.h for
283 - the return codes and their meanings.) */
284 -
285 --#ifdef __APPLE__
286 --__private_extern__
287 --#endif
288 - int
289 - regcomp (preg, pattern, cflags)
290 - regex_t *preg;
291 -@@ -5620,9 +5617,6 @@
292 -
293 - We return 0 if we find a match and REG_NOMATCH if not. */
294 -
295 --#ifdef __APPLE__
296 --__private_extern__
297 --#endif
298 - int
299 - regexec (preg, string, nmatch, pmatch, eflags)
300 - const regex_t *preg;
301 -@@ -5728,9 +5722,6 @@
302 -
303 - /* Free dynamically allocated space used by PREG. */
304 -
305 --#ifdef __APPLE__
306 --__private_extern__
307 --#endif
308 - void
309 - regfree (preg)
310 - regex_t *preg;
311
312 diff --git a/app-text/enscript/files/enscript-1.6.5.2-php.st.patch b/app-text/enscript/files/enscript-1.6.5.2-php.st.patch
313 deleted file mode 100644
314 index b146d998ee..0000000000
315 --- a/app-text/enscript/files/enscript-1.6.5.2-php.st.patch
316 +++ /dev/null
317 @@ -1,11 +0,0 @@
318 -diff -ruN enscript-1.6.5.2.orig/states/hl/enscript.st enscript-1.6.5.2/states/hl/enscript.st
319 ---- enscript-1.6.5.2.orig/states/hl/enscript.st 2010-06-02 00:17:49.000000000 +0200
320 -+++ enscript-1.6.5.2/states/hl/enscript.st 2011-06-02 12:43:13.869855504 +0200
321 -@@ -510,6 +510,7 @@
322 - /\.tex$/ tex;
323 - /\.wmlscript$/ wmlscript;
324 - /\.wmls$/ wmlscript;
325 -+ /\.php$/ php;
326 - /^.*$/ passthrough;
327 - }
328 -
329
330 diff --git a/app-text/enscript/metadata.xml b/app-text/enscript/metadata.xml
331 deleted file mode 100644
332 index c439b06d8c..0000000000
333 --- a/app-text/enscript/metadata.xml
334 +++ /dev/null
335 @@ -1,8 +0,0 @@
336 -<?xml version="1.0" encoding="UTF-8"?>
337 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
338 -<pkgmetadata>
339 -<maintainer type="project">
340 - <email>printing@g.o</email>
341 - <name>Gentoo Printing Project</name>
342 -</maintainer>
343 -</pkgmetadata>