Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/web
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27926/10.3/stable/main/finkinfo/web

Modified Files:
        tidy.info 
Added Files:
        tidy.patch 
Log Message:
new version to stable (also with packaging bugs fixed)


--- NEW FILE: tidy.patch ---
diff -urN tidy/build/gmake/Makefile tidy.patched/build/gmake/Makefile
--- tidy/build/gmake/Makefile   2005-07-15 03:58:10.000000000 -0300
+++ tidy.patched/build/gmake/Makefile   2006-03-09 11:33:58.000000000 -0300
@@ -58,13 +58,13 @@
 PROJECT=tidy
 
 # Installation variables.  Spaces OK, only dir create and file copy operations.
-runinst_prefix=/usr/local
-devinst_prefix=/usr/local
+runinst_prefix=${PREFIX}
+devinst_prefix=${PREFIX}
 
 bininst = ${runinst_prefix}/bin
 libinst = ${devinst_prefix}/lib
 incinst = ${devinst_prefix}/include/$(PROJECT)
-maninst = ${devinst_prefix}/man
+maninst = ${devinst_prefix}/share/man
 
 # Internal variables. - No spaces allowed: libtool chokes on spaces in 
directory names.
 TOPDIR = ../..
@@ -84,7 +84,7 @@
 # flags only supported with gcc 3.x
 # CFLAGS += -Wunused-parameter
 
-OTHERCFLAGS=
+OTHERCFLAGS= -prebind
 OTHERCFLAGS+= -D_DEBUG=1
 # OTHERCFLAGS+= -DSUPPORT_ACCESSIBILITY_CHECKS=1 -DSUPPORT_UTF16_ENCODINGS=1 
-DSUPPORT_ASIAN_ENCODINGS=1
 ifdef SUPPORT_UTF16_ENCODINGS
@@ -116,6 +116,7 @@
 
 LIBRARY = $(LIBDIR)/$(LIBPREFIX)$(PROJECT)$(LIBSUFFIX)
 AR=ar -r
+RANLIB = ranlib
 
 XSLTPROC = xsltproc
 
@@ -175,7 +176,7 @@
 
 $(BINDIR)/$(PROJECT):  $(APPDIR)/tidy.c $(HFILES) $(LIBRARY)
        if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi
-       $(CC) $(CFLAGS) $(OTHERCFLAGS) -o $@ $(APPDIR)/tidy.c -I$(INCDIR) 
-L$(LIBDIR) -l$(PROJECT)
+       $(CC) $(CFLAGS) $(OTHERCFLAGS) -o $@ $(APPDIR)/tidy.c -I$(INCDIR) 
$(LIBRARY)
 
 $(BINDIR)/tab2space: $(APPDIR)/tab2space.c
        if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi
diff -urN tidy/include/platform.h tidy.patched/include/platform.h
--- tidy/include/platform.h     2005-06-16 03:58:05.000000000 -0300
+++ tidy.patched/include/platform.h     2006-03-01 10:39:56.000000000 -0300
@@ -33,7 +33,7 @@
   It enables tidy to find config files named ~/.tidyrc if 
   the HTML_TIDY environment variable is not set.
 */
-/* #define USER_CONFIG_FILE "~/.tidyrc" */
+#define USER_CONFIG_FILE "~/.tidyrc"
 
 /*
   Uncomment the following #define if your
@@ -48,7 +48,7 @@
   Contributed by Todd Lewis.
 */
 
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
 
 
 /* Enable/disable support for Big5 and Shift_JIS character encodings */

Index: tidy.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/web/tidy.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- tidy.info   6 Dec 2006 18:09:56 -0000       1.3
+++ tidy.info   7 Dec 2006 05:10:39 -0000       1.4
@@ -1,53 +1,133 @@
 Package: tidy
-Version: 20021210
-Revision: 2
-Maintainer: None <fink-devel@lists.sourceforge.net>
+Version: 051026
+Revision: 3
+Epoch: 1
+Description: Utility to clean up HTML/XHTML/XML
+License: BSD
+Maintainer: Adrian Mugnolo <[EMAIL PROTECTED]>
 #
-Source: http://tidy.sourceforge.net/src/old/tidy_src_021210.tgz
-Source-MD5: 4bc3205d1088bc5e8fee3d148d0aa203
-Source2: http://tidy.sourceforge.net/docs/tidy_docs_021204.tgz
-Source2-MD5: 2f60eea94fe0cf713332f7d5cea8f567
+CustomMirror: <<
+  Location1: http://tidy.sourceforge.net/src
+  Location2: http://tidy.sourceforge.net/src/old
+<<
+Source: mirror:custom:%n_src_%v.tgz
+Source-MD5: 1e39fafd6808978871346658c8da1454
+Source2: http://tidy.sourceforge.net/docs/%n_docs_051020.tgz
+Source2-MD5: 86de2f198e57399c063d2567b2a25628
 SourceDirectory: %n
+#
+Patch: %n.patch
 PatchScript: <<
-  mv Makefile Makefile.orig
-  sed -e 's:$(AR) $@ $(OBJFILES):$(AR) $@ $(OBJFILES) ; ranlib $@:' < 
Makefile.orig > Makefile
-  head -n 67 include/tidy.h | tail -n 55 > COPYRIGHT
+  sed -n '9,45p;45q' htmldoc/license.html > LICENSE
 <<
+#
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
-CompileScript: make OTHERCFLAGS=-prebind
+CompileScript: <<
+  cd build/gmake ; make all doc
+<<
+#
 InstallScript: <<
-  make install runinst_prefix=%i devinst_prefix=%i 
maninst='${devinst_prefix}/share/man'
-  mkdir -p %i/share/doc
-  cp -R htmldoc %i/share/doc/%n
+  cd build/gmake ; make PREFIX=%i install
 <<
-DocFiles: COPYRIGHT
+DocFiles: <<
+  LICENSE
+  htmldoc/Overview.html:index.html
+  htmldoc/checked_by_tidy.gif
+  htmldoc/faq.html
+  htmldoc/grid.gif
+  htmldoc/license.html
+  htmldoc/pending.html
+  htmldoc/quickref.html
+  htmldoc/release-notes.html
+  htmldoc/tidy.css
+  htmldoc/tidy.gif
+<<
+#
 Homepage: http://tidy.sourceforge.net
-Description: Utility to tidy up HTML code
 DescDetail: <<
- When editing HTML it's easy to make mistakes. Wouldn't it be nice if there 
-was a simple way to fix these mistakes automatically and tidy up sloppy 
-editing into nicely layed out markup? Well now there is! Dave Raggett's HTML 
-TIDY is a free utility for doing just that. It also works great on the 
-atrociously hard to read markup generated by specialized HTML editors and 
-conversion tools, and can help you identify where you need to pay further 
-attention on making your pages more accessible to people with disabilities.
+  HTML Tidy reads HTML, XHTML and XML files and writes cleaned up
+  markup.  For HTML variants, it detects and corrects many common coding
+  errors and strives to produce visually equivalent markup that is both
+  W3C compliant and works on most browsers.  A common use of Tidy is to
+  convert plain HTML to XHTML.  For generic XML files, Tidy is limited
+  to correcting basic well-formedness errors and pretty printing.
 <<
-DescUsage: tidy messy.html > tidied-up.html
 DescPackaging: <<
- Previous versions by Sylvain Cuaz.
+  Based on a previous version by Sylvain Cuaz
+  <[EMAIL PROTECTED]> and the tidy-devel FreeBSD port
+  maintained by <[EMAIL PROTECTED]>.
 
- This program does not use configure.
- The copyright notice is in "tidy.h" (license is MIT).
- patch to install man pages where they belong
-<<
-DescPort: <<
- Patch the Makefile so that it runs ranlib
+  API documentation has moved to the tidy-dev package.
+  
+  This package adopts the original file version numbering from the HTML
+  Tidy project (e.g. version 1:051026 instead of 20051026).
+
+  Fetch phase should not break with new source code releases (package
+  tries downloading from both current and "old" directories).
+
+  This package is built using the "gmake" build system.
+
+  The license notice is extracted from "license.html" (type is MIT).
 <<
-License: BSD
 #
 Splitoff: <<
- Package: %N-dev
- Files: include lib
- DocFiles: COPYRIGHT
+  Package: %N-dev
+  Description: Headers and static library for HTML Tidy
+  BuildDependsOnly: true
+  DocFiles: <<
+    LICENSE
+    htmldoc/api/annotated.html
+    htmldoc/api/buffio_8h-source.html
+    htmldoc/api/buffio_8h.html
+    htmldoc/api/doxygen.css
+    htmldoc/api/doxygen.png
+    htmldoc/api/fileio_8h-source.html
+    htmldoc/api/fileio_8h.html
+    htmldoc/api/files.html
+    htmldoc/api/ftv2blank.png
+    htmldoc/api/ftv2doc.png
+    htmldoc/api/ftv2folderclosed.png
+    htmldoc/api/ftv2folderopen.png
+    htmldoc/api/ftv2lastnode.png
+    htmldoc/api/ftv2link.png
+    htmldoc/api/ftv2mlastnode.png
+    htmldoc/api/ftv2mnode.png
+    htmldoc/api/ftv2node.png
+    htmldoc/api/ftv2plastnode.png
+    htmldoc/api/ftv2pnode.png
+    htmldoc/api/ftv2vertline.png
+    htmldoc/api/functions.html
+    htmldoc/api/globals.html
+    htmldoc/api/group__AttrGet.html
+    htmldoc/api/group__Attribute.html
+    htmldoc/api/group__Basic.html
+    htmldoc/api/group__Clean.html
+    htmldoc/api/group__Configuration.html
+    htmldoc/api/group__IO.html
+    htmldoc/api/group__Memory.html
+    htmldoc/api/group__NodeAsk.html
+    htmldoc/api/group__Opaque.html
+    htmldoc/api/group__Parse.html
+    htmldoc/api/group__Save.html
+    htmldoc/api/group__Tree.html
+    htmldoc/api/index.html
+    htmldoc/api/main.html
+    htmldoc/api/modules.html
+    htmldoc/api/structTidyAttr.html
+    htmldoc/api/structTidyDoc.html
+    htmldoc/api/structTidyNode.html
+    htmldoc/api/structTidyOption.html
+    htmldoc/api/struct__TidyBuffer.html
+    htmldoc/api/struct__TidyInputSource.html
+    htmldoc/api/struct__TidyOutputSink.html
+    htmldoc/api/tidy_8h-source.html
+    htmldoc/api/tidy_8h.html
+    htmldoc/api/tidyenum_8h-source.html
+    htmldoc/api/tidyenum_8h.html
+    htmldoc/api/tree.html
+    htmldoc/api/tree.js
+    htmldoc/api/treeview.js
+  <<
+  Files: include lib
 <<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to