<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>126737</bug_id>
          
          <creation_ts>2006-03-18 15:50 0000</creation_ts>
          <short_desc>Gnome-screensaver 2.14.0 needs ebuild improvements</short_desc>
          <delta_ts>2006-05-16 01:18:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>2006.0</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>VValdo@gmail.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>jonas@websystem.se</cc>
    
    <cc>ladanyi@tmit.bme.hu</cc>
    
    <cc>maxima.bugs@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-03-18 15:50:07 0000</bug_when>
            <thetext>When in gnome screensaver, and choosing the Help button, I get the error:

&quot;Could not load section

The section &apos;prefs-screensaver&apos; does not exist in this document.  If you were directed to this section from a Help button in an application, please report this to the maintainers of that application.&quot;

So there you go.  Also, I&apos;m trying to figure out how to include xscreensaver modules, but I guess that&apos;s a question for the forums (unless someone wants to volunteer an answer.)

W</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-03-18 16:44:49 0000</bug_when>
            <thetext>To answer my own question...

HOW TO MOVE XSCREENSAVER MODULES TO GNOME-SCREENSAVER (The &quot;worked for me&quot; version)

1.  As root, switch into an empty directory somewhere and download this migration script:  http://cvs.gnome.org/viewcvs/*checkout*/gnome-screensaver/data/migrate-xscreensaver-config.sh?rev=1.1&amp;content-type=text%2Fplain

2.  Also get the .XSL file from here and put it in the same directory as the file above:
http://cvs.gnome.org/viewcvs/gnome-screensaver/data/xscreensaver-config.xsl?rev=1.1&amp;view=log

3.  Give the migration script (migrate-xscreensaver-config.sh) executable privilages with:
chmod u+x migrate-xscreensaver-config.sh

4.  Run the migration script as follows:
./migrate-xscreensaver-config.sh /usr/share/xscreensaver/config/*.xml

5.  A bunch of files ending in .desktop should be made in the local directory.  Copy these to the gnome-screensaver directory as follows:
cp *.desktop /usr/share/gnome-screensaver/themes

6.  Finally, copy the xscreensaver module executables into the gnome-screensaver executable directory:
cp  /usr/lib/misc/xscreensaver/* /usr/libexec/gnome-screensaver

7.  Now go to Desktop-&gt;Preferences-&gt;Screensaver and verify the new modules are there.

(I think I&apos;ll post this in the forum too...  anyway, it worked for me.  Might be nice to have this done automatically if xscreensaver is already installed (and maybe disable xscreensaver too?)

W</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maxima.bugs@gmail.com</who>
            <bug_when>2006-03-19 07:18:43 0000</bug_when>
            <thetext>To get xscreensaver modules working, gnome-screensaver need to be configured with switches xscreensaverdir and xscreensaverhackdir (the bits that AllanonJL commented out in the ebuild) and xscreensaverhackdir needs to point to /usr/lib/misc/xscreensaver (this is where xscreensaver put its modules, configure doesn&apos;t check this dir so we need to specify explicitly). Then do pretty much like comment #1 except
- you can get the script and xsl files from data dir
- you don&apos;t need to do step no. 6
- maybe you need to logout from GNOME and login again

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maxima.bugs@gmail.com</who>
            <bug_when>2006-03-19 07:23:13 0000</bug_when>
            <thetext>Little tip (got it from somewhere) to avoid duplicate screensaver entries in menu when both xscreensaver and gnome-screensaver installed, compile xscreensaver with -gnome.

Maybe this tip can be added on postinst.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-03-19 22:57:38 0000</bug_when>
            <thetext>Updating Summary to reflect the dual nature of this bug (I guess)...

ebuild improvements needed:

1.  Add/fix help so that it works.

2.  Add xscreensaver module support.

Perhaps this could be split into two bugs?  (this bug could be dependent on both)?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maxima.bugs@gmail.com</who>
            <bug_when>2006-03-20 05:05:31 0000</bug_when>
            <thetext>The reason the help doesn&apos;t work is likely because there&apos;s no help written yet. I don&apos;t get any error here, the help button just don&apos;t do anything.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>info@roessner-net.com</who>
            <bug_when>2006-03-21 05:32:53 0000</bug_when>
            <thetext>Created an attachment (id=82771)
gnome-extra/gnome-screensaver/gnome-screensaver-2.14.0.ebuild

I have copied this ebuild from bmg-main and modified it to use fast-user-switch support. This ebuild also works fine with xscreensaver stuff.

Regards
Christian
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>compnerd@gentoo.org</who>
            <bug_when>2006-04-22 21:22:36 0000</bug_when>
            <thetext>The tip and the conversion utility is now included with the 2.14.1 version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jonas@websystem.se</who>
            <bug_when>2006-04-29 16:07:11 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; The tip and the conversion utility is now included with the 2.14.1 version.
&gt; 

Found some more &quot;problems&quot; with the ebuild. Don&apos;t know if it&apos;s &quot;standard&quot; to point to the .txt file when it really is a .txt.gz, most editors don&apos;t mind but if you just copy-and-paste the path it won&apos;t find it, right? It is in the 
pkg_postinst().

The xss-conversion.txt.gz file are missing some important information such that you must copy the exec if you uninstall xscreensaver and the path is wrong, as Waldo said &quot;cp *.desktop /usr/share/gnome-screensaver/themes&quot; and not to &quot;The resulting
.desktop files should be placed into /usr/libexec/gnome-screensaver/&quot; since it is only the exec that needs to be in libexec. 

There are also some &quot;unused&quot; .desktop files in /usr/libexec/gnome-screensaver that also exists in /usr/share/gnome-screensaver/themes.


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>compnerd@gentoo.org</who>
            <bug_when>2006-05-16 01:18:47 0000</bug_when>
            <thetext>Fixed in portage.  Thanks for the comments.  (There is no revbump or version bump as the change is not really that critical).</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>82771</attachid>
            <date>2006-03-21 05:32 0000</date>
            <desc>gnome-extra/gnome-screensaver/gnome-screensaver-2.14.0.ebuild</desc>
            <filename>gnome-screensaver-2.14.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMjAwNSBCcmVha015R2VudG9vLm5ldAojIERpc3RyaWJ1dGVkIHVuZGVyIHRo
ZSB0ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgdjIKIyAkSGVhZGVyOiAk
Cgppbmhlcml0IGV1dGlscyBnbm9tZTIKCkRFU0NSSVBUSU9OPSJHbm9tZSBTY3JlZW5zYXZlciIK
SE9NRVBBR0U9Imh0dHA6Ly93d3cuZ25vbWUub3JnIgoKTElDRU5TRT0iR1BMLTIiClNMT1Q9IjAi
CktFWVdPUkRTPSItKiB+eDg2IH5hbWQ2NCIKSVVTRT0iZG9jIHBhbSB4aW5lcmFtYSBkcG1zIHhy
YW5kciB4c2NyZWVuc2F2ZXIiClJFU1RSSUNUPSJub21pcnJvciIKClJERVBFTkQ9Ij49c3lzLWFw
cHMvZGJ1cy0wLjMwCgk+PWRldi1saWJzL2xpYnhtbDItMi42LjAKCT49Z25vbWUtYmFzZS9nY29u
Zi0yLjYuMQoJPj14MTEtbGlicy9ndGsrLTIuNy4wCgk+PWRldi1saWJzL2dsaWItMi43LjAKCT49
Z25vbWUtYmFzZS9nbm9tZS12ZnMtMi42LjAKCT49Z25vbWUtYmFzZS9saWJnbm9tZXVpLTIuNi4w
Cgk+PWdub21lLWJhc2UvbGliZ2xhZGUtMi41LjAKCT49Z25vbW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