[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 76683] custom ksplash themes dont show when directory and
From:       Ravikiran Rajagopal <ravi () kde ! org>
Date:       2004-03-10 0:20:44
Message-ID: 20040310002044.23886.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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  @
 <?xml version="1.0" ?>
 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" \
                "dtd/kdex.dtd" [
-  <!ENTITY kappname "ksplash">
+  <!ENTITY ksplash "KSplash">
   <!ENTITY package "kdebase">
   <!ENTITY % addindex "IGNORE">
 @ -34,5 +34,5  @
 </copyright>
 <copyright>
-<year>2003</year>
+<year>2003-04</year>
 <holder>Ravikiran Rajagopal</holder>
 </copyright>
 @ -141,4 +141,12  @
 by assigning key-value pairs as in the example file above.</para>
 
+<para>It is important that the name of the directory under which the 
+theme files are stored (<filename 
+class="directory">~/.kde/apps/ksplash/Themes/MyCoolTheme</filename> in 
+our case) and the identifier (<literal>[KSplash Theme: MyCoolTheme]
+</literal> in our case) of the theme in the <filename>Theme.rc</filename> 
+file are identical. Otherwise, &ksplash; will not recognize the theme.
+</para>
+
 </sect2>
 
 @ -589,6 +597,6  @
 </para>
 <simplelist>
-<member>The library should be named as \
                <filename>libksplash+lowercasethemename</filename>. For our
-theme, it will be <filename>libksplash2k</filename>.</member>
+<member>The library should be named as \
<filename>ksplash+lowercasethemename</filename>. For our +theme, it will be \
<filename>ksplash2k</filename>.</member>  <member>It should have a corresponding \
desktop file which is named as  \
<filename>ksplash+lowercasethemename.desktop</filename>. 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 <filename \
                class="directory">2k</filename>. 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.
 </para>
 <para>
 @ -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  @
 <title>Library requirement</title>
 <programlisting>
-K_EXPORT_COMPONENT_FACTORY( libksplash2k, KGenericFactory&lt;Theme2k&gt; );
+K_EXPORT_COMPONENT_FACTORY( ksplash2k, KGenericFactory&lt;Theme2k&gt; );
 </programlisting>
 </example>
 @ -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&lt;Theme2k&gt; );
+K_EXPORT_COMPONENT_FACTORY( ksplash2k, KGenericFactory&lt;Theme2k&gt; );
 
 Cfg2k::Cfg2k( KConfig * )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic