Hello community,

here is the log from the commit of package yelp-tools for openSUSE:Factory 
checked in at 2012-01-06 11:47:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yelp-tools (Old)
 and      /work/SRC/openSUSE:Factory/.yelp-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yelp-tools", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/yelp-tools/yelp-tools.changes    2011-10-19 
00:57:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yelp-tools.new/yelp-tools.changes       
2012-01-06 11:47:05.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Dec 22 09:37:11 UTC 2011 - [email protected]
+
+- Own %{_datadir}/aclocal to fix build without automake/autoconf.
+
+-------------------------------------------------------------------
+Mon Nov 21 16:50:24 UTC 2011 - [email protected]
+
+- Update to version 3.3.1:
+  + yelp.m4: Use stamp files to reduce rebuilds.
+  + yelp-check: Add hrefs command to test external links.
+  + Bugs fixed: bgo#651252, bgo#659421.
+
+-------------------------------------------------------------------

Old:
----
  yelp-tools-3.2.1.tar.bz2

New:
----
  yelp-tools-3.3.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yelp-tools.spec ++++++
--- /var/tmp/diff_new_pack.a5BKO2/_old  2012-01-06 11:47:05.000000000 +0100
+++ /var/tmp/diff_new_pack.a5BKO2/_new  2012-01-06 11:47:05.000000000 +0100
@@ -15,16 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           yelp-tools
-Version:        3.2.1
-Release:        1
-License:        GPL-2.0+
+Version:        3.3.1
+Release:        0
 Summary:        Collection of utilities to help create documentation
-Url:            http://projects.gnome.org/yelp/
+License:        GPL-2.0+
 Group:          Development/Tools/Other
-Source:         
http://download.gnome.org/sources/yelp-tools/3.2/%{name}-%{version}.tar.bz2
+Url:            http://projects.gnome.org/yelp/
+Source:         
http://download.gnome.org/sources/yelp-tools/3.3/%{name}-%{version}.tar.bz2
 BuildRequires:  itstool
 BuildRequires:  libxml2
 BuildRequires:  libxslt
@@ -61,6 +59,7 @@
 %{_bindir}/yelp-build
 %{_bindir}/yelp-check
 %{_bindir}/yelp-new
+%dir %{_datadir}/aclocal
 %{_datadir}/aclocal/yelp.m4
 %{_datadir}/yelp-tools/
 

++++++ yelp-tools-3.2.1.tar.bz2 -> yelp-tools-3.3.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/ChangeLog 
new/yelp-tools-3.3.1/ChangeLog
--- old/yelp-tools-3.2.1/ChangeLog      2011-10-17 17:57:44.000000000 +0200
+++ new/yelp-tools-3.3.1/ChangeLog      2011-11-21 16:01:34.000000000 +0100
@@ -1,3 +1,31 @@
+commit 933dbdf7b77aa705c6f1fe17197274d2c18511f3
+Author: Shaun McCance <[email protected]>
+Date:   Thu Sep 15 10:20:40 2011 -0400
+
+    yelp.m4: Use stamp files to reduce rebuilds, #651252
+
+ tools/yelp.m4 |   16 ++++++++++------
+ 1 files changed, 10 insertions(+), 6 deletions(-)
+
+commit 3182d5625cb0e4f84c9140cc11ad731110012e7b
+Author: Shaun McCance <[email protected]>
+Date:   Wed Oct 19 20:24:49 2011 -0400
+
+    yelp-check: Add hrefs command to test external links
+
+ tools/yelp-check.in |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 files changed, 59 insertions(+), 0 deletions(-)
+
+commit 6414d738e8684c68bdf27a509763b572d79172fd
+Author: Shaun McCance <[email protected]>
+Date:   Mon Oct 17 11:58:06 2011 -0400
+
+    Version 3.2.1
+
+ NEWS         |    4 ++++
+ configure.ac |    2 +-
+ 2 files changed, 5 insertions(+), 1 deletions(-)
+
 commit 551beb67539d0b8cc662bae36f25018deb793771
 Author: Shaun McCance <[email protected]>
 Date:   Wed Oct 5 14:49:03 2011 -0400
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/NEWS new/yelp-tools-3.3.1/NEWS
--- old/yelp-tools-3.2.1/NEWS   2011-10-17 17:57:18.000000000 +0200
+++ new/yelp-tools-3.3.1/NEWS   2011-11-21 16:01:15.000000000 +0100
@@ -1,3 +1,8 @@
+3.3.1
+=====
+* yelp.m4: Use stamp files to reduce rebuilds, #651252 #659421
+* yelp-check: Add hrefs command to test external links
+
 3.2.1:
 ======
 * yelp-check status: Accept commas as a delimiter for options (Shaun McCance)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/configure 
new/yelp-tools-3.3.1/configure
--- old/yelp-tools-3.2.1/configure      2011-10-17 17:57:40.000000000 +0200
+++ new/yelp-tools-3.3.1/configure      2011-11-21 16:01:30.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.66 for yelp-tools 3.2.1.
+# Generated by GNU Autoconf 2.66 for yelp-tools 3.3.1.
 #
 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-tools>.
 #
@@ -552,8 +552,8 @@
 # Identity of this package.
 PACKAGE_NAME='yelp-tools'
 PACKAGE_TARNAME='yelp-tools'
-PACKAGE_VERSION='3.2.1'
-PACKAGE_STRING='yelp-tools 3.2.1'
+PACKAGE_VERSION='3.3.1'
+PACKAGE_STRING='yelp-tools 3.3.1'
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-tools'
 PACKAGE_URL=''
 
@@ -1194,7 +1194,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures yelp-tools 3.2.1 to adapt to many kinds of systems.
+\`configure' configures yelp-tools 3.3.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1260,7 +1260,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yelp-tools 3.2.1:";;
+     short | recursive ) echo "Configuration of yelp-tools 3.3.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1341,7 +1341,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yelp-tools configure 3.2.1
+yelp-tools configure 3.3.1
 generated by GNU Autoconf 2.66
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1358,7 +1358,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by yelp-tools $as_me 3.2.1, which was
+It was created by yelp-tools $as_me 3.3.1, which was
 generated by GNU Autoconf 2.66.  Invocation command line was
 
   $ $0 $@
@@ -2173,7 +2173,7 @@
 
 # Define the identity of the package.
  PACKAGE='yelp-tools'
- VERSION='3.2.1'
+ VERSION='3.3.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3226,7 +3226,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by yelp-tools $as_me 3.2.1, which was
+This file was extended by yelp-tools $as_me 3.3.1, which was
 generated by GNU Autoconf 2.66.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3279,7 +3279,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-yelp-tools config.status 3.2.1
+yelp-tools config.status 3.3.1
 configured by $0, generated by GNU Autoconf 2.66,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/configure.ac 
new/yelp-tools-3.3.1/configure.ac
--- old/yelp-tools-3.2.1/configure.ac   2011-10-17 17:57:24.000000000 +0200
+++ new/yelp-tools-3.3.1/configure.ac   2011-11-21 16:01:23.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([yelp-tools], [3.2.1],
+AC_INIT([yelp-tools], [3.3.1],
         [http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-tools])
 AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/tools/yelp-check.in 
new/yelp-tools-3.3.1/tools/yelp-check.in
--- old/yelp-tools-3.2.1/tools/yelp-check.in    2011-07-28 16:38:04.000000000 
+0200
+++ new/yelp-tools-3.3.1/tools/yelp-check.in    2011-10-20 02:19:29.000000000 
+0200
@@ -53,12 +53,20 @@
         echo ""
         echo "Commands:"
         echo "  comments      Print the editorial comments in a document"
+        echo "  hrefs         Find broken href links in a Mallard document"
         echo "  links         Find broken xref links in a Mallard document"
         echo "  orphans       Find orphaned pages in a Mallard document"
         echo "  status        Report the status of Mallard pages"
         echo "  validate      Validate files against a DTD or RNG"
     ) 1>&2
 }
+yelp_usage_hrefs () {
+    (
+        echo "Usage: yelp-check hrefs <FILES>"
+        echo ""
+        echo "  Find broken href links in FILES in a Mallard document."
+    ) 1>&2
+}
 yelp_usage_links () {
     (
         echo "Usage: yelp-check links <FILES>"
@@ -123,6 +131,54 @@
     exit 1
 fi
 
+yelp_hrefs_page () {
+    page=`(
+        echo '<xsl:stylesheet'
+        echo ' xmlns:xsl="http://www.w3.org/1999/XSL/Transform";'
+        echo ' xmlns:mal="http://projectmallard.org/1.0/";'
+        echo ' version="1.0">'
+        echo '<xsl:output method="text"/>'
+        echo '<xsl:template match="/mal:page">'
+        echo '<xsl:value-of select="@id"/>'
+        echo '</xsl:template>'
+        echo '</xsl:stylesheet>'
+    ) | xsltproc --xinclude - "$1"`
+    (
+        echo '<xsl:stylesheet'
+        echo ' xmlns:xsl="http://www.w3.org/1999/XSL/Transform";'
+        echo ' xmlns:mal="http://projectmallard.org/1.0/";'
+        echo ' version="1.0">'
+        echo '<xsl:output method="text"/>'
+        echo '<xsl:template match="/mal:page">'
+        echo '<xsl:for-each select="//*[@href]">'
+        echo '<xsl:if test="not(starts-with(@href, '\''mailto:'\''))">'
+        echo '<xsl:value-of select="@href"/>'
+        echo '<xsl:text>&#x000A;</xsl:text>'
+        echo '</xsl:if>'
+        echo '</xsl:for-each>'
+        echo '</xsl:template>'
+        echo '</xsl:stylesheet>'
+    ) | xsltproc --xinclude - "$1" | sort | uniq | while read url; do
+        (curl -s -I -L "$url" | grep '^HTTP/' | tail -n 1 | head -n 1 | grep 
-q 'HTTP/.\.. 200 .*') || echo "$page: $url"
+    done
+}
+
+yelp_hrefs () {
+    if [ "$#" = "0" -o "x$1" = "x--help" ]; then
+        yelp_usage_hrefs
+        exit 1
+    fi
+    for xml in "$@"; do
+        if [ -d "$xml" ]; then
+            for page in "$xml"/*.page; do
+                yelp_hrefs_page "$page"
+            done
+        else
+            yelp_hrefs_page "$xml"
+        fi
+    done
+}
+
 yelp_links_page () {
     (
         echo '<xsl:stylesheet'
@@ -444,6 +500,9 @@
     "xcomments")
         yelp_comments "$@"
         ;;
+    "xhrefs")
+        yelp_hrefs "$@"
+        ;;
     "xlinks")
         yelp_links "$@"
         ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yelp-tools-3.2.1/tools/yelp.m4 
new/yelp-tools-3.3.1/tools/yelp.m4
--- old/yelp-tools-3.2.1/tools/yelp.m4  2011-09-19 01:04:47.000000000 +0200
+++ new/yelp-tools-3.3.1/tools/yelp.m4  2011-11-21 15:57:59.000000000 +0100
@@ -39,6 +39,7 @@
 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach 
f,$(HELP_FILES),$(lc)/$(f)))
+_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
 
 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
@@ -78,21 +79,24 @@
        $(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
        $(AM_V_GEN)msgfmt -o "[$]@" "$<"
 
-$(_HELP_LC_FILES): $(_HELP_MOFILES)
-$(_HELP_LC_FILES): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
+$(_HELP_LC_FILES): $(_HELP_LINGUAS)
+$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
+$(_HELP_LC_STAMPS): %.stamp: %.mo
+$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
        $(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
-       $(_HELP_LC_VERBOSE)if test -f "C/$(notdir [$]@)"; then d="../"; else 
d="$(abs_srcdir)/"; fi; \
+       $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else 
d="$(abs_srcdir)/"; fi; \
        mo="$(dir [$]@)$(patsubst %/$(notdir [$]@),%,[$]@).mo"; \
        if test -f "$${mo}"; then mo="../$${mo}"; else 
mo="$(abs_srcdir)/$${mo}"; fi; \
-       (cd "$(dir [$]@)" && $(ITSTOOL) -m "$${mo}" $(foreach 
f,$(_HELP_C_FILES),$${d}/$(f)))
+       (cd "$(dir [$]@)" && $(ITSTOOL) -m "$${mo}" $(foreach 
f,$(_HELP_C_FILES),$${d}/$(f))) && \
+       touch "[$]@"
 
 .PHONY: clean-help
 mostlyclean-am: $(if $(HELP_ID),clean-help)
 clean-help:
-       rm -f $(_HELP_LC_FILES) $(_HELP_MOFILES)
+       rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
 
 EXTRA_DIST ?=
-EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA) 
$(_HELP_C_MEDIA) $(_HELP_POFILES)
+EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) 
$(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_POFILES)
 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach 
lc,$(_HELP_LINGUAS),$(wildcard $(lc)/$(f))))
 
 .PHONY: check-help

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to