From 3cdd456a78f83aaf99ecb19a6797d3afff511d8c20d5877746c85769dfc00ac7 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Wed, 22 Sep 2010 13:47:19 +0000 Subject: [PATCH 1/3] Accepting request 48810 from home:jsmeix:branches:graphics Configure with --enable-pthread (bnc#633780) OBS-URL: https://build.opensuse.org/request/show/48810 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=31 --- sane-backends.changes | 8 ++++++++ sane-backends.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sane-backends.changes b/sane-backends.changes index 376766d..fcb810a 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 22 14:08:26 CEST 2010 - jsmeix@suse.de + +- Configure with --enable-pthread so that backends can use + POSIX threads to implement asynchronous I/O instead of + the default which uses a pipe and forks a reader process + (see openSUSE/Novell Bugzilla bnc#633780). + ------------------------------------------------------------------- Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 11c2d57..d1462b7 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -389,7 +389,9 @@ chmod u+x create_scanner_database autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing" export LDFLAGS="-L/%_lib $LDFLAGS" -# Disable locking because /var/lock/sane/ would be a world-writable directory: +# Enable pthread instead of fork (used in Debian since Feb 2009 and no issues so far), +# see https://bugzilla.novell.com/show_bug.cgi?id=633780 +# Disable locking because /var/lock/sane/ would be a world-writable directory. ./configure --prefix=/usr \ --exec-prefix=/usr \ --sysconfdir=%{_sysconfdir} \ @@ -399,6 +401,7 @@ export LDFLAGS="-L/%_lib $LDFLAGS" --datadir=%{_datadir} \ --with-gphoto2 \ --with-docdir=%{_defaultdocdir}/sane-backends \ + --enable-pthread \ --disable-locking # Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP) # because "99" is the group of the user who runs the build when norootforbuild is used From 291e66a1dd64287344f0c9899eefa64b4c7da431fe108d4d79c238ca48edf896 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 23 Sep 2010 22:19:01 +0000 Subject: [PATCH 2/3] Accepting request 48818 from graphics checked in (request 48818) OBS-URL: https://build.opensuse.org/request/show/48818 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=32 --- sane-backends.changes | 8 -------- sane-backends.spec | 5 +---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/sane-backends.changes b/sane-backends.changes index fcb810a..376766d 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,11 +1,3 @@ -------------------------------------------------------------------- -Wed Sep 22 14:08:26 CEST 2010 - jsmeix@suse.de - -- Configure with --enable-pthread so that backends can use - POSIX threads to implement asynchronous I/O instead of - the default which uses a pipe and forks a reader process - (see openSUSE/Novell Bugzilla bnc#633780). - ------------------------------------------------------------------- Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index d1462b7..11c2d57 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -389,9 +389,7 @@ chmod u+x create_scanner_database autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing" export LDFLAGS="-L/%_lib $LDFLAGS" -# Enable pthread instead of fork (used in Debian since Feb 2009 and no issues so far), -# see https://bugzilla.novell.com/show_bug.cgi?id=633780 -# Disable locking because /var/lock/sane/ would be a world-writable directory. +# Disable locking because /var/lock/sane/ would be a world-writable directory: ./configure --prefix=/usr \ --exec-prefix=/usr \ --sysconfdir=%{_sysconfdir} \ @@ -401,7 +399,6 @@ export LDFLAGS="-L/%_lib $LDFLAGS" --datadir=%{_datadir} \ --with-gphoto2 \ --with-docdir=%{_defaultdocdir}/sane-backends \ - --enable-pthread \ --disable-locking # Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP) # because "99" is the group of the user who runs the build when norootforbuild is used From ac97624fec30e419f31c85c5a140d02ffc494c484e9661fd1e1d2b206f15fb38 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 23 Sep 2010 22:19:02 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/sane-backends revision 49.0 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=f151452876fc113d87a78e6e6ae8bdae --- sane-backends.changes | 8 ++++++++ sane-backends.spec | 7 +++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sane-backends.changes b/sane-backends.changes index 376766d..fcb810a 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 22 14:08:26 CEST 2010 - jsmeix@suse.de + +- Configure with --enable-pthread so that backends can use + POSIX threads to implement asynchronous I/O instead of + the default which uses a pipe and forks a reader process + (see openSUSE/Novell Bugzilla bnc#633780). + ------------------------------------------------------------------- Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 11c2d57..dee4a27 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -31,7 +31,7 @@ Group: Hardware/Scanner AutoReqProv: on Summary: SANE (Scanner Access Now Easy) Scanner Drivers Version: 1.0.21 -Release: 6 +Release: 7 Url: http://www.sane-project.org/ # URL for Source0: https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz # MD5 sum for upstream sane-backends-1.0.21.tar.gz (not our .bz2): be586a23633949cf2ecf0c9c6d769130 @@ -389,7 +389,9 @@ chmod u+x create_scanner_database autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing" export LDFLAGS="-L/%_lib $LDFLAGS" -# Disable locking because /var/lock/sane/ would be a world-writable directory: +# Enable pthread instead of fork (used in Debian since Feb 2009 and no issues so far), +# see https://bugzilla.novell.com/show_bug.cgi?id=633780 +# Disable locking because /var/lock/sane/ would be a world-writable directory. ./configure --prefix=/usr \ --exec-prefix=/usr \ --sysconfdir=%{_sysconfdir} \ @@ -399,6 +401,7 @@ export LDFLAGS="-L/%_lib $LDFLAGS" --datadir=%{_datadir} \ --with-gphoto2 \ --with-docdir=%{_defaultdocdir}/sane-backends \ + --enable-pthread \ --disable-locking # Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP) # because "99" is the group of the user who runs the build when norootforbuild is used