This file is indexed.

/usr/share/tpclient-pywx/windows/winSplash.py is in tpclient-pywx 0.3.1.1-3.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import os
from requirements import graphicsdir

try:

	if os.path.exists("NOSPLASHMOVIE"):
		raise ImportError('Splash movie disabled...')

	import time

	os.environ['SDL_VIDEO_CENTERED'] = '1'
	os.environ['SDL_VIDEO_WINDOW_POS'] = "center"
	import pygame

	if not os.path.exists(os.path.join(graphicsdir, "intro-high.mpg")):
		print "Could not find the intro movie", os.path.join(graphicsdir, "intro-high.mpg")
		raise ImportError

	class winSplash(object):
		def __init__(self, application):
			pass

		def Show(self, *args, **kw):
			pygame.init()
			screen = pygame.display.set_mode((640,480), pygame.NOFRAME)
			pygame.mixer.quit()

			try:
				self.movie = pygame.movie.Movie(os.path.join(graphicsdir, "intro-high.mpg"))
				self.movie.set_display(screen, (0,0), )
				self.movie.play()
			except:
				pass

			pygame.display.flip()

		def Hide(self, *args, **kw):
			print "Entered splash hide!"
			while True:
				if not hasattr(self, "movie") or not self.movie.get_busy():
					break

				event = pygame.event.poll()
				if event.type == pygame.NOEVENT:
					time.sleep(0.1)
				elif event.type in (pygame.MOUSEBUTTONUP, pygame.MOUSEBUTTONDOWN, pygame.KEYDOWN, pygame.KEYUP):
					break

			while hasattr(self, "movie") and self.movie.get_busy():
				self.movie.stop()

			pygame.quit()

		def Post(self, evt):
			pass

except ImportError:
	import wx

	class winSplash(wx.SplashScreen):
		def __init__(self, application):
			image = wx.Image(os.path.join(graphicsdir, "splash.png")).ConvertToBitmap()
			wx.SplashScreen.__init__(self, image, wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT, 2500, None, -1)

			self.application = application
		
		def Post(self, evt):
			pass