20 Commits

Author SHA1 Message Date
Martin Thoma
b19593f4ac STY: Simplify the code
I used my tool flake8-simplify (version 0.4.1) to find those.
I didn't use contextlib.suppress.
2020-09-24 17:51:13 +02:00
FeRD (Frank Dana)
8f1b287316 Add new OSP icon, install & use 2020-05-27 11:36:36 -04:00
eszlari
1a5c1d42ec Linux/setup.py: install 128x128 icon (#3374) 2020-04-14 05:45:00 -04:00
Peter Eszlari
9452496834 rename Linux metadata 2019-08-07 20:43:37 +02:00
Florian Pritz
c254a0aef2 Install icons to hicolor/NxN instead of hicolor/N
Nearly all other Arch Linux packages also follow this pattern and the Freedesktop specification also only uses this pattern when providing examples.

References:
https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
https://bugs.archlinux.org/task/62900
2019-06-15 11:39:29 +02:00
FeRD (Frank Dana)
f090dc338b Install icons to freedesktop paths from setup.py
The `setup.py` installer in the repo root directory has only
been installing the SVG icon file, and into `/usr/share/pixmaps/`
which is a path only used by the Debian menu system[1] (not by
XDG, as the file claims.)

XDG uses Freedesktop's icon theme specification[2], which instructs
application developers to install their icon files in the theme
directories: `$prefix/share/icons/hicolor/*/apps` (sorted by size).

This change installs the existing `openshot-qt.svg` scalable icon
and `openshot-qt.png` (64x64) icon, as well as the new 256x256 and
512x512 PNGs, into their appropriate places in the icon theme
hierarchy.

Again, this is something we've been taking care of "manually" on
the packaging end. I'd prefer to offload it to `setup.py`, which
we're running anyway as part of the package-build process, so that
everyone building the package can benefit from it.

[1]: https://www.debian.org/doc/packaging-manuals/menu.html/ch3.html#s3.7
[2]: https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#install_icons
2018-09-10 21:46:33 -04:00
Peter Eszlari
2793dc36c6 Add AppStream metadata 2018-08-08 20:11:57 +02:00
Jonathan Thomas
fb617d12bd Updating setuptools distutils, to use entry_points rather than a custom launch script. Hopefully this won't break the Launchpad build server. 2016-01-25 01:09:23 -06:00
Jonathan Thomas
f0397ff4c5 Renaming launch-openshot to openshot-qt (which is a much better executable name for Linux or Python installs) 2016-01-20 22:37:42 -06:00
Jonathan Thomas
77f5baa7b2 Updating freeze and setup to ignore errors when deleting the temp openshot_qt install folder 2016-01-14 02:10:01 -06:00
Jonathan Thomas
cb79e7fdce Removing some unused files. Renaming launchers and icons to not collide with OpenShot 1.x. Updating icon paths to relative (inside the src folder). Renamed mime types to openshot-qt. This might break the PPA, but I'll fix it shortly if it does. =) 2016-01-12 00:38:22 -06:00
Jonathan Thomas
c33c4eb546 Updated copyright to 2016, Improved Credits dialog with websites for developers and translator credits (based on which language is loaded). Fixed a bug on the JS timeline, where certain properties were not being applied (like FPS changes). Replaced Ubuntu-L font with Ubuntu-R font. Updated README and AUTHORS. 2016-01-09 15:45:02 -06:00
Jonathan Thomas
f1932d2a91 Improved freeze.py to work the same as setup.py (not sure if I still need both these files). Both produce a sdist with the folder openshot_qt now, to be consistent. Fixed some file names with spaces (including the blender earth animation). Improved linux freeze behavior, although it's still not pickup up all the libopenshot.so dependencies. 2015-10-27 23:59:08 -05:00
Jonathan Thomas
a03299c912 Another improvement to setup.py (loading paths from current directory) 2015-10-22 12:21:46 -05:00
Jonathan Thomas
0ae302e54e Wokred on setup.py install script for Linux (or manual installs) 2015-10-21 00:35:28 -05:00
Jonathan Thomas
d8aa8a36e4 PEP8 Formatting for remaining Python files that have not already been re-formatted. 2015-10-06 16:58:15 -05:00
Jonathan Thomas
4148fd2702 Added initial cx_Freeze script, called freeze.py. This is used to create redistributable packages with dependencies for Mac and Windows. 2014-06-18 22:57:40 -05:00
Jonathan Thomas
f476f4c1c7 Another major refactoring effort. Renamed all files to be lowercase, moved timeline html into a different folder (src/timeline). Added many missing files, such as transitions, effects, blender files, and presets. Also renamed some core classes, such as OpenShotApp to app, SettingDataStore to settings, etc... 2014-01-25 19:32:19 -06:00
Jonathan Thomas
022d5869ab Lots of changes with this commit! 1) Renamed docs to doc 2) Updated copyright on all files 3) integrated Doxygen and doxypy 4) Added file briefs and authors to all files 5) removed some unneeded files (i.e.uiMain.py) 2014-01-13 23:09:51 -06:00
Jonathan Thomas
c9c77c604b Refactored openshot folder to src folder. Improved copyright notice on primary python files. Added root files, README, AUTHORS, COPY, etc... 2014-01-13 17:18:36 -06:00