diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-11-18 08:57:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-11-18 08:57:15 +0000 |
commit | ab6db76895d1441ec43953997023060264c3cc94 (patch) | |
tree | 7bc34ccafb0ff7b25ee30cb8289a8784183e46fc /x11-libs | |
parent | version bump (diff) | |
download | historical-ab6db76895d1441ec43953997023060264c3cc94.tar.gz historical-ab6db76895d1441ec43953997023060264c3cc94.tar.bz2 historical-ab6db76895d1441ec43953997023060264c3cc94.zip |
resurrect openmotif-2.1.30-r4.ebuild for mips
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/openmotif/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/openmotif/Manifest | 10 | ||||
-rw-r--r-- | x11-libs/openmotif/files/digest-openmotif-2.1.30-r4 | 1 | ||||
-rw-r--r-- | x11-libs/openmotif/openmotif-2.1.30-r4.ebuild | 101 |
4 files changed, 115 insertions, 5 deletions
diff --git a/x11-libs/openmotif/ChangeLog b/x11-libs/openmotif/ChangeLog index d892b560b10d..7b3be700b93a 100644 --- a/x11-libs/openmotif/ChangeLog +++ b/x11-libs/openmotif/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/openmotif # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.57 2004/11/17 14:09:37 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.58 2004/11/18 08:57:15 mr_bones_ Exp $ + +*openmotif-2.1.30-r4 (18 Nov 2004) + + 18 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> + +openmotif-2.1.30-r4.ebuild: + resurrect openmotif-2.1.30-r4.ebuild for mips 17 Nov 2004; <heino@gentoo.org> -openmotif-2.1.30-r4.ebuild, openmotif-2.1.30-r5.ebuild: diff --git a/x11-libs/openmotif/Manifest b/x11-libs/openmotif/Manifest index c36ecffcbb02..4ba2440e42ff 100644 --- a/x11-libs/openmotif/Manifest +++ b/x11-libs/openmotif/Manifest @@ -1,10 +1,12 @@ +MD5 f61d754856c12dbb65efb3ddf4b3314e ChangeLog 8141 +MD5 f9ea4e4359646ef09d03ad575a75874d openmotif-2.1.30-r4.ebuild 3119 MD5 61cf15ab81170a00d93a00b6e2c22053 openmotif-2.1.30-r5.ebuild 3526 -MD5 c5b2302d58f6678267e1bffcc362254d ChangeLog 7967 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -MD5 61fb956ff4bc34bc503cdb2226fd037b files/openmotif-2.1.30-darwin-netbsd.diff 16799 MD5 818d2d673fe5ee323f93b5a66fb1baca files/digest-openmotif-2.1.30-r5 79 -MD5 7284e10e14cac30429821b824dd2f722 files/site.def 2062 +MD5 818d2d673fe5ee323f93b5a66fb1baca files/digest-openmotif-2.1.30-r4 79 MD5 ed2738dd3cbdc87b0800fe9710092d18 files/openmotif-2.1.30-imake-ansi.patch 6554 MD5 f586e24ce0a2b3eeea25a82c8ec1d3c4 files/openmotif-2.1.30-uil-bad_grammar_fix.diff 832 -MD5 28350d5dab901ef8cd0dc92e578e3f45 files/openmotif-2.1.30-imake-tmpdir.patch 1083 MD5 7284e10e14cac30429821b824dd2f722 files/site.def.1 2062 +MD5 7284e10e14cac30429821b824dd2f722 files/site.def 2062 +MD5 61fb956ff4bc34bc503cdb2226fd037b files/openmotif-2.1.30-darwin-netbsd.diff 16799 +MD5 28350d5dab901ef8cd0dc92e578e3f45 files/openmotif-2.1.30-imake-tmpdir.patch 1083 diff --git a/x11-libs/openmotif/files/digest-openmotif-2.1.30-r4 b/x11-libs/openmotif/files/digest-openmotif-2.1.30-r4 new file mode 100644 index 000000000000..ead704e865e9 --- /dev/null +++ b/x11-libs/openmotif/files/digest-openmotif-2.1.30-r4 @@ -0,0 +1 @@ +MD5 950f0d409e0ce508fa3995790c1106c7 openmotif-2.1.30-4_MLI.src.tar.gz 8645792 diff --git a/x11-libs/openmotif/openmotif-2.1.30-r4.ebuild b/x11-libs/openmotif/openmotif-2.1.30-r4.ebuild new file mode 100644 index 000000000000..f02748a7412c --- /dev/null +++ b/x11-libs/openmotif/openmotif-2.1.30-r4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r4.ebuild,v 1.12 2004/11/18 08:57:15 mr_bones_ Exp $ + +inherit eutils + +MY_P=${P}-4_MLI.src +S=${WORKDIR}/motif +DESCRIPTION="Open Motif (Metrolink Bug Fix Release)" +SRC_URI="ftp://ftp.metrolink.com/pub/openmotif/2.1.30-4/${MY_P}.tar.gz" +HOMEPAGE="http://www.openmotif.org/" +LICENSE="MOTIF" +KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 mips" +IUSE="" +DEPEND="virtual/libc + virtual/x11 + >=sys-apps/sed-4" + +SLOT="0" + +# glibc-2.3.2-r1/gcc-3.2.3 /w `-mcpu=athlon-xp -O2', right-clicking +# in nedit triggers DPMS monitor standby instead of popping up the +# context menu. this doesn't happen on my `stable' test partition +# where everything is compiled i686, nor with most non-essential +# packages athlon-xp and only motif i686. needs investigation. +inherit flag-o-matic +replace-flags "-mcpu=athlon-xp" "-mcpu=i686" + +src_unpack() { + local cfg="${S}/config/cf/site.def" + + unpack ${A} + cd ${S} + ebegin "adjusting file permissions" + chmod -R ug+w . + eend $? || die + + ebegin "setting up site.def" + cp ${FILESDIR}/site.def ${S}/config/cf/ && \ + echo >>$cfg && \ + echo >>$cfg "#undef OptimizedCDebugFlags" && \ + echo >>$cfg "#define OptimizedCDebugFlags ${CFLAGS}" && \ + echo >>$cfg "#undef OptimizedCplusplusDebugFlags" && \ + echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" + eend $? || die + + sed -i -e "s:#define USE_BYACC YES:#undef USE_BYACC:" config/cf/host.def + + # move `system.mwmrc' from `lib/X11' to `lib/X11/mwm' (but install into + # `/etc/X11/mwm') + ebegin "patching 'clients/mwm/Imakefile' (mwm confdir)" + LC_ALL="C" sed -i \ + -e 's:\(SpecialObjectRule.*WmResParse\.o.*/lib/X11\)\(.*\):\1/mwm\2:'\ + -e 's:\(InstallNonExecFile.system\.mwmrc,\).*/lib/X11\(.*\):\1/etc/X11/mwm\2:'\ + "${S}/clients/mwm/Imakefile" + eend $? || die + # + + epatch ${FILESDIR}/${P}-imake-tmpdir.patch + # compile on gcc 2.9x + epatch ${FILESDIR}/${P}-imake-ansi.patch +} + +src_compile() { + mkdir -p imports/x11 + cd imports/x11 + ln -s /usr/X11R6/bin bin + ln -s /usr/X11R6/include include + ln -s /usr/X11R6/lib lib + cd ${S} + make World || die +} + +src_install() { + make DESTDIR=${D} VARDIR=${D}/var/X11/ install || die "make install" + make DESTDIR=${D} install.man || die "make install.man" + + # these overlap with X11 + local NOINSTBIN="imake lndir makedepend makeg mergelib mkdirhier xmkmf" + local NOINSTMAN1="imake lndir makedepend makeg mkdirhier xmkmf" + + einfo "Cleaning up X11 stuff" + rm -fR ${D}/etc + for nib in ${NOINSTBIN}; do + f="${D}usr/X11R6/bin/${nib}"; rm "$f" || die "rm $f" + done + for nim in ${NOINSTMAN1}; do + f="${D}usr/X11R6/man/man1/${nim}.1x"; rm "$f" || die "rm $f" + done + rm -rf "${D}usr/X11R6/lib/X11" || die "rm config" + rm -rf "${D}usr/X11R6/lib/bindings" || die "rm bindings" + + einfo "Fixing docs" + dodoc README COPYRIGHT.MOTIF RELEASE RELNOTES + dodoc BUGREPORT OPENBUGS CLOSEDBUGS +} + +pkg_postinst() { + ewarn "This might break applications linked against libXm.so.3" + ewarn "Just rebuild these applications." +} |