I started the process of updating all final HTML install paths so all modules are consistent. The changes are in support of bug report 660.
I pushed a patch to the common admin directory in GIT hash ee037c6f.
I pushed a patch to the common cmake directory in GIT hash d2f658ca.
These patches should replicate down to all other module admin and cmake directories on the main GIT server.
Thereafter everyone building from GIT will need to resync their local repositories to see these changes.
Included is a patch with similar changes to tdelibs kstandarddirs.cpp and kstandarddirs.h. GIT hash 979b0c9a.
There are additional changes that need to be made, mostly in various docbook files, README files, etc., but none of those changes should affect building packages or the final HTML installation location.
The final result of this effort is each package will install the help files in the same location.
To my understanding there is nothing for everybody to do. Just wait several hours to resync.
You should see the patches tomorrow in the Commit Patches web page. At that point I presume the admin/cmake changes will have replicated throughout the entire source tree as well.
Please! Let me know if you experience any build failures. I haven't tried patches like this before.
Darrell
All, Darrell,
tdegraphics, kima and basket now build on gcc 4.7.
tdegraphis: requires -DCMAKE_CXX_FLAGS="-fpermissive"
kima: requires patch to cpufreqdconnection.h (attached)
basket: requires patch to likeback.cpp (attached)
**all patches are attached to bug 958
After getting signoff - please push. The patches are simple header inclusions: eg:
+#include <unistd.h>
+#include <sys/types.h>
--
David C. Rankin, J.D.,P.E.
Tim, Darrell,
Why does the common/cmake/modules/TDESetupPaths.cmake still include the
reference to 'kde' in the HTML path?
_tde_internal_setup_path( HTML_INSTALL_DIR
"${SHARE_INSTALL_PREFIX}/doc/kde/HTML"
I know Darrell has been working on patches to update this location. Couldn't
we just set it here in cmake and then just build all packages letting this
default set the proper location?
--
David C. Rankin, J.D.,P.E.
Would somebody who does not use a sudo based distro please test whether this happens on your system?
1. Start kate as normal user.
2. Start a separate kate session as root using 'tdesu kate'.
Two separate sessions should be open. In the second session you should be able to view the contents of /root.
If only one session is open then you are experiencing the same problem.
No other app seems affected by this behavior.
Thanks much.
Darrell
All,
I just hit a new build failure in tdebase. I don't know if this is related to
a prior patch, a parallel build failure -- or what. I haven't seen this before
with document generation:
Scanning dependencies of target kfind-en-handbook
[ 2%] Generating index.cache.bz2
[ 2%] Built target kmenuedit-en-handbook
Scanning dependencies of target khelpcenter-visualdict-en-handbook
[ 2%] Generating index.cache.bz2
index.docbook:22: parser error : Entity 'tde-release-date' not defined
<date>&tde-release-date;</date>
^
index.docbook:23: parser error : Entity 'tde-release-version' not defined
<releaseinfo>&tde-release-version;</releaseinfo>
^
index.docbook:30: parser error : Entity 'tde-copyright-date' not defined
<year>&tde-copyright-date;</year>
^
make[2]: *** [doc/visualdict/index.cache.bz2] Error 1
make[1]: ***
[doc/visualdict/CMakeFiles/khelpcenter-visualdict-en-handbook.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 2%] Built target kfind-en-handbook
What is wrong with the </year> ??
--
David C. Rankin, J.D.,P.E.
All,
There are 5 patches I continue to apply in arch that should be evaluated for
inclusion in the GIT tree and a decision made. I don't know if they are slated
for inclusion, have already been nixed or what. The patches are:
01-kicker-lockout-applet-button-order.patch
02-doc_location.patch
03-kcontrol_advbg_step.patch
06-nspluginscan-xdgcompliance.patch
08-kip_kdesktop_rounded_icon_text_corners.patch
The builds have performed great with the patches, so I've noticed no adverse
impact anywhere else. I've attached the patches. I think Calvin and Pawell
originally carried them over from a previous arch build, but I'm not certain
about that. Look them over, and let's decide whether they should be included in
the code.
--
David C. Rankin, J.D.,P.E.
Darrell,
I started a new build of tde tonight from scratch. I grabbed the output of the
build failure in tdelibs due to komp-pid.diff. (I know it is experimental -- I
was experimenting :) It is another "error: cannot convert 'TQString' to 'const
char*' in assignment" in tdelibs/tdecore/kapplication.cp:
[ 6%] Building CXX object tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o
cd /build/src/build/tdecore && /usr/bin/c++ -Dtdecore_shared_EXPORTS
-DHAVE_CONFIG_H -march=i686 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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/opt/tqt3/include
-I/usr/include/tqt -I/build/src/build/tdecore -I/build/src/build
-I/build/src/tdelibs/tdecore -I/build/src/tdelibs/tdecore/network
-I/build/src/tdelibs/dcop -I/build/src/tdelibs/libltdl
-I/build/src/tdelibs/tdefx -I/build/src/tdelibs/tdeui
-I/build/src/tdelibs/kio/kio -I/usr/include/libart-2.0 -o
CMakeFiles/tdecore-shared.dir/kapplication.cpp.o -c
/build/src/tdelibs/tdecore/kapplication.cpp
/build/src/tdelibs/tdecore/kapplication.cpp:2039:2: warning: #warning This
should be already in Qt, check. [-Wcpp]
/build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static
bool KApplication::isCompositionManagerAvailable()':
/build/src/tdelibs/tdecore/kapplication.cpp:1791:47: error: cannot convert
'TQString' to 'const char*' in assignment
/build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE
KApplication::getX11RGBAVisual(Display*)':
/build/src/tdelibs/tdecore/kapplication.cpp:1911:10: warning: converting to
non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null]
/build/src/tdelibs/tdecore/kapplication.cpp: In member function 'TQt::HANDLE
KApplication::getX11RGBAColormap(Display*)':
/build/src/tdelibs/tdecore/kapplication.cpp:1921:10: warning: converting to
non-pointer type 'TQt::HANDLE {aka long unsigned int}' from NULL [-Wconversion-null]
/build/src/tdelibs/tdecore/kapplication.cpp: In static member function 'static
void KApplication::sigpipeHandler(int)':
/build/src/tdelibs/tdecore/kapplication.cpp:3595:31: warning: ignoring return
value of 'ssize_t write(int, const void*, size_t)', declared with attribute
warn_unused_result [-Wunused-result]
/build/src/tdelibs/tdecore/kapplication.cpp: In member function 'bool
KApplication::detectCompositionManagerAvailable(bool, bool)':
/build/src/tdelibs/tdecore/kapplication.cpp:1876:42: warning: ignoring return
value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with
attribute warn_unused_result [-Wunused-result]
make[2]: *** [tdecore/CMakeFiles/tdecore-shared.dir/kapplication.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [tdecore/CMakeFiles/tdecore-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
So far the build is progressing with all other patches:
patch -Np0 -i ${pkgname#*-}-XDG-KDE-TDE.diff
## patch kde help dir
patch -Np0 -i ${pkgname#*-}-helpdir.diff
## patch KDE4-detect
patch -Np0 -i ${pkgname#*-}-KDE4-detect.diff
## patch kdetcompmgr
patch -Np0 -i ${pkgname#*-}-kdetcompmgr.diff
## patch recentdocs
patch -Np0 -i ${pkgname#*-}-recentdocs.diff
## patch kdirwatch
patch -Np0 -i ${pkgname#*-}-kdirwatch.diff
I'll report back on the kdirwatch patch improvements once the build is done.
--
David C. Rankin, J.D.,P.E.