openSUSE Commits
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2014
- 1 participants
- 1675 discussions
Hello community,
here is the log from the commit of package librsvg for openSUSE:Factory checked in at 2014-09-20 15:49:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librsvg (Old)
and /work/SRC/openSUSE:Factory/.librsvg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librsvg"
Changes:
--------
--- /work/SRC/openSUSE:Factory/librsvg/librsvg.changes 2014-08-27 07:46:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.librsvg.new/librsvg.changes 2014-09-20 15:49:47.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Sep 14 17:20:12 UTC 2014 - asterios.dramis(a)gmail.com
+
+- Update to version 2.40.4:
+ + rsvg-convert: Handle gzip compressed input (bgo#735836).
+
+-------------------------------------------------------------------
Old:
----
librsvg-2.40.3.tar.xz
New:
----
librsvg-2.40.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librsvg.spec ++++++
--- /var/tmp/diff_new_pack.4LeLHO/_old 2014-09-20 15:49:48.000000000 +0200
+++ /var/tmp/diff_new_pack.4LeLHO/_new 2014-09-20 15:49:48.000000000 +0200
@@ -17,7 +17,7 @@
Name: librsvg
-Version: 2.40.3
+Version: 2.40.4
Release: 0
Summary: A Library for Rendering SVG Data
License: LGPL-2.0+ and GPL-2.0+
++++++ librsvg-2.40.3.tar.xz -> librsvg-2.40.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/ChangeLog new/librsvg-2.40.4/ChangeLog
--- old/librsvg-2.40.3/ChangeLog 2014-08-18 21:13:08.000000000 +0200
+++ new/librsvg-2.40.4/ChangeLog 2014-09-14 10:32:49.000000000 +0200
@@ -1,3 +1,25 @@
+commit 07e79f07ef789a9bc0b9fb94c41f2af211570889
+Author: Christian Persch <chpe(a)gnome.org>
+Date: Mon Sep 1 20:29:34 2014 +0200
+
+ rsvg-convert: Handle gzip compressed input
+
+ Code copied from rsvg-view.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=735836
+
+ rsvg-convert.c | 31 ++++++++++++++++++++++++++++++-
+ 1 file changed, 30 insertions(+), 1 deletion(-)
+
+commit cba26b4a8caad47ef0aea20d3e355679441c67aa
+Author: Christian Persch <chpe(a)gnome.org>
+Date: Mon Aug 18 21:16:01 2014 +0200
+
+ Post release version bump
+
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
commit a35216a93b1db4973056426edc282c4decc2538a
Author: Suzuki Toshiya <mpsuzuki(a)hiroshima-u.ac.jp>
Date: Sun Aug 17 18:41:54 2014 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/configure new/librsvg-2.40.4/configure
--- old/librsvg-2.40.3/configure 2014-06-18 19:54:56.000000000 +0200
+++ new/librsvg-2.40.4/configure 2014-09-01 20:17:48.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for RSVG 2.40.3.
+# Generated by GNU Autoconf 2.69 for RSVG 2.40.4.
#
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=librsvg>.
#
@@ -591,8 +591,8 @@
# Identity of this package.
PACKAGE_NAME='RSVG'
PACKAGE_TARNAME='librsvg'
-PACKAGE_VERSION='2.40.3'
-PACKAGE_STRING='RSVG 2.40.3'
+PACKAGE_VERSION='2.40.4'
+PACKAGE_STRING='RSVG 2.40.4'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=librsvg'
PACKAGE_URL=''
@@ -1425,7 +1425,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 RSVG 2.40.3 to adapt to many kinds of systems.
+\`configure' configures RSVG 2.40.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1495,7 +1495,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of RSVG 2.40.3:";;
+ short | recursive ) echo "Configuration of RSVG 2.40.4:";;
esac
cat <<\_ACEOF
@@ -1645,7 +1645,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-RSVG configure 2.40.3
+RSVG configure 2.40.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2014,7 +2014,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by RSVG $as_me 2.40.3, which was
+It was created by RSVG $as_me 2.40.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2883,7 +2883,7 @@
# Define the identity of the package.
PACKAGE='librsvg'
- VERSION='2.40.3'
+ VERSION='2.40.4'
cat >>confdefs.h <<_ACEOF
@@ -3021,13 +3021,13 @@
# ===========================================================================
-RSVG_LT_VERSION_INFO=42:3:40
+RSVG_LT_VERSION_INFO=42:4:40
LIBRSVG_MAJOR_VERSION=2
LIBRSVG_MINOR_VERSION=40
-LIBRSVG_MICRO_VERSION=3
+LIBRSVG_MICRO_VERSION=4
@@ -15593,7 +15593,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by RSVG $as_me 2.40.3, which was
+This file was extended by RSVG $as_me 2.40.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15659,7 +15659,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-RSVG config.status 2.40.3
+RSVG config.status 2.40.4
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/configure.in new/librsvg-2.40.4/configure.in
--- old/librsvg-2.40.3/configure.in 2014-06-18 19:54:36.000000000 +0200
+++ new/librsvg-2.40.4/configure.in 2014-08-18 21:13:55.000000000 +0200
@@ -1,6 +1,6 @@
m4_define([rsvg_major_version],[2])
m4_define([rsvg_minor_version],[40])
-m4_define([rsvg_micro_version],[3])
+m4_define([rsvg_micro_version],[4])
m4_define([rsvg_extra_version],[])
m4_define([rsvg_version],[rsvg_major_version.rsvg_minor_version.rsvg_micro_version()rsvg_extra_version])
m4_define([rsvg_lt_version_info],m4_eval(rsvg_major_version + rsvg_minor_version):rsvg_micro_version:rsvg_minor_version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/html/index.html new/librsvg-2.40.4/doc/html/index.html
--- old/librsvg-2.40.3/doc/html/index.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/index.html 2014-09-14 10:32:51.000000000 +0200
@@ -15,7 +15,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">RSVG Libary Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
- For RSVG version 2.40.3
+ For RSVG version 2.40.4
.
The latest version of this documentation can be found on-line at the
<a class="ulink" href="http://library.gnome.org/devel/rsvg/index.html" target="_top">GNOME Library</a>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/html/rsvg-Using-RSVG-with-GIO.html new/librsvg-2.40.4/doc/html/rsvg-Using-RSVG-with-GIO.html
--- old/librsvg-2.40.3/doc/html/rsvg-Using-RSVG-with-GIO.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/rsvg-Using-RSVG-with-GIO.html 2014-09-14 10:32:51.000000000 +0200
@@ -340,8 +340,9 @@
<tr>
<td class="enum_member_name"><p><a name="RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS"></a>RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA</p></td>
<td class="enum_member_description">
-<p>Keeps the image data when loading images.
- This enables cairo to reduce file size when writing a PDF file.
+<p>Keeps the image data when loading images,
+ for use by cairo when painting to e.g. a PDF surface. This will make the
+ resulting PDF file smaller and faster.
Since: 2.40.3</p>
</td>
<td class="enum_member_annotations"> </td>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/html/rsvg-Version-check-and-feature-tests.html new/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html
--- old/librsvg-2.40.3/doc/html/rsvg-Version-check-and-feature-tests.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html 2014-09-14 10:32:51.000000000 +0200
@@ -106,7 +106,7 @@
<hr>
<div class="refsect2">
<a name="LIBRSVG-MICRO-VERSION:CAPS"></a><h3>LIBRSVG_MICRO_VERSION</h3>
-<pre class="programlisting">#define LIBRSVG_MICRO_VERSION (3)
+<pre class="programlisting">#define LIBRSVG_MICRO_VERSION (4)
</pre>
</div>
<hr>
@@ -137,7 +137,7 @@
<a name="rsvg-Version-check-and-feature-tests.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="LIBRSVG-VERSION:CAPS"></a><h3>LIBRSVG_VERSION</h3>
-<pre class="programlisting">#define LIBRSVG_VERSION "2.40.3"
+<pre class="programlisting">#define LIBRSVG_VERSION "2.40.4"
</pre>
</div>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/version.xml new/librsvg-2.40.4/doc/version.xml
--- old/librsvg-2.40.3/doc/version.xml 2014-06-18 19:55:08.000000000 +0200
+++ new/librsvg-2.40.4/doc/version.xml 2014-09-01 20:18:02.000000000 +0200
@@ -1 +1 @@
-2.40.3
+2.40.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/librsvg-features.h new/librsvg-2.40.4/librsvg-features.h
--- old/librsvg-2.40.3/librsvg-features.h 2014-06-18 19:55:07.000000000 +0200
+++ new/librsvg-2.40.4/librsvg-features.h 2014-09-01 20:18:01.000000000 +0200
@@ -7,8 +7,8 @@
#define LIBRSVG_MAJOR_VERSION (2)
#define LIBRSVG_MINOR_VERSION (40)
-#define LIBRSVG_MICRO_VERSION (3)
-#define LIBRSVG_VERSION "2.40.3"
+#define LIBRSVG_MICRO_VERSION (4)
+#define LIBRSVG_VERSION "2.40.4"
#define LIBRSVG_CHECK_VERSION(major,minor,micro) \
(LIBRSVG_MAJOR_VERSION > (major) || \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/rsvg-convert.c new/librsvg-2.40.4/rsvg-convert.c
--- old/librsvg-2.40.3/rsvg-convert.c 2014-08-17 18:44:36.000000000 +0200
+++ new/librsvg-2.40.4/rsvg-convert.c 2014-09-01 20:28:33.000000000 +0200
@@ -215,8 +215,37 @@
file = NULL;
stream = g_unix_input_stream_new (STDIN_FILENO, FALSE);
} else {
- file = g_file_new_for_commandline_arg (args[i]);
+ GFileInfo *file_info;
+ gboolean compressed = FALSE;
+
+ file = g_file_new_for_commandline_arg (args[0]);
stream = (GInputStream *) g_file_read (file, NULL, &error);
+
+ if ((file_info = g_file_query_info (file,
+ G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
+ G_FILE_QUERY_INFO_NONE,
+ NULL,
+ NULL))) {
+ const char *content_type;
+ char *gz_content_type;
+
+ content_type = g_file_info_get_content_type (file_info);
+ gz_content_type = g_content_type_from_mime_type ("application/x-gzip");
+ compressed = (content_type != NULL && g_content_type_is_a (content_type, gz_content_type));
+ g_free (gz_content_type);
+ g_object_unref (file_info);
+ }
+
+ if (compressed) {
+ GZlibDecompressor *decompressor;
+ GInputStream *converter_stream;
+
+ decompressor = g_zlib_decompressor_new (G_ZLIB_COMPRESSOR_FORMAT_GZIP);
+ converter_stream = g_converter_input_stream_new (stream, G_CONVERTER (decompressor));
+ g_object_unref (stream);
+ stream = converter_stream;
+ }
+
if (stream == NULL)
goto done;
}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-DBD-SQLite for openSUSE:Factory checked in at 2014-09-20 15:49:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-SQLite (Old)
and /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-SQLite"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-SQLite/perl-DBD-SQLite.changes 2013-07-31 17:24:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new/perl-DBD-SQLite.changes 2014-09-20 15:49:17.000000000 +0200
@@ -1,0 +2,55 @@
+Fri Sep 19 12:15:51 UTC 2014 - coolo(a)suse.com
+
+- updated to 1.42
+ - Switched to a production version. (ISHIGAKI)
+
+ 1.41_07 2014-03-13
+ - Updated to SQLite 3.8.4.1, which fixed several obscure bugs on
+ "ORDER BY" or "DISTINCT". (ISHIGAKI)
+
+ 1.41_06 2014-02-12
+ - Updated to SQLite 3.8.3.1, which fixed a SQLite bug in 3.8.2
+ (bundled in DBD::SQLite 1.41_04/5) that could cause queries to
+ omit valid out rows. (ISHIGAKI)
+
+ 1.41_05 2014-01-22
+ - Resolved #92322: Failure under heavily parallelized tests
+ (ISHIGAKI)
+ - Disabled Test::NoWarnings in a test
+
+ 1.41_04 2014-01-12
+ - Updated to SQLite 3.8.2 (ISHIGAKI)
+ - Resolved #90211: Error in documentation (Felix Li)
+ - Resolved #89351: DBD-SQLite won't compile on Cygwin 64 bit
+ (Warren Young++) (ISHIGAKI)
+ - Tweaked sqlite_see_if_its_a_number not to guess data types of
+ bind values with explicit type specification (via bind_param()
+ etc) (mje++, ilmari++) (ISHIGAKI)
+
+ 1.41_03 2013-09-05
+ - Updated to SQLite 3.8.0.2 (ISHIGAKI)
+
+ 1.41_02 2013-08-30
+ - Updated to SQLite 3.8.0.1 to resolve #88228 (RIBASUSHI++)
+ (ISHIGAKI)
+
+ 1.41_01 2013-08-27
+ *** NOTICE ON NEXT GENERATION QUERY PLANNER ***
+ - As of SQLite 3.8.0, SQLite's query planner has been rewritten.
+ According to the author, the new query planner should give
+ exactly the same result (though perhaps with a little less CPU
+ time spent planning) for simple queries, and for complex
+ queries, it can in many cases provide a much faster answer.
+ See http://www.sqlite.org/queryplanner-ng.html for details.
+
+ *** NOTICE ON PARTIAL INDICES ***
+ - Database files created by SQLite 3.8.0 are still readable and
+ writable by prior versions, but if you use partial indices
+ introduced in SQLite 3.8.0, those files become unreadable and
+ unwritable by older versions of (DBD::)SQLite. They'll be
+ readable/writable again by dropping partial indices.
+
+ - Resolved #87435: PATCH: statistics_info perldoc (DDICK)
+ - Resolved #87297: URI filenames in DBD::SQLite (ISHIGAKI)
+
+-------------------------------------------------------------------
Old:
----
DBD-SQLite-1.40.tar.gz
New:
----
DBD-SQLite-1.42.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-SQLite.spec ++++++
--- /var/tmp/diff_new_pack.JzU5sF/_old 2014-09-20 15:49:18.000000000 +0200
+++ /var/tmp/diff_new_pack.JzU5sF/_new 2014-09-20 15:49:18.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-SQLite
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,50 +17,64 @@
Name: perl-DBD-SQLite
+Version: 1.42
+Release: 0
%define cpan_name DBD-SQLite
Summary: Self-contained RDBMS in a DBI Driver
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Version: 1.40
-Release: 0
Url: http://search.cpan.org/dist/DBD-SQLite/
Source: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DBI) >= 1.57
-BuildRequires: perl(File::Spec) >= 0.82
-BuildRequires: perl(Test::More) >= 0.47
-BuildRequires: perl(Tie::Hash)
+BuildRequires: perl(Test::Builder) >= 0.86
Requires: perl(DBI) >= 1.57
-Requires: perl(Tie::Hash)
+Requires: perl(Test::Builder) >= 0.86
+%{perl_requires}
%description
-SQLite is a small fast embedded SQL database engine.
+SQLite is a public domain file-based relational database engine that you
+can find at the http://www.sqlite.org/ manpage.
-DBD::SQLite embeds that database engine into a DBD driver, so
-if you want a relational database for your project, but don`t
-want to install a large RDBMS system like MySQL or PostgreSQL,
-then DBD::SQLite may be just what you need.
-
-It supports quite a lot of features, such as transactions (atomic
-commit and rollback), indexes, DBA-free operation, a large subset
-of SQL92 supported, and more.
+*DBD::SQLite* is a Perl DBI driver for SQLite, that includes the entire
+thing in the distribution. So in order to get a fast transaction capable
+RDBMS working for your perl project you simply have to install this module,
+and *nothing* else.
-%package devel
-Summary: Development files for %{name}
-Group: Development/Libraries/Perl
-%{perl_requires}
+SQLite supports the following features:
+
+* Implements a large subset of SQL92
+
+ See the http://www.sqlite.org/lang.html manpage for details.
-%description devel
-This package contains sqlite3.c / sqlite3.h files for development.
+* A complete DB in a single disk file
+
+ Everything for your database is stored in a single disk file, making it
+ easier to move things around than with the DBD::CSV manpage.
+
+* Atomic commit and rollback
+
+ Yes, *DBD::SQLite* is small and light, but it supports full transactions!
+
+* Extensible
+
+ User-defined aggregate or regular functions can be registered with the
+ SQL parser.
+
+There's lots more to it, so please refer to the docs on the SQLite web
+page, listed above, for SQL details. Also refer to the DBI manpage for
+details on how to use DBI itself. The API works like every DBI module does.
+However, currently many statement attributes are not implemented or are
+limited by the typeless nature of the SQLite database.
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@@ -69,26 +83,10 @@
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
-%dir %{perl_vendorarch}/DBD
-%{perl_vendorarch}/DBD/SQLite.pm
-%dir %{perl_vendorarch}/DBD/SQLite
-%doc %{perl_vendorarch}/DBD/SQLite/Cookbook.pod
-%dir %{perl_vendorarch}/auto/DBD
-%{perl_vendorarch}/auto/DBD/SQLite
-%doc %{perl_man3dir}/DBD::SQLite.%{perl_man3ext}%{ext_man}
-%doc %{perl_man3dir}/DBD::SQLite::*.%{perl_man3ext}%{ext_man}
-
-%files devel
-%defattr(-,root,root)
-%dir %{perl_vendorarch}/auto/share
-%dir %{perl_vendorarch}/auto/share/dist
-%{perl_vendorarch}/auto/share/dist/DBD-SQLite
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes LICENSE README util
%changelog
++++++ DBD-SQLite-1.40.tar.gz -> DBD-SQLite-1.42.tar.gz ++++++
++++ 53931 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Text-BibTeX for openSUSE:Factory checked in at 2014-09-20 15:49:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-BibTeX (Old)
and /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Text-BibTeX"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-BibTeX/perl-Text-BibTeX.changes 2014-06-26 08:00:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new/perl-Text-BibTeX.changes 2014-09-20 15:49:14.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 19 12:15:49 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.70
+ * Added metadata for metacpan
+
+-------------------------------------------------------------------
Old:
----
Text-BibTeX-0.69.tar.gz
New:
----
Text-BibTeX-0.70.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Text-BibTeX.spec ++++++
--- /var/tmp/diff_new_pack.Pf5sIA/_old 2014-09-20 15:49:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Pf5sIA/_new 2014-09-20 15:49:16.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-BibTeX
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,14 +17,14 @@
Name: perl-Text-BibTeX
-Version: 0.69
+Version: 0.70
Release: 0
%define cpan_name Text-BibTeX
Summary: Interface to read and parse BibTeX files
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-BibTeX/
-Source: http://www.cpan.org/authors/id/A/AM/AMBS/Text/%{cpan_name}-%{version}.tar.gz
+Source: http://www.cpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
Patch: Text-BibTeX-rpmlint.patch
Patch1: perl-Text-BibTeX-libdir.patch
Patch2: perl-Text-BibTeX-uninit.patch
@@ -35,18 +35,7 @@
BuildRequires: perl(Config::AutoConf) >= 0.16
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(ExtUtils::LibBuilder) >= 0.02
-BuildRequires: perl(Module::Build)
-#BuildRequires: perl(ExtUtils::ParseXS)
-#BuildRequires: perl(MyBuilder)
-#BuildRequires: perl(Text::BibTeX)
-#BuildRequires: perl(Text::BibTeX::BibFormat)
-#BuildRequires: perl(Text::BibTeX::BibSort)
-#BuildRequires: perl(Text::BibTeX::Entry)
-#BuildRequires: perl(Text::BibTeX::File)
-#BuildRequires: perl(Text::BibTeX::Name)
-#BuildRequires: perl(Text::BibTeX::NameFormat)
-#BuildRequires: perl(Text::BibTeX::Structure)
-#BuildRequires: perl(Text::BibTeX::Value)
+BuildRequires: perl(Module::Build) >= 0.36
%{perl_requires}
%description
++++++ Text-BibTeX-0.69.tar.gz -> Text-BibTeX-0.70.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/Build.PL new/Text-BibTeX-0.70/Build.PL
--- old/Text-BibTeX-0.69/Build.PL 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/Build.PL 2014-09-01 22:12:14.000000000 +0200
@@ -17,8 +17,13 @@
dist_author => ['Alberto Simões <ambs(a)cpan.org>',
'Greg Ward <gward(a)python.net>'],
needs_compiler => 1,
+ meta_merge => {
+ resources => {
+ repository => 'http://github.com/ambs/Text-BibTeX',
+ },
+ },
configure_requires => {
- 'Module::Build' => '0.36' ,
+ 'Module::Build' => '0.36',
'Config::AutoConf' => '0.16',
'ExtUtils::LibBuilder' => '0.02',
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/Changes new/Text-BibTeX-0.70/Changes
--- old/Text-BibTeX-0.69/Changes 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/Changes 2014-09-01 22:12:14.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl module Text::BibTeX
+0.70 2014-09-01
+ * Added metadata for metacpan.
+
0.69 2013-02-27
* Fixes in the distribution, namely adding versions to unversioned packages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/META.json new/Text-BibTeX-0.70/META.json
--- old/Text-BibTeX-0.69/META.json 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/META.json 2014-09-01 22:12:14.000000000 +0200
@@ -5,7 +5,7 @@
"Greg Ward <gward(a)python.net>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4205",
+ "generated_by" : "Module::Build version 0.421",
"license" : [
"perl_5"
],
@@ -36,7 +36,7 @@
"provides" : {
"Text::BibTeX" : {
"file" : "lib/Text/BibTeX.pm",
- "version" : "0.69"
+ "version" : "0.70"
},
"Text::BibTeX::BibEntry" : {
"file" : "lib/Text/BibTeX/Bib.pm",
@@ -79,7 +79,8 @@
"version" : "0.1"
},
"Text::BibTeX::StructuredEntry" : {
- "file" : "lib/Text/BibTeX/Structure.pm"
+ "file" : "lib/Text/BibTeX/Structure.pm",
+ "version" : "0.1"
},
"Text::BibTeX::Value" : {
"file" : "lib/Text/BibTeX/Value.pm",
@@ -90,7 +91,10 @@
"resources" : {
"license" : [
"http://dev.perl.org/licenses/"
- ]
+ ],
+ "repository" : {
+ "url" : "http://github.com/ambs/Text-BibTeX"
+ }
},
- "version" : "0.69"
+ "version" : "0.70"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/META.yml new/Text-BibTeX-0.70/META.yml
--- old/Text-BibTeX-0.69/META.yml 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/META.yml 2014-09-01 22:12:14.000000000 +0200
@@ -15,7 +15,7 @@
ExtUtils::LibBuilder: '0.02'
Module::Build: '0.36'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.133380'
+generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
provides:
Text::BibTeX:
file: lib/Text/BibTeX.pm
- version: '0.69'
+ version: '0.70'
Text::BibTeX::BibEntry:
file: lib/Text/BibTeX/Bib.pm
version: '0.1'
@@ -57,9 +57,11 @@
version: '0.1'
Text::BibTeX::StructuredEntry:
file: lib/Text/BibTeX/Structure.pm
+ version: '0.1'
Text::BibTeX::Value:
file: lib/Text/BibTeX/Value.pm
version: '0.1'
resources:
license: http://dev.perl.org/licenses/
-version: '0.69'
+ repository: http://github.com/ambs/Text-BibTeX
+version: '0.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/README new/Text-BibTeX-0.70/README
--- old/Text-BibTeX-0.69/README 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/README 2014-09-01 22:12:14.000000000 +0200
@@ -1,5 +1,4 @@
-
Text::BibTeX
---------------------------------------------------------------------------
@@ -33,7 +32,7 @@
btparse documentation is a further 30 pages). You can find it at
the btOOL home page:
- http://starship.python.net/~gward/btOOL/
+ http://www.gerg.ca/software/btOOL/
INSTALLATION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/lib/Text/BibTeX/Structure.pm new/Text-BibTeX-0.70/lib/Text/BibTeX/Structure.pm
--- old/Text-BibTeX-0.69/lib/Text/BibTeX/Structure.pm 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/lib/Text/BibTeX/Structure.pm 2014-09-01 22:12:14.000000000 +0200
@@ -869,7 +869,9 @@
package Text::BibTeX::StructuredEntry;
use strict;
-use vars qw(@ISA);
+use vars qw(@ISA $VERSION);
+$VERSION = 0.1;
+
use Carp;
@ISA = ('Text::BibTeX::Entry');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/lib/Text/BibTeX.pm new/Text-BibTeX-0.70/lib/Text/BibTeX.pm
--- old/Text-BibTeX-0.69/lib/Text/BibTeX.pm 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/lib/Text/BibTeX.pm 2014-09-01 22:12:14.000000000 +0200
@@ -24,7 +24,7 @@
require Exporter;
require DynaLoader;
-our $VERSION='0.69';
+our $VERSION='0.70';
@ISA = qw(Exporter DynaLoader);
%EXPORT_TAGS = (nodetypes => [qw(BTAST_STRING BTAST_MACRO BTAST_NUMBER)],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Text-BibTeX-0.69/t/nameformat.t new/Text-BibTeX-0.70/t/nameformat.t
--- old/Text-BibTeX-0.69/t/nameformat.t 2014-02-27 22:25:27.000000000 +0100
+++ new/Text-BibTeX-0.70/t/nameformat.t 2014-09-01 22:12:14.000000000 +0200
@@ -104,7 +104,7 @@
my $name9 = Text::BibTeX::Name->new('Šomeone-Šomething Smith');
is decode_utf8($formatter->apply($name9)), 'Š.-Š.';
- my $formatter = Text::BibTeX::NameFormat->new('f', 1);
+ $formatter = Text::BibTeX::NameFormat->new('f', 1);
my $name10 = Text::BibTeX::Name->new('{Šomeone-Šomething} Smith');
is decode_utf8($formatter->apply($name10)), 'Š.';
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-ExtUtils-Depends for openSUSE:Factory checked in at 2014-09-20 15:49:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-Depends (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-Depends"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-ExtUtils-Depends/perl-ExtUtils-Depends.changes 2013-10-11 09:00:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new/perl-ExtUtils-Depends.changes 2014-09-20 15:49:13.000000000 +0200
@@ -1,0 +2,36 @@
+Fri Sep 19 12:15:47 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.401
+ - Add README changes created by 'make dist' from the POD
+ - Rename test modules
+ - Test old/new schemes with .pm files
+ - Move old/new scheme tests from middle of other stuff to end
+ - Rename test packages to 8.3 unique
+
+ 0.400 Sun Aug 10 13:58:24 CEST 2014
+ - In addition to the package variables $inc, $libs and @typemaps, write an
+ 'Inline' method to <package>::Install::Files for easier interoperability
+ with the Inline module.
+ - Accompany the 'Inline' method with a 'deps' method in
+ <package>::Install::Files in addition to the @deps package variable.
+ - Make ExtUtils::Depends->load use the 'Inline' and 'deps' methods by
+ default, falling back to the package variables if the methods are not
+ defined.
+ - Make the docs recommend the 'Inline' and 'deps' approach for creating
+ <package>::Install::Files manually, without
+ ExtUtils::Depends::save_config.
+
+ 0.309 Sat Aug 2 15:23:03 PDT 2014
+ - Depends.pm: use $DLEXT instead of $SO for library filename extensions
+ - MANIFEST: remove MYMETA.* files
+ - use DynaLoader::mod2fname if available
+ - Added Android support
+
+ 0.308 Sun May 18 16:22:11 PDT 2014
+ - Fix win32 test failure in t/02_save_load.t (closes RT#95301)
+
+ 0.307 Mon Apr 28 22:04:38 PDT 2014
+ - $Data::Dumper::Terse set to 1 broke save_config
+ - Document API expected by ::load function
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-Depends-0.306.tar.gz
New:
----
ExtUtils-Depends-0.401.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-Depends.spec ++++++
--- /var/tmp/diff_new_pack.mUqpkm/_old 2014-09-20 15:49:14.000000000 +0200
+++ /var/tmp/diff_new_pack.mUqpkm/_new 2014-09-20 15:49:14.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-ExtUtils-Depends
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
Name: perl-ExtUtils-Depends
-Version: 0.306
+Version: 0.401
Release: 0
%define cpan_name ExtUtils-Depends
Summary: Easily build XS extensions that depend on XS extensions
@@ -29,8 +29,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-#BuildRequires: perl(ExtUtils::Depends)
-#BuildRequires: perl(TestHelper)
+BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
@@ -51,6 +50,9 @@
retrieved later. The object can also reformat this information into the
data structures required by ExtUtils::MakeMaker's WriteMakefile function.
+For information on how to make your module fit into this scheme, see the
+/"hashref = ExtUtils::Depends::load (name)" manpage.
+
When creating a new Depends object, you give it a name, which is the name
of the module you are building. You can also specify the names of modules
on which this module depends. These dependencies will be loaded
@@ -69,6 +71,28 @@
this command automatically brings in all the stuff needed
for Glib, since Gtk2 depends on it.
+When the configuration information is saved, it also includes a class
+method called 'Inline', inheritable by your module. This allows you in your
+module to simply say at the top:
+
+ package Mymod;
+ use parent 'Mymod::Install::Files'; # to inherit 'Inline' method
+
+And users of 'Mymod' who want to write inline code (using the Inline
+manpage) will simply be able to write:
+
+ use Inline with => 'Mymod';
+
+And all the necessary header files, defines, and libraries will be added
+for them.
+
+The 'Mymod::Install::Files' will also implement a 'deps' method, which will
+return a list of any modules that 'Mymod' depends on - you will not
+normally need to use this:
+
+ require Mymod::Install::Files;
+ @deps = Mymod::Install::Files->deps;
+
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ ExtUtils-Depends-0.306.tar.gz -> ExtUtils-Depends-0.401.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/Changes new/ExtUtils-Depends-0.401/Changes
--- old/ExtUtils-Depends-0.306/Changes 2013-09-29 07:05:38.000000000 +0200
+++ new/ExtUtils-Depends-0.401/Changes 2014-08-23 07:22:56.000000000 +0200
@@ -1,5 +1,38 @@
Revision history for Perl extension ExtUtils::Depends.
+0.401 Sat Aug 23 14:20:11 IRKT 2014
+ - Add README changes created by 'make dist' from the POD
+ - Rename test modules
+ - Test old/new schemes with .pm files
+ - Move old/new scheme tests from middle of other stuff to end
+ - Rename test packages to 8.3 unique
+
+0.400 Sun Aug 10 13:58:24 CEST 2014
+ - In addition to the package variables $inc, $libs and @typemaps, write an
+ 'Inline' method to <package>::Install::Files for easier interoperability
+ with the Inline module.
+ - Accompany the 'Inline' method with a 'deps' method in
+ <package>::Install::Files in addition to the @deps package variable.
+ - Make ExtUtils::Depends->load use the 'Inline' and 'deps' methods by
+ default, falling back to the package variables if the methods are not
+ defined.
+ - Make the docs recommend the 'Inline' and 'deps' approach for creating
+ <package>::Install::Files manually, without
+ ExtUtils::Depends::save_config.
+
+0.309 Sat Aug 2 15:23:03 PDT 2014
+ - Depends.pm: use $DLEXT instead of $SO for library filename extensions
+ - MANIFEST: remove MYMETA.* files
+ - use DynaLoader::mod2fname if available
+ - Added Android support
+
+0.308 Sun May 18 16:22:11 PDT 2014
+ - Fix win32 test failure in t/02_save_load.t (closes RT#95301)
+
+0.307 Mon Apr 28 22:04:38 PDT 2014
+ - $Data::Dumper::Terse set to 1 broke save_config
+ - Document API expected by ::load function
+
0.306 Mon Sep 28 22:04:38 PDT 2013
- Fixed typo in RT queue URL; fixes RT#88960
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/MANIFEST new/ExtUtils-Depends-0.401/MANIFEST
--- old/ExtUtils-Depends-0.306/MANIFEST 2013-09-29 07:08:18.000000000 +0200
+++ new/ExtUtils-Depends-0.401/MANIFEST 2014-08-23 07:23:53.000000000 +0200
@@ -15,6 +15,10 @@
t/inc/DepTest/DepTest.lib
t/inc/DepTest/Install/.keep
t/inc/DepTest/libDepTest.dll.a
+t/inc/DepTest/PL_DepTest.dll
+t/inc/DepTest/PL_DepTest.lib
+t/inc/DepTest/PL_DepTest.so
+t/inc/DepTest/PL_libDepTest.dll.a
t/lib/TestHelper.pm
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/META.json new/ExtUtils-Depends-0.401/META.json
--- old/ExtUtils-Depends-0.306/META.json 2013-09-29 07:08:18.000000000 +0200
+++ new/ExtUtils-Depends-0.401/META.json 2014-08-23 07:23:53.000000000 +0200
@@ -4,7 +4,7 @@
"Gtk2-Perl Team <gtk-perl-list at gnome dot org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520",
"keywords" : [
"XS",
"XS extensions",
@@ -30,16 +30,26 @@
"prereqs" : {
"build" : {
"requires" : {
- "Test::More" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "Test::More" : "0.88"
}
},
"configure" : {
"requires" : {
"Data::Dumper" : "0",
+ "ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"IO::File" : "0"
}
},
+ "runtime" : {
+ "requires" : {
+ "Data::Dumper" : "0",
+ "File::Spec" : "0",
+ "IO::File" : "0",
+ "perl" : "5.006"
+ }
+ },
"test" : {
"recommends" : {
"Test::Number::Delta" : "1"
@@ -63,5 +73,5 @@
},
"x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list"
},
- "version" : "0.306"
+ "version" : "0.401"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/META.yml new/ExtUtils-Depends-0.401/META.yml
--- old/ExtUtils-Depends-0.306/META.yml 2013-09-29 07:08:18.000000000 +0200
+++ new/ExtUtils-Depends-0.401/META.yml 2014-08-23 07:23:52.000000000 +0200
@@ -3,13 +3,15 @@
author:
- 'Gtk2-Perl Team <gtk-perl-list at gnome dot org>'
build_requires:
- Test::More: 0
+ ExtUtils::MakeMaker: '0'
+ Test::More: '0.88'
configure_requires:
- Data::Dumper: 0
- File::Spec: 0
- IO::File: 0
+ Data::Dumper: '0'
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ IO::File: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520'
keywords:
- XS
- 'XS extensions'
@@ -17,7 +19,7 @@
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: ExtUtils-Depends
no_index:
directory:
@@ -25,10 +27,15 @@
- inc
package:
- ExtUtils::MM
+requires:
+ Data::Dumper: '0'
+ File::Spec: '0'
+ IO::File: '0'
+ perl: '5.006'
resources:
+ MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-Depends
homepage: http://gtk2-perl.sourceforge.net
license: http://dev.perl.org/licenses/
repository: git://git.gnome.org/perl-ExtUtils-Depends
- x_MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
-version: 0.306
+version: '0.401'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/MYMETA.json new/ExtUtils-Depends-0.401/MYMETA.json
--- old/ExtUtils-Depends-0.306/MYMETA.json 2013-09-29 07:06:42.000000000 +0200
+++ new/ExtUtils-Depends-0.401/MYMETA.json 2014-08-23 07:23:24.000000000 +0200
@@ -4,7 +4,7 @@
"Gtk2-Perl Team <gtk-perl-list at gnome dot org>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520",
"keywords" : [
"XS",
"XS extensions",
@@ -30,16 +30,26 @@
"prereqs" : {
"build" : {
"requires" : {
- "Test::More" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "Test::More" : "0.88"
}
},
"configure" : {
"requires" : {
"Data::Dumper" : "0",
+ "ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"IO::File" : "0"
}
},
+ "runtime" : {
+ "requires" : {
+ "Data::Dumper" : "0",
+ "File::Spec" : "0",
+ "IO::File" : "0",
+ "perl" : "5.006"
+ }
+ },
"test" : {
"recommends" : {
"Test::Number::Delta" : "1"
@@ -63,5 +73,5 @@
},
"x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list"
},
- "version" : "0.306"
+ "version" : "0.401"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/MYMETA.yml new/ExtUtils-Depends-0.401/MYMETA.yml
--- old/ExtUtils-Depends-0.306/MYMETA.yml 2013-09-29 07:06:42.000000000 +0200
+++ new/ExtUtils-Depends-0.401/MYMETA.yml 2014-08-23 07:23:24.000000000 +0200
@@ -3,13 +3,15 @@
author:
- 'Gtk2-Perl Team <gtk-perl-list at gnome dot org>'
build_requires:
- Test::More: 0
+ ExtUtils::MakeMaker: '0'
+ Test::More: '0.88'
configure_requires:
- Data::Dumper: 0
- File::Spec: 0
- IO::File: 0
+ Data::Dumper: '0'
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ IO::File: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520'
keywords:
- XS
- 'XS extensions'
@@ -17,7 +19,7 @@
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: ExtUtils-Depends
no_index:
directory:
@@ -25,10 +27,15 @@
- inc
package:
- ExtUtils::MM
+requires:
+ Data::Dumper: '0'
+ File::Spec: '0'
+ IO::File: '0'
+ perl: '5.006'
resources:
+ MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-Depends
homepage: http://gtk2-perl.sourceforge.net
license: http://dev.perl.org/licenses/
repository: git://git.gnome.org/perl-ExtUtils-Depends
- x_MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
-version: 0.306
+version: '0.401'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/Makefile.PL new/ExtUtils-Depends-0.401/Makefile.PL
--- old/ExtUtils-Depends-0.306/Makefile.PL 2013-09-29 05:13:17.000000000 +0200
+++ new/ExtUtils-Depends-0.401/Makefile.PL 2014-08-22 10:42:03.000000000 +0200
@@ -42,7 +42,7 @@
},
build => {
requires => {
- 'Test::More' => 0,
+ 'Test::More' => 0.88,
},
},
test => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/README new/ExtUtils-Depends-0.401/README
--- old/ExtUtils-Depends-0.306/README 2013-09-29 07:08:18.000000000 +0200
+++ new/ExtUtils-Depends-0.401/README 2014-08-23 07:23:53.000000000 +0200
@@ -43,6 +43,9 @@
into the data structures required by ExtUtils::MakeMaker's WriteMakefile
function.
+ For information on how to make your module fit into this scheme, see
+ "hashref = ExtUtils::Depends::load (name)".
+
When creating a new Depends object, you give it a name, which is the
name of the module you are building. You can also specify the names of
modules on which this module depends. These dependencies will be loaded
@@ -61,6 +64,28 @@
this command automatically brings in all the stuff needed
for Glib, since Gtk2 depends on it.
+ When the configuration information is saved, it also includes a class
+ method called "Inline", inheritable by your module. This allows you in
+ your module to simply say at the top:
+
+ package Mymod;
+ use parent 'Mymod::Install::Files'; # to inherit 'Inline' method
+
+ And users of "Mymod" who want to write inline code (using Inline) will
+ simply be able to write:
+
+ use Inline with => 'Mymod';
+
+ And all the necessary header files, defines, and libraries will be added
+ for them.
+
+ The "Mymod::Install::Files" will also implement a "deps" method, which
+ will return a list of any modules that "Mymod" depends on - you will not
+ normally need to use this:
+
+ require Mymod::Install::Files;
+ @deps = Mymod::Install::Files->deps;
+
METHODS
$object = ExtUtils::Depends->new($name, @deps)
Create a new depends object named *$name*. Any modules listed in
@@ -108,8 +133,9 @@
Save the important information from *$depends* to *$filename*, and
set it up to be installed as *name*::Install::Files.
- Note: the actual value of *$filename* seems to be irrelevant, but
- its usage is kept for backward compatibility.
+ Note: the actual value of *$filename* is unimportant so long as it
+ doesn't clash with any other local files. It will be installed as
+ *name*::Install::Files.
hash = $depends->get_makefile_vars
Return the information in *$depends* in a format digestible by
@@ -149,6 +175,19 @@
exist when loading files created by old versions of
ExtUtils::Depends.
+ If you want to make module *name* support this, you must provide a
+ module *name*::Install::Files, which on loading will implement the
+ following class methods:
+
+ $hashref = name::Install::Files->Inline('C');
+ # hash to contain any necessary TYPEMAPS (array-ref), LIBS, INC
+ @deps = name::Install::Files->deps;
+ # any modules on which "name" depends
+
+ An easy way to achieve this is to use the method
+ "$depends->save_config ($filename)", but your package may have
+ different facilities already.
+
$depends->load_deps
Load *$depends* dependencies, by calling "load" on each dependency
module. This is usually done for you, and should only be needed if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/lib/ExtUtils/Depends.pm new/ExtUtils-Depends-0.401/lib/ExtUtils/Depends.pm
--- old/ExtUtils-Depends-0.306/lib/ExtUtils/Depends.pm 2013-09-29 07:04:16.000000000 +0200
+++ new/ExtUtils-Depends-0.401/lib/ExtUtils/Depends.pm 2014-08-23 07:22:49.000000000 +0200
@@ -7,11 +7,12 @@
use strict;
use warnings;
use Carp;
+use Config;
use File::Find;
use File::Spec;
use Data::Dumper;
-our $VERSION = '0.306';
+our $VERSION = '0.401';
sub import {
my $class = shift;
@@ -112,6 +113,7 @@
sub save_config {
use Data::Dumper;
+ local $Data::Dumper::Terse = 0;
use IO::File;
my ($self, $filename) = @_;
@@ -120,19 +122,19 @@
or croak "can't open '$filename' for writing: $!\n";
print $file "package $self->{name}\::Install::Files;\n\n";
- # for modern stuff
print $file "".Data::Dumper->Dump([{
inc => join (" ", @{ $self->{inc} }),
libs => $self->{libs},
typemaps => [ map { basename $_ } @{ $self->{typemaps} } ],
deps => [keys %{ $self->{deps} }],
}], ['self']);
- # for ancient stuff
- print $file "\n\n# this is for backwards compatiblity\n";
- print $file "\@deps = \@{ \$self->{deps} };\n";
- print $file "\@typemaps = \@{ \$self->{typemaps} };\n";
- print $file "\$libs = \$self->{libs};\n";
- print $file "\$inc = \$self->{inc};\n";
+ print $file <<'EOF';
+
+@deps = @{ $self->{deps} };
+@typemaps = @{ $self->{typemaps} };
+$libs = $self->{libs};
+$inc = $self->{inc};
+EOF
# this is ridiculous, but old versions of ExtUtils::Depends take
# first $loadedmodule::CORE and then $INC{$file} --- the fallback
# includes the Filename.pm, which is not useful. so we must add
@@ -148,6 +150,17 @@
last;
}
}
+
+ sub deps { \@{ \$self->{deps} }; }
+
+ sub Inline {
+ my (\$class, \$lang) = \@_;
+ if (\$lang ne 'C') {
+ warn "Warning: Inline hints not available for \$lang language\n";
+ return;
+ }
+ +{ map { (uc(\$_) => \$self->{\$_}) } qw(inc libs typemaps) };
+ }
EOT
print $file "\n1;\n";
@@ -169,14 +182,13 @@
eval {
require $relpath
} or die " *** Can't load dependency information for $dep:\n $@\n";
- #
#print Dumper(\%INC);
# effectively $instpath = dirname($INC{$relpath})
@pieces = File::Spec->splitdir ($INC{$relpath});
pop @pieces;
my $instpath = File::Spec->catdir (@pieces);
-
+
no strict;
croak "No dependency information found for $dep"
@@ -186,20 +198,32 @@
$instpath = File::Spec->rel2abs ($instpath);
}
- my @typemaps = map {
- File::Spec->rel2abs ($_, $instpath)
- } @{"$depinstallfiles\::typemaps"};
+ my (@typemaps, $inc, $libs, @deps);
+
+ # this will not exist when loading files from old versions
+ # of ExtUtils::Depends.
+ @deps = eval { $depinstallfiles->deps };
+ @deps = @{"$depinstallfiles\::deps"}
+ if $@ and exists ${"$depinstallfiles\::"}{deps};
+
+ my $inline = eval { $depinstallfiles->Inline('C') };
+ if (!$@) {
+ $inc = $inline->{INC} || '';
+ $libs = $inline->{LIBS} || '';
+ @typemaps = @{ $inline->{TYPEMAPS} || [] };
+ } else {
+ $inc = ${"$depinstallfiles\::inc"} || '';
+ $libs = ${"$depinstallfiles\::libs"} || '';
+ @typemaps = @{"$depinstallfiles\::typemaps"};
+ }
+ @typemaps = map { File::Spec->rel2abs ($_, $instpath) } @typemaps;
{
instpath => $instpath,
typemaps => \@typemaps,
- inc => "-I$instpath ".${"$depinstallfiles\::inc"},
- libs => ${"$depinstallfiles\::libs"},
- # this will not exist when loading files from old versions
- # of ExtUtils::Depends.
- (exists ${"$depinstallfiles\::"}{deps}
- ? (deps => \@{"$depinstallfiles\::deps"})
- : ()),
+ inc => "-I$instpath $inc",
+ libs => $libs,
+ deps => \@deps,
}
}
@@ -241,7 +265,7 @@
# collect and uniquify things from the dependencies.
# first, ensure they are completely loaded.
$self->load_deps;
-
+
##my @defbits = map { split } @{ $self->{defines} };
my @incbits = map { split } @{ $self->{inc} };
my @libsbits = split /\s+/, $self->{libs};
@@ -303,7 +327,7 @@
my ($self, $vars) = @_;
$vars->{macro} ||= {};
$vars->{macro}{'INST_DYNAMIC_LIB'} =
- '$(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)';
+ '$(INST_ARCHAUTODIR)/$(DLBASE)$(LIB_EXT)';
}
# Search for extra library files to link against on Windows (either native
@@ -315,6 +339,7 @@
my %mappers = (
MSWin32 => sub { $_[0] . '\.(?:lib|a)' },
cygwin => sub { $_[0] . '\.dll'},
+ android => sub { $_[0] . '\.' . $Config{dlext} },
);
my $mapper = $mappers{$^O};
return () unless defined $mapper;
@@ -322,6 +347,10 @@
my @found_libs = ();
foreach my $name (keys %{ $self->{deps} }) {
(my $stem = $name) =~ s/^.*:://;
+ if ( defined &DynaLoader::mod2fname ) {
+ my @parts = split /::/, $name;
+ $stem = DynaLoader::mod2fname([@parts]);
+ }
my $lib = $mapper->($stem);
my $pattern = qr/$lib$/;
@@ -336,6 +365,18 @@
if ($matching_file && -f $matching_file) {
push @found_libs, ('-L' . $matching_dir, '-l' . $stem);
+ # Android's linker ignores the RTLD_GLOBAL flag
+ # and loads everything as if under RTLD_LOCAL.
+ # What this means in practice is that modules need
+ # to explicitly link to their dependencies,
+ # because otherwise they won't be able to locate any
+ # functions they define.
+ # We use the -l:foo.so flag to indicate that the
+ # actual library name to look for is foo.so, not
+ # libfoo.so
+ if ( $^O eq 'android' ) {
+ $found_libs[-1] = "-l:$stem.$Config{dlext}";
+ }
next;
}
}
@@ -358,7 +399,7 @@
return <<"__EOM__"
# This isn't actually a static lib, it just has the same name on Win32.
\$(INST_DYNAMIC_LIB): \$(INST_DYNAMIC)
- $DLLTOOL --def \$(EXPORT_LIST) --output-lib \$\@ --dllname \$(BASEEXT).\$(SO) \$(INST_DYNAMIC)
+ $DLLTOOL --def \$(EXPORT_LIST) --output-lib \$\@ --dllname \$(DLBASE).\$(DLEXT) \$(INST_DYNAMIC)
dynamic:: \$(INST_DYNAMIC_LIB)
__EOM__
@@ -414,6 +455,9 @@
into the data structures required by ExtUtils::MakeMaker's WriteMakefile
function.
+For information on how to make your module fit into this scheme, see
+L</"hashref = ExtUtils::Depends::load (name)">.
+
When creating a new Depends object, you give it a name, which is the name
of the module you are building. You can also specify the names of modules
on which this module depends. These dependencies will be loaded
@@ -432,6 +476,27 @@
this command automatically brings in all the stuff needed
for Glib, since Gtk2 depends on it.
+When the configuration information is saved, it also includes a class
+method called C<Inline>, inheritable by your module. This allows you in
+your module to simply say at the top:
+
+ package Mymod;
+ use parent 'Mymod::Install::Files'; # to inherit 'Inline' method
+
+And users of C<Mymod> who want to write inline code (using L<Inline>)
+will simply be able to write:
+
+ use Inline with => 'Mymod';
+
+And all the necessary header files, defines, and libraries will be added
+for them.
+
+The C<Mymod::Install::Files> will also implement a C<deps> method,
+which will return a list of any modules that C<Mymod> depends on -
+you will not normally need to use this:
+
+ require Mymod::Install::Files;
+ @deps = Mymod::Install::Files->deps;
=head1 METHODS
@@ -494,8 +559,9 @@
Save the important information from I<$depends> to I<$filename>, and
set it up to be installed as I<name>::Install::Files.
-Note: the actual value of I<$filename> seems to be irrelevant, but its
-usage is kept for backward compatibility.
+Note: the actual value of I<$filename> is unimportant so long as it
+doesn't clash with any other local files. It will be installed as
+I<name>::Install::Files.
=item hash = $depends->get_makefile_vars
@@ -546,6 +612,19 @@
=back
+If you want to make module I<name> support this, you must provide
+a module I<name>::Install::Files, which on loading will implement the
+following class methods:
+
+ $hashref = name::Install::Files->Inline('C');
+ # hash to contain any necessary TYPEMAPS (array-ref), LIBS, INC
+ @deps = name::Install::Files->deps;
+ # any modules on which "name" depends
+
+An easy way to achieve this is to use the method
+L</"$depends-E<gt>save_config ($filename)">, but your package may have
+different facilities already.
+
=item $depends->load_deps
Load I<$depends> dependencies, by calling C<load> on each dependency module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/t/02_save_load.t new/ExtUtils-Depends-0.401/t/02_save_load.t
--- old/ExtUtils-Depends-0.306/t/02_save_load.t 2011-11-27 08:56:51.000000000 +0100
+++ new/ExtUtils-Depends-0.401/t/02_save_load.t 2014-08-22 14:54:17.000000000 +0200
@@ -2,11 +2,13 @@
use strict;
use warnings;
-use Test::More tests => 24;
+use Test::More;
use FindBin;
use lib "$FindBin::Bin/lib";
use TestHelper;
+use File::Path 'mkpath';
+use File::Spec::Functions 'catdir';
use ExtUtils::Depends;
@@ -40,33 +42,35 @@
dep-private.h);
$dep_info->install (@installed_files);
+use Data::Dumper;
+$Data::Dumper::Terse = 1;
$dep_info->save_config (catfile $tmp_inc, qw(DepTest Install Files.pm));
# --------------------------------------------------------------------------- #
my %vars = $dep_info->get_makefile_vars;
-is_deeply ($vars{TYPEMAPS}, \@typemaps);
-is ($vars{INC}, $inc);
-is ($vars{LIBS}, $libs);
+is_deeply ($vars{TYPEMAPS}, \@typemaps, 'makefile vars typemaps');
+is ($vars{INC}, $inc, 'makefile vars inc');
+is ($vars{LIBS}, $libs, 'makefile vars libs');
foreach my $pm (keys %pm_mapping) {
- like ($vars{PM}{$pm}, qr/\Q$pm_mapping{$pm}\E/);
+ like ($vars{PM}{$pm}, qr/\Q$pm_mapping{$pm}\E/, 'makefile vars PM');
}
-ok (exists $vars{PM}{catfile $tmp_inc, qw(DepTest Install Files.pm)});
+ok (exists $vars{PM}{catfile $tmp_inc, qw(DepTest Install Files.pm)}, 'PM');
foreach my $file (@installed_files) {
- like ($vars{PM}{$file}, qr/\Q$file\E/);
+ like ($vars{PM}{$file}, qr/\Q$file\E/, "PM $file");
}
foreach my $xs_file (@xs_files) {
- ok (exists $vars{XS}{$xs_file});
+ ok (exists $vars{XS}{$xs_file}, "XS $xs_file");
}
foreach my $file (@c_files, @xs_files) {
(my $stem = $file) =~ s/\.(?:c|xs)\z//;
- like ($vars{OBJECT}, qr/\Q$stem\E/);
- like ($vars{clean}{FILES}, qr/\Q$stem\E/);
+ like ($vars{OBJECT}, qr/\Q$stem\E/, "OBJECT $stem");
+ like ($vars{clean}{FILES}, qr/\Q$stem\E/, "FILES $stem");
}
# --------------------------------------------------------------------------- #
@@ -74,15 +78,76 @@
my $info = ExtUtils::Depends::load ('DepTest');
my $install_part = qr|DepTest.Install|;
-like ($info->{inc}, $install_part);
-ok (-1 != index $info->{inc}, $inc);
+like ($info->{inc}, $install_part, "loaded inc");
+isnt (index($info->{inc}, $inc), -1, "loaded inc content");
-isa_ok ($info->{typemaps}, 'ARRAY');
+my @typemaps_expected = map { my $t = $_; $t =~ s#build/##; $t } @typemaps;
+sub strip_typemap { my $t = $_; my $tmp = catfile('DepTest','Install',' '); $tmp =~ s# $##; $t =~ s#.*\Q$tmp\E##; $t }
+is_deeply (
+ [ map { strip_typemap($_) } @{$info->{typemaps}} ],
+ \@typemaps_expected,
+ 'check typemaps actually saved/loaded'
+);
+
+like ($info->{instpath}, $install_part, 'instpath');
+
+is_deeply ($info->{deps}, [], 'basic deps');
+
+is ($info->{libs}, $libs, 'basic libs');
+
+# now check package vars are set, per the ::load doc!
+{
+no warnings qw(once);
+is ($DepTest::Install::Files::inc, $inc, 'package inc');
+is_deeply (
+ [ map { strip_typemap($_) } @DepTest::Install::Files::typemaps ],
+ \@typemaps_expected,
+ 'package typemaps'
+);
+is_deeply (\@DepTest::Install::Files::deps, [], 'package deps');
+is ($DepTest::Install::Files::libs, $libs, 'package libs');
+}
-like ($info->{instpath}, $install_part);
+# test Inline class methods
+is_deeply (
+ DepTest::Install::Files->Inline('C'),
+ {
+ INC => $inc,
+ LIBS => $libs,
+ TYPEMAPS => \@typemaps_expected,
+ },
+ 'api check Inline method'
+);
+is_deeply ([ DepTest::Install::Files->deps ], [], 'api check deps method');
-is_deeply ($info->{deps}, []);
+# --------------------------------------------------------------------------- #
-is ($info->{libs}, $libs);
+my $INC_FRAG = '-Ddistinctive';
+make_test_pkg('PSnew', <<EOF);
+sub Inline { +{ INC => '$INC_FRAG' } }
+sub deps { qw(PSold) }
+EOF
+make_test_pkg('PSold', "\@deps = qw(PSnew); \$inc = '$INC_FRAG';");
+sub make_test_pkg {
+ my ($base, $text) = @_;
+ my $dir = catdir($tmp_inc, $base, qw(Install));
+ mkpath($dir, 0, 0711);
+ local *FH;
+ open FH, '>', catfile($dir, 'Files.pm');
+ print FH sprintf "package %s;\n%s\n1;\n", $base . '::Install::Files', $text;
+ close FH;
+}
+sub test_load {
+ my ($info, $msg) = @_;
+ my $install_part = qr|PS.*Install|;
+ like ($info->{inc}, $install_part, "$msg inc generic");
+ like ($info->{inc}, qr/$INC_FRAG/, "$msg inc specific");
+ ok (scalar(grep { /PS/ } @{$info->{deps}}), $msg);
+ ok (exists $info->{libs}, $msg);
+}
+test_load (ExtUtils::Depends::load('PSnew'), 'load new scheme');
+test_load (ExtUtils::Depends::load('PSold'), 'load old scheme');
# --------------------------------------------------------------------------- #
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.306/t/04_extra_libs.t new/ExtUtils-Depends-0.401/t/04_extra_libs.t
--- old/ExtUtils-Depends-0.306/t/04_extra_libs.t 2011-11-27 08:56:51.000000000 +0100
+++ new/ExtUtils-Depends-0.401/t/04_extra_libs.t 2014-08-03 00:32:48.000000000 +0200
@@ -12,9 +12,10 @@
my $tmp_inc = temp_inc;
-plan (($^O eq 'MSWin32' || $^O eq 'cygwin') ?
+plan (($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'android') ?
(tests => 1) :
- (skip_all => 'test only applicable to MSWin32 and cygwin'));
+ (skip_all
+ => "test only for 'MSWin32', 'cygwin', and 'android'"));
my $dep_info = ExtUtils::Depends->new ('DepTest');
$dep_info->save_config (catfile $tmp_inc, qw(DepTest Install Files.pm));
@@ -24,6 +25,11 @@
my $use_info = ExtUtils::Depends->new ('UseTest', 'DepTest');
my %vars = $use_info->get_makefile_vars;
-like ($vars{LIBS}, qr/DepTest/);
+my $libname = 'DepTest';
+
+require DynaLoader;
+$libname = DynaLoader::mod2fname([$libname]) if defined &DynaLoader::mod2fname;
+
+like ($vars{LIBS}, qr/$libname/);
# --------------------------------------------------------------------------- #
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-ExtUtils-LibBuilder for openSUSE:Factory checked in at 2014-09-20 15:49:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-LibBuilder (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-LibBuilder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-LibBuilder"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-ExtUtils-LibBuilder/perl-ExtUtils-LibBuilder.changes 2012-05-26 12:38:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-ExtUtils-LibBuilder.new/perl-ExtUtils-LibBuilder.changes 2014-09-20 15:49:12.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 19 12:15:47 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.06
+ - Fixed metadata for metacpan (thanks to Gabor Szabo).
+ - Added metadata for metacpan.
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-LibBuilder-0.04.tar.gz
New:
----
ExtUtils-LibBuilder-0.06.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-LibBuilder.spec ++++++
--- /var/tmp/diff_new_pack.sTBgdj/_old 2014-09-20 15:49:13.000000000 +0200
+++ /var/tmp/diff_new_pack.sTBgdj/_new 2014-09-20 15:49:13.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-ExtUtils-LibBuilder (Version 0.04)
+# spec file for package perl-ExtUtils-LibBuilder
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -15,25 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: perl-ExtUtils-LibBuilder
-Version: 0.04
-Release: 1
-License: GPL-1.0+ or Artistic-1.0
+Version: 0.06
+Release: 0
%define cpan_name ExtUtils-LibBuilder
Summary: A tool to build C libraries.
-Url: http://search.cpan.org/dist/ExtUtils-LibBuilder/
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Source: http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils/%{cpan_name}-%{version}.t…
+Url: http://search.cpan.org/dist/ExtUtils-LibBuilder/
+Source: http://www.cpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
-BuildRequires: perl(Module::Build)
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder) >= 0.23
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(File::Temp)
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Test::More)
+BuildRequires: perl(Module::Build) >= 0.42
%{perl_requires}
%description
@@ -53,9 +50,6 @@
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
++++++ ExtUtils-LibBuilder-0.04.tar.gz -> ExtUtils-LibBuilder-0.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/Build.PL new/ExtUtils-LibBuilder-0.06/Build.PL
--- old/ExtUtils-LibBuilder-0.04/Build.PL 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/Build.PL 2014-08-31 22:02:55.000000000 +0200
@@ -7,13 +7,18 @@
license => 'perl',
dist_author => q{Alberto Simoes <ambs(a)cpan.org>},
dist_version_from => 'lib/ExtUtils/LibBuilder.pm',
- build_requires => {
- 'ExtUtils::CBuilder' => '0.23',
- 'File::Spec' => 0,
- 'File::Temp' => 0,
- 'Test::More' => 0,
+ build_requires => {
+ 'ExtUtils::CBuilder' => '0.23',
+ 'File::Spec' => 0,
+ 'File::Temp' => 0,
+ 'Test::More' => 0,
},
add_to_cleanup => [ 'ExtUtils-LibBuilder-*' ],
+ meta_merge => {
+ resources => {
+ repository => 'http://github.com/ambs/ExtUtils-LibBuilder',
+ },
+ },
);
$builder->create_build_script();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/Changes new/ExtUtils-LibBuilder-0.06/Changes
--- old/ExtUtils-LibBuilder-0.04/Changes 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/Changes 2014-08-31 22:02:55.000000000 +0200
@@ -1,5 +1,11 @@
Revision history for ExtUtils-LibBuilder
+0.06 Sun Aug 31 21:02:44 WEST 2014
+ - Fixed metadata for metacpan (thanks to Gabor Szabo).
+
+0.05 Sun Aug 31 13:44:44 WEST 2014
+ - Added metadata for metacpan.
+
0.04 Sun Nov 21 13:38:35 WET 2010
- Trying my luck on IRIX...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/MANIFEST new/ExtUtils-LibBuilder-0.06/MANIFEST
--- old/ExtUtils-LibBuilder-0.04/MANIFEST 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/MANIFEST 2014-08-31 22:02:55.000000000 +0200
@@ -5,7 +5,7 @@
lib/ExtUtils/LibBuilder.pm
t/00-load.t
t/01-simple.t
-t/manifest.t
t/pod-coverage.t
t/pod.t
META.yml
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/META.json new/ExtUtils-LibBuilder-0.06/META.json
--- old/ExtUtils-LibBuilder-0.04/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/META.json 2014-08-31 22:02:55.000000000 +0200
@@ -0,0 +1,47 @@
+{
+ "abstract" : "A tool to build C libraries.",
+ "author" : [
+ "Alberto Simoes <ambs(a)cpan.org>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.4208",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "ExtUtils-LibBuilder",
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::CBuilder" : "0.23",
+ "File::Spec" : "0",
+ "File::Temp" : "0",
+ "Test::More" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.42"
+ }
+ }
+ },
+ "provides" : {
+ "ExtUtils::LibBuilder" : {
+ "file" : "lib/ExtUtils/LibBuilder.pm",
+ "version" : "0.06"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ],
+ "repository" : {
+ "url" : "http://github.com/ambs/ExtUtils-LibBuilder"
+ }
+ },
+ "version" : "0.06"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/META.yml new/ExtUtils-LibBuilder-0.06/META.yml
--- old/ExtUtils-LibBuilder-0.04/META.yml 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/META.yml 2014-08-31 22:02:55.000000000 +0200
@@ -3,22 +3,24 @@
author:
- 'Alberto Simoes <ambs(a)cpan.org>'
build_requires:
- ExtUtils::CBuilder: 0.23
- File::Spec: 0
- File::Temp: 0
- Test::More: 0
+ ExtUtils::CBuilder: '0.23'
+ File::Spec: '0'
+ File::Temp: '0'
+ Test::More: '0'
configure_requires:
- Module::Build: 0.36
-generated_by: 'Module::Build version 0.3607'
+ Module::Build: '0.42'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.4208, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: ExtUtils-LibBuilder
provides:
ExtUtils::LibBuilder:
file: lib/ExtUtils/LibBuilder.pm
- version: 0.04
+ version: '0.06'
resources:
license: http://dev.perl.org/licenses/
-version: 0.04
+ repository: http://github.com/ambs/ExtUtils-LibBuilder
+version: '0.06'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/lib/ExtUtils/LibBuilder.pm new/ExtUtils-LibBuilder-0.06/lib/ExtUtils/LibBuilder.pm
--- old/ExtUtils-LibBuilder-0.04/lib/ExtUtils/LibBuilder.pm 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/lib/ExtUtils/LibBuilder.pm 2014-08-31 22:02:55.000000000 +0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-our $VERSION = '0.04';
+our $VERSION = '0.06';
our $DEBUG = 0;
use base 'ExtUtils::CBuilder';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-LibBuilder-0.04/t/manifest.t new/ExtUtils-LibBuilder-0.06/t/manifest.t
--- old/ExtUtils-LibBuilder-0.04/t/manifest.t 2010-11-21 14:41:53.000000000 +0100
+++ new/ExtUtils-LibBuilder-0.06/t/manifest.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-use Test::More;
-
-unless ( $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-eval "use Test::CheckManifest 0.9";
-plan skip_all => "Test::CheckManifest 0.9 required" if $@;
-ok_manifest();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libgphoto2 for openSUSE:Factory checked in at 2014-09-20 15:49:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old)
and /work/SRC/openSUSE:Factory/.libgphoto2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgphoto2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes 2014-08-20 17:51:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2.changes 2014-09-20 15:49:09.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Sep 18 21:07:46 UTC 2014 - meissner(a)suse.com
+
+- 2.5.5.1 release
+ - regression with nikon coolpix s fixed
+ - canon eos has no zoom
+ - more fixes and translation updates
+
+-------------------------------------------------------------------
@@ -3,0 +12 @@
+- 2.5.5 release
Old:
----
libgphoto2-2.5.5.tar.bz2
libgphoto2-2.5.5.tar.bz2.asc
New:
----
libgphoto2-2.5.5.1.tar.bz2
libgphoto2-2.5.5.1.tar.bz2.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgphoto2.spec ++++++
--- /var/tmp/diff_new_pack.YvoHkl/_old 2014-09-20 15:49:11.000000000 +0200
+++ /var/tmp/diff_new_pack.YvoHkl/_new 2014-09-20 15:49:11.000000000 +0200
@@ -51,7 +51,7 @@
Summary: A Digital Camera Library
License: LGPL-2.1+
Group: Hardware/Camera
-Version: 2.5.5
+Version: 2.5.5.1
Release: 0
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.tar.bz2.asc
++++++ libgphoto2-2.5.5.tar.bz2 -> libgphoto2-2.5.5.1.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/libgphoto2/libgphoto2-2.5.5.tar.bz2 /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2-2.5.5.1.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kdump for openSUSE:Factory checked in at 2014-09-20 07:26:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
and /work/SRC/openSUSE:Factory/.kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2014-09-10 17:01:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new/kdump.changes 2014-09-20 07:26:45.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Sep 18 15:33:21 UTC 2014 - ptesarik(a)suse.cz
+
+- kdump-remove-root-and-resume.patch: Remove root= and resume= from
+ the kdump kernel command line (bnc#883883).
+- kdump-systemd-support.patch: Dracut-systemd support (bnc#883883).
+- kdump-calibrate-systemd-runtime.patch: Calibrate: update
+ user-space run-time requirements for systemd (bnc#883883).
+- kdump-calibrate-systemd-initramfs.patch: Calibrate: update the
+ initramfs size (bnc#883883).
+
+-------------------------------------------------------------------
New:
----
kdump-calibrate-systemd-initramfs.patch
kdump-calibrate-systemd-runtime.patch
kdump-remove-root-and-resume.patch
kdump-systemd-support.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.87eg2f/_old 2014-09-20 07:26:46.000000000 +0200
+++ /var/tmp/diff_new_pack.87eg2f/_new 2014-09-20 07:26:46.000000000 +0200
@@ -68,6 +68,10 @@
Patch1: %{name}-use-fstab-device.patch
Patch2: %{name}-count-framebuffer.patch
Patch3: %{name}-count-const-slabs.patch
+Patch4: %{name}-remove-root-and-resume.patch
+Patch5: %{name}-systemd-support.patch
+Patch6: %{name}-calibrate-systemd-runtime.patch
+Patch7: %{name}-calibrate-systemd-initramfs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
Provides: kdump-helpers = %{version}
@@ -109,6 +113,10 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
%build
export CFLAGS="%optflags"
++++++ kdump-calibrate-systemd-initramfs.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.cz>
Date: Thu Sep 18 17:03:46 2014 +0200
Subject: Calibrate: update the initramfs size
References: bnc#883883
Patch-mainline: v0.8.16
Git-commit: b2ab003f54da780cc1ca8ebfe47f39ddd936b34a
Yes, systemd also needs some space in the initramfs, causing approx.
20% increase. Let's account for it...
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>
---
kdumptool/calibrate.cc | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -59,7 +59,7 @@
#if defined(__x86_64__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(16)
-# define INIT_KB MB(28)
+# define INIT_KB MB(34)
# define INIT_NET_KB MB(3)
# define SIZE_STRUCT_PAGE 56
# define KDUMP_PHYS_LOAD 0
@@ -69,7 +69,7 @@
#elif defined(__i386__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(14)
-# define INIT_KB MB(24)
+# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 32
# define KDUMP_PHYS_LOAD 0
@@ -79,7 +79,7 @@
#elif defined(__powerpc64__)
# define DEF_RESERVE_KB MB(256)
# define KERNEL_KB MB(16)
-# define INIT_KB MB(48)
+# define INIT_KB MB(58)
# define INIT_NET_KB MB(4)
# define SIZE_STRUCT_PAGE 64
# define KDUMP_PHYS_LOAD MB(128)
@@ -89,7 +89,7 @@
#elif defined(__powerpc__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(12)
-# define INIT_KB MB(28)
+# define INIT_KB MB(34)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 32
# define KDUMP_PHYS_LOAD MB(128)
@@ -99,7 +99,7 @@
#elif defined(__s390x__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(13)
-# define INIT_KB MB(28)
+# define INIT_KB MB(34)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 56
# define KDUMP_PHYS_LOAD 0
@@ -111,7 +111,7 @@
#elif defined(__s390__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(12)
-# define INIT_KB MB(24)
+# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 32
# define KDUMP_PHYS_LOAD 0
@@ -123,7 +123,7 @@
#elif defined(__ia64__)
# define DEF_RESERVE_KB MB(512)
# define KERNEL_KB MB(32)
-# define INIT_KB MB(36)
+# define INIT_KB MB(44)
# define INIT_NET_KB MB(4)
# define SIZE_STRUCT_PAGE 56
# define KDUMP_PHYS_LOAD 0
@@ -133,7 +133,7 @@
#elif defined(__aarch64__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(10)
-# define INIT_KB MB(24)
+# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 56
# define KDUMP_PHYS_LOAD 0
@@ -143,7 +143,7 @@
#elif defined(__arm__)
# define DEF_RESERVE_KB MB(128)
# define KERNEL_KB MB(12)
-# define INIT_KB MB(24)
+# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
# define SIZE_STRUCT_PAGE 32
# define KDUMP_PHYS_LOAD 0
++++++ kdump-calibrate-systemd-runtime.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.cz>
Date: Thu Sep 18 17:01:08 2014 +0200
Subject: Calibrate: update user-space run-time requirements for systemd
References: bnc#883883
Patch-mainline: v0.8.16
Git-commit: 04bc6fa91a88e7ff91acb6d2924774bf28463c6b
If systemd is included, journald is also started, so the estimate
must add:
1. the process
2. the journal, which is stored in ramfs
I would love to reduce the size of the journal, but systemd hard-codes
the minimum to 4M, see src/journal/journal-file.c:
/* This is the minimum journal file size */
#define JOURNAL_FILE_SIZE_MIN (4ULL*1024ULL*1024ULL) /* 4 MiB */
Strictly speaking, journald is allowed to use at least twice as much,
but let's hope it doesn't in practice.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>
---
kdumptool/calibrate.cc | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -203,13 +203,15 @@ static inline unsigned long s390x_align_
#define DIRTY_RATIO 20
// Userspace base requirements:
-// bash (PID 1) 3 M
+// systemd (PID 1) 3 M
+// journald 2 M
+// the journal itself 4 M
// 10 * udevd 12 M
// kdumptool 4 M
// makedumpfile 1 M
// -------------------------
-// TOTAL: 20 M
-#define USER_BASE_KB MB(20)
+// TOTAL: 26 M
+#define USER_BASE_KB MB(26)
// Additional requirements when network is configured
// dhclient 7 M
++++++ kdump-remove-root-and-resume.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.cz>
Date: Thu Sep 18 10:15:59 2014 +0200
Subject: Remove root= and resume= from the kdump kernel command line
References: bnc#883883
Patch-mainline: v0.8.16
Git-commit: 8caaba657548133d476b2a13fd5abb68314927c7
Resume from hibernation should never be even attempted in kdump.
If using dracut, the module is even omitted from the initrd, so
passing the command line option only consumes command line space.
The default root device is not needed either, because all required
filesystems are handled by the mount dracut module. In fact, if the
root filesystem is also mounted, it may be mounted twice.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>
---
init/rc.kdump.functions | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/init/rc.kdump.functions
+++ b/init/rc.kdump.functions
@@ -108,7 +108,7 @@ function build_kdump_commandline()
local nr_cpus=$(cpus_param "$kdump_kernel")
commandline=$(
remove_from_commandline \
- 'crashkernel|splash|mem|BOOT_IMAGE|showopts|zfcp\.allow_lun_scan|hugepages|acpi_no_memhotplug|cgroup_disable' \
+ 'root|resume|crashkernel|splash|mem|BOOT_IMAGE|showopts|zfcp\.allow_lun_scan|hugepages|acpi_no_memhotplug|cgroup_disable' \
< /proc/cmdline)
# Use deadline for saving the memory footprint
commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory"
++++++ kdump-systemd-support.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.cz>
Date: Thu Sep 18 15:40:37 2014 +0200
Subject: Dracut-systemd support
References: bnc#883883
Patch-mainline: v0.8.16
Git-commit: 9940475e501273ddac4a13fa2f4284b4121415de
Adjust the dracut module to work with the systemd module.
A new service is added to the initrd. I could not use a pre-pivot
hook, because dracut-pre-pivot.service does not send the output
to the terminal, so dump progress was not visible.
It is also necessary to avoid mounting the root filesystem. All
filesystems needed by kdump are mounted under /kdump and set up
with the --mount dracut option.
The system root mount can be generated in two ways:
a. by initrd-fstab-generator (if "root=" is passed on the kernel
command line)
b. by dracut-rootfs-generator (if the root option is stored in
/etc/cmdline.d/*)
The root= parameter is already removed from the command line, but
it is always saved to /etc/cmdline.d/95root-dev.conf if dracut is
called with --hostonly-cmdline. This is the default in SLES (cf.
/etc/dracut.conf.d/01-dist.conf) and it is required to get correct
configuration for many setups.
So, the only way to avoid mounting /sysroot is to remove the
appropriate systemd generator from the initrd.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>
diff --git a/init/CMakeLists.txt b/init/CMakeLists.txt
index 662197c..9cc8b71 100644
--- a/init/CMakeLists.txt
+++ b/init/CMakeLists.txt
@@ -79,4 +79,15 @@ INSTALL(
WORLD_READ WORLD_EXECUTE
)
+INSTALL(
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/kdump-save.service
+ DESTINATION
+ /usr/lib/dracut/modules.d/99kdump
+ PERMISSIONS
+ OWNER_READ OWNER_WRITE
+ GROUP_READ
+ WORLD_READ
+)
+
# vim: set sw=4 ts=4 et:
diff --git a/init/kdump-save.service b/init/kdump-save.service
new file mode 100644
index 0000000..ac527f4
--- /dev/null
+++ b/init/kdump-save.service
@@ -0,0 +1,31 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=save kernel crash dump
+Documentation=man:kdump(7)
+Wants=dracut-mount.service dracut-pre-pivot.service
+After=dracut-mount.service dracut-pre-pivot.service
+After=initrd.target
+Before=initrd-cleanup.service
+ConditionPathExists=/etc/initrd-release
+ConditionPathExists=/proc/vmcore
+
+[Service]
+Type=oneshot
+ExecStart=/lib/kdump/save_dump.sh
+StandardInput=tty
+StandardOutput=tty
+StandardError=tty
+KillMode=process
+RemainAfterExit=yes
+
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
+# terminates cleanly.
+KillSignal=SIGHUP
diff --git a/init/mkdumprd b/init/mkdumprd
index 334786f..bb818d2 100755
--- a/init/mkdumprd
+++ b/init/mkdumprd
@@ -122,7 +122,7 @@ function run_dracut()
{
local modules="kdump"
- DRACUT_ARGS="--force --hostonly --omit 'systemd plymouth resume usrmount'"
+ DRACUT_ARGS="--force --hostonly --omit 'plymouth resume usrmount'"
DRACUT_ARGS="$DRACUT_ARGS --compress='xz -0 --check=crc32'"
# add mount points
diff --git a/init/module-setup.sh b/init/module-setup.sh
index 06f9775..690de38 100644
--- a/init/module-setup.sh
+++ b/init/module-setup.sh
@@ -18,8 +18,18 @@ install() {
kdump_setup_files "$initdir" "${!host_fs_types[*]}"
- inst_hook mount 30 "$moddir/mount-kdump.sh"
- inst_hook pre-pivot 90 /lib/kdump/save_dump.sh
+ if dracut_module_included "systemd" ; then
+ rm -f "${initdir}/$systemdutildir"/system-generators/dracut-rootfs-generator
+ inst_simple /lib/kdump/save_dump.sh
+ inst_simple "$moddir/kdump-save.service" \
+ "$systemdsystemunitdir"/kdump-save.service
+ ln_r "$systemdsystemunitdir"/kdump-save.service \
+ "$systemdsystemunitdir"/initrd.target.wants/kdump-save.service
+ else
+ inst_hook mount 30 "$moddir/mount-kdump.sh"
+ inst_hook pre-pivot 90 /lib/kdump/save_dump.sh
+ fi
+
inst_multiple makedumpfile makedumpfile-R.pl kdumptool \
$KDUMP_REQUIRED_PROGRAMS
inst_simple /etc/resolv.conf
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package zypper for openSUSE:Factory checked in at 2014-09-20 07:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zypper (Old)
and /work/SRC/openSUSE:Factory/.zypper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zypper"
Changes:
--------
--- /work/SRC/openSUSE:Factory/zypper/zypper.changes 2014-09-10 17:02:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.zypper.new/zypper.changes 2014-09-20 07:26:44.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 18 15:47:42 CEST 2014 - ma(a)suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zypper.spec ++++++
--- /var/tmp/diff_new_pack.7ET6KN/_old 2014-09-20 07:26:45.000000000 +0200
+++ /var/tmp/diff_new_pack.7ET6KN/_new 2014-09-20 07:26:45.000000000 +0200
@@ -101,10 +101,12 @@
mkdir build
cd build
-# The code base is the same, but SLES11-SP1 (suse_version == 1110)
-# may use it's own set of .po files from po/sle-zypper-po.tar.bz2.
+# Same codebase, but SLES may use it's own translation set.
+# suse_version
+# 1110 SLES11
+# 1315 SLES12
unset TRANSLATION_SET
-%if 0%{?suse_version} == 1110
+%if 0%{?suse_version} == 1110 || 0%{?suse_version} == 1315
if [ -f ../po/sle-zypper-po.tar.bz ]; then
export TRANSLATION_SET=sle-zypper
fi
++++++ zypper-1.11.13.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/zypper/zypper-1.11.13.tar.bz2 /work/SRC/openSUSE:Factory/.zypper.new/zypper-1.11.13.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kbd for openSUSE:Factory checked in at 2014-09-20 07:26:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kbd (Old)
and /work/SRC/openSUSE:Factory/.kbd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kbd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kbd/kbd.changes 2014-09-17 21:23:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kbd.new/kbd.changes 2014-09-20 07:26:41.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Sep 18 10:54:51 UTC 2014 - pgajdos(a)suse.com
+
+- port dumpkeys-C-opt.patch
+- modified patches:
+ * kbd-1.15.2-dumpkeys-C-opt.patch
+
+-------------------------------------------------------------------
+Fri Sep 12 09:52:30 UTC 2014 - pgajdos(a)suse.com
+
+- kbd-2.0.2-doshell-reference.patch:
+ drop doshell reference from openvt.1 man page [bnc#675317]
+
+-------------------------------------------------------------------
New:
----
kbd-2.0.2-doshell-reference.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kbd.spec ++++++
--- /var/tmp/diff_new_pack.hnzMca/_old 2014-09-20 07:26:43.000000000 +0200
+++ /var/tmp/diff_new_pack.hnzMca/_new 2014-09-20 07:26:43.000000000 +0200
@@ -50,6 +50,7 @@
# TODO: no ideas how to port it.
Patch6: kbd-1.15.2-dumpkeys-C-opt.patch
Patch9: kbd-2.0.2-comment-typo-qwerty.patch
+Patch10: kbd-2.0.2-doshell-reference.patch
BuildRequires: automake
BuildRequires: bison
@@ -89,8 +90,9 @@
%patch4 -p1
%patch5 -p1
# TODO: no ideas how to port it.
-# %%patch6
+%patch6
%patch9
+%patch10
%build
for i in `find data/keymaps/mac -type f` ; do
++++++ kbd-1.15.2-dumpkeys-C-opt.patch ++++++
--- /var/tmp/diff_new_pack.hnzMca/_old 2014-09-20 07:26:43.000000000 +0200
+++ /var/tmp/diff_new_pack.hnzMca/_new 2014-09-20 07:26:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: man/man1/dumpkeys.1.in
+Index: docs/man/man1/dumpkeys.1.in
===================================================================
---- man/man1/dumpkeys.1.in.orig
-+++ man/man1/dumpkeys.1.in
+--- docs/man/man1/dumpkeys.1.in.orig 2013-08-27 22:45:33.000000000 +0200
++++ docs/man/man1/dumpkeys.1.in 2014-09-12 13:42:01.557871837 +0200
@@ -4,6 +4,7 @@
dumpkeys \- dump keyboard translation tables
.SH SYNOPSIS
@@ -10,7 +10,7 @@
[
.B \-hilfn
.BI \-c charset
-@@ -197,6 +198,12 @@ This option produces an output line `cha
+@@ -197,6 +198,12 @@
loadkeys how to interpret the keymap. (For example, "division" is
0xf7 in iso-8859-1 but 0xba in iso-8859-8.)
.LP
@@ -25,35 +25,27 @@
.TP 20
Index: src/dumpkeys.c
===================================================================
---- src/dumpkeys.c.orig
-+++ src/dumpkeys.c
-@@ -31,6 +31,7 @@
- static int fd;
- static int verbose;
- static int nr_keys = 0; /* probably 112, 128, 256 or 512 */
-+static char * console;
-
- int keymap_index[MAX_NR_KEYMAPS]; /* inverse of good_keymap */
- int good_keymap[MAX_NR_KEYMAPS], keymapnr, allocct;
-@@ -582,6 +583,8 @@ valid options are:\n\
+--- src/dumpkeys.c.orig 2014-06-15 20:33:18.000000000 +0200
++++ src/dumpkeys.c 2014-09-12 13:47:09.633866557 +0200
+@@ -41,6 +41,8 @@
--funcs-only display only the function key strings\n\
--keys-only display only key bindings\n\
--compose-only display only compose key combinations\n\
+ -C <vc>\n\
+ --console=<vc> Indicate the virtual console device to be used.\n\
-c --charset="));
- list_charsets(stderr);
+ lk_list_charsets(stderr);
fprintf(stderr, _("\
-@@ -593,7 +596,7 @@ valid options are:\n\
+@@ -52,7 +54,7 @@
int
main (int argc, char *argv[]) {
-- const char *short_opts = "hilvsnf1S:c:V";
-+ const char *short_opts = "hilvsnf1S:c:C:V";
+- const char *short_opts = "hilvsnf1tkdS:c:V";
++ const char *short_opts = "hilvsnf1tkdS:C:c:V";
const struct option long_opts[] = {
{ "help", no_argument, NULL, 'h' },
{ "short-info", no_argument, NULL, 'i' },
-@@ -606,6 +609,7 @@ main (int argc, char *argv[]) {
+@@ -65,6 +67,7 @@
{ "keys-only", no_argument, NULL, 'k' },
{ "compose-only",no_argument, NULL, 'd' },
{ "charset", required_argument, NULL, 'c' },
@@ -61,8 +53,16 @@
{ "verbose", no_argument, NULL, 'v' },
{ "version", no_argument, NULL, 'V' },
{ NULL, 0, NULL, 0 }
-@@ -665,6 +669,9 @@ main (int argc, char *argv[]) {
- usage();
+@@ -79,6 +82,7 @@
+ char funcs_only = 0;
+ char keys_only = 0;
+ char diac_only = 0;
++ char * console = NULL;
+
+ struct lk_ctx *ctx;
+
+@@ -135,6 +139,9 @@
+ }
printf("charset \"%s\"\n", optarg);
break;
+ case 'C':
@@ -71,12 +71,12 @@
case 'V':
print_version_and_exit();
case 'h':
-@@ -676,7 +683,7 @@ main (int argc, char *argv[]) {
+@@ -146,7 +153,7 @@
if (optind < argc)
usage();
- fd = getfd(NULL);
+ fd = getfd(console);
- find_nr_keys();
-
+ /* check whether the keyboard is in Unicode mode */
+ if (ioctl(fd, KDGKBMODE, &kbd_mode)) {
++++++ kbd-2.0.2-doshell-reference.patch ++++++
Index: docs/man/man1/openvt.1
===================================================================
--- docs/man/man1/openvt.1.orig 2013-08-27 22:45:33.000000000 +0200
+++ docs/man/man1/openvt.1 2014-09-12 11:48:08.465988937 +0200
@@ -92,5 +92,4 @@
.SH "SEE ALSO"
.BR chvt (1),
-.BR doshell (8),
.BR login (1)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package wpa_supplicant for openSUSE:Factory checked in at 2014-09-20 07:26:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wpa_supplicant (Old)
and /work/SRC/openSUSE:Factory/.wpa_supplicant.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wpa_supplicant"
Changes:
--------
--- /work/SRC/openSUSE:Factory/wpa_supplicant/wpa_supplicant.changes 2014-08-25 11:03:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wpa_supplicant.new/wpa_supplicant.changes 2014-09-20 07:26:40.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 18 12:32:57 UTC 2014 - schwab(a)suse.de
+
+- Avoid spurious dependency on /usr/bin/python due to executable doc files
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wpa_supplicant.spec ++++++
--- /var/tmp/diff_new_pack.scqHz5/_old 2014-09-20 07:26:41.000000000 +0200
+++ /var/tmp/diff_new_pack.scqHz5/_new 2014-09-20 07:26:41.000000000 +0200
@@ -115,6 +115,8 @@
install -d %{buildroot}%{_unitdir}
install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}
%endif
+# avoid spurious dependency on /usr/bin/python
+chmod -x wpa_supplicant/examples/*.py
%if 0%{?suse_version} > 1230
%pre
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0