diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-03-25 15:23:28 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-03-25 15:23:28 +0000 |
commit | 42d746787bcd230f74968fe3feb86924faa6d192 (patch) | |
tree | 4896b0b7f76a130dfe90232f11fa08564b9b4b58 /x11-libs/openmotif-compat | |
parent | Remove redudant ChangeLog entry accidentally committed (diff) | |
download | gentoo-2-42d746787bcd230f74968fe3feb86924faa6d192.tar.gz gentoo-2-42d746787bcd230f74968fe3feb86924faa6d192.tar.bz2 gentoo-2-42d746787bcd230f74968fe3feb86924faa6d192.zip |
Legacy Open Motif libraries for old binaries.
Moved here from x11-libs/openmotif:2.2, bug 210021.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-libs/openmotif-compat')
-rw-r--r-- | x11-libs/openmotif-compat/ChangeLog | 11 | ||||
-rw-r--r-- | x11-libs/openmotif-compat/Manifest | 5 | ||||
-rw-r--r-- | x11-libs/openmotif-compat/metadata.xml | 11 | ||||
-rw-r--r-- | x11-libs/openmotif-compat/openmotif-compat-2.2.3.ebuild | 77 |
4 files changed, 104 insertions, 0 deletions
diff --git a/x11-libs/openmotif-compat/ChangeLog b/x11-libs/openmotif-compat/ChangeLog new file mode 100644 index 000000000000..ecdb10bab1b6 --- /dev/null +++ b/x11-libs/openmotif-compat/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-libs/openmotif-compat +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/ChangeLog,v 1.1 2008/03/25 15:23:28 ulm Exp $ + +*openmotif-compat-2.2.3 (25 Mar 2008) + + 25 Mar 2008; Ulrich Mueller <ulm@gentoo.org> +metadata.xml, + +openmotif-compat-2.2.3.ebuild: + Legacy Open Motif libraries for old binaries. Moved here from + x11-libs/openmotif:2.2, bug 210021. + diff --git a/x11-libs/openmotif-compat/Manifest b/x11-libs/openmotif-compat/Manifest new file mode 100644 index 000000000000..023725f78778 --- /dev/null +++ b/x11-libs/openmotif-compat/Manifest @@ -0,0 +1,5 @@ +DIST openMotif-2.2.3.tar.gz 5149785 RMD160 b99230d508da57bca72b6920d28fce4187bf5179 SHA1 c463653d9f8e24b35522c3ba6363ddf7a282eab4 SHA256 12fc0d1de53ff30307603e31826db9b63a442f6f743451aed2cb7cedb038d3d9 +DIST openmotif-2.2.3-patches-1.tar.bz2 19960 RMD160 735931640dfb1d45f331e1015dce2886022c82c0 SHA1 f10752647af3ae3e1fc81b052b836c9db5df22e0 SHA256 9da77097b9960edf763d2b94948739acfecdd41e6959afeeef3799b0872c19d1 +EBUILD openmotif-compat-2.2.3.ebuild 1778 RMD160 466a991576a5a5eb98abded8d15faf967f06f266 SHA1 b393c7e141ab1075b7eeb5fc93c5b39542c8ff33 SHA256 046d2c263032025fd2a7fb055f91ce25426f67ca34b3ceea3bf7a8fc7447ab80 +MISC ChangeLog 364 RMD160 ea6069b00c791ec0f42225995b8279453629867b SHA1 d13659e8ae499a8a118c88b5fdb96bee69bc9769 SHA256 64b05194e6953692b2001ba5736fce082292fe4f2ccc337703fccd5cad2be7e4 +MISC metadata.xml 282 RMD160 599456295c8abf663a160b3479e397c9f6c37fe5 SHA1 acb6a06ce7df0f39a80a02756ba034fc5e6abb89 SHA256 1636d28469ae830ccdba09a807a7b5e2473f8c5e9b3411b5b6a50ffc5bcbe18a diff --git a/x11-libs/openmotif-compat/metadata.xml b/x11-libs/openmotif-compat/metadata.xml new file mode 100644 index 000000000000..63e9a471d0ca --- /dev/null +++ b/x11-libs/openmotif-compat/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>ulm@gentoo.org</email> +</maintainer> +<maintainer> + <email>stefaan@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/x11-libs/openmotif-compat/openmotif-compat-2.2.3.ebuild b/x11-libs/openmotif-compat/openmotif-compat-2.2.3.ebuild new file mode 100644 index 000000000000..897705b91168 --- /dev/null +++ b/x11-libs/openmotif-compat/openmotif-compat-2.2.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif-compat/openmotif-compat-2.2.3.ebuild,v 1.1 2008/03/25 15:23:28 ulm Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="1.6" + +inherit eutils flag-o-matic multilib autotools + +MY_P=openMotif-${PV} +DESCRIPTION="Legacy Open Motif libraries for old binaries" +HOMEPAGE="http://www.motifzone.org/" +SRC_URI="ftp://ftp.ics.com/openmotif/2.2/${PV}/src/${MY_P}.tar.gz + mirror://gentoo/openmotif-${PV}-patches-1.tar.bz2" + +LICENSE="MOTIF" +SLOT="2.2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="!x11-libs/motif-config + !x11-libs/lesstif + !=x11-libs/openmotif-2.2* + x11-libs/libXmu + x11-libs/libXaw + x11-libs/libXp" + +DEPEND="${RDEPEND} + x11-misc/xbitmaps + x11-proto/printproto" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + EPATCH_SUFFIX=patch epatch + + # This replaces deprecated, obsoleted and now invalid AC_DEFINE + # with their proper alternatives. + sed -i -e 's:AC_DEFINE(\([^)]*\)):AC_DEFINE(\1, [], [\1]):g' \ + configure.in acinclude.m4 + + # Build only the libraries + sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= lib clients/;}' Makefile.am + sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= uil/;}' clients/Makefile.am + + eautoreconf +} + +src_compile() { + # get around some LANG problems in make (#15119) + unset LANG + + # bug #80421 + filter-flags -ftracer + + # multilib includes don't work right in this package... + has_multilib_profile && append-flags "-I$(get_ml_incdir)" + + # feel free to fix properly if you care + append-flags -fno-strict-aliasing + + econf --with-x || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install-exec || die "emake install failed" + + # cleanups + rm -Rf "${D}"/usr/bin + rm -f "${D}"/usr/$(get_libdir)/*.{so,la,a} + + dodoc README RELEASE RELNOTES BUGREPORT TODO +} |