source: lliurex-store/trunk/fuentes/lliurex-store-gui/banner_info.py @ 3773

Last change on this file since 3773 was 3773, checked in by hectorgh, 3 years ago

wip

File size: 2.7 KB
Line 
1import json
2
3a={}
4
5a["large"]=[]
6a["small"]=[]
7
8pkg={}
9
10pkg["banner_url"]=""
11pkg["icon_url"]=""
12pkg["name"]=""
13pkg["debian_name"]=""
14
15pkg["banner_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth.png"
16pkg["icon_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth.png"
17pkg["name"]="Google Earth"
18pkg["debian_name"]="google-earth"
19a["large"].append(pkg)
20
21pkg={}
22pkg["banner_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth2.png"
23pkg["icon_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth2.png"
24pkg["name"]="Inkscape"
25pkg["debian_name"]="inkscape"
26a["large"].append(pkg)
27
28pkg={}
29pkg["banner_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth3.png"
30pkg["icon_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth3.png"
31pkg["name"]="GIMP"
32pkg["debian_name"]="gimp"
33a["large"].append(pkg)
34
35pkg={}
36pkg["banner_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth4.png"
37pkg["icon_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth4.png"
38pkg["name"]="Blender"
39pkg["debian_name"]="blender"
40a["large"].append(pkg)
41
42pkg={}
43pkg["banner_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth5.png"
44pkg["icon_url"]="file:///home/cless/svn/xenial/lliurex-store/trunk/fuentes/lliurex-store-gui/gearth5.png"
45pkg["name"]="Pyromaths"
46pkg["debian_name"]="python-pyromaths"
47a["large"].append(pkg)
48
49pkg={}
50pkg["banner_url"]="https://teoten.files.wordpress.com/2010/02/splash1.png"
51pkg["icon_url"]=None
52pkg["name"]="Ardour"
53pkg["debian_name"]="ardour"
54a["small"].append(pkg)
55
56pkg={}
57pkg["banner_url"]="https://emailclientexpert.files.wordpress.com/2010/11/mozilla_thunderbird.jpg"
58pkg["icon_url"]=None
59pkg["name"]="Thunderbird"
60pkg["debian_name"]="thunderbird"
61a["small"].append(pkg)
62
63pkg={}
64pkg["banner_url"]="http://img.linuxadictos.com/wp-content/uploads/firefox-381.jpg"
65pkg["icon_url"]=None
66pkg["name"]="Firefox"
67pkg["debian_name"]="firefox"
68a["small"].append(pkg)
69
70pkg={}
71pkg["banner_url"]=None
72pkg["icon_url"]="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Darktable_icon.svg/768px-Darktable_icon.svg.png"
73pkg["name"]="Darktable"
74pkg["debian_name"]="darktable"
75a["small"].append(pkg)
76
77pkg={}
78pkg["banner_url"]="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Krita_steam_boxart_Feb_2014.png/220px-Krita_steam_boxart_Feb_2014.png"
79pkg["icon_url"]=None
80pkg["name"]="Firefox"
81pkg["debian_name"]="firefox"
82a["small"].append(pkg)
83
84
85f=open("home_content.json","w")
86f.write(json.dumps(a,indent=4))
87f.close()
88
89
90
91
92
93
Note: See TracBrowser for help on using the repository browser.