Hello community,

here is the log from the commit of package source-highlight for openSUSE:Factory
checked in at Tue Feb 22 16:11:01 CET 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/source-highlight/source-highlight.changes      
2011-02-19 16:33:33.000000000 +0100
@@ -0,0 +1,117 @@
+-------------------------------------------------------------------
+Tue Jun 15 15:37:20 UTC 2010 - [email protected]
+
+- update to 3.1.4:
+  * php handles embedded html
+  * html handles embedded css and javascript
+  * Google's Protocol Buffers language definition added
+  * CakePhp template files highlighted as php
+  * haskell literate programming highlighting
+  * vala language definition
+  * lisp language definition
+
+-------------------------------------------------------------------
+Wed Jan 20 00:14:29 UTC 2010 - [email protected]
+
+- update to 3.1.3:
+  * --tab option is correcly handled
+  * bash is highlighted
+
+-------------------------------------------------------------------
+Thu Dec 24 23:03:38 UTC 2009 - [email protected]
+
+- update to 3.1.2:
+  * language for files starting with <? and <!doctype is now
+    inferred
+  * some language definitions were added: manifest files, asm,
+    applescript, vbscript, awk, bat, clipper, cobol, D, Erlang, and
+    compiler output errors
+  * a style for label and path was added
+  * label elements are recognized in C/C++
+  * logtalk.lang was improved
+  * email regular expression in url.lang was improved
+
+-------------------------------------------------------------------
+Thu Sep 24 00:00:00 CEST 2009 - [email protected]
+
+- SONAME change from 1 to 3
+- added baselibs.conf
+- update to 3.1.1:
+  * access to static global LangDefManager, LangMaps is provided through the
+    class Instances
+  * a mechanism for setting a global data directory value was added, together
+    with library utility functions to retrieve .lang and .outlang files
+  * the SourceHighlight class returns the output file extension
+  * the background color for the document is kept empty if it is not specified
+    in the style file
+  * the utils.h file is installed in the header directory
+  * White is a standard color in style files
+  * language definition files for Texinfo and Haskell were added
+
+-------------------------------------------------------------------
+Sat Jun 13 00:00:00 CEST 2009 - [email protected]
+
+- update to 3.1:
+  * some library utility functions to retrieve .style and .css files were added
+  * a language definition for Oz was added
+
+-------------------------------------------------------------------
+Thu May 21 00:00:00 CEST 2009 - [email protected]
+
+- moved to openSUSE Build Service (devel:tools)
+
+-------------------------------------------------------------------
+Wed May 20 00:00:00 CEST 2009 - [email protected]
+
+- package the CGI into a -cgi subpackage
+- update to 3.0.1:
+  * fixed library manual link in index.html
+  * doxyfile is now distributed
+  * better formatting for < and > in latex output
+  * doxygen documentation can be built even when building in a separate
+    directory
+  * added man page for source-highlight-settings
+
+-------------------------------------------------------------------
+Sun May 10 00:00:00 CEST 2009 - [email protected]
+
+- update to 3.0:
+  * source-highlight now also provides a C++ library
+  * --regex-range has been added (highlight only specified lines of an input
+    file)
+  * --docdir is used for the documentation directory
+  * the --binary-output command line option has been added
+  * the program source-highlight-settings has been added to write a
+    configuration file for source-highlight
+  * language definitions for generic configuration files and for pkg-config
+    files have been added
+  * the input language is now also discovered using the whole file name
+  * in .lang files, it is now possible to specify the exit level
+
+- changes from 2.11.1:
+  * language definitions for Fortran, Caml, and JavaScript were improved
+  * ada language definition file was added
+
+- changes from 2.11:
+  * language definitions for Scala and Xorg configuration files were added
+  * the procedure for regular expression matching was improved
+  * boost regex library discovery in the configure script was improved
+  * the configuration file for bash_completion was added
+  * it is now possible to highlight only specific ranges of lines
+
+-------------------------------------------------------------------
+Wed Sep 10 00:00:00 CEST 2008 - [email protected]
+
+- update to 2.10:
+  * formatting is applied even when generating anchors and references
+  * noref is handled also for output languages using onestyle (e.g., xhtml)
+  * improved fortran highlighting
+  * improved python highlighting
+  * fixed title in docbook output
+  * language definition for ldap files (e.g., ldiff files)
+  * language definition for autoconf files
+  * improved m4 language definition
+  * improved logtalk language definition
+  * url.lang handles ~ in urls
+  * language definition for glsl.lang (provided by Cesare Tirabassi)
+

calling whatdependson for head-i586


New:
----
  baselibs.conf
  source-highlight-3.1.4.tar.bz2
  source-highlight-apache2.conf
  source-highlight-boost_ldflags_lib64.patch
  source-highlight-doxygen_disable_timestamp_in_footer.patch
  source-highlight-rpmlintrc
  source-highlight.changes
  source-highlight.spec

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

Other differences:
------------------
++++++ source-highlight.spec ++++++
#
# spec file for package source-highlight
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           source-highlight
Version:        3.1.4
Release:        1
Summary:        Source Code Highlighter with Support for Many Languages
# ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz
Source:         source-highlight-%{version}.tar.bz2
Source1:        source-highlight-apache2.conf
Source99:       %{name}-rpmlintrc
Patch1:         source-highlight-boost_ldflags_lib64.patch
Patch2:         source-highlight-doxygen_disable_timestamp_in_footer.patch
Url:            http://www.gnu.org/software/src-highlite
Group:          Productivity/Publishing/Other
License:        GNU General Public License version 3 (GPLv3)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  bison flex gcc-c++ glibc-devel libstdc++-devel make
BuildRequires:  boost-devel help2man libicu-devel texinfo
BuildRequires:  ctags doxygen graphviz
BuildRequires:  autoconf automake libtool pkgconfig
BuildRequires:  apache2
%if 0%{?suse_version} >= 1030
BuildRequires:  fdupes
%endif
PreReq:         %install_info_prereq
Requires:       libsource-highlight3 = %{version}-%{release}

%description
Source-highlight reads source language specifications dynamically, thus it can
be easily extended (without recompiling the sources) for handling new
languages. It also reads output format specifications dynamically, and thus it
can be easily extended (without recompiling the sources) for handling new
output formats. The syntax for these specifications is quite easy (take a look
at the manual).




Authors:
--------
    Lorenzo Bettini <[email protected]>

%package -n libsource-highlight3
License:        GNU General Public License version 3 (GPLv3)
Summary:        Source Code Highlighting C++ Library
Group:          System/Libraries
Requires:       ctags

%description -n libsource-highlight3
Source-highlight reads source language specifications dynamically, thus it can
be easily extended (without recompiling the sources) for handling new
languages. It also reads output format specifications dynamically, and thus it
can be easily extended (without recompiling the sources) for handling new
output formats. The syntax for these specifications is quite easy (take a look
at the manual).

libsource-highlight is a C++ library that provides the features of
Source-highlight.



Authors:
--------
    Lorenzo Bettini <[email protected]>

%package -n libsource-highlight-devel
License:        GNU General Public License version 3 (GPLv3)
Summary:        Source Code Highlighting C++ Library
Group:          Development/Libraries/C and C++
Requires:       libsource-highlight3 = %{version}-%{release}
PreReq:         %install_info_prereq

%description -n libsource-highlight-devel
Source-highlight reads source language specifications dynamically, thus it can
be easily extended (without recompiling the sources) for handling new
languages. It also reads output format specifications dynamically, and thus it
can be easily extended (without recompiling the sources) for handling new
output formats. The syntax for these specifications is quite easy (take a look
at the manual).

libsource-highlight is a C++ library that provides the features of
Source-highlight.

%package cgi
License:        GNU General Public License version 3 (GPLv3)
Summary:        Source Code Highlighting CGI
Group:          Productivity/Networking/Web/Utilities
Requires:       libsource-highlight3 = %{version}-%{release}
Requires:       apache2

%description cgi
Source-highlight reads source language specifications dynamically, thus it can
be easily extended (without recompiling the sources) for handling new
languages. It also reads output format specifications dynamically, and thus it
can be easily extended (without recompiling the sources) for handling new
output formats. The syntax for these specifications is quite easy (take a look
at the manual).

This package contains a CGI that can be used to highlight source code on
your webserver using source-highlight.

%prep
%setup -q
%if "%{_lib}"=="lib64"
%patch1
%endif
%patch2
%__sed -i 's/\r//g' doc/*.css

%build
BOOST_REGEX=$(/bin/ls -1 "%{_libdir}"/libboost_regex*mt*.so 2>/dev/null | head 
-1)
[ -n "$BOOST_REGEX" ] || BOOST_REGEX=$(/bin/ls -1 
"%{_libdir}"/libboost_regex*.so 2>/dev/null | head -1)
if [ -n "$BOOST_REGEX" ]; then
    BOOST_REGEX="${BOOST_REGEX##*/lib}"
    BOOST_REGEX="${BOOST_REGEX%.so}"
    BOOST_REGEX_PARAM="--with-boost-regex=${BOOST_REGEX}"
else
    BOOST_REGEX_PARAM=""
fi

%configure \
    "$BOOST_REGEX_PARAM" \
    --with-bash-completion="%{_sysconfdir}/bash_completion.d" \
    --with-doxygen

%__make %{?jobs:-j%{jobs}}

%__make %{?jobs:-j%{jobs}} -C src source-highlight-cgi

%install
%makeinstall

%__install -d "%{buildroot}/srv/source-highlight"
libtool --mode=install install -m 0755 src/source-highlight-cgi 
"%{buildroot}/srv/source-highlight/source-highlight.cgi"
%__install -D -m0644 "%{SOURCE1}" "%{buildroot}/etc/apache2/conf.d/%{name}.conf"

%__rm "%{buildroot}%{_libdir}"/*.la
%__rm "%{buildroot}%{_datadir}/aclocal"/*boost*.m4

%__rm -rf "%{buildroot}%{_docdir}/%{name}/html"
%__rm -rf "%{buildroot}%{_datadir}/doc"

%__chmod 0644 AUTHORS ChangeLog COPYING CREDITS NEWS README THANKS TODO.txt

%if 0%{?suse_version} >= 1030
%fdupes -s "%{buildroot}%{_datadir}/"
%endif

%post
%install_info --info-dir="%{_infodir}" 
"%{_infodir}/source-highlight".info%{ext_info}

%postun
%install_info_delete --info-dir="%{_infodir}" 
"%{_infodir}/source-highlight".info%{ext_info}

%post -n libsource-highlight-devel
%install_info --info-dir="%{_infodir}" 
"%{_infodir}/source-highlight-lib".info%{ext_info}

%postun -n libsource-highlight-devel
%install_info_delete --info-dir="%{_infodir}" 
"%{_infodir}/source-highlight-lib".info%{ext_info}

%post   -n libsource-highlight3 -p /sbin/ldconfig

%postun -n libsource-highlight3 -p /sbin/ldconfig

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README THANKS TODO.txt
%config %{_sysconfdir}/bash_completion.d/source-highlight-bash-completion
%{_bindir}/check-regexp
%{_bindir}/cpp2html
%{_bindir}/java2html
%{_bindir}/source-highlight
%{_bindir}/src-hilite-lesspipe.sh
%{_bindir}/source-highlight-settings
%dir %{_datadir}/source-highlight
%{_datadir}/source-highlight/*
%doc %{_mandir}/man1/check-regexp.1%{ext_man}
%doc %{_mandir}/man1/source-highlight.1%{ext_man}
%doc %{_mandir}/man1/source-highlight-settings.1%{ext_man}
%doc %{_infodir}/source-highlight.info%{ext_man}

%files -n libsource-highlight3
%defattr(-,root,root)
%{_libdir}/libsource-highlight.so.3
%{_libdir}/libsource-highlight.so.3.*.*

%files -n libsource-highlight-devel
%defattr(-,root,root)
%{_includedir}/srchilite
%{_libdir}/libsource-highlight.so
%{_libdir}/libsource-highlight.a
%{_libdir}/pkgconfig/source-highlight.pc
%doc %{_infodir}/source-highlight-lib.info%{ext_info}

%files cgi
%defattr(-,root,root)
%config(noreplace) /etc/apache2/conf.d/source-highlight.conf
%dir /srv/source-highlight
/srv/source-highlight/source-highlight.cgi

%changelog
++++++ baselibs.conf ++++++
libsource-highlight3
++++++ source-highlight-apache2.conf ++++++
Alias /source-highlight "/srv/source-highlight"

<Directory "/srv/source-highlight">
    Options ExecCGI
    AllowOverride None
    AddHandler cgi-script .cgi
    DirectoryIndex source-highlight.cgi
    Order allow,deny
    Allow from all
</Directory>
++++++ source-highlight-boost_ldflags_lib64.patch ++++++
--- configure.orig      2009-12-25 00:17:43.000000000 +0100
+++ configure   2009-12-25 00:18:15.000000000 +0100
@@ -15825,12 +15825,12 @@
        succeeded=no
 
                                if test "$ac_boost_path" != ""; then
-               BOOST_LDFLAGS="-L$ac_boost_path/lib"
+               BOOST_LDFLAGS="-L$ac_boost_path/lib64"
                BOOST_CPPFLAGS="-I$ac_boost_path/include"
        else
                for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
                        if test -d "$ac_boost_path_tmp/include/boost" && test 
-r "$ac_boost_path_tmp/include/boost"; then
-                               BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
+                               BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib64"
                                BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
                                break;
                        fi
++++++ source-highlight-doxygen_disable_timestamp_in_footer.patch ++++++
--- lib/srchilite/srchilite.doxyfile.in.orig    2010-06-15 15:09:28.000000000 
+0200
+++ lib/srchilite/srchilite.doxyfile.in 2010-06-15 15:09:52.000000000 +0200
@@ -727,6 +727,7 @@
 # standard footer.
 
 HTML_FOOTER = 
+HTML_FOOTER_DESCRIPTION = FALSE
 
 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
 # style sheet that is used by each HTML page. It can be used to 
++++++ source-highlight-rpmlintrc ++++++
addFilter("no-dependency-on 
libsource-highlight/libsource-highlight-libs/liblibsource-highlight")

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



Remember to have fun...

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

Reply via email to