From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-perl/Tk/Manifest | 5 ++ dev-perl/Tk/Tk-804.33.0.ebuild | 52 ++++++++++++ dev-perl/Tk/files/Tk-804.33.0-xorg.patch | 41 ++++++++++ dev-perl/Tk/metadata.xml | 136 +++++++++++++++++++++++++++++++ 4 files changed, 234 insertions(+) create mode 100644 dev-perl/Tk/Manifest create mode 100644 dev-perl/Tk/Tk-804.33.0.ebuild create mode 100644 dev-perl/Tk/files/Tk-804.33.0-xorg.patch create mode 100644 dev-perl/Tk/metadata.xml (limited to 'dev-perl/Tk') diff --git a/dev-perl/Tk/Manifest b/dev-perl/Tk/Manifest new file mode 100644 index 000000000000..ed1038129d85 --- /dev/null +++ b/dev-perl/Tk/Manifest @@ -0,0 +1,5 @@ +AUX Tk-804.33.0-xorg.patch 1331 SHA256 811ff09fc479765a47b5d99e9daf5eed1b821a149c11c02d59827a8c8f053134 SHA512 830eb3ff11671834743fd694efd19ff66882a613dd85d5fe8f90231db10e450b4f921b359b5a07168065870734d102e0f95775c9aa6634fbe2d17670d97ffded WHIRLPOOL 4bfe7cd23eae013afc49f615aba4c4b6b43dafdf006c10efd7a59e8758af8d70a5efef6c905039e24a12c5d40e9bda6d4240b4908ebe9a0d4c04a4e6c24595d6 +DIST Tk-804.033.tar.gz 6924238 SHA256 84756e9b07a2555c8eecf88e63d5cbbba9b1aa97b1e71a3d4aa524a7995a88ad SHA512 ea56be8246123bbc570d86a7d4f1610349cced91ad92ab740baca4c280822aac2e3acab6334bef60b10a70d5840f331fa40b507aba47a7929f44960df95f2aee WHIRLPOOL 105bce71314e63d7512c6c8bcfa913c6026d8081ad2a5a1bde19f471552026d1c31d28589ae27a0468e73946f030e21d2b79f838033ba5623df94be02bd14826 +EBUILD Tk-804.33.0.ebuild 1470 SHA256 62ded5b24235b3873f002f225428ac7a19fe7779116de8303022ea35566365ea SHA512 5af89f2fcf62581b86174caa5a0fc027b4bfef46f99a9b107e6005e5773c8d428f14d2d9cc83eed61b22e9d7ef04f4ebde2a5ca41b0bc93d919bb7f782e3f9da WHIRLPOOL 34a947645a75cc4abbda2646efb64f9161fc3e929a1b7d494524af8a101acac1c16ed68391cb0707d610eb0078308d7cbbade47541d3866dd4838816d8825384 +MISC ChangeLog 807 SHA256 c5aa989ecebef7dc1aa044210a227279cea5ebe64e0da49070bf1db11a853237 SHA512 4acb88187b4fc7869ab2ebbde4d7702667c54dc905bcc26a9bebe3c9a497b6a1875863c3ff0e9ad75901a1635bb40c08c7200dfe5811d8bea04ece13c645f296 WHIRLPOOL bb3ff48800171fe2f3a1748a3dd8f4ac3590cb16993b8c5f11741f58ff08775c1288bbcfd40d9699c5f2a311999c227fea008fad629f38c2d8410b1c239bfacf +MISC metadata.xml 7797 SHA256 7ee31b5df83d0ba17844b2fa6120da24fa033a75f34307864af2a599643459d7 SHA512 829fc19541e0247fda469e65b3c3587d5dd93a2e398548fe897f6f52f8dd5082e5fb8b05427295fedc25d2ac847d7304a7af6d974272c68847bf1c7d1f5a47a6 WHIRLPOOL 570ea8c0a334dd054d52bebfc95e56347745d8f8d92c0a204bf913461072f2134f29d665eaa21d32e9743e31b885eb99f88b7d4d8897bef392912aec24b0ec16 diff --git a/dev-perl/Tk/Tk-804.33.0.ebuild b/dev-perl/Tk/Tk-804.33.0.ebuild new file mode 100644 index 000000000000..6faa712bb8a2 --- /dev/null +++ b/dev-perl/Tk/Tk-804.33.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=SREZIC +MODULE_VERSION=804.033 +inherit multilib perl-module + +DESCRIPTION="A Perl Module for Tk" + +LICENSE+=" tcltk BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND=" + media-libs/freetype + >=media-libs/libpng-1.4:0 + virtual/jpeg + x11-libs/libX11 + x11-libs/libXft" +RDEPEND="${DEPEND}" + +# No test running here, requires an X server, and fails lots anyway. +SRC_TEST="skip" +PATCHES=( + "${FILESDIR}"/${P}-xorg.patch + ) + +src_prepare() { + MAKEOPTS+=" -j1" #333049 + myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) ) + mydoc="ToDo VERSIONS" + + perl-module_src_prepare + # fix detection logic for Prefix, bug #385621 + sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die + # having this around breaks with perl-module and a case-IN-sensitive fs + rm build_ptk || die + + # Remove all bundled libs, fixes #488194 + local BUNDLED="PNG/libpng \ + PNG/zlib \ + JPEG/jpeg" + for dir in ${BUNDLED}; do + rm -r "${S}/${dir}" || die "Can't remove bundle" + # Makefile.PL can copy files to ${S}/${dir}, so recreate them back. + mkdir -p "${S}/${dir}" || die "Can't restore bundled dir" + sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove bundled libs from MANIFEST' + done +} diff --git a/dev-perl/Tk/files/Tk-804.33.0-xorg.patch b/dev-perl/Tk/files/Tk-804.33.0-xorg.patch new file mode 100644 index 000000000000..d4284a394930 --- /dev/null +++ b/dev-perl/Tk/files/Tk-804.33.0-xorg.patch @@ -0,0 +1,41 @@ +diff --git a/myConfig b/myConfig +index fcf1933..14033cb 100755 +--- a/myConfig ++++ b/myConfig +@@ -316,7 +316,7 @@ if ($win_arch eq 'x') { + } + close(XMKMF); + while (defined $uidir) { +- last unless ($uidir =~ s!^.*-I(\S+)/lib/X11/config!!o); ++ last unless ($uidir =~ s!^.*-I(\S+)/lib(64)/X11/config!!o); + $try = $1; + $try =~ s/'x11root'/$ENV{X11ROOT}/; + push(@xdirs,$try); +@@ -365,8 +365,7 @@ if ($win_arch eq 'x') { + # + unless (defined $xlib) + { +- $xlib = &lX11(0,chooseX11(),chooseX11(),,'/usr/X386/lib', +- '/opt/X11/lib') ++ $xlib = &lX11(0,chooseX11(),chooseX11(),,'/usr/X386/lib','/opt/X11/lib','/usr/lib64') + } + + # +@@ -385,7 +384,7 @@ if ($win_arch eq 'x') { + exit 0; + } + +- ($base) = $xlib =~ m#-L(.*)(?:/lib)$#x; ++ ($base) = $xlib =~ m#-L(.*)(?:/lib(64))$#x; + if (defined $X11INC) + { + $xinc = &IX11("$X11INC"); +@@ -397,6 +396,8 @@ if ($win_arch eq 'x') { + { + warn "Cannot find X include files via $base/include\n"; + $xinc = &IX11(map("$_/include",@xdirs), ++ chooseX11(), ++ '/usr/include', + '/usr/openwin/include', + chooseX11(), + chooseX11(), diff --git a/dev-perl/Tk/metadata.xml b/dev-perl/Tk/metadata.xml new file mode 100644 index 000000000000..71bef34370ba --- /dev/null +++ b/dev-perl/Tk/metadata.xml @@ -0,0 +1,136 @@ + + + + + perl@gentoo.org + Gentoo Perl Project + + + Tk + Tie::Watch + Tie::Watch::Array + Tie::Watch::Hash + Tie::Watch::Scalar + Tk + Tk::Adjuster + Tk::Adjuster::Item + Tk::After + Tk::Animation + Tk::Balloon + Tk::Bitmap + Tk::BrowseEntry + Tk::Button + Tk::Canvas + Tk::Checkbutton + Tk::Clipboard + Tk::CmdLine + Tk::ColorDialog + Tk::ColorEditor + Tk::ColorSelect + Tk::Compound + Tk::Configure + Tk::Derived + Tk::Dialog + Tk::DialogBox + Tk::DirTree + Tk::DirTreeDialog + Tk::Dirlist + Tk::DragDrop + Tk::DragDrop::Common + Tk::DragDrop::Local + Tk::DragDrop::Rect + Tk::DragDrop::SunConst + Tk::DragDrop::SunDrop + Tk::DragDrop::SunSite + Tk::DragDrop::Win32Drop + Tk::DragDrop::Win32Site + Tk::DragDrop::XDNDDrop + Tk::DragDrop::XDNDSite + Tk::DropSite + Tk::DummyEncode + Tk::DummyEncode::iso8859_1 + Tk::English + Tk::Entry + Tk::ErrorDialog + Tk::Event + Tk::Event::IO + Tk::FBox + Tk::FileSelect + Tk::FloatEntry + Tk::Font + Tk::Frame + Tk::HList + Tk::IO + Tk::IconList + Tk::Image + Tk::InputO + Tk::ItemStyle + Tk::JPEG + Tk::LabEntry + Tk::LabFrame + Tk::LabRadiobutton + Tk::Label + Tk::LabeledEntryLabeledRadiobutton + Tk::Labelframe + Tk::Listbox + Tk::MMtry + Tk::MMutil + Tk::MainWindow + Tk::MakeDepend + Tk::Menu + Tk::Menu::Button + Tk::Menu::Cascade + Tk::Menu::Checkbutton + Tk::Menu::Item + Tk::Menu::Radiobutton + Tk::Menu::Separator + Tk::Menubar + Tk::Menubutton + Tk::Message + Tk::MsgBox + Tk::Mwm + Tk::NBFrame + Tk::NoteBook + Tk::Optionmenu + Tk::PNG + Tk::Pane + Tk::Panedwindow + Tk::Photo + Tk::Pixmap + Tk::Pretty + Tk::ProgressBar + Tk::ROText + Tk::Radiobutton + Tk::Region + Tk::Reindex + Tk::ReindexedROText + Tk::ReindexedText + Tk::Scale + Tk::Scrollbar + Tk::Spinbox + Tk::Stats + Tk::Submethods + Tk::TList + Tk::Table + Tk::Text + Tk::Text::Tag + Tk::TextEdit + Tk::TextList + Tk::TextUndo + Tk::Tiler + Tk::TixGrid + Tk::Toplevel + Tk::Trace + Tk::Tree + Tk::Widget + Tk::WinPhoto + Tk::Wm + Tk::X + Tk::X11Font + Tk::Xlib + Tk::Xrm + Tk::install + Tk::widgets + WidgetDemo + + -- cgit v1.2.3