fix qt4.4 compile issue

This commit is contained in:
Jean-Francois Dockes 2011-02-02 16:33:37 +01:00
parent cb7299e700
commit 2152a5ef85
4 changed files with 21 additions and 15 deletions

View File

@ -7,6 +7,11 @@
RCLVERS=1.15.0 RCLVERS=1.15.0
PPAVERS=1 PPAVERS=1
case $RCLVERS in
1.14*) PPANAME=recoll-ppa;;
*) PPANAME=recoll15-ppa;;
esac
########## QT3 ########## QT3
series3="" series3=""
case $RCLVERS in case $RCLVERS in
@ -23,7 +28,7 @@ if test X$series3 != X; then
sed -e s/SERIES/$series/g < ${debdir}/changelog > \ sed -e s/SERIES/$series/g < ${debdir}/changelog > \
recoll-${RCLVERS}/debian/changelog ; recoll-${RCLVERS}/debian/changelog ;
(cd recoll-${RCLVERS};debuild -S -sa) || break (cd recoll-${RCLVERS};debuild -S -sa) || break
dput recoll-ppa recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes dput $PPANAME recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
done done
fi fi
@ -45,12 +50,12 @@ for series in $series4 ; do
sed -e s/SERIES/$series/g < ${debdir}/changelog > \ sed -e s/SERIES/$series/g < ${debdir}/changelog > \
recoll-${RCLVERS}/debian/changelog ; recoll-${RCLVERS}/debian/changelog ;
(cd recoll-${RCLVERS};debuild -S -sa) || break (cd recoll-${RCLVERS};debuild -S -sa) || break
dput recoll-ppa recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes dput $PPANAME recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
done done
### KIO ### KIO
seriesk="" seriesk=""
seriesk="jaunty karmic lucid maverick" seriesk="jaunty karmic lucid maverick natty"
debdir=debiankio debdir=debiankio
rm -rf recoll-${RCLVERS}/debian rm -rf recoll-${RCLVERS}/debian
@ -59,5 +64,5 @@ for series in $seriesk ; do
sed -e s/SERIES/$series/g < ${debdir}/changelog > \ sed -e s/SERIES/$series/g < ${debdir}/changelog > \
recoll-${RCLVERS}/debian/changelog ; recoll-${RCLVERS}/debian/changelog ;
(cd recoll-${RCLVERS};debuild -S -sa) || break (cd recoll-${RCLVERS};debuild -S -sa) || break
dput recoll-ppa kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
done done

View File

@ -1 +1 @@
1.15.0 1.15.1

View File

@ -217,8 +217,9 @@ int RecollModel::columnCount(const QModelIndex&) const
void RecollModel::readDocSource() void RecollModel::readDocSource()
{ {
LOGDEB(("RecollModel::readDocSource()\n")); LOGDEB(("RecollModel::readDocSource()\n"));
beginResetModel(); reset();
endResetModel(); // beginResetModel();
// endResetModel();
} }
void RecollModel::setDocSource(RefCntr<DocSequence> nsource) void RecollModel::setDocSource(RefCntr<DocSequence> nsource)

View File

@ -188,7 +188,7 @@
<p>There are Personal Package Archives on launchpad.net for <p>There are Personal Package Archives on launchpad.net for
<a href="http://www.launchpad.net/~xapian-backports/+archive/ppa"> <a href="http://www.launchpad.net/~xapian-backports/+archive/ppa">
Xapian</a>, Xapian</a>,
<a href="http://www.launchpad.net/~recoll-backports/+archive/ppa"> <a href="https://launchpad.net/~recoll-backports/+archive/recoll-1.15-on">
Recoll and kio-recoll</a>. These were built from the latest versions, Recoll and kio-recoll</a>. These were built from the latest versions,
for a set of Ubuntu series. You just need to add the for a set of Ubuntu series. You just need to add the
PPAs to your system software sources (the instructions are on PPAs to your system software sources (the instructions are on
@ -209,7 +209,7 @@ gpg --export --armor A0735AD0 | sudo apt-key add -
procedure: procedure:
<pre><tt> <pre><tt>
sudo add-apt-repository ppa:xapian-backports/ppa sudo add-apt-repository ppa:xapian-backports/ppa
sudo add-apt-repository ppa:recoll-backports/ppa sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on
</tt></pre> </tt></pre>
</p> </p>
</blockquote> </blockquote>
@ -263,11 +263,11 @@ sudo add-apt-repository ppa:recoll-backports/ppa
<p><b>Mandriva linux one 2010 with Qt 4 and a static link to <p><b>Mandriva linux one 2010 with Qt 4 and a static link to
Xapian 1.2.3 with the --without-sse configure option.</b>: Xapian 1.2.3 with the --without-sse configure option.</b>:
<a href="mandriva2010/recoll-1.15.0-1mdv2008.1.i586.rpm"> <a href="mandriva2010/recoll-1.15.0-1mdv2010.2.i586.rpm">
recoll-1.15.0-1mdv2008.1.i586.rpm</a>. recoll-1.15.0-1mdv2010.2.i586.rpm</a>.
Source: Source:
<a href="mandriva2008spring/recoll-1.15.0-1mdv2008.1.src.rpm"> <a href="mandriva2010/recoll-1.15.0-1mdv2010.2.src.rpm">
recoll-1.15.0-1mdv2008.1.src.rpm</a> recoll-1.15.0-1mdv2010.2.src.rpm</a>
</p> </p>
</blockquote> </blockquote>
@ -286,8 +286,8 @@ sudo add-apt-repository ppa:recoll-backports/ppa
<p>The FreeBSD ports track the Recoll releases quite <p>The FreeBSD ports track the Recoll releases quite
closely, so there is actually little point in using the closely, so there is actually little point in using the
following (except that the port is currently (10-2010) broken).</p> following (except that the port is currently (10-2010) broken).</p>
<p><b>FreeBSD 7.3 i386 Qt 4.6.1. Statically linked to <p><b>FreeBSD 7.3 i386 Qt 4.7.1</b> Statically linked to
Xapian 1.2.3 with --disable-sse</b>: Xapian 1.2.3 with --disable-sse:
<a href="freebsd/recoll-1.15.0-FreeBSD-7.3-STABLE.tgz"> <a href="freebsd/recoll-1.15.0-FreeBSD-7.3-STABLE.tgz">
recoll-1.15.0-FreeBSD-7.3-STABLE.tgz</a> recoll-1.15.0-FreeBSD-7.3-STABLE.tgz</a>
</p> </p>