From kde-bugs-dist Wed Mar 10 00:20:44 2004 From: Ravikiran Rajagopal Date: Wed, 10 Mar 2004 00:20:44 +0000 To: kde-bugs-dist Subject: [Bug 76683] custom ksplash themes dont show when directory and Message-Id: <20040310002044.23886.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=107889815808256 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=76683 ravi kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From ravi kde org 2004-03-10 01:20 ------- CVS commit by ravi: Emphasize in the documentation that the directory name and the theme name should be identical. Fix change in naming scheme introduced by Coolo before 3.2 but after doc freeze. CCMAIL: 76683-done bugs kde org M +20 -12 index.docbook 1.11 --- kdebase/doc/ksplashml/index.docbook #1.10:1.11 @ -1,5 +1,5 @ + @ -34,5 +34,5 @ -2003 +2003-04 Ravikiran Rajagopal @ -141,4 +141,12 @ by assigning key-value pairs as in the example file above. +It is important that the name of the directory under which the +theme files are stored (~/.kde/apps/ksplash/Themes/MyCoolTheme in +our case) and the identifier ([KSplash Theme: MyCoolTheme] + in our case) of the theme in the Theme.rc +file are identical. Otherwise, &ksplash; will not recognize the theme. + + @ -589,6 +597,6 @ -The library should be named as libksplash+lowercasethemename. For our -theme, it will be libksplash2k. +The library should be named as ksplash+lowercasethemename. For our +theme, it will be ksplash2k. It should have a corresponding desktop file which is named as ksplash+lowercasethemename.desktop. For our theme, it will be @ -610,5 +618,5 @ toplevel folder which contains generic files such as AUTHORS, &etc;. We are most interested in the subfolder called 2k. Go into that subfolder -and delete all the files there. Now we have the skeleton we required. +and delete all the files there. Now we have the skeleton we require. @ -627,5 +635,5 @ Name=KSplash2k ServiceTypes=KSplash/Plugin -X-KDE-Library=libksplash2k +X-KDE-Library=ksplash2k X-KSplash-Default=true X-KSplash-PluginName=2k @ -754,5 +762,5 @ Library requirement -K_EXPORT_COMPONENT_FACTORY( libksplash2k, KGenericFactory<Theme2k> ); +K_EXPORT_COMPONENT_FACTORY( ksplash2k, KGenericFactory<Theme2k> ); @ -821,9 +829,9 @ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = libksplash2k.la +kde_module_LTLIBRARIES = ksplash2k.la -libksplash2k_la_SOURCES = theme2k.cpp rotwidget.cpp -libksplash2k_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -libksplash2k_la_LIBADD = $(LIB_KDEUI) -lksplashthemes +ksplash2k_la_SOURCES = theme2k.cpp rotwidget.cpp +ksplash2k_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) +ksplash2k_la_LIBADD = $(LIB_KDEUI) -lksplashthemes METASOURCES = AUTO @ -942,5 +950,5 @ #include "theme2k.moc" -K_EXPORT_COMPONENT_FACTORY( libksplash2k, KGenericFactory<Theme2k> ); +K_EXPORT_COMPONENT_FACTORY( ksplash2k, KGenericFactory<Theme2k> ); Cfg2k::Cfg2k( KConfig * )