Tim, All,
I recently got my hands on a VPS that I don't have much use for.
It has 300Gb / Month bandwidth, and I certainly won't be using it that
extensively.
Would it be suitable as an mirror?
Calvin Morrison
Guys,
In the latest builds, the widget styles are gone. Plastic (old default) and
Keramic styles are nowhere to be found. Here is a screenshot of what is available:
[54k]
http://www.rlfpllc.com/dl/tde/ss/no-styles-800.jpg
Do we have new build options that we have to give to enable them? I didn't
do anything different in building that would effect what styles got built -
what gives?
--
David C. Rankin, J.D.,P.E.
Hi all,
I've been using kpowersave for some time now but just noticed an old package
by the name of klaptopdaemon. It seems to need some updating but, as someone
who as not yet fully jumped into Trinity, I'd like to ask if it has been
dropped or patched. While kpowersave works mostly ok, the integration of
suspend/resume and hibernate with the system menu is not without flaws. How
does Trinity handle these situations in laptops and what can it be done to
improve it?
Best regards,
Tiago
Guys,
After working to build Qt3 from svn for a day, it became clear that a bit of
cleanup will be needed on the code before and getting a handle on what patches
it contains before it can be usable. I took a bit of time tonight to analyze the
qt-x11-3.3.8b source compared to the trinitydesktop (svn) code in hope of
helping move this process along.
The script I used is here:
http://www.3111skyline.com/dl/dt/trinity/arch/scr/qt3srccmp.sh
The basic setup for running the script is contained in a comment in the top
of the script:
#!/bin/bash --norc
## this presumes you have:
##
## (1) downloaded the trinity desktop qt3 source with svn checkout
## (2) removed the .svn files (tar --exclude-vcs -czf qt3svn.tar.gz qt3/), then
untarred the files in a 'tmp-dir/qt3'
## (3) untarred the qt3-3.3.8b source into the same 'tmp-dir/qt-x11-free-3.3.8b'
#
The script then loops through the files in qt-x11-3.3.8b/ and compares the
files to those in trinitydesktop qt3 (svn). The script summary provides:
6420 - files examined
files in both Qt3 (svn) and qt-x11-free-3.3.8b, reported in:
identical-svn-338b.txt
files in qt-x11-free-3.3.8b but not in Qt3 svn, reported in: missing-svn-338b.txt
diffs for files present in both with differing contents in :
qtdiffs/path/to/filename.diff
All results are available in the tarball available here:
[99k]
http://www.3111skyline.com/dl/dt/trinity/arch/dev/qt3-compare/qt3-svn-v-3.3…
Files included:
-> identical-svn-338b.txt - The script identifies those files that are identical
between 3.3.8b code and svn (not that interesting, but useful for knowing which
patches must still be applied;
-> missing-svn-338b.txt - The files that are included in qt-x11-free-3.3.8b but
are MISSING in trinitydesktop qt3 (svn). This is interesting:
examples/opengl/overlay_x11/utilities/sovinfo/Makefile
examples/opengl/overlay_x11/utilities/glxvisuals/Makefile
extensions/nsplugin/examples/Makefile
doc/Makefile
src/3rdparty/Makefile
src/3rdparty/zlib/Makefile
The most important output is the identification of those file present in both
source trees, but where the content of the files differs. This is wher many of
the problem lie, and where work will need to be done to identify what patches
have been previously applied and those that still need to be applied (or those
that can be removed). This information is contained in 'diff' files created for
each file where this difference was encountered. The diff files are contained
under the qtdiff directory in the tarball (in proper hierarchy and effect the
following files:
qmake/option.cpp.diff
mkspecs/hurd-g++/qmake.conf.diff
mkspecs/linux-g++/qplatformdefs.h.diff
mkspecs/linux-g++/qmake.conf.diff
mkspecs/linux-g++-64/qmake.conf.diff
examples/demo/opengl/fbm.h.diff
examples/demo/opengl/fbm.c.diff
tools/makeqpf/makeqpf.pro.diff
tools/makeqpf/main.cpp.diff
tools/mergetr/mergetr.pro.diff
tools/msg2qm/msg2qm.pro.diff
tools/tools.pro.diff
tools/designer/designer.pro.diff
tools/designer/tools/createcw/createcw.pro.diff
tools/designer/uic/form.cpp.diff
tools/designer/integration/designer.el.diff
tools/qvfb/qvfbview.cpp.diff
tools/qvfb/pda.skin.diff
tools/qvfb/qvfb.cpp.diff
tools/qtconfig/mainwindow.cpp.diff
tools/qtconfig/mainwindow.h.diff
tools/qtconfig/mainwindowbase.ui.diff
tools/qembed/qembed.pro.diff
doc/html/qglobal-h.html.diff
src/codecs/qutfcodec.cpp.diff
src/widgets/qpopupmenu.h.diff
src/widgets/qcombobox.cpp.diff
src/widgets/qtextedit.cpp.diff
src/widgets/qtextedit.h.diff
src/widgets/qscrollview.cpp.diff
src/widgets/qtooltip.cpp.diff
src/widgets/qmenubar.cpp.diff
src/widgets/qbutton.h.diff
src/widgets/qpopupmenu.cpp.diff
src/widgets/qlineedit.h.diff
src/widgets/qlistview.cpp.diff
src/widgets/qlineedit.cpp.diff
src/kernel/qdragobject.h.diff
src/kernel/qfontengine_x11.cpp.diff
src/kernel/qrichtext.cpp.diff
src/kernel/qapplication_x11.cpp.diff
src/kernel/qclipboard_x11.cpp.diff
src/kernel/qfontdatabase_x11.cpp.diff
src/kernel/qinputcontext_x11.cpp.diff
src/kernel/qwidget.h.diff
src/kernel/qrichtext_p.h.diff
src/kernel/qt_kernel.pri.diff
src/kernel/qwidget_x11.cpp.diff
src/kernel/qobject.h.diff
src/kernel/qapplication.cpp.diff
src/kernel/qdnd_x11.cpp.diff
src/kernel/qobject.cpp.diff
src/kernel/qapplication.h.diff
src/kernel/qpixmap_x11.cpp.diff
src/kernel/qwidget.cpp.diff
src/kernel/qdesktopwidget_x11.cpp.diff
src/kernel/qt_x11_p.h.diff
src/kernel/qnamespace.h.diff
src/kernel/qdragobject.cpp.diff
src/kernel/qevent.cpp.diff
src/kernel/qfontdatabase.cpp.diff
src/tools/qstring.h.diff
src/tools/qlibrary.cpp.diff
src/tools/qlocale.cpp.diff
src/tools/qdir_unix.cpp.diff
src/tools/qglobal.h.diff
src/tools/qfeatures.h.diff
src/tools/qfileinfo_unix.cpp.diff
src/qt.pro.diff
src/sql/drivers/odbc/qsql_odbc.h.diff
src/sql/drivers/ibase/qsql_ibase.cpp.diff
src/sql/qt_sql.pri.diff
src/dialogs/qdialog.cpp.diff
src/iconview/qiconview.cpp.diff
src/opengl/qgl_x11.cpp.diff
plugins/src/sqldrivers/odbc/odbc.pro.diff
plugins/src/sqldrivers/ibase/ibase.pro.diff
plugins/src/src.pro.diff
configure.diff
The file diff-file-list.txt in the tarball contains this index. I suspect the
diffs above are the reason I can build from the 3.3.8b code, but my build from
svn crashes.
That's it for tonight. This will allow us to get a handle on what we have in
the qt3 svn dir. Depending on how well documented all the current patches are
that have been applied to the qt3 code in svn, it may be quicker to save the
current qt3 dir on the server and to just start over with the qt-x11-3.3.8b
code. It still builds fine with minimum patching. (you guys make that call)
Feel free to add/remove whatever you like from the qt3srccmp.sh script. It is
as flexible as you want to make it. Adding a bash statement or 2 will allow you
to get 99.9% of the information you want from the two source trees.
Hope this helps :)
--
David C. Rankin, J.D.,P.E.
New one :)
[ 2%] Building CXX object
kdecore/network/CMakeFiles/kdecorenetwork-static.dir/ksocketdevice.cpp.o
cd /build/src/build/kdecore/network && /usr/bin/c++ -DHAVE_CONFIG_H
-march=i686 -mtune=generic -O2 -pipe -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include tqt.h -I/opt/qt/include -I/opt/qt/include/tqt
-I/build/src/build -I/build/src/build/kdecore/network
-I/build/src/kdelibs/kdecore -I/build/src/build/kdecore -fPIC -o
CMakeFiles/kdecorenetwork-static.dir/ksocketdevice.cpp.o -c
/build/src/kdelibs/kdecore/network/ksocketdevice.cpp
In file included from /build/src/kdelibs/kdecore/network/ksocketdevice.cpp:58:0:
/build/src/kdelibs/kdecore/network/ksocketdevice.h:145:21: error:
'TQ_OpenMode' has not been declared
/build/src/kdelibs/kdecore/network/ksocketdevice.cpp:174:26: error: 'bool
KNetwork::KSocketDevice::open' is not a static member of 'class
KNetwork::KSocketDevice'
/build/src/kdelibs/kdecore/network/ksocketdevice.cpp:174:26: error:
'TQ_OpenMode' was not declared in this scope
/build/src/kdelibs/kdecore/network/ksocketdevice.cpp:175:1: error: expected
',' or ';' before '{' token
make[2]: ***
[kdecore/network/CMakeFiles/kdecorenetwork-static.dir/ksocketdevice.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [kdecore/network/CMakeFiles/kdecorenetwork-static.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
--
David C. Rankin, J.D.,P.E.
Amarok made it further than I expected:
[ 49%] Building CXX object amarok/src/CMakeFiles/amarok-shared.dir/Options5.cpp.o
cd /build/src/build/amarok/src && /usr/bin/c++ -Damarok_shared_EXPORTS
-DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fpermissive
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC
-I/build/src/build/amarok/src -I/build/src/amarok/amarok/src
-I/build/src/build -I/build/src/build/amarok/src/amarokcore
-I/build/src/build/amarok/src/magnatunebrowser
-I/build/src/amarok/amarok/src/amarokcore
-I/build/src/amarok/amarok/src/analyzers
-I/build/src/amarok/amarok/src/statusbar -I/build/src/amarok/amarok/src/plugin
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
-I/usr/include/taglib -o CMakeFiles/amarok-shared.dir/Options5.cpp.o -c
/build/src/build/amarok/src/Options5.cpp
In file included from /build/src/build/amarok/src/Options5.cpp:30:0:
/build/src/build/amarok/src/Options5.ui.h: In member function 'void
Options5::init()':
/build/src/build/amarok/src/Options5.ui.h:59:5: error: 'QStringx' is not a
member of 'Amarok'
/build/src/build/amarok/src/Options5.ui.h:59:22: error: expected ';' before 'text'
In file included from /build/src/build/amarok/src/Options5.cpp:30:0:
/build/src/build/amarok/src/Options5.ui.h:86:34: error: 'text' was not
declared in this scope
make[2]: *** [amarok/src/CMakeFiles/amarok-shared.dir/Options5.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [amarok/src/CMakeFiles/amarok-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
--
David C. Rankin, J.D.,P.E.
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in kdewebdev. I'm
building with:
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DCMAKE_CXX_FLAGS="-fpermissive" \
-DWITH_T1LIB=ON \
-DWITH_LIBPAPER=ON \
-DWITH_TIFF=ON \
-DWITH_OPENEXR=ON \
-DWITH_PAM=ON \
-DBUILD_ALL=ON
make
The error is:
[ 77%] Building CXX object
quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o
cd /build/src/build/quanta/parts/kafka && /usr/bin/c++ -DHAVE_CONFIG_H
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64
-mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka
-I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src
-I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers
-I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h
-fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member
function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)':
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using
temporary as lvalue [-fpermissive]
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using
temporary as lvalue [-fpermissive]
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using
temporary as lvalue [-fpermissive]
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using
temporary as lvalue [-fpermissive]
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using
temporary as lvalue [-fpermissive]
/build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using
temporary as lvalue [-fpermissive]
make[2]: ***
[quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I'm not that swift at debugging, but I know enough to know an lvalue problem
-- ain't in my build script :p
--
David C. Rankin, J.D.,P.E.
Tim,
Working with the new Qt3 from svn, I have found 2 issues:
(1) It still needs to be patched for gcc-4.6 (see gcc46-arch.diff); and
(2) The link in src/include for src/inputmethod/qinputcontextfactory.h is missing
--
David C. Rankin, J.D.,P.E.