summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-07-09 22:12:49 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-07-09 22:12:49 +0000
commita974a6e1f9912b34375504d5e09cdcf3e3a7899f (patch)
treee7961ee8c2b7e124112b8a7703bb4c78afcea127 /dev-util/sashxb
parentAdded keywords. (diff)
downloadhistorical-a974a6e1f9912b34375504d5e09cdcf3e3a7899f.tar.gz
historical-a974a6e1f9912b34375504d5e09cdcf3e3a7899f.tar.bz2
historical-a974a6e1f9912b34375504d5e09cdcf3e3a7899f.zip
initial import, closes bug #4126
Diffstat (limited to 'dev-util/sashxb')
-rw-r--r--dev-util/sashxb/ChangeLog10
-rw-r--r--dev-util/sashxb/files/digest-sashxb-1.0.11
-rw-r--r--dev-util/sashxb/files/sashxb-1.0.1-mozilla.patch71
-rw-r--r--dev-util/sashxb/sashxb-1.0.1.ebuild64
4 files changed, 146 insertions, 0 deletions
diff --git a/dev-util/sashxb/ChangeLog b/dev-util/sashxb/ChangeLog
new file mode 100644
index 000000000000..fe92b6c454ed
--- /dev/null
+++ b/dev-util/sashxb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/sashxb
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sashxb/ChangeLog,v 1.1 2002/07/09 22:12:49 blizzy Exp $
+
+*sashxb-1.0.1 (10 Jul 2002)
+
+ 10 Jul 2002; Maik Schreiber <blizzy@gentoo.org> :
+
+ Initial import, closes bug #4126.
+ ebuild submitted by Leonardo Boshell <gentoo@kapcoweb.com>
diff --git a/dev-util/sashxb/files/digest-sashxb-1.0.1 b/dev-util/sashxb/files/digest-sashxb-1.0.1
new file mode 100644
index 000000000000..5ce921c117d7
--- /dev/null
+++ b/dev-util/sashxb/files/digest-sashxb-1.0.1
@@ -0,0 +1 @@
+MD5 f37871c2f439c3142c243911e9a5539e SashXB-1.0.1.tar.gz 441323
diff --git a/dev-util/sashxb/files/sashxb-1.0.1-mozilla.patch b/dev-util/sashxb/files/sashxb-1.0.1-mozilla.patch
new file mode 100644
index 000000000000..dddc22848e9f
--- /dev/null
+++ b/dev-util/sashxb/files/sashxb-1.0.1-mozilla.patch
@@ -0,0 +1,71 @@
+diff -NurB SashXB-1.0.1/configure SashXB-1.0.1-new/configure
+--- SashXB-1.0.1/configure 2002-06-20 12:37:03.000000000 -0500
++++ SashXB-1.0.1-new/configure 2002-06-24 21:00:07.000000000 -0500
+@@ -1841,10 +1841,17 @@
+ else
+
+ #we're using whatever comes from the rpms
+- MOZILLA_INCLUDE_DIR="`mozilla-config --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;print;\"`"
+- MOZILLA_LIB_DIR="`mozilla-config --libs | perl -ne \"s/..(.*)/\1/;print;\"`"
++ if [ -x /usr/lib/mozilla/mozilla-config ]
++ then
++ MOZ_CONFIG='/usr/lib/mozilla/mozilla-config'
++ else
++ MOZ_CONFIG='mozilla-config'
++ fi
++
++ MOZILLA_INCLUDE_DIR="`$MOZ_CONFIG --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;print;\"`"
++ MOZILLA_LIB_DIR="`$MOZ_CONFIG --libs | perl -ne \"s/..(.*)/\1/;print;\"`"
+ MOZILLA_BIN_DIR="/usr/bin"
+- MOZILLA_IDL_DIR="`mozilla-config --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;s/include/share\/idl/;print;\"`"
++ MOZILLA_IDL_DIR="`$MOZ_CONFIG --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;s/include/share\/idl/;print;\"`"
+ if ! test -f $MOZILLA_IDL_DIR/nsISupports.idl; then
+ MOZILLA_IDL_DIR="/usr/share/idl/mozilla"
+ fi
+diff -NurB SashXB-1.0.1/sashmacros/mozilla.m4 SashXB-1.0.1-new/sashmacros/mozilla.m4
+--- SashXB-1.0.1/sashmacros/mozilla.m4 2002-06-20 12:36:56.000000000 -0500
++++ SashXB-1.0.1-new/sashmacros/mozilla.m4 2002-06-24 21:09:27.000000000 -0500
+@@ -14,10 +14,17 @@
+ MOZILLA_IDL_DIR="$withval/idl"
+ ], [
+ #we're using whatever comes from the rpms
+- MOZILLA_INCLUDE_DIR="`mozilla-config --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;print;\"`"
+- MOZILLA_LIB_DIR="`mozilla-config --libs | perl -ne \"s/..(.*)/\1/;print;\"`"
++ if [ -x /usr/lib/mozilla/mozilla-config ]
++ then
++ MOZ_CONFIG='/usr/lib/mozilla/mozilla-config'
++ else
++ MOZ_CONFIG='mozilla-config'
++ fi
++
++ MOZILLA_INCLUDE_DIR="`$MOZ_CONFIG --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;print;\"`"
++ MOZILLA_LIB_DIR="`$MOZ_CONFIG --libs | perl -ne \"s/..(.*)/\1/;print;\"`"
+ MOZILLA_BIN_DIR="/usr/bin"
+- MOZILLA_IDL_DIR="`mozilla-config --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;s/include/share\/idl/;print;\"`"
++ MOZILLA_IDL_DIR="`$MOZ_CONFIG --cflags | cut -d " " -f 1 | perl -ne \"s/^..//;s/include/share\/idl/;print;\"`"
+ if ! test -f $MOZILLA_IDL_DIR/nsISupports.idl; then
+ MOZILLA_IDL_DIR="/usr/share/idl/mozilla"
+ fi
+diff -NurB SashXB-1.0.1/tools/sash-loader.sh SashXB-1.0.1-new/tools/sash-loader.sh
+--- SashXB-1.0.1/tools/sash-loader.sh 2002-06-20 12:36:39.000000000 -0500
++++ SashXB-1.0.1-new/tools/sash-loader.sh 2002-06-24 21:07:32.000000000 -0500
+@@ -39,10 +39,17 @@
+ dist_moz=$sashdir/mozilla-bin
+ local_components=$sashdir/components
+
+-mozilla_config=`which mozilla-config`
++if [ -x /usr/lib/mozilla/mozilla-config ]
++then
++ MOZ_CONFIG='/usr/lib/mozilla/mozilla-config'
++else
++ MOZ_CONFIG='mozilla-config'
++fi
++
++mozilla_config=$MOZ_CONFIG
+
+ if [ "$mozilla_config" != "" ]; then
+- mozilla_config_dir=`mozilla-config --libs | perl -ne 's/..(.*)/\1/;print;'`
++ mozilla_config_dir=`$MOZ_CONFIG --libs | perl -ne 's/..(.*)/\1/;print;'`
+ fi
+
+ if test -n "$MOZILLA_FIVE_HOME"; then
diff --git a/dev-util/sashxb/sashxb-1.0.1.ebuild b/dev-util/sashxb/sashxb-1.0.1.ebuild
new file mode 100644
index 000000000000..246dda12bbfd
--- /dev/null
+++ b/dev-util/sashxb/sashxb-1.0.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sashxb/sashxb-1.0.1.ebuild,v 1.1 2002/07/09 22:12:49 blizzy Exp $
+
+S="${WORKDIR}/SashXB-${PV}"
+
+DESCRIPTION="Application environment for HTML and JS developers."
+HOMEPAGE="http://oss.software.ibm.com/developerworks/opensource/sashxb/"
+SRC_URI="http://oss.software.ibm.com/developerworks/opensource/sashxb/download/runtime/SashXB-${PV}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND=">=virtual/glibc-2.2.3
+ >=net-www/mozilla-1.0
+ >=dev-libs/gdome2-0.7
+ dev-libs/libxml2
+ sys-devel/gettext
+ gnome-base/libglade
+ gnome-base/ORBit
+ sys-apps/e2fsprogs
+ media-libs/gdk-pixbuf
+ gnome-base/gnome-core"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ cd ${WORKDIR}
+
+ einfo `pwd`
+ einfo "S=${S}"
+
+ patch -p0 -i ${FILESDIR}/${P}-mozilla.patch
+
+ cd ${S}
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --with-mozilla-lib=/usr/lib/mozilla \
+ --with-mozilla-include=/usr/include/mozilla \
+ --with-mozilla-idl=/usr/lib/mozilla/include/idl \
+ || die "configure problem"
+
+ emake || die "compile problem"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "install problem"
+
+ dodoc ABOUT-NLS COPYING README TODO
+}
+
+pkg_postinst() {
+ einfo "The SashXB runtime has been installed. You may want to take a"
+ einfo "look at the Weblications gallery now, and install some of them"
+ einfo "from your regular user account (that means, *not* as root"
+ einfo "unless you know what you're doing):"
+ einfo ""
+ einfo "\thttp://oss.software.ibm.com/developerworks/opensource/sashxb/download/gallery.html"
+ einfo ""
+ einfo "For example, to install the Registry Test, type:"
+ einfo
+ einfo "\tsash-install regtest"
+}
+