Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 309677 Details for
Bug 348418
dev-ada/gtkada fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild attempt
gtkada-2.18.0.ebuild (text/plain), 3.62 KB, created by
JMW
on 2012-04-20 21:49:31 UTC
(
hide
)
Description:
Ebuild attempt
Filename:
MIME Type:
Creator:
JMW
Created:
2012-04-20 21:49:31 UTC
Size:
3.62 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.10.0.ebuild,v 1.6 2009/12/13 00:28:31 flameeyes Exp $ > >EAPI=2 > >inherit eutils gnat versionator > ># > >Name="gtkada-gpl-2.18.0-src" >#MajorPV=$(get_version_component_range 1-2) >DESCRIPTION="Gtk+ bindings to the Ada language" >HOMEPAGE="https://libre.adacore.com/GtkAda/" >SRC_URI="http://mirrors.cdn.adacore.com/art/ec4c4524edcaa8d8228dba0a9f0716966ed59ff4 > -> gtkada-2.18.0.tar.gz" > >LICENSE="GPL-2" >SLOT="2" >KEYWORDS="~amd64 ~x86 ~ppc" >IUSE="nls opengl" > >DEPEND="virtual/ada > >=x11-libs/cairo-1.2.6 > >=dev-libs/glib-2.12.4 > >=x11-libs/pango-1.14.9 > >=dev-libs/atk-1.12.1 > >=x11-libs/gtk+-2.10.9 > >=sys-apps/sed-4" >RDEPEND="" > >S="${Name}" > ># only needed for gcc-3.x based gnat profiles, but matching them individually ># would be insane >#QA_EXECSTACK="${AdalibLibTop:1}/*/gtkada/libgtkada-${MajorPV}.so.0" > >src_unpack() { > > echo "src_unpack" > pwd > > unpack ${A} > > cd "${S}" > #Pragma Obsolescent fix by Lancelot SIX > sed -i -e "235d" src/gtk-about_dialog.ads > sed -i -e "231d" src/gtk-about_dialog.ads > sed -i -e "39d" src/misc.c > > #Don't know what this does, leaving it in > sed -i -e "s:-aI\$prefix/include/gtkada:-aI${AdalibSpecsDir}/gtkada:" \ > src/tools/gtkada-config.in > > # disable building tests to avoid waisting time while building for every > # profile. The tests are nonetheless installed under doc dir. > sed -i -e "/testgtk_dir/d" Makefile.in > > # remove lib stripping > sed -i -e "s: strip \$(LIBNAME)::" src/Makefile.common.in > > echo "src_unpack done" > pwd >} > >lib_compile() { > > echo "lib_compile" > pwd > > # some profile specific fixes first > #sed -i -e "s:\$prefix/lib\(/gtkada\)*:${AdalibLibTop}/$1/gtkada:" \ > #src/tools/gtkada-config.in > > > > local myconf > use opengl && myconf="--with-GL=auto" || myconf="--with-GL=no" > > econf ${myconf} $(use_enable nls) || die "./configure failed" > > # bug #279962 > emake -j1 GNATFLAGS="${ADACFLAGS}" || die > > echo "lib_compile done" > pwd >} > >lib_install() { > > echo "lib_install" > pwd > > # make install misses all the .so and .a files and otherwise creates more > # problems than it's worth. Will do everything manually > > mkdir -p "${DL}" > mv src/lib-obj/* src/*/obj/* src/tools/gtkada-config "${DL}" > rm "${DL}"/*.o > chmod 0444 "${DL}"/*.ali > chmod 0755 "${DL}"/gtkada-config > > echo "lib_install done" > pwd >} > >src_install() { > > echo "src_install" > pwd > > #set up environment > echo "PATH=%DL%" > ${LibEnv} > echo "LDPATH=%DL%" >> ${LibEnv} > echo "ADA_OBJECTS_PATH=%DL%" >> ${LibEnv} > echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}" >> ${LibEnv} > > gnat_src_install > > #specs > cd "${S}"/src > dodir "${AdalibSpecsDir}/${PN}" > insinto "${AdalibSpecsDir}/${PN}" > doins *.ad? glade/*.ad? gnome/*.ad? opengl/*.{ad?,c,h} > > #docs > cd "${S}" > dodoc ANNOUNCE AUTHORS README > cp -dPr examples/ testgtk/ "${D}/usr/share/doc/${PF}" > cd "${S}"/docs > doinfo gtkada_ug/gtkada_ug.info > ps2pdf gtkada_ug/gtkada_ug.ps > ps2pdf gtkada_rm/gtkada_rm.ps > cp gtkada_ug.pdf gtkada_rm.pdf "${D}/usr/share/doc/${PF}" > dohtml -r gtkada_ug/{gtkada_ug.html,boxes.gif,hierarchy.jpg} > cp -dPr gtkada_rm/gtkada_rm/ "${D}/usr/share/doc/${PF}/html" > > # utility stuff > cd "${S}" > dodir "${AdalibDataDir}/${PN}" > insinto "${AdalibDataDir}/${PN}" > doins -r xml/gtkada.xml projects/ > > echo "src_install done" > pwd >} > >pkg_postinst() { > eselect gnat update > einfo "The environment has been set up to make gnat automatically find files for" > einfo "GtkAda. In order to immediately activate these settings please do:" > einfo " env-update && source /etc/profile" > einfo "Otherwise the settings will become active next time you login" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 348418
:
265743
|
265745
|
308985
| 309677