openSUSE Commits
Threads by month
- ----- 2025 -----
- February
- January
- ----- 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
January 2013
- 1 participants
- 1709 discussions
Hello community,
here is the log from the commit of package patchinfo.1188 for openSUSE:12.2:Update checked in at 2013-01-02 09:41:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/patchinfo.1188 (Old)
and /work/SRC/openSUSE:12.2:Update/.patchinfo.1188.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patchinfo.1188", Maintainer is ""
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_patchinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _patchinfo ++++++
<patchinfo incident="1188">
<packager>AndreasStieger</packager>
<category>recommended</category>
<rating>low</rating>
<issue tracker="bnc" id="794676"/>
<summary>subversion: update to 1.7.8</summary>
<description>
subversion was updated to 1.7.8 [bnc#794676],
fixing bugs:
+ Client- and server-side bugfixes:
* Fix typos in pt_BR, es and zh_TW translations
+ Client-side bugfixes:
* add missing attributes to "svn log -v --xml" output
* fix svn patch ignoring hunks after no trailing newline
* fix hang with ra_serf during error processing
* ignore file externals with mergeinfo when merging
* fix SEGV with "svnmucc cp rev arg" during argv processing
* fix conflict handling on symlinks
+ Server-side bugfixes:
* properly detect threading availability
* fix "svnadmin load --bypass-prop-validation"
* fix parsing of [groupsfoo] sections in authz file
* add Vary: header to GET responses to improve cacheability
* fix fs_fs to cleanup after failed rep transmission
* fix mod_dav_svn to complain about revisions > HEAD
+ Developer-visible changes:
* fix incorrect status returned by 1.6 API
* fix compilation with g++ 4.7
</description>
</patchinfo>
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package subversion for openSUSE:12.2:Update checked in at 2013-01-02 09:40:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/subversion (Old)
and /work/SRC/openSUSE:12.2:Update/.subversion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subversion", Maintainer is "DMueller(a)suse.com"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.DpWmGh/_old 2013-01-02 09:40:56.000000000 +0100
+++ /var/tmp/diff_new_pack.DpWmGh/_new 2013-01-02 09:40:56.000000000 +0100
@@ -1 +1 @@
-<link package='subversion.1059' cicount='copy' />
+<link package='subversion.1188' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package subversion.1188 for openSUSE:12.2:Update checked in at 2013-01-02 09:40:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/subversion.1188 (Old)
and /work/SRC/openSUSE:12.2:Update/.subversion.1188.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subversion.1188", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:12.2:Update/.subversion.1188.new/subversion.changes 2013-01-02 09:40:50.000000000 +0100
@@ -0,0 +1,2958 @@
+-------------------------------------------------------------------
+Mon Dec 17 00:00:00 UTC 2012 - andreas.stieger(a)gmx.de
+
+- update to 1.7.8 [bnc#794676]
+ + Client- and server-side bugfixes:
+ * Fix typos in pt_BR, es and zh_TW translations
+ + Client-side bugfixes:
+ * add missing attributes to "svn log -v --xml" output
+ * fix svn patch ignoring hunks after no trailing newline
+ * fix hang with ra_serf during error processing
+ * ignore file externals with mergeinfo when merging
+ * fix SEGV with "svnmucc cp rev arg" during argv processing
+ * fix conflict handling on symlinks
+ + Server-side bugfixes:
+ * properly detect threading availability
+ * fix "svnadmin load --bypass-prop-validation"
+ * fix parsing of [groupsfoo] sections in authz file
+ * add Vary: header to GET responses to improve cacheability
+ * fix fs_fs to cleanup after failed rep transmission
+ * fix mod_dav_svn to complain about revisions > HEAD
+ + Developer-visible changes:
+ * fix incorrect status returned by 1.6 API
+ * fix compilation with g++ 4.7
+- drop subversion-1.7.5-libsvn_auth_kwallet-r1345740.patch
+ as it was merged upstream
+
+-------------------------------------------------------------------
+Sat Nov 3 16:01:08 UTC 2012 - andreas.stieger(a)gmx.de
+
+- update Apache Subversion to 1.7.7 maintenance release [bnc#788015]
+- changes in 1.7.7:
+ User-visible changes:
+ - Client- and server-side bugfixes:
+ * fix memory read bug
+ * update Chinese translation
+
+ - Client-side bugfixes:
+ * fix issues with applying Git patch files
+ * fix status does not descend into dir externals after upgrade
+ * fix file externals don't update with old mod_dav_svn
+ * fix external diff tool duplicates Index: lines with 'svn diff'
+ * fix GNOME keyring library fails with very old glib
+ * fix unknown password stores in config file cause error
+ * fix assertions in ra_serf running against server root
+ * fix ra_serf checkout/export aborts early on Windows
+
+ - Server-side bugfixes:
+ * fix an assert with SVNAutoVersioning in mod_dav_svn
+ * fix unbounded memory use with SVNPathAuthz short_circuit
+ * fix svndumpfilter exclude --targets requires leading slash
+ * fix connection ttl for memcache should be 50 seconds
+ * stabilize order of paths in dumpfiles with APR 1.4.6
+
+ Developer-visible changes:
+ - General:
+ * print "All tests successful" at the end of 'make check'
+ * fix sandbox violation in a test
+ * fix tests fail when running within a format 30 WC
+ * fix return value of svn_client_update4() incorrect
+ * fix make check summary missing test failures
+ * fix build does not fail when apache httpd is not available
+
+ - Bindings:
+ * fix swig-pl build fails with swig 2.0.7 and newer.
+ * fix swig-py runtime problems with swig 2.0.5 and newer
+
+- also contains changes from 1.7.6:
+ User-visible changes:
+ - Client-side bugfixes:
+ * Fix "svn status -u --depth empty FILE"
+ * Fix example output of 'svn help status'
+ * svn propset of svn:eol-style might not notice related text changes
+ * sort output of 'svn propget -R'
+ * sort output of 'svn proplist'
+ * sort output of 'svn status'
+ * avoid a filestat per working copy find operation
+ * optimize 'svn upgrade' performance on large working copies
+ * allow 'file:///C:\repos' style arguments on Windows, like 1.6
+ * fix ra_serf against Subversion 1.2 servers
+ * fix 'svn upgrade' on working copies with certain tree conflicts
+ * avoid workqueue references to system temp dir
+ * allow non-existant canonical paths
+ * fix 'svn revert --depth files' to operate on files
+ * fix ra_serf XML namespace handling against malicious server
+ * fix relocate with server-relative externals
+ * change two asserts into errors for TortoiseSVN
+ * don't attempt to anchor an operation outside a wc root
+
+ - Server-side bugfixes:
+ * partial sync drops properties when converting to adds
+ * replaying a copy and delete of an unreadable child fails
+ * allow svnlook to operate on r0
+ * make FSFS revision files independent of APR hash order
+
+ - Other tool improvements and bugfixes:
+ * move mod_dontdothat to install-tools
+
+ Developer-visible changes:
+ - General:
+ * fix running tests against httpd 2.4
+ * use constant struct initialisers for C89 compatibility
+
+ - Bindings:
+ * JavaHL: Don't assert on some invalid input
+ * JavaHL: Add missing new in 1.7 notifications
+
+- refresh subversion-1.7.4-ruby-1.9-RbConfig.patch
+- refresh subversion-1.7.5-libsvn_auth_kwallet-r1345740.patch
+- refresh subversion-no-build-date.patch
+
+-------------------------------------------------------------------
+Tue Jun 12 20:02:22 UTC 2012 - andreas.stieger(a)gmx.de
+
+- make build against neon optional, default on, like serf
+
+-------------------------------------------------------------------
+Thu Jun 7 17:08:01 UTC 2012 - andreas.stieger(a)gmx.de
+
+- add subversion-1.7.5-libsvn_auth_kwallet-r1345740.patch from trunk
+ to fix build with gcc 4.7
+- move checks for schemes handled by ra modules into %check section
+- do not run regression tests by default:
+ * too many failed builds
+ * doesn't include http tests
+- only require iproute2 when running regression tests
+
+-------------------------------------------------------------------
+Mon May 21 19:58:48 UTC 2012 - andreas.stieger(a)gmx.de
+
+- Allow unit tests to be run for Factory: --with=regression_tests
+ replacing the inline conditional
+
+-------------------------------------------------------------------
+Thu May 17 00:00:00 UTC 2012 - andreas.stieger(a)gmx.de
+
+- update to upstream 1.7.5
+
+ User-visible changes:
+ - Client- and server-side bugfixes:
+ * http: report deleted-revision upon delete during update
+
+ - Client-side bugfixes:
+ * avoid potential segfault when canonicalizing properties
+ * improve memory and file-handle management with externals (issue #4130)
+ * serf: convert assertions to "MERGE failed" errors
+ * fix undefined behaviour during multi-segment reverse merges (issue #4144)
+ * fix potential use of already freed memory during diff operation
+ * improve performance of scan for the working copy root
+ * cmdline: fix segfault during 'svn diff' argument processing
+ * fix regression from 1.6 in update with --depth option (issue #4136)
+ * propset: avoid undefined behaviour in error path
+ * reset sqlite statements, partly for sqlite-3.7.11 compat
+ * fix assertion during 'svn diff -r BASE:HEAD ^/trunk' (issue #4161)
+ * notify upon 'update' just removing locks on files
+ * neon: fix potential use of freed memory during commits
+ * 'status --xml' doesn't show repository deletes correctly (issue #4167)
+ * fix assert on svn:externals with drive letter on Windows (issue #4073)
+ * fix 'svn update --depth=empty' against 1.4 servers (issue #4046)
+ * handle missing svn:date reported by svnserve gracefully
+ * fix merges which first add a subtree and then delete it (issue #4166)
+ * fix a regression with checkout of file externals (issue #4087)
+ * don't add spurious mergeinfo to subtrees in edge-case merge (issue #4169)
+ * improve performance of status on large working copies (issue #4178)
+
+ - Server-side bugfixes:
+ * fix non-fatal FSFS corruption bug with concurrent commits (issue #4129)
+ * mod_dav_svn: raise an error on MERGE of non-existent resource
+ * mod_dav_svn: support compiling/running under httpd-2.4 (r1232267)
+ * mod_dav_svn: forbid BDB repositories under httpd's event MPM (issue #4157)
+
+ - Other tool improvements and bugfixes:
+ * emacs support: updates to dsvn.el and vc-svn.el
+
+ Developer-visible changes:
+ - General:
+ * windows example distribution scripts: include svnrdump
+ * fix running the test suite with jsvn
+
+ - Bindings:
+ * swig-py tests: avoid FAILs on APR hash order
+ * swig-rb tests: avoid FAILs on APR hash order
+ * swig-pl: Improved perl detection in gen-make.py
+
+-------------------------------------------------------------------
+Fri May 11 22:31:27 UTC 2012 - andreas.stieger(a)gmx.de
+
+- Subversion currently does not compile Ruby bindings for 1.9
+ disable to fix build in Factory
+- add subversion-1.7.4-ruby-1.9-RbConfig.patch to use RbConfig
+ instead of Config which is deprecated in Ruby 1.9
+- fix conditional configuration for serf support
+- add check that ra_serf is built as configure failed silently
+
+-------------------------------------------------------------------
+Thu Mar 8 00:00:00 UTC 2012 - andreas.stieger(a)gmx.de
+
+- update to upstream 1.7.4
++++ 2761 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.subversion.1188.new/subversion.changes
New:
----
contrib-1187941.tar.bz2
sqlite-autoconf-3070603.tar.bz2
subversion-1.7.4-ruby-1.9-RbConfig.patch
subversion-1.7.8.tar.bz2
subversion-neon-systemproxy.patch
subversion-no-build-date.patch
subversion-swig-perl-install_vendor.patch
subversion.README.SuSE
subversion.changes
subversion.conf
subversion.libtool-pie-flags.patch
subversion.libtool-verbose.patch
subversion.perl.LD_RUN_PATH.patch
subversion.rcsvnserve
subversion.rpmlintrc
subversion.spec
subversion.svndiff.sh
subversion.svngrep.sh
subversion.sysconfig.svnserve
subversion.sysconfig.svnserve.remoteaccess
subversion.xinetd.svnserve
svnmerge.py
swig-1.3.36.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ subversion.spec ++++++
++++ 826 lines (skipped)
++++++ subversion-1.7.4-ruby-1.9-RbConfig.patch ++++++
Index: build/ac-macros/swig.m4
===================================================================
--- build/ac-macros/swig.m4.orig 2011-06-22 15:45:03.000000000 +0100
+++ build/ac-macros/swig.m4 2012-10-04 18:38:50.000000000 +0100
@@ -187,7 +187,7 @@ AC_DEFUN(SVN_FIND_SWIG,
for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
rubyhdrdir sitedir sitelibdir sitearchdir libdir
do
- rbconfig_tmp=`$rbconfig "print Config::CONFIG@<:@'$var_name'@:>@"`
+ rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG@<:@'$var_name'@:>@"`
eval "rbconfig_$var_name=\"$rbconfig_tmp\""
done
Index: configure.ac
===================================================================
--- configure.ac.orig 2012-10-02 18:18:00.000000000 +0100
+++ configure.ac 2012-10-04 18:38:50.000000000 +0100
@@ -1117,12 +1117,12 @@ if test "$RUBY" != "none"; then
AC_PATH_PROGS(RDOC, rdoc rdoc1.8 rdoc18, none)
fi
AC_CACHE_CHECK([for Ruby major version], [svn_cv_ruby_major],[
- svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MAJOR))'`"
+ svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
])
RUBY_MAJOR="$svn_cv_ruby_major"
AC_CACHE_CHECK([for Ruby minor version], [svn_cv_ruby_minor],[
- svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MINOR))'`"
+ svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
])
RUBY_MINOR="$svn_cv_ruby_minor"
++++++ subversion-neon-systemproxy.patch ++++++
Index: subversion/libsvn_ra_neon/session.c
===================================================================
--- subversion/libsvn_ra_neon/session.c.orig 2011-12-21 17:36:12.000000000 +0000
+++ subversion/libsvn_ra_neon/session.c 2011-12-21 17:36:17.000000000 +0000
@@ -910,6 +910,17 @@ svn_ra_neon__open(svn_ra_session_t *sess
}
#endif
}
+#ifdef SVN_NEON_0_29
+ else
+ {
+ /* If we do not have any proxy specified for this host and
+ we're running a new enough neon implementation, we use
+ neon's session proxy autodetection (via libproxy). */
+ ne_session_system_proxy(sess, 0);
+ ne_session_system_proxy(sess2, 0);
+ }
+#endif
+
if (!timeout)
timeout = DEFAULT_HTTP_TIMEOUT;
Index: build/ac-macros/neon.m4
===================================================================
--- build/ac-macros/neon.m4.orig 2011-12-21 17:36:12.000000000 +0000
+++ build/ac-macros/neon.m4 2011-12-21 17:38:02.000000000 +0000
@@ -100,6 +100,11 @@ AC_DEFUN(SVN_NEON_CONFIG,
[Define to 1 if you have Neon 0.28 or later.])
fi
+ if test -n ["`echo "$NEON_VERSION" | $EGREP '^0\.(29|3[0-9])\.'`"] ; then
+ AC_DEFINE_UNQUOTED([SVN_NEON_0_29], [1],
+ [Define to 1 if you have Neon 0.29 or later.])
+ fi
+
for svn_allowed_neon in $NEON_ALLOWED_LIST; do
if test -n "`echo "$NEON_VERSION" | grep "^$svn_allowed_neon"`" ||
test "$svn_allowed_neon" = "any"; then
++++++ subversion-no-build-date.patch ++++++
Index: subversion/libsvn_subr/opt.c
===================================================================
--- subversion/libsvn_subr/opt.c.orig 2012-06-13 13:59:03.000000000 +0100
+++ subversion/libsvn_subr/opt.c 2012-08-08 19:36:46.000000000 +0100
@@ -1084,9 +1084,8 @@ svn_opt__print_version_info(const char *
if (quiet)
return svn_cmdline_printf(pool, "%s\n", SVN_VER_NUMBER);
- SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n"
- " compiled %s, %s\n\n"), pgm_name,
- SVN_VERSION, __DATE__, __TIME__));
+ SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n\n"), pgm_name,
+ SVN_VERSION));
SVN_ERR(svn_cmdline_fputs(
_("Copyright (C) 2012 The Apache Software Foundation.\n"
"This software consists of contributions made by many "
++++++ subversion-swig-perl-install_vendor.patch ++++++
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2011-12-21 17:32:20.000000000 +0000
+++ Makefile.in 2011-12-21 17:32:27.000000000 +0000
@@ -756,7 +756,7 @@ check-swig-pl: swig-pl swig-pl-lib
cd $(SWIG_PL_DIR)/native; $(MAKE) test
install-swig-pl: swig-pl install-swig-pl-lib
- cd $(SWIG_PL_DIR)/native; $(MAKE) install
+ cd $(SWIG_PL_DIR)/native; $(MAKE) install_vendor
EXTRACLEAN_SWIG_PL=rm -f $(SWIG_PL_SRC_DIR)/native/svn_*.c \
$(SWIG_PL_SRC_DIR)/native/core.c
++++++ subversion.README.SuSE ++++++
Topics:
1. backup and restore your repository data
2. create svn user/group for svnserve
3. mini-howto for 2 projects
4. quickstart for mod_dontdothat
================================================================================
1. backup and restore your repository data
subversion repositories use either the Berkeley Database system libraries,
or the FSFS database format which comes with the subversion package.
Since the BDB system libraries often introduce a new incompatible format during
version upgrade, a backup/restore of all the subversion repositories must be
performed _BEFORE_ doing such a system upgrade.
'svnadmin dump' will write the repository to stdout in a 'dumpfile' format.
This dumpfile can be loaded later with 'svnadmin load'.
2. create svn user/group for svnserve
subversion repositories can be served either via http, or via the svnserve
daemon and a special network protocol. svnserve should not run as root user.
The startup script rcsvnserve expects a user/group named 'svn', configureable
via /etc/sysconfig/svnserve.
But this user/group must be created before first use:
groupadd svn
useradd -d /srv/svn -s /bin/false -g svn svn
3. mini-howto for 2 projects
To run a subversion server, you need to configure apache2 to load two apache2
modules: mod_dav and mod_dav_svn. (mod_dav is needed by mod_dav_svn, it is
installed together with apache2.)
This is done by adding the dav and dav_svn modules to the apache2 configuration
(a2enmod dav; a2enmod dav_svn), and restarting the server.
A default/example configuration of the dav_svn module can be found in
/etc/apache2/conf.d/subversion.conf. With more recent apache
packages, this configuration is *not* loaded automatically by
the apache server, since many people configure virtual hosts
and it is unlikely that the repositories shall be available
from any virtual host. To load the configuration for a certain
virtual host, add
Include /etc/apache2/conf.d/subversion.conf
or
Include /path/to/your_subversion_configuration
in the respective virtual host configuration. This *may* be done in the default
virtual host (/etc/apache2/default-server.conf).
Minihowto:
The plan:
host 2 source projects with subversion
both must have anonymous read access
both must have limited write access for a few users
they are accessed only via HTTP, not (!) locally
they will be reachable via:
http://hostname/repos/project1
http://hostname/repos/project2
Both will have the official version of the source tree and our modified
version for the distribution. Projects in question are:
project1
project2
The realisation:
find a machine to host the projects. Keep backup (and restore!) in mind
when hunting for hardware.
install needed packages
(you might check for update packages on
ftp://ftp.suse.com/pub/projects/apache/ )
rpm -Uvh \
apache2 \
apache2-doc \
apache2-prefork \
libapr1 \
libapr-util1 \
neon \
subversion \
subversion-doc \
subversion-server
# Update /etc/sysconfig/apache2 by
# adding 'dav dav_svn' to $APACHE_MODULES:
a2enmod dav
a2enmod dav_svn
create a few directories:
mkdir -p /srv/svn/repos
mkdir -p /srv/svn/user_access
mkdir -p /srv/svn/html
Add the http repository data to /etc/apache2/conf.d/subversion.conf:
#------------------------------------------------------------------------
#
# project related HTML files
#
<IfModule mod_alias.c>
Alias /repos "/srv/svn/html"
</IfModule>
<Directory /srv/svn/html>
Options +Indexes +Multiviews -FollowSymLinks
IndexOptions FancyIndexing \
ScanHTMLTitles \
NameWidth=* \
DescriptionWidth=* \
SuppressLastModified \
SuppressSize
order allow,deny
allow from all
</Directory>
# project repository files for project1
<Location /repos/project1>
DAV svn
SVNPath /srv/svn/repos/project1
# Limit write access to certain people
AuthType Basic
AuthName "Authorization for project1 required"
AuthUserFile /srv/svn/user_access/project1_passwdfile
AuthGroupFile /srv/svn/user_access/project1_groupfile
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require group project1_committers
</LimitExcept>
# Limit read access to certain people
<Limit GET PROPFIND OPTIONS REPORT>
Require group project1_committers
Require group project1_readers
</Limit>
</Location>
# project repository files for project2
<Location /repos/project2>
DAV svn
SVNPath /srv/svn/repos/project2
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Authorization for project2 required"
AuthUserFile /srv/svn/user_access/project2_passwdfile
Require valid-user
</LimitExcept>
</Location>
#------------------------------------------------------------------------
create the repositories itself:
cd /srv/svn/repos
svnadmin create project1
chown -R wwwrun:www project1/{dav,db,locks}
svnadmin create project2
chown -R wwwrun:www project2/{dav,db,locks}
The webserver must be (re)started:
rcapache2 restart
Now create the user access files:
project1 is a restricted project.
read access requires a password
write access is limited to a few users
touch /srv/svn/user_access/project1_passwdfile
chown root:www /srv/svn/user_access/project1_passwdfile
chmod 640 /srv/svn/user_access/project1_passwdfile
htpasswd2 /srv/svn/user_access/project1_passwdfile olaf
htpasswd2 /srv/svn/user_access/project1_passwdfile olh
this is the group file for project1:
/srv/svn/user_access/project1_groupfile
content:
project1_committers: olh
project1_readers: olaf olh
project2 is world readable, but only a few can commit to the sources.
touch /srv/svn/user_access/project2_passwdfile
chown root:www /srv/svn/user_access/project2_passwdfile
chmod 640 /srv/svn/user_access/project2_passwdfile
htpasswd2 /srv/svn/user_access/project2_passwdfile olaf
You should be able to connect to the server:
http://host/repos/project2
http://host/repos/project1
Now import the data, e.g.
svn import /path/to/project2-tree http://host/repos/project2
4. quickstart for mod_dontdothat
The apache module mod_dontdothat can be used to prevent users from causing high
load on the server, e.g. checking out the root of the tree or the tags or
branches directories.
Make sure mod_dontdothat is loaded:
$ a2enmod dontdothat
Add configuration for the module, e.g.
<Location />
DAV svn
SVNParentPath /srv/svn/repositories/
SVNListParentPath on
# [...other configuration...]
<IfModule mod_dontdothat.c>
DontDoThatConfigFile /srv/svn/mod_dontdothat.config
DontDoThatDisallowReplay off
</IfModule>
</Location>
Restart apache to make the change effective.
A fairly standard file /srv/svn/mod_dontdothat.config may contain:
[recursive-actions]
/*/trunk = allow
/ = deny
/* = deny
/*/tags = deny
/*/branches = deny
/*/* = deny
/*/*/tags = deny
/*/*/branches = deny
This allows checking out of /trunk and each branch, but disallows checking out
all branches or the complete repository at once.
++++++ subversion.conf ++++++
# Example configuration for a subversion repository
# see /usr/share/doc/packages/subversion for the full documentation
#
<IfModule mod_dav_svn.c>
##
## project related HTML files
##
#<IfModule mod_alias.c>
#Alias /repos /srv/svn/html
#</IfModule>
#<Directory /srv/svn/html>
# Options +Indexes +Multiviews -FollowSymLinks
# IndexOptions FancyIndexing \
# ScanHTMLTitles \
# NameWidth=* \
# DescriptionWidth=* \
# SuppressLastModified \
# SuppressSize
#
# order allow,deny
# allow from all
#</Directory>
#<Location /repos/myproject1>
# DAV svn
# SVNPath /srv/svn/repos/myproject1
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
# AuthType Basic
# AuthName "Authorization Realm"
# AuthUserFile /srv/svn/user_access/myproject1_passwdfile
# Require valid-user
# </LimitExcept>
#</Location>
##
## Hosting svn at "/"
##
#<VirtualHost *>
# ServerName svn.example.com
# ErrorLog /var/log/apache2/svn.example.com-error_log
# TransferLog /var/log/apache2/svn.example.com-access_log
# #
# # Do not set DocumentRoot. It is not needed here and just causes trouble.
# #
# # Map the error documents back to their defaults.
# # Otherwise mod_dav_svn tries to find a "error" repository.
# #
# ErrorDocument 400 default
# ErrorDocument 401 default
# ErrorDocument 403 default
# ErrorDocument 404 default
# ErrorDocument 405 default
# ErrorDocument 408 default
# ErrorDocument 410 default
# ErrorDocument 411 default
# ErrorDocument 412 default
# ErrorDocument 413 default
# ErrorDocument 414 default
# ErrorDocument 415 default
# ErrorDocument 500 default
# ErrorDocument 501 default
# ErrorDocument 502 default
# ErrorDocument 503 default
# #
# <Location />
# DAV svn
# SVNParentPath /srv/svn/repositories/
# SVNListParentPath on
# AuthType Basic
# AuthName "subversion repository"
# AuthBasicProvider file
# AuthUserFile /srv/svn/auth/svn.example.org.htpasswd
# SetOutputFilter DEFLATE
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# Require valid-user
# </LimitExcept>
# #
# # Optional configuration for mod_dontdothat
# # prevent users from causing high load on the server, e.g. checking out
# # the root of the tree or the tags or branches directories
# #
# #<IfModule mod_dontdothat.c>
# # DontDoThatConfigFile /srv/svn/mod_dontdothat.config
# # DontDoThatDisallowReplay off
# #</IfModule>
# </Location>
#</VirtualHost>
</IfModule>
++++++ subversion.libtool-pie-flags.patch ++++++
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2011-12-21 17:32:27.000000000 +0000
+++ Makefile.in 2011-12-21 17:32:31.000000000 +0000
@@ -231,8 +231,8 @@ libsvn_subr_LDFLAGS = @libsvn_subr_LDFLA
libsvn_wc_LDFLAGS = @libsvn_wc_LDFLAGS@
# Compilation of SWIG-generated C source code
-COMPILE_PY_WRAPPER = $(LIBTOOL) $(LTFLAGS) --mode=compile $(SWIG_PY_COMPILE) $(LT_CFLAGS) $(CPPFLAGS) $(SWIG_PY_INCLUDES) -prefer-pic -c -o $@
-COMPILE_RB_WRAPPER = $(LIBTOOL) $(LTFLAGS) --mode=compile $(SWIG_RB_COMPILE) $(LT_CFLAGS) $(CPPFLAGS) $(SWIG_RB_INCLUDES) -prefer-pic -c -o $@
+COMPILE_PY_WRAPPER = $(LIBTOOL) $(LTFLAGS) --mode=compile $(SWIG_PY_COMPILE) $(LT_CFLAGS) $(CPPFLAGS) $(SWIG_PY_INCLUDES) -fpie -fPIE -prefer-pic -c -o $@
+COMPILE_RB_WRAPPER = $(LIBTOOL) $(LTFLAGS) --mode=compile $(SWIG_RB_COMPILE) $(LT_CFLAGS) $(CPPFLAGS) $(SWIG_RB_INCLUDES) -fpie -fPIE -prefer-pic -c -o $@
# these commands link the wrapper objects into an extension library/module
LINK_PY_WRAPPER = $(LIBTOOL) $(LTFLAGS) --mode=link $(SWIG_PY_LINK) $(SWIG_LDFLAGS) -rpath $(swig_pydir) -avoid-version -module
++++++ subversion.libtool-verbose.patch ++++++
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2011-07-16 12:50:53.000000000 +0100
+++ Makefile.in 2011-12-21 17:32:20.000000000 +0000
@@ -112,8 +112,8 @@ EXEEXT = @EXEEXT@
SHELL = @SHELL@
LIBTOOL = @SVN_LIBTOOL@
-LTFLAGS = --tag=CC --silent
-LTCXXFLAGS = --tag=CXX --silent
+LTFLAGS = --tag=CC
+LTCXXFLAGS = --tag=CXX
LT_CFLAGS = @LT_CFLAGS@
LT_LDFLAGS = @LT_LDFLAGS@
LT_SO_VERSION = @SVN_LT_SOVERSION@
++++++ subversion.perl.LD_RUN_PATH.patch ++++++
clear LD_RUN_PATH, it will end up as RPATH in ELF binaries
ERROR: RPATH "/usr/src/packages/BUILD/subversion-1.5.x/subversion/libsvn_subr/.libs" on /var/tmp/subversion-1.5.0-build/usr/lib/perl5/vendor_perl/5.10.0/ppc-linux-thread-multi-64int/auto/SVN/_Wc/_Wc.so is not allowed
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2011-12-21 17:32:31.000000000 +0000
+++ Makefile.in 2011-12-21 17:32:35.000000000 +0000
@@ -736,7 +736,7 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
./config.status subversion/bindings/swig/perl/native/Makefile.PL
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
- cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+ cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
# There is a "readlink -f" command on some systems for the same purpose,
# but it's not as portable (e.g. Mac OS X doesn't have it). These should
++++++ subversion.rcsvnserve ++++++
#! /bin/sh
# Copyright (c) 1995-2011 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# /etc/init.d/svnserve
# and its symbolic link
# /usr/sbin/rcsvnserve
#
# LSB compatible service control script; see http://www.linuxbase.org/spec/
#
# Note: This script uses functions rc_XXX defined in /etc/rc.status on
# UnitedLinux (UL) based Linux distributions. If you want to base your
# script on this template and ensure that it works on non UL based LSB
# compliant Linux distributions, you either have to provide the rc.status
# functions from UL or change the script to work without them.
### BEGIN INIT INFO
# Provides: svnserve
# Required-Start:
# Should-Start: $time ypbind sendmail $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Should-Stop: $time ypbind sendmail
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: svnserve
# Description: readonly access to a subversion repository
### END INIT INFO
# Note on runlevels:
# 0 - halt/poweroff 6 - reboot
# 1 - single user 2 - multiuser without network exported
# 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
#
# Note on script names:
# http://www.linuxbase.org/spec/refspecs/LSB_1.2.0/gLSB/scrptnames.html
# A registry has been set up to manage the init script namespace.
# http://www.lanana.org/
# Please use the names already registered or register one or use a
# vendor prefix.
# Check for missing binaries (stale symlinks should not happen)
SVNSERVE_BIN=/usr/bin/svnserve
test -x $SVNSERVE_BIN || exit 5
# Check for existence of needed config file and read it
SVNSERVE_CONFIG=/etc/sysconfig/svnserve
test -r $SVNSERVE_CONFIG || exit 6
. $SVNSERVE_CONFIG
# Source LSB init functions
# providing start_daemon, killproc, pidofproc,
# log_success_msg, log_failure_msg and log_warning_msg.
# This is currently not used by UnitedLinux based distributions and
# not needed for init scripts for UnitedLinux only. If it is used,
# the functions from rc.status should not be sourced or used.
#. /lib/lsb/init-functions
# Shell functions sourced from /etc/rc.status:
# rc_check check and set local and overall rc status
# rc_status check and set local and overall rc status
# rc_status -v be verbose in local rc status and clear it afterwards
# rc_status -v -r ditto and clear both the local and overall rc status
# rc_status -s display "skipped" and exit with status 3
# rc_status -u display "unused" and exit with status 3
# rc_failed set local and overall rc status to failed
# rc_failed <num> set local and overall rc status to <num>
# rc_reset clear both the local and overall rc status
# rc_exit exit appropriate to overall rc status
# rc_active checks whether a service is activated by symlinks
# rc_splash arg sets the boot splash screen to arg (if active)
. /etc/rc.status
# Reset status of this service
rc_reset
# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - generic or unspecified error
# 2 - invalid or excess argument(s)
# 3 - unimplemented feature (e.g. "reload")
# 4 - user had insufficient privileges
# 5 - program is not installed
# 6 - program is not configured
# 7 - program is not running
# 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signaling is not supported) are
# considered a success.
case "$1" in
start)
echo -n "Starting svnserve "
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
UID_ENT="$(/usr/bin/getent passwd $SVNSERVE_USERID)"
GID_ENT="$(/usr/bin/getent group $SVNSERVE_GROUPID)"
if test -z "$SVNSERVE_USERID" -o -z "$UID_ENT"
then
echo
echo "User $SVNSERVE_USERID does not exist."
echo "Please check $SVNSERVE_CONFIG before starting this service."
rc_failed
elif test -z "$SVNSERVE_GROUPID" -o -z "$GID_ENT"
then
echo
echo "Group $SVNSERVE_GROUPID does not exist."
echo "Please check $SVNSERVE_CONFIG before starting this service."
rc_failed
else
startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS
fi
# Remember status and be verbose
rc_status -v
;;
stop)
echo -n "Shutting down svnserve "
## Stop daemon with killproc(8) and if this fails
## killproc sets the return value according to LSB.
killproc -TERM $SVNSERVE_BIN
# Remember status and be verbose
rc_status -v
;;
try-restart)
## Do a restart only if the service was active before.
## Note: try-restart is not (yet) part of LSB (as of 1.2)
$0 status >/dev/null && $0 restart
# Remember status and be quiet
rc_status
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
# Remember status and be quiet
rc_status
;;
force-reload)
echo -n "Reload service svnserve "
$0 stop && $0 start
#rc_status
;;
status)
echo -n "Checking for service svnserve "
## Check status with checkproc(8), if process is running
## checkproc will return with exit status 0.
# Return value is slightly different for the status command:
# 0 - service up and running
# 1 - service dead, but /var/run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running (unused)
# 4 - service status unknown :-(
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
# NOTE: checkproc returns LSB compliant status values.
checkproc $SVNSERVE_BIN
# NOTE: rc_status knows that we called this init script with
# "status" option and adapts its messages accordingly.
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload}"
exit 1
;;
esac
rc_exit
++++++ subversion.rpmlintrc ++++++
# libsvn_subr calls exit as part of the default malfunction handler.
# That's OK. Library users are expected to override the default handler.
addFilter("subversion.*shared-lib-calls-exit.*libsvn_subr-1.so.*")
++++++ subversion.svndiff.sh ++++++
#!/bin/bash
# stupid svn has no 'svn diff -v -R $bignum' to grab all info for a single patch
export TZ=UTC
export LANG=C
export LC_ALL=C
shopt -s extglob
case "$1" in
r+([0-9]))
rev=${1#?}
shift
;;
+([0-9]))
rev=$1
shift
;;
esac
if test -z "$rev"
then
echo "Usage: $0 <svnrepo revision number>"
exit 1
fi
revprev=$(($rev - 1 ))
svn log -v -r $rev "$@"
svn diff -r $revprev:$rev "$@"
++++++ subversion.svngrep.sh ++++++
#!/bin/sh
find \( -path '*/.pc' -o -path '*/.svn' -o -path '*/.git' -o -path '*/.hg' \) -prune -o -type f -print0 | xargs -0 grep "$@"
++++++ subversion.sysconfig.svnserve ++++++
## Path: Network/Subversion/svnserve
## Description: Basic configuration for svnserve
## Type: string
## Default "-d -R -r /srv/svn/repos"
#
# Default options for the svnserve process.
# The -R option enforces read-only access, i.e. write operations to the
# repository (such as commits) will not be allowed.
# Authentication should be configured before allowing write access.
# See http://svnbook.red-bean.com/en/1.5/svn.serverconfig.svnserve.html#svn.serve…
#
SVNSERVE_OPTIONS="-d -R -r /srv/svn/repos"
## Type: string
## Default "svn"
#
# svnserve should run as unprivileged user.
# The userid/groupid svn is not created during package install.
# Run 'groupadd svn; useradd -d /srv/svn -s /bin/false -g svn svn' to create the userid/groupid.
#
SVNSERVE_USERID="svn"
## Type: string
## Default "svn"
#
# svnserve should run as unprivileged user.
# The userid/groupid svn is not created during package install.
# Run 'groupadd svn; useradd -d /srv/svn -s /bin/false -g svn svn' to create the userid/groupid.
#
SVNSERVE_GROUPID="svn"
++++++ subversion.sysconfig.svnserve.remoteaccess ++++++
## Name: svnserve
## Description: Open ports for svnserve
TCP="svn"
++++++ subversion.xinetd.svnserve ++++++
# default: off
# description: readonly access to a subversion repository
service svn
{
disable = yes
socket_type = stream
protocol = tcp
wait = no
user = svn
group = svn
groups = yes
server = /usr/bin/svnserve
server_args = --read-only --root=/srv/svn/repos --inetd
}
++++++ svnmerge.py ++++++
++++ 2370 lines (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package su-wrapper for openSUSE:12.2:Update checked in at 2013-01-02 09:39:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/su-wrapper (Old)
and /work/SRC/openSUSE:12.2:Update/.su-wrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "su-wrapper", Maintainer is "werner(a)suse.com"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_link
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
<link package='su-wrapper.1189' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package su-wrapper.1189 for openSUSE:12.2:Update checked in at 2013-01-02 09:38:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/su-wrapper.1189 (Old)
and /work/SRC/openSUSE:12.2:Update/.su-wrapper.1189.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "su-wrapper.1189", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:12.2:Update/.su-wrapper.1189.new/su-wrapper.changes 2013-01-02 09:38:40.000000000 +0100
@@ -0,0 +1,47 @@
+-------------------------------------------------------------------
+Wed Dec 19 10:48:37 UTC 2012 - werner(a)suse.de
+
+- Add su-wrapper-1.2.0-term.dif (bnc#795063)
+
+-------------------------------------------------------------------
+Fri May 25 15:00:21 UTC 2012 - werner(a)suse.de
+
+- Job creation scheme (bnc#764105)
+
+-------------------------------------------------------------------
+Mon Jan 23 14:23:24 UTC 2012 - crrodriguez(a)opensuse.org
+
+- Build with -fpie and full RELRO
+
+-------------------------------------------------------------------
+Wed Oct 8 12:26:24 CEST 2008 - werner(a)suse.de
+
+- Avoid ordered comparison of pointer with zero (bnc#433373)
+
+-------------------------------------------------------------------
+Wed May 17 11:48:52 CEST 2006 - schwab(a)suse.de
+
+- Don't strip binaries.
+- Don't build as root.
+
+-------------------------------------------------------------------
+Wed Jan 25 21:41:51 CET 2006 - mls(a)suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Fri Nov 12 14:39:28 CET 2004 - ro(a)suse.de
+
+- correct permissions handling for su-wrapper
+
+-------------------------------------------------------------------
+Wed Sep 18 01:37:23 CEST 2002 - ro(a)suse.de
+
+- removed bogus self-provides
+
+-----------------------------------------------------------------
+Wed Dec 19 17:18:24 CET 2001 - werner(a)suse.de
+
+- Initial new package: su-wrapper, Version 1.2.0, a simple
+ su wrapper
+
New:
----
su-wrapper-1.2.0-term.dif
su-wrapper-1.2.0.dif
su-wrapper-1.2.0.tar.bz2
su-wrapper.changes
su-wrapper.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ su-wrapper.spec ++++++
#
# spec file for package su-wrapper
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: su-wrapper
Version: 1.2.0
Release: 0
Summary: The su-wrapper Runs Programs as Another User and Group
License: GPL-2.0+
Group: System/Base
PreReq: permissions
Source0: su-wrapper-1.2.0.tar.bz2
Patch: su-wrapper-1.2.0.dif
# PATCH-FIX-OPENSUSE su-wrapper-1.2.0-term.dif -- bnc#795063 - su-wrapper segfault if TERM variabile is not in environment
Patch1: su-wrapper-1.2.0-term.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
su-wrapper is a little utility that allows special users to execute
processes under another uid and gid.
It uses a table (/etc/su-wrapper.conf) to decide whatto do in certain
situation. Therefore it walks through the table and tries to match the
current situation (the later entries have precedence).
For more information, read /usr/share/doc/packages/su-wrapper/README.
Authors:
--------
Enrico Weigelt <weigelt(a)nibiru.thur.de>
Werner Fink <werner(a)suse.de>
%prep
%setup
%patch -p0
%patch1 -p0
%build
pushd src
make
popd
%install
pushd src
mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
make install DESTDIR=${RPM_BUILD_ROOT}
popd
mkdir -p ${RPM_BUILD_ROOT}/etc
install -m 0640 su-wrapper.conf.dist ${RPM_BUILD_ROOT}/etc/su-wrapper.conf
%if %{defined verify_permissions}
%verifyscript
%verify_permissions -e /usr/sbin/su-wrapper
%endif
%if %{defined set_permissions}
%post
%set_permissions /usr/sbin/su-wrapper
%endif
%files
%defattr(-, root, root)
%doc doc/COPYING doc/README doc/TODO doc/VERSION
%config /etc/su-wrapper.conf
%verify(not mode) /usr/sbin/su-wrapper
%changelog
++++++ su-wrapper-1.2.0-term.dif ++++++
--- src/su-wrapper.c
+++ src/su-wrapper.c 2012-12-19 10:44:55.961952136 +0000
@@ -483,7 +483,7 @@ int main (int argc, char * argv[])
xputenv("PATH", "/usr/local/bin:/bin:/usr/bin:/usr/bin/X11");
if (errno)
error("putenv() failed: %s\n", strerror(errno));
- if (xputenv("TERM", term))
+ if (xputenv("TERM", term ? term : "dumb"))
error("putenv() failed: %s\n", strerror(errno));
do_su (entry);
++++++ su-wrapper-1.2.0.dif ++++++
--- su-wrapper.conf.dist.orig
+++ su-wrapper.conf.dist
@@ -30,13 +30,13 @@
# is significant. so if you wann deny some special things,
# you have to put them under those lines which would allow them.
-* * lpd * root root /usr/sbin/lpd.real
-* * uucp-poll * root root /usr/bin/autopoll
-* * inet-up * root root /usr/bin/autonet on
-* * inet-down * root root /usr/bin/autonet off
-* * inet-poll * root root /usr/bin/autonet poll
-* * XServer * root root /usr/X11R6/bin/X
-marduk * rootshell * root root /bin/sh
+#* * lpd * root root /usr/sbin/lpd.real
+#* * uucp-poll * root root /usr/bin/autopoll
+#* * inet-up * root root /usr/bin/autonet on
+#* * inet-down * root root /usr/bin/autonet off
+#* * inet-poll * root root /usr/bin/autonet poll
+#* * XServer * root root /usr/X11R6/bin/X
+#marduk * rootshell * root root /bin/sh
# deny nobody everything, each call from nobody ends up in an empty command
nobody - * * - - -
--- src/Makefile.orig
+++ src/Makefile
@@ -1,7 +1,7 @@
CC = gcc
-CFLAGS = -D_GNU_SOURCE -O2 -pipe -Wall
+CFLAGS = -fpie -fPIE -D_GNU_SOURCE $(RPM_OPT_FLAGS) -pipe -Wall
#CFLAGS = -D_GNU_SOURCE -O -g -DDEBUG -Wall
-LDFLAGS = -Wl,-warn-common
+LDFLAGS = -pie -Wl,-warn-common -Wl,-z,relro,-z,now
all: su-wrapper
@@ -9,11 +9,11 @@ su-wrapper: su-wrapper.o
$(CC) $(LDFLAGS) su-wrapper.o -o su-wrapper
install: su-wrapper
- install -s -o root -g root -m 4711 su-wrapper /usr/sbin/
+ install su-wrapper $(DESTDIR)/usr/sbin/
clean:
rm -f su-wrapper su-wrapper.o
uninstall:
- rm -f /usr/sbin/su-wrapper
- mv /etc/su-wrapper.conf /etc/su-wrapper.conf.---
+ rm -f $(DESTDIR)/usr/sbin/su-wrapper
+ mv $(DESTDIR)/etc/su-wrapper.conf $(DESTDIR)/etc/su-wrapper.conf.---
--- src/su-wrapper.c.orig
+++ src/su-wrapper.c
@@ -134,7 +134,7 @@ static int cmdline_match (char * const m
while ((oslot = strsep(&l, ",:"))) {
if (!*oslot) /* empty slot means no slot */
continue;
- for (n = 0; n < max && argv[n]; n++) {
+ for (n = 0; n < (int)max && argv[n]; n++) {
if (!strcmp(oslot, argv[n]))
o[n]++;
}
@@ -142,7 +142,7 @@ static int cmdline_match (char * const m
/* -lf is not -fl and not -l -f or -f -l */
ret = 1;
- for (n = 0; n < max && argv[n]; n++)
+ for (n = 0; n < (int)max && argv[n]; n++)
if (!o[n])
ret = 0;
}
@@ -255,10 +255,10 @@ static void do_su (entry_t * entry)
if ((new_gid = lookup_gid(entry->run_group)) < 0)
error("no such group \"%s\"\n", entry->run_group);
- if ((new_pwd = lookup_pwd(entry->run_user)) < 0)
+ if ((new_pwd = lookup_pwd(entry->run_user)) == (char*)0)
error("no such user \"%s\"\n", entry->run_user);
- if ((new_shell = lookup_shell(entry->run_user)) < 0)
+ if ((new_shell = lookup_shell(entry->run_user)) == (char*)0)
error("no such user \"%s\"\n", entry->run_user);
if (verbose)
@@ -402,7 +402,7 @@ err:
size_t max = _POSIX_ARG_MAX - argc;
int n;
- for (n = 0; n < max && cmdline[n] ; n++)
+ for (n = 0; n < (int)max && cmdline[n] ; n++)
e->params[argc++] = cmdline[n];
}
e->params[argc] = NULL; /* last argument */
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package patchinfo.1193 for openSUSE:12.2:Update checked in at 2013-01-02 09:26:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/patchinfo.1193 (Old)
and /work/SRC/openSUSE:12.2:Update/.patchinfo.1193.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patchinfo.1193", Maintainer is ""
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_patchinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _patchinfo ++++++
<patchinfo incident="1193">
<packager>StefanBruens</packager>
<issue tracker="bnc" id="795582">poppler: "pdftops -origpagesizes" fails with signal 8 at least for some PDFs made by cairo</issue>
<category>recommended</category>
<rating>moderate</rating>
<summary>poppler: Avoid division by zero when using origpagesizes option</summary>
<description>This update fixes the following issue for poppler:
- bnc#795582: Avoid division by zero when using origpagesizes option</description>
</patchinfo>
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package poppler for openSUSE:12.2:Update checked in at 2013-01-02 09:26:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/poppler (Old)
and /work/SRC/openSUSE:12.2:Update/.poppler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler", Maintainer is "BiLi(a)suse.com"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.cedcAH/_old 2013-01-02 09:26:18.000000000 +0100
+++ /var/tmp/diff_new_pack.cedcAH/_new 2013-01-02 09:26:18.000000000 +0100
@@ -1 +1 @@
-<link package='poppler.1015' cicount='copy' />
+<link package='poppler.1193' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package poppler.1193 for openSUSE:12.2:Update checked in at 2013-01-02 09:24:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/poppler.1193 (Old)
and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler.1193", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler-qt.changes 2013-01-02 09:24:29.000000000 +0100
@@ -0,0 +1,1610 @@
+-------------------------------------------------------------------
+Sat Sep 29 16:11:04 UTC 2012 - zaitor(a)opensuse.org
+
+- Add poppler-fix-postscript-error-setprintermode.patch, fix
+ printing with postscript capable printers that fail in some cases
+ (bnc#774627).
+
+-------------------------------------------------------------------
+Mon May 14 12:49:22 UTC 2012 - vuntz(a)opensuse.org
+
+- Change pkgconfig(lcms) to pkgconfig(lcms2) since poppler 0.20 now
+ supports lcms2.
+
+-------------------------------------------------------------------
+Thu May 10 22:22:31 UTC 2012 - badshah400(a)gmail.com
+
+- Update to version 0.20.0:
+ + Core:
+ - Merge Xpdf 3.03
+ - Annotation improvements
+ - CairoOutputDev:
+ . Fix regression caused by mesh gradients
+ . Use correct userfont font bbox (fdo#48399)
+ . Fix paintTransparencyGroup when both mask and fill opacity
+ are required (fdo#48453)
+ . Ensure 0 width lines with stroke_adjust are aligned
+ . Only align stroke coords for horizontal and vertical lines
+ (fdo#48318)
+ . Fix stroke pattern with transparency group (fdo#48468)
+ . Update cairo mesh pattern to 1.12 api
+ . Fix some transparency issues (fdo#47739)
+ . Fix regression in some shadings
+ . Avoid setting huge clip area when printing (fdo#44002)
+ . Fix test for rotation (fdo#14619)
+ . Don't read inline image streams twice (fdo#45668)
+ . Set mask matrix before drawing an image with a mask
+ (fdo#40828)
+ - SplashOutputDev:
+ . Implement Overprint
+ . Fix slow rendering of pdf with a lot of image masks in
+ pattern colorspace
+ . Fix rendering of knockout groups (fdo#12185)
+ . Fix cmyk transfer bug (fdo#49341)
+ - PSOutputDev: Implement Overprint
+ - TextOutputDev: Don't add newline to last line extracted by
+ TextSelectionDumper (fdo#45955)
+ - Add support for lcms2
+ - More compatible file writing
+ - CJK font improvements
+ - ttc<->ttf fallback is expected for CJK font list in for
+ Windows (fdo#48046)
+ - Improve font matching for non embedded fonts
+ - Fix typos glyph names in truetype 'post' table standard mac
+ ordering
+ - Fix page labels to not have a null character at the end
+ - Fix logic error in Rendition parsing code (fdo#47063)
+ - Minor API changes to SplashOutputDev (fdo#46622)
+ - Expand glyph name ligatures such as "ff", "ffi" etc to
+ normal form (fdo#7002)
+ - Use an Identity CharCodeToUnicode for Adobe-Identity and
+ Adobe-UCS collections (fdo#35468)
+ - Update glyph names to Unicode values mapping (fdo#13131)
+ - Only use Hints table when there are no parse errors
+ (fdo#46459)
+ - Fix crash in JBIG2Stream decoding
+ - Fix crashes in broken documents
+ - Expose POPPLER_VERSION in poppler-config.h
+ - Reconstruct xref table if xref needed but missing
+ (fdo#40719)
+ - Fix getFullyQualifiedName with unicode field names
+ (fdo#49256)
+ - Bring back the Outputdev::begin/endMarkedContent virtuals
+ + Qt4:
+ - Annotations can now be modified/added/removed
+ - Form support improvements
+ - Support for LinkMovie object (fdo#40561)
+ - Support for Media Rendition
+ - Add the option of PSConverter creating EPS
+ - Convert propertly unicode encoded field qualified names
+ + Glib:
+ - Add poppler_fonts_iter_get_encoding
+ - Add poppler_fonts_iter_get_substitute_name
+ - Demo improvements
+ - Update gtk-doc makefile and m4 file
+ - Fix typos in documentation
+ - glib: Use delete[] to free array allocated with new[]
+ (fdo#48447)
+ + Utils:
+ - pdftohtml:
+ . Fix crash when the destination file does not exist
+ . Add producer and version to xml output
+ . Fix the mask inversion for PNG
+ . Extract mask images even if they are not JPEG (fdo#47186)
+ . Flip images if they need to (fdo#32340)
+ . Add possibilty of controlling word breaks percentage
+ (fdo#47022)
+ . Output images in -xml mode if no -i option is specified
+ . Get rid of static data members; merge duplicated jpeg
+ dumping code
+ . Be more consistent generating the outlines
+ . Generate outlines in pdftohtml in -xml mode (fdo#56993)
+ . Combine UTF16 surrogate pairs (fdo#46521)
+ - pdffonts:
+ . List the encoding of each font. (fdo#46888)
+ . Add -subst option to list the substitute font name and
+ filename
+ - pdfinfo:
+ . Report page rotation
+ . Decode utf-16 surrogate pairs
+ - pdftotext: Add missing section heading to man page
+ - pdftops: Fix -passfonts regression. (fdo#46744)
+ - pdftoppm: Allow one of -scale-to-[xy] = -1 to mean the
+ aspect ratio is to be preserved (fdo#43393)
+ - pdftocairo: Allow one of -scale-to-[xy] = -1 to mean the
+ aspect ratio is to be preserved
+ - pdfseparate: Produce PDF/X conformant pdf pages if the
+ original PDF was PDF/X conformant
+ - pdfimages: Add -list option to list all images (fdo#46066)
+ - Improve various manpages
+ + Build system:
+ - autotools:
+ . Do not append "-ansi" to CXXFLAG, if "-std=XXX" is already
+ specified.
+ . Do not clear FREETYPE_CFLAGS, FREETYPE_LIBS before
+ PKG_CHECK_MODULES()
+ . Copying graphics library CFLAGS to cpp frontend Makefile.am
+ . Print the cairo version required if not found (fdo#44619)
+ . Print the glib version required if not found
+ . Use pkgconfig to check for libopenjpeg (fdo#21789)
+ . Replace openjpeg compile test with a version test
+ - Minor cmake fixes
+ - Add a configuration option for the test data dir
+- Updated sonames for shared libraries in keeping with upstream
+ package changes: poppler_soname is now 25, poppler_qt4_soname is
+ now 4.
+
+-------------------------------------------------------------------
+Sun Mar 4 18:56:41 UTC 2012 - asterios.dramis(a)gmail.com
+
+- Enabled build requirement for openjpeg.
+
+-------------------------------------------------------------------
+Thu Feb 16 09:05:41 UTC 2012 - vuntz(a)opensuse.org
+
+- Update to version 0.18.4:
+ + core:
+ - CairoOutputDev:
+ . Restore temporary clip used in CairoOutputDev::fill when
+ painting a mask
+ . Ensure paintTransparencyGroup uses same ctm as
+ beginTransparencyGroup (fdo#29968).
+ . Use fabs when comparing the transformed line width
+ (fdo#43441).
+ . Remove unused variable in CairoFontEngine.cc (fdo#45442).
+ - SplashOutputDev: Do not use 50Kb of stack in
+ SplashXPath::addCurve (fdo#44905).
+ - JpegWriter: set image parameters after jpeg_set_defaults()
+ (fdo#45224).
+ - OpenJPEG decoder: Set
+ OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have it
+ (fdo#43414).
+ - Lexer: convert integer to real when overflow occurs
+ (fdo#45605).
+ + glib:
+ - Various minor introspection and documentation improvements
+ (fdo#44790).
+ - Fix return values (fdo#45440, fdo#45441).
+ - gtk-doc improvements (fdo#45549).
+ - Introspection improvements (fdo#45455).
+ + qt4:
+ - remove non-existing 'qt' include dirs
+ + utils:
+ - HtmlOutputDev:
+ . Proper unicode support when dumping PDF outline
+ (fdo#45572).
+ . Fix leaks (fdo#45805).
+ . Close li tags in generated outlines (fdo#45807).
+ - man pages: fix minor issues with hypens and %
+ + build system:
+ - automake: Link to lcms if needed
+ - automake: Fix build for builddir != srcdir (fdo#45434).
+ - automake: Improve moc detection when cross compiling
+ - Fix build with latest mingw-w64 headers (fdo#45407).
+
+-------------------------------------------------------------------
+Mon Jan 16 13:20:26 UTC 2012 - vuntz(a)opensuse.org
+
+- Update to version 0.18.3:
+ + core:
+ - Do not fail if we are trying to save a file with Encrypt that
+ has not been modified (kde#288045)
+ - Include .otf fonts when finding substitute fonts (fdo#44412)
+ - Fix stack overflow in PDFDoc::markObject() (fdo#44660)
+ - Include strings.h as we use memcpy (fdo#43558)
+ + utils:
+ - pdfunite: Properly initialize globalParams (fdo#44659)
+ - pdfseparate: Properly initialize globalParams
++++ 1413 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler-qt.changes
New Changes file:
--- /dev/null 2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler.changes 2013-01-02 09:24:29.000000000 +0100
@@ -0,0 +1,1616 @@
+-------------------------------------------------------------------
+Sat Dec 22 00:10:42 UTC 2012 - stefan.bruens(a)rwth-aachen.de
+
+- avoid division by zero when using origpagesizes option
+ (bnc#795582)
+
+-------------------------------------------------------------------
+Sat Sep 29 16:11:04 UTC 2012 - zaitor(a)opensuse.org
+
+- Add poppler-fix-postscript-error-setprintermode.patch, fix
+ printing with postscript capable printers that fail in some cases
+ (bnc#774627).
+
+-------------------------------------------------------------------
+Mon May 14 12:49:22 UTC 2012 - vuntz(a)opensuse.org
+
+- Change pkgconfig(lcms) to pkgconfig(lcms2) since poppler 0.20 now
+ supports lcms2.
+
+-------------------------------------------------------------------
+Thu May 10 22:22:31 UTC 2012 - badshah400(a)gmail.com
+
+- Update to version 0.20.0:
+ + Core:
+ - Merge Xpdf 3.03
+ - Annotation improvements
+ - CairoOutputDev:
+ . Fix regression caused by mesh gradients
+ . Use correct userfont font bbox (fdo#48399)
+ . Fix paintTransparencyGroup when both mask and fill opacity
+ are required (fdo#48453)
+ . Ensure 0 width lines with stroke_adjust are aligned
+ . Only align stroke coords for horizontal and vertical lines
+ (fdo#48318)
+ . Fix stroke pattern with transparency group (fdo#48468)
+ . Update cairo mesh pattern to 1.12 api
+ . Fix some transparency issues (fdo#47739)
+ . Fix regression in some shadings
+ . Avoid setting huge clip area when printing (fdo#44002)
+ . Fix test for rotation (fdo#14619)
+ . Don't read inline image streams twice (fdo#45668)
+ . Set mask matrix before drawing an image with a mask
+ (fdo#40828)
+ - SplashOutputDev:
+ . Implement Overprint
+ . Fix slow rendering of pdf with a lot of image masks in
+ pattern colorspace
+ . Fix rendering of knockout groups (fdo#12185)
+ . Fix cmyk transfer bug (fdo#49341)
+ - PSOutputDev: Implement Overprint
+ - TextOutputDev: Don't add newline to last line extracted by
+ TextSelectionDumper (fdo#45955)
+ - Add support for lcms2
+ - More compatible file writing
+ - CJK font improvements
+ - ttc<->ttf fallback is expected for CJK font list in for
+ Windows (fdo#48046)
+ - Improve font matching for non embedded fonts
+ - Fix typos glyph names in truetype 'post' table standard mac
+ ordering
+ - Fix page labels to not have a null character at the end
+ - Fix logic error in Rendition parsing code (fdo#47063)
+ - Minor API changes to SplashOutputDev (fdo#46622)
+ - Expand glyph name ligatures such as "ff", "ffi" etc to
+ normal form (fdo#7002)
+ - Use an Identity CharCodeToUnicode for Adobe-Identity and
+ Adobe-UCS collections (fdo#35468)
+ - Update glyph names to Unicode values mapping (fdo#13131)
+ - Only use Hints table when there are no parse errors
+ (fdo#46459)
+ - Fix crash in JBIG2Stream decoding
+ - Fix crashes in broken documents
+ - Expose POPPLER_VERSION in poppler-config.h
+ - Reconstruct xref table if xref needed but missing
+ (fdo#40719)
+ - Fix getFullyQualifiedName with unicode field names
+ (fdo#49256)
+ - Bring back the Outputdev::begin/endMarkedContent virtuals
+ + Qt4:
+ - Annotations can now be modified/added/removed
+ - Form support improvements
+ - Support for LinkMovie object (fdo#40561)
+ - Support for Media Rendition
+ - Add the option of PSConverter creating EPS
+ - Convert propertly unicode encoded field qualified names
+ + Glib:
+ - Add poppler_fonts_iter_get_encoding
+ - Add poppler_fonts_iter_get_substitute_name
+ - Demo improvements
+ - Update gtk-doc makefile and m4 file
+ - Fix typos in documentation
+ - glib: Use delete[] to free array allocated with new[]
+ (fdo#48447)
+ + Utils:
+ - pdftohtml:
+ . Fix crash when the destination file does not exist
+ . Add producer and version to xml output
+ . Fix the mask inversion for PNG
+ . Extract mask images even if they are not JPEG (fdo#47186)
+ . Flip images if they need to (fdo#32340)
+ . Add possibilty of controlling word breaks percentage
+ (fdo#47022)
+ . Output images in -xml mode if no -i option is specified
+ . Get rid of static data members; merge duplicated jpeg
+ dumping code
+ . Be more consistent generating the outlines
+ . Generate outlines in pdftohtml in -xml mode (fdo#56993)
+ . Combine UTF16 surrogate pairs (fdo#46521)
+ - pdffonts:
+ . List the encoding of each font. (fdo#46888)
+ . Add -subst option to list the substitute font name and
+ filename
+ - pdfinfo:
+ . Report page rotation
+ . Decode utf-16 surrogate pairs
+ - pdftotext: Add missing section heading to man page
+ - pdftops: Fix -passfonts regression. (fdo#46744)
+ - pdftoppm: Allow one of -scale-to-[xy] = -1 to mean the
+ aspect ratio is to be preserved (fdo#43393)
+ - pdftocairo: Allow one of -scale-to-[xy] = -1 to mean the
+ aspect ratio is to be preserved
+ - pdfseparate: Produce PDF/X conformant pdf pages if the
+ original PDF was PDF/X conformant
+ - pdfimages: Add -list option to list all images (fdo#46066)
+ - Improve various manpages
+ + Build system:
+ - autotools:
+ . Do not append "-ansi" to CXXFLAG, if "-std=XXX" is already
+ specified.
+ . Do not clear FREETYPE_CFLAGS, FREETYPE_LIBS before
+ PKG_CHECK_MODULES()
+ . Copying graphics library CFLAGS to cpp frontend Makefile.am
+ . Print the cairo version required if not found (fdo#44619)
+ . Print the glib version required if not found
+ . Use pkgconfig to check for libopenjpeg (fdo#21789)
+ . Replace openjpeg compile test with a version test
+ - Minor cmake fixes
+ - Add a configuration option for the test data dir
+- Updated sonames for shared libraries in keeping with upstream
+ package changes: poppler_soname is now 25, poppler_qt4_soname is
+ now 4.
+
+-------------------------------------------------------------------
+Sun Mar 4 18:56:41 UTC 2012 - asterios.dramis(a)gmail.com
+
+- Enabled build requirement for openjpeg.
+
+-------------------------------------------------------------------
+Thu Feb 16 09:05:41 UTC 2012 - vuntz(a)opensuse.org
+
+- Update to version 0.18.4:
+ + core:
+ - CairoOutputDev:
+ . Restore temporary clip used in CairoOutputDev::fill when
+ painting a mask
+ . Ensure paintTransparencyGroup uses same ctm as
+ beginTransparencyGroup (fdo#29968).
+ . Use fabs when comparing the transformed line width
+ (fdo#43441).
+ . Remove unused variable in CairoFontEngine.cc (fdo#45442).
+ - SplashOutputDev: Do not use 50Kb of stack in
+ SplashXPath::addCurve (fdo#44905).
+ - JpegWriter: set image parameters after jpeg_set_defaults()
+ (fdo#45224).
+ - OpenJPEG decoder: Set
+ OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have it
+ (fdo#43414).
+ - Lexer: convert integer to real when overflow occurs
+ (fdo#45605).
+ + glib:
+ - Various minor introspection and documentation improvements
+ (fdo#44790).
+ - Fix return values (fdo#45440, fdo#45441).
+ - gtk-doc improvements (fdo#45549).
+ - Introspection improvements (fdo#45455).
+ + qt4:
+ - remove non-existing 'qt' include dirs
+ + utils:
+ - HtmlOutputDev:
+ . Proper unicode support when dumping PDF outline
+ (fdo#45572).
+ . Fix leaks (fdo#45805).
+ . Close li tags in generated outlines (fdo#45807).
+ - man pages: fix minor issues with hypens and %
+ + build system:
+ - automake: Link to lcms if needed
+ - automake: Fix build for builddir != srcdir (fdo#45434).
+ - automake: Improve moc detection when cross compiling
+ - Fix build with latest mingw-w64 headers (fdo#45407).
+
+-------------------------------------------------------------------
+Mon Jan 16 13:20:26 UTC 2012 - vuntz(a)opensuse.org
+
+- Update to version 0.18.3:
+ + core:
+ - Do not fail if we are trying to save a file with Encrypt that
+ has not been modified (kde#288045)
++++ 1419 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler.changes
New:
----
dcbc923bd3592a81876f84005fbaddcea18641cc.patch
poppler-0.20.0.tar.gz
poppler-fix-postscript-error-setprintermode.patch
poppler-qt.changes
poppler-qt.spec
poppler.changes
poppler.spec
pre_checkin.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ poppler-qt.spec ++++++
#
# spec file for package poppler-qt
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define build_qt 1
Name: poppler-qt
%define _name poppler
Version: 0.20.0
Release: 0
# Actual version of poppler-data:
%define poppler_data_version 0.2.1
%define poppler_soname 25
%define poppler_cpp_soname 0
%define poppler_glib_soname 8
%define poppler_qt4_soname 4
%define poppler_api 0.18
%define poppler_apipkg 0_18
Url: http://poppler.freedesktop.org/
Summary: PDF Rendering Library
License: GPL-2.0+
Group: System/Libraries
Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM poppler-fix-postscript-error-setprintermode.patch bnc#774627 zaitor(a)opensuse.org -- Fix printing with postscript capable printers. Patch from upstream git.
Patch0: poppler-fix-postscript-error-setprintermode.patch
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
%if %build_qt
BuildRequires: libqt4-devel
%endif
%if 0%{?suse_version} > 1210
BuildRequires: openjpeg-devel
%endif
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(cairo-ft) >= 1.10.0
BuildRequires: pkgconfig(cairo-pdf)
BuildRequires: pkgconfig(cairo-ps)
BuildRequires: pkgconfig(cairo-svg)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gobject-2.0) >= 2.18
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libpng)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler%{poppler_soname}
Summary: PDF Rendering Library
License: GPL-2.0
Group: System/Libraries
Recommends: poppler-data >= %{poppler_data_version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler = %{version}
Obsoletes: poppler < %{version}
%description -n libpoppler%{poppler_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-cpp%{poppler_cpp_soname}
Summary: PDF Rendering Library
License: GPL-2.0
Group: System/Libraries
%description -n libpoppler-cpp%{poppler_cpp_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-glib%{poppler_glib_soname}
Summary: PDF Rendering Library - GLib Wrapper
License: GPL-2.0+
Group: System/Libraries
Requires: libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-glib = %{version}
Obsoletes: poppler-glib < %{version}
%description -n libpoppler-glib%{poppler_glib_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n typelib-1_0-Poppler-%{poppler_apipkg}
Summary: PDF Rendering Library - Introspection bindings
License: GPL-2.0+
Group: System/Libraries
%description -n typelib-1_0-Poppler-%{poppler_apipkg}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
This package provides the GObject Introspection bindings for Poppler.
%if %build_qt
%package -n libpoppler-qt4-%{poppler_qt4_soname}
Summary: PDF Rendering Library - Qt4 Wrapper
License: GPL-2.0+
Group: System/Libraries
Requires: libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-qt4 = %{version}
Obsoletes: poppler-qt4 < %{version}
%description -n libpoppler-qt4-%{poppler_qt4_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif
%package tools
Summary: PDF Rendering Library Tools
License: GPL-2.0
Group: Productivity/Publishing/PDF
Requires: libpoppler%{poppler_soname} >= %{version}
# last version in openSUSE 11.1/SLE11
Provides: xpdf-tools = 3.02
Obsoletes: xpdf-tools < 3.02
Provides: pdftools_any
%description tools
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-devel
Summary: PDF rendering library
License: GPL-2.0
Group: Development/Libraries/C and C++
Requires: libpoppler%{poppler_soname} = %{version}
Requires: libstdc++-devel
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel = %{version}
Obsoletes: poppler-devel < %{version}
%description -n libpoppler-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-glib-devel
Summary: PDF rendering library - GLib Wrapper
License: GPL-2.0
Group: Development/Libraries/C and C++
Requires: libpoppler-glib%{poppler_glib_soname} = %{version}
Requires: typelib-1_0-Poppler-%{poppler_apipkg} = %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel:%{_libdir}/libpoppler-glib.so
# Last appeared in 11.4
Provides: libpoppler-doc = %{version}
Obsoletes: libpoppler-doc < %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-doc = %{version}
Obsoletes: poppler-doc < %{version}
%description -n libpoppler-glib-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%if %build_qt
%package -n libpoppler-qt4-devel
Summary: PDF rendering library - Qt4 Wrapper
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libpoppler-devel = %{version}
Requires: libpoppler-qt4-%{poppler_qt4_soname} = %{version}
Requires: libqt4-devel
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel:%{_libdir}/libpoppler-qt4.so
%description -n libpoppler-qt4-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif
%prep
%setup -q -n poppler-%{version}
%patch0 -p1
%build
%configure\
--enable-xpdf-headers\
--disable-static\
--enable-shared\
--enable-zlib \
--disable-gtk-test
make %{?_smp_mflags}
%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la
%if %build_qt
cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v
%endif
%post -n libpoppler%{poppler_soname} -p /sbin/ldconfig
%post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig
%if %build_qt
%post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif
%postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig
%postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig
%post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig
%postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig
%if %build_qt
%postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif
%if %build_qt
%files -n libpoppler-qt4-%{poppler_qt4_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}*
%files -n libpoppler-qt4-devel
%defattr (-, root, root)
%dir %{_includedir}/poppler
%{_includedir}/poppler/qt4
%{_libdir}/libpoppler-qt4.so
%{_libdir}/pkgconfig/poppler-qt4.pc
%else
%files -n libpoppler%{poppler_soname}
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
%{_libdir}/libpoppler.so.%{poppler_soname}*
%files -n libpoppler-glib%{poppler_glib_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}*
%files -n typelib-1_0-Poppler-%{poppler_apipkg}
%defattr (-, root, root)
%{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib
%files tools
%defattr (-, root, root)
%doc COPYING
%{_bindir}/*
%doc %{_mandir}/man1/*.*
%files -n libpoppler-cpp%{poppler_cpp_soname}
%defattr(-, root, root)
%{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}*
%files -n libpoppler-devel
%defattr (-, root, root)
%{_includedir}/poppler
%exclude %{_includedir}/poppler/glib
%{_libdir}/libpoppler.so
%{_libdir}/libpoppler-cpp.so
%{_libdir}/pkgconfig/poppler.pc
%{_libdir}/pkgconfig/poppler-cairo.pc
%{_libdir}/pkgconfig/poppler-cpp.pc
%{_libdir}/pkgconfig/poppler-splash.pc
%files -n libpoppler-glib-devel
%defattr (-, root, root)
%{_includedir}/poppler/glib
%{_libdir}/libpoppler-glib.so
%{_libdir}/pkgconfig/poppler-glib.pc
%{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir
%doc %{_datadir}/gtk-doc/html/poppler/
%endif
%changelog
++++++ poppler.spec ++++++
#
# spec file for package poppler
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define build_qt 0
Name: poppler
%define _name poppler
Version: 0.20.0
Release: 0
# Actual version of poppler-data:
%define poppler_data_version 0.2.1
%define poppler_soname 25
%define poppler_cpp_soname 0
%define poppler_glib_soname 8
%define poppler_qt4_soname 4
%define poppler_api 0.18
%define poppler_apipkg 0_18
Url: http://poppler.freedesktop.org/
Summary: PDF Rendering Library
License: GPL-2.0+
Group: System/Libraries
Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM poppler-fix-postscript-error-setprintermode.patch bnc#774627 zaitor(a)opensuse.org -- Fix printing with postscript capable printers. Patch from upstream git.
Patch0: poppler-fix-postscript-error-setprintermode.patch
# PATCH-FIX-UPSTREAM avoid division by zero when using origpagesizes
Patch1: dcbc923bd3592a81876f84005fbaddcea18641cc.patch
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
%if %build_qt
BuildRequires: libqt4-devel
%endif
%if 0%{?suse_version} > 1210
BuildRequires: openjpeg-devel
%endif
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(cairo-ft) >= 1.10.0
BuildRequires: pkgconfig(cairo-pdf)
BuildRequires: pkgconfig(cairo-ps)
BuildRequires: pkgconfig(cairo-svg)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gobject-2.0) >= 2.18
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libpng)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler%{poppler_soname}
Summary: PDF Rendering Library
License: GPL-2.0
Group: System/Libraries
Recommends: poppler-data >= %{poppler_data_version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler = %{version}
Obsoletes: poppler < %{version}
%description -n libpoppler%{poppler_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-cpp%{poppler_cpp_soname}
Summary: PDF Rendering Library
License: GPL-2.0
Group: System/Libraries
%description -n libpoppler-cpp%{poppler_cpp_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-glib%{poppler_glib_soname}
Summary: PDF Rendering Library - GLib Wrapper
License: GPL-2.0+
Group: System/Libraries
Requires: libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-glib = %{version}
Obsoletes: poppler-glib < %{version}
%description -n libpoppler-glib%{poppler_glib_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n typelib-1_0-Poppler-%{poppler_apipkg}
Summary: PDF Rendering Library - Introspection bindings
License: GPL-2.0+
Group: System/Libraries
%description -n typelib-1_0-Poppler-%{poppler_apipkg}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
This package provides the GObject Introspection bindings for Poppler.
%if %build_qt
%package -n libpoppler-qt4-%{poppler_qt4_soname}
Summary: PDF Rendering Library - Qt4 Wrapper
License: GPL-2.0+
Group: System/Libraries
Requires: libpoppler%{poppler_soname} >= %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-qt4 = %{version}
Obsoletes: poppler-qt4 < %{version}
%description -n libpoppler-qt4-%{poppler_qt4_soname}
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif
%package tools
Summary: PDF Rendering Library Tools
License: GPL-2.0
Group: Productivity/Publishing/PDF
Requires: libpoppler%{poppler_soname} >= %{version}
# last version in openSUSE 11.1/SLE11
Provides: xpdf-tools = 3.02
Obsoletes: xpdf-tools < 3.02
Provides: pdftools_any
%description tools
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-devel
Summary: PDF rendering library
License: GPL-2.0
Group: Development/Libraries/C and C++
Requires: libpoppler%{poppler_soname} = %{version}
Requires: libstdc++-devel
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel = %{version}
Obsoletes: poppler-devel < %{version}
%description -n libpoppler-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%package -n libpoppler-glib-devel
Summary: PDF rendering library - GLib Wrapper
License: GPL-2.0
Group: Development/Libraries/C and C++
Requires: libpoppler-glib%{poppler_glib_soname} = %{version}
Requires: typelib-1_0-Poppler-%{poppler_apipkg} = %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel:%{_libdir}/libpoppler-glib.so
# Last appeared in 11.4
Provides: libpoppler-doc = %{version}
Obsoletes: libpoppler-doc < %{version}
# Last appeared in OpenSUSE 10.3:
Provides: poppler-doc = %{version}
Obsoletes: poppler-doc < %{version}
%description -n libpoppler-glib-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%if %build_qt
%package -n libpoppler-qt4-devel
Summary: PDF rendering library - Qt4 Wrapper
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libpoppler-devel = %{version}
Requires: libpoppler-qt4-%{poppler_qt4_soname} = %{version}
Requires: libqt4-devel
# Last appeared in OpenSUSE 10.3:
Provides: poppler-devel:%{_libdir}/libpoppler-qt4.so
%description -n libpoppler-qt4-devel
Poppler is a PDF rendering library, forked from the xpdf PDF viewer
developed by Derek Noonburg of Glyph and Cog, LLC.
%endif
%prep
%setup -q -n poppler-%{version}
%patch0 -p1
%patch1 -p1
%build
%configure\
--enable-xpdf-headers\
--disable-static\
--enable-shared\
--enable-zlib \
--disable-gtk-test
make %{?_smp_mflags}
%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la
%if %build_qt
cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v
%endif
%post -n libpoppler%{poppler_soname} -p /sbin/ldconfig
%post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig
%if %build_qt
%post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif
%postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig
%postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig
%post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig
%postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig
%if %build_qt
%postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig
%endif
%if %build_qt
%files -n libpoppler-qt4-%{poppler_qt4_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}*
%files -n libpoppler-qt4-devel
%defattr (-, root, root)
%dir %{_includedir}/poppler
%{_includedir}/poppler/qt4
%{_libdir}/libpoppler-qt4.so
%{_libdir}/pkgconfig/poppler-qt4.pc
%else
%files -n libpoppler%{poppler_soname}
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
%{_libdir}/libpoppler.so.%{poppler_soname}*
%files -n libpoppler-glib%{poppler_glib_soname}
%defattr (-, root, root)
%{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}*
%files -n typelib-1_0-Poppler-%{poppler_apipkg}
%defattr (-, root, root)
%{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib
%files tools
%defattr (-, root, root)
%doc COPYING
%{_bindir}/*
%doc %{_mandir}/man1/*.*
%files -n libpoppler-cpp%{poppler_cpp_soname}
%defattr(-, root, root)
%{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}*
%files -n libpoppler-devel
%defattr (-, root, root)
%{_includedir}/poppler
%exclude %{_includedir}/poppler/glib
%{_libdir}/libpoppler.so
%{_libdir}/libpoppler-cpp.so
%{_libdir}/pkgconfig/poppler.pc
%{_libdir}/pkgconfig/poppler-cairo.pc
%{_libdir}/pkgconfig/poppler-cpp.pc
%{_libdir}/pkgconfig/poppler-splash.pc
%files -n libpoppler-glib-devel
%defattr (-, root, root)
%{_includedir}/poppler/glib
%{_libdir}/libpoppler-glib.so
%{_libdir}/pkgconfig/poppler-glib.pc
%{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir
%doc %{_datadir}/gtk-doc/html/poppler/
%endif
%changelog
++++++ dcbc923bd3592a81876f84005fbaddcea18641cc.patch ++++++
>From dcbc923bd3592a81876f84005fbaddcea18641cc Mon Sep 17 00:00:00 2001
From: Thomas Freitag <Thomas.Freitag(a)alfa.de>
Date: Sun, 22 Jul 2012 16:40:46 +0000
Subject: Make sure xScale and yScale are always initialized
Bug #52215
---
(limited to 'poppler/PSOutputDev.cc')
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index a01a4b3..e15c2e9 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -3521,6 +3521,7 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) {
saveState(NULL);
}
+ xScale = yScale = 1;
switch (mode) {
case psModePSOrigPageSizes:
@@ -3631,8 +3632,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) {
} else {
yScale = xScale;
}
- } else {
- xScale = yScale = 1;
}
// deal with odd bounding boxes or clipping
if (clipLLX0 < clipURX0 && clipLLY0 < clipURY0) {
@@ -3694,7 +3693,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) {
if (tx != 0 || ty != 0) {
writePSFmt("{0:.6g} {1:.6g} translate\n", tx, ty);
}
- xScale = yScale = 1;
break;
case psModeForm:
@@ -3702,7 +3700,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) {
writePS("begin xpdf begin\n");
writePS("pdfStartPage\n");
tx = ty = 0;
- xScale = yScale = 1;
rotate = 0;
break;
}
--
cgit v0.9.0.2-2-gbebe
++++++ poppler-fix-postscript-error-setprintermode.patch ++++++
>From 92ef16e3699da949c80716c3fd4b438fe79c134d Mon Sep 17 00:00:00 2001
From: Thomas Freitag <Thomas.Freitag(a)alfa.de>
Date: Sun, 10 Jun 2012 14:58:54 +0000
Subject: use setoverprintmode only if rip knows it
---
(limited to 'poppler/PSOutputDev.cc')
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index dac10d0..c655652 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -258,7 +258,7 @@ static const char *prolog[] = {
"} def",
"~3n",
"/opm { dup /pdfOPM exch def",
- " setoverprintmode } def",
+ " /setoverprintmode where{pop setoverprintmode}{pop}ifelse } def",
"~23n",
"/cs { /pdfFillXform exch def dup /pdfFillCS exch def",
" setcolorspace } def",
@@ -292,7 +292,7 @@ static const char *prolog[] = {
"} def",
"~3s",
"/opm { dup /pdfOPM exch def",
- " setoverprintmode } def",
+ " /setoverprintmode where{pop setoverprintmode}{pop}ifelse } def",
"~23s",
"/k { 4 copy 4 array astore /pdfFill exch def setcmykcolor",
" /pdfLastFill true def /pdfLastStroke false def } def",
@@ -390,7 +390,7 @@ static const char *prolog[] = {
"~3sn",
" /pdfOPM where {",
" pop",
- " pdfOPM setoverprintmode",
+ " pdfOPM /setoverprintmode where{pop setoverprintmode}{pop}ifelse ",
" } if",
"~23sn",
"} def",
--
cgit v0.9.0.2-2-gbebe
++++++ pre_checkin.sh ++++++
#!/bin/sh
sed -e 's,build_qt 0,build_qt 1,' poppler.spec > poppler-qt.spec
sed -e 's,^Name:.*,Name: poppler-qt,' -i poppler-qt.spec
cp poppler.changes poppler-qt.changes
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package poppler-qt for openSUSE:12.2:Update checked in at 2013-01-02 09:24:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/poppler-qt (Old)
and /work/SRC/openSUSE:12.2:Update/.poppler-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler-qt", Maintainer is "BiLi(a)suse.com"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.F5eLfn/_old 2013-01-02 09:24:12.000000000 +0100
+++ /var/tmp/diff_new_pack.F5eLfn/_new 2013-01-02 09:24:12.000000000 +0100
@@ -1 +1 @@
-<link package='poppler-qt.1015' cicount='copy' />
+<link package='poppler-qt.1193' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package poppler-qt.1193 for openSUSE:12.2:Update checked in at 2013-01-02 09:24:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/poppler-qt.1193 (Old)
and /work/SRC/openSUSE:12.2:Update/.poppler-qt.1193.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler-qt.1193", Maintainer is ""
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_link
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
<link package="poppler.1193" cicount="copy"/>--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0