diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /app-text/code2html | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'app-text/code2html')
| -rw-r--r-- | app-text/code2html/Manifest | 2 | ||||
| -rw-r--r-- | app-text/code2html/code2html-0.9.1-r2.ebuild | 46 | ||||
| -rw-r--r-- | app-text/code2html/files/code2html-0.9.1-prefix.patch | 30 | ||||
| -rw-r--r-- | app-text/code2html/files/code2html-0.9.1-scalar.patch | 20 | ||||
| -rw-r--r-- | app-text/code2html/metadata.xml | 10 |
5 files changed, 0 insertions, 108 deletions
diff --git a/app-text/code2html/Manifest b/app-text/code2html/Manifest deleted file mode 100644 index d3e5187ba36c..000000000000 --- a/app-text/code2html/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST code2html-0.9.1-gentoo_patches.tar.bz2 2666 BLAKE2B 31c750aae9dbe9eddc77840a70535a5a6f1d495aa2015efe4afbded2481f2b7b171a95ab20ffcafd38a953170a6da0e8ccf895fded432ca7a16de6cdbc0d58d0 SHA512 cd478b53f0c11b9b4838a842bd8cb344698c85b1c3e09f03a75214f4002f4748a15f995530d6b6c743a4edb784c8aa703786ec10d3bda971b9485153e7090fdc -DIST code2html-0.9.1.tar.gz 39811 BLAKE2B 57724d636d53066458b806266fc0a61e44919608ad44d65c540d0b6442e93acd822fcdc68c6c3279614b0887a9b7e6553e2de2c1a27679bd34c971ad1a05d70b SHA512 97fb8cadfe64a389711c58b13b7b5d977849f3a242c32a2456f93d7abd39f5d0a4152416f5c73aa05f151316ea0d8486b2b9923a5390eefec3e9d8253cc0b2d3 diff --git a/app-text/code2html/code2html-0.9.1-r2.ebuild b/app-text/code2html/code2html-0.9.1-r2.ebuild deleted file mode 100644 index e3a5da396837..000000000000 --- a/app-text/code2html/code2html-0.9.1-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit prefix - -DESCRIPTION="Converts source files to colored HTML output" -HOMEPAGE="http://www.palfrader.org/code2html/" -SRC_URI="http://www.palfrader.org/code2html/all/${P}.tar.gz - mirror://gentoo/${P}-gentoo_patches.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~hppa ppc ppc64 x86" - -RDEPEND=">=dev-lang/perl-5" - -PATCHES=( - # Be consistent in color codes (bug #119406) - "${WORKDIR}"/${P}-lowercase_color_codes.patch - - # Improved C++ support (bug #133159) - "${WORKDIR}"/${P}-cpp_keywords.patch - - # Improved Ada support (bug #133176) - "${WORKDIR}"/${P}-ada_identifiers.patch - - # For prefix paths - "${FILESDIR}"/${P}-prefix.patch - - # For newer Perl, bug 523610 - "${FILESDIR}"/${P}-scalar.patch -) - -src_prepare() { - default - - eprefixify code2html -} - -src_install() { - dobin code2html - dodoc ChangeLog CREDITS README - doman code2html.1 -} diff --git a/app-text/code2html/files/code2html-0.9.1-prefix.patch b/app-text/code2html/files/code2html-0.9.1-prefix.patch deleted file mode 100644 index fbfc9d6b5356..000000000000 --- a/app-text/code2html/files/code2html-0.9.1-prefix.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/code2html -+++ b/code2html -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl -w - use locale; - my $vernr = "0.9.1"; - my $monthshort = "Jan"; -@@ -45,9 +45,9 @@ - # PP: A hash would be nicer but then it would not possible to get the keys in this very order (AFAIK) - # PP: If names contain meta characters, then those must be metaquoted (if you don't want the meta chars to be meta chars of course) - my @CGI_ENCODING = ( -- ['bzip2' , '/usr/bin/bzip2' , '--stdout' ], -- ['gzip' , '/bin/gzip' , '--stdout' ], -- ['compress' , '/usr/bin/compress' , '-c' ] -+ ['bzip2' , '@GENTOO_PORTAGE_EPREFIX@/usr/bin/bzip2' , '--stdout' ], -+ ['gzip' , '@GENTOO_PORTAGE_EPREFIX@/bin/gzip' , '--stdout' ], -+ ['compress' , '@GENTOO_PORTAGE_EPREFIX@/usr/bin/compress' , '-c' ] - ); - - -@@ -147,7 +147,7 @@ - # building up the database - # newer entries overwrite old ones - my @CONFIG_FILES; -- push @CONFIG_FILES, "/etc/code2html.config"; -+ push @CONFIG_FILES, "@GENTOO_PORTAGE_EPREFIX@/etc/code2html.config"; - push @CONFIG_FILES, $ENV{'HOME'}."/.code2html.config" if (defined($ENV{'HOME'})); - push @CONFIG_FILES, split(/:/,$ENV{'CODE2HTML_CONFIG'}) if ($ENV{'CODE2HTML_CONFIG'}); - push @CONFIG_FILES, split(/:/,$params{'langfile'}) if defined($params{'langfile'}); diff --git a/app-text/code2html/files/code2html-0.9.1-scalar.patch b/app-text/code2html/files/code2html-0.9.1-scalar.patch deleted file mode 100644 index b8f56f1a7d1a..000000000000 --- a/app-text/code2html/files/code2html-0.9.1-scalar.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/code2html -+++ b/code2html -@@ -1357,7 +1357,7 @@ - my @lines = split ( /\n/, $_[0] ); - - my $nr = 0; -- my $lengthofnr = length(@lines); -+ my $lengthofnr = length(scalar(@lines)); - my $format = qq{<a name="$_[1]line%u">%${lengthofnr}u</a> %s\n} ; - join ('', map ( {$nr++; sprintf ( $format , $nr, $nr, $_ )} @lines)); - }, -@@ -1367,7 +1367,7 @@ - my @lines = split ( /\n/, $_[0] ); - - my $nr = 0; -- my $lengthofnr = length(@lines); -+ my $lengthofnr = length(scalar(@lines)); - my $format = qq{<a name="$_[1]line%u" href="#$_[1]line%u">%$ {lengthofnr}u</a> %s\n}; - join ('', map ( {$nr++; sprintf ( $format , $nr, $nr, $nr, $_ )} @lines)); - } diff --git a/app-text/code2html/metadata.xml b/app-text/code2html/metadata.xml deleted file mode 100644 index 68e754003b8f..000000000000 --- a/app-text/code2html/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription> - Code2HTML converts a program source code to syntax highlighted - HTML. It may be called as a CGI script. It can also handle include - commands in HTML files. - </longdescription> -</pkgmetadata> |
