All,
This startup tip was rather humorous, but does need fixing:
The K in TDE does not stand for anything. It is the character that comes before
L in the Latin alphabet, which stands for Linux. It was chosen because TDE runs
on many types of UNIX (and perfectly well on FreeBSD).
Those global sed -i "s/KDE/TDE/g" do have consequences -- some unintended :)
--
David C. Rankin, J.D.,P.E.
Darrell, Tim,
In my rebuild tonight, I forgot to removed avahi-tqt from the build array, so
my build script attempted to build it. It still fails. Any progress on figuring
the following out:
==> Building - tde-avahi-tqt...
make all-recursive
make[1]: Entering directory `/build/src/avahi-tqt'
Making all in avahi-tqt
make[2]: Entering directory `/build/src/avahi-tqt/avahi-tqt'
GEN qt-watch.moc3
TQt meta object compiler
moc: Too many input files specified
Usage: moc [options] <header-file>
-o file Write output to file rather than stdout
-f[file] Force #include, optional file name
-p path Path prefix for included file
-i Do not generate an #include statement
-k Do not stop on errors
-nw Do not display warnings
-v Display version of moc
make[2]: *** [qt-watch.moc3] Error 1
make[2]: Leaving directory `/build/src/avahi-tqt/avahi-tqt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/avahi-tqt'
make: *** [all] Error 2
--
David C. Rankin, J.D.,P.E.
Tim, All,
The current default for konqueror file manager "View->Background" is a KDE
logo background. I always have to end up changing the setting to just "color"
to enable the alternate-row highlight that makes looking at files in detail or
tree view much easier.
Two issues: (1) the default background images needs to be adjusted to TDE;
and (2) why enable the background image by default anyway?? It kills
alternate-row highlight. Just food for default thoughts :)
--
David C. Rankin, J.D.,P.E.
The GNU Image Finding Tool (GIFT) package has not been updated in 7 years. I searched the web and seems that almost nobody packages that tool anymore. The only one I found was in the Debian repository split into several packages.
The tdegraphics package installs an option to configure the GIFT in KControl, System Administration.
The BUILD_KMRML option controls building that KControl option. Setting BUILD_KMRML=OFF avoids installing the KControl option but also disables mrml support.
How much work is required to create a build option so the mrml support is built but not the KControl item? This would tie in somewhat with the KControl overhaul project.
Can we use our own dog food and link KControl to a Trinity equivalent mrml app? Do we have any equivalent mrml image indexing tool?
Darrell
All,
How do I add a library to a build in TDE? For some reason, the tdegraphics
cmake setup does not include libXext. I have patched Makefile.am with -lXext and
it is not seen by cmake or used for the build?? (Eg. I patched ksnapshot
Makefile.am as follows):
ksnapshot_LDADD = $(LIB_TDEPRINT) -lXext
However, the ksnapshot link still fails:
/usr/bin/ld: CMakeFiles/ksnapshot.dir/windowgrabber.cpp.o: undefined reference
to symbol 'XShapeQueryExtension'
/usr/bin/ld: note: 'XShapeQueryExtension' is defined in DSO
/usr/lib/libXext.so.6 so try adding it to the linker command line
/usr/lib/libXext.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
I have looked at ConfigureChecks.cmake and all it includes is:
check_include_file( X11/extensions/shape.h HAVE_X11_EXTENSIONS_SHAPE_H )
Can I tell cmake to include the library here? Or should the library inclusion
go elsewhere? If so where?
Is there a link to the cmake functions available in a TDE build? That would be
very helpful to help packages not familiar with cmake held debug, etc..
I have found tde_add_library, but I don't know if that can be used to add an
existing system library or if that is just to tell cmake to build and link the
library?? Also, there are several forms:
tde_add_library( kfaximage STATIC_PIC AUTOMOC
tde_add_library( kfaximage SHARED AUTOMOC
tde_add_library( ksvg SHARED
If I can add libXext with tde_add_library would it be SHARED, STATIC_PIC and
with or without AUTOMOC?
I'm also not convinced that the problem isn't with cmake not concatenating or
forming the link string properly after the problem encountered with libkscan.
Below in the full error, there are man files just listed without any -l or -L
preceding them. Is this correct? The full error I get with the
tdegraphics/ksnapshot build is:
[ 66%] Building CXX object ksnapshot/CMakeFiles/ksnapshot.dir/ksnapshotwidget.cpp.o
cd /build/src/build/ksnapshot && /usr/bin/c++ -DHAVE_CONFIG_H
-DKSNAPVERSION=\"0.7\" -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 -I/build/src/build/ksnapshot
-I/build/src/tdegraphics/ksnapshot -I/build/src/build -I/opt/trinity/include
-I/opt/tqt3/include -I/opt/trinity/include/tqt -o
CMakeFiles/ksnapshot.dir/ksnapshotwidget.cpp.o -c
/build/src/build/ksnapshot/ksnapshotwidget.cpp
Linking CXX executable ksnapshot
cd /build/src/build/ksnapshot && /usr/bin/cmake -E cmake_link_script
CMakeFiles/ksnapshot.dir/link.txt --verbose=1
/usr/bin/c++ -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
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
CMakeFiles/ksnapshot.dir/ksnapshotiface_skel.cpp.o
CMakeFiles/ksnapshot.dir/main.cpp.o CMakeFiles/ksnapshot.dir/ksnapshot.cpp.o
CMakeFiles/ksnapshot.dir/regiongrabber.cpp.o
CMakeFiles/ksnapshot.dir/windowgrabber.cpp.o
CMakeFiles/ksnapshot.dir/ksnapshotwidget.cpp.o -o ksnapshot -rdynamic
-L/opt/trinity/lib -L/opt/tqt3/lib /opt/trinity/lib/libtdeprint.so.4.2.0
/opt/trinity/lib/libkio.so.4.2.0 /opt/trinity/lib/libtdeui.so.4.2.0 -lfreetype
-lfontconfig /opt/trinity/lib/libtdesu.so.4.2.0 -lutil
/opt/trinity/lib/libkwalletclient.so.1.0.1 /opt/trinity/lib/libtdecore.so.4.2.0
/opt/trinity/lib/libDCOP.so.4.2.0 /opt/trinity/lib/libtdefx.so.4.2.0 -ltqt
-ltqt-mt -lXrender -lX11 -lz -lidn -lXcomposite -lICE -lSM
-Wl,-rpath,/opt/trinity/lib:/opt/tqt3/lib:
/usr/bin/ld: CMakeFiles/ksnapshot.dir/windowgrabber.cpp.o: undefined reference
to symbol 'XShapeQueryExtension'
/usr/bin/ld: note: 'XShapeQueryExtension' is defined in DSO
/usr/lib/libXext.so.6 so try adding it to the linker command line
/usr/lib/libXext.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [ksnapshot/ksnapshot] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [ksnapshot/CMakeFiles/ksnapshot.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
Thanks for any help you can offer.
--
David C. Rankin, J.D.,P.E.
Tim,
For R14, the kmenu entries for each of the apps should have a logical home in
the kmenu tree. After loading tdegraphics I have 4 applications in the "More
Applications" lost and found folder. See:
http://www.3111skyline.com/dl/dt/trinity/ss/menu-MoreApplications-AppsNeedG…
They include:
KColorChoose
KColorEdit
KFax
KIconEdit
They are not the big apps like Gimp or the like, but there is no reason they
should be stuffed in an innocuous named "More Applications" folder. I would
propose putting them in the "Graphics/Graphics Utilities" folder. Simply
renaming "More Applications" to "Graphics Utilities" would work. I would also
move other apps from the current "Graphics Menu" into the Graphics Utilities
Menu like:
[Graphic Utilities]
KColorChoose
KColorEdit
KFax
KIconEdit
MPovModeler
KRuler
KSnapshot
I would also collect the 'Viewers' into a like menu of their own. Like
"Graphics/Graphics Viewers"
[Graphic Viewers]
KDVI
KFaxView
FontView
Kview
Kuickshow
That would leave the parent Graphics menu uncluttered and ready to receive the
users main graphic apps. Food for thought for R14
--
David C. Rankin, J.D.,P.E.
Tim,
In kcontrol /Security & Privacy/Password & User Account/ -- I can't set a
photo for user. Under the Login Administration/User tab I selected the order for
setting the icon to be Users,Admin which should allow the user to set his own
face icon (that should allow the user to set his face here shouldn't it?)
When you click on the square box to set the icon, you get this error:
"Your administrator has disallowed changing your image." (bummer)
Anyway, please confirm this behavior. If it is something controlled by kdmrc,
then that will need to be adjusted to allow the user to set his own face by default.
--
David C. Rankin, J.D.,P.E.
I have been looking around the web for an app to convert C++ source code to flow diagrams. I'm looking in the wrong places or nothing exists other than a few commercial apps.
I was hoping the Umbrello tool could help, but that does not convert anything directly.
Is there a way to do this?
I want to map the entire docbook process. As I am still very much a novice C++ coder, I am in over my head trying to trace how everything connects. The process should be documented for the wiki.
Ideas?
Thanks.
Darrell
Serghei,
I have submitted a patch for the libkscan ConfigureChecks.cmake
SANE_LIBRARIES concatenation bug. Please take a look at the patch provided for
http://bugs.pearsoncomputing.net/show_bug.cgi?id=901
I think this will provide a more robust set of REGEX expressions for
dealing with lib and ldflag strings and will work across all distros. The
original REGEX expressions simply removed spaces which would result in flags
being merged together causing the build to fail. This set of REGEX expressions
eliminates all non-library information first leaving only a concise semi-colon
separate list of library names.
In short this is the patch:
--- tdegraphics/libkscan/ConfigureChecks.cmake
+++ tdegraphics/libkscan/ConfigureChecks.cmake 2012-03-08 15:51:30.452794166
-0600
@@ -39,8 +39,14 @@
string( REGEX REPLACE "(^| )-I" ";" SANE_INCLUDE_DIRS "${SANE_INCLUDE_DIRS}" )
endif( )
if( SANE_LIBRARIES )
- string( REGEX REPLACE "(^| )-l" ";" SANE_LIBRARIES "${SANE_LIBRARIES}" )
- string( REPLACE " " "" SANE_LIBRARIES "${SANE_LIBRARIES}" )
+ ## remove all spaces and replace whitespace with ';'
+ string( REGEX REPLACE "[ ]+" ";" SANE_LIBRARIES "${SANE_LIBRARIES}" )
+ ## remove all non-library information
+ string( REGEX REPLACE "[-][^l]([^ ;])+" "" SANE_LIBRARIES "${SANE_LIBRARIES}" )
+ ## remove multiple ';'
+ string( REGEX REPLACE "[;]+" ";" SANE_LIBRARIES "${SANE_LIBRARIES}" )
+ ## remove '-l'
+ string( REGEX REPLACE "-l" "" SANE_LIBRARIES "${SANE_LIBRARIES}" )
endif( )
if( NOT HAVE_SANE )
If it works for you, go ahead and commit it.
--
David C. Rankin, J.D.,P.E.