From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- x11-libs/motif/Manifest | 2 +- x11-libs/motif/motif-2.3.8-r1.ebuild | 109 ---------------------------------- x11-libs/motif/motif-2.3.8-r2.ebuild | 110 +++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+), 110 deletions(-) delete mode 100644 x11-libs/motif/motif-2.3.8-r1.ebuild create mode 100644 x11-libs/motif/motif-2.3.8-r2.ebuild (limited to 'x11-libs/motif') diff --git a/x11-libs/motif/Manifest b/x11-libs/motif/Manifest index fcc94e514ba6..a92eb22651b6 100644 --- a/x11-libs/motif/Manifest +++ b/x11-libs/motif/Manifest @@ -1,5 +1,5 @@ AUX Mwm.defaults 536 BLAKE2B 675abf74eaa86c9b8f1f9730c3216d06239a6e67cd3657245b4c4095a5e1fc552a0c9c59cd72d3537de71e7f26d10bca87c7d34723e5514890c7a044aa2674b2 SHA512 ef121001e0a124fdea20a2b573ad79a68f23bf4f73c33097e8acc62fa00fd28311d999893b37514be33bceee1d2a22a5b03a02b75b2c02049131c8fedb3e02ab DIST motif-2.3.8-patches-1.tar.xz 1896 BLAKE2B 7234860dadac55362c7f1804133a660da1ab468fb6c0f0c71cad76b956a5f0b1e58874496a6721f49bd6413e916014807e946112b48b9a22272db5e4d97d43d9 SHA512 22e5d8c590d2c1c57fc639cb46d16984dc5fbafb3b68fd647d180d6299a06f884a8ed69e2180da8153bb0f68821eb0031f93e9b9a3128ba93535fd7fb92b402b DIST motif-2.3.8.tar.gz 5704328 BLAKE2B 3755b7f46e50240e1e9e7046aa439fa89872e54ae5d03860383f509b6d0f09edf85bd7d92ea4d37925efd2e44401028aa2752d940c42d9cccb652b2bd1d85459 SHA512 1ab8e8eece25ef97e948592b5fa3e19d98e932695290a18b7a8e90f1aa2766bc4f082bdbc3999dff5660e684821178a149040f76bb477163e53ca06474d02b55 -EBUILD motif-2.3.8-r1.ebuild 3057 BLAKE2B 44c7004b5932c72732e752e10ea0d4b3220a57aba58c49f1e29177cf3b20cc05de6f5d2ebd9b01ac23c772a5cf2c64a7e9291ca768f36cd5335a3b376b3a8c42 SHA512 576885fb72431bd427cc67b2499ce906e98eaba08594674e4a7ed8c7696205b50c089c3a34c29a75b95213df863e67ddcb1a6fb99bc20cf5b885e4959fa3cc63 +EBUILD motif-2.3.8-r2.ebuild 3074 BLAKE2B 3e01e72622c45f49e3de21fb70aa632ec23a6dbb76eb54e8e5efaa40687c2d254fe84f5f1cde80134454db9ba53cdc613c81738cc394e19e98a9bfa146a58eab SHA512 bf551debd99646bcac258faf588bbca6821b4b02690f8a42135cc99eecb18af97b2e96e8f2869d901836cff865d9124aa3733df209d07b462f625087acbc807a MISC metadata.xml 394 BLAKE2B 8302e867353fbe09f017b4d54ec2ad043f8872643914ef29002611b41f4f1c0639959da9c7e06b4317c8fec4d0a5fba72cc3927991054a65a1d42a1f4fb9da17 SHA512 5a2fd548df5d694acb6c1bf1d51c8e80adb49915d4328879478a6b7c5a76cfbf02f31e58103967bab2c4afd4873752ffafd9f8f0839f68d09868d7f501542d3c diff --git a/x11-libs/motif/motif-2.3.8-r1.ebuild b/x11-libs/motif/motif-2.3.8-r1.ebuild deleted file mode 100644 index c93bbbd119e8..000000000000 --- a/x11-libs/motif/motif-2.3.8-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic multilib toolchain-funcs multilib-minimal - -DESCRIPTION="The Motif user interface component toolkit" -HOMEPAGE="https://sourceforge.net/projects/motif/ - https://motif.ics.com/" -SRC_URI="mirror://sourceforge/project/motif/Motif%20${PV}%20Source%20Code/${P}.tar.gz - https://dev.gentoo.org/~ulm/distfiles/${P}-patches-1.tar.xz" - -LICENSE="LGPL-2.1+ MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="examples jpeg +motif22-compatibility png static-libs unicode xft" - -RDEPEND=">=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - unicode? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] ) - xft? ( - >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] - >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] - )" - -DEPEND="${RDEPEND} - sys-devel/flex - dev-util/byacc - x11-base/xorg-proto - x11-misc/xbitmaps" - -src_prepare() { - eapply ../patch - eapply_user - - AT_M4DIR=. eautoreconf - - # 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-cppflags -DNEED_XOS_R_H -DHAVE_READDIR_R_3 - - if use !elibc_glibc && use !elibc_uclibc && use !elibc_musl \ - && 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 - - # remember the name of the C compiler for the native ABI - MY_NATIVE_CC=$(tc-getCC) -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - --with-x \ - --disable-printing \ - $(use_enable static-libs static) \ - $(use_enable motif22-compatibility) \ - $(use_enable unicode utf8) \ - $(use_enable xft) \ - $(use_enable jpeg) \ - $(use_enable png) -} - -multilib_src_compile() { - # The wmluiltok build tool is linked with libfl.a, so always - # compile it for the native ABI - emake -C tools/wml CC="${MY_NATIVE_CC}" LIBS="-lfl" wmluiltok - emake -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - if multilib_is_native_abi && use examples; then - emake -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 -} - -multilib_src_install_all() { - # mwm default configs - insinto /usr/share/X11/app-defaults - newins "${FILESDIR}"/Mwm.defaults Mwm - - # cleanup - rm -rf "${ED}"/usr/share/Xm - find "${D}" -type f -name "*.la" -delete || die - - dodoc BUGREPORT ChangeLog README RELEASE RELNOTES TODO -} diff --git a/x11-libs/motif/motif-2.3.8-r2.ebuild b/x11-libs/motif/motif-2.3.8-r2.ebuild new file mode 100644 index 000000000000..6e1c40835654 --- /dev/null +++ b/x11-libs/motif/motif-2.3.8-r2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib toolchain-funcs multilib-minimal + +DESCRIPTION="The Motif user interface component toolkit" +HOMEPAGE="https://sourceforge.net/projects/motif/ + https://motif.ics.com/" +SRC_URI="mirror://sourceforge/project/motif/Motif%20${PV}%20Source%20Code/${P}.tar.gz + https://dev.gentoo.org/~ulm/distfiles/${P}-patches-1.tar.xz" + +LICENSE="LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="examples jpeg +motif22-compatibility png static-libs unicode xft" + +RDEPEND=">=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + unicode? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] ) + xft? ( + >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] + )" + +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-misc/xbitmaps" + +BDEPEND="sys-devel/flex + dev-util/byacc" + +src_prepare() { + eapply ../patch + eapply_user + + AT_M4DIR=. eautoreconf + + # 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-cppflags -DNEED_XOS_R_H -DHAVE_READDIR_R_3 + + if use !elibc_glibc && use !elibc_uclibc && use !elibc_musl \ + && 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 + + # remember the name of the C compiler for the native ABI + MY_NATIVE_CC=$(tc-getCC) +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-x \ + --disable-printing \ + $(use_enable static-libs static) \ + $(use_enable motif22-compatibility) \ + $(use_enable unicode utf8) \ + $(use_enable xft) \ + $(use_enable jpeg) \ + $(use_enable png) +} + +multilib_src_compile() { + # The wmluiltok build tool is linked with libfl.a, so always + # compile it for the native ABI + emake -C tools/wml CC="${MY_NATIVE_CC}" LIBS="-lfl" wmluiltok + emake +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use examples; then + emake -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 +} + +multilib_src_install_all() { + # mwm default configs + insinto /usr/share/X11/app-defaults + newins "${FILESDIR}"/Mwm.defaults Mwm + + # cleanup + rm -rf "${ED}"/usr/share/Xm || die + find "${D}" -type f -name "*.la" -delete || die + + dodoc BUGREPORT ChangeLog README RELEASE RELNOTES TODO +} -- cgit v1.2.3