Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/motif/
Date: Fri, 25 Aug 2017 08:42:04
Message-Id: 1503650428.90964c209243d625a9d86ef0d4d8ec46dfe19ede.ulm@gentoo
1 commit: 90964c209243d625a9d86ef0d4d8ec46dfe19ede
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 25 08:40:28 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 25 08:40:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90964c20
7
8 x11-libs/motif: Remove old.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 x11-libs/motif/Manifest | 2 -
13 x11-libs/motif/motif-2.3.5.ebuild | 116 --------------------------------------
14 2 files changed, 118 deletions(-)
15
16 diff --git a/x11-libs/motif/Manifest b/x11-libs/motif/Manifest
17 index 4ffcb85bd3d..4ff2ba3b941 100644
18 --- a/x11-libs/motif/Manifest
19 +++ b/x11-libs/motif/Manifest
20 @@ -1,5 +1,3 @@
21 -DIST motif-2.3.5-patches-1.tar.xz 1408 SHA256 7c3e8fd55397e99c319652d1054156d4e62528f71cf85986417e20b5da66fef5 SHA512 cb157630f0c301e0cb6e5d17668486db41d90cf540ced234c96742e0ec7258fb2596a349a84db9fd4ac621f3cd019cdd89cdadce596a70ea1dec91cc69dd3351 WHIRLPOOL dccc460ec7eb00114470445caed7c92814d1b64b29338d5f2e57064fe71f198bc8d6eae45c702d4d20c3b6e6b6c9efb050fd639bf4481cf8770f112f6461eb59
22 -DIST motif-2.3.5.tar.gz 6035803 SHA256 afc5c93c03327a7207f5822c272aaf0d98439007aa85a23149f833ba24916d25 SHA512 6c489409c8ac9d61da6aa916fde5b306d9175d329269885d1f8253f035c33b5b78e75e82178276538a84a6bd76f23c2fa31b40326ea0d00391c6e23afbcd1663 WHIRLPOOL 600e8ddd120447a9f71ad3ab4bd7b10f15b7a770cf289f1083a528dae79e4f08c8d1ffea1e7b04af43d25442cb117f0b9e0ee119cbcba360995c9609006f67b5
23 DIST motif-2.3.6-patches-2.tar.xz 1600 SHA256 03478b2ef5c49b9854534ac4615f56d93e589daf50d9056c1abba372e157c947 SHA512 09c857f7f2ec0d48660e6fff8afddec99416084e2b80a8793401e7641a3669fbe4eb10811e60f3d9dc106c828a87324dfdd27cc91a62bf3dedbd9154542c7619 WHIRLPOOL 2d59ea61e646a827b0da3d6b44b72a7d42b8e60f1defcfc00c8c9689a97c6789cfd6f91ff858ee1b8cc8443c5510507ef14d37efd4e24928c0d9dc54f87a2b8f
24 DIST motif-2.3.6.tar.gz 5725456 SHA256 fa810e6bedeca0f5a2eb8216f42129bcf6bd23919068d433e386b7bfc05d58cf SHA512 65c2d7666a916ab38878008915072317752ee2657ebaff869d274f9f9d9fba3ebfbb82c26d2517f3b9035e059ac99a9bf46d4be8d123115e3b23589517d28e60 WHIRLPOOL 88a88dbdeefce4ff01a5018f16cc687e9ac86af67344c5c292d0508abcada17d8dc7d65df2c2e6e4904d6c8524552e2607f1a926a745fe3196f866d9c5f93294
25 DIST motif-2.3.7.tar.gz 5715478 SHA256 8f7aadbb0f42df2093d4690735a2b9a02ea2bf69dfb15ae0a39cae28f1580d14 SHA512 2485f6e111139d6815e8ac38630d082ac73474b033818b4a92b46f5e2213fa85030ef8095672b2e31b1ed5c207d3baf58f01ec5deec0cd3bd9527cb341f741f8 WHIRLPOOL f94a384ffdcbcd6fd289d31225822101a0cbfdf147a49e925c0b5d12fb57548177746e6da511f2f096aa1cf72b07f3a3930f5037715c784857e0679a005b4a02
26
27 diff --git a/x11-libs/motif/motif-2.3.5.ebuild b/x11-libs/motif/motif-2.3.5.ebuild
28 deleted file mode 100644
29 index cf84806b584..00000000000
30 --- a/x11-libs/motif/motif-2.3.5.ebuild
31 +++ /dev/null
32 @@ -1,116 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit autotools eutils flag-o-matic multilib toolchain-funcs multilib-minimal
39 -
40 -DESCRIPTION="The Motif user interface component toolkit"
41 -HOMEPAGE="https://sourceforge.net/projects/motif/
42 - http://motif.ics.com/"
43 -SRC_URI="mirror://sourceforge/project/motif/Motif%20${PV}%20Source%20Code/${P}.tar.gz
44 - http://dev.gentoo.org/~ulm/distfiles/${P}-patches-1.tar.xz"
45 -
46 -LICENSE="LGPL-2.1+ MIT"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
49 -IUSE="examples jpeg +motif22-compatibility png static-libs unicode xft"
50 -
51 -RDEPEND=">=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
52 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
53 - >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}]
54 - >=x11-libs/libXp-1.0.2[${MULTILIB_USEDEP}]
55 - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
56 - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
57 - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
58 - unicode? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
59 - xft? (
60 - >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
61 - >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
62 - )"
63 -
64 -DEPEND="${RDEPEND}
65 - sys-devel/flex
66 - || ( dev-util/byacc sys-freebsd/freebsd-ubin )
67 - x11-misc/xbitmaps"
68 -
69 -src_prepare() {
70 - eapply ../patch
71 - eapply_user
72 -
73 - # disable compilation of demo binaries
74 - sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am
75 -
76 - # add X.Org vendor string to aliases for virtual bindings
77 - echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias
78 -
79 - # remove header file which shouldn't be in the tarball #578168
80 - rm lib/Xm/Xm.h || die
81 -
82 - AT_M4DIR=. eautoreconf
83 -
84 - # get around some LANG problems in make (#15119)
85 - LANG=C
86 -
87 - # bug #80421
88 - filter-flags -ftracer
89 -
90 - # feel free to fix properly if you care
91 - append-flags -fno-strict-aliasing
92 -
93 - # for Solaris Xos_r.h :(
94 - [[ ${CHOST} == *-solaris2.11 ]] \
95 - && append-cppflags -DNEED_XOS_R_H -DHAVE_READDIR_R_3
96 -
97 - if use !elibc_glibc && use !elibc_uclibc && use unicode; then
98 - # libiconv detection in configure script doesn't always work
99 - # http://bugs.motifzone.net/show_bug.cgi?id=1423
100 - export LIBS="${LIBS} -liconv"
101 - fi
102 -
103 - # "bison -y" causes runtime crashes #355795
104 - export YACC=byacc
105 -
106 - # remember the name of the C compiler for the native ABI
107 - MY_NATIVE_CC=$(tc-getCC)
108 -}
109 -
110 -multilib_src_configure() {
111 - ECONF_SOURCE="${S}" econf \
112 - --with-x \
113 - $(use_enable static-libs static) \
114 - $(use_enable motif22-compatibility) \
115 - $(use_enable unicode utf8) \
116 - $(use_enable xft) \
117 - $(use_enable jpeg) \
118 - $(use_enable png)
119 -}
120 -
121 -multilib_src_compile() {
122 - # The wmluiltok build tool is linked with libfl.a, so always
123 - # compile it for the native ABI
124 - emake -C tools/wml CC="${MY_NATIVE_CC}" LIBS="-lfl" wmluiltok
125 - emake
126 -}
127 -
128 -multilib_src_install() {
129 - emake DESTDIR="${D}" install
130 -
131 - if multilib_is_native_abi && use examples; then
132 - emake -C demos DESTDIR="${D}" install-data
133 - dodir /usr/share/doc/${PF}/demos
134 - mv "${ED}"/usr/share/Xm/* "${ED}"/usr/share/doc/${PF}/demos || die
135 - fi
136 -}
137 -
138 -multilib_src_install_all() {
139 - # mwm default configs
140 - insinto /usr/share/X11/app-defaults
141 - newins "${FILESDIR}"/Mwm.defaults Mwm
142 -
143 - # cleanup
144 - rm -rf "${ED}"/usr/share/Xm
145 - prune_libtool_files
146 -
147 - dodoc BUGREPORT ChangeLog README RELEASE RELNOTES TODO
148 -}