diff options
Diffstat (limited to 'x11-libs/openmotif')
-rw-r--r-- | x11-libs/openmotif/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/openmotif/Manifest | 19 | ||||
-rw-r--r-- | x11-libs/openmotif/openmotif-2.3.3-r1.ebuild | 138 |
3 files changed, 161 insertions, 6 deletions
diff --git a/x11-libs/openmotif/ChangeLog b/x11-libs/openmotif/ChangeLog index 765c763a732a..b3d9d1ca5e3e 100644 --- a/x11-libs/openmotif/ChangeLog +++ b/x11-libs/openmotif/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/openmotif -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.263 2011/12/19 08:43:01 ulm Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.264 2012/01/06 00:04:40 ulm Exp $ + +*openmotif-2.3.3-r1 (06 Jan 2012) + + 06 Jan 2012; Ulrich Mueller <ulm@gentoo.org> +openmotif-2.3.3-r1.ebuild: + Generate UIL and WML parsers with byacc instead of bison, bug 355795. + Ebuild updated to EAPI 4. Dropped some keywords. 19 Dec 2011; Ulrich Mueller <ulm@gentoo.org> openmotif-2.2.3-r11.ebuild, openmotif-2.3.2-r2.ebuild, openmotif-2.3.3.ebuild: diff --git a/x11-libs/openmotif/Manifest b/x11-libs/openmotif/Manifest index f8f1a87c6971..ebf2f8d56ce9 100644 --- a/x11-libs/openmotif/Manifest +++ b/x11-libs/openmotif/Manifest @@ -16,13 +16,24 @@ DIST openmotif-2.3.2.tar.gz 5941784 RMD160 2346a93fcec57b9c18b6657d1cc681b6001cb DIST openmotif-2.3.3.tar.gz 6051202 RMD160 015323e212e91ea3beaf039593de5ba75b01e4a6 SHA1 2a51e2f28078c4db7ff0c8517eb257001716b699 SHA256 c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103 EBUILD openmotif-2.2.3-r11.ebuild 1646 RMD160 b4aed6748b443663b516929908ee3f509a014522 SHA1 b324178bb5177c125f81221be5b943209528f470 SHA256 22261a6d7234b3aa73645a2cf422f6ad86b9f596106f6f32db06e2ac0aa048ab EBUILD openmotif-2.3.2-r2.ebuild 4386 RMD160 8a2df68546b08edcd2da540843f903aab2a3413e SHA1 7b20d7febe5d6790bfceb70722eed5ffa952ca4f SHA256 4fabd2c60b61e461b8529c61055ed4451f63bab1d35456c6bcb55edf51bb3d98 +EBUILD openmotif-2.3.3-r1.ebuild 4107 RMD160 f6c4d22dd69f47f5d740bfb0de94f60afd77af27 SHA1 248cad631ec2f2d99fbc8814167ee12764582f47 SHA256 74d3648554ca21590e2cec25673dbe2562e0b3dd316e27e4083051f3a5ad5395 EBUILD openmotif-2.3.3.ebuild 4138 RMD160 c8fa9a7a825785e05b1cde02e7f84668f3881599 SHA1 896baf9b3e641a90919b07a9c50dfe85a92994d1 SHA256 a8f548bd03e666232491b077af8b41405016988c57dfb8b27d496e6aeef367e0 -MISC ChangeLog 38902 RMD160 5514174bfa995533262f78f93c70b6fbb6fde72a SHA1 15baa310ac55a47e7d4300a79651f34190e3a730 SHA256 e285616e2fe11f3e66fdff434a5e52262b947229e60a5c1ff836baa59d4ebcd7 +MISC ChangeLog 39136 RMD160 9b38acd6065fceb1ee29491936fe2cdb2082e392 SHA1 a80e433275c952c73598e442ade61cbf821282a4 SHA256 8612c278b4c365d9fde00dc70b489522c7ffefaa0e2e19eb05283040206fea0b MISC metadata.xml 198 RMD160 5a208ca8de38d2f219858ad8183293139902fdd7 SHA1 334f4b42f75fe5d5f735703b5398172bf09379b2 SHA256 6998c57a835c2c7b81d26f91ae232a8df3128b85ad0348e1fa9444f157c28481 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk7u+3YACgkQOeoy/oIi7uzxhQCfZfSHMnB9/i+FRj59vRraK6Nn -qRMAoJUNplwRq3iXEAlDEDoSmP2rLs1x -=0mTN +iQIcBAEBAgAGBQJPBj0kAAoJEDxpGckxwJCBwTsQAKEIWhE3m+I6baMiph9DfaY+ +SMNFTt1k1NJTO3Auk+boChytdUB2Tm2IoJreMDKgPle/mKCcrHKFoezxg0ffiHko +UcPSni7z4eWpy7R0BvVSf/Uvq1eLDsZzGHLCSV7LB+B9K9LEygeafNlo0h20U2Gp +5EnYuHdN4DQSCcP5P+j6Uy/j41r2ILtdW440OcOjoxNhdH3R9gdIsSi3AgWJJAiz +r7IjeTf3kZzCTQvtJV42wLzO6rl16Fw+LnuAcqOJK4JLyN0xHcWzD6UWRDrtDO5z +SjUCyPU/VQU77cNddJFYHCfWv0672V6XzvxPUNhLr4W3TjgMbcf7gyvpwqtyippv +eaSFPkkj0VcTrkfF3LKqK6NsaoEthUtp1haKNObdqGBBENUN8JbeDB1QayUDGpJK +5LMhL9D46ehThjJnPcaMDJGL4yTG0NYWf7szjJVxWOER5ZlzRucmQ6xEO5meV6v2 +6QvVulokwvcBd1H+tKjCPGz5BqdGkjCNuEikE/0HWDb33K8YOz4gFpJkeU27Ydcc +SqV0TAzuQP6JPBgginyPSAMafHVaO+MWUt2V+9SVnDpYGWPuPk6UF3Ho4ldoOeS6 +w1gOWsx06XraAaGnCuUVvP+XgHIuu14X7QhlHhIpUIqsrGZCJMEcVzNWzRAJXuJi +44bdm6ERGh6ez2HPE922 +=RzpU -----END PGP SIGNATURE----- diff --git a/x11-libs/openmotif/openmotif-2.3.3-r1.ebuild b/x11-libs/openmotif/openmotif-2.3.3-r1.ebuild new file mode 100644 index 000000000000..163bf2f13c3a --- /dev/null +++ b/x11-libs/openmotif/openmotif-2.3.3-r1.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.3-r1.ebuild,v 1.3 2012/01/06 00:04:40 ulm Exp $ + +EAPI=4 + +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="Open Motif" +HOMEPAGE="http://www.motifzone.net/" +SRC_URI="ftp://ftp.ics.com/openmotif/${PV%.*}/${PV}/${P}.tar.gz" + +LICENSE="MOTIF MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +IUSE="doc examples jpeg png static-libs unicode xft" +# license allows distribution only for "open source operating systems" +RESTRICT="!kernel_linux? ( + !kernel_FreeBSD? ( + !kernel_Darwin? ( + !kernel_SunOS? ( + fetch bindist + ) ) ) )" + +RDEPEND="x11-libs/libXmu + x11-libs/libXp + unicode? ( virtual/libiconv ) + xft? ( x11-libs/libXft ) + jpeg? ( virtual/jpeg ) + png? ( >=media-libs/libpng-1.4 )" +DEPEND="${RDEPEND} + sys-devel/flex + dev-util/byacc + x11-misc/xbitmaps" +RDEPEND="${RDEPEND} + doc? ( app-doc/openmotif-manual )" + +pkg_nofetch() { + local line + while read line; do einfo "${line}"; done <<-EOF + From the Open Motif license: "This software is subject to an open + license. It may only be used on, with or for operating systems which + are themselves open source systems. You must contact The Open Group + for a license allowing distribution and sublicensing of this software + on, with, or for operating systems which are not open source programs." + + If you have got such a license, you may download the file: + ${SRC_URI} + and place it in ${DISTDIR}. + EOF +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.3.2-darwin.patch" + epatch "${FILESDIR}/${PN}-2.3.2-sanitise-paths.patch" + epatch "${FILESDIR}/${PN}-2.3.2-libpng14.patch" + [[ ${CHOST} == *-solaris2.11 ]] \ + && epatch "${FILESDIR}/${PN}-2.3.2-solaris-2.11.patch" + + # disable compilation of demo binaries + sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am + + # add X.Org vendor string to aliases for virtual bindings + echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias + + AT_M4DIR=. eautoreconf +} + +src_configure() { + # get around some LANG problems in make (#15119) + LANG=C + + # bug #80421 + filter-flags -ftracer + + # feel free to fix properly if you care + append-flags -fno-strict-aliasing + + # For Solaris Xos_r.h :( + [[ ${CHOST} == *-solaris2.11 ]] && append-flags -DNEED_XOS_R_H=1 + + if use !elibc_glibc && use !elibc_uclibc && use unicode; then + # libiconv detection in configure script doesn't always work + # http://bugs.motifzone.net/show_bug.cgi?id=1423 + export LIBS="${LIBS} -liconv" + fi + + # "bison -y" causes runtime crashes #355795 + export YACC=byacc + + econf --with-x \ + $(use_enable static-libs static) \ + $(use_enable unicode utf8) \ + $(use_enable xft) \ + $(use_enable jpeg) \ + $(use_enable png) +} + +src_compile() { + make clean # remove pre-made bison parsers + emake -j1 MWMRCDIR="${EPREFIX}"/etc/X11/mwm +} + +src_install() { + emake -j1 DESTDIR="${D}" MWMRCDIR="${EPREFIX}"/etc/X11/mwm install + + # mwm default configs + insinto /usr/share/X11/app-defaults + newins "${FILESDIR}"/Mwm.defaults Mwm + + if use examples; then + emake -j1 -C demos DESTDIR="${D}" install-data + dodir /usr/share/doc/${PF}/demos + mv "${ED}"/usr/share/Xm/* "${ED}"/usr/share/doc/${PF}/demos || die + fi + rm -rf "${ED}"/usr/share/Xm + + # don't install libtool archives + rm -f "${ED}"/usr/$(get_libdir)/*.la + + dodoc BUGREPORT ChangeLog README RELEASE RELNOTES TODO +} + +pkg_postinst() { + local line + while read line; do elog "${line}"; done <<-EOF + From the Open Motif 2.3.0 (upstream) release notes: + "Open Motif 2.3 is an updated version of 2.2. Any applications + built against a previous 2.x release of Open Motif will be binary + compatible with this release." + + If you have binary-only applications requiring libXm.so.3, you may + therefore create a symlink from libXm.so.3 to libXm.so.4. + Please note, however, that there will be no Gentoo support for this. + Alternatively, you may install slot 2.2 of x11-libs/openmotif for + the Open Motif 2.2 libraries. + EOF +} |