wok-6.x rev 20046
Add Turbine v1.0 by The SliTaz DevTeam.
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/turbine/description.txt Thu Aug 31 05:31:36 2017 -0300 1.3 @@ -0,0 +1,3 @@ 1.4 +**Turbine** is an application to improve memory by cleaning 1.5 +dead and frozen processes. Turbine is built to clear memory 1.6 +in SliTaz OS.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/turbine/receipt Thu Aug 31 05:31:36 2017 -0300 2.3 @@ -0,0 +1,46 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="turbine" 2.7 +VERSION="1.0" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="The Memory Cleaner for SliTaz." 2.10 +MAINTAINER="devel@slitaz.org" 2.11 +LICENSE="GPLv3" 2.12 +WEB_SITE="http://people.slitaz.org/~leonardolaporte/sh/turbine" 2.13 + 2.14 +DEPENDS="bash librsvg yad-gtk2-html" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + 2.20 +local_dir="var/www/cgi-bin/turbine" 2.21 +launcher_dir="usr/share/applications" 2.22 + 2.23 + mkdir -p $fs/$local_dir $fs/$launcher_dir 2.24 + 2.25 + cp -a stuff/* $fs/$local_dir 2.26 + cp -a stuff/res/desktop/turbine.desktop $fs/$launcher_dir 2.27 + 2.28 +} 2.29 + 2.30 +post_install() 2.31 +{ 2.32 + 2.33 +startup_app="$1/var/www/cgi-bin/turbine/turbine" 2.34 +quit_app="$1/var/www/cgi-bin/turbine/res/base/quit" 2.35 + 2.36 + chmod +x $startup_app $quit_app 2.37 + cd $1/usr/bin && ln -s $startup_app turbine 2.38 + exit 2.39 + 2.40 +} 2.41 + 2.42 +post_remove() 2.43 +{ 2.44 + 2.45 + # Remove the symbolic link. 2.46 + rm -rf $1/usr/bin/turbine 2.47 + exit 2.48 + 2.49 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/turbine/stuff/AUTHORS Thu Aug 31 05:31:36 2017 -0300 3.3 @@ -0,0 +1,1 @@ 3.4 +Leonardo Laporte "hackdorte" <hackdorte@yandex.com>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/turbine/stuff/DEV_README Thu Aug 31 05:31:36 2017 -0300 4.3 @@ -0,0 +1,9 @@ 4.4 +Please, if you improve the application include your name in 4.5 +the AUTHORS file. All source code is in "stuff" directory. 4.6 + 4.7 +I dedicate this work to all SliTaz Developers. 4.8 + 4.9 +Thank you. 4.10 + 4.11 +Leonardo Laporte 4.12 +hackdorte@yandex.com
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/turbine/stuff/LICENSE Thu Aug 31 05:31:36 2017 -0300 5.3 @@ -0,0 +1,674 @@ 5.4 + GNU GENERAL PUBLIC LICENSE 5.5 + Version 3, 29 June 2007 5.6 + 5.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 5.8 + Everyone is permitted to copy and distribute verbatim copies 5.9 + of this license document, but changing it is not allowed. 5.10 + 5.11 + Preamble 5.12 + 5.13 + The GNU General Public License is a free, copyleft license for 5.14 +software and other kinds of works. 5.15 + 5.16 + The licenses for most software and other practical works are designed 5.17 +to take away your freedom to share and change the works. By contrast, 5.18 +the GNU General Public License is intended to guarantee your freedom to 5.19 +share and change all versions of a program--to make sure it remains free 5.20 +software for all its users. We, the Free Software Foundation, use the 5.21 +GNU General Public License for most of our software; it applies also to 5.22 +any other work released this way by its authors. You can apply it to 5.23 +your programs, too. 5.24 + 5.25 + When we speak of free software, we are referring to freedom, not 5.26 +price. Our General Public Licenses are designed to make sure that you 5.27 +have the freedom to distribute copies of free software (and charge for 5.28 +them if you wish), that you receive source code or can get it if you 5.29 +want it, that you can change the software or use pieces of it in new 5.30 +free programs, and that you know you can do these things. 5.31 + 5.32 + To protect your rights, we need to prevent others from denying you 5.33 +these rights or asking you to surrender the rights. Therefore, you have 5.34 +certain responsibilities if you distribute copies of the software, or if 5.35 +you modify it: responsibilities to respect the freedom of others. 5.36 + 5.37 + For example, if you distribute copies of such a program, whether 5.38 +gratis or for a fee, you must pass on to the recipients the same 5.39 +freedoms that you received. You must make sure that they, too, receive 5.40 +or can get the source code. And you must show them these terms so they 5.41 +know their rights. 5.42 + 5.43 + Developers that use the GNU GPL protect your rights with two steps: 5.44 +(1) assert copyright on the software, and (2) offer you this License 5.45 +giving you legal permission to copy, distribute and/or modify it. 5.46 + 5.47 + For the developers' and authors' protection, the GPL clearly explains 5.48 +that there is no warranty for this free software. For both users' and 5.49 +authors' sake, the GPL requires that modified versions be marked as 5.50 +changed, so that their problems will not be attributed erroneously to 5.51 +authors of previous versions. 5.52 + 5.53 + Some devices are designed to deny users access to install or run 5.54 +modified versions of the software inside them, although the manufacturer 5.55 +can do so. This is fundamentally incompatible with the aim of 5.56 +protecting users' freedom to change the software. The systematic 5.57 +pattern of such abuse occurs in the area of products for individuals to 5.58 +use, which is precisely where it is most unacceptable. Therefore, we 5.59 +have designed this version of the GPL to prohibit the practice for those 5.60 +products. If such problems arise substantially in other domains, we 5.61 +stand ready to extend this provision to those domains in future versions 5.62 +of the GPL, as needed to protect the freedom of users. 5.63 + 5.64 + Finally, every program is threatened constantly by software patents. 5.65 +States should not allow patents to restrict development and use of 5.66 +software on general-purpose computers, but in those that do, we wish to 5.67 +avoid the special danger that patents applied to a free program could 5.68 +make it effectively proprietary. To prevent this, the GPL assures that 5.69 +patents cannot be used to render the program non-free. 5.70 + 5.71 + The precise terms and conditions for copying, distribution and 5.72 +modification follow. 5.73 + 5.74 + TERMS AND CONDITIONS 5.75 + 5.76 + 0. Definitions. 5.77 + 5.78 + "This License" refers to version 3 of the GNU General Public License. 5.79 + 5.80 + "Copyright" also means copyright-like laws that apply to other kinds of 5.81 +works, such as semiconductor masks. 5.82 + 5.83 + "The Program" refers to any copyrightable work licensed under this 5.84 +License. Each licensee is addressed as "you". "Licensees" and 5.85 +"recipients" may be individuals or organizations. 5.86 + 5.87 + To "modify" a work means to copy from or adapt all or part of the work 5.88 +in a fashion requiring copyright permission, other than the making of an 5.89 +exact copy. The resulting work is called a "modified version" of the 5.90 +earlier work or a work "based on" the earlier work. 5.91 + 5.92 + A "covered work" means either the unmodified Program or a work based 5.93 +on the Program. 5.94 + 5.95 + To "propagate" a work means to do anything with it that, without 5.96 +permission, would make you directly or secondarily liable for 5.97 +infringement under applicable copyright law, except executing it on a 5.98 +computer or modifying a private copy. Propagation includes copying, 5.99 +distribution (with or without modification), making available to the 5.100 +public, and in some countries other activities as well. 5.101 + 5.102 + To "convey" a work means any kind of propagation that enables other 5.103 +parties to make or receive copies. Mere interaction with a user through 5.104 +a computer network, with no transfer of a copy, is not conveying. 5.105 + 5.106 + An interactive user interface displays "Appropriate Legal Notices" 5.107 +to the extent that it includes a convenient and prominently visible 5.108 +feature that (1) displays an appropriate copyright notice, and (2) 5.109 +tells the user that there is no warranty for the work (except to the 5.110 +extent that warranties are provided), that licensees may convey the 5.111 +work under this License, and how to view a copy of this License. If 5.112 +the interface presents a list of user commands or options, such as a 5.113 +menu, a prominent item in the list meets this criterion. 5.114 + 5.115 + 1. Source Code. 5.116 + 5.117 + The "source code" for a work means the preferred form of the work 5.118 +for making modifications to it. "Object code" means any non-source 5.119 +form of a work. 5.120 + 5.121 + A "Standard Interface" means an interface that either is an official 5.122 +standard defined by a recognized standards body, or, in the case of 5.123 +interfaces specified for a particular programming language, one that 5.124 +is widely used among developers working in that language. 5.125 + 5.126 + The "System Libraries" of an executable work include anything, other 5.127 +than the work as a whole, that (a) is included in the normal form of 5.128 +packaging a Major Component, but which is not part of that Major 5.129 +Component, and (b) serves only to enable use of the work with that 5.130 +Major Component, or to implement a Standard Interface for which an 5.131 +implementation is available to the public in source code form. A 5.132 +"Major Component", in this context, means a major essential component 5.133 +(kernel, window system, and so on) of the specific operating system 5.134 +(if any) on which the executable work runs, or a compiler used to 5.135 +produce the work, or an object code interpreter used to run it. 5.136 + 5.137 + The "Corresponding Source" for a work in object code form means all 5.138 +the source code needed to generate, install, and (for an executable 5.139 +work) run the object code and to modify the work, including scripts to 5.140 +control those activities. However, it does not include the work's 5.141 +System Libraries, or general-purpose tools or generally available free 5.142 +programs which are used unmodified in performing those activities but 5.143 +which are not part of the work. For example, Corresponding Source 5.144 +includes interface definition files associated with source files for 5.145 +the work, and the source code for shared libraries and dynamically 5.146 +linked subprograms that the work is specifically designed to require, 5.147 +such as by intimate data communication or control flow between those 5.148 +subprograms and other parts of the work. 5.149 + 5.150 + The Corresponding Source need not include anything that users 5.151 +can regenerate automatically from other parts of the Corresponding 5.152 +Source. 5.153 + 5.154 + The Corresponding Source for a work in source code form is that 5.155 +same work. 5.156 + 5.157 + 2. Basic Permissions. 5.158 + 5.159 + All rights granted under this License are granted for the term of 5.160 +copyright on the Program, and are irrevocable provided the stated 5.161 +conditions are met. This License explicitly affirms your unlimited 5.162 +permission to run the unmodified Program. The output from running a 5.163 +covered work is covered by this License only if the output, given its 5.164 +content, constitutes a covered work. This License acknowledges your 5.165 +rights of fair use or other equivalent, as provided by copyright law. 5.166 + 5.167 + You may make, run and propagate covered works that you do not 5.168 +convey, without conditions so long as your license otherwise remains 5.169 +in force. You may convey covered works to others for the sole purpose 5.170 +of having them make modifications exclusively for you, or provide you 5.171 +with facilities for running those works, provided that you comply with 5.172 +the terms of this License in conveying all material for which you do 5.173 +not control copyright. Those thus making or running the covered works 5.174 +for you must do so exclusively on your behalf, under your direction 5.175 +and control, on terms that prohibit them from making any copies of 5.176 +your copyrighted material outside their relationship with you. 5.177 + 5.178 + Conveying under any other circumstances is permitted solely under 5.179 +the conditions stated below. Sublicensing is not allowed; section 10 5.180 +makes it unnecessary. 5.181 + 5.182 + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 5.183 + 5.184 + No covered work shall be deemed part of an effective technological 5.185 +measure under any applicable law fulfilling obligations under article 5.186 +11 of the WIPO copyright treaty adopted on 20 December 1996, or 5.187 +similar laws prohibiting or restricting circumvention of such 5.188 +measures. 5.189 + 5.190 + When you convey a covered work, you waive any legal power to forbid 5.191 +circumvention of technological measures to the extent such circumvention 5.192 +is effected by exercising rights under this License with respect to 5.193 +the covered work, and you disclaim any intention to limit operation or 5.194 +modification of the work as a means of enforcing, against the work's 5.195 +users, your or third parties' legal rights to forbid circumvention of 5.196 +technological measures. 5.197 + 5.198 + 4. Conveying Verbatim Copies. 5.199 + 5.200 + You may convey verbatim copies of the Program's source code as you 5.201 +receive it, in any medium, provided that you conspicuously and 5.202 +appropriately publish on each copy an appropriate copyright notice; 5.203 +keep intact all notices stating that this License and any 5.204 +non-permissive terms added in accord with section 7 apply to the code; 5.205 +keep intact all notices of the absence of any warranty; and give all 5.206 +recipients a copy of this License along with the Program. 5.207 + 5.208 + You may charge any price or no price for each copy that you convey, 5.209 +and you may offer support or warranty protection for a fee. 5.210 + 5.211 + 5. Conveying Modified Source Versions. 5.212 + 5.213 + You may convey a work based on the Program, or the modifications to 5.214 +produce it from the Program, in the form of source code under the 5.215 +terms of section 4, provided that you also meet all of these conditions: 5.216 + 5.217 + a) The work must carry prominent notices stating that you modified 5.218 + it, and giving a relevant date. 5.219 + 5.220 + b) The work must carry prominent notices stating that it is 5.221 + released under this License and any conditions added under section 5.222 + 7. This requirement modifies the requirement in section 4 to 5.223 + "keep intact all notices". 5.224 + 5.225 + c) You must license the entire work, as a whole, under this 5.226 + License to anyone who comes into possession of a copy. This 5.227 + License will therefore apply, along with any applicable section 7 5.228 + additional terms, to the whole of the work, and all its parts, 5.229 + regardless of how they are packaged. This License gives no 5.230 + permission to license the work in any other way, but it does not 5.231 + invalidate such permission if you have separately received it. 5.232 + 5.233 + d) If the work has interactive user interfaces, each must display 5.234 + Appropriate Legal Notices; however, if the Program has interactive 5.235 + interfaces that do not display Appropriate Legal Notices, your 5.236 + work need not make them do so. 5.237 + 5.238 + A compilation of a covered work with other separate and independent 5.239 +works, which are not by their nature extensions of the covered work, 5.240 +and which are not combined with it such as to form a larger program, 5.241 +in or on a volume of a storage or distribution medium, is called an 5.242 +"aggregate" if the compilation and its resulting copyright are not 5.243 +used to limit the access or legal rights of the compilation's users 5.244 +beyond what the individual works permit. Inclusion of a covered work 5.245 +in an aggregate does not cause this License to apply to the other 5.246 +parts of the aggregate. 5.247 + 5.248 + 6. Conveying Non-Source Forms. 5.249 + 5.250 + You may convey a covered work in object code form under the terms 5.251 +of sections 4 and 5, provided that you also convey the 5.252 +machine-readable Corresponding Source under the terms of this License, 5.253 +in one of these ways: 5.254 + 5.255 + a) Convey the object code in, or embodied in, a physical product 5.256 + (including a physical distribution medium), accompanied by the 5.257 + Corresponding Source fixed on a durable physical medium 5.258 + customarily used for software interchange. 5.259 + 5.260 + b) Convey the object code in, or embodied in, a physical product 5.261 + (including a physical distribution medium), accompanied by a 5.262 + written offer, valid for at least three years and valid for as 5.263 + long as you offer spare parts or customer support for that product 5.264 + model, to give anyone who possesses the object code either (1) a 5.265 + copy of the Corresponding Source for all the software in the 5.266 + product that is covered by this License, on a durable physical 5.267 + medium customarily used for software interchange, for a price no 5.268 + more than your reasonable cost of physically performing this 5.269 + conveying of source, or (2) access to copy the 5.270 + Corresponding Source from a network server at no charge. 5.271 + 5.272 + c) Convey individual copies of the object code with a copy of the 5.273 + written offer to provide the Corresponding Source. This 5.274 + alternative is allowed only occasionally and noncommercially, and 5.275 + only if you received the object code with such an offer, in accord 5.276 + with subsection 6b. 5.277 + 5.278 + d) Convey the object code by offering access from a designated 5.279 + place (gratis or for a charge), and offer equivalent access to the 5.280 + Corresponding Source in the same way through the same place at no 5.281 + further charge. You need not require recipients to copy the 5.282 + Corresponding Source along with the object code. If the place to 5.283 + copy the object code is a network server, the Corresponding Source 5.284 + may be on a different server (operated by you or a third party) 5.285 + that supports equivalent copying facilities, provided you maintain 5.286 + clear directions next to the object code saying where to find the 5.287 + Corresponding Source. Regardless of what server hosts the 5.288 + Corresponding Source, you remain obligated to ensure that it is 5.289 + available for as long as needed to satisfy these requirements. 5.290 + 5.291 + e) Convey the object code using peer-to-peer transmission, provided 5.292 + you inform other peers where the object code and Corresponding 5.293 + Source of the work are being offered to the general public at no 5.294 + charge under subsection 6d. 5.295 + 5.296 + A separable portion of the object code, whose source code is excluded 5.297 +from the Corresponding Source as a System Library, need not be 5.298 +included in conveying the object code work. 5.299 + 5.300 + A "User Product" is either (1) a "consumer product", which means any 5.301 +tangible personal property which is normally used for personal, family, 5.302 +or household purposes, or (2) anything designed or sold for incorporation 5.303 +into a dwelling. In determining whether a product is a consumer product, 5.304 +doubtful cases shall be resolved in favor of coverage. For a particular 5.305 +product received by a particular user, "normally used" refers to a 5.306 +typical or common use of that class of product, regardless of the status 5.307 +of the particular user or of the way in which the particular user 5.308 +actually uses, or expects or is expected to use, the product. A product 5.309 +is a consumer product regardless of whether the product has substantial 5.310 +commercial, industrial or non-consumer uses, unless such uses represent 5.311 +the only significant mode of use of the product. 5.312 + 5.313 + "Installation Information" for a User Product means any methods, 5.314 +procedures, authorization keys, or other information required to install 5.315 +and execute modified versions of a covered work in that User Product from 5.316 +a modified version of its Corresponding Source. The information must 5.317 +suffice to ensure that the continued functioning of the modified object 5.318 +code is in no case prevented or interfered with solely because 5.319 +modification has been made. 5.320 + 5.321 + If you convey an object code work under this section in, or with, or 5.322 +specifically for use in, a User Product, and the conveying occurs as 5.323 +part of a transaction in which the right of possession and use of the 5.324 +User Product is transferred to the recipient in perpetuity or for a 5.325 +fixed term (regardless of how the transaction is characterized), the 5.326 +Corresponding Source conveyed under this section must be accompanied 5.327 +by the Installation Information. But this requirement does not apply 5.328 +if neither you nor any third party retains the ability to install 5.329 +modified object code on the User Product (for example, the work has 5.330 +been installed in ROM). 5.331 + 5.332 + The requirement to provide Installation Information does not include a 5.333 +requirement to continue to provide support service, warranty, or updates 5.334 +for a work that has been modified or installed by the recipient, or for 5.335 +the User Product in which it has been modified or installed. Access to a 5.336 +network may be denied when the modification itself materially and 5.337 +adversely affects the operation of the network or violates the rules and 5.338 +protocols for communication across the network. 5.339 + 5.340 + Corresponding Source conveyed, and Installation Information provided, 5.341 +in accord with this section must be in a format that is publicly 5.342 +documented (and with an implementation available to the public in 5.343 +source code form), and must require no special password or key for 5.344 +unpacking, reading or copying. 5.345 + 5.346 + 7. Additional Terms. 5.347 + 5.348 + "Additional permissions" are terms that supplement the terms of this 5.349 +License by making exceptions from one or more of its conditions. 5.350 +Additional permissions that are applicable to the entire Program shall 5.351 +be treated as though they were included in this License, to the extent 5.352 +that they are valid under applicable law. If additional permissions 5.353 +apply only to part of the Program, that part may be used separately 5.354 +under those permissions, but the entire Program remains governed by 5.355 +this License without regard to the additional permissions. 5.356 + 5.357 + When you convey a copy of a covered work, you may at your option 5.358 +remove any additional permissions from that copy, or from any part of 5.359 +it. (Additional permissions may be written to require their own 5.360 +removal in certain cases when you modify the work.) You may place 5.361 +additional permissions on material, added by you to a covered work, 5.362 +for which you have or can give appropriate copyright permission. 5.363 + 5.364 + Notwithstanding any other provision of this License, for material you 5.365 +add to a covered work, you may (if authorized by the copyright holders of 5.366 +that material) supplement the terms of this License with terms: 5.367 + 5.368 + a) Disclaiming warranty or limiting liability differently from the 5.369 + terms of sections 15 and 16 of this License; or 5.370 + 5.371 + b) Requiring preservation of specified reasonable legal notices or 5.372 + author attributions in that material or in the Appropriate Legal 5.373 + Notices displayed by works containing it; or 5.374 + 5.375 + c) Prohibiting misrepresentation of the origin of that material, or 5.376 + requiring that modified versions of such material be marked in 5.377 + reasonable ways as different from the original version; or 5.378 + 5.379 + d) Limiting the use for publicity purposes of names of licensors or 5.380 + authors of the material; or 5.381 + 5.382 + e) Declining to grant rights under trademark law for use of some 5.383 + trade names, trademarks, or service marks; or 5.384 + 5.385 + f) Requiring indemnification of licensors and authors of that 5.386 + material by anyone who conveys the material (or modified versions of 5.387 + it) with contractual assumptions of liability to the recipient, for 5.388 + any liability that these contractual assumptions directly impose on 5.389 + those licensors and authors. 5.390 + 5.391 + All other non-permissive additional terms are considered "further 5.392 +restrictions" within the meaning of section 10. If the Program as you 5.393 +received it, or any part of it, contains a notice stating that it is 5.394 +governed by this License along with a term that is a further 5.395 +restriction, you may remove that term. If a license document contains 5.396 +a further restriction but permits relicensing or conveying under this 5.397 +License, you may add to a covered work material governed by the terms 5.398 +of that license document, provided that the further restriction does 5.399 +not survive such relicensing or conveying. 5.400 + 5.401 + If you add terms to a covered work in accord with this section, you 5.402 +must place, in the relevant source files, a statement of the 5.403 +additional terms that apply to those files, or a notice indicating 5.404 +where to find the applicable terms. 5.405 + 5.406 + Additional terms, permissive or non-permissive, may be stated in the 5.407 +form of a separately written license, or stated as exceptions; 5.408 +the above requirements apply either way. 5.409 + 5.410 + 8. Termination. 5.411 + 5.412 + You may not propagate or modify a covered work except as expressly 5.413 +provided under this License. Any attempt otherwise to propagate or 5.414 +modify it is void, and will automatically terminate your rights under 5.415 +this License (including any patent licenses granted under the third 5.416 +paragraph of section 11). 5.417 + 5.418 + However, if you cease all violation of this License, then your 5.419 +license from a particular copyright holder is reinstated (a) 5.420 +provisionally, unless and until the copyright holder explicitly and 5.421 +finally terminates your license, and (b) permanently, if the copyright 5.422 +holder fails to notify you of the violation by some reasonable means 5.423 +prior to 60 days after the cessation. 5.424 + 5.425 + Moreover, your license from a particular copyright holder is 5.426 +reinstated permanently if the copyright holder notifies you of the 5.427 +violation by some reasonable means, this is the first time you have 5.428 +received notice of violation of this License (for any work) from that 5.429 +copyright holder, and you cure the violation prior to 30 days after 5.430 +your receipt of the notice. 5.431 + 5.432 + Termination of your rights under this section does not terminate the 5.433 +licenses of parties who have received copies or rights from you under 5.434 +this License. If your rights have been terminated and not permanently 5.435 +reinstated, you do not qualify to receive new licenses for the same 5.436 +material under section 10. 5.437 + 5.438 + 9. Acceptance Not Required for Having Copies. 5.439 + 5.440 + You are not required to accept this License in order to receive or 5.441 +run a copy of the Program. Ancillary propagation of a covered work 5.442 +occurring solely as a consequence of using peer-to-peer transmission 5.443 +to receive a copy likewise does not require acceptance. However, 5.444 +nothing other than this License grants you permission to propagate or 5.445 +modify any covered work. These actions infringe copyright if you do 5.446 +not accept this License. Therefore, by modifying or propagating a 5.447 +covered work, you indicate your acceptance of this License to do so. 5.448 + 5.449 + 10. Automatic Licensing of Downstream Recipients. 5.450 + 5.451 + Each time you convey a covered work, the recipient automatically 5.452 +receives a license from the original licensors, to run, modify and 5.453 +propagate that work, subject to this License. You are not responsible 5.454 +for enforcing compliance by third parties with this License. 5.455 + 5.456 + An "entity transaction" is a transaction transferring control of an 5.457 +organization, or substantially all assets of one, or subdividing an 5.458 +organization, or merging organizations. If propagation of a covered 5.459 +work results from an entity transaction, each party to that 5.460 +transaction who receives a copy of the work also receives whatever 5.461 +licenses to the work the party's predecessor in interest had or could 5.462 +give under the previous paragraph, plus a right to possession of the 5.463 +Corresponding Source of the work from the predecessor in interest, if 5.464 +the predecessor has it or can get it with reasonable efforts. 5.465 + 5.466 + You may not impose any further restrictions on the exercise of the 5.467 +rights granted or affirmed under this License. For example, you may 5.468 +not impose a license fee, royalty, or other charge for exercise of 5.469 +rights granted under this License, and you may not initiate litigation 5.470 +(including a cross-claim or counterclaim in a lawsuit) alleging that 5.471 +any patent claim is infringed by making, using, selling, offering for 5.472 +sale, or importing the Program or any portion of it. 5.473 + 5.474 + 11. Patents. 5.475 + 5.476 + A "contributor" is a copyright holder who authorizes use under this 5.477 +License of the Program or a work on which the Program is based. The 5.478 +work thus licensed is called the contributor's "contributor version". 5.479 + 5.480 + A contributor's "essential patent claims" are all patent claims 5.481 +owned or controlled by the contributor, whether already acquired or 5.482 +hereafter acquired, that would be infringed by some manner, permitted 5.483 +by this License, of making, using, or selling its contributor version, 5.484 +but do not include claims that would be infringed only as a 5.485 +consequence of further modification of the contributor version. For 5.486 +purposes of this definition, "control" includes the right to grant 5.487 +patent sublicenses in a manner consistent with the requirements of 5.488 +this License. 5.489 + 5.490 + Each contributor grants you a non-exclusive, worldwide, royalty-free 5.491 +patent license under the contributor's essential patent claims, to 5.492 +make, use, sell, offer for sale, import and otherwise run, modify and 5.493 +propagate the contents of its contributor version. 5.494 + 5.495 + In the following three paragraphs, a "patent license" is any express 5.496 +agreement or commitment, however denominated, not to enforce a patent 5.497 +(such as an express permission to practice a patent or covenant not to 5.498 +sue for patent infringement). To "grant" such a patent license to a 5.499 +party means to make such an agreement or commitment not to enforce a 5.500 +patent against the party. 5.501 + 5.502 + If you convey a covered work, knowingly relying on a patent license, 5.503 +and the Corresponding Source of the work is not available for anyone 5.504 +to copy, free of charge and under the terms of this License, through a 5.505 +publicly available network server or other readily accessible means, 5.506 +then you must either (1) cause the Corresponding Source to be so 5.507 +available, or (2) arrange to deprive yourself of the benefit of the 5.508 +patent license for this particular work, or (3) arrange, in a manner 5.509 +consistent with the requirements of this License, to extend the patent 5.510 +license to downstream recipients. "Knowingly relying" means you have 5.511 +actual knowledge that, but for the patent license, your conveying the 5.512 +covered work in a country, or your recipient's use of the covered work 5.513 +in a country, would infringe one or more identifiable patents in that 5.514 +country that you have reason to believe are valid. 5.515 + 5.516 + If, pursuant to or in connection with a single transaction or 5.517 +arrangement, you convey, or propagate by procuring conveyance of, a 5.518 +covered work, and grant a patent license to some of the parties 5.519 +receiving the covered work authorizing them to use, propagate, modify 5.520 +or convey a specific copy of the covered work, then the patent license 5.521 +you grant is automatically extended to all recipients of the covered 5.522 +work and works based on it. 5.523 + 5.524 + A patent license is "discriminatory" if it does not include within 5.525 +the scope of its coverage, prohibits the exercise of, or is 5.526 +conditioned on the non-exercise of one or more of the rights that are 5.527 +specifically granted under this License. You may not convey a covered 5.528 +work if you are a party to an arrangement with a third party that is 5.529 +in the business of distributing software, under which you make payment 5.530 +to the third party based on the extent of your activity of conveying 5.531 +the work, and under which the third party grants, to any of the 5.532 +parties who would receive the covered work from you, a discriminatory 5.533 +patent license (a) in connection with copies of the covered work 5.534 +conveyed by you (or copies made from those copies), or (b) primarily 5.535 +for and in connection with specific products or compilations that 5.536 +contain the covered work, unless you entered into that arrangement, 5.537 +or that patent license was granted, prior to 28 March 2007. 5.538 + 5.539 + Nothing in this License shall be construed as excluding or limiting 5.540 +any implied license or other defenses to infringement that may 5.541 +otherwise be available to you under applicable patent law. 5.542 + 5.543 + 12. No Surrender of Others' Freedom. 5.544 + 5.545 + If conditions are imposed on you (whether by court order, agreement or 5.546 +otherwise) that contradict the conditions of this License, they do not 5.547 +excuse you from the conditions of this License. If you cannot convey a 5.548 +covered work so as to satisfy simultaneously your obligations under this 5.549 +License and any other pertinent obligations, then as a consequence you may 5.550 +not convey it at all. For example, if you agree to terms that obligate you 5.551 +to collect a royalty for further conveying from those to whom you convey 5.552 +the Program, the only way you could satisfy both those terms and this 5.553 +License would be to refrain entirely from conveying the Program. 5.554 + 5.555 + 13. Use with the GNU Affero General Public License. 5.556 + 5.557 + Notwithstanding any other provision of this License, you have 5.558 +permission to link or combine any covered work with a work licensed 5.559 +under version 3 of the GNU Affero General Public License into a single 5.560 +combined work, and to convey the resulting work. The terms of this 5.561 +License will continue to apply to the part which is the covered work, 5.562 +but the special requirements of the GNU Affero General Public License, 5.563 +section 13, concerning interaction through a network will apply to the 5.564 +combination as such. 5.565 + 5.566 + 14. Revised Versions of this License. 5.567 + 5.568 + The Free Software Foundation may publish revised and/or new versions of 5.569 +the GNU General Public License from time to time. Such new versions will 5.570 +be similar in spirit to the present version, but may differ in detail to 5.571 +address new problems or concerns. 5.572 + 5.573 + Each version is given a distinguishing version number. If the 5.574 +Program specifies that a certain numbered version of the GNU General 5.575 +Public License "or any later version" applies to it, you have the 5.576 +option of following the terms and conditions either of that numbered 5.577 +version or of any later version published by the Free Software 5.578 +Foundation. If the Program does not specify a version number of the 5.579 +GNU General Public License, you may choose any version ever published 5.580 +by the Free Software Foundation. 5.581 + 5.582 + If the Program specifies that a proxy can decide which future 5.583 +versions of the GNU General Public License can be used, that proxy's 5.584 +public statement of acceptance of a version permanently authorizes you 5.585 +to choose that version for the Program. 5.586 + 5.587 + Later license versions may give you additional or different 5.588 +permissions. However, no additional obligations are imposed on any 5.589 +author or copyright holder as a result of your choosing to follow a 5.590 +later version. 5.591 + 5.592 + 15. Disclaimer of Warranty. 5.593 + 5.594 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 5.595 +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 5.596 +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 5.597 +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 5.598 +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 5.599 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 5.600 +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 5.601 +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 5.602 + 5.603 + 16. Limitation of Liability. 5.604 + 5.605 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 5.606 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 5.607 +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 5.608 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 5.609 +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 5.610 +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 5.611 +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 5.612 +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 5.613 +SUCH DAMAGES. 5.614 + 5.615 + 17. Interpretation of Sections 15 and 16. 5.616 + 5.617 + If the disclaimer of warranty and limitation of liability provided 5.618 +above cannot be given local legal effect according to their terms, 5.619 +reviewing courts shall apply local law that most closely approximates 5.620 +an absolute waiver of all civil liability in connection with the 5.621 +Program, unless a warranty or assumption of liability accompanies a 5.622 +copy of the Program in return for a fee. 5.623 + 5.624 + END OF TERMS AND CONDITIONS 5.625 + 5.626 + How to Apply These Terms to Your New Programs 5.627 + 5.628 + If you develop a new program, and you want it to be of the greatest 5.629 +possible use to the public, the best way to achieve this is to make it 5.630 +free software which everyone can redistribute and change under these terms. 5.631 + 5.632 + To do so, attach the following notices to the program. It is safest 5.633 +to attach them to the start of each source file to most effectively 5.634 +state the exclusion of warranty; and each file should have at least 5.635 +the "copyright" line and a pointer to where the full notice is found. 5.636 + 5.637 + <one line to give the program's name and a brief idea of what it does.> 5.638 + Copyright (C) <year> <name of author> 5.639 + 5.640 + This program is free software: you can redistribute it and/or modify 5.641 + it under the terms of the GNU General Public License as published by 5.642 + the Free Software Foundation, either version 3 of the License, or 5.643 + (at your option) any later version. 5.644 + 5.645 + This program is distributed in the hope that it will be useful, 5.646 + but WITHOUT ANY WARRANTY; without even the implied warranty of 5.647 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5.648 + GNU General Public License for more details. 5.649 + 5.650 + You should have received a copy of the GNU General Public License 5.651 + along with this program. If not, see <http://www.gnu.org/licenses/>. 5.652 + 5.653 +Also add information on how to contact you by electronic and paper mail. 5.654 + 5.655 + If the program does terminal interaction, make it output a short 5.656 +notice like this when it starts in an interactive mode: 5.657 + 5.658 + <program> Copyright (C) <year> <name of author> 5.659 + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 5.660 + This is free software, and you are welcome to redistribute it 5.661 + under certain conditions; type `show c' for details. 5.662 + 5.663 +The hypothetical commands `show w' and `show c' should show the appropriate 5.664 +parts of the General Public License. Of course, your program's commands 5.665 +might be different; for a GUI interface, you would use an "about box". 5.666 + 5.667 + You should also get your employer (if you work as a programmer) or school, 5.668 +if any, to sign a "copyright disclaimer" for the program, if necessary. 5.669 +For more information on this, and how to apply and follow the GNU GPL, see 5.670 +<http://www.gnu.org/licenses/>. 5.671 + 5.672 + The GNU General Public License does not permit incorporating your program 5.673 +into proprietary programs. If your program is a subroutine library, you 5.674 +may consider it more useful to permit linking proprietary applications with 5.675 +the library. If this is what you want to do, use the GNU Lesser General 5.676 +Public License instead of this License. But first, please read 5.677 +<http://www.gnu.org/philosophy/why-not-lgpl.html>.
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/turbine/stuff/README Thu Aug 31 05:31:36 2017 -0300 6.3 @@ -0,0 +1,7 @@ 6.4 +**Turbine** is an application to improve memory by cleaning dead and frozen processes. Turbine is built to clear memory. 6.5 + 6.6 +The source code is available at http://hg.slitaz.org and released under 6.7 +the GPLv3 license. 6.8 + 6.9 +Please share your questions and suggestions in our forum. 6.10 +http://forum.slitaz.org
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/turbine/stuff/res/base/data Thu Aug 31 05:31:36 2017 -0300 7.3 @@ -0,0 +1,18 @@ 7.4 +# Turbine Database File. 7.5 + 7.6 +APP_NAME="turbine" 7.7 +APP_TITLE="Turbine" 7.8 +APP_VERSION="1.0" 7.9 +APP_LICENSE="GPLv3" 7.10 +APP_DESC="The Memory Cleaner" 7.11 + 7.12 +APP_ENCODING="UTF-8" 7.13 +APP_DESIGN="/var/www/cgi-bin/turbine/res/theme/design" # Stylesheet. 7.14 +APP_SCRIPT="/var/www/cgi-bin/turbine/res/template/javascript" # Javascript. 7.15 + 7.16 +localdata="/var/www/cgi-bin/turbine/res" # APP resource directory. 7.17 +localicons="/var/www/cgi-bin/turbine/res/icons" # APP icons directory. 7.18 +localtheme="/var/www/cgi-bin/turbine/res/theme" # APP YAD theme directory. 7.19 + 7.20 +localdir="/var/www/cgi-bin/turbine" # APP real directory. 7.21 +localwww="http://localhost/cgi-bin/turbine" # Call to YAD browser.
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/turbine/stuff/res/base/deps.fail.html Thu Aug 31 05:31:36 2017 -0300 8.3 @@ -0,0 +1,111 @@ 8.4 +<!DOCTYPE html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /> 8.5 +<!-- 8.6 +* Provided By The SliTaz Development Team. 8.7 +* Copyright (C) 2017 The SliTaz Association. 8.8 +* 8.9 +* This program is free software: you can redistribute it and/or modify 8.10 +* it under the terms of the GNU General Public License as published by 8.11 +* the Free Software Foundation, either version 3 of the License, or 8.12 +* (at your option) any later version. 8.13 +* 8.14 +* This program is distributed in the hope that it will be useful, 8.15 +* but WITHOUT ANY WARRANTY; without even the implied warranty of 8.16 +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8.17 +* GNU General Public License for more details. 8.18 +* 8.19 +* You should have received a copy of the GNU General Public License 8.20 +* along with this program. If not, see <http://www.gnu.org/licenses/>. 8.21 +* 8.22 +--> 8.23 +<title>Turbine APP : Dependencies not found.</title> 8.24 +<style type="text/css"> 8.25 +<!-- 8.26 +* { 8.27 +box-sizing:border-box; 8.28 +-o-box-sizing:border-box; 8.29 +-moz-box-sizing:border-box; 8.30 +-webkit-box-sizing:border-box; 8.31 +} 8.32 +a { 8.33 +color:chocolate;} 8.34 +html, body { 8.35 +background-color:whitesmoke; 8.36 +color:#303030; 8.37 +font-family:serif; 8.38 +font-size:14px; 8.39 +margin:20px auto; 8.40 +min-width:280px; 8.41 +text-align:center;} 8.42 +body { 8.43 +border:02px solid lightgray; 8.44 +padding:10px; 8.45 +width:70%;} 8.46 +h1 { 8.47 +border-bottom:06px double lightgray; 8.48 +margin:20px; 8.49 +padding:20px; 8.50 +} 8.51 +h5 { 8.52 +border-top:01px solid lightgray; 8.53 +font-size:10px; 8.54 +padding:20px 10px; 8.55 +text-transform:uppercase; 8.56 +} 8.57 +b,h1,h2,h3,h4,h5,h6,strong { 8.58 +color:#101010;} 8.59 +p, ul, li { 8.60 +text-align:left; 8.61 +} 8.62 +li { 8.63 +line-height:01.540001em; 8.64 +list-style-type:square; 8.65 +margin-bottom:10px; 8.66 +} 8.67 +span { 8.68 +color:brown;} 8.69 +--> 8.70 +</style> 8.71 +</head> 8.72 +<body> 8.73 + 8.74 +<h1>Turbine : <span>Check Error!</span></h1> 8.75 + 8.76 +<blockquote><big>Sorry. Some dependencies not found.</big></blockquote> 8.77 +<p>Turbine needs some dependencies to work correctly.</p> 8.78 +<p><b>Check the list below and please install.</b></p> 8.79 + 8.80 +<ul> 8.81 + <li> 8.82 + <b>Bash</b> <small>The GNU bourne SHell.</small><br> 8.83 + <a href="http://tazpanel:82/pkgs.cgi?info=bash"> 8.84 + http://tazpanel:82/pkgs.cgi?info=bash 8.85 + </a> 8.86 + </li> 8.87 + <li> 8.88 + <b>librsvg</b> <small>SVG Rendering Library.</small><br> 8.89 + <a href="http://tazpanel:82/pkgs.cgi?info=librsvg"> 8.90 + http://tazpanel:82/pkgs.cgi?info=librsvg 8.91 + </a> 8.92 + </li> 8.93 + <li> 8.94 + <b>Yad</b> <small>Gtk2 with HTML support.</small><br> 8.95 + <a href="http://tazpanel:82/pkgs.cgi?info=yad-gtk2-html"> 8.96 + http://tazpanel:82/pkgs.cgi?info=yad-gtk2-html 8.97 + </a> 8.98 + </li> 8.99 +</ul> 8.100 + 8.101 +<p> 8.102 + If you do not know how to solve this problem please share your questions in 8.103 + our <a href="http://forum.slitaz.org/">forum</a>. 8.104 +</p> 8.105 + 8.106 +<h5> 8.107 + Turbine App | GPLV3 License<br> 8.108 + <small>Provided by the SliTaz DevTeam.</small><br><br> 8.109 + <samp>Copyright (C) 2017 SliTaz Association.</samp><br><br> 8.110 + <a href="http://www.slitaz.org/">www.slitaz.org</a> 8.111 +</h5> 8.112 + 8.113 +</body> 8.114 +</html>
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/turbine/stuff/res/base/freeup.cgi Thu Aug 31 05:31:36 2017 -0300 9.3 @@ -0,0 +1,45 @@ 9.4 +#!/bin/bash 9.5 +# 9.6 +# Provided By The SliTaz Development Team. 9.7 +# Copyright (C) 2017 The SliTaz Association. 9.8 +# 9.9 +# This program is free software: you can redistribute it and/or modify 9.10 +# it under the terms of the GNU General Public License as published by 9.11 +# the Free Software Foundation, either version 3 of the License, or 9.12 +# (at your option) any later version. 9.13 +# 9.14 +# This program is distributed in the hope that it will be useful, 9.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 9.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9.17 +# GNU General Public License for more details. 9.18 +# 9.19 +# You should have received a copy of the GNU General Public License 9.20 +# along with this program. If not, see <http://www.gnu.org/licenses/>. 9.21 +# 9.22 +# @@ Turbine Database. 9.23 +. /var/www/cgi-bin/turbine/res/base/data 9.24 +. /var/www/cgi-bin/turbine/res/template/scheme 9.25 + 9.26 +case "$(GET)" in 9.27 + img) 9.28 + header "HTTP/1.1 200 OK\nContent-type: image/png" 9.29 + case "$(GET img)" in 9.30 + lg) cat $localicons/24/turbine.png ;; 9.31 + ani2) cat $localtheme/img/ani-02.png ;; 9.32 + ani3) cat $localtheme/img/ani-03.png ;; 9.33 + turbine) cat $localicons/256/turbine.png ;; 9.34 + esac ;; 9.35 + *) 9.36 +esac 9.37 + 9.38 +freeMEM(){ 9.39 + sync && echo 3 > /proc/sys/vm/drop_caches 9.40 +} 9.41 + 9.42 +header 9.43 + 9.44 +appMETAINFO 9.45 +appFREEUP 9.46 +appFOOTER 9.47 +freeMEM 9.48 +appRETURN
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/turbine/stuff/res/base/quit Thu Aug 31 05:31:36 2017 -0300 10.3 @@ -0,0 +1,4 @@ 10.4 +#!/bin/bash 10.5 + 10.6 +# @@ Kill Turbine. 10.7 +kill -9 `ps auxc|grep turbine | sed 's/^[^ ]\+ \+\([0-9]\+\) .\+$/\1/'`
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/turbine/stuff/res/base/status.cgi Thu Aug 31 05:31:36 2017 -0300 11.3 @@ -0,0 +1,38 @@ 11.4 +#!/bin/bash 11.5 +# 11.6 +# Provided By The SliTaz Development Team. 11.7 +# Copyright (C) 2017 The SliTaz Association. 11.8 +# 11.9 +# This program is free software: you can redistribute it and/or modify 11.10 +# it under the terms of the GNU General Public License as published by 11.11 +# the Free Software Foundation, either version 3 of the License, or 11.12 +# (at your option) any later version. 11.13 +# 11.14 +# This program is distributed in the hope that it will be useful, 11.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 11.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11.17 +# GNU General Public License for more details. 11.18 +# 11.19 +# You should have received a copy of the GNU General Public License 11.20 +# along with this program. If not, see <http://www.gnu.org/licenses/>. 11.21 +# 11.22 +# @@ Turbine Database. 11.23 +. /var/www/cgi-bin/turbine/res/base/data 11.24 +. /var/www/cgi-bin/turbine/res/template/scheme 11.25 + 11.26 +case "$(GET)" in 11.27 + img) 11.28 + header "HTTP/1.1 200 OK\nContent-type: image/png" 11.29 + case "$(GET img)" in 11.30 + lg) cat $localicons/24/turbine.png ;; 11.31 + esac ;; 11.32 + *) 11.33 +esac 11.34 + 11.35 +header 11.36 + 11.37 +appMETAINFO 11.38 +textRELOAD 11.39 +appSTATUS 11.40 +appFOOTER 11.41 +appCLOSE
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/turbine/stuff/res/desktop/turbine.desktop Thu Aug 31 05:31:36 2017 -0300 12.3 @@ -0,0 +1,11 @@ 12.4 +[Desktop Entry] 12.5 +Type=Application 12.6 +Name=Turbine 12.7 +Name[fr]=Turbine 12.8 +Name[pt]=Turbine 12.9 +Name[pt_BR]=Turbine 12.10 +Name[ru]=Turbine 12.11 +Comment=Free Up Memory with Turbine. 12.12 +Exec=turbine 12.13 +Icon=/var/www/cgi-bin/turbine/res/icons/48/turbine.svg 12.14 +Categories=System;Filesystem;
13.1 Binary file turbine/stuff/res/icons/24/turbine.png has changed
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/turbine/stuff/res/icons/24/turbine.svg Thu Aug 31 05:31:36 2017 -0300 14.3 @@ -0,0 +1,151 @@ 14.4 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> 14.5 +<!-- Created with Inkscape (http://www.inkscape.org/) --> 14.6 + 14.7 +<svg 14.8 + xmlns:dc="http://purl.org/dc/elements/1.1/" 14.9 + xmlns:cc="http://creativecommons.org/ns#" 14.10 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 14.11 + xmlns:svg="http://www.w3.org/2000/svg" 14.12 + xmlns="http://www.w3.org/2000/svg" 14.13 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 14.14 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 14.15 + width="24" 14.16 + height="24" 14.17 + viewBox="0 0 24 24" 14.18 + id="svg2" 14.19 + version="1.1" 14.20 + inkscape:version="0.91 r13725" 14.21 + sodipodi:docname="turbine.svg"> 14.22 + <defs 14.23 + id="defs4" /> 14.24 + <sodipodi:namedview 14.25 + id="base" 14.26 + pagecolor="#ffffff" 14.27 + bordercolor="#666666" 14.28 + borderopacity="1.0" 14.29 + inkscape:pageopacity="0.0" 14.30 + inkscape:pageshadow="2" 14.31 + inkscape:zoom="1.7578125" 14.32 + inkscape:cx="86.013927" 14.33 + inkscape:cy="75.024287" 14.34 + inkscape:document-units="px" 14.35 + inkscape:current-layer="layer1" 14.36 + showgrid="false" 14.37 + units="px" 14.38 + fit-margin-top="0" 14.39 + fit-margin-left="0" 14.40 + fit-margin-right="0" 14.41 + fit-margin-bottom="0" 14.42 + inkscape:showpageshadow="false" 14.43 + inkscape:window-width="1280" 14.44 + inkscape:window-height="974" 14.45 + inkscape:window-x="0" 14.46 + inkscape:window-y="22" 14.47 + inkscape:window-maximized="1" /> 14.48 + <metadata 14.49 + id="metadata7"> 14.50 + <rdf:RDF> 14.51 + <cc:Work 14.52 + rdf:about=""> 14.53 + <dc:format>image/svg+xml</dc:format> 14.54 + <dc:type 14.55 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 14.56 + <dc:title></dc:title> 14.57 + <cc:license 14.58 + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> 14.59 + </cc:Work> 14.60 + <cc:License 14.61 + rdf:about="http://creativecommons.org/licenses/by/3.0/"> 14.62 + <cc:permits 14.63 + rdf:resource="http://creativecommons.org/ns#Reproduction" /> 14.64 + <cc:permits 14.65 + rdf:resource="http://creativecommons.org/ns#Distribution" /> 14.66 + <cc:requires 14.67 + rdf:resource="http://creativecommons.org/ns#Notice" /> 14.68 + <cc:requires 14.69 + rdf:resource="http://creativecommons.org/ns#Attribution" /> 14.70 + <cc:permits 14.71 + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> 14.72 + </cc:License> 14.73 + </rdf:RDF> 14.74 + </metadata> 14.75 + <g 14.76 + inkscape:label="Layer 1" 14.77 + inkscape:groupmode="layer" 14.78 + id="layer1" 14.79 + transform="translate(918.28577,-580.93366)"> 14.80 + <g 14.81 + id="g3362" 14.82 + transform="matrix(0.10995724,0,0,0.10995724,-806.63309,527.73631)"> 14.83 + <circle 14.84 + r="75" 14.85 + cy="592.93365" 14.86 + cx="-906.28577" 14.87 + id="path3338" 14.88 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" /> 14.89 + <ellipse 14.90 + ry="22.662222" 14.91 + rx="109.13333" 14.92 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 14.93 + id="circle3344" 14.94 + cx="-906.28577" 14.95 + cy="592.93365" /> 14.96 + <circle 14.97 + style="fill:#1a1a1a;fill-opacity:1;stroke:none" 14.98 + id="circle3340" 14.99 + cx="-906.28577" 14.100 + cy="592.93365" 14.101 + r="51.675556" /> 14.102 + <ellipse 14.103 + transform="matrix(0,1,-1,0,0,0)" 14.104 + cy="906.28577" 14.105 + cx="592.93365" 14.106 + id="ellipse3346" 14.107 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 14.108 + rx="109.13333" 14.109 + ry="22.662222" /> 14.110 + <circle 14.111 + r="35.17778" 14.112 + cy="592.93365" 14.113 + cx="-906.28577" 14.114 + id="circle3342" 14.115 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 14.116 + <circle 14.117 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 14.118 + id="circle3348" 14.119 + cx="-906.28577" 14.120 + cy="592.93365" 14.121 + r="22.093336" /> 14.122 + <circle 14.123 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 14.124 + id="circle3350" 14.125 + cx="-906.28577" 14.126 + cy="592.93365" 14.127 + r="17.542225" /> 14.128 + <circle 14.129 + r="9.0088921" 14.130 + cy="512.93365" 14.131 + cx="-906.28577" 14.132 + id="circle3352" 14.133 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 14.134 + <circle 14.135 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 14.136 + id="circle3354" 14.137 + cx="-826.28577" 14.138 + cy="592.93365" 14.139 + r="9.0088921" /> 14.140 + <circle 14.141 + r="9.0088921" 14.142 + cy="592.93365" 14.143 + cx="-986.28577" 14.144 + id="circle3356" 14.145 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 14.146 + <circle 14.147 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 14.148 + id="circle3358" 14.149 + cx="-906.28577" 14.150 + cy="672.93365" 14.151 + r="9.0088921" /> 14.152 + </g> 14.153 + </g> 14.154 +</svg>
15.1 Binary file turbine/stuff/res/icons/256/turbine.png has changed
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/turbine/stuff/res/icons/256/turbine.svg Thu Aug 31 05:31:36 2017 -0300 16.3 @@ -0,0 +1,151 @@ 16.4 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> 16.5 +<!-- Created with Inkscape (http://www.inkscape.org/) --> 16.6 + 16.7 +<svg 16.8 + xmlns:dc="http://purl.org/dc/elements/1.1/" 16.9 + xmlns:cc="http://creativecommons.org/ns#" 16.10 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 16.11 + xmlns:svg="http://www.w3.org/2000/svg" 16.12 + xmlns="http://www.w3.org/2000/svg" 16.13 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 16.14 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 16.15 + width="255.99998" 16.16 + height="255.99998" 16.17 + viewBox="0 0 255.99998 255.99998" 16.18 + id="svg2" 16.19 + version="1.1" 16.20 + inkscape:version="0.91 r13725" 16.21 + sodipodi:docname="turbine.svg"> 16.22 + <defs 16.23 + id="defs4" /> 16.24 + <sodipodi:namedview 16.25 + id="base" 16.26 + pagecolor="#ffffff" 16.27 + bordercolor="#666666" 16.28 + borderopacity="1.0" 16.29 + inkscape:pageopacity="0.0" 16.30 + inkscape:pageshadow="2" 16.31 + inkscape:zoom="1.7578125" 16.32 + inkscape:cx="98.013889" 16.33 + inkscape:cy="87.024244" 16.34 + inkscape:document-units="px" 16.35 + inkscape:current-layer="layer1" 16.36 + showgrid="false" 16.37 + units="px" 16.38 + fit-margin-top="0" 16.39 + fit-margin-left="0" 16.40 + fit-margin-right="0" 16.41 + fit-margin-bottom="0" 16.42 + inkscape:showpageshadow="false" 16.43 + inkscape:window-width="1280" 16.44 + inkscape:window-height="974" 16.45 + inkscape:window-x="0" 16.46 + inkscape:window-y="22" 16.47 + inkscape:window-maximized="1" /> 16.48 + <metadata 16.49 + id="metadata7"> 16.50 + <rdf:RDF> 16.51 + <cc:Work 16.52 + rdf:about=""> 16.53 + <dc:format>image/svg+xml</dc:format> 16.54 + <dc:type 16.55 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 16.56 + <dc:title></dc:title> 16.57 + <cc:license 16.58 + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> 16.59 + </cc:Work> 16.60 + <cc:License 16.61 + rdf:about="http://creativecommons.org/licenses/by/3.0/"> 16.62 + <cc:permits 16.63 + rdf:resource="http://creativecommons.org/ns#Reproduction" /> 16.64 + <cc:permits 16.65 + rdf:resource="http://creativecommons.org/ns#Distribution" /> 16.66 + <cc:requires 16.67 + rdf:resource="http://creativecommons.org/ns#Notice" /> 16.68 + <cc:requires 16.69 + rdf:resource="http://creativecommons.org/ns#Attribution" /> 16.70 + <cc:permits 16.71 + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> 16.72 + </cc:License> 16.73 + </rdf:RDF> 16.74 + </metadata> 16.75 + <g 16.76 + inkscape:label="Layer 1" 16.77 + inkscape:groupmode="layer" 16.78 + id="layer1" 16.79 + transform="translate(930.28577,-360.93363)"> 16.80 + <g 16.81 + id="g3362" 16.82 + transform="matrix(1.1728772,0,0,1.1728772,260.67613,-206.50474)"> 16.83 + <circle 16.84 + r="75" 16.85 + cy="592.93365" 16.86 + cx="-906.28577" 16.87 + id="path3338" 16.88 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" /> 16.89 + <ellipse 16.90 + ry="22.662222" 16.91 + rx="109.13333" 16.92 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 16.93 + id="circle3344" 16.94 + cx="-906.28577" 16.95 + cy="592.93365" /> 16.96 + <circle 16.97 + style="fill:#1a1a1a;fill-opacity:1;stroke:none" 16.98 + id="circle3340" 16.99 + cx="-906.28577" 16.100 + cy="592.93365" 16.101 + r="51.675556" /> 16.102 + <ellipse 16.103 + transform="matrix(0,1,-1,0,0,0)" 16.104 + cy="906.28577" 16.105 + cx="592.93365" 16.106 + id="ellipse3346" 16.107 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 16.108 + rx="109.13333" 16.109 + ry="22.662222" /> 16.110 + <circle 16.111 + r="35.17778" 16.112 + cy="592.93365" 16.113 + cx="-906.28577" 16.114 + id="circle3342" 16.115 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 16.116 + <circle 16.117 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 16.118 + id="circle3348" 16.119 + cx="-906.28577" 16.120 + cy="592.93365" 16.121 + r="22.093336" /> 16.122 + <circle 16.123 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 16.124 + id="circle3350" 16.125 + cx="-906.28577" 16.126 + cy="592.93365" 16.127 + r="17.542225" /> 16.128 + <circle 16.129 + r="9.0088921" 16.130 + cy="512.93365" 16.131 + cx="-906.28577" 16.132 + id="circle3352" 16.133 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 16.134 + <circle 16.135 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 16.136 + id="circle3354" 16.137 + cx="-826.28577" 16.138 + cy="592.93365" 16.139 + r="9.0088921" /> 16.140 + <circle 16.141 + r="9.0088921" 16.142 + cy="592.93365" 16.143 + cx="-986.28577" 16.144 + id="circle3356" 16.145 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 16.146 + <circle 16.147 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 16.148 + id="circle3358" 16.149 + cx="-906.28577" 16.150 + cy="672.93365" 16.151 + r="9.0088921" /> 16.152 + </g> 16.153 + </g> 16.154 +</svg>
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/turbine/stuff/res/icons/48/turbine.svg Thu Aug 31 05:31:36 2017 -0300 17.3 @@ -0,0 +1,151 @@ 17.4 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> 17.5 +<!-- Created with Inkscape (http://www.inkscape.org/) --> 17.6 + 17.7 +<svg 17.8 + xmlns:dc="http://purl.org/dc/elements/1.1/" 17.9 + xmlns:cc="http://creativecommons.org/ns#" 17.10 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 17.11 + xmlns:svg="http://www.w3.org/2000/svg" 17.12 + xmlns="http://www.w3.org/2000/svg" 17.13 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 17.14 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 17.15 + width="48" 17.16 + height="48" 17.17 + viewBox="0 0 48 48" 17.18 + id="svg2" 17.19 + version="1.1" 17.20 + inkscape:version="0.91 r13725" 17.21 + sodipodi:docname="turbine.svg"> 17.22 + <defs 17.23 + id="defs4" /> 17.24 + <sodipodi:namedview 17.25 + id="base" 17.26 + pagecolor="#ffffff" 17.27 + bordercolor="#666666" 17.28 + borderopacity="1.0" 17.29 + inkscape:pageopacity="0.0" 17.30 + inkscape:pageshadow="2" 17.31 + inkscape:zoom="1.7578125" 17.32 + inkscape:cx="98.013923" 17.33 + inkscape:cy="87.024276" 17.34 + inkscape:document-units="px" 17.35 + inkscape:current-layer="layer1" 17.36 + showgrid="false" 17.37 + units="px" 17.38 + fit-margin-top="0" 17.39 + fit-margin-left="0" 17.40 + fit-margin-right="0" 17.41 + fit-margin-bottom="0" 17.42 + inkscape:showpageshadow="false" 17.43 + inkscape:window-width="1280" 17.44 + inkscape:window-height="974" 17.45 + inkscape:window-x="0" 17.46 + inkscape:window-y="22" 17.47 + inkscape:window-maximized="1" /> 17.48 + <metadata 17.49 + id="metadata7"> 17.50 + <rdf:RDF> 17.51 + <cc:Work 17.52 + rdf:about=""> 17.53 + <dc:format>image/svg+xml</dc:format> 17.54 + <dc:type 17.55 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 17.56 + <dc:title></dc:title> 17.57 + <cc:license 17.58 + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> 17.59 + </cc:Work> 17.60 + <cc:License 17.61 + rdf:about="http://creativecommons.org/licenses/by/3.0/"> 17.62 + <cc:permits 17.63 + rdf:resource="http://creativecommons.org/ns#Reproduction" /> 17.64 + <cc:permits 17.65 + rdf:resource="http://creativecommons.org/ns#Distribution" /> 17.66 + <cc:requires 17.67 + rdf:resource="http://creativecommons.org/ns#Notice" /> 17.68 + <cc:requires 17.69 + rdf:resource="http://creativecommons.org/ns#Attribution" /> 17.70 + <cc:permits 17.71 + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> 17.72 + </cc:License> 17.73 + </rdf:RDF> 17.74 + </metadata> 17.75 + <g 17.76 + inkscape:label="Layer 1" 17.77 + inkscape:groupmode="layer" 17.78 + id="layer1" 17.79 + transform="translate(930.2858,-568.93365)"> 17.80 + <g 17.81 + id="g3362" 17.82 + transform="matrix(0.21991448,0,0,0.21991448,-706.98044,462.53895)"> 17.83 + <circle 17.84 + r="75" 17.85 + cy="592.93365" 17.86 + cx="-906.28577" 17.87 + id="path3338" 17.88 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" /> 17.89 + <ellipse 17.90 + ry="22.662222" 17.91 + rx="109.13333" 17.92 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 17.93 + id="circle3344" 17.94 + cx="-906.28577" 17.95 + cy="592.93365" /> 17.96 + <circle 17.97 + style="fill:#1a1a1a;fill-opacity:1;stroke:none" 17.98 + id="circle3340" 17.99 + cx="-906.28577" 17.100 + cy="592.93365" 17.101 + r="51.675556" /> 17.102 + <ellipse 17.103 + transform="matrix(0,1,-1,0,0,0)" 17.104 + cy="906.28577" 17.105 + cx="592.93365" 17.106 + id="ellipse3346" 17.107 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 17.108 + rx="109.13333" 17.109 + ry="22.662222" /> 17.110 + <circle 17.111 + r="35.17778" 17.112 + cy="592.93365" 17.113 + cx="-906.28577" 17.114 + id="circle3342" 17.115 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 17.116 + <circle 17.117 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 17.118 + id="circle3348" 17.119 + cx="-906.28577" 17.120 + cy="592.93365" 17.121 + r="22.093336" /> 17.122 + <circle 17.123 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 17.124 + id="circle3350" 17.125 + cx="-906.28577" 17.126 + cy="592.93365" 17.127 + r="17.542225" /> 17.128 + <circle 17.129 + r="9.0088921" 17.130 + cy="512.93365" 17.131 + cx="-906.28577" 17.132 + id="circle3352" 17.133 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 17.134 + <circle 17.135 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 17.136 + id="circle3354" 17.137 + cx="-826.28577" 17.138 + cy="592.93365" 17.139 + r="9.0088921" /> 17.140 + <circle 17.141 + r="9.0088921" 17.142 + cy="592.93365" 17.143 + cx="-986.28577" 17.144 + id="circle3356" 17.145 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 17.146 + <circle 17.147 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 17.148 + id="circle3358" 17.149 + cx="-906.28577" 17.150 + cy="672.93365" 17.151 + r="9.0088921" /> 17.152 + </g> 17.153 + </g> 17.154 +</svg>
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/turbine/stuff/res/icons/64/turbine.svg Thu Aug 31 05:31:36 2017 -0300 18.3 @@ -0,0 +1,151 @@ 18.4 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> 18.5 +<!-- Created with Inkscape (http://www.inkscape.org/) --> 18.6 + 18.7 +<svg 18.8 + xmlns:dc="http://purl.org/dc/elements/1.1/" 18.9 + xmlns:cc="http://creativecommons.org/ns#" 18.10 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 18.11 + xmlns:svg="http://www.w3.org/2000/svg" 18.12 + xmlns="http://www.w3.org/2000/svg" 18.13 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 18.14 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 18.15 + width="64" 18.16 + height="64" 18.17 + viewBox="0 0 64 64" 18.18 + id="svg2" 18.19 + version="1.1" 18.20 + inkscape:version="0.91 r13725" 18.21 + sodipodi:docname="turbine.svg"> 18.22 + <defs 18.23 + id="defs4" /> 18.24 + <sodipodi:namedview 18.25 + id="base" 18.26 + pagecolor="#ffffff" 18.27 + bordercolor="#666666" 18.28 + borderopacity="1.0" 18.29 + inkscape:pageopacity="0.0" 18.30 + inkscape:pageshadow="2" 18.31 + inkscape:zoom="1.7578125" 18.32 + inkscape:cx="98.01393" 18.33 + inkscape:cy="87.024273" 18.34 + inkscape:document-units="px" 18.35 + inkscape:current-layer="layer1" 18.36 + showgrid="false" 18.37 + units="px" 18.38 + fit-margin-top="0" 18.39 + fit-margin-left="0" 18.40 + fit-margin-right="0" 18.41 + fit-margin-bottom="0" 18.42 + inkscape:showpageshadow="false" 18.43 + inkscape:window-width="1280" 18.44 + inkscape:window-height="974" 18.45 + inkscape:window-x="0" 18.46 + inkscape:window-y="22" 18.47 + inkscape:window-maximized="1" /> 18.48 + <metadata 18.49 + id="metadata7"> 18.50 + <rdf:RDF> 18.51 + <cc:Work 18.52 + rdf:about=""> 18.53 + <dc:format>image/svg+xml</dc:format> 18.54 + <dc:type 18.55 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 18.56 + <dc:title></dc:title> 18.57 + <cc:license 18.58 + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> 18.59 + </cc:Work> 18.60 + <cc:License 18.61 + rdf:about="http://creativecommons.org/licenses/by/3.0/"> 18.62 + <cc:permits 18.63 + rdf:resource="http://creativecommons.org/ns#Reproduction" /> 18.64 + <cc:permits 18.65 + rdf:resource="http://creativecommons.org/ns#Distribution" /> 18.66 + <cc:requires 18.67 + rdf:resource="http://creativecommons.org/ns#Notice" /> 18.68 + <cc:requires 18.69 + rdf:resource="http://creativecommons.org/ns#Attribution" /> 18.70 + <cc:permits 18.71 + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> 18.72 + </cc:License> 18.73 + </rdf:RDF> 18.74 + </metadata> 18.75 + <g 18.76 + inkscape:label="Layer 1" 18.77 + inkscape:groupmode="layer" 18.78 + id="layer1" 18.79 + transform="translate(930.28581,-552.93365)"> 18.80 + <g 18.81 + id="g3362" 18.82 + transform="matrix(0.29321931,0,0,0.29321931,-632.54532,411.07405)"> 18.83 + <circle 18.84 + r="75" 18.85 + cy="592.93365" 18.86 + cx="-906.28577" 18.87 + id="path3338" 18.88 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" /> 18.89 + <ellipse 18.90 + ry="22.662222" 18.91 + rx="109.13333" 18.92 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 18.93 + id="circle3344" 18.94 + cx="-906.28577" 18.95 + cy="592.93365" /> 18.96 + <circle 18.97 + style="fill:#1a1a1a;fill-opacity:1;stroke:none" 18.98 + id="circle3340" 18.99 + cx="-906.28577" 18.100 + cy="592.93365" 18.101 + r="51.675556" /> 18.102 + <ellipse 18.103 + transform="matrix(0,1,-1,0,0,0)" 18.104 + cy="906.28577" 18.105 + cx="592.93365" 18.106 + id="ellipse3346" 18.107 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 18.108 + rx="109.13333" 18.109 + ry="22.662222" /> 18.110 + <circle 18.111 + r="35.17778" 18.112 + cy="592.93365" 18.113 + cx="-906.28577" 18.114 + id="circle3342" 18.115 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 18.116 + <circle 18.117 + style="fill:#e6e6e6;fill-opacity:1;stroke:none" 18.118 + id="circle3348" 18.119 + cx="-906.28577" 18.120 + cy="592.93365" 18.121 + r="22.093336" /> 18.122 + <circle 18.123 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 18.124 + id="circle3350" 18.125 + cx="-906.28577" 18.126 + cy="592.93365" 18.127 + r="17.542225" /> 18.128 + <circle 18.129 + r="9.0088921" 18.130 + cy="512.93365" 18.131 + cx="-906.28577" 18.132 + id="circle3352" 18.133 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 18.134 + <circle 18.135 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 18.136 + id="circle3354" 18.137 + cx="-826.28577" 18.138 + cy="592.93365" 18.139 + r="9.0088921" /> 18.140 + <circle 18.141 + r="9.0088921" 18.142 + cy="592.93365" 18.143 + cx="-986.28577" 18.144 + id="circle3356" 18.145 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" /> 18.146 + <circle 18.147 + style="fill:#ff2a2a;fill-opacity:1;stroke:none" 18.148 + id="circle3358" 18.149 + cx="-906.28577" 18.150 + cy="672.93365" 18.151 + r="9.0088921" /> 18.152 + </g> 18.153 + </g> 18.154 +</svg>
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/turbine/stuff/res/template/javascript Thu Aug 31 05:31:36 2017 -0300 19.3 @@ -0,0 +1,18 @@ 19.4 +// Turbine Javascript File. 19.5 +// --------------------------------------------------------------------------- 19.6 +// Provided By The SliTaz Development Team. 19.7 +// Copyright (C) 2017 The SliTaz Association. 19.8 +// 19.9 +// This program is free software: you can redistribute it and/or modify 19.10 +// it under the terms of the GNU General Public License as published by 19.11 +// the Free Software Foundation, either version 3 of the License, or 19.12 +// (at your option) any later version. 19.13 +// 19.14 +// This program is distributed in the hope that it will be useful, 19.15 +// but WITHOUT ANY WARRANTY; without even the implied warranty of 19.16 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19.17 +// GNU General Public License for more details. 19.18 +// 19.19 +// You should have received a copy of the GNU General Public License 19.20 +// along with this program. If not, see <http://www.gnu.org/licenses/>. 19.21 +// ---------------------------------------------------------------------------
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/turbine/stuff/res/template/scheme Thu Aug 31 05:31:36 2017 -0300 20.3 @@ -0,0 +1,211 @@ 20.4 +# Turbine Scheme File. 20.5 +# Please use HTML5 only. 20.6 +# Javascript and CSS are available. 20.7 +# ---------------------------------------------------------------------------- 20.8 +# Provided By The SliTaz Development Team. 20.9 +# Copyright (C) 2017 The SliTaz Association. 20.10 +# 20.11 +# This program is free software: you can redistribute it and/or modify 20.12 +# it under the terms of the GNU General Public License as published by 20.13 +# the Free Software Foundation, either version 3 of the License, or 20.14 +# (at your option) any later version. 20.15 +# 20.16 +# This program is distributed in the hope that it will be useful, 20.17 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 20.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20.19 +# GNU General Public License for more details. 20.20 +# 20.21 +# You should have received a copy of the GNU General Public License 20.22 +# along with this program. If not, see <http://www.gnu.org/licenses/>. 20.23 +# ---------------------------------------------------------------------------- 20.24 + 20.25 +# @@ Library and functions by SliTaz OS. 20.26 +. /usr/lib/slitaz/httphelper.sh 20.27 +. /etc/slitaz/slitaz.conf 20.28 +. /lib/libtaz.sh 20.29 + 20.30 +# @@ The output header with the meta-info. 20.31 +appMETAINFO(){ 20.32 +cat <<OUTPUT 20.33 +<!DOCTYPE html> 20.34 +<html> 20.35 +<head> 20.36 +<meta charset="$APP_ENCODING"/> 20.37 +<title>$APP_TITLE - $APP_DESC</title> 20.38 + 20.39 +<style type="text/css"> 20.40 +<!-- 20.41 +$(cat $APP_DESIGN) 20.42 +--> 20.43 +</style> 20.44 + 20.45 +<script type="text/javascript"> 20.46 +$(cat $APP_SCRIPT) 20.47 +</script> 20.48 + 20.49 +</head> 20.50 +<body> 20.51 +<div id="panel"> 20.52 + 20.53 +<p title="$USER" id="user-id" data-icon=" ">$USER</p> 20.54 + 20.55 +<header class="textup"> 20.56 + <h1><img src="?img=lg" alt="" />$APP_TITLE</h1> 20.57 + <h3>$(_ "$APP_DESC")</h3> 20.58 +</header> 20.59 + 20.60 +OUTPUT 20.61 +} 20.62 + 20.63 +appSTATUS(){ 20.64 +cat <<OUTPUT 20.65 + 20.66 +<section id="pc"> 20.67 + <h1> 20.68 + $(awk -F: '/model name/ {print $2;exit}' /proc/cpuinfo) <br> 20.69 + <small class="date">$(date)</small> 20.70 + </h1> 20.71 +</section> 20.72 + 20.73 +<div id="display"> 20.74 + 20.75 +<aside class="panel"> 20.76 +<span class="info textup"><small>Active</small></span><br> 20.77 + <h2 class="rs">$(awk -F"[: ]+" '/Active/ {print $2;exit}' /proc/meminfo)</h2> 20.78 +</aside> 20.79 +<aside class="panel"> 20.80 +<span class="info textup"><small>Mem Total</small></span><br> 20.81 + <h2 class="rs">$(awk -F"[: ]+" '/MemTotal/ {print $2;exit}' /proc/meminfo)</h2> 20.82 +</aside> 20.83 +<aside class="panel"> 20.84 +<span class="info textup"><small>Inactive</small></span><br> 20.85 + <h2 class="rs">$(awk -F"[: ]+" '/Inactive/ {print $2;exit}' /proc/meminfo)</h2> 20.86 +</aside> 20.87 +<br /> <!-- @@ breakpoint --> 20.88 + 20.89 +<aside class="panel" data="left"> 20.90 +<section> 20.91 + <table> 20.92 + <tr> 20.93 + <td>Buffers</td> 20.94 + <td class="rs tr">$(awk -F"[: ]+" '/Buffers/ {print $2;exit}' /proc/meminfo)</td> 20.95 + </tr> 20.96 + <tr> 20.97 + <td>Cached</td> 20.98 + <td class="rs tr">$(awk -F"[: ]+" '/Cached/ {print $2;exit}' /proc/meminfo)</td> 20.99 + </tr> 20.100 + <tr> 20.101 + <td>Mapped</td> 20.102 + <td class="rs tr">$(awk -F"[: ]+" '/Mapped/ {print $2;exit}' /proc/meminfo)</td> 20.103 + </tr> 20.104 + <tr> 20.105 + <td>Slab</td> 20.106 + <td class="rs tr">$(awk -F"[: ]+" '/Slab/ {print $2;exit}' /proc/meminfo)</td> 20.107 + </tr> 20.108 + </table> 20.109 +</section> 20.110 +</aside> 20.111 + 20.112 +<aside class="panel" data="center"> 20.113 +<section> 20.114 + <aside class="l"> 20.115 + <p><small>Free<br><span style="color:lightgreen">$(free | grep Mem | awk '{print ($4/$2)*100.0}')</span></small></p> 20.116 + </aside> 20.117 + <aside class="r"> 20.118 + <p><small>Used<br><span style="color:orange">$(free | grep Mem | awk '{print ($3/$2)*100.0}')</span></small></p> 20.119 + </aside> 20.120 + <br /><hr /> 20.121 + <form method="POST" action="freeup.cgi"> 20.122 + <button type="submit">$(_ 'FREE UP!')</button> 20.123 + </form> 20.124 +</section> 20.125 +</aside> 20.126 + 20.127 +<aside class="panel" data="right"> 20.128 +<section> 20.129 + <table> 20.130 + <tr> 20.131 + <td>HighTotal</td> 20.132 + <td class="rs tr">$(awk -F"[: ]+" '/HighTotal/ {print $2;exit}' /proc/meminfo)</td> 20.133 + </tr> 20.134 + <tr> 20.135 + <td>HighFree</td> 20.136 + <td class="rs tr">$(awk -F"[: ]+" '/HighFree/ {print $2;exit}' /proc/meminfo)</td> 20.137 + </tr> 20.138 + <tr> 20.139 + <td>LowTotal</td> 20.140 + <td class="rs tr">$(awk -F"[: ]+" '/LowTotal/ {print $2;exit}' /proc/meminfo)</td> 20.141 + </tr> 20.142 + <tr> 20.143 + <td>LowFree</td> 20.144 + <td class="rs tr">$(awk -F"[: ]+" '/LowFree/ {print $2;exit}' /proc/meminfo)</td> 20.145 + </tr> 20.146 + </table> 20.147 +</section> 20.148 +</aside> 20.149 +<br /> <!-- @@ breakpoint --> 20.150 + 20.151 +OUTPUT 20.152 +} 20.153 + 20.154 +# @@ The action and animation 20.155 +appFREEUP(){ 20.156 +cat <<OUTPUT 20.157 + 20.158 +<div class="anibox"> 20.159 + <img class="ani spin" src="?img=ani2" alt=""> 20.160 + <img class="gear" src="?img=ani3" alt=""> 20.161 + <img class="fix spin" src="?img=turbine" alt=""/> 20.162 +</div><!-- // anibox --> 20.163 + 20.164 +<!-- 20.165 +<section> 20.166 + <div class="linescan"></div> 20.167 +</section> 20.168 +--> 20.169 + 20.170 +OUTPUT 20.171 +} 20.172 + 20.173 +# @@ The footer with additional information. 20.174 +appFOOTER(){ 20.175 +cat <<OUTPUT 20.176 + 20.177 +</div> <!-- # display --> 20.178 + 20.179 +<footer class="textup"> 20.180 + <h4>$APP_NAME $APP_VERSION - $APP_LICENSE</h4><hr> 20.181 + <h5>SliTaz GNU/Linux $SLITAZ_RELEASE ~ Kernel $(uname -r) ~ Machine $(uname -m)<br> 20.182 + Provided by The SliTaz DevTeam - Copyright (C) 2017 The SliTaz Association 20.183 + </h5> 20.184 +</footer> 20.185 + 20.186 +</div> 20.187 +</body> 20.188 +</html> 20.189 +OUTPUT 20.190 +} 20.191 + 20.192 +textRELOAD(){ 20.193 +cat <<OUTPUT 20.194 +<p title="Reload" id="reload"><a href="?"></a></p> 20.195 +OUTPUT 20.196 +} 20.197 + 20.198 +appCLOSE(){ 20.199 +cat <<OUTPUT 20.200 + 20.201 +<form id="close" method="POST" action="quit"> 20.202 + <button type="submit" title="$(_ 'Exit')">X</button> 20.203 +</form> 20.204 + 20.205 +OUTPUT 20.206 +} 20.207 + 20.208 +appRETURN(){ 20.209 +cat <<OUTPUT 20.210 +<html><head> 20.211 +<meta http-equiv="refresh" content="1;url=status.cgi" /> 20.212 +</head></html> 20.213 +OUTPUT 20.214 +}
21.1 Binary file turbine/stuff/res/theme/background.png has changed
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/turbine/stuff/res/theme/design Thu Aug 31 05:31:36 2017 -0300 22.3 @@ -0,0 +1,312 @@ 22.4 +@charset "UTF-8"; 22.5 +/* --------------------------------------------------------------------------- 22.6 + * Provided By The SliTaz Development Team. 22.7 + * Copyright (C) 2017 The SliTaz Association. 22.8 + * 22.9 + * This program is free software: you can redistribute it and/or modify 22.10 + * it under the terms of the GNU General Public License as published by 22.11 + * the Free Software Foundation, either version 3 of the License, or 22.12 + * (at your option) any later version. 22.13 + * 22.14 + * This program is distributed in the hope that it will be useful, 22.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 22.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22.17 + * GNU General Public License for more details. 22.18 + * 22.19 + * You should have received a copy of the GNU General Public License 22.20 + * along with this program. If not, see <http://www.gnu.org/licenses/>. 22.21 + * 22.22 + * --------------------------------------------------------------------------- 22.23 + * 22.24 + * @@ Turbine Stylesheet. 22.25 + * 22.26 + * !! YAD with HTML widget support uses only webkit (-webkit-*). 22.27 + * Other options are disposable here. (-o, -moz, -ms ...). 22.28 + * 22.29 + */ 22.30 + 22.31 +* { 22.32 +/* Reset Rules */ 22.33 +border-width:00px; 22.34 +font-weight:normal; 22.35 +margin:00px auto; 22.36 +outline-style:none; 22.37 +outline-width:00px; 22.38 +padding:00px 00px; 22.39 +text-align:center; 22.40 +text-decoration:none; 22.41 +-webkit-box-sizing:border-box; 22.42 +} 22.43 + 22.44 +a {color:orange;} 22.45 +a:focus, a:hover {color:black;} 22.46 + 22.47 +*:before { 22.48 +content:attr(data-icon); 22.49 +} 22.50 + 22.51 +html, body { 22.52 +background:-webkit-linear-gradient(#D2691E, #B85C1A); 22.53 +color:#FFD3B2; 22.54 +font-family:"monospace", monospace; 22.55 +font-size:12px; 22.56 +letter-spacing:normal; 22.57 +line-height:normal; 22.58 +overflow:hidden; 22.59 +} 22.60 + 22.61 +body { 22.62 +height:519px; 22.63 +position:relative; 22.64 +text-shadow:00px 01px 01px #803F12; 22.65 +width:759px; 22.66 +} 22.67 + 22.68 +br { 22.69 +clear:both; 22.70 +} 22.71 + 22.72 +hr { 22.73 +border-bottom:01px solid #B55B1A; 22.74 +margin:05px auto; 22.75 +width:80%; 22.76 +} 22.77 + 22.78 +table { 22.79 +width:80%; 22.80 +text-align:left; 22.81 +} 22.82 +table td { 22.83 +border-bottom:01px solid #B55B1A; 22.84 +padding:02px 00px; 22.85 +text-align:left; 22.86 +} 22.87 + 22.88 +/* @scheme */ 22.89 + 22.90 +header { 22.91 +background-color:#2B3137; 22.92 +border:04px solid #803F12; 22.93 +border-bottom-width:00px; 22.94 +border-radius:100px; 22.95 +margin-top:20px; 22.96 +width:70%; 22.97 +} 22.98 + 22.99 +header, footer { 22.100 +padding:20px 00px; 22.101 +} 22.102 + 22.103 +div#display { 22.104 +border-bottom:04px double RGBA(0,0,0,0.1); 22.105 +border-top:04px double RGBA(0,0,0,0.1); 22.106 +padding-bottom:20px; 22.107 +} 22.108 + 22.109 +aside.l, aside.r { 22.110 +margin-top:20px; 22.111 +width:40%; 22.112 +} 22.113 +aside.l, aside.panel { 22.114 +float:left; 22.115 +} 22.116 +aside.r { 22.117 +float:right; 22.118 +} 22.119 +aside.panel { 22.120 +margin-top:15px; 22.121 +width:32.9%; 22.122 +} 22.123 + 22.124 +[data=center]{ 22.125 +background-color:#1C2024; 22.126 +border-bottom:01px solid #CC661D; 22.127 +border-radius:04px; 22.128 +box-shadow:inset 00px 04px 04px 00px #121417; 22.129 +text-shadow:00px 01px 01px #1A1E21; 22.130 +} 22.131 +[data=center] form { 22.132 +padding:10px 00px; 22.133 +} 22.134 +[data=center] form button { 22.135 +background-color:RGBA(255,255,255,0.1); 22.136 +border:04px solid RGBA(255,255,255,0.2); 22.137 +border-radius:100px; 22.138 +color:#FFFFFF; 22.139 +cursor:pointer; 22.140 +font-size:12px; 22.141 +font-weight:bold; 22.142 +margin:07px auto; 22.143 +padding:04% 08%; 22.144 +} 22.145 + 22.146 +[data=center] form button:hover { 22.147 +background-color:RGBA(255,255,255,0.2); 22.148 +border:04px solid RGBA(255,255,255,0.1); 22.149 +} 22.150 + 22.151 +section { 22.152 +margin:10px auto; 22.153 +position:relative; 22.154 +} 22.155 +section#pc { 22.156 +margin:00px auto; 22.157 +padding:02% 04%; 22.158 +width:80%; 22.159 +} 22.160 + 22.161 +footer { 22.162 +bottom:00px; 22.163 +left:00px; 22.164 +letter-spacing:0.50px; 22.165 +line-height:01.125001em; 22.166 +position:absolute; 22.167 +width:759px; 22.168 +} 22.169 + 22.170 +/* @typography */ 22.171 + 22.172 +p#user-id { 22.173 +background-color:transparent; 22.174 +border:02px solid RGBA(255,255,255,0.1); 22.175 +border-radius:100px; 22.176 +color:floralwhite; 22.177 +font-size:10px; 22.178 +font-weight:bold; 22.179 +left:04px; 22.180 +padding:04px 08px; 22.181 +position:absolute; 22.182 +text-shadow:none; 22.183 +top:00px; 22.184 +} 22.185 +p#reload { 22.186 +line-height:30px; 22.187 +padding:00px; 22.188 +position:absolute; 22.189 +right:40px; 22.190 +top:00px; 22.191 +width:40px; 22.192 +} 22.193 +p#reload a { 22.194 +color:RGBA(255,255,255,0.5); 22.195 +font-size:30px; 22.196 +text-shadow:none; 22.197 +} 22.198 +p#reload a:focus, p#reload a:hover { 22.199 +color:RGBA(255,255,255,1); 22.200 +} 22.201 + 22.202 +header h1 { 22.203 +background:url("turbine.svg") 50% 50% no-repeat; 22.204 +} 22.205 + 22.206 +header h1, footer h4 { 22.207 +color:#FFFFFF; 22.208 +font-family:"sans"; 22.209 +font-weight:bold; 22.210 +} 22.211 +section#pc h1 { 22.212 +font-size:12px; 22.213 +font-weight:bold; 22.214 +} 22.215 +footer h4 { 22.216 +font-size:11px; 22.217 +} 22.218 +footer h5 { 22.219 +font-size:09px; 22.220 +} 22.221 + 22.222 +form#close { 22.223 +line-height:0; 22.224 +position:absolute; 22.225 +top:00px; 22.226 +right:08px; 22.227 +} 22.228 +form#close button { 22.229 +background-color:#2B3137; 22.230 +border:02px solid #803F12; 22.231 +border-bottom-width:00px; 22.232 +border-radius:100%; 22.233 +color:#FFFFFF; 22.234 +cursor:pointer; 22.235 +display:table; 22.236 +font-size:14px; 22.237 +font-weight:bold; 22.238 +height:30px; 22.239 +line-height:29px; 22.240 +width:30px; 22.241 +} 22.242 + 22.243 +/* @extra */ 22.244 + 22.245 +.date { 22.246 +color:black; 22.247 +text-shadow:none; 22.248 +} 22.249 + 22.250 +header h1 img { 22.251 +margin-right:04px; 22.252 +vertical-align:text-top; 22.253 +} 22.254 + 22.255 +.rs:after { 22.256 +color:#FFFFFF; 22.257 +content:"KB"; 22.258 +font-size:10px; 22.259 +margin-left:02px; 22.260 +vertical-align:middle; 22.261 +} 22.262 +.tr { 22.263 +color:#FFFFFF; 22.264 +text-align:right; 22.265 +} 22.266 +.info * { 22.267 +border:01px solid RGBA(255,255,255,0.1); 22.268 +border-radius:100px; 22.269 +color:#FFFFFF; 22.270 +display:table; 22.271 +font-size:10px; 22.272 +font-weight:bolder; 22.273 +letter-spacing:00.100001em; 22.274 +margin-bottom:-10px; 22.275 +padding:04px 16px; 22.276 +} 22.277 +.textup { 22.278 +text-transform:uppercase; 22.279 +} 22.280 + 22.281 +/* @animation */ 22.282 + 22.283 +.anibox { 22.284 +background-color:#1C2024; 22.285 +border:06px solid #4C260B; 22.286 +border-radius:100%; 22.287 +box-shadow:00px 12px 20px 00px #4C260B; 22.288 +height:220px; 22.289 +margin-top:60px; 22.290 +position:relative; 22.291 +width:220px; 22.292 +} 22.293 + 22.294 +.ani { 22.295 +left:03px; 22.296 +position:absolute; 22.297 +top:03px; 22.298 +width:200px; 22.299 +} 22.300 +.gear { 22.301 +left:03.5px; 22.302 +position:absolute; 22.303 +top:03.5px; 22.304 +width:200px; 22.305 +} 22.306 +.fix { 22.307 +left:03px; 22.308 +position:absolute; 22.309 +top:03px; 22.310 +width:200px; 22.311 +} 22.312 + 22.313 +.spin {-webkit-animation:spin 0.5s linear infinite;} 22.314 +@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } 22.315 +
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/turbine/stuff/res/theme/gtkrc Thu Aug 31 05:31:36 2017 -0300 23.3 @@ -0,0 +1,60 @@ 23.4 +# 23.5 +# Provided By The SliTaz Development Team. 23.6 +# Copyright (C) 2017 The SliTaz Association. 23.7 +# 23.8 +# This program is free software: you can redistribute it and/or modify 23.9 +# it under the terms of the GNU General Public License as published by 23.10 +# the Free Software Foundation, either version 3 of the License, or 23.11 +# (at your option) any later version. 23.12 +# 23.13 +# This program is distributed in the hope that it will be useful, 23.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 23.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23.16 +# GNU General Public License for more details. 23.17 +# 23.18 +# You should have received a copy of the GNU General Public License 23.19 +# along with this program. If not, see <http://www.gnu.org/licenses/>. 23.20 +# 23.21 + 23.22 +pixmap_path "/var/www/cgi-bin/turbine/res/theme" 23.23 + 23.24 +style "APPfont" 23.25 +{ 23.26 + font_name = "Sans 8" 23.27 +} 23.28 + 23.29 +style "APPstyle" 23.30 +{ 23.31 + bg[NORMAL] = "#D2691E" # Color Background 23.32 + bg_pixmap[NORMAL] = "background.png" 23.33 + fg[NORMAL] = "#FFD3B2" # Color Text 23.34 + GtkRange::stepper_spacing = 0 23.35 + GtkRange::trough_border = 0 23.36 +} 23.37 + 23.38 +style "APPcontent" { 23.39 + bg[NORMAL] = "#D2691E" # Color Background 23.40 + bg_pixmap[NORMAL] = "background.png" 23.41 + fg[NORMAL] = "#FFD3B2" # Color Text 23.42 + font_name = "sans" 23.43 + GtkLabel::use-markup = TRUE 23.44 +} 23.45 + 23.46 +style "APPbuttons" { 23.47 + fg[NORMAL] = "#FFD3B2" # button label text colour 23.48 + fg[PRELIGHT] = "#FFFFFF" # button label text colour when mouse is over the button 23.49 + bg[NORMAL] = "#D2691E" # button background colour 23.50 + bg[PRELIGHT] = "#D2691E" # button background colour when mouse is over the button 23.51 + bg[ACTIVE] = "#D2691E" 23.52 + bg[SELECTED] = "#D2691E" 23.53 + font_name = "sans" # button font display 23.54 + xthickness = 2 # adds "border" on either side of the button 23.55 + ythickness = 2 # adds "border" above and below the button 23.56 +} 23.57 + 23.58 +widget_class "*" style "APPfont" 23.59 +widget_class "<GtkWindow>" style "APPstyle" 23.60 +widget_class "<GtkWindow><GtkVBox><GtkHBox><GtkVBox><GtkLabel>" style "APPcontent" 23.61 +widget_class "<GtkWindow><GtkVBox><GtkContainer><GtkButton>" style "APPbuttons" 23.62 +widget_class "<GtkWindow><GtkVBox><GtkContainer><GtkButton><GtkContainer><GtkHBox><GtkLabel>" style "APPbuttons" 23.63 +gtk-font-name = "Sans 8" # Important
24.1 Binary file turbine/stuff/res/theme/img/ani-02.png has changed
25.1 Binary file turbine/stuff/res/theme/img/ani-03.png has changed
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/turbine/stuff/turbine Thu Aug 31 05:31:36 2017 -0300 26.3 @@ -0,0 +1,77 @@ 26.4 +#!/bin/bash 26.5 +# 26.6 +# Provided By The SliTaz Development Team. 26.7 +# Copyright (C) 2017 The SliTaz Association. 26.8 +# 26.9 +# This program is free software: you can redistribute it and/or modify 26.10 +# it under the terms of the GNU General Public License as published by 26.11 +# the Free Software Foundation, either version 3 of the License, or 26.12 +# (at your option) any later version. 26.13 +# 26.14 +# This program is distributed in the hope that it will be useful, 26.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 26.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26.17 +# GNU General Public License for more details. 26.18 +# 26.19 +# You should have received a copy of the GNU General Public License 26.20 +# along with this program. If not, see <http://www.gnu.org/licenses/>. 26.21 +# 26.22 +# Import Turbine Database. 26.23 +source /var/www/cgi-bin/turbine/res/base/data 26.24 + 26.25 +export turbine="/usr/bin/turbine" 26.26 + 26.27 +# Check DEPENDS 26.28 +# ------------- 26.29 +CHK_BASH="/var/lib/tazpkg/installed/bash" # Check Bash 26.30 +CHK_YAD="/var/lib/tazpkg/installed/yad-gtk2-html" # Check Yad with HTML. 26.31 +CHK_SVG="/var/lib/tazpkg/installed/librsvg" # Check Librsvg. 26.32 +CHK_FAIL="file:///$localdata/base/deps.fail.html" # Report missing DEPS. 26.33 + 26.34 +# ---------------------------------------------------------------------------- 26.35 +# It is important to check if any dependencies have been removed by user. 26.36 + 26.37 +checkDEPS(){ 26.38 +if [ -e "$CHK_BASH" ] && [ -e "$CHK_YAD" ] && [ -e "$CHK_SVG" ] 26.39 +then 26.40 + # OK! Let's check the logs now... 26.41 + checkROOT 26.42 +else 26.43 + # Oops! Let's report the problem in the default browser. 26.44 + browser $CHK_FAIL 26.45 +exit 26.46 +fi 26.47 +} 26.48 + 26.49 +# Check Root 26.50 +# ---------- 26.51 + 26.52 +checkROOT(){ 26.53 + 26.54 +user=$(id -u) 26.55 +if [ "$user" == "0" ] 26.56 +then 26.57 + turbine 26.58 +else 26.59 + tazbox su turbine 26.60 +fi 26.61 + 26.62 +exit 26.63 + 26.64 +} 26.65 + 26.66 +# Start Turbine 26.67 +# ------------- 26.68 + 26.69 +turbine(){ 26.70 + 26.71 +yad --gtkrc="$localtheme/gtkrc" --undecorated \ 26.72 + --window-icon="$localicons/48/turbine.svg" \ 26.73 + --title="$APP_TITLE - $APP_DESC" --center \ 26.74 + --width="760" --height="520" --no-buttons \ 26.75 + --browser --html --mime="text/html" \ 26.76 + --borders="0" --uri="$localwww/res/base/status.cgi" 26.77 + 26.78 +} 26.79 + 26.80 +checkDEPS