I think I have a credible list of remaining image file candidates that are corrupt in some way or unviewable. I used find/xargs and imagemagick 'identify' to find the files. I looked for XCF/JPG/JPEG/GIF/SVG/SVGZ/PNG files. (Did I miss any formats?)
Considering the thousands of image files, this is a very short list! :-)
I already fixed several images using upstream sources.
The first remedy was to find the original sources from upstream and hope the image files there were not corrupt. I have exhausted that search. I'll leave to the image experts regarding the best way to repair, if at all.
Darrell
================================
SVG/SVGZ:
identify: no decode delegate for this image format `./tdegraphics/ksvg/test/tiger.svg' @ error/svg.c/ReadSVGImage/2815.
applications/tdesvn/src/pics/hisc-action-tdesvnaddrecursive.svgz ('identify -verbose' stalls with this image; opens in gwenview without incident; opens in karbon but incompletely; definitely something awry)
================================
PNG:
(These images are no longer found upstream. Several days ago I emailed the developer --- no response yet.)
identify: improper image header `./libraries/pytdeextensions/app_templates/kcontrol_module/src/hi16-app-kcontrol_module.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./libraries/pytdeextensions/app_templates/kcontrol_module/src/hi32-app-kcontrol_module.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./libraries/pytdeextensions/app_templates/kdeapp/src/hi16-app-kdeapp.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./libraries/pytdeextensions/app_templates/kdeapp/src/hi32-app-kdeapp.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./libraries/pytdeextensions/app_templates/kdeutility/src/hi16-app-kdeutility.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./libraries/pytdeextensions/app_templates/kdeutility/src/hi32-app-kdeutility.png' @ error/png.c/ReadPNGImage/2957.
(This image from KDE 3.5.10 to 3.4.1 is corrupt too. The default English version: tdeedu/doc/kvoctrain.)
identify: Ignoring bad adaptive filter type `./tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png' @ warning/png.c/PNGWarningHandler/1472.
identify: Extra compressed data `./tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png' @ warning/png.c/PNGWarningHandler/1472.
identify: Extra compression data `./tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png' @ warning/png.c/PNGWarningHandler/1472.
identify: IDAT: CRC error `./tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png' @ error/png.c/PNGErrorHandler/1455.
identify: corrupt image `./tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png' @ error/png.c/ReadPNGImage/2995.
(These images from KDE 3.5.10 to 3.1.5 are corrupt too.)
identify: improper image header `./tdesdk/kapptemplate/kapp/hi16-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kapp/hi32-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kapp/hi48-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kapp/lo16-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kapp/lo32-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartapp/hi16-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartapp/hi32-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartapp/hi48-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartapp/lo16-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartapp/lo32-app-app.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartplugin/hi16-action-plugin.png' @ error/png.c/ReadPNGImage/2957.
identify: improper image header `./tdesdk/kapptemplate/kpartplugin/hi22-action-plugin.png' @ error/png.c/ReadPNGImage/2957.
================================
I am fixing corrupt image files in the Trinity sources. There is one corrupt file in the German tde-i18n sources:
tde-i18n/tde-i18n-de/docs/tdeedu/kvoctrain/verb-query-dlg.png
Most of the image is viewable such that I hope somebody fluent in German can recreate the image.
The default English screen capture (for comparison):
tdeedu/doc/kvoctrain/verb-query-dlg.png
I checked this image from 3.5.10 to 3.4.1. All are corrupt in the same way. The best way to restore the image is to take a new screen grab.
Would somebody fluent in German please run kvoctrain and screen capture the image?
Thank you!
Darrell.
Would somebody please explain, at the complete utter moron level, how to change languages in Trinity so all menus display in that language?
Thanks.
Darrell
One of the benefits of using docbook to maintain the help handbooks is the ability to export to different viewing formats.
Trinity inherits a handful of KDE3 xsl stylesheets that should help us dynamically create online copies of any help handbook.
Ideally, we generate the output nightly of any document in GIT we want at the web site.
Of immediate interest we want to provide a copy of our FAQ in html format for the web site. I'm updating that document but an old copy may be used to help learn how this process should work.
I fiddled with the xsl stylesheets, but I'm missing the big picture how all of this is supposed to flow.
Although there are several stylesheets, there are only four fundamental stylesheets.
On an installed system they will be installed at:
$PREFIX/share/apps/ksgmltools2/customization/.
The primary stylesheets:
/opt/trinity/share/apps/ksgmltools2/customization/kde-chunk-online.xsl
/opt/trinity/share/apps/ksgmltools2/customization/kde-chunk.xsl
/opt/trinity/share/apps/ksgmltools2/customization/kde-nochunk.xsl
/opt/trinity/share/apps/ksgmltools2/customization/kde-web.xsl
kde-chunk.xsl is the default stylesheet and the one used to generate the handbooks when compiling the packages.
Read about the stylesheets here:
$PREFIX/share/apps/ksgmltools2/customization/README
The next trick in the process is the meinproc command. This command validates the integrity of the docbook files as well as use a stylesheet to generate an html page.
The basic command looks like this:
meinproc --check ./index.docbook -o /var/adhoc/faq.html \
--stylesheet /opt/trinity/share/apps/ksgmltools2/customization/kde-nochunk.xsl
For purposes of the web site, the only stylesheet that I have had success is the kde-nochunk.xsl stylesheet, yet even that is not 100% successful. Many of the links in the resulting html are broken because related docbook files are not being converted to html. I need to figure out how to tell the process where to find all of the common images are located as well. I suspect to generate a functional FAQ for the web site we'll need a script to generate all of the necessary pieces in the correct order.
To avoid contaminating your Trinity installation or GIT sources, copy the tdebase source tree to a working directory. Then, for example, cd to tdebase/doc/faq and run the following command:
meinproc --check ./index.docbook -o $WORKING_DIR/faq.html \
--stylesheet $PREFIX/share/apps/ksgmltools2/customization/kde-nochunk.xsl
where $WORKING_DIR is the location where you copied the tdebase sources and $PREFIX is where Trinity is installed (commonly /opt/trinity).
When experimenting with meinproc, know that when the -o switch is not used that all html files will be generated in the current directory.
I have not figured out how to use the -o switch to automatically generate all required html files to another location. When I use the -o switch only the parent html file is generated in that location. I have to omit the -o switch to generate all of the html files and then mv them elsewhere.
Once we get this all figured out we can document the process in etherpad and then write a script to automate this process.
I appreciate any help. :-)
Darrell
David,
I added a second patch to bug report 1063 --- for kmplayer.
Both patches work on my Slackware systems. The oldest release that I build Trinity has glib2-2.22.5 and the newest has glib2-2.28.6 (although that could change in the upcoming weeks).
I believe the cutoff for the "glib.h" failures is enforced starting with glib2-2.31.
In other words, my builds more or less prove backwards compatibility of the patches without needing any preprocessor checks.
I believe Arch is using glib2-2.32.3. Would you please test the kmplayer patch?
Thanks much!
Darrell
All,
I couldn't make the meeting today, but did read the logs. One note I have was
concerning the discussion regarding systemd and whether some distros will move
to it and some not. I want to make sure the issue isn't confused. Not everyone
will move to the systemd init systems, but everyone _will_ move to the systemd
package that provides udev. Arch separates systemd-tools to provide udev. My
guess is that most distros will do something similar to provide a udev package
from it's new upstream. Just know that udev from systemd isn't the same as
adopting systemd init structure. Arch has no plans to move to systemd. Init
scripts further the KISS philosophy, and systemd, while it provides a number of
new tools, it doesn't provide anything necessary to get your box going that your
current sysV or bsd style inits don't.
--
David C. Rankin, J.D.,P.E.
Tim,
While running branding updates, I ran across some problematic desktop files. I don't know how we want to update these files.
These files contain URLs to kde.org:
tdebase/konqueror/sidebar/trees/init/remote/ftp/kde_ftp.desktop
tdebase/konqueror/sidebar/trees/init/remote/web/kde_web.desktop
tdebase/konqueror/sidebar/trees/init/remote/web/apps_web.desktop
tdebase/konqueror/sidebar/trees/init/remote/web/look_web.desktop
tdebase/konqueror/sidebar/trees/init/remote/web/dot_web.desktop
tdebase/kcontrol/ebrowsing/plugins/ikws/searchproviders/kde_websvn.desktop
tdebase/kcontrol/ebrowsing/plugins/ikws/searchproviders/appsy.desktop
tdebase/kcontrol/ebrowsing/plugins/ikws/searchproviders/bugft.desktop
tdebase/kcontrol/ebrowsing/plugins/ikws/searchproviders/kde.desktop
These files use a group heading of [KDE Desktop Pattern], referenced in tdebase/kcontrol/background/bgsettings.cpp:
tdebase/kdesktop/patterns/triangles.desktop
tdebase/kdesktop/patterns/rattan.desktop
tdebase/kdesktop/patterns/fish.desktop
tdebase/kdesktop/patterns/pavement.desktop
tdebase/kdesktop/patterns/flowers.desktop
tdebase/kdesktop/patterns/night-rock.desktop
tdebase/kdesktop/patterns/stonewall2.desktop
These files use a group heading of [KDE Cards], referenced in tdegames/libtdegames/kcarddialog.cpp:
tdegames/libtdegames/carddecks/decks/deck19.desktop
tdegames/libtdegames/carddecks/decks/deck7.desktop
tdegames/libtdegames/carddecks/decks/deck2.desktop
tdegames/libtdegames/carddecks/decks/deck16.desktop
tdegames/libtdegames/carddecks/decks/deck3.desktop
tdegames/libtdegames/carddecks/decks/deck23.desktop
tdegames/libtdegames/carddecks/decks/deck0.desktop
tdegames/libtdegames/carddecks/decks/deck18.desktop
tdegames/libtdegames/carddecks/decks/deck8.desktop
tdegames/libtdegames/carddecks/decks/deck13.desktop
tdegames/libtdegames/carddecks/decks/deck6.desktop
tdegames/libtdegames/carddecks/decks/deck10.desktop
tdegames/libtdegames/carddecks/decks/deck12.desktop
tdegames/libtdegames/carddecks/decks/deck22.desktop
tdegames/libtdegames/carddecks/decks/deck24.desktop
tdegames/libtdegames/carddecks/decks/deck21.desktop
tdegames/libtdegames/carddecks/decks/deck15.desktop
tdegames/libtdegames/carddecks/decks/deck17.desktop
tdegames/libtdegames/carddecks/decks/deck20.desktop
tdegames/libtdegames/carddecks/decks/deck14.desktop
tdegames/libtdegames/carddecks/decks/deck5.desktop
tdegames/libtdegames/carddecks/decks/deck1.desktop
tdegames/libtdegames/carddecks/decks/deck4.desktop
tdegames/libtdegames/carddecks/decks/deck11.desktop
These files use a group heading of [KDE Backdeck], referenced in tdegames/libtdegames/kcarddialog.cpp:
tdegames/libtdegames/carddecks/cards-hard-a-port/index.desktop
tdegames/libtdegames/carddecks/cards-konqi-modern/index.desktop
tdegames/libtdegames/carddecks/cards-default/index.desktop
tdegames/libtdegames/carddecks/cards-warwick/index.desktop
tdegames/libtdegames/carddecks/cards-xskat-german/index.desktop
tdegames/libtdegames/carddecks/cards-penguins/index.desktop
tdegames/libtdegames/carddecks/cards-aisleriot/index.desktop
tdegames/libtdegames/carddecks/cards-spaced/index.desktop
tdegames/libtdegames/carddecks/cards-gdkcard-bonded/index.desktop
tdegames/libtdegames/carddecks/cards-xskat-french/index.desktop
tdegames/libtdegames/carddecks/cards-dondorf-whist-b/index.desktop
Darrell
This Trinity service is installed from tdesdk. Although configured not to start automatically, this service is started by various user actions.
For example, selecting Properties in the konqueror context popup menu will start this Trinity service.
Most users do not need this service running at any time for any reason. As we continually watch for ways to improve Trinity, should this service be started all the time for no apparent reason?
Darrell