summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-04-26 13:56:47 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-04-26 13:56:47 +0000
commite0a1ea0104287e4f84a89def642c1695e766da3c (patch)
treef1f629b4fd9cfcbaec480478de138aea3ece3569 /x11-libs
parentFix building with gcc4. (diff)
downloadgentoo-2-e0a1ea0104287e4f84a89def642c1695e766da3c.tar.gz
gentoo-2-e0a1ea0104287e4f84a89def642c1695e766da3c.tar.bz2
gentoo-2-e0a1ea0104287e4f84a89def642c1695e766da3c.zip
motif-config-0.9
(Portage version: 2.0.51.19)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/lesstif/Manifest20
-rw-r--r--x11-libs/lesstif/lesstif-0.93.94-r4.ebuild117
-rw-r--r--x11-libs/lesstif/lesstif-0.94.4.ebuild105
3 files changed, 227 insertions, 15 deletions
diff --git a/x11-libs/lesstif/Manifest b/x11-libs/lesstif/Manifest
index 2e1aad2f2817..14fcd6de46c1 100644
--- a/x11-libs/lesstif/Manifest
+++ b/x11-libs/lesstif/Manifest
@@ -1,21 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ed8ed0bfe2466de324df14efaf19278e lesstif-0.94.0-r6.ebuild 2494
-MD5 112451f7e32410b51b0f47cdeaa7789f lesstif-0.93.94-r3.ebuild 2634
+MD5 40a6667db0b505b0893d92975a2b4a8b lesstif-0.93.94-r4.ebuild 2828
+MD5 0ba8aea0dd65c4fa21c98750643bd143 lesstif-0.94.4.ebuild 2432
MD5 041d4da21c612ebce8ededeb533ecf8b lesstif-0.94.0-r2.ebuild 2112
-MD5 a6e1f758fc3698bd57185c5b86fd1469 ChangeLog 8205
+MD5 0016f98a3f47df5447016b03c72d5ad7 ChangeLog 8476
MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
MD5 ca6ecc032ac0934b8c737650d6550162 lesstif-0.94.0.ebuild 2039
MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0 68
+MD5 453b25066fafd67eb2452071e518c71b files/digest-lesstif-0.94.4 68
MD5 10373c1e87b0208cd26888011a4d92de files/CAN-2005-0605.patch 1194
-MD5 45fa63580e7de408204bea30102331f8 files/digest-lesstif-0.93.94-r3 144
+MD5 c7b5275912acf7fd3ae16a24dca410ec files/digest-lesstif-0.93.94-r4 145
MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r2 68
-MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r6 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCZOpaevY57Fted3ERAowAAJ96tFOvhTa5vl2/stuD2a6SKD/K6gCfdRZ6
-b4RIg0VrMmbFKXe0QoU6vZk=
-=Ou1p
------END PGP SIGNATURE-----
diff --git a/x11-libs/lesstif/lesstif-0.93.94-r4.ebuild b/x11-libs/lesstif/lesstif-0.93.94-r4.ebuild
new file mode 100644
index 000000000000..f089efaca977
--- /dev/null
+++ b/x11-libs/lesstif/lesstif-0.93.94-r4.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.93.94-r4.ebuild,v 1.1 2005/04/26 13:56:47 lanius Exp $
+
+# disable sandbox, needed for motif-config
+SANDBOX_DISABLED="1"
+
+inherit libtool flag-o-matic multilib
+
+DESCRIPTION="An OSF/Motif(R) clone"
+HOMEPAGE="http://www.lesstif.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ mirror://debian/pool/main/l/lesstif1-1/lesstif1-1_0.93.94-11.2.diff.gz"
+
+LICENSE="LGPL-2"
+SLOT="1.2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~ppc-macos ~sparc ~x86 ~ia64"
+IUSE="static"
+
+RDEPEND="virtual/libc
+ virtual/x11
+ >=x11-libs/motif-config-0.9"
+
+DEPEND="dev-lang/perl
+ ${RDEPEND}"
+
+PROVIDE="virtual/motif"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${DISTDIR}/lesstif1-1_0.93.94-11.2.diff.gz
+}
+
+src_compile() {
+ use ppc-macos || elibtoolize
+
+ if use ppc-macos; then
+ append-ldflags -L/usr/X11R6/lib -lX11 -lXt
+ fi
+
+ econf \
+ $(use_enable static) \
+ --enable-production \
+ --enable-verbose=no \
+ --enable-build-12 \
+ --disable-build-20 \
+ --disable-build-21 \
+ --with-x || die "./configure failed"
+
+ # fix linkage against already installed version
+ perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool
+
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ # fix linkage against already installed version
+ for f in `find . -name \*.la -type f` ; do
+ perl -pi -e 's/^(relink_command=.*)/# $1/' $f
+ done
+
+ make DESTDIR=${D} install || die "make install"
+
+
+ einfo "Fixing binaries"
+ dodir /usr/$(get_libdir)/lesstif-1.2
+ for file in `ls ${D}/usr/bin`
+ do
+ mv ${D}/usr/bin/${file} ${D}/usr/$(get_libdir)/lesstif-1.2/${file}
+ done
+
+ einfo "Fixing libraries"
+ mv ${D}/usr/lib/* ${D}/usr/$(get_libdir)/lesstif-1.2/
+
+ einfo "Fixing includes"
+ dodir /usr/include/lesstif-1.2/
+ mv ${D}/usr/include/* ${D}/usr/include/lesstif-1.2
+
+ einfo "Fixing man pages"
+ mans="1 3 5"
+ for man in $mans; do
+ dodir /usr/share/man/man${man}
+ for file in `ls ${D}/usr/share/man/man${man}`
+ do
+ file=${file/.${man}/}
+ mv ${D}/usr/share/man/man$man/${file}.${man} ${D}/usr/share/man/man${man}/${file}-lesstif-1.2.${man}
+ done
+ done
+
+
+ einfo "Fixing docs"
+ dodir /usr/share/doc/
+ mv ${D}/usr/LessTif ${D}/usr/share/doc/${P}
+ rm -fR ${D}/usr/$(get_libdir)/LessTif
+
+ # cleanup
+ rm -f ${D}/usr/$(get_libdir)/lesstif-1.2/mxmkmf
+ rm -fR ${D}/usr/share/aclocal/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-1.2/LessTif/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-1.2/X11/
+ rm -fR ${D}/usr/$(get_libdir)/X11/
+
+ # profile stuff
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/lesstif-1.2" > ${D}/etc/env.d/15lesstif-1.2
+ dodir /usr/$(get_libdir)/motif
+ echo "PROFILE=lesstif-1.2" > ${D}/usr/$(get_libdir)/motif/lesstif-1.2
+}
+
+pkg_postinst() {
+ motif-config -s
+}
+
+pkg_postrm() {
+ motif-config -s
+}
diff --git a/x11-libs/lesstif/lesstif-0.94.4.ebuild b/x11-libs/lesstif/lesstif-0.94.4.ebuild
new file mode 100644
index 000000000000..e74f78040978
--- /dev/null
+++ b/x11-libs/lesstif/lesstif-0.94.4.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.4.ebuild,v 1.1 2005/04/26 13:56:47 lanius Exp $
+
+# disable sandbox, needed for motif-config
+SANDBOX_DISABLED="1"
+
+inherit libtool flag-o-matic multilib
+
+DESCRIPTION="An OSF/Motif(R) clone"
+HOMEPAGE="http://www.lesstif.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="2.1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~ppc-macos ~sparc ~x86 ~ia64"
+IUSE="static"
+
+RDEPEND="virtual/libc
+ virtual/x11
+ >=x11-libs/motif-config-0.9"
+
+DEPEND="dev-lang/perl
+ ${RDEPEND}"
+
+PROVIDE="virtual/motif"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/CAN-2005-0605.patch
+}
+
+src_compile() {
+ use ppc-macos || libtoolize --force --copy
+
+ if use ppc-macos; then
+ append-ldflags -L/usr/X11R6/lib -lX11 -lXt
+ fi
+
+ econf \
+ $(use_enable static) \
+ --enable-production \
+ --enable-verbose=no \
+ --with-x || die "./configure failed"
+
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install"
+
+
+ einfo "Fixing binaries"
+ dodir /usr/$(get_libdir)/lesstif-2.1
+ for file in `ls ${D}/usr/bin`
+ do
+ mv ${D}/usr/bin/${file} ${D}/usr/$(get_libdir)/lesstif-2.1/${file}
+ done
+
+ einfo "Fixing libraries"
+ mv ${D}/usr/lib/* ${D}/usr/$(get_libdir)/lesstif-2.1/
+
+ einfo "Fixing includes"
+ dodir /usr/include/lesstif-2.1/
+ mv ${D}/usr/include/* ${D}/usr/include/lesstif-2.1
+
+ einfo "Fixing man pages"
+ mans="1 3 5"
+ for man in $mans; do
+ dodir /usr/share/man/man${man}
+ for file in `ls ${D}/usr/share/man/man${man}`
+ do
+ file=${file/.${man}/}
+ mv ${D}/usr/share/man/man$man/${file}.${man} ${D}/usr/share/man/man${man}/${file}-lesstif-2.1.${man}
+ done
+ done
+
+
+ einfo "Fixing docs"
+ dodir /usr/share/doc/
+ mv ${D}/usr/LessTif ${D}/usr/share/doc/${P}
+ rm -fR ${D}/usr/$(get_libdir)/LessTif
+
+ # cleanup
+ rm -f ${D}/usr/$(get_libdir)/lesstif-2.1/mxmkmf
+ rm -fR ${D}/usr/share/aclocal/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-2.1/LessTif/
+ rm -fR ${D}/usr/$(get_libdir)/lesstif-2.1/X11/
+ rm -fR ${D}/usr/$(get_libdir)/X11/
+
+ # profile stuff
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/lesstif-2.1" > ${D}/etc/env.d/15lesstif-2.1
+ dodir /usr/$(get_libdir)/motif
+ echo "PROFILE=lesstif-2.1" > ${D}/usr/$(get_libdir)/motif/lesstif-2.1
+}
+
+pkg_postinst() {
+ motif-config -s
+}
+
+pkg_postrm() {
+ motif-config -s
+}