2011-04-15 02:32:42 -04:00
|
|
|
$OpenBSD: patch-setup_py,v 1.5 2011/04/15 06:32:42 jasper Exp $
|
2009-05-22 03:19:26 -04:00
|
|
|
|
|
|
|
Fix build on clean system.
|
|
|
|
|
2011-04-15 02:32:42 -04:00
|
|
|
--- setup.py.orig Thu Apr 14 23:28:44 2011
|
|
|
|
+++ setup.py Thu Apr 14 23:29:10 2011
|
2010-09-30 07:06:18 -04:00
|
|
|
@@ -220,7 +220,7 @@ if set(['build', 'install', 'bdist', 'py2exe', 'i18n']
|
2009-05-22 03:19:26 -04:00
|
|
|
|
|
|
|
# Freedesktop parameters
|
2009-11-12 05:10:57 -05:00
|
|
|
share_dir = join(get_data_base_dir(), 'share')
|
2011-04-15 02:32:42 -04:00
|
|
|
-if os.path.exists(share_dir):
|
2009-05-22 03:19:26 -04:00
|
|
|
+if 1:
|
2010-09-30 07:06:18 -04:00
|
|
|
parameters['data_files'].extend([
|
|
|
|
(join(share_dir, 'applications'), ['rednotebook.desktop']),
|
|
|
|
(join(share_dir, 'icons/hicolor/48x48/apps'), ['rednotebook.png']),# new freedesktop.org spec
|