summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-12 14:18:25 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-12 14:18:25 +0000
commit5397458b98094a30d7adbc70378aea6bf1d45056 (patch)
tree95565246623e88e896b994450770a0f805948f02 /x11-libs
parentversion bump and clean up (diff)
downloadgentoo-2-5397458b98094a30d7adbc70378aea6bf1d45056.tar.gz
gentoo-2-5397458b98094a30d7adbc70378aea6bf1d45056.tar.bz2
gentoo-2-5397458b98094a30d7adbc70378aea6bf1d45056.zip
Sanitized ebuild by jakub, bug 91951.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/motif-config/ChangeLog12
-rw-r--r--x11-libs/motif-config/files/bindings.tbz2bin5342 -> 0 bytes
-rw-r--r--x11-libs/motif-config/files/bitmaps.tbz2bin3165 -> 0 bytes
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.102
-rw-r--r--x11-libs/motif-config/motif-config-0.10-r2.ebuild76
5 files changed, 87 insertions, 3 deletions
diff --git a/x11-libs/motif-config/ChangeLog b/x11-libs/motif-config/ChangeLog
index a9cb9c8d66c7..c3ec94428bd2 100644
--- a/x11-libs/motif-config/ChangeLog
+++ b/x11-libs/motif-config/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for x11-libs/motif-config
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.27 2007/09/27 01:41:12 jer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/ChangeLog,v 1.28 2008/02/12 14:18:24 ulm Exp $
+
+*motif-config-0.10-r2 (12 Feb 2008)
+
+ 12 Feb 2008; Ulrich Mueller <ulm@gentoo.org> files/motif-config-0.10,
+ -files/bindings.tbz2, -files/bitmaps.tbz2, +motif-config-0.10-r2.ebuild:
+ Install bindings and bitmaps, move their tarballs to mirrors. Add MOTIF
+ to LICENSE. Update dependencies. Ebuild by Jakub Moc <jakub@gentoo.org>,
+ bug 91951. Fix version number in motif-config script.
27 Sep 2007; Jeroen Roovers <jer@gentoo.org> files/motif-config-0.9,
files/motif-config-0.10:
diff --git a/x11-libs/motif-config/files/bindings.tbz2 b/x11-libs/motif-config/files/bindings.tbz2
deleted file mode 100644
index 403a13ad0662..000000000000
--- a/x11-libs/motif-config/files/bindings.tbz2
+++ /dev/null
Binary files differ
diff --git a/x11-libs/motif-config/files/bitmaps.tbz2 b/x11-libs/motif-config/files/bitmaps.tbz2
deleted file mode 100644
index 1a757a938612..000000000000
--- a/x11-libs/motif-config/files/bitmaps.tbz2
+++ /dev/null
Binary files differ
diff --git a/x11-libs/motif-config/files/motif-config-0.10 b/x11-libs/motif-config/files/motif-config-0.10
index 19b74b2e7902..0b250166fc83 100755
--- a/x11-libs/motif-config/files/motif-config-0.10
+++ b/x11-libs/motif-config/files/motif-config-0.10
@@ -294,7 +294,7 @@ for x in "$@"; do
;;
-v|--version)
- echo "motif-config-0.9"
+ echo "motif-config-0.10"
exit 0
;;
diff --git a/x11-libs/motif-config/motif-config-0.10-r2.ebuild b/x11-libs/motif-config/motif-config-0.10-r2.ebuild
new file mode 100644
index 000000000000..60d0206e2102
--- /dev/null
+++ b/x11-libs/motif-config/motif-config-0.10-r2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/motif-config/motif-config-0.10-r2.ebuild,v 1.1 2008/02/12 14:18:24 ulm Exp $
+
+inherit multilib
+
+DESCRIPTION="Utility to change the default Motif library"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}-bindings.tar.bz2
+ mirror://gentoo/${P}-bitmaps.tar.bz2"
+
+LICENSE="GPL-2 MOTIF"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# These blockers are here for transition to a single, non-slotted
+# motif implementation. We are forcing users to unmerge all other
+# slots and implementations before upgrading.
+DEPEND="!<x11-libs/openmotif-2.3.0
+ !x11-libs/lesstif"
+RDEPEND="${DEPEND}"
+PDEPEND=">=x11-libs/openmotif-2.3.0"
+
+src_install() {
+ newbin "${FILESDIR}"/${P} motif-config || die
+ dosed "s:@@LIBDIR@@:$(get_libdir):g" /usr/bin/motif-config
+
+ # for profile
+ keepdir /usr/$(get_libdir)/motif
+
+ # bitmaps
+ insinto /usr/include/X11/bitmaps
+ doins bitmaps/*
+
+ # bindings
+ insinto /usr/$(get_libdir)/X11/bindings
+ doins bindings/*
+
+ # mwm default config
+ insinto /etc/X11/app-defaults
+ doins "${FILESDIR}"/Mwm.defaults
+
+ insinto /etc/X11/mwm
+ doins "${FILESDIR}"/system.mwmrc
+
+ dodir /usr/$(get_libdir)/X11
+ dosym /etc/X11/mwm /usr/$(get_libdir)/X11/mwm
+}
+
+pkg_preinst() {
+ # clean up orphaned cruft left over by old versions
+ local staledirs="usr/$(get_libdir)/motif/openmotif-2.1 \
+ usr/$(get_libdir)/motif/openmotif-2.1 \
+ usr/include/openmotif-2.1 \
+ usr/$(get_libdir)/openmotif-2.1 \
+ usr/$(get_libdir)/motif/openmotif-2.2 \
+ usr/include/openmotif-2.2 \
+ usr/$(get_libdir)/openmotif-2.2 \
+ usr/$(get_libdir)/motif/lesstif-1.2 \
+ usr/include/lesstif-1.2 \
+ usr/$(get_libdir)/lesstif-1.2 \
+ usr/$(get_libdir)/motif/lesstif-2.1 \
+ usr/include/lesstif-2.1 \
+ usr/$(get_libdir)/lesstif-2.1 \
+ usr/include/Xm \
+ usr/include/uil \
+ usr/include/Mrm"
+
+ for i in ${staledirs} ; do
+ if [[ -d "${ROOT}"${i} ]] ; then
+ einfo "Cleaning up orphaned ${ROOT}${i}..."
+ rm -rf "${ROOT}"${i}
+ fi
+ done
+}