Send plymouth mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."
Today's Topics:
1. Globs or Wildcards in scripts? (Joel Bryan Juliano)
2. Re: Globs or Wildcards in scripts? (Charlie Brej)
3. Re: Globs or Wildcards in scripts? (Joel Bryan Juliano)
4. Re: Globs or Wildcards in scripts? (Charlie Brej)
5. 0.8.2 Released (Ray Strode)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Apr 2010 05:08:27 +0800
From: Joel Bryan Juliano <[email protected]>
Subject: Globs or Wildcards in scripts?
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi,
I'm creating a simple slideshow plymouth theme that is very similar to
the glow example theme, however the images does not contain
transparency and will scale from 640x480 to the most possible KMS
resolutions, so I like to write a script for it.
In the Plymouth/Scripts wiki on freedesktop, declaring a resource is doing,
box_image = Image ("box.png")
what I want to accomplish is something similar to this,
continous_images_for_slideshow.each do { |slideshowfiles|
image=[]
image << "Image (#{slideshowfiles})"
sprite = Sprite(image).setX # now perform actions in each sprite
like opacity, etc.
}
Or in Python
for slideshow_images in ('special://logo'):
globals()[slideshow_images] = Sprite().setX(..)
globals()[slideshow_images] = Sprite().setY(..)
globals()[slideshow_images] = ...
------------------------------
Message: 2
Date: Sun, 11 Apr 2010 23:44:48 +0100
From: Charlie Brej <[email protected]>
Subject: Re: Globs or Wildcards in scripts?
To: Joel Bryan Juliano <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 04/11/2010 10:08 PM, Joel Bryan Juliano wrote:
> Hi,
>
> I'm creating a simple slideshow plymouth theme that is very similar to
> the glow example theme, however the images does not contain
> transparency and will scale from 640x480 to the most possible KMS
> resolutions, so I like to write a script for it.
Are you trying to load a set of numbered images into an array?
Is this what you need?:
index = 0;
while (1){
index_string = index;
if (index < 10) index_string = "0" + index_string;
frame_image[index] = ImageNew("base" + index_string + ".png");
if (!frame_image[index]) break;
index++;
}
An old example script did some of these things:
http://cgit.freedesktop.org/plymouth/tree/themes/script/script.script?h=scripted-plugin&id=543f29a5756e6e256d4c078f6c6314d9e185e792
------------------------------
Message: 3
Date: Mon, 12 Apr 2010 15:34:25 +0800
From: Joel Bryan Juliano <[email protected]>
Subject: Re: Globs or Wildcards in scripts?
To: Charlie Brej <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Yes, thank you for this, however, I'm stuck, It seems to display only
the last frame, is there a way to clear an existing instance and
display the images for each frame?
On Mon, Apr 12, 2010 at 6:44 AM, Charlie Brej <[email protected]> wrote:
> On 04/11/2010 10:08 PM, Joel Bryan Juliano wrote:
>>
>> Hi,
>>
>> I'm creating a simple slideshow plymouth theme that is very similar to
>> the glow example theme, however the images does not contain
>> transparency and will scale from 640x480 to the most possible KMS
>> resolutions, so I like to write a script for it.
>
> Are you trying to load a set of numbered images into an array?
> Is this what you need?:
> index = 0;
> while (1){
> ? ?index_string = index;
> ? ?if (index < 10) index_string = "0" + index_string;
> ? ?frame_image[index] = ImageNew("base" + index_string + ".png");
> ? ?if (!frame_image[index]) break;
> ? ?index++;
> ? ?}
>
> An old example script did some of these things:
> http://cgit.freedesktop.org/plymouth/tree/themes/script/script.script?h=scripted-plugin&id=543f29a5756e6e256d4c078f6c6314d9e185e792
>
--
"It is not the things we do in life that we regret, on our deathbed,
it is the things we do not.
Find your passions, and follow it, and if there's anything I have
learned in my life, you will not find those passions in things, and
you will not find those passion in money. Because the more things and
money you have, the more you will just look around and use that as a
metric, there will always be someone with more.
That passions will be grounded in people. And it would be grounded in
relationships you have with people and what they think of you, when
your time comes."
- Randy Pausch
------------------------------
Message: 4
Date: Mon, 12 Apr 2010 09:56:59 +0100
From: Charlie Brej <[email protected]>
Subject: Re: Globs or Wildcards in scripts?
To: Joel Bryan Juliano <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 04/12/2010 08:34 AM, Joel Bryan Juliano wrote:
> Yes, thank you for this, however, I'm stuck, It seems to display only
> the last frame, is there a way to clear an existing instance and
> display the images for each frame?
Not sure what you mean. You will have to either send your current code,
or join #plymouth on freenode irc and show me there.
------------------------------
Message: 5
Date: Mon, 12 Apr 2010 14:02:40 -0400
From: Ray Strode <[email protected]>
Subject: 0.8.2 Released
To: plymouth <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
This is a bug fix release. Changes include:
- Improved debugging verbosity
- Keyboard handling fixes
- Build fixes with wonky libdrm versions
- Better tty handling on crashes
- Improved robustness when unloading and reloading splashes
- "Enter key" support in watch-for-keystroke command
- Alpha channel support for text in script plugin
- Better backward compatibility in plymouth-set-default-theme
with old symlink method.
Tarballs for this release and all previous releases are available here:
http://www.freedesktop.org/software/plymouth/releases/
More information about Plymouth can be found here:
http://www.freedesktop.org/wiki/Software/Plymouth
------------------------------
_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth
End of plymouth Digest, Vol 18, Issue 1
***************************************