commit:     96026fd2856f52fc04de6e740b80d12508b18176
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 13:23:48 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 13:23:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=96026fd2

app-text/enscript: migrated to gx86

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 app-text/enscript/Manifest                         |   1 -
 app-text/enscript/enscript-1.6.6.ebuild            |  53 --------
 app-text/enscript/files/ebuild.st                  | 133 ---------------------
 app-text/enscript/files/enscript-1.6.2-ruby.patch  |  19 ---
 .../enscript/files/enscript-1.6.4-ebuild.st.patch  |  10 --
 .../files/enscript-1.6.4-fsf-gcc-darwin.patch      |  32 -----
 .../enscript/files/enscript-1.6.5.2-php.st.patch   |  11 --
 app-text/enscript/metadata.xml                     |   8 --
 8 files changed, 267 deletions(-)

diff --git a/app-text/enscript/Manifest b/app-text/enscript/Manifest
deleted file mode 100644
index b5dc1665c3..0000000000
--- a/app-text/enscript/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST enscript-1.6.6.tar.gz 1330493 BLAKE2B 
02e333271ac6716e049402d5904b0ad6926b31d4533c813a9e5bcf76045d4100def2476426b97c52585e8f5c0a741159fb3e78de79c817e75de81ebd464c0d61
 SHA512 
bf1c2b9ea7723518a1ef312145ddcd6ffdef0c6e8b5795ea84cb55d76fccc02f441d0c2dc6897e970368186e6a829ab74a090716624e0f7a8f575653fa495ebc

diff --git a/app-text/enscript/enscript-1.6.6.ebuild 
b/app-text/enscript/enscript-1.6.6.ebuild
deleted file mode 100644
index 7386c36588..0000000000
--- a/app-text/enscript/enscript-1.6.6.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/enscript-1.6.6.ebuild,v 
1.1 2012/09/26 14:27:26 jer Exp $
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="powerful text-to-postscript converter"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/enscript/enscript.html";
-
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x64-solaris"
-SLOT="0"
-LICENSE="GPL-3"
-IUSE="nls ruby"
-
-DEPEND="
-       sys-devel/flex
-       sys-devel/bison
-       nls? ( sys-devel/gettext )
-"
-RDEPEND="nls? ( virtual/libintl )"
-
-src_prepare() {
-       epatch "${FILESDIR}"/enscript-1.6.4-ebuild.st.patch
-       epatch "${FILESDIR}"/enscript-1.6.5.2-php.st.patch
-       use ruby && epatch "${FILESDIR}"/enscript-1.6.2-ruby.patch
-       epatch "${FILESDIR}"/enscript-1.6.4-fsf-gcc-darwin.patch
-       sed -i src/tests/passthrough.test -e 's|tail +2|tail -n +2|g' || die
-}
-
-src_configure() {
-       econf $(use_enable nls)
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
-
-       dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
-
-       insinto /usr/share/enscript/hl
-       doins "${FILESDIR}"/ebuild.st || die "doins ebuild.st failed"
-
-       if use ruby ; then
-               insinto /usr/share/enscript/hl
-               doins "${FILESDIR}"/ruby.st || die "doins ruby.st failed"
-       fi
-}
-
-pkg_postinst() {
-       elog "Now, customize /etc/enscript.cfg."
-}

diff --git a/app-text/enscript/files/ebuild.st 
b/app-text/enscript/files/ebuild.st
deleted file mode 100644
index 6d27d945bf..0000000000
--- a/app-text/enscript/files/ebuild.st
+++ /dev/null
@@ -1,133 +0,0 @@
-/**
- * Name: ebuild
- * Description: Gentoo Portage ebuild
- * Author: Ed Catmur <[email protected]>
- *
- * Based on gentoo.vim by Ciaran McCreesh <[email protected]>
- */
-
-state ebuild extends bash
-{
-    /* Variables */
-    /^([ \t]*)([0-9a-zA-Z_.-]+)(=)/ {
-               language_print ($1);
-        variable_name_face(true);
-               language_print ($2);
-               variable_name_face(false);
-               language_print ($3);
-       }
-    
-       /* Core keywords */
-       /\b(use|has_version|best_version|use_with|use_enable|check_KV\
-|keepdir|econf|die|einstall|einfo|ewarn|eerror|diropts\
-|dobin|docinto|dodoc|doexe|dohard|dohtml|doinfo|doins\
-|dolib|dolib|a|dolib|so|doman|dosbin|dosym|emake|exeinto\
-|exeopts|fowners|fperms|insinto|insopts|into|libopts|newbin\
-|newexe|newins|newman|newsbin|prepall|prepalldocs|prepallinfo\
-|prepallman|prepallstrip|has|unpack|dopython|dosed|into\
-|doinitd|doconfd|doenvd|dojar|domo|dodir|ebegin|eend\
-|newconfd|newdoc|newenvd|newinitd|newlib\.a|newlib\.so\
-|hasq|hasv|useq|usev\
-|addread|addwrite|adddeny|addpredict\
-|inherit\
-|EXPORT_FUNCTIONS)\b/ {
-               keyword_face(true);
-               language_print ($0);
-               keyword_face (false);
-       }
-
-       /* Recognised functions */
-       /\b(pkg_nofetch|pkg_setup|src_unpack|src_compile|src_test|src_install\
-|pkg_preinst|pkg_postinst|pkg_prerm|pkg_postrm|pkg_config)\b/ {
-               function_name_face(true);
-               language_print ($0);
-               function_name_face(false);
-       }
-
-       /* Other keywords */
-       
/\b(gen_usr_ldscript|draw_line|epatch|have_NPTL|get_number_of_jobs|egetent\
-|emktemp|enewuser|enewgroup|edos2unix|make_desktop_entry|unpack_pdv\
-|unpack_makeself|check_license|cdrom_get_cds|cdrom_load_next\
-|cdrom_locate_file_on_cd|strip|linguas|epause|ebeep|built_with_use\
-|make_session_desktop|domenu|doicon|find_unpackable_file|unpack_pdv\
-|set_arch_to_kernel|set_arch_to_portage|preserve_old_lib\
-|preserve_old_lib_notify|built_with_use|epunt_cxx|dopamd|newpamd\
-|make_wrapper\
-|setup-allowed-flags|filter-flags|filter-lfs-flags|append-lfs-flags\
-|append-flags|replace-flags|replace-cpu-flags|is-flag|filter-mfpmath\
-|strip-flags|test_flag|test_version_info|strip-unsupported-flags|get-flag\
-|has_hardened|has_pic|has_pie|has_ssp_all|has_ssp|has_m64|has_m32\
-|replace-sparc64-flags|append-ldflags|filter-ldflags|fstack-flags|gcc2-flags\
-|gcc-getCC|gcc-getCXX|gcc-fullversion|gcc-version|gcc-major-version\
-|gcc-minor-version|gcc-micro-version|gcc-libpath|gcc-libstdcxx-version\
-|gcc-libstdcxx-major-version|gcc2-flags\
-|elibtoolize|uclibctoolize|darwintoolize\
-|ht_fix_file|ht_fix_all\
-|fdo-mime_desktop_database_update|fdo-mime_mime_database_update\
-|webapp_checkfileexists|webapp_import_config|webapp_strip_appdir\
-|webapp_strip_d|webapp_strip_cwd|webapp_configfile|webapp_hook_script\
-|webapp_postinst_txt|webapp_postupgrade_txt|webapp_runbycgibin\
-|webapp_serverowned|webapp_server_configfile|webapp_sqlscript\
-|webapp_src_install|webapp_pkg_postinst|webapp_pkg_setup\
-|webapp_getinstalltype|webapp_src_preinst|webapp_pkg_prerm\
-|get_all_version_components|version_is_at_least\
-|get_version_components|get_major_version\
-|get_version_component_range|get_after_major_version\
-|replace_version_separator|replace_all_version_separators\
-|delete_version_separator|delete_all_version_separators\
-|cvs_fetch|cvs_src_unpack\
-|dobashcompletion|bash-completion_pkg_postinst\
-|vim-plugin_src_install|vim-plugin_pkg_postinst|vim-plugin_pkg_postrm\
-|update_vim_afterscripts|display_vim_plugin_help\
-|update_vim_helptags\
-|has_multilib_profile|get_libdir|get_multilibdir|get_libdir_override\
-|get_abi_var|get_abi_CFLAGS|get_abi_LDFLAGS|get_abi_CHOST\
-|get_abi_FAKE_TARGETS|get_abi_CDEFINE|get_abi_LIBDIR|get_install_abis\
-|get_all_abis|get_all_libdirs|is_final_abi|number_abis|get_ml_incdir\
-|prep_ml_includes|create_ml_includes|create_ml_includes-absolute\
-|create_ml_includes-tidy_path|create_ml_includes-listdirs\
-|create_ml_includes-makedestdirs|create_ml_includes-allfiles\
-|create_ml_includes-sym_for_dir\
-|64-bit\
-|tc-getPROG|tc-getAR|tc-getAS|tc-getCC|tc-getCXX|tc-getLD|tc-getNM\
-|tc-getRANLIB|tc-getF77|tc-getGCJ|tc-getBUILD_CC|tc-export|ninj\
-|tc-is-cross-compiler|tc-ninja_magic_to_arch|tc-arch-kernel|tc-arch\
-|tc-endian|gcc-fullversion|gcc-version|gcc-major-version\
-|gcc-minor-version|gcc-micro-version\
-|docrondir|docron|docrontab|cron_pkg_postinst\
-|egamesconf|egamesinstall|gameswrapper|dogamesbin|dogamessbin|dogameslib\
-|dogameslib.a|dogameslib.so|newgamesbin|newgamessbin|gamesowners|gamesperms\
-|prepgamesdirs|gamesenv|games_pkg_setup|games_src_compile|games_pkg_postinst\
-|games_ut_unpack|games_umod_unpack|games_make_wrapper\
-|subversion_svn_fetch|subversion_bootstrap|subversion_src_unpack\
-|alternatives_auto_makesym|alternatives_makesym|alternatives_pkg_postinst\
-|alternatives_pkg_postrm\
-|rpm_unpack|rpm_src_unpack\
-|python_version|python_tkinter_exists|python_mod_exists|python_mod_compile\
-|python_mod_optimize|python_mod_cleanup|python_disable_pyc\
-|python_enable_pyc\
-|check_version_h|get_KV_info|is_2_4_kernel|is_2_5_kernel|is_2_6_kernel\
-|kernel_supports_modules\
-|perl-module_src_prep|perl-module_src_compile|perl-module_src_test\
-|perl-module_src_install|perl-module_pkg_setup|perl-module_pkg_preinst\
-|perl-module_pkg_postinst|perl-module_pkg_prerm|perl-module_pkg_postrm\
-|perlinfo|fixlocalpod|updatepod\
-|distutils_src_compile|distutils_src_install|distutils_pkg_postrm\
-|distutils_pkg_postinst|distutils_python_version|disutils_python_tkinter\
-|need_apache|need_apache1|need_apache2\
-|apache-module_pkg_setup|apache-module_src_compile\
-|apache-module_src_install|apache-module_pkg_postinst|acache_cd_dir\
-|apache_mod_file|apache_doc_magic|apache1_src_compile|apache1_src_install\
-|apache1_pkg_postinst|apache2_pkg_setup|apache2_src_compile\
-|apache1_src_install|apache2_pkg_postinst\
-|dopamd|newpamd|dopamsecurity|newpamsecurity|getpam_mod_dir\
-|dopammod|newpammod|pamd_mimic_system\
-|virtualmake|Xmake|Xemake|Xeconf\
-|gnome2_src_configure|gnome2_src_compile|gnome2_src_install\
-|gnome2_gconf_install|gnome2_gconf_uninstal|gnome2_omf_fix\
-|gnome2_scrollkeeper_update|gnome2_pkg_postinst|gnome2_pkg_postrm)\b/ {
-               builtin_face(true);
-               language_print ($0);
-               builtin_face(false);
-       }
-}

diff --git a/app-text/enscript/files/enscript-1.6.2-ruby.patch 
b/app-text/enscript/files/enscript-1.6.2-ruby.patch
deleted file mode 100644
index b492ca4f44..0000000000
--- a/app-text/enscript/files/enscript-1.6.2-ruby.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- states/hl/enscript.st.orig 2006-12-17 02:10:37.000000000 +0100
-+++ states/hl/enscript.st      2006-12-17 02:10:13.000000000 +0100
-@@ -489,6 +489,7 @@
-   /\.idl$/                                    idl;
-   /\.(hs|lhs|gs|lgs)$/                                haskell;
-   /\.(pm|pl)$/                                        perl;
-+  /\.(rb|rbw)$/                                       ruby;
-   /\.(eps|EPS|ps|PS)$/                                postscript;
-   /\.py$/                                     python;
-   /\.pyx$/                                    pyrex;
-@@ -531,6 +532,8 @@
-   /-\*- [Ii][Dd][Ll] -\*-/                            idl;
-   /-\*- [Pp][Ee][Rr][Ll] -\*-/                                perl;
-   /^#![ \t]*\/.*\/perl/                                       perl;
-+  /-\*- [Rr][Uu][Bb][Yy] -\*-/                                ruby;
-+  /^#![ \t]*\/.*\/ruby/                                       ruby;
-   /^From:/                                            mail;
-   /^#![ \t]*(\/usr)?\/bin\/[ngmt]?awk/                        awk;
-   /^#![ \t]*(\/usr)?\/bin\/sh/                                sh;

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
deleted file mode 100644
index 0741576226..0000000000
--- a/app-text/enscript/files/enscript-1.6.4-ebuild.st.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- states/hl/enscript.st      2006/01/31 05:37:23     1.1
-+++ states/hl/enscript.st      2006/01/31 06:48:32
-@@ -509,6 +509,7 @@ namerules
-   /\b(rfc.*\.txt|draft-.*\.txt)$/             rfc;
-   /\.inf$/i                                   inf;
-   /\.tex$/                                    tex;
-+  /\.(ebuild|eclass)$/                                ebuild;
-   /\.wmlscript$/                              wmlscript;
-   /\.wmls$/                                   wmlscript;
-   /^.*$/                                      passthrough;

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
deleted file mode 100644
index 1e99756ceb..0000000000
--- a/app-text/enscript/files/enscript-1.6.4-fsf-gcc-darwin.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- compat/regex.c
-+++ compat/regex.c
-@@ -5539,9 +5539,6 @@
-    It returns 0 if it succeeds, nonzero if it doesn't.  (See regex.h for
-    the return codes and their meanings.)  */
- 
--#ifdef __APPLE__
--__private_extern__
--#endif
- int
- regcomp (preg, pattern, cflags)
-     regex_t *preg;
-@@ -5620,9 +5617,6 @@
- 
-    We return 0 if we find a match and REG_NOMATCH if not.  */
- 
--#ifdef __APPLE__
--__private_extern__
--#endif
- int
- regexec (preg, string, nmatch, pmatch, eflags)
-     const regex_t *preg;
-@@ -5728,9 +5722,6 @@
- 
- /* Free dynamically allocated space used by PREG.  */
- 
--#ifdef __APPLE__
--__private_extern__
--#endif
- void
- regfree (preg)
-     regex_t *preg;

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
deleted file mode 100644
index b146d998ee..0000000000
--- a/app-text/enscript/files/enscript-1.6.5.2-php.st.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN enscript-1.6.5.2.orig/states/hl/enscript.st 
enscript-1.6.5.2/states/hl/enscript.st
---- enscript-1.6.5.2.orig/states/hl/enscript.st        2010-06-02 
00:17:49.000000000 +0200
-+++ enscript-1.6.5.2/states/hl/enscript.st     2011-06-02 12:43:13.869855504 
+0200
-@@ -510,6 +510,7 @@
-   /\.tex$/                                    tex;
-   /\.wmlscript$/                              wmlscript;
-   /\.wmls$/                                   wmlscript;
-+  /\.php$/                                    php;
-   /^.*$/                                      passthrough;
- }
- 

diff --git a/app-text/enscript/metadata.xml b/app-text/enscript/metadata.xml
deleted file mode 100644
index c439b06d8c..0000000000
--- a/app-text/enscript/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>Gentoo Printing Project</name>
-</maintainer>
-</pkgmetadata>

Reply via email to