Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit616792b

Browse files
committed
Adapt desktop and appdata files to new spec
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
1 parentd4a28ef commit616792b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

data/bpython.appdata.xml renamed to data/org.bpython-interpreter.bpython.appdata.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 2014-2015 bpython authors-->
3-
4-
<componenttype="desktop">
5-
<id>bpython.desktop</id>
2+
<!-- Copyright 2014-2018 bpython authors-->
3+
<componenttype="desktop-application">
4+
<id>org.bpython-interpreter.bpython</id>
65
<metadata_license>CC0-1.0</metadata_license>
76
<project_license>MIT</project_license>
87
<name>bpython interpreter</name>
@@ -22,6 +21,7 @@
2221
<li>Auto-indentation.</li>
2322
</ul>
2423
</description>
24+
<launchabletype="desktop-id">org.bpython-interpreter.bpython.desktop</launchable>
2525
<urltype="homepage">http://www.bpython-interpreter.org/</url>
2626
<urltype="bugtracker">https://github.com/bpython/bpython/issues</url>
2727
<screenshots>

data/bpython.desktop renamed to data/org.bpython-interpreter.bpython.desktop

File renamed without changes.

‎setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ def initialize_options(self):
197197

198198
data_files= [
199199
# desktop shortcut
200-
(os.path.join('share','applications'), ['data/bpython.desktop']),
200+
(os.path.join('share','applications'), ['data/org.bpython-interpreter.bpython.desktop']),
201201
# AppData
202-
(os.path.join('share','appinfo'), ['data/bpython.appdata.xml']),
202+
(os.path.join('share','appinfo'), ['data/org.bpython-interpreter.bpython.appdata.xml']),
203203
# icon
204204
(os.path.join('share','pixmaps'), ['data/bpython.png'])
205205
]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp