Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 93d47e2

Browse files
committed
Fixed #2
1 parent 1a137b4 commit 93d47e2

6 files changed

+105
-8
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ set (ICON_NAME ${CMAKE_PROJECT_NAME})
1414
set (APP_NAME "Tomato")
1515
set (GENERIC_NAME "Pomodoro App")
1616
set (RELEASE_NAME "Amai")
17+
set (PACKAGE_ID "com.github.luizaugustomm.tomato")
1718
set (COMMENT "Organize your work with pomodoro technique")
1819
set (VERSION "1.2.0")
1920
set (VERSION_INFO "Stable release")
@@ -56,7 +57,8 @@ set (SOURCE_LIST
5657

5758
# Some configuration
5859
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/src/Config.vala.cmake ${CMAKE_CURRENT_SOURCE_DIR}/src/Config.vala)
59-
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/data/org.pantheon.tomato.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/data/org.pantheon.tomato.desktop)
60+
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/data/${PACKAGE_ID}.appdata.xml.in ${CMAKE_CURRENT_SOURCE_DIR}/data/${PACKAGE_ID}.appdata.xml)
61+
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/data/${PACKAGE_ID}.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/data/${PACKAGE_ID}.desktop)
6062

6163
# Some definitions
6264
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
@@ -126,7 +128,7 @@ add_subdirectory (schemas)
126128
add_subdirectory (po)
127129

128130
# install our .desktop file so the Applications menu will see it
129-
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/org.pantheon.tomato.desktop DESTINATION ${DATADIR}/applications)
131+
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/${PACKAGE_ID}.desktop DESTINATION ${DATADIR}/applications)
130132
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/style/window.css DESTINATION ${PKG_DATADIR}/style)
131133
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/icons/ DESTINATION ${DATADIR}/icons/hicolor)
132134
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/tomato.svg DESTINATION ${DATADIR}/pixmaps)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Copyright 2017 Luiz Augusto Morais <[email protected]> -->
3+
<component type="desktop">
4+
<id>com.github.luizaugustomm.tomato.desktop</id>
5+
<metadata_license>CC0</metadata_license>
6+
<name>Tomato</name>
7+
<summary>A simple, clean and intuitive pomodoro app designed for elementaryOS</summary>
8+
9+
<description>
10+
<p>
11+
Tomato is based on Pomodoro technique. It helps you to keep focused on your work.
12+
</p>
13+
</description>
14+
15+
<screenshots>
16+
<screenshot type="default">
17+
<caption>Start page</caption>
18+
<image width="1000" height="562">https://doc-0s-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/u160gfaeijgg2s8m42es3d5ao7vpna42/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eLWh4OVZ5anQyM00?e=view</image>
19+
</screenshot>
20+
<screenshot>
21+
<caption>Pomodoro time</caption>
22+
<image width="1000" height="563">https://doc-0o-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/o7gqdbnooimh1i9ldelblfu0h5r7jom6/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eeUlkYklFcXJ5djA?e=view&nonce=jtmvj0pg6mnnq&user=03447227876278754291&hash=0iu1ou9pam7u7pmaaj0gsmhk85m0jes9</image>
23+
</screenshot>
24+
<screenshot>
25+
<caption>Short break time</caption>
26+
<image width="1000" height="567">https://doc-0g-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/cb8tb9hc84t5vuo8ipqiun1vk0qeu1bu/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eQ0haVGdFbnV1N0E?e=view</image>
27+
</screenshot>
28+
</screenshots>
29+
30+
<url type="homepage">https://github.com/luizaugustomm/tomato</url>
31+
32+
<custom>
33+
<value key="x-appcenter-color-primary">#da4343</value>
34+
<value key="x-appcenter-color-primary-text">#fff</value>
35+
</custom>
36+
37+
<provides>
38+
<binary>tomato</binary>
39+
</provides>
40+
41+
<releases>
42+
<release version="1.2.0" timestamp="20170327">
43+
<description>
44+
<p>Tomato "Amai" 1.2.0</p>
45+
</description>
46+
</release>
47+
</releases>
48+
</component>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Copyright 2017 Luiz Augusto Morais <[email protected]> -->
3+
<component type="desktop">
4+
5+
<metadata_license>CC0</metadata_license>
6+
<name>@APP_NAME@</name>
7+
<summary>A simple, clean and intuitive pomodoro app designed for elementaryOS</summary>
8+
9+
<description>
10+
<p>
11+
Tomato is based on Pomodoro technique. It helps you to keep focused on your work.
12+
</p>
13+
</description>
14+
15+
<screenshots>
16+
<screenshot type="default">
17+
<caption>Start page</caption>
18+
<image width="1000" height="562">https://doc-0s-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/u160gfaeijgg2s8m42es3d5ao7vpna42/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eLWh4OVZ5anQyM00?e=view</image>
19+
</screenshot>
20+
<screenshot>
21+
<caption>Pomodoro time</caption>
22+
<image width="1000" height="563">https://doc-0o-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/o7gqdbnooimh1i9ldelblfu0h5r7jom6/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eeUlkYklFcXJ5djA?e=view&nonce=jtmvj0pg6mnnq&user=03447227876278754291&hash=0iu1ou9pam7u7pmaaj0gsmhk85m0jes9</image>
23+
</screenshot>
24+
<screenshot>
25+
<caption>Short break time</caption>
26+
<image width="1000" height="567">https://doc-0g-20-docs.googleusercontent.com/docs/securesc/tilkpoit4cl0r389cfh1csgf9k7l4k72/cb8tb9hc84t5vuo8ipqiun1vk0qeu1bu/1491264000000/03447227876278754291/03447227876278754291/0Bz8YPMiI5D1eQ0haVGdFbnV1N0E?e=view</image>
27+
</screenshot>
28+
</screenshots>
29+
30+
<url type="homepage">https://github.com/luizaugustomm/tomato</url>
31+
32+
<custom>
33+
<value key="x-appcenter-color-primary">#da4343</value>
34+
<value key="x-appcenter-color-primary-text">#fff</value>
35+
</custom>
36+
37+
<provides>
38+
<binary>@EXEC_NAME@</binary>
39+
</provides>
40+
41+
<releases>
42+
<release version="1.2.0" timestamp="20170327">
43+
<description>
44+
<p>Tomato "Amai" 1.2.0</p>
45+
</description>
46+
</release>
47+
</releases>
48+
</component>

data/org.pantheon.tomato.desktop renamed to data/com.github.luizaugustomm.tomato.desktop

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[Desktop Entry]
22
Type=Application
33
Name=Tomato
4-
Version=1.2.0
5-
_Comment=Organize your work with pomodoro technique
6-
_GenericName=Pomodoro App
4+
Comment=Organize your work with pomodoro technique
5+
GenericName=Pomodoro App
76
StartupWMClass=tomato
87
Exec=tomato
98
Icon=tomato
109
Terminal=false
11-
Categories=GNOME;GTK;Utility;Productivity
12-
Keywords=Pomodoro;Time;Productivity;Tomato
10+
Categories=GNOME;GTK;Utility;Productivity;
11+
Keywords=Pomodoro;Time;Productivity;Tomato;
1312
StartupNotify=true
1413
X-GNOME-Gettext-Domain=tomato
1514
X-GNOME-UsesNotifications=true

po/tomato.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2017-04-02 13:56-0300\n"
11+
"POT-Creation-Date: 2017-04-03 22:52-0300\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"

0 commit comments

Comments
 (0)