openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- 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 2015
- 1 participants
- 1128 discussions
Hello community,
here is the log from the commit of package WindowMaker for openSUSE:13.1:Update checked in at 2015-09-30 13:04:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/WindowMaker (Old)
and /work/SRC/openSUSE:13.1:Update/.WindowMaker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "WindowMaker"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.lG3gSx/_old 2015-09-30 13:04:22.000000000 +0200
+++ /var/tmp/diff_new_pack.lG3gSx/_new 2015-09-30 13:04:22.000000000 +0200
@@ -1 +1 @@
-<link package='WindowMaker.2738' cicount='copy' />
+<link package='WindowMaker.4036' cicount='copy' />
1
0
Hello community,
here is the log from the commit of package mate-tweak for openSUSE:Factory checked in at 2015-09-30 06:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-tweak (Old)
and /work/SRC/openSUSE:Factory/.mate-tweak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-tweak"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-tweak/mate-tweak.changes 2015-08-28 08:27:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mate-tweak.new/mate-tweak.changes 2015-09-30 06:37:59.000000000 +0200
@@ -1,0 +2,15 @@
+Tue Sep 29 17:42:05 UTC 2015 - sor.alexei(a)meowr.ru
+
+- Update to 3.5.2a:
+ * Remove all deprecated GTK+ properties (deb#797033).
+ * Fix switching to Metacity so the currently selected theme is
+ retained. (lp#1500882).
+ * Fix CTRL+C not closing MATE Tweak (lp#1500884).
+ * Fix Plank not being retained when saving a custom theme
+ (lp#1500885).
+ * Make irrelevant UI element insensitive rather than hiding them
+ (lp#1500886).
+ * Fix leaving multiple volume applets enabled when switching
+ panel layouts (lp#1500919).
+
+-------------------------------------------------------------------
Old:
----
mate-tweak-3.5.2.tar.gz
New:
----
mate-tweak-3.5.2a.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mate-tweak.spec ++++++
--- /var/tmp/diff_new_pack.5rJyC1/_old 2015-09-30 06:38:00.000000000 +0200
+++ /var/tmp/diff_new_pack.5rJyC1/_new 2015-09-30 06:38:00.000000000 +0200
@@ -17,9 +17,9 @@
%define _name mate_tweak
-%define _rev 78307aaa6fc1
+%define _rev 8df794d91ecf
Name: mate-tweak
-Version: 3.5.2
+Version: 3.5.2a
Release: 0
Summary: MATE desktop tweak tool
License: GPL-2.0+
@@ -36,7 +36,6 @@
Requires: Mesa-demo-x
Requires: dconf
Requires: python3-configobj
-Requires: wmctrl
# For privilege granting.
Requires: xdg-utils
Recommends: %{name}-lang
@@ -71,7 +70,7 @@
# Give gi-find-deps.sh a bait.
ln -s %{_bindir}/%{name} %{buildroot}%{_libexecdir}/%{name}/%{name}.py
-%fdupes %{buildroot}%{python3_sitelib}
+%fdupes %{buildroot}%{python3_sitelib}/
%find_lang %{name}
%post
++++++ mate-tweak-3.5.2.tar.gz -> mate-tweak-3.5.2a.tar.gz ++++++
++++ 2239 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package chromium for openSUSE:Factory checked in at 2015-09-30 06:37:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chromium (Old)
and /work/SRC/openSUSE:Factory/.chromium.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium"
Changes:
--------
--- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2015-09-16 10:37:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.chromium.new/chromium.changes 2015-09-30 06:37:50.000000000 +0200
@@ -1,0 +2,17 @@
+Tue Sep 22 10:51:48 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to Chromium 45.0.2454.99
+ - No changelog available
+
+- Add upstream patch correct-blacklist.diff
+ * This should restore the correct behavior of the option
+ --ignore-gpu-blacklist.
+ https://code.google.com/p/chromium/issues/detail?id=509336
+
+-------------------------------------------------------------------
+Wed Sep 16 20:06:33 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to Chromium 45.0.2454.93
+ - No changelog available
+
+-------------------------------------------------------------------
Old:
----
chromium-45.0.2454.85.tar.xz
New:
----
chromium-45.0.2454.99.tar.xz
correct-blacklist.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ chromium.spec ++++++
--- /var/tmp/diff_new_pack.jvxP8x/_old 2015-09-30 06:37:59.000000000 +0200
+++ /var/tmp/diff_new_pack.jvxP8x/_new 2015-09-30 06:37:59.000000000 +0200
@@ -20,7 +20,7 @@
%define chromium_system_libs 0
Name: chromium
-Version: 45.0.2454.85
+Version: 45.0.2454.99
Release: 0
Summary: Google's opens source browser project
License: BSD-3-Clause and LGPL-2.1+
@@ -65,6 +65,8 @@
Patch9: no-clang-on-packman.diff
# PATCH-FIX-OPENSUSE gcc50-fixes.diff - Fix the GCC version detection
Patch10: gcc50-fixes.diff
+# PATCH-FIX-UPSTREAM correct-blacklist.diff
+Patch11: correct-blacklist.diff
# archlinux arm enhancement patches
Patch100: arm-webrtc-fix.patch
@@ -283,6 +285,7 @@
%if 0%{?suse_version} > 1320
%patch10 -p0
%endif
+%patch11 -p1
#Upstream fixes
++++++ chromium-45.0.2454.85.tar.xz -> chromium-45.0.2454.99.tar.xz ++++++
/work/SRC/openSUSE:Factory/chromium/chromium-45.0.2454.85.tar.xz /work/SRC/openSUSE:Factory/.chromium.new/chromium-45.0.2454.99.tar.xz differ: char 27, line 1
++++++ correct-blacklist.diff ++++++
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index c39b9d9..80e17d8 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -190,6 +190,11 @@
// Needed to fix a bug where the raster thread doesn't get scheduled for a
// substantial time (~5 seconds). See https://crbug.com/441895.
{ switches::kUseNormalPriorityForTileTaskWorkerThreads, "" },
+ // Needed so that our call to GpuDataManager::SetGLStrings doesn't race
+ // against GPU process creation (which is otherwise triggered from
+ // BrowserThreadsStarted). The GPU process will be created as soon as a
+ // renderer needs it, which always happens after main loop starts.
+ { switches::kDisableGpuEarlyInit, "" },
{ NULL, NULL }, // Termination
};
@@ -279,7 +284,10 @@
gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE,
cast_browser_process_->cast_screen());
#endif
+ return 0;
+}
+void CastBrowserMainParts::PreMainMessageLoopRun() {
#if !defined(OS_ANDROID)
// Set GL strings so GPU config code can make correct feature blacklisting/
// whitelisting decisions.
@@ -290,10 +298,6 @@
sys_info->GetGlVersion());
#endif // !defined(OS_ANDROID)
- return 0;
-}
-
-void CastBrowserMainParts::PreMainMessageLoopRun() {
scoped_refptr<PrefRegistrySimple> pref_registry(new PrefRegistrySimple());
metrics::RegisterPrefs(pref_registry.get());
cast_browser_process_->SetPrefService(
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 8d55e11..d1c8952 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -659,14 +659,6 @@
}
int BrowserMainLoop::PreCreateThreads() {
- // Need to initialize in-process GpuDataManager before creating threads.
- // It's unsafe to append the gpu command line switches to the global
- // CommandLine::ForCurrentProcess object after threads are created.
- // Also need to initialize before BrowserMainParts::PreCreateThreads, so
- // BrowserMainParts has a hook to set GpuDataManager strings before
- // starting Gpu process.
- GpuDataManagerImpl::GetInstance()->Initialize();
-
if (parts_) {
TRACE_EVENT0("startup",
"BrowserMainLoop::CreateThreads:PreCreateThreads");
@@ -709,6 +701,12 @@
}
#endif
+ // 1) Need to initialize in-process GpuDataManager before creating threads.
+ // It's unsafe to append the gpu command line switches to the global
+ // CommandLine::ForCurrentProcess object after threads are created.
+ // 2) Must be after parts_->PreCreateThreads to pick up chrome://flags.
+ GpuDataManagerImpl::GetInstance()->Initialize();
+
#if !defined(OS_IOS) && (!defined(GOOGLE_CHROME_BUILD) || defined(OS_ANDROID))
// Single-process is an unsupported and not fully tested mode, so
// don't enable it for official Chrome builds (except on Android).
1
0
Hello community,
here is the log from the commit of package python-wheel for openSUSE:Factory checked in at 2015-09-30 06:37:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wheel (Old)
and /work/SRC/openSUSE:Factory/.python-wheel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wheel"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wheel/python-wheel.changes 2015-04-07 09:29:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-wheel.new/python-wheel.changes 2015-09-30 06:37:38.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Sep 29 08:01:25 UTC 2015 - tbechtold(a)suse.com
+
+- update to 0.26.0:
+ * Fix multiple entrypoint comparison failure on Python 3 (Issue #148)
+ * Add Python 3.5 to tox configuration
+ * Deterministic (sorted) metadata
+ * Fix tagging for Python 3.5 compatibility
+ * Support py2-none-'arch' and py3-none-'arch' tags
+ * Treat data-only wheels as pure
+ * Write to temporary file and rename when using wheel install --force
+
+-------------------------------------------------------------------
Old:
----
wheel-0.24.0.tar.gz
New:
----
wheel-0.26.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wheel.spec ++++++
--- /var/tmp/diff_new_pack.qRyULk/_old 2015-09-30 06:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.qRyULk/_new 2015-09-30 06:37:39.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-wheel
-Version: 0.24.0
+Version: 0.26.0
Release: 0
Summary: A built-package format for Python
License: MIT
++++++ wheel-0.24.0.tar.gz -> wheel-0.26.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/CHANGES.txt new/wheel-0.26.0/CHANGES.txt
--- old/wheel-0.24.0/CHANGES.txt 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/CHANGES.txt 2015-09-18 20:02:17.000000000 +0200
@@ -1,3 +1,16 @@
+0.26.0
+======
+- Fix multiple entrypoint comparison failure on Python 3 (Issue #148)
+
+0.25.0
+======
+- Add Python 3.5 to tox configuration
+- Deterministic (sorted) metadata
+- Fix tagging for Python 3.5 compatibility
+- Support py2-none-'arch' and py3-none-'arch' tags
+- Treat data-only wheels as pure
+- Write to temporary file and rename when using wheel install --force
+
0.24.0
======
- The python tag used for pure-python packages is now .pyN (major version
@@ -14,7 +27,7 @@
0.23.0
======
-- Compatibiltiy tag flags added to the bdist_wheel command
+- Compatibility tag flags added to the bdist_wheel command
- sdist should include files necessary for tests
- 'wheel convert' can now also convert unpacked eggs to wheel
- Rename pydist.json to metadata.json to avoid stepping on the PEP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/PKG-INFO new/wheel-0.26.0/PKG-INFO
--- old/wheel-0.24.0/PKG-INFO 2014-07-06 18:56:22.000000000 +0200
+++ new/wheel-0.26.0/PKG-INFO 2015-09-18 20:03:13.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: wheel
-Version: 0.24.0
+Version: 0.26.0
Summary: A built-package format for Python.
-Home-page: http://bitbucket.org/pypa/wheel/
+Home-page: https://bitbucket.org/pypa/wheel/
Author: Daniel Holth
Author-email: dholth(a)fastmail.fm
License: MIT
@@ -49,6 +49,19 @@
+ 0.26.0
+ ======
+ - Fix multiple entrypoint comparison failure on Python 3 (Issue #148)
+
+ 0.25.0
+ ======
+ - Add Python 3.5 to tox configuration
+ - Deterministic (sorted) metadata
+ - Fix tagging for Python 3.5 compatibility
+ - Support py2-none-'arch' and py3-none-'arch' tags
+ - Treat data-only wheels as pure
+ - Write to temporary file and rename when using wheel install --force
+
0.24.0
======
- The python tag used for pure-python packages is now .pyN (major version
@@ -65,7 +78,7 @@
0.23.0
======
- - Compatibiltiy tag flags added to the bdist_wheel command
+ - Compatibility tag flags added to the bdist_wheel command
- sdist should include files necessary for tests
- 'wheel convert' can now also convert unpacked eggs to wheel
- Rename pydist.json to metadata.json to avoid stepping on the PEP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/entry_points.txt new/wheel-0.26.0/entry_points.txt
--- old/wheel-0.24.0/entry_points.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/wheel-0.26.0/entry_points.txt 2015-09-15 19:28:15.000000000 +0200
@@ -0,0 +1,5 @@
+[console_scripts]
+wheel = wheel.tool:main
+
+[distutils.commands]
+bdist_wheel = wheel.bdist_wheel:bdist_wheel
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/setup.py new/wheel-0.26.0/setup.py
--- old/wheel-0.24.0/setup.py 2014-07-06 18:48:58.000000000 +0200
+++ new/wheel-0.26.0/setup.py 2015-09-15 19:28:15.000000000 +0200
@@ -28,7 +28,7 @@
],
author='Daniel Holth',
author_email='dholth(a)fastmail.fm',
- url='http://bitbucket.org/pypa/wheel/',
+ url='https://bitbucket.org/pypa/wheel/',
keywords=['wheel', 'packaging'],
license='MIT',
packages=[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/__init__.py new/wheel-0.26.0/wheel/__init__.py
--- old/wheel-0.24.0/wheel/__init__.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/__init__.py 2015-09-18 20:03:01.000000000 +0200
@@ -1,2 +1,2 @@
# __variables__ with double-quoted values will be available in setup.py:
-__version__ = "0.24.0"
+__version__ = "0.26.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/bdist_wheel.py new/wheel-0.26.0/wheel/bdist_wheel.py
--- old/wheel-0.24.0/wheel/bdist_wheel.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/bdist_wheel.py 2015-09-15 20:10:36.000000000 +0200
@@ -90,7 +90,7 @@
self.dist_dir = None
self.distinfo_dir = None
self.egginfo_dir = None
- self.root_is_purelib = None
+ self.root_is_pure = None
self.skip_build = None
self.relative = False
self.owner = None
@@ -110,7 +110,8 @@
self.set_undefined_options('bdist',
*zip(need_options, need_options))
- self.root_is_purelib = self.distribution.is_pure()
+ self.root_is_pure = not (self.distribution.has_ext_modules()
+ or self.distribution.has_c_libraries())
# Support legacy [wheel] section for setting universal
wheel = self.distribution.get_option_dict('wheel')
@@ -129,7 +130,7 @@
def get_tag(self):
supported_tags = pep425tags.get_supported()
- if self.distribution.is_pure():
+ if self.root_is_pure:
if self.universal:
impl = 'py2.py3'
else:
@@ -148,7 +149,7 @@
# sys.pypy_version_info.minor)
abi_tag = sysconfig.get_config_vars().get('SOABI', 'none')
if abi_tag.startswith('cpython-'):
- abi_tag = 'cp' + abi_tag.rsplit('-', 1)[-1]
+ abi_tag = 'cp' + abi_tag.split('-')[1]
tag = (impl_name + impl_ver, abi_tag, plat_name)
# XXX switch to this alternate implementation for non-pure:
@@ -203,7 +204,7 @@
self.install_libbase = self.install_lib = basedir_observed
setattr(install,
- 'install_purelib' if self.root_is_purelib else 'install_platlib',
+ 'install_purelib' if self.root_is_pure else 'install_platlib',
basedir_observed)
logger.info("installing to %s", self.bdist_dir)
@@ -255,7 +256,7 @@
msg = Message()
msg['Wheel-Version'] = '1.0' # of the spec
msg['Generator'] = generator
- msg['Root-Is-Purelib'] = str(self.root_is_purelib).lower()
+ msg['Root-Is-Purelib'] = str(self.root_is_pure).lower()
# Doesn't work for bdist_wininst
impl_tag, abi_tag, plat_tag = self.get_tag()
@@ -421,7 +422,8 @@
def walk():
for dir, dirs, files in os.walk(bdist_dir):
- for f in files:
+ dirs.sort()
+ for f in sorted(files):
yield os.path.join(dir, f)
def skip(path):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/metadata.py new/wheel-0.26.0/wheel/metadata.py
--- old/wheel-0.24.0/wheel/metadata.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/metadata.py 2015-09-18 19:56:57.000000000 +0200
@@ -2,8 +2,13 @@
Tools for converting old- to new-style metadata.
"""
-from collections import defaultdict, namedtuple
+from collections import namedtuple
from .pkginfo import read_pkg_info
+from .util import OrderedDefaultDict
+try:
+ from collections import OrderedDict
+except ImportError:
+ OrderedDict = dict
import re
import os.path
@@ -51,8 +56,8 @@
"""
Place the runtime requirements from pkg_info into metadata.
"""
- may_requires = defaultdict(list)
- for value in pkg_info.get_all(key):
+ may_requires = OrderedDefaultDict(list)
+ for value in sorted(pkg_info.get_all(key)):
extra_match = EXTRA_RE.search(value)
if extra_match:
groupdict = extra_match.groupdict()
@@ -70,7 +75,7 @@
if may_requires:
metadata['run_requires'] = []
for key, value in may_requires.items():
- may_requirement = {'requires':value}
+ may_requirement = OrderedDict((('requires', value),))
if key.extra:
may_requirement['extra'] = key.extra
if key.condition:
@@ -93,7 +98,7 @@
distribution: optional distutils Distribution()
"""
- metadata = defaultdict(lambda: defaultdict(lambda: defaultdict(dict)))
+ metadata = OrderedDefaultDict(lambda: OrderedDefaultDict(lambda: OrderedDefaultDict(OrderedDict)))
metadata["generator"] = "bdist_wheel (" + wheel.__version__ + ")"
try:
unicode
@@ -121,7 +126,7 @@
if description:
pkg_info['description'] = description
- for key in unique(k.lower() for k in pkg_info.keys()):
+ for key in sorted(unique(k.lower() for k in pkg_info.keys())):
low_key = key.replace('-', '_')
if low_key in SKIP_FIELDS:
@@ -130,7 +135,7 @@
if low_key in UNKNOWN_FIELDS and pkg_info.get(key) == 'UNKNOWN':
continue
- if low_key in PLURAL_FIELDS:
+ if low_key in sorted(PLURAL_FIELDS):
metadata[PLURAL_FIELDS[low_key]] = pkg_info.get_all(key)
elif low_key == "requires_dist":
@@ -161,7 +166,7 @@
try:
requirements = getattr(distribution, attr)
if isinstance(requirements, list):
- new_requirements = list(convert_requirements(requirements))
+ new_requirements = sorted(convert_requirements(requirements))
metadata[requires] = [{'requires':new_requirements}]
except AttributeError:
pass
@@ -169,8 +174,8 @@
# handle contacts
contacts = []
for contact_type, role in CONTACT_FIELDS:
- contact = {}
- for key in contact_type:
+ contact = OrderedDict()
+ for key in sorted(contact_type):
if contact_type[key] in metadata:
contact[key] = metadata.pop(contact_type[key])
if contact:
@@ -183,11 +188,11 @@
try:
with open(os.path.join(os.path.dirname(path), "entry_points.txt"), "r") as ep_file:
ep_map = pkg_resources.EntryPoint.parse_map(ep_file.read())
- exports = {}
- for group, items in ep_map.items():
- exports[group] = {}
- for item in items.values():
- name, export = str(item).split(' = ', 1)
+ exports = OrderedDict()
+ for group, items in sorted(ep_map.items()):
+ exports[group] = OrderedDict()
+ for item in sorted(map(str, items.values())):
+ name, export = item.split(' = ', 1)
exports[group][name] = export
if exports:
metadata['extensions']['python.exports'] = exports
@@ -233,7 +238,8 @@
requires_path = os.path.join(egg_info_path, 'requires.txt')
if os.path.exists(requires_path):
requires = open(requires_path).read()
- for extra, reqs in pkg_resources.split_sections(requires):
+ for extra, reqs in sorted(pkg_resources.split_sections(requires),
+ key=lambda x: x[0] or ''):
condition = ''
if extra and ':' in extra: # setuptools extra:condition syntax
extra, condition = extra.split(':', 1)
@@ -244,7 +250,7 @@
condition += 'extra == %s' % repr(extra)
if condition:
condition = '; ' + condition
- for new_req in convert_requirements(reqs):
+ for new_req in sorted(convert_requirements(reqs)):
pkg_info['Requires-Dist'] = new_req + condition
description = pkg_info['Description']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/pep425tags.py new/wheel-0.26.0/wheel/pep425tags.py
--- old/wheel-0.24.0/wheel/pep425tags.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/pep425tags.py 2015-09-15 20:10:36.000000000 +0200
@@ -60,7 +60,7 @@
soabi = sysconfig.get_config_var('SOABI')
if soabi and soabi.startswith('cpython-'):
- abis[0:0] = ['cp' + soabi.split('-', 1)[-1]]
+ abis[0:0] = ['cp' + soabi.split('-')[1]]
abi3s = set()
import imp
@@ -85,7 +85,10 @@
# Tagged specifically as being cross-version compatible
# (with just the major version specified)
supported.append(('%s%s' % (impl, versions[0][0]), 'none', 'any'))
-
+
+ # Major Python version + platform; e.g. binaries not using the Python API
+ supported.append(('py%s' % (versions[0][0]), 'none', arch))
+
# No abi / arch, generic Python
for i, version in enumerate(versions):
supported.append(('py%s' % (version,), 'none', 'any'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/test/complex-dist/setup.py new/wheel-0.26.0/wheel/test/complex-dist/setup.py
--- old/wheel-0.24.0/wheel/test/complex-dist/setup.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/test/complex-dist/setup.py 2015-09-18 19:56:57.000000000 +0200
@@ -20,6 +20,11 @@
install_requires=["quux", "splort"],
extras_require={'simple':['simple.dist']},
tests_require=["foo", "bar>=10.0.0"],
- entry_points={'console_scripts':['complex-dist=complexdist:main']}
+ entry_points={
+ 'console_scripts': [
+ 'complex-dist=complexdist:main',
+ 'complex-dist2=complexdist:main',
+ ],
+ },
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel/util.py new/wheel-0.26.0/wheel/util.py
--- old/wheel-0.24.0/wheel/util.py 2014-07-06 18:40:16.000000000 +0200
+++ new/wheel-0.26.0/wheel/util.py 2015-09-15 19:28:15.000000000 +0200
@@ -5,6 +5,10 @@
import base64
import json
import hashlib
+try:
+ from collections import OrderedDict
+except ImportError:
+ OrderedDict = dict
__all__ = ['urlsafe_b64encode', 'urlsafe_b64decode', 'utf8',
'to_json', 'from_json', 'matches_requirement']
@@ -91,6 +95,23 @@
digest = self.hash.digest()
return self.hashtype + '=' + native(urlsafe_b64encode(digest))
+class OrderedDefaultDict(OrderedDict):
+ def __init__(self, *args, **kwargs):
+ if not args:
+ self.default_factory = None
+ else:
+ if not (args[0] is None or callable(args[0])):
+ raise TypeError('first argument must be callable or None')
+ self.default_factory = args[0]
+ args = args[1:]
+ super(OrderedDefaultDict, self).__init__(*args, **kwargs)
+
+ def __missing__ (self, key):
+ if self.default_factory is None:
+ raise KeyError(key)
+ self[key] = default = self.default_factory()
+ return default
+
if sys.platform == 'win32':
import ctypes.wintypes
# CSIDL_APPDATA for reference - not used here for compatibility with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel.egg-info/PKG-INFO new/wheel-0.26.0/wheel.egg-info/PKG-INFO
--- old/wheel-0.24.0/wheel.egg-info/PKG-INFO 2014-07-06 18:56:21.000000000 +0200
+++ new/wheel-0.26.0/wheel.egg-info/PKG-INFO 2015-09-18 20:03:12.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: wheel
-Version: 0.24.0
+Version: 0.26.0
Summary: A built-package format for Python.
-Home-page: http://bitbucket.org/pypa/wheel/
+Home-page: https://bitbucket.org/pypa/wheel/
Author: Daniel Holth
Author-email: dholth(a)fastmail.fm
License: MIT
@@ -49,6 +49,19 @@
+ 0.26.0
+ ======
+ - Fix multiple entrypoint comparison failure on Python 3 (Issue #148)
+
+ 0.25.0
+ ======
+ - Add Python 3.5 to tox configuration
+ - Deterministic (sorted) metadata
+ - Fix tagging for Python 3.5 compatibility
+ - Support py2-none-'arch' and py3-none-'arch' tags
+ - Treat data-only wheels as pure
+ - Write to temporary file and rename when using wheel install --force
+
0.24.0
======
- The python tag used for pure-python packages is now .pyN (major version
@@ -65,7 +78,7 @@
0.23.0
======
- - Compatibiltiy tag flags added to the bdist_wheel command
+ - Compatibility tag flags added to the bdist_wheel command
- sdist should include files necessary for tests
- 'wheel convert' can now also convert unpacked eggs to wheel
- Rename pydist.json to metadata.json to avoid stepping on the PEP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel.egg-info/SOURCES.txt new/wheel-0.26.0/wheel.egg-info/SOURCES.txt
--- old/wheel-0.24.0/wheel.egg-info/SOURCES.txt 2014-07-06 18:56:22.000000000 +0200
+++ new/wheel-0.26.0/wheel.egg-info/SOURCES.txt 2015-09-18 20:03:13.000000000 +0200
@@ -2,6 +2,7 @@
LICENSE.txt
MANIFEST.in
README.txt
+entry_points.txt
setup.cfg
setup.py
vendorize.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.24.0/wheel.egg-info/requires.txt new/wheel-0.26.0/wheel.egg-info/requires.txt
--- old/wheel-0.24.0/wheel.egg-info/requires.txt 2014-07-06 18:56:21.000000000 +0200
+++ new/wheel-0.26.0/wheel.egg-info/requires.txt 2015-09-18 20:03:12.000000000 +0200
@@ -1,16 +1,14 @@
-
-[tool]
-
-
-[signatures]
-keyring
+[:python_version=="2.6"]
+argparse
[faster-signatures]
ed25519ll
-[:python_version=="2.6"]
-argparse
+[signatures]
+keyring
[signatures:sys_platform!="win32"]
-pyxdg
\ No newline at end of file
+pyxdg
+
+[tool]
1
0
Hello community,
here is the log from the commit of package daps for openSUSE:Factory checked in at 2015-09-30 05:53:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/daps (Old)
and /work/SRC/openSUSE:Factory/.daps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "daps"
Changes:
--------
--- /work/SRC/openSUSE:Factory/daps/daps.changes 2015-08-13 18:11:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.daps.new/daps.changes 2015-09-30 05:53:30.000000000 +0200
@@ -1,0 +2,19 @@
+Tue Sep 22 13:50:13 UTC 2015 - fsundermeyer(a)opensuse.org
+
+Stable release DAPS 2.1.3:
+
+* Bugfixes:
+ - Fix for issue #284 (spellcheck / getimages use wrong filelist
+ when called with --debug
+ - "--param" and "--stringparam" were missing for the subcommands
+ package-pdf and package-html
+ - all warning messages now go to STDERR, making it possible to
+ always catch the output of a DAPS command with FOO="$(daps...)
+
+* Misc:
+ - added a wrapper for jing allwing to customize java flags,
+ jars, and options
+ - standardized customising options for all java programs (fop,
+ jing, xep)
+
+-------------------------------------------------------------------
Old:
----
daps-2.1.2.tar.bz2
New:
----
daps-2.1.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ daps.spec ++++++
--- /var/tmp/diff_new_pack.Nr3sgl/_old 2015-09-30 05:53:31.000000000 +0200
+++ /var/tmp/diff_new_pack.Nr3sgl/_new 2015-09-30 05:53:31.000000000 +0200
@@ -17,7 +17,7 @@
Name: daps
-Version: 2.1.2
+Version: 2.1.3
Release: 0
###############################################################
++++++ daps-2.1.2.tar.bz2 -> daps-2.1.3.tar.bz2 ++++++
++++ 2016 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/ChangeLog new/daps/ChangeLog
--- old/daps/ChangeLog 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/ChangeLog 2015-09-22 15:19:13.000000000 +0200
@@ -1,4 +1,23 @@
-------------------------------------------------------------------
+Tue Sep 22 11:28:03 UTC 2015 - fsundermeyer(a)opensuse.org
+
+Stable release DAPS 2.1.3:
+
+* Bugfixes:
+ - Fix for issue #284 (spellcheck / getimages use wrong filelist
+ when called with --debug
+ - "--param" and "--stringparam" were missing for the subcommands
+ package-pdf and package-html
+ - all warning messages now go to STDERR, making it possible to
+ always catch the output of a DAPS command with FOO="$(daps...)
+
+* Misc:
+ - added a wrapper for jing allwing to customize java flags,
+ jars, and options
+ - standardized customising options for all java programs (fop,
+ jing, xep)
+
+-------------------------------------------------------------------
Tue Aug 4 09:28:03 UTC 2015 - fsundermeyer(a)opensuse.org
Stable release DAPS 2.1.2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/INSTALL.adoc new/daps/INSTALL.adoc
--- old/daps/INSTALL.adoc 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/INSTALL.adoc 2015-09-22 15:19:13.000000000 +0200
@@ -114,7 +114,7 @@
=== Installation
-1. Download the https://github.com/openSUSE/daps/archive/2.1.1.tar.gz[DAPS 2.1.1]
+1. Download the https://github.com/openSUSE/daps/archive/2.1.3.tar.gz[DAPS 2.1.3]
archive and unpack it _or_, alternatively clone the master branch from GitHub: +
`git clone https://github.com/openSUSE/daps.git -b master --single-branch`
2. Change into the daps directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/README.adoc new/daps/README.adoc
--- old/daps/README.adoc 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/README.adoc 2015-09-22 15:19:13.000000000 +0200
@@ -23,8 +23,8 @@
also been successfully tested on Debian, Fedora, and Ubuntu. See
link:INSTALL.adoc[INSTALL.adoc] for installation instructions.
-The latest version, https://github.com/openSUSE/daps/archive/2.1.1.tar.gz[DAPS
-2.1.1], was released on 2015-07-10.
+The latest version, https://github.com/openSUSE/daps/archive/2.1.3.tar.gz[DAPS
+2.1.3], was released on 2015-09-22.
Contributing
------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/bin/ccecho new/daps/bin/ccecho
--- old/daps/bin/ccecho 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/bin/ccecho 2015-09-22 15:19:13.000000000 +0200
@@ -10,11 +10,11 @@
cat <<EOF_helptext
Conditional Color echo
-Usage: ccecho LEVEL "MESSAGE"
+Usage: ccecho "LEVEL" "MESSAGE"
-Prints a colored message string to STDOUT using bash color codes. The
-color depends on one of the LEVEL keyword. When the SHELL environment
-variable COLOR is set to either "0" or "no" no color output is
+Prints a colored message string to STDOUT or STDERR using bash color codes. The
+color and the output channel depend on the LEVEL keyword. When the SHELL
+environment variable COLOR is set to either "0" or "no" no color output is
generated.
The main purpose of this script is to provide an easy method to generate
@@ -24,11 +24,11 @@
LEVEL keywords
- normal -> no color
- error -> bold red
- info -> purple
- result -> green
- warn -> red
+ normal -> no color, STDOUT
+ error -> bold red, STDERR
+ info -> purple, STDOUT
+ result -> green, STDOUT
+ warn -> red, STDERR
MESSAGE
The message to be printed. Needs to be quoted using double quotes.
@@ -96,4 +96,8 @@
MESSAGE=${MESSAGE//\\n/${END_COLOR}\\n${START_COLOR}}
fi
-echo -e "${START_COLOR}${MESSAGE}${END_COLOR}"
+if [[ error = "$LEVEL" || warn = "$LEVEL" ]]; then
+ echo -e "${START_COLOR}${MESSAGE}${END_COLOR}" >&2
+else
+ echo -e "${START_COLOR}${MESSAGE}${END_COLOR}"
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/bin/daps.in new/daps/bin/daps.in
--- old/daps/bin/daps.in 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/bin/daps.in 2015-09-22 15:19:13.000000000 +0200
@@ -73,8 +73,10 @@
EXPORT_DIR
FALLBACK_STYLEROOT
FOP_CONFIG_FILE
- FOP_OPTIONS
- FOP_STACKSIZE
+ FOP_CMD_OPTIONS
+ FOP_JAVA_FLAGS
+ FOP_JAVA_JARS
+ FOP_JAVA_OPTIONS
FOP_WRAPPER
FORCE_REBUILD
FORMATTER
@@ -84,13 +86,16 @@
HTML_CSS
HTMLROOT
HTMLSINGLE
- JSP
IMAGES_COLOR
IMAGES_GRAYSCALE
IMG_VIEWER
INCLUDE_MANIFEST
INK_OPTIONS
- JING_FLAGS
+ JING_JAVA_FLAGS
+ JING_JAVA_JARS
+ JING_JAVA_OPTIONS
+ JING_WRAPPER
+ JSP
LIB_DIR
LIBEXEC_DIR
LOG_DIR
@@ -141,7 +146,10 @@
VALID_ROOTELEMENTS
VERBOSITY
XEP_CONFIG_FILE
- XEP_OPTIONS
+ XEP_CMD_OPTIONS
+ XEP_JAVA_FLAGS
+ XEP_JAVA_JARS
+ XEP_JAVA_OPTIONS
XEP_WRAPPER
XML_MAIN_CATALOG
XML_USER_CATALOGS
@@ -199,6 +207,7 @@
FOP_CONFIG_FILE
FOP_WRAPPER
HTML_CSS
+ JING_WRAPPER
STATIC_DIR
STYLEDEVEL
STYLEROOT
@@ -278,9 +287,6 @@
SUBCOMMANDS+=("dapsenv=debugging")
HELP_SUBCOMMAND+=("dapsenv=DEBUGGING: Shows a list of internal variables and their values.")
-SUBCOMMANDS+=("debug=debugging")
-HELP_SUBCOMMAND+=("debug=DEBUGGING: for developing purposes only.")
-
SUBCOMMANDS+=("dist-webhelp=build_generic")
HELP_SUBCOMMAND+=("dist-webhelp=Creates a distributable tar archive of a webhelp document\n(including images and css).")
@@ -1083,6 +1089,8 @@
DEBUG=1
VERBOSITY_CMDL=2
VERBOSITY=$VERBOSITY_CMDL
+ # enable JAVA debug messages (fop, xep, jing)
+ export VERBOSE=1
shift
;;
--fb_styleroot)
@@ -1170,7 +1178,7 @@
#
if [[ -n "$FALLBACK_STYLEROOT" && -z "$STYLEROOT" ]]; then
if [[ 0 != $VERBOSITY ]]; then
- echo "Warning: --styleroot is not specified, ignoring --fb_styleroot"
+ echo "Warning: --styleroot is not specified, ignoring --fb_styleroot" >&2
fi
fi
@@ -1458,7 +1466,7 @@
[[ -n "$DOCCONF_CMDL" ]] && source "$DOCCONF_CMDL"
-# FOP/XEP CONFIG and WRAPPER
+# FOP/XEP CONFIG and WRAPPER / JING WRAPPER
# when using an SVN checkout, @sysconfdir@ and @pkgdatadir have not been
# replaced
#
@@ -1469,6 +1477,8 @@
FOP_CONFIG_FILE=${FOP_CONFIG_FILE/#@sysconfdir\@\/daps/${DAPSROOT}/etc}
FOP_WRAPPER=${FOP_WRAPPER/#@pkgdatadir\@/${DAPSROOT}}
+JING_WRAPPER=${JING_WRAPPER/#@pkgdatadir\@/${DAPSROOT}}
+
XEP_CONFIG_FILE=${XEP_CONFIG_FILE/#@sysconfdir\@\/daps/${DAPSROOT}/etc}
XEP_WRAPPER=${XEP_WRAPPER/#@pkgdatadir\@/${DAPSROOT}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/configure.ac new/daps/configure.ac
--- old/daps/configure.ac 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/configure.ac 2015-09-22 15:19:13.000000000 +0200
@@ -11,7 +11,7 @@
m4_define(daps_version_major, 2)
m4_define(daps_version_minor, 1)
-m4_define(daps_version_micro, [2])
+m4_define(daps_version_micro, [3])
# API version
m4_define([daps_api_version],[daps_version_major])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/doc/xml/art_daps_quick.xml new/daps/doc/xml/art_daps_quick.xml
--- old/daps/doc/xml/art_daps_quick.xml 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/doc/xml/art_daps_quick.xml 2015-09-22 15:19:13.000000000 +0200
@@ -252,9 +252,9 @@
<para>If you want to modify the file name and the title for the document,
use the options <option>--name</option> and <option>--title</option>:
</para>
- <screen>&prompt.user;<command>daps-init
- --docdir <replaceable>PATH_TO_DOC_DIR</replaceable> --name "my_document" --title "Example
- Documentation"</command></screen>
+ <screen>&prompt.user;<command>daps-init --docdir <replaceable>PATH_TO_DOC_DIR</replaceable> \
+ --name "my_document" \
+ --title "Example Documentation"</command></screen>
</step>
<step>
<para>If you want to create an example book file in addition to the article,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/etc/config.in new/daps/etc/config.in
--- old/daps/etc/config.in 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/etc/config.in 2015-09-22 15:19:13.000000000 +0200
@@ -281,37 +281,40 @@
# FOP_CONFIG_FILE="@sysconfdir@/daps/fop/fop-daps.xml"
FOP_CONFIG_FILE=""
-
## Key: FOP_OPTIONS
## -----------------------
## Description: Command line options for the FOP pdf formatter
## Type: String
-## Default: "-q" (turn on quiet mode)
+## Default: ""
#
# Specify command line options for the FOP formatter.
# Also see FORMATTER, FOP-*
#
-FOP_OPTIONS="-q"
+FOP_CMD_OPTIONS=""
+## Key: FOP_JAVA_FLAGS
+## ----------------------------
+## Description: Additional java properties for running fop
+## Type: String (-D<prop>)
+## Default: ""
+#
+FOP_JAVA_FLAGS=""
-## Key: FOP_STACKSIZE
-## --------------------------
-## Description: Java stack size for the FOP pdf formatter
+## Key: FOP_JAVA_JARS
+## ---------------------------
+## Description: Additional Jars for running fop
## Type: String
-## Default: "-Xss2048K"
-#
-# Needs to be specified as -Xss<size>
-# <size> can either be specified in kilobytes (K) or megabytes (m)
-# Example:
-# -Xss2048K
-# -Xss2m
-#
-# Increase this value (e.g. to 3 or 4 MB) if you experience strange
-# problems when building PDFs with FOP (especially on 64bit machines)
+## Default: ""
#
-# Also see FORMATTER, FOP-*
+FOP_JAVA_JARS=""
+
+## Key: FOP_JAVA_OPTIONS
+## ------------------------------
+## Description: Additional java options for running fop
+## Type: String (-X<option>), see java -X for help
+## Default: ""
#
-FOP_STACKSIZE="-Xss2048K"
+FOP_JAVA_OPTIONS=""
## Key: FOP_WRAPPER
## -----------------------
@@ -319,10 +322,13 @@
## Type: PATH to script
## Default: "@pkgdatadir@/libexec/daps-fop""
#
-# Optional wrapper script for calling FOP. The default "fop" will run
+# Optional wrapper script for calling fop. If set to "fop", it will run
# the first fop executable found in your path (usually this will be
# /usr/bin/fop)
-# Also see FORMATTER, FOP-*
+#
+# The default will probably not work on Debian/Ubuntu, since they
+# use a different way to set Java options. Setting up a custom wrapper
+# script for Ubuntu/Debian might be needed (not tested)
#
FOP_WRAPPER="@pkgdatadir@/libexec/daps-fop"
@@ -348,6 +354,49 @@
#
GZIP_MAN="yes"
+
+## Key: JING_JAVA_FLAGS
+## ----------------------------
+## Description: Additional java properties for running jing
+## Type: String (-D<prop>)
+## Default: ""
+#
+JING_JAVA_FLAGS=""
+
+## Key: JING_JAVA_JARS
+## ---------------------------
+## Description: Additional Jars for running jing
+## Type: String
+## Default: ""
+#
+JING_JAVA_JARS=""
+
+## Key: JING_JAVA_OPTIONS
+## ------------------------------
+## Description: Additional java options for running jing
+## Type: String (-X<option>), see java -X for help
+## Default: ""
+#
+JING_JAVA_OPTIONS=""
+
+## Key: JING_WRAPPER
+## -------------------------
+## Description: Wrapper script for Jing
+## Type: PATH to script
+## Default: "@pkgdatadir@/libexec/daps-jing"
+#
+# Optional wrapper script for calling jing. If set to "jing", it will run
+# the first jing executable found in your path (usually this will be
+# /usr/bin/jing)
+#
+# The default will probably not work on Debian/Ubuntu, since they
+# use a different way to set Java options. Setting up a custom wrapper
+# script for Ubuntu/Debian might be needed (not tested)
+#
+# Also see JING_*
+#
+JING_WRAPPER="@pkgdatadir@/libexec/daps-jing"
+
## Key: HTML5
## ------------------------
## Description: Use XHTML5 instead of XHTML1 for HTML output
@@ -693,12 +742,36 @@
## -----------------------
## Description: Command line options for the XEP pdf formatter
## Type: String
-## Default: "-q" (turn on quiet mode)
+## Default: ""
#
# Specify command line options for the XEP formatter.
# Also see FORMATTER, XEP-*
#
-XEP_OPTIONS="-q"
+XEP_CMD_OPTIONS=""
+
+## Key: XEP_JAVA_FLAGS
+## ----------------------------
+## Description: Additional java properties for running xep
+## Type: String (-D<prop>)
+## Default: ""
+#
+XEP_JAVA_FLAGS=""
+
+## Key: XEP_JAVA_JARS
+## ---------------------------
+## Description: Additional Jars for running xep
+## Type: String
+## Default: ""
+#
+XEP_JAVA_JARS=""
+
+## Key: XEP_JAVA_OPTIONS
+## ------------------------------
+## Description: Additional java options for running xep
+## Type: String (-X<option>), see java -X for help
+## Default: ""
+#
+XEP_JAVA_OPTIONS=""
## Key: XEP_WRAPPER
## -----------------------
@@ -706,10 +779,13 @@
## Type: PATH to script
## Default: "@pkgdatadir@/libexec/daps-xep"
#
-# Optional wrapper script for calling XEP. The default "xep" will run
-# the first xep binary found in your path (usually this will be
+# Optional wrapper script for calling xep. If set to "xep", it will run
+# the first xep executable found in your path (usually this will be
# /usr/bin/xep)
-# Also see FORMATTER, XEP-*
+#
+# The default will probably not work on Debian/Ubuntu, since they
+# use a different way to set Java options. Setting up a custom wrapper
+# script for Ubuntu/Debian might be needed (not tested)
#
XEP_WRAPPER="@pkgdatadir@/libexec/daps-xep"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/lib/daps_functions new/daps/lib/daps_functions
--- old/daps/lib/daps_functions 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/lib/daps_functions 2015-09-22 15:19:13.000000000 +0200
@@ -218,10 +218,10 @@
P_PAGEFILES=1
shift
;;
- --param)
- P_PARAMS="$P_PARAMS --param $2"
- shift 2
- ;;
+ --param)
+ P_PARAMS="$P_PARAMS --param $2"
+ shift 2
+ ;;
--pretty)
P_PRETTY=1
shift
@@ -255,10 +255,10 @@
sanitize_path "$2" "P_STATIC_DIR"
shift 2
;;
- --stringparam)
- P_STRINGPARAMS="$P_STRINGPARAMS --stringparam $2"
- shift 2
- ;;
+ --stringparam)
+ P_STRINGPARAMS="$P_STRINGPARAMS --stringparam $2"
+ shift 2
+ ;;
--subdirs)
P_SUBDIRS=1
shift
@@ -276,7 +276,7 @@
shift 2
;;
--xsltparam)
- ccecho -- "info" "--xsltparam is deprecated, please use --param/--stringparam."
+ ccecho -- "warn" "--xsltparam is deprecated, please use --param/--stringparam instead."
P_XSLTPARAM="$2"
shift 2
;;
@@ -422,15 +422,25 @@
###########################################################################
function call_make {
local CORE_NO DBSTYLE_FILE DBSTYLE_VERS LOGFILE MAKE_BIN
- local MAKE_OPTIONS MAKE_CMD STRING SUB_CMD
+ local MAKE_OPTIONS MAKE_CMD STRING SILENT SUB_CMD
# first argument passed to the function is the subcommand
- # in some cases, additional arguments are passed to this
+
+ # Second and optional argument is "silent" - if set all debug and
+ # verbosity settings are ignored. This allows to run call_make to set
+ # variables (e.g. FILELIST=$(call_make "list-srcfiles")
+
+ # In some cases, additional arguments are passed to this
# function - they remain in $@ and will be passed "as is" to make
#
SUB_CMD=$1
shift
+ if [[ "silent" = "$1" ]]; then
+ SILENT="1"
+ shift
+ fi
+
# Check the remaining $@ - if it contains variable definitions (FOO=BAR
# or FOO="BAR") it's OK, if it contains barewords, exit with an error
#
@@ -449,18 +459,20 @@
MAKE_OPTIONS="-f $DAPSROOT/make/selector.mk"
MAKE_BIN="/usr/bin/make"
- if [[ 1 = "$DEBUG" || 3 = "$VERBOSITY" ]]; then
- # use remake if installed when in debug or highest verbosity mode
- IS_REMAKE=$(which remake 2>/dev/null)
- [[ -n "$IS_REMAKE" ]] && MAKE_BIN="/usr/bin/remake"
- MAKE_OPTIONS="$MAKE_OPTIONS --debug=b"
+ if [[ 1 != "$SILENT" ]]; then
+ if [[ 1 = "$DEBUG" || 3 = "$VERBOSITY" ]]; then
+ # use remake if installed when in debug or highest verbosity mode
+ IS_REMAKE=$(which remake 2>/dev/null)
+ [[ -n "$IS_REMAKE" ]] && MAKE_BIN="/usr/bin/remake"
+ MAKE_OPTIONS="$MAKE_OPTIONS --debug=b"
+ fi
fi
if [[ 0 = "$VERBOSITY" || 1 = "$VERBOSITY" || 2 = "$VERBOSITY" ]]; then
# calculate Number of CPUs (cores) for -j option, set to "1" if empty
CORE_NO=$(egrep -s -m1 "cpu cores\s*:" /proc/cpuinfo 2>/dev/null | sed 's/cpu cores\s*:\s*//')
[[ -z "$CORE_NO" ]] && CORE_NO=1
MAKE_OPTIONS="$MAKE_OPTIONS -j${CORE_NO}"
- [[ 1 != $DEBUG ]] && MAKE_OPTIONS="$MAKE_OPTIONS -s"
+ [[ 1 != "$DEBUG" || 1 = "$SILENT" ]] && MAKE_OPTIONS="$MAKE_OPTIONS -s"
else
# highest verbosity level - use -j1 for a better readability
MAKE_OPTIONS="$MAKE_OPTIONS -j1"
@@ -473,7 +485,7 @@
# Variable settings summary printed on debug and high verbosity mode
- if [[ 2 -le $VERBOSITY ]]; then
+ if [[ 2 -le $VERBOSITY && 1 != "$SILENT" ]]; then
# get stylesheet version (ticket #151)
# saxon6 (at least on openSUSE) does not properly resolve http Urls
# (because it does not ask the catalog but rather directly accesses
@@ -540,24 +552,24 @@
fi
if [[ 0 != "$VERBOSITY" ]]; then
- if [[ 1 = "$WRITE_LOG" ]]; then
+ if [[ 1 = "$WRITE_LOG" ]]; then
$MAKE_CMD 2>&1 | tee -a "$LOGFILE"
# see http://www.unix.com/shell-programming-scripting/92163-command-does-not-retu…
[[ 0 = "${PIPESTATUS[0]}" ]] || exit 1
- else
- $MAKE_CMD 2>&1
- fi
+ else
+ $MAKE_CMD 2>&1
+ fi
else
if [[ 1 = "$WRITE_LOG" ]]; then
$MAKE_CMD >> "$LOGFILE" 2>&1
if [[ 0 = "$?" ]]; then
- # make command successful, only show last line (aka result)
- tail -n 1 "$LOGFILE"
+ # make command successful, only show last line (aka result)
+ tail -n 1 "$LOGFILE"
else
# an error occured in make
# show complete logfile except the first line containing the
# date
- tail -n +2 "$LOGFILE"
+ tail -n +2 "$LOGFILE"
exit 1
fi
else
@@ -617,17 +629,17 @@
#------ Computing the values returned from the parser -----
if [[ 1 = "$P_HELP" ]]; then
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
- help_cropmarks
+ help_cropmarks
help_draft
help_formatter
- help_grayscale_pdf
+ help_grayscale_pdf
help_help
help_meta
help_name
- help_param
+ help_param
help_remarks
help_rootid
- help_stringparam
+ help_stringparam
help_xsltparam "creates the .fo file from the profiled sources"
echo
exit 0
@@ -683,16 +695,16 @@
help_draft
help_help
help_html5
- help_jsp
+ help_jsp
help_meta
help_name
help_nostatic
- help_param
+ help_param
help_remarks
help_rootid
- help_single
+ help_single
help_statdir
- help_stringparam
+ help_stringparam
help_xsltparam "creates $SUB_CMD from the profiled sources"
echo
exit 0
@@ -751,10 +763,10 @@
help_name
help_nosearch
help_nostatic
- help_param
+ help_param
help_remarks
help_rootid
- help_stringparam
+ help_stringparam
help_xsltparam "creates Webhelp HTML from the profiled sources"
echo
exit 0
@@ -814,13 +826,13 @@
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
help_check
help_css
- help_epub3
+ help_epub3
help_help
help_name
- help_param
+ help_param
help_rootid
help_statdir
- help_stringparam
+ help_stringparam
echo
exit 0
fi
@@ -871,9 +883,9 @@
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
help_help
help_nogzip
- help_param
+ help_param
help_rootid
- help_stringparam
+ help_stringparam
help_subdirs
echo
exit 0
@@ -910,9 +922,9 @@
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
help_help
help_name
- help_param
+ help_param
help_rootid
- help_stringparam
+ help_stringparam
echo
exit 0
fi
@@ -1001,7 +1013,7 @@
help_name
help_noset
help_rootid
- help_optipng
+ help_optipng
echo
exit 0
fi
@@ -1062,9 +1074,9 @@
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
help_def-file
help_help
- help_locdrop
+ help_locdrop
help_name
- help_optipng
+ help_optipng
help_set-date
echo
exit 0
@@ -1105,7 +1117,7 @@
shift
SHORT_OPTS="h"
- LONG_OPTS="cropmarks,desktopfiles,documentfiles,formatter:,grayscale,help,name:,pagefiles,rootid:,set-date:,xsltparam:"
+ LONG_OPTS="cropmarks,desktopfiles,documentfiles,formatter:,grayscale,help,name:,pagefiles,param:,rootid:,set-date:,stringparam:,xsltparam:"
parse_args "$SHORT_OPTS" "$LONG_OPTS" "$SUB_CMD" "$@"
eval set -- "$P_REMAIN_ARGS"
@@ -1120,9 +1132,11 @@
help_grayscale_pdf
help_help
help_name
+ help_param
help_pagefiles
help_rootid
help_set-date
+ help_stringparam
help_xsltparam "creates the .fo file from the profiled sources"
echo
exit 0
@@ -1135,6 +1149,8 @@
[[ 1 = "$P_GRAYSCALE" ]] && export GRAYSCALE=1
[[ -n "$P_NAME" ]] && export PDFNAME="$P_NAME" BOOK="$P_NAME"
[[ -n "$P_ROOTID" ]] && export ROOTID="$P_ROOTID"
+ [[ -n "$P_PARAMS" ]] && export PARAMS="$P_PARAMS"
+ [[ -n "$P_STRINGPARAMS" ]] && export STRINGPARAMS="$P_STRINGPARAMS"
[[ -n "$P_XSLTPARAM" ]] && export XSLTPARAM="$XSLTPARAM $P_XSLTPARAM"
if [[ -n "$P_FORMATTER" ]]; then
@@ -1168,7 +1184,7 @@
shift
SHORT_OPTS="h"
- LONG_OPTS="css:,desktopfiles,documentfiles,help,html5,jsp,name:,pagefiles,rootid:,set-date:,single,statdir:,xsltparam:"
+ LONG_OPTS="css:,desktopfiles,documentfiles,help,html5,jsp,name:,pagefiles,param:,rootid:,set-date:,single,statdir:,stringparam:,xsltparam:"
parse_args "$SHORT_OPTS" "$LONG_OPTS" "$SUB_CMD" "$@"
eval set -- "$P_REMAIN_ARGS"
@@ -1181,15 +1197,17 @@
help_documentfiles
help_help
help_html5
- help_jsp
+ help_jsp
help_name
help_pagefiles
+ help_param
help_rootid
help_set-date
- help_single
+ help_single
help_statdir
+ help_stringparam
help_xsltparam "creates the .html files from the profiled sources"
- echo
+ echo
exit 0
fi
@@ -1202,6 +1220,8 @@
[[ -n "$P_NAME" ]] && export PDFNAME="$P_NAME" BOOK="$P_NAME"
[[ -n "$P_ROOTID" ]] && export ROOTID="$P_ROOTID"
[[ -n "$P_STATIC_DIR" ]] && export STATIC_DIR="$P_STATIC_DIR"
+ [[ -n "$P_PARAMS" ]] && export PARAMS="$P_PARAMS"
+ [[ -n "$P_STRINGPARAMS" ]] && export STRINGPARAMS="$P_STRINGPARAMS"
[[ -n "$P_XSLTPARAM" ]] && export XSLTPARAM="$XSLTPARAM $P_XSLTPARAM"
# We always want to start with a clean HTML result directory for
@@ -1318,7 +1338,7 @@
if [[ -f ${P_NOTRANS_DIR}/$DC ]]; then
cp "${P_NOTRANS_DIR}/$DC" .
else
- ccecho "warn" "File does not exist: ${P_NOTRANS_DIR}/$DC" >&2
+ ccecho "warn" "File does not exist: ${P_NOTRANS_DIR}/$DC"
fi
done
@@ -1337,7 +1357,7 @@
(cd "$DIR" && ln -sf "$(realpath --relative-to="." "${P_NOTRANS_DIR}/$DATA")")
fi
else
- ccecho "warn" "File does not exist: ${P_NOTRANS_DIR}/$DATA" >&2
+ ccecho "warn" "File does not exist: ${P_NOTRANS_DIR}/$DATA"
fi
done
@@ -1349,7 +1369,7 @@
if [[ -f ${P_NOTRANS_DIR}/xml/$ENT ]]; then
(cd xml && ln -sf "$(realpath --relative-to="." "${P_NOTRANS_DIR}/xml/$ENT")")
else
- ccecho "warn" "Cannot find entity file: ${P_NOTRANS_DIR}/xml/$ENT" >&2
+ ccecho "warn" "Cannot find entity file: ${P_NOTRANS_DIR}/xml/$ENT"
fi
done
@@ -1389,7 +1409,7 @@
help_remarks
help_rootid
echo
- exit 0
+ exit 0
fi
[[ 1 = "$P_DRAFT" ]] && DRAFT="yes"
@@ -1427,7 +1447,7 @@
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
help_remarks
echo
- exit 0
+ exit 0
fi
[[ 1 = "$P_REMARKS" ]] && REMARKS=1
@@ -1510,17 +1530,17 @@
#------ Computing the values returned from the parser -----
if [[ 1 = "$P_HELP" ]]; then
help_scmd_head "$SUB_CMD" "$HELP_SUBCMD"
- [[ "pdf-name" = "$SUB_CMD" ]] && help_cropmarks
+ [[ "pdf-name" = "$SUB_CMD" ]] && help_cropmarks
help_draft
- [[ "pdf-name" = "$SUB_CMD" ]] && help_formatter
- [[ "pdf-name" = "$SUB_CMD" ]] && help_grayscale_pdf
+ [[ "pdf-name" = "$SUB_CMD" ]] && help_formatter
+ [[ "pdf-name" = "$SUB_CMD" ]] && help_grayscale_pdf
help_help
- [[ "jsp-dir-name" = "$SUB_CMD" ]] && help_jsp
- help_meta
+ [[ "jsp-dir-name" = "$SUB_CMD" ]] && help_jsp
+ help_meta
help_name
help_remarks
help_rootid
- [[ "html-dir-name" = "$SUB_CMD" ]] && help_single
+ [[ "html-dir-name" = "$SUB_CMD" ]] && help_single
echo
exit 0
fi
@@ -1704,7 +1724,7 @@
# get the image list
# we can use projectgraphics, since it returns images for a given rootid
- IMGLIST=( $(call_make list-srcfiles LIST_NODC=1 LIST_NOENT=1 LIST_NOXML=1) )
+ IMGLIST=( $(call_make list-srcfiles silent LIST_NODC=1 LIST_NOENT=1 LIST_NOXML=1) )
if [[ 0 != $? ]]; then
exit_on_error "Failed to get list of images"
fi
@@ -1789,7 +1809,7 @@
[[ -n "$P_ROOTID" ]] && export ROOTID="$P_ROOTID"
if [[ -z "${FILELIST[0]}" ]]; then ## --file was not specified
- FILELIST=( $(call_make list-srcfiles LIST_NODC=1 LIST_NOENT=1 LIST_NOIMG=1 ) )
+ FILELIST=( $(call_make list-srcfiles silent LIST_NODC=1 LIST_NOENT=1 LIST_NOIMG=1 ) )
if [[ 0 != $? ]]; then
exit_on_error "Failed to get filelist for ROOTID \"$ROOTID\""
fi
@@ -1800,7 +1820,7 @@
if [[ -n "$P_LANG" ]]; then
ASPELL_LANG="$P_LANG"
else
- if [[ -z "ASPELL_LANG" ]]; then
+ if [[ -z "$ASPELL_LANG" ]]; then
ASPELL_LANG=$($XSLTPROC --stylesheet "${DAPSROOT}/daps-xslt/common/get-language.xsl" --file "$MAIN" "$XSLTPROCESSOR" 2>/dev/null)
if [[ -n "$ASPELL_LANG" ]]; then
ccecho "info" "Using language $ASPELL_LANG."
@@ -1958,8 +1978,8 @@
help_gen
help_grayscale_images
help_help
- help_online
- help_rootid
+ help_online
+ help_rootid
echo
exit 0
fi
@@ -2460,7 +2480,7 @@
cat <<EOF
--xsltparam=STRING ** Deprecated **
Use --param and/or --stringparam instead.
-
+
Add one or more xslt processor parameters in
the form of
\"--stringparam KEY=VALUE --param KEY=VALUE\".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/libexec/daps-fop new/daps/libexec/daps-fop
--- old/daps/libexec/daps-fop 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/libexec/daps-fop 2015-09-22 15:19:13.000000000 +0200
@@ -2,25 +2,66 @@
#
# Copyright (C) 2012-2015 SUSE Linux GmbH
#
-# Author:
+# Authors:
+# Frank Sundermeyer <fsundermeyer at opensuse dor org>
# Thomas Schraitle <toms at opensuse dor org>
#
+#
# Customized fop executable for DAPS
+
+# Command line switches for FOP
+#------------------------------
+#
+# enable quite mode unless --debug is used
+[[ 1 -ne $DEBUG ]] && FOP_DEFAULT_CMD_OPTIONS="-q"
+
+# Set the nocs option for FOP >=1.1
+#
# Get the first 2 digits from the version number
# 1.0 -> 10, 1.0.1 -> 10
+#
+# Other fop command-line options can be set with FOP_OPTIONS in the
+# daps config
FOP_VERSION=$(fop -version 2>/dev/null | cut -d " " -f 3 | tr -d ".")
FOP_VERSION=${FOP_VERSION:0:2}
-# set the nocs parameter for FOP >= 1.1
-# (other command line options are defined in the DAPS config file
-# as FOP_OPTIONS)
-[[ $FOP_VERSION -ge 11 ]] && OPTS="-nocs"
+[[ $FOP_VERSION -ge 11 ]] && FOP_DEFAULT_CMD_OPTIONS="$FOP_DEFAULT_CMD_OPTIONS -nocs"
+#FOP_CONFIG_FILE=${FOP_CONFIG_FILE:-"/etc/daps/fop/fop-daps.xml"}
-#FOP_MEMORY=${FOP_MEMORY:-"-Xmx500m"}
+if [[ -n $FOP_CONFIG_FILE ]]; then
+ FOP_CMD_SWITCHES="$FOP_DEFAULT_CMD_OPTIONS -c $FOP_CONFIG_FILE $FOP_CMD_OPTIONS"
+else
+ FOP_CMD_SWITCHES="$FOP_DEFAULT_CMD_OPTIONS $FOP_CMD_OPTIONS"
+fi
+
+# set initial/maximum java heap size
+#
+#FOP_MEMORY=${FOP_MEMORY:-"-Xms400 -Xmx500m"}
+# set java thread stack size
+#
FOP_STACKSIZE=${FOP_STACKSIZE:-"-Xss2048K"}
-#FOP_CONFIG_FILE=${FOP_CONFIG_FILE:-"/etc/daps/fop/fop-daps.xml"}
-ADDITIONAL_FLAGS="$FOP_MEMORY $FOP_STACKSIZE" \
-ADDITIONAL_JARS="batik-all excalibur/avalon-framework-impl" \
-ADDITIONAL_OPTIONS="-Djavax.xml.transform.URIResolver=org.apache.xml.resolver.tools.CatalogResolver -Djava.util.logging.config.file=${DAPSROOT}/etc/fop/fop_logging.properties" fop $OPTS "$@"
-#fop $OPTS -c $FOP_CONFIG_FILE "$@"
+# Default JAVA/FOP setup for FOP needed by DAPS
+# ----------------------------------------------
+# do not change
+# To add additional flags/jars/options use
+#
+# FOP_FLAGS
+# FOP_JARS
+# FOP_OPTIONS
+#
+# in the config. These values will be used in addition to the default values
+# specified below
+#
+
+FOP_DEFAULT_JAVA_FLAGS="-Djavax.xml.transform.URIResolver=org.apache.xml.resolver.tools.CatalogResolver -Djava.util.logging.config.file=${DAPSROOT}/etc/fop/fop_logging.properties"
+FOP_DEFAULT_JAVA_JARS="batik-all excalibur/avalon-framework-impl"
+FOP_DEFAULT_JAVA_OPTIONS="$FOP_MEMORY $FOP_STACKSIZE"
+
+
+# Call /usr/bin/fop
+#
+ADDITIONAL_FLAGS="$FOP_DEFAULT_JAVA_FLAGS $FOP_JAVA_FLAGS" \
+ ADDITIONAL_JARS="$FOP_DEFAULT_JAVA_JARS $FOP_JAVA_JARS" \
+ ADDITIONAL_OPTIONS="$FOP_DEFAULT_JAVA_OPTIONS $FOP_JAVA_OPTIONS" \
+ fop $FOP_CMD_SWITCHES "$@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/libexec/daps-jing new/daps/libexec/daps-jing
--- old/daps/libexec/daps-jing 1970-01-01 01:00:00.000000000 +0100
+++ new/daps/libexec/daps-jing 2015-09-22 15:19:13.000000000 +0200
@@ -0,0 +1,41 @@
+#!/bin/bash
+#
+# Copyright (C) 2012-2015 SUSE Linux GmbH
+#
+# Author:
+# Frank Sundermeyer <fsundermeyer at opensuse dor org>
+# Thomas Schraitle <toms at opensuse dor org>
+#
+# Customized JING executable for DAPS
+
+
+# set initial/maximum java heap size
+#
+#JING_MEMORY=${JING_MEMORY:-"-Xms400 -Xmx500m"}
+
+# set java thread stack size
+# A minimum stack size of 3072 is needed for builds on s390 and ARM
+#
+JING_STACKSIZE=${JING_STACKSIZE:-"-Xss3072K"}
+
+#
+# Default JAVA setup for JING needed by DAPS - do not change
+# To add additional flags/jars/options use
+#
+# JING_JAVA_FLAGS
+# JING_JAVA_JARS
+# JING_JAVA_OPTIONS
+#
+# in the config. These values will be used in addition to the default values
+# specified below
+
+JING_DEFAULT_JAVA_FLAGS="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"
+JING_DEFAULT_JAVA_JARS="batik-all excalibur/avalon-framework-impl"
+JING_DEFAULT_JAVA_OPTIONS="$JING_MEMORY $JING_STACKSIZE"
+
+# Call /usr/bin/jing
+#
+ADDITIONAL_FLAGS="$JING_DEFAULT_JAVA_FLAGS $JING_JAVA_FLAGS" \
+ ADDITIONAL_JARS="$JING_DEFAULT_JAVA_JARS $JING_JAVA_JARS" \
+ ADDITIONAL_OPTIONS="$JING_DEFAULT_JAVA_OPTIONS $JING_JAVA_OPTIONS" \
+ jing "$@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/libexec/daps-xep new/daps/libexec/daps-xep
--- old/daps/libexec/daps-xep 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/libexec/daps-xep 2015-09-22 15:19:13.000000000 +0200
@@ -2,15 +2,15 @@
#
# Copyright (C) 2012-2015 SUSE Linux GmbH
#
-# Author:
+# Authors:
+# Frank Sundermeyer <fsundermeyer at opensuse dor org>
# Thomas Schraitle <toms at opensuse dot org>
#
# Customized xep executable for daps
-# Use environment variable VERBOSE to get more debugging output
#
#
-# Configuring variables
+# User config file
#
USER_XEP_CONFIG="$HOME/.config/daps/xep-config.xml"
@@ -19,4 +19,30 @@
ccecho "info" "Using XEP config file from $USER_XEP_CONFIG"
export XEP_CONFIG_FILE=${XEP_CONFIG_FILE:-"$USER_XEP_CONFIG"}
fi
-xep "$@"
+
+# Command line switches for FOP
+#------------------------------
+#
+# enable quite mode unless --debug is used
+[[ 1 -ne $DEBUG ]] && XEP_DEFAULT_CMD_OPTIONS="-q"
+
+XEP_CMD_SWITCHES="$XEP_DEFAULT_CMD_OPTIONS $XEP_CMD_OPTIONS"
+
+# set initial/maximum java heap size
+#
+#XEP_MEMORY=${XEP_MEMORY:-"-Xms400 -Xmx500m"}
+# set java thread stack size
+#
+#XEP_STACKSIZE=${XEP_STACKSIZE:-"-Xss2048K"}
+
+XEP_DEFAULT_JAVA_FLAGS=""
+XEP_DEFAULT_JAVA_JARS=""
+XEP_DEFAULT_JAVA_OPTIONS="$XEP_MEMORY $XEP_STACKSIZE"
+
+
+# Call /usr/bin/xep
+#
+ADDITIONAL_FLAGS="$XEP_DEFAULT_JAVA_FLAGS $XEP_JAVA_FLAGS" \
+ ADDITIONAL_JARS="$XEP_DEFAULT_JAVA_JARS $XEP_JAVA_JARS" \
+ ADDITIONAL_OPTIONS="$XEP_DEFAULT_JAVA_OPTIONS $XEP_JAVA_OPTIONS" \
+ xep "$@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/make/validate.mk new/daps/make/validate.mk
--- old/daps/make/validate.mk 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/make/validate.mk 2015-09-22 15:19:13.000000000 +0200
@@ -23,8 +23,7 @@
ifeq "$(DOCBOOK_VERSION)" "4"
xmllint --noent --postvalid --noout --xinclude $(PROFILED_MAIN)
else
- ADDITIONAL_FLAGS="$(JING_FLAGS)" jing $(JING_RNC) $(DOCBOOK5_RNG) \
- $(PROFILED_MAIN)
+ $(JING_WRAPPER) $(JING_RNC) $(DOCBOOK5_RNG) $(PROFILED_MAIN)
endif
touch $(PROFILEDIR)/.validate
# @echo "checking for unexpected characters: ... "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/man/xml/ccecho.xml new/daps/man/xml/ccecho.xml
--- old/daps/man/xml/ccecho.xml 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/man/xml/ccecho.xml 2015-09-22 15:19:13.000000000 +0200
@@ -30,7 +30,7 @@
<refnamediv>
<refname>&ccecho-command;</refname>
<refpurpose>
- ccecho (conditional color echo) let's you use colored output for STDOUT
+ ccecho (conditional color echo) lets you use colored output for STDOUT
while using regular output for log files, pipes and scripts
</refpurpose>
</refnamediv>
@@ -46,9 +46,10 @@
<refsect1 id="ccecho.description">
<title>Description</title>
<para>
- Prints a colored message string to STDOUT using bash color codes. The color
- depends on one of the LEVEL keyword. When the SHELL environment variable
- COLOR is set to either "0" or "no" no color output is generated.
+ Prints a colored message string to STDOUT or STDERR using bash color
+ codes. The color and the output channel depend on the LEVEL keyword. When
+ the SHELL environment variable COLOR is set to either "0" or "no" no color
+ output is generated.
</para>
<para>
The main purpose of this script is to provide an easy method to generate
@@ -66,11 +67,11 @@
Determines which color is used. Must be used as the first parameter. Is
ignored, when the ebvironment variable COLOR is set to "0" or "no".
</para>
- <screen>error -> bold red
-info -> purple
-normal -> no color
-result -> green
-warn -> red</screen>
+ <screen>error -> bold red, STDERR
+info -> purple, STDOUT
+normal -> no color, STDOUT
+result -> green, STDOUT
+warn -> red, STDERR</screen>
</refsect2>
<refsect2 id="ccecho.parameters.message">
<title>MESSAGE</title>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/daps/missing new/daps/missing
--- old/daps/missing 2015-08-04 11:33:56.000000000 +0200
+++ new/daps/missing 2015-09-22 15:19:13.000000000 +0200
@@ -1,9 +1,9 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2012-06-26.16; # UTC
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -160,7 +160,7 @@
;;
autom4te*)
echo "You might have modified some maintainer files that require"
- echo "the 'autom4te' program to be rebuilt."
+ echo "the 'automa4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
1
0
Hello community,
here is the log from the commit of package qconf for openSUSE:Factory checked in at 2015-09-30 05:53:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qconf (Old)
and /work/SRC/openSUSE:Factory/.qconf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qconf"
Changes:
--------
--- /work/SRC/openSUSE:Factory/qconf/qconf.changes 2015-04-10 09:51:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.qconf.new/qconf.changes 2015-09-30 05:53:28.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Sep 29 12:55:39 UTC 2015 - jslaby(a)suse.com
+
+- update to 20150608
+ * fix paths by escaping
+ * support multiple qt versions
+ * add extraconf flag
+
+-------------------------------------------------------------------
Old:
----
qconf-20150319.c8e969fef8ce.tar.xz
New:
----
qconf-20150608.4a9c329ba879.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qconf.spec ++++++
--- /var/tmp/diff_new_pack.pMT2K4/_old 2015-09-30 05:53:29.000000000 +0200
+++ /var/tmp/diff_new_pack.pMT2K4/_new 2015-09-30 05:53:29.000000000 +0200
@@ -22,7 +22,7 @@
Name: qconf
Url: http://delta.affinix.com/qconf/
-Version: 20150319.c8e969fef8ce
+Version: 20150608.4a9c329ba879
Release: 0
Summary: Configuration tool for qmake
License: GPL-2.0
++++++ qconf-20150319.c8e969fef8ce.tar.xz -> qconf-20150608.4a9c329ba879.tar.xz ++++++
++++ 1611 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/qconf-20150319.c8e969fef8ce/conf/conf4.cpp new/qconf-20150608.4a9c329ba879/conf/conf4.cpp
--- old/qconf-20150319.c8e969fef8ce/conf/conf4.cpp 2015-03-19 10:05:24.000000000 +0100
+++ new/qconf-20150608.4a9c329ba879/conf/conf4.cpp 2015-09-29 14:54:51.000000000 +0200
@@ -76,7 +76,7 @@
QString qc_findself(const QString &argv0)
{
#ifdef Q_OS_WIN
- if(argv0.contains('\\\\'))
+ if(argv0.contains('\\'))
#else
if(argv0.contains('/'))
#endif
@@ -175,12 +175,77 @@
return true;
}
+// simple command line arguemnts splitter able to understand quoted args.
+// the splitter removes quotes and unescapes symbols as well.
+QStringList qc_splitflags(const QString &flags)
+{
+ QStringList ret;
+ bool searchStart = true;
+ bool inQuotes = false;
+ bool escaped = false;
+ QChar quote, backslash = QLatin1Char('\\');
+ QString buf;
+ buf.reserve(PATH_MAX);
+ for (int i=0; i < flags.length(); i++) {
+ if (searchStart && flags[i].isSpace()) {
+ continue;
+ }
+ if (searchStart) {
+ searchStart = false;
+ buf.clear();
+ }
+ if (escaped) {
+ buf += flags[i];
+ escaped = false;
+ continue;
+ }
+ //buf += flags[i];
+ if (inQuotes) {
+ if (quote == QLatin1Char('\'')) {
+ if (flags[i] == quote) {
+ inQuotes = false;
+ continue;
+ }
+ } else { // we are in double quoetes
+ if (flags[i] == backslash && i < flags.length() - 1 &&
+ (flags[i+1] == QLatin1Char('"') || flags[i+1] == backslash))
+ {
+ // if next symbol is one of in parentheses ("\)
+ escaped = true;
+ continue;
+ }
+ }
+ } else {
+ if (flags[i].isSpace()) {
+ ret.append(buf);
+ searchStart = true;
+ buf.clear();
+ continue;
+#ifndef Q_OS_WIN /* on windows backslash is just a path separator */
+ } else if (flags[i] == backslash) {
+ escaped = true;
+ continue; // just add next symbol
+#endif
+ } else if (flags[i] == QLatin1Char('\'') || flags[i] == QLatin1Char('"')) {
+ inQuotes = true;
+ quote = flags[i];
+ continue;
+ }
+ }
+ buf += flags[i];
+ }
+ if (buf.size()) {
+ ret.append(buf);
+ }
+ return ret;
+}
+
void qc_splitcflags(const QString &cflags, QStringList *incs, QStringList *otherflags)
{
incs->clear();
otherflags->clear();
- QStringList cflagsList = cflags.split(" ");
+ QStringList cflagsList = qc_splitflags(cflags);
for(int n = 0; n < cflagsList.count(); ++n)
{
QString str = cflagsList[n];
@@ -209,6 +274,90 @@
return out;
}
+
+QString qc_trim_char(const QString &s, const QChar &ch)
+{
+ if (s.startsWith(ch) && s.endsWith(ch)) {
+ return s.mid(1, s.size() - 2);
+ }
+ return s;
+}
+
+// removes surrounding quotes, removes trailing slashes, converts to native separators.
+// accepts unescaped but possible quoted path
+QString qc_normalize_path(const QString &str)
+{
+ QString path = str.trimmed();
+ path = qc_trim_char(path, QLatin1Char('"'));
+ path = qc_trim_char(path, QLatin1Char('\''));
+#ifdef Q_OS_WIN
+ QLatin1Char nativeSep('\\');
+ path.replace(QLatin1Char('/'), QLatin1Char('\\'));
+#else
+ QLatin1Char nativeSep('/');
+#endif
+ // trim trailing slashes
+ while (path.length() && path[path.length() - 1] == nativeSep) {
+ path.resize(path.length() - 1);
+ }
+ return path;
+}
+
+// escape filesystem path to be added to qmake pro/pri file.
+QString qc_escape_string_var(const QString &str)
+{
+ QString path = str;
+ path.replace(QLatin1Char('\\'), QLatin1String("\\\\"))
+ .replace(QLatin1Char('"'), QLatin1String("\\\""));
+ if (path.indexOf(QLatin1Char(' ')) != -1) { // has spaces
+ return QLatin1Char('"') + path + QLatin1Char('"');
+ }
+ return path;
+}
+
+// escapes each path in incs and join into single string suiable for INCLUDEPATH var
+QString qc_prepare_includepath(const QStringList &incs)
+{
+ if (incs.empty()) {
+ return QString();
+ }
+ QStringList ret;
+ foreach (const QString &path, incs) {
+ ret.append(qc_escape_string_var(path));
+ }
+ return ret.join(QLatin1String(" "));
+}
+
+// escapes each path in libs and to make it suiable for LIBS var
+// notice, entries of libs are every single arg for linker.
+QString qc_prepare_libs(const QStringList &libs)
+{
+ if (libs.isEmpty()) {
+ return QString();
+ }
+ QSet<QString> pathSet;
+ QStringList paths;
+ QStringList ordered;
+ foreach (const QString &arg, libs) {
+ if (arg.startsWith(QLatin1String("-L"))) {
+ QString path = qc_escape_string_var(arg.mid(2));
+ if (!pathSet.contains(path)) {
+ pathSet.insert(path);
+ paths.append(path);
+ }
+ } else if (arg.startsWith(QLatin1String("-l"))) {
+ ordered.append(arg);
+ } else {
+ ordered.append(qc_escape_string_var(arg));
+ }
+ }
+ QString ret;
+ if (paths.size()) {
+ ret += (QLatin1String(" -L") + paths.join(QLatin1String(" -L")) + QLatin1Char(' '));
+ }
+ return ret + ordered.join(QLatin1String(" "));
+}
+
//----------------------------------------------------------------------------
// ConfObj
//----------------------------------------------------------------------------
@@ -375,14 +524,34 @@
return vars.value(s);
}
+QString Conf::normalizePath(const QString &s) const
+{
+ return qc_normalize_path(s);
+}
+
+QString Conf::escapeQmakeVar(const QString &s) const
+{
+ return qc_escape_string_var(s);
+}
+
+QString Conf::escapedIncludes() const
+{
+ return qc_prepare_includepath(INCLUDEPATH);
+}
+
+QString Conf::escapedLibs() const
+{
+ return qc_prepare_libs(LIBS);
+}
+
QString Conf::expandIncludes(const QString &inc)
{
- return QString("-I") + inc;
+ return QLatin1String("-I") + inc;
}
QString Conf::expandLibs(const QString &lib)
{
- return QString("-L") + lib;
+ return QLatin1String("-L") + lib;
}
int Conf::doCommand(const QString &s, QByteArray *out)
@@ -396,7 +565,7 @@
int Conf::doCommand(const QString &prog, const QStringList &args, QByteArray *out)
{
QString fullcmd = prog;
- QString argstr = args.join(" ");
+ QString argstr = args.join(QLatin1String(" "));
if(!argstr.isEmpty())
fullcmd += QString(" ") + argstr;
debug(QString("[%1]").arg(fullcmd));
@@ -412,10 +581,14 @@
#else
QDir tmp(".qconftemp");
#endif
+ QStringList normalizedLibs;
+ foreach (const QString &l, qc_splitflags(libs)) {
+ normalizedLibs.append(qc_normalize_path(l));
+ }
if(!tmp.mkdir("atest"))
{
- debug("unable to create atest dir");
+ debug(QString("unable to create atest dir: %1").arg(tmp.absoluteFilePath("atest")));
return false;
}
QDir dir(tmp.filePath("atest"));
@@ -447,11 +620,12 @@
"CONFIG -= qt app_bundle\n"
"DESTDIR = $$PWD\n"
"SOURCES += atest.cpp\n");
- QString inc = incs.join(" ");
+ QString inc = qc_prepare_includepath(incs);
if(!inc.isEmpty())
pro += "INCLUDEPATH += " + inc + '\n';
- if(!libs.isEmpty())
- pro += "LIBS += " + libs + '\n';
+ QString escaped_libs = qc_prepare_libs(normalizedLibs);
+ if(!escaped_libs.isEmpty())
+ pro += "LIBS += " + escaped_libs + '\n';
pro += proextra;
fname = dir.filePath("atest.pro");
@@ -512,10 +686,7 @@
bool Conf::checkHeader(const QString &path, const QString &h)
{
- QFileInfo fi(path + '/' + h);
- if(fi.exists())
- return true;
- return false;
+ return QDir(path).exists(h);
}
bool Conf::findHeader(const QString &h, const QStringList &ext, QString *inc)
@@ -652,7 +823,7 @@
*version = version_out;
*incs = incs_out;
*libs = libs_out;
- *otherflags = otherflags_out.join(" ");
+ *otherflags = otherflags_out.join(QLatin1String(" "));
return true;
}
@@ -716,7 +887,7 @@
*version = version_out;
*incs = incs_out;
*libs = libs_out;
- *otherflags = otherflags_out.join(" ");
+ *otherflags = otherflags_out.join(QLatin1String(" "));
return true;
}
@@ -731,19 +902,20 @@
void Conf::addLib(const QString &str)
{
- if(LIBS.isEmpty())
- LIBS = str;
- else
- LIBS += QString(" ") + str;
+ QStringList libs = qc_splitflags(str);
+ foreach (const QString &lib, libs) {
+ if (lib.startsWith("-l")) {
+ LIBS.append(lib);
+ } else {
+ LIBS.append(qc_normalize_path(lib)); // we don't care about -L prefix since normalier does not touch it.
+ }
+ }
debug(QString("LIBS += %1").arg(str));
}
void Conf::addIncludePath(const QString &str)
{
- if(INCLUDEPATH.isEmpty())
- INCLUDEPATH = str;
- else
- INCLUDEPATH += QString(" ") + str;
+ INCLUDEPATH.append(qc_normalize_path(str));
debug(QString("INCLUDEPATH += %1").arg(str));
}
@@ -762,8 +934,9 @@
# include"modules.cpp"
#endif
-int main()
+int main(int argc, char ** argv)
{
+ QCoreApplication app(argc, argv);
Conf *conf = new Conf;
ConfObj *o = 0;
Q_UNUSED(o);
@@ -849,13 +1022,17 @@
if(!conf->DEFINES.isEmpty())
str += "DEFINES += " + conf->DEFINES + '\n';
if(!conf->INCLUDEPATH.isEmpty())
- str += "INCLUDEPATH += " + conf->INCLUDEPATH + '\n';
+ str += "INCLUDEPATH += " + qc_prepare_includepath(conf->INCLUDEPATH) + '\n';
if(!conf->LIBS.isEmpty())
- str += "LIBS += " + conf->LIBS + '\n';
+ str += "LIBS += " + qc_prepare_libs(conf->LIBS) + '\n';
if(!conf->extra.isEmpty())
str += conf->extra;
str += '\n';
+ var = qc_getenv("QC_EXTRACONF");
+ if (!var.isEmpty())
+ str += ("\n# Extra conf from command line\n" + var + "\n");
+
QByteArray cs = str.toLatin1();
f.write(cs);
f.close();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/qconf-20150319.c8e969fef8ce/conf/conf4.h new/qconf-20150608.4a9c329ba879/conf/conf4.h
--- old/qconf-20150319.c8e969fef8ce/conf/conf4.h 2015-03-19 10:05:24.000000000 +0100
+++ new/qconf-20150608.4a9c329ba879/conf/conf4.h 2015-09-29 14:54:51.000000000 +0200
@@ -62,8 +62,8 @@
QString maketool;
QString DEFINES;
- QString INCLUDEPATH;
- QString LIBS;
+ QStringList INCLUDEPATH;
+ QStringList LIBS;
QString extra;
QList<ConfObj*> list;
@@ -74,6 +74,12 @@
QString getenv(const QString &var);
QString qvar(const QString &s);
+ QString normalizePath(const QString &s) const;
+ QString escapeQmakeVar(const QString &s) const;
+ inline QString escapePath(const QString &s) /* prepare fs path for qmake file */
+ { return escapeQmakeVar(normalizePath(s)); }
+ QString escapedIncludes() const;
+ QString escapedLibs() const;
bool exec();
Files old/qconf-20150319.c8e969fef8ce/configure.exe and new/qconf-20150608.4a9c329ba879/configure.exe differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/qconf-20150319.c8e969fef8ce/src/configexe/configexe.c new/qconf-20150608.4a9c329ba879/src/configexe/configexe.c
--- old/qconf-20150319.c8e969fef8ce/src/configexe/configexe.c 2015-03-19 10:05:24.000000000 +0100
+++ new/qconf-20150608.4a9c329ba879/src/configexe/configexe.c 2015-09-29 14:54:51.000000000 +0200
@@ -12,7 +12,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
-#include <unistd.h>
+//#include <unistd.h>
#include "embed.h"
#if defined(WIN32) || defined(_WIN32)
@@ -340,9 +340,9 @@
{
char *str;
- str = strdup(qtdir);
+ str = separators_to_native(qtdir);
#ifdef QC_OS_WIN
- str = append_free(str, "/bin/qmake.exe");
+ str = append_free(str, "\\bin\\qmake.exe");
#else
str = append_free(str, "/bin/qmake");
#endif
@@ -361,6 +361,8 @@
{
char *qtdir;
char *path;
+ FILE *qmp;
+ char try_syspath = 1;
qtdir = ex_qtdir;
if(qtdir)
@@ -368,6 +370,7 @@
path = check_qmake_path(qtdir);
if(path)
return path;
+ try_syspath = 0;
}
if(qc_verbose)
printf("Warning: qmake not found via --qtdir\n");
@@ -378,10 +381,50 @@
path = check_qmake_path(qtdir);
if(path)
return path;
+ try_syspath = 0;
}
if(qc_verbose)
printf("Warning: qmake not found via %%QTDIR%%\n");
+ /* if not set explicitly try something implicit */
+ if (try_syspath) {
+ char *dname = 0;
+ int len;
+ qmp = popen("qmake -query QT_INSTALL_BINS", "r");
+ if (qmp) {
+ char buf[PATH_MAX];
+ int cnt;
+ while ((cnt = fread(buf, 1, PATH_MAX - 1, qmp))) {
+ buf[cnt] = 0;
+ if (!dname) {
+ dname = strdup(buf);
+ } else {
+ dname = append_free(dname, buf);
+ }
+ }
+ pclose(qmp);
+ }
+ if (dname) {
+ len = strlen(dname);
+ while (len && dname[len - 1] < ' ')
+ dname[--len] = '\0';
+ if (len && file_exists(dname)) {
+#ifdef QC_OS_WIN
+ dname = append_free(dname, "/qmake.exe"); /* it coud be *.cmd but we don't care */
+#else
+ dname = append_free(dname, "/qmake");
+#endif
+ char *ndname = separators_to_native(dname);
+ free(dname);
+ return ndname;
+ }
+ free(dname);
+ }
+ }
+
+ if(qc_verbose)
+ printf("Warning: qmake not found in PATH\n");
+
return NULL;
}
@@ -660,7 +703,7 @@
try_print_var(q->args[n].envvar, q->args[n].val);
}
- printf("Verifying Qt 4 build environment ... ");
+ printf("Verifying Qt 4+ build environment ... ");
fflush(stdout);
if(qc_verbose)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/qconf-20150319.c8e969fef8ce/src/configexe/configexe.pro new/qconf-20150608.4a9c329ba879/src/configexe/configexe.pro
--- old/qconf-20150319.c8e969fef8ce/src/configexe/configexe.pro 2015-03-19 10:05:24.000000000 +0100
+++ new/qconf-20150608.4a9c329ba879/src/configexe/configexe.pro 2015-09-29 14:54:51.000000000 +0200
@@ -4,6 +4,8 @@
CONFIG += release
+*win32-g++*:QMAKE_LFLAGS += -static-libgcc
+
HEADERS += \
embed.h
Files old/qconf-20150319.c8e969fef8ce/src/configexe/configexe_stub.exe and new/qconf-20150608.4a9c329ba879/src/configexe/configexe_stub.exe differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/qconf-20150319.c8e969fef8ce/src/qconf.cpp new/qconf-20150608.4a9c329ba879/src/qconf.cpp
--- old/qconf-20150319.c8e969fef8ce/src/qconf.cpp 2015-03-19 10:05:24.000000000 +0100
+++ new/qconf-20150608.4a9c329ba879/src/qconf.cpp 2015-09-29 14:54:51.000000000 +0200
@@ -44,7 +44,7 @@
{
QString out;
for(int n = 0; n < (int)str.length(); ++n) {
- if(str[n] == '$' || str[n] == '`')
+ if(str[n] == '$' || str[n] == '`' || str[n] == '\\')
out += '\\';
out += str[n];
}
@@ -150,34 +150,6 @@
return out;
}
-// eat double-backslashes on windows, as we don't need the extra escaping to
-// satisfy the unix shell script
-static QByteArray filter_backslashes(const QByteArray &in)
-{
- QByteArray out;
-
- bool inbs = false;
- for(int n = 0; n < in.size(); ++n)
- {
- if(in[n] == '\\')
- {
- if(inbs)
- {
- inbs = false;
- continue;
- }
-
- inbs = true;
- }
- else
- inbs = false;
-
- out += in[n];
- }
-
- return out;
-}
-
static QByteArray get_configexe_stub()
{
QFile f;
@@ -362,6 +334,8 @@
if(libmode)
mainopts += ConfOpt("static", QString(), "QC_STATIC", "Create a static library instead of shared.");
+ mainopts += ConfOpt("extraconf", "conf", "QC_EXTRACONF", "Extra configuration for nonstandard cases");
+
QString str;
str += genHeader();
str += genUsage();
@@ -406,7 +380,7 @@
if(qt4) {
if(byoq) {
- str += "printf \"Preparing internal Qt 4 build environment ... \"\n\n";
+ str += "printf \"Preparing internal Qt 4+ build environment ... \"\n\n";
str += "cd byoq\n";
str += "./byoq build\n";
@@ -442,6 +416,7 @@
str += QString("export %1\n").arg(i.var);
}
str += "export QC_VERBOSE\n"; // export verbose flag also
+ str += "export QC_QTSELECT\n";
str += genDoQConf();
@@ -465,6 +440,8 @@
if(libmode)
mainopts += ConfOpt("static", QString(), "QC_STATIC", "Create a static library instead of shared.");
+ mainopts += ConfOpt("extraconf", "conf", "QC_EXTRACONF", "Extra configuration for nonstandard cases");
+
// combine main and extra opts together
all = mainopts + appopts + depopts;
@@ -498,11 +475,11 @@
write32((quint8 *)buf.data(), 5);
out += buf;
- out += embed_file("modules.cpp", filter_backslashes(filemodulescpp));
- out += embed_file("modules_new.cpp", filter_backslashes(filemodulesnewcpp));
- out += embed_file("conf4.h", filter_backslashes(fileconfh));
- out += embed_file("conf4.cpp", filter_backslashes(fileconfcpp));
- out += embed_file("conf4.pro", filter_backslashes(fileconfpro));
+ out += embed_file("modules.cpp", filemodulescpp);
+ out += embed_file("modules_new.cpp", filemodulesnewcpp);
+ out += embed_file("conf4.h", fileconfh);
+ out += embed_file("conf4.cpp", fileconfcpp);
+ out += embed_file("conf4.pro", fileconfpro);
out += lenval(name.toLatin1());
out += lenval(profile.toLatin1());
@@ -586,6 +563,7 @@
QList<ConfUsageOpt> list = optsToUsage(mainopts);
list += ConfUsageOpt("verbose", "", "Show extra configure output.");
+ list += ConfUsageOpt("qtselect", "N", "Select major Qt verion (4 or 5).");
list += ConfUsageOpt("help", "", "This help text.");
str += genUsageSection("Main options:", list);
@@ -611,6 +589,7 @@
QList<ConfUsageOpt> list = optsToUsage(mainopts);
list += ConfUsageOpt("verbose", "", "Show extra configure output.");
+ list += ConfUsageOpt("qtselect", "N", "Select major Qt verion (4 or 5).");
list += ConfUsageOpt("help", "", "This help text.");
str += genUsageSection("Main options:", list);
@@ -754,8 +733,13 @@
" QC_VERBOSE=\"Y\"\n"
" shift\n"
" ;;\n"
+ " --qtselect*)\n"
+ " [ \"$1\" = \"--qtselect\" ] && { shift; optarg=\"$1\"; }\n"
+ " QC_QTSELECT=\"${optarg}\"\n"
+ " shift\n"
+ " ;;\n"
" --help) show_usage; exit ;;\n"
- " *) show_usage; exit ;;\n"
+ " *) show_usage; exit 1;;\n"
" esac\n"
"done\n\n";
@@ -874,14 +858,19 @@
QString genQt4Checks()
{
QString str =
+ "QTSEARCHTTEXT=\"$QC_QTSELECT\"\n"
+ "[ -z \"$QC_QTSELECT\" ] && QTSEARCHTTEXT=\"4 or 5\"\n"
+ "\n"
"# run qmake -v and check version\n"
"qmake_check_v4() {\n"
" if [ -x \"$1\" ]; then\n"
- " local v=`$1 -query QT_VERSION 2>&1`\n"
- " vmaj=\"${v%%.*}\"\n"
- " case \"${v}\" in ?.?.?) [ \"$vmaj\" = 4 -o \"$vmaj\" = 5 ] && return 0 ;; esac\n"
+ " local v=`$1 -query QT_VERSION 2>&1`\n"
+ " vmaj=\"${v%%.*}\"\n"
+ " case \"${v}\" in ?.?.?) [ -z \"$QC_QTSELECT\" ] && [ \"$vmaj\" = 4 -o \"$vmaj\" = 5 ] && return 0;\n"
+ " [ -n \"$QC_QTSELECT\" ] && [ \"$vmaj\" = \"$QC_QTSELECT\" ] && return 0; ;;\n"
+ " esac\n"
" if [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
- " echo \"Warning: $1 not for Qt 4 or 5\"\n"
+ " echo \"Warning: $1 not for Qt ${QTSEARCHTTEXT}\"\n"
" fi\n"
" fi\n"
" return 1\n"
@@ -894,10 +883,18 @@
"fi\n"
"\n"
"qm=\"\"\n"
- "names=\"qmake-qt5 qmake5 qmake-qt4 qmake4 qmake\"\n"
+ "qt4_names=\"qmake-qt4 qmake4\"\n"
+ "qt5_names=\"qmake-qt5 qmake5\"\n"
+ "names=\"qmake\"\n"
+ "if [ -z \"$QC_QTSELECT\" ]; then\n"
+ " names=\"${qt5_names} ${qt4_names} $names\"\n"
+ "else\n"
+ " [ \"$QC_QTSELECT\" = \"4\" ] && names=\"${qt4_names} $names\"\n"
+ " [ \"$QC_QTSELECT\" -ge \"5\" ] && names=\"${qt5_names} $names\"\n"
+ "fi\n"
"\n"
- "# qt4 check: --qtdir\n"
"if [ -z \"$qm\" ] && [ ! -z \"$EX_QTDIR\" ]; then\n"
+ "# qt4 check: --qtdir\n"
" for n in $names; do\n"
" qstr=$EX_QTDIR/bin/$n\n"
" if qmake_check_v4 \"$qstr\"; then\n"
@@ -905,13 +902,12 @@
" break;\n"
" fi\n"
" done\n"
- "fi\n"
- "if [ -z \"$qm\" ] && [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
- " echo \"Warning: qmake not found via --qtdir\"\n"
- "fi\n"
+ " if [ -z \"$qm\" ] && [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
+ " echo \"Warning: qmake not found via --qtdir\"\n"
+ " fi\n"
"\n"
+ "elif [ -z \"$qm\" ] && [ ! -z \"$QTDIR\" ]; then\n"
"# qt4 check: QTDIR\n"
- "if [ -z \"$qm\" ] && [ ! -z \"$QTDIR\" ]; then\n"
" for n in $names; do\n"
" qstr=$QTDIR/bin/$n\n"
" if qmake_check_v4 \"$qstr\"; then\n"
@@ -919,9 +915,28 @@
" break;\n"
" fi\n"
" done\n"
+ " if [ -z \"$qm\" ] && [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
+ " echo \"Warning: qmake not found via \\$QTDIR\"\n"
+ " fi\n"
+ "\n"
+ "else\n"
+ "\n"
+ "# Try all other implicit checks\n"
+ "\n"
+ "# qtchooser\n"
+ "if [ -z \"$qm\" ]; then\n"
+ " qtchooser=$($WHICH qtchooser 2>/dev/null)\n"
+ " if [ ! -z \"$qtchooser\" ]; then\n"
+ " cmd=\"$qtchooser -run-tool=qmake -qt=${QC_QTSELECT}\"\n"
+ " qtbins=\"$($cmd -query QT_INSTALL_BINS 2>/dev/null)\"\n"
+ " if [ -n \"$qtbins\" ] && qmake_check_v4 \"$qtbins/qmake\"; then\n"
+ " qm=\"$qtbins/qmake\"\n"
+ " break;\n"
+ " fi\n"
+ " fi\n"
"fi\n"
"if [ -z \"$qm\" ] && [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
- " echo \"Warning: qmake not found via \\$QTDIR\"\n"
+ " echo \"Warning: qmake not found via qtchooser\"\n"
"fi\n"
"\n"
"# qt4 check: pkg-config\n"
@@ -955,6 +970,9 @@
" echo \"Warning: qmake not found via \\$PATH\"\n"
"fi\n"
"\n"
+ "# end of implicit checks\n"
+ "fi\n"
+ "\n"
"if [ -z \"$qm\" ]; then\n"
" if [ \"$QC_VERBOSE\" = \"Y\" ]; then\n"
" echo \" -> fail\"\n"
@@ -964,7 +982,7 @@
str += echoBlock(1,
"\n"
- "Reason: Unable to find the 'qmake' tool for Qt 4.\n"
+ "Reason: Unable to find the 'qmake' tool for Qt ${QTSEARCHTTEXT}.\n"
"\n");
str +=
" show_qt_info\n";
@@ -1011,16 +1029,16 @@
QString genDoQConf()
{
QString outdir = ".qconftemp";
- QString cleanup = QString("rm -rf %1").arg(outdir);
+ QString cleanup = QString("rm -rf \"%1\"").arg(outdir);
QString str;
str += QString("%1\n").arg(cleanup);
str += QString(
"(\n"
- " mkdir %1\n"
- " gen_files %2\n"
- " cd %3\n"
+ " mkdir \"%1\"\n"
+ " gen_files \"%2\"\n"
+ " cd \"%3\"\n"
).arg(outdir).arg(outdir).arg(outdir);
if(qt4) {
@@ -1097,7 +1115,7 @@
str += QString("export QC_COMMAND\n");
str += QString("QC_PROFILE=%1\n").arg(profile);
str += QString("export QC_PROFILE\n");
- str += QString("QC_QMAKE=$qm\n");
+ str += QString("QC_QMAKE=\"$qm\"\n");
str += QString("export QC_QMAKE\n");
str += QString("QC_QMAKESPEC=$qm_spec\n");
str += QString("export QC_QMAKESPEC\n");
@@ -1105,7 +1123,7 @@
str += QString("export QC_MAKETOOL\n");
}
- str += QString("%1/conf\n").arg(outdir);
+ str += QString("\"%1/conf\"\n").arg(outdir);
str += "ret=\"$?\"\n";
str += "if [ \"$ret\" = \"1\" ]; then\n";
@@ -1181,7 +1199,7 @@
QString genEmbeddedFile(const QString &name, const QByteArray &a)
{
QString str;
- str += QString("cat >%1 <<EOT\n").arg(name);
+ str += QString("cat >\"%1\" <<EOT\n").arg(name);
str += escapeFile(QString::fromLatin1(a));
str += "\nEOT\n";
return str;
@@ -1660,19 +1678,7 @@
dep.section = info.section;
dep.args = info.args;
- // prepend #line
- int oldsize = buf.size();
- QString str = QString("#line 1 \"%1\"\n").arg(modfname);
- QByteArray cs = str.toLocal8Bit();
- int len = cs.length();
- buf.resize(oldsize + len);
- memmove(buf.data() + len, buf.data(), oldsize);
- memcpy(buf.data(), cs.data(), len);
-
- // append to the module buffer
- oldsize = allmods.size();
- allmods.resize(oldsize + buf.size());
- memcpy(allmods.data() + oldsize, buf.data(), buf.size());
+ allmods += (QString("#line 1 \"%1\"\n").arg(modfname).toLocal8Bit() + buf);
modscreate += QString(" o = new qc_%1(conf);\n o->required = %2;\n o->disabled = %3;\n"
).arg(escapeArg(dep.name)).arg(dep.required ? "true": "false").arg(dep.disabled ? "true": "false");
1
0
Hello community,
here is the log from the commit of package docker for openSUSE:Factory checked in at 2015-09-30 05:53:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/docker (Old)
and /work/SRC/openSUSE:Factory/.docker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "docker"
Changes:
--------
--- /work/SRC/openSUSE:Factory/docker/docker.changes 2015-09-17 09:20:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.docker.new/docker.changes 2015-09-30 05:53:27.000000000 +0200
@@ -9,0 +10,2 @@
+ fix bsc#946653 update do docker 1.8.2
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package twinkle for openSUSE:Factory checked in at 2015-09-30 05:53:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/twinkle (Old)
and /work/SRC/openSUSE:Factory/.twinkle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "twinkle"
Changes:
--------
--- /work/SRC/openSUSE:Factory/twinkle/twinkle.changes 2015-07-25 07:44:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.twinkle.new/twinkle.changes 2015-09-30 05:53:25.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Sep 29 07:43:31 UTC 2015 - mkubecek(a)suse.cz
+
+- fix Leap 42.1 build
+ Leap 42.1 sets suse_version to 1315 but it already has ilbc-devel
+ split out of the main package unlike 13.2. Add some more specfile
+ hacks to fix the build. This version builds correctly on 13.1,
+ 13.2, Factory and Leap.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ twinkle.spec ++++++
--- /var/tmp/diff_new_pack.iDMxtK/_old 2015-09-30 05:53:26.000000000 +0200
+++ /var/tmp/diff_new_pack.iDMxtK/_new 2015-09-30 05:53:26.000000000 +0200
@@ -37,10 +37,12 @@
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(speexdsp)
-%if %{?suse_version} > 1320
+%if 0%{?suse_version} <= 1320
+BuildRequires: boost-devel
+%endif
+%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
BuildRequires: ilbc-devel
%else
-BuildRequires: boost-devel
BuildRequires: ilbc
%endif
Summary: A SIP Soft Phone
1
0
Hello community,
here is the log from the commit of package mksusecd for openSUSE:Factory checked in at 2015-09-30 05:53:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mksusecd (Old)
and /work/SRC/openSUSE:Factory/.mksusecd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mksusecd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mksusecd/mksusecd.changes 2015-08-13 18:10:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mksusecd.new/mksusecd.changes 2015-09-30 05:53:23.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Sep 29 09:15:22 UTC 2015 - snwint(a)suse.com
+
+- Add link to linux-devtools documentation
+- 1.33
+
+-------------------------------------------------------------------
Old:
----
mksusecd-1.32.tar.xz
New:
----
mksusecd-1.33.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mksusecd.spec ++++++
--- /var/tmp/diff_new_pack.xNxiFx/_old 2015-09-30 05:53:24.000000000 +0200
+++ /var/tmp/diff_new_pack.xNxiFx/_new 2015-09-30 05:53:24.000000000 +0200
@@ -18,7 +18,7 @@
Name: mksusecd
-Version: 1.32
+Version: 1.33
Release: 0
Summary: Create SUSE Linux installation ISOs
License: GPL-3.0+
++++++ mksusecd-1.32.tar.xz -> mksusecd-1.33.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-1.32/README.md new/mksusecd-1.33/README.md
--- old/mksusecd-1.32/README.md 2015-08-12 14:12:35.000000000 +0200
+++ new/mksusecd-1.33/README.md 2015-09-29 11:13:33.000000000 +0200
@@ -1,9 +1,10 @@
+# mksusecd
+
This is a tool to create SUSE Linux installation ISOs, either from scratch or
by modifying existing ISOs. A simple use case is to regenerate a ISO to
include fixes, see below.
-
-### Installation
+## Installation
Often you will need [mkdud][1] along with mksusecd. Both mksusecd and mkdud are
included in openSUSE Tumbleweed. So on openSUSE Tumbleweed installation is as
@@ -15,7 +16,7 @@
[1]: https://github.com/openSUSE/mkdud
-### Simple use case
+## Simple use case
We have a patch for yast2-core that is needed during installation and the
final system, e.g. for an AutoYaST installation. The patch is included in
@@ -36,3 +37,12 @@
Now you can use bug-free.iso as a replacement for openSUSE-13.2-DVD-x86_64.iso.
+## openSUSE Development
+
+The package is automatically submitted from the `master` branch to
+[system:install:head](https://build.opensuse.org/package/show/system:install:head/mksusecd)
+OBS project. From that place it is forwarded to
+[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory).
+
+You can find more information about this workflow in the [linuxrc-devtools
+documentation](https://github.com/openSUSE/linuxrc-devtools#opensuse-development).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-1.32/VERSION new/mksusecd-1.33/VERSION
--- old/mksusecd-1.32/VERSION 2015-08-12 14:12:35.000000000 +0200
+++ new/mksusecd-1.33/VERSION 2015-09-29 11:13:33.000000000 +0200
@@ -1 +1 @@
-1.32
+1.33
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-1.32/changelog new/mksusecd-1.33/changelog
--- old/mksusecd-1.32/changelog 2015-08-12 14:12:35.000000000 +0200
+++ new/mksusecd-1.33/changelog 2015-09-29 11:13:33.000000000 +0200
@@ -1,3 +1,6 @@
+2015-09-28: 1.33
+ - Add link to linux-devtools documentation
+
2015-08-12: 1.32
- move isozipl to /usr/bin
- make it work also with mkisofs from cdrtools
1
0
Hello community,
here is the log from the commit of package rubygem-net-ssh for openSUSE:Factory checked in at 2015-09-30 05:53:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-net-ssh (Old)
and /work/SRC/openSUSE:Factory/.rubygem-net-ssh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-net-ssh"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-net-ssh/rubygem-net-ssh.changes 2015-02-16 21:14:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-net-ssh.new/rubygem-net-ssh.changes 2015-09-30 05:53:22.000000000 +0200
@@ -1,0 +2,57 @@
+Sat Sep 26 04:29:09 UTC 2015 - coolo(a)suse.com
+
+- updated to version 3.0.1
+ see installed CHANGES.txt
+
+ === 3.0.1
+ === 3.0.1.rc1
+
+ * Breaking change from 2.* series: exec! without block now returns empty string instread of nil if command has no output [https://github.com/net-ssh/net-ssh/pull/273]
+ * Support remote_user as %r in proxy commands [Dominic Scheirlinck]
+ * Raise Net::SSH::ConnectionTimeout from connection timeout [Carl Hoerberg]
+
+ === 3.0.0.rc1
+
+ * SemVer: Major version change because of dropping of ruby 1.9
+
+ === 2.10.1.rc2
+
+ * Win: Use fiddle on ruby 2.1 too [Charlie Savage]
+
+ === 2.10.1.rc1
+
+ * Added ruby 2.0 requirement to gemspec [Alex Schultz]
+
+-------------------------------------------------------------------
+Mon Aug 3 04:30:29 UTC 2015 - coolo(a)suse.com
+
+- updated to version 2.10.0
+ see installed CHANGES.txt
+
+ === 2.10.0
+
+ === 2.10.0-beta2
+
+ * Fix :passphrase option with :non_interactive [Jeremy Stanley]
+ * Use Socket.tcp with connect_timeout instead of Timeout::timeout [Carl Hörberg]
+ * Support for hostname hashes [Jef Mathiot]
+ * Ruby 1.9.3 is no longer supported but should moslty work expect for stuff like connect_timeout
+
+ === 2.10.0-beta1
+
+ * Fix could not parse PKey error. [Andrey Voronkov]
+ * Workaround for threading issue in MRI + singleton method declaration [Matt Brictson]
+ * Configuration change: we no longer append all supported algorithms, this is so you can exclude insecure algorithms. If you want to use the old behaviour specify append_all_supported_algorithms => true [voidus, mfazekas]
+ * New configuration option: :non_interactive => true in case you prefer an authmethod to fail rather than prompt. [mfazekas]
+ * Configuration change: password will now ask for password up to the :number_of_password_prompts times. If you want the
+ 2.9.1 behaviour of never asking password please set number_of_password_prompts to 0.
+
+ === 2.9.4-beta1
+
+ * Use sysread and syswrite on Windows instead of read_nonblock and write [marc-etienne]
+ * Windows/peagant: use fiddle on ruby 2.2+/windows [Charlie Savage]
+ * Check if ssh key is a file [kiela]
+
+ === 2.9.3
+
+-------------------------------------------------------------------
Old:
----
net-ssh-2.9.2.gem
New:
----
net-ssh-3.0.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-net-ssh.spec ++++++
--- /var/tmp/diff_new_pack.jResQJ/_old 2015-09-30 05:53:22.000000000 +0200
+++ /var/tmp/diff_new_pack.jResQJ/_new 2015-09-30 05:53:22.000000000 +0200
@@ -24,13 +24,13 @@
#
Name: rubygem-net-ssh
-Version: 2.9.2
+Version: 3.0.1
Release: 0
%define mod_name net-ssh
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{ruby >= 2.0}
BuildRequires: %{rubygem gem2rpm}
-BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
Url: https://github.com/net-ssh/net-ssh
Source: http://rubygems.org/gems/%{mod_full_name}.gem
++++++ net-ssh-2.9.2.gem -> net-ssh-3.0.1.gem ++++++
++++ 1893 lines of diff (skipped)
1
0