diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2008-12-04 20:14:06 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2008-12-04 20:14:06 +0000 |
commit | 438d394e47e5facaa1a400795d1631f7da36e491 (patch) | |
tree | 55f39ffbefca721511483030d86d3bf0749a2815 /dev-tcltk | |
parent | Replace --enable-gtk2 which is gone, with --disable-dependency-tracking to sp... (diff) | |
download | historical-438d394e47e5facaa1a400795d1631f7da36e491.tar.gz historical-438d394e47e5facaa1a400795d1631f7da36e491.tar.bz2 historical-438d394e47e5facaa1a400795d1631f7da36e491.zip |
add patches from openSuSE:11, fix bug #248173
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tdom/ChangeLog | 11 | ||||
-rw-r--r-- | dev-tcltk/tdom/Manifest | 9 | ||||
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.8.2-expat.patch | 83 | ||||
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.8.2-tnc.patch | 73 | ||||
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.8.2.patch | 52 | ||||
-rw-r--r-- | dev-tcltk/tdom/metadata.xml | 7 | ||||
-rw-r--r-- | dev-tcltk/tdom/tdom-0.8.2.ebuild | 69 |
7 files changed, 300 insertions, 4 deletions
diff --git a/dev-tcltk/tdom/ChangeLog b/dev-tcltk/tdom/ChangeLog index 00dbfa3318bd..6bb262cde6b8 100644 --- a/dev-tcltk/tdom/ChangeLog +++ b/dev-tcltk/tdom/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-tcltk/tdom -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.2 2006/09/22 07:15:43 matsuu Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.3 2008/12/04 20:14:05 mescalinum Exp $ + +*tdom-0.8.2 (04 Dec 2008) + + 04 Dec 2008; Federico Ferri <mescalinum@gentoo.org> + +files/tdom-0.8.2-expat.patch, +files/tdom-0.8.2-tnc.patch, + +files/tdom-0.8.2.patch, metadata.xml, +tdom-0.8.2.ebuild: + add patches from openSuSE:11, fix bug #248173 *tdom-0.8.0-r1 (22 Sep 2006) diff --git a/dev-tcltk/tdom/Manifest b/dev-tcltk/tdom/Manifest index 6bca5f47118e..173776bf63a1 100644 --- a/dev-tcltk/tdom/Manifest +++ b/dev-tcltk/tdom/Manifest @@ -1,5 +1,10 @@ +AUX tdom-0.8.2-expat.patch 2454 RMD160 970b483eadcb4950d0cbdf1a53077bc001bdf7ff SHA1 6c6fe5de271414dcc6a19637f50213a34d233207 SHA256 acedb6caee024ef900dc04d1be1e48daf756db96d4367197386cd0899e1ad744 +AUX tdom-0.8.2-tnc.patch 2806 RMD160 cd6515b716c0d4c5718c65faa69d927a9c3607eb SHA1 1a6e0c7ce2e435bc5cc50845c12bfc645f7b17ad SHA256 f220162108eaf974a5f06b59de0ec130dc0703014cd9f7d7570dec2186b6a50f +AUX tdom-0.8.2.patch 2036 RMD160 7455431038e43cd57ceaad1c9595c68cf334ccd4 SHA1 8209a5d653531c2947ab22bf8ee396c3e080fb59 SHA256 523967222cf5d72fe84924b40f371831a10875599df9dd8d0c80ab2f5aa78472 DIST tDOM-0.8.0.tar.gz 886455 RMD160 9eddcd41898b01f0f6cf4d60a154ebe7fec1d47c SHA1 69f7e94cbde95f834aed6a1caf87137c8a49e700 SHA256 1a05313dac523f0eef5b0b4e6b801ede7089badef9921293ddad822921f74d2f +DIST tDOM-0.8.2.tgz 969804 RMD160 a0ca4c2e45b97c5a7bdfeee20165a537b7fe6d8b SHA1 c4ee4e013b084f8af57f35a2a06eb0a428508978 SHA256 561e482b95906b5a64b69cbc7c13d01b7a34a95144744796fbc1219042cd5843 EBUILD tdom-0.8.0-r1.ebuild 1385 RMD160 98f2effcd9a4415b72e6227a669df2f007bf30aa SHA1 5a7b09daed469c5233bf16d1e757873c96f57cfe SHA256 4e0ae371d4e8a55f76b5052f6add2f7c640da2e7d7e69eb5b65f8ee1ac0b8e92 EBUILD tdom-0.8.0.ebuild 1194 RMD160 240ff0493d9dcafd5c0dc7e676c242bf557709a0 SHA1 227388be2ab5557a6f0767a83cd082a086765d2e SHA256 5408cea91dd82259c8768d1bedd224b4693560b3743dec6f28784b87be4bddca -MISC ChangeLog 492 RMD160 a258f853db175f3a206edaef68b8b59fa7b91d8b SHA1 dde7c0cf087f1fe3908ea3ac2e6ae2ff1709e4ba SHA256 85a9c6a01776e7b2617e429ba77b2dad9c95ef568a2770d90de675ec6d66afc5 -MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 +EBUILD tdom-0.8.2.ebuild 1614 RMD160 d2c9fb5027008363b2688ba8286a49880f27a3f2 SHA1 a5944324681d9c15f4018b689e543833fe79ccb2 SHA256 d8d68b7a5c14d0190c521158fb0207f37f1862a70e2aa3aa730a66a45a65ecef +MISC ChangeLog 749 RMD160 1d06b7f7d21d184bdeb8a0e23b60edddbb2570a4 SHA1 a8c92981c394cf37a377356e8c1c21e4a5133394 SHA256 7aa6a69eab124fe3350af2e71992716dc7f286b4b39877e205abcc94cb4c99c8 +MISC metadata.xml 506 RMD160 64acb4c60d16af9671c886bfddd131fffdda567e SHA1 782d04976241e8c6a4424f6df3dae44da5b66b22 SHA256 256ffec60ada12ee5e607bc03f92dd2b611a57a965734b020dda43969eb4270f diff --git a/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch b/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch new file mode 100644 index 000000000000..cdcbb1006f4d --- /dev/null +++ b/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch @@ -0,0 +1,83 @@ +Source: http://download.opensuse.org/repositories/openSUSE:/11.0/standard/src/tdom-0.8.2-50.1.src.rpm +Index: Makefile.in +================================================================================ +--- configure.in ++++ configure.in +@@ -72,6 +72,7 @@ + #-------------------------------------------------------------------- + + TDOM_PATH_AOLSERVER ++TDOM_PATH_EXPAT + + #----------------------------------------------------------------------- + # __CHANGE__ +@@ -83,10 +84,7 @@ + # and PKG_TCL_SOURCES. + #----------------------------------------------------------------------- + +-TEA_ADD_SOURCES([expat/xmlrole.c \ +- expat/xmltok.c \ +- expat/xmlparse.c \ +- generic/xmlsimple.c \ ++TEA_ADD_SOURCES([generic/xmlsimple.c \ + generic/utf8conv.c \ + generic/dom.c \ + generic/domalloc.c \ +@@ -100,7 +98,7 @@ + generic/tclexpat.c \ + generic/tdomStubInit.c]) + TEA_ADD_HEADERS([generic/tdom.h]) +-TEA_ADD_INCLUDES([-I${srcdir}/generic -I${srcdir}/expat ${AOL_INCLUDES}]) ++TEA_ADD_INCLUDES([-I${srcdir}/generic ${AOL_INCLUDES}]) + TEA_ADD_LIBS([${AOL_LIBS}]) + TEA_ADD_CFLAGS([]) + TEA_ADD_STUB_SOURCES([generic/tdomStubLib.c]) +--- tdom.m4 ++++ tdom.m4 +@@ -215,6 +215,46 @@ + fi + ]) + ++ ++AC_DEFUN(TDOM_PATH_EXPAT, [ ++ AC_MSG_CHECKING([for expat]) ++ AC_ARG_WITH(expat, ++ AC_HELP_STRING([--with-expat], ++ [directory with expat installation]), , [with_expat=no]) ++ ++ AC_CACHE_VAL(ac_cv_c_expat,[ ++ case $with_expat in ++ no) ;; ++ yes) ++ for f in /usr/local /usr; do ++ if test -f "$f/include/expat.h" ; then ++ ac_cv_c_expat=`(cd $f; pwd)` ++ break ++ fi ++ done ++ ;; ++ *) ++ if test -f "$with_expat/include/expat.h"; then ++ ac_cv_c_expat=`(cd $with_expat; pwd)` ++ else ++ AC_MSG_ERROR([${with_expat} directory doesn't contain expat.h]) ++ fi ++ esac ++ ]) ++ if test x"${ac_cv_c_expat}" = x ; then ++ AC_MSG_RESULT([using local copy]) ++ TEA_ADD_SOURCES([expat/xmlrole.c \ ++ expat/xmltok.c \ ++ expat/xmlparse.c]) ++ TEA_ADD_INCLUDES([-I${srcdir}/expat]) ++ else ++ AC_MSG_RESULT([${ac_cv_c_expat}]) ++ TEA_ADD_INCLUDES(${ac_cv_c_expat}/include) ++ TEA_ADD_LIBS([-lexpat]) ++ fi ++]) ++ ++ + #------------------------------------------------------------------------ + # TDOM_PATH_CONFIG -- + # diff --git a/dev-tcltk/tdom/files/tdom-0.8.2-tnc.patch b/dev-tcltk/tdom/files/tdom-0.8.2-tnc.patch new file mode 100644 index 000000000000..7fa200b9ee33 --- /dev/null +++ b/dev-tcltk/tdom/files/tdom-0.8.2-tnc.patch @@ -0,0 +1,73 @@ +Source: http://download.opensuse.org/repositories/openSUSE:/11.0/standard/src/tdom-0.8.2-50.1.src.rpm +--- extensions/tnc/Makefile.in ++++ extensions/tnc/Makefile.in +@@ -355,29 +355,30 @@ + #======================================================================== + + install-lib-binaries: binaries +- @mkdir -p $(DESTDIR)$(pkglibdir) ++ @mkdir -p $(DESTDIR)$(libdir) + @list='$(lib_BINARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p"; \ ++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \ + stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \ + if test "x$$stub" = "xstub"; then \ +- echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p"; \ ++ $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p; \ + else \ +- echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ ++ $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ + fi; \ + ext=`echo $$p|sed -e "s/.*\.//"`; \ + if test "x$$ext" = "xdll"; then \ + lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \ + if test -f $$lib; then \ +- echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; \ +- $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \ ++ echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib"; \ ++ $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib; \ + fi; \ + fi; \ + fi; \ + done ++ @mkdir -p $(DESTDIR)$(pkglibdir) + @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + destp=`basename $$p`; \ +--- extensions/tnc/configure.in ++++ extensions/tnc/configure.in +@@ -89,7 +89,7 @@ + if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes" ; then + TEA_ADD_LIBS([\"`${CYGPATH} ${TDOM_STUB_LIB_PATH}`\"]) + else +- TEA_ADD_LIBS([${TDOM_STUB_LIB_SPEC}]) ++ TEA_ADD_LIBS([${TDOM_BUILD_STUB_LIB_SPEC}]) + fi + + #-------------------------------------------------------------------- +--- extensions/tnc/pkgIndex.tcl.in ++++ extensions/tnc/pkgIndex.tcl.in +@@ -2,4 +2,4 @@ + + package ifneeded tnc @PACKAGE_VERSION@ \ + "package require tdom; \ +- [list load [file join $dir @PKG_LIB_FILE@] tnc]" ++ [list load @PKG_LIB_FILE@ tnc]" +--- extensions/tnc/Makefile.in ++++ extensions/tnc/Makefile.in +@@ -160,7 +160,7 @@ DEFS = @DEFS@ $(PKG_CFLAGS) + CONFIG_CLEAN_FILES = Makefile + + CPPFLAGS = @CPPFLAGS@ +-LIBS = @PKG_LIBS@ @LIBS@ ++LIBS = @PKG_LIBS@ @LIBS@ -L../../unix/ + AR = @AR@ + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) diff --git a/dev-tcltk/tdom/files/tdom-0.8.2.patch b/dev-tcltk/tdom/files/tdom-0.8.2.patch new file mode 100644 index 000000000000..73af7c60e141 --- /dev/null +++ b/dev-tcltk/tdom/files/tdom-0.8.2.patch @@ -0,0 +1,52 @@ +Source: http://download.opensuse.org/repositories/openSUSE:/11.0/standard/src/tdom-0.8.2-50.1.src.rpm +--- Makefile.in ++++ Makefile.in +@@ -307,7 +307,7 @@ + + pkgIndex.tcl-hand: + @(echo 'package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION)\ +- "load [list [file join $$dir $(PKG_LIB_FILE)]];\ ++ "load $(PKG_LIB_FILE);\ + source [list [file join $$dir tdom.tcl]]"'\ + ) > pkgIndex.tcl + +@@ -385,29 +385,30 @@ + #======================================================================== + + install-lib-binaries: binaries +- @mkdir -p $(DESTDIR)$(pkglibdir) ++ @mkdir -p $(DESTDIR)$(libdir) + @list='$(lib_BINARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p"; \ ++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \ + stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \ + if test "x$$stub" = "xstub"; then \ +- echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p"; \ ++ $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p; \ + else \ +- echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \ +- $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \ ++ echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ ++ $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ + fi; \ + ext=`echo $$p|sed -e "s/.*\.//"`; \ + if test "x$$ext" = "xdll"; then \ + lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \ + if test -f $$lib; then \ +- echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; \ +- $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \ ++ echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib"; \ ++ $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib; \ + fi; \ + fi; \ + fi; \ + done ++ @mkdir -p $(DESTDIR)$(pkglibdir) + @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + destp=`basename $$p`; \ diff --git a/dev-tcltk/tdom/metadata.xml b/dev-tcltk/tdom/metadata.xml index d9408d8ab078..8ea740992822 100644 --- a/dev-tcltk/tdom/metadata.xml +++ b/dev-tcltk/tdom/metadata.xml @@ -2,4 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>tcltk</herd> +<longdescription> +tDOM combines high performance XML data processing with easy and +powerful Tcl scripting functionality. tDOM should be one of the fastest +ways to manipulate XML with a scripting language and uses very few +memory: for example, the DOM tree of the XML recommendation in XML +(160K) needs only about 450K of memory. +</longdescription> </pkgmetadata> diff --git a/dev-tcltk/tdom/tdom-0.8.2.ebuild b/dev-tcltk/tdom/tdom-0.8.2.ebuild new file mode 100644 index 000000000000..c4bc6b0742be --- /dev/null +++ b/dev-tcltk/tdom/tdom-0.8.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/tdom-0.8.2.ebuild,v 1.1 2008/12/04 20:14:05 mescalinum Exp $ + +inherit autotools eutils + +MY_P="tDOM-${PV}" +DESCRIPTION="A XML/DOM/XPath/XSLT Implementation for Tcl" +HOMEPAGE="http://www.tdom.org/" +SRC_URI="http://www.tdom.org/files/${MY_P}.tgz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="threads" + +DEPEND=">=dev-lang/tcl-8.4.3 + >=dev-libs/expat-2.0.1" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + + cd "${S}" + #sed -i -e "s/relid'/relid/" configure* tclconfig/tcl.m4 \ + # extensions/tnc/configure extensions/example/{configure,tcl.m4} || die + epatch "${FILESDIR}/${P}.patch" + epatch "${FILESDIR}/${P}-expat.patch" + epatch "${FILESDIR}/${P}-tnc.patch" + eautoreconf +} + +src_compile() { + local myconf="" + + myconf="${myconf} $(use_enable threads) + --enable-shared + --disable-tdomalloc + --with-expat" + + cd "${S}"/unix + ECONF_SOURCE=".." econf ${myconf} || die "failed to configure" + emake || die "failed to compile tdom" + + # compile tdomhtml + cd "${S}"/extensions/tdomhtml + econf || die "fail to configure tdomhtml" + emake || die "fail to compile tdomhtml" + + # compile tnc + cd "${S}"/extensions/tnc + econf ${myconf} || die "failed to configure tnc" + emake || die "failed to compile tnc" +} + +src_install() { + cd "${S}"/unix + emake DESTDIR="${D}" install || die + + cd "${S}"/extensions/tdomhtml + emake DESTDIR="${D}" install || die + + cd "${S}"/extensions/tnc + emake DESTDIR="${D}" install || die + + cd "${S}" + dodoc CHANGES ChangeLog README* +} |