Freeseer/freeseer — Issue #165: Missing desktop file and icon.
Author: malcolmlewis
Created: 2012-02-10 20:31:47+00:00
State: open

Hi
I've repackaged up the latest version on the Packman Build Service for openSUSE, however it's missing both an icon and desktop file.

In the interim I've used the aktion.png file from one of the icon themes.

Do you have plans for an icon, or one available somewhere?

I've also created the following patch to install the icon and desktop file in setup.py for your consideration;

diff -Naur a/data/freeseer.desktop b/data/freeseer.desktop
--- a/data/freeseer.desktop	1969-12-31 18:00:00.000000000 -0600
+++ b/data/freeseer.desktop	2012-02-10 14:14:06.969104784 -0600
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=freeseer
+Comment=Video capture utility
+GenericName=
+Type=Application
+Exec=/usr/bin/freeseer-record
+Icon=freeseer
+Categories=AudioVideo;Recorder;
diff -Naur a/setup.py b/setup.py
--- a/setup.py	2011-04-27 14:35:41.000000000 -0500
+++ b/setup.py	2012-02-10 14:10:08.675541468 -0600
@@ -1,6 +1,8 @@
#!/usr/bin/env python

from setuptools import setup
+import os
+
setup(name='freeseer',
version='2.5.3',
description='video recording and streaming tool',
@@ -23,4 +25,8 @@
'freeseer.frontend.configtool',
'freeseer.frontend.talkeditor',
'freeseer.frontend.default'],
- scripts=['src/freeseer-record', 'src/freeseer-config', 'src/freeseer-talkeditor'])
+ scripts=['src/freeseer-record', 'src/freeseer-config', 'src/freeseer-talkeditor'],
+ data_files=[('share/applications', ['data/freeseer.desktop']),
+ ('share/pixmaps', ['data/freeseer.png'])]
+ )
+