Kaydet (Commit) 7e786b54 authored tarafından Hakan Dündar's avatar Hakan Dündar

Improvements for debian packaging and GUI

üst cd21069b
......@@ -20,4 +20,6 @@ Depends: ${misc:Depends},
pci.ids,
dmidecode
Description: Provides information about system performance and usage.
Provides information about CPU/RAM/Disk/Network/GPU performance, sensors, processes, users, storage, startup programs, services, environment variables and system.
Provides information about CPU/RAM/Disk/Network/GPU performance, sensors,
processes, users, storage, startup programs, services, environment variables
and system.
system-monitoring-center: binary-without-manpage usr/bin/system-monitoring-center
\ No newline at end of file
......@@ -50,6 +50,7 @@ if PREFIX == "/app":
data_files = [
("/app/share/applications/", ["integration/tr.org.pardus.pkexec.system-monitoring-center.desktop"]),
("/app/share/locale/tr/LC_MESSAGES/", ["translations/tr/system-monitoring-center.mo"]),
("/app/share/man/man1/", ["man/system-monitoring-center.1.gz"]),
("/app/share/system-monitoring-center/src/", files_in_folder("src/")),
("/app/share/system-monitoring-center/ui/", files_in_folder("ui/")),
("/app/share/icons/hicolor/scalable/actions/", files_in_folder("icons/actions/")),
......@@ -61,6 +62,7 @@ if PREFIX == "/app":
if PREFIX == "RPM":
os.chmod("integration/tr.org.pardus.system-monitoring-center.desktop", 0o644)
os.chmod("translations/tr/system-monitoring-center.mo", 0o644)
os.chmod("man/system-monitoring-center.1.gz", 0o644)
for file in files_in_folder("src/"):
os.chmod(file, 0o644)
for file in files_in_folder("ui/"):
......@@ -73,6 +75,7 @@ if PREFIX == "RPM":
data_files = [
(build_root + "/usr/share/applications/", ["integration/tr.org.pardus.system-monitoring-center.desktop"]),
(build_root + "/usr/share/locale/tr/LC_MESSAGES/", ["translations/tr/system-monitoring-center.mo"]),
(build_root + "/usr/share/man/man1/", ["man/system-monitoring-center.1.gz"]),
(build_root + "/usr/share/system-monitoring-center/src/", files_in_folder("src/")),
(build_root + "/usr/share/system-monitoring-center/ui/", files_in_folder("ui/")),
(build_root + "/usr/share/icons/hicolor/scalable/actions/", files_in_folder("icons/actions/")),
......@@ -82,9 +85,16 @@ if PREFIX == "RPM":
]
if PREFIX != "/app" and PREFIX != "RPM":
for file in files_in_folder("ui/"):
if file.endswith(".ui"):
os.chmod(file, 0o644)
os.chmod("translations/tr/system-monitoring-center.mo", 0o644)
os.chmod("integration/tr.org.pardus.pkexec.system-monitoring-center.policy", 0o644)
os.chmod("src/__version__", 0o644)
data_files = [
("/usr/share/applications/", ["integration/tr.org.pardus.system-monitoring-center.desktop"]),
("/usr/share/locale/tr/LC_MESSAGES/", ["translations/tr/system-monitoring-center.mo"]),
("/usr/share/man/man1/", ["man/system-monitoring-center.1.gz"]),
("/usr/share/system-monitoring-center/src/", files_in_folder("src/")),
("/usr/share/system-monitoring-center/ui/", files_in_folder("ui/")),
("/usr/share/icons/hicolor/scalable/actions/", files_in_folder("icons/actions/")),
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-12 09:50+0300\n"
"POT-Creation-Date: 2021-11-12 19:20+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -72,7 +72,7 @@ msgstr ""
#: src/Disk.py:420 src/FloatingSummary.py:208 src/Network.py:343
#: src/Performance.py:426 src/PerformanceSummaryHeaderbar.py:199
#: src/Processes.py:915 src/ProcessesDetails.py:655 src/Ram.py:349
#: src/RamSwapDetails.py:143 src/Services.py:636 src/ServicesDetails.py:356
#: src/RamSwapDetails.py:145 src/Services.py:636 src/ServicesDetails.py:356
#: src/Storage.py:908 src/StorageDetails.py:515 src/Users.py:729
#: src/UsersDetails.py:380
msgid "Auto-Byte"
......@@ -81,7 +81,7 @@ msgstr ""
#: src/Disk.py:422 src/FloatingSummary.py:210 src/Network.py:345
#: src/Performance.py:428 src/PerformanceSummaryHeaderbar.py:201
#: src/Processes.py:917 src/ProcessesDetails.py:657 src/Ram.py:351
#: src/RamSwapDetails.py:145 src/Services.py:638 src/ServicesDetails.py:358
#: src/RamSwapDetails.py:147 src/Services.py:638 src/ServicesDetails.py:358
#: src/Storage.py:910 src/StorageDetails.py:517 src/Users.py:731
#: src/UsersDetails.py:382
msgid "Auto-bit"
......@@ -637,7 +637,7 @@ msgstr ""
msgid "Used"
msgstr ""
#: src/RamSwapDetails.py:115
#: src/RamSwapDetails.py:117
msgid "This system has no swap memory."
msgstr ""
......
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-12 09:50+0300\n"
"PO-Revision-Date: 2021-11-12 09:51+0300\n"
"POT-Creation-Date: 2021-11-12 19:20+0300\n"
"PO-Revision-Date: 2021-11-12 19:21+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: tr_TR\n"
......@@ -73,7 +73,7 @@ msgstr "disk bölümü"
#: src/Disk.py:420 src/FloatingSummary.py:208 src/Network.py:343
#: src/Performance.py:426 src/PerformanceSummaryHeaderbar.py:199
#: src/Processes.py:915 src/ProcessesDetails.py:655 src/Ram.py:349
#: src/RamSwapDetails.py:143 src/Services.py:636 src/ServicesDetails.py:356
#: src/RamSwapDetails.py:145 src/Services.py:636 src/ServicesDetails.py:356
#: src/Storage.py:908 src/StorageDetails.py:515 src/Users.py:729
#: src/UsersDetails.py:380
msgid "Auto-Byte"
......@@ -82,7 +82,7 @@ msgstr "Oto-Bayt"
#: src/Disk.py:422 src/FloatingSummary.py:210 src/Network.py:345
#: src/Performance.py:428 src/PerformanceSummaryHeaderbar.py:201
#: src/Processes.py:917 src/ProcessesDetails.py:657 src/Ram.py:351
#: src/RamSwapDetails.py:145 src/Services.py:638 src/ServicesDetails.py:358
#: src/RamSwapDetails.py:147 src/Services.py:638 src/ServicesDetails.py:358
#: src/Storage.py:910 src/StorageDetails.py:517 src/Users.py:731
#: src/UsersDetails.py:382
msgid "Auto-bit"
......@@ -669,7 +669,7 @@ msgstr "Boyut"
msgid "Used"
msgstr "Kullanılan"
#: src/RamSwapDetails.py:115
#: src/RamSwapDetails.py:117
msgid "This system has no swap memory."
msgstr "Bu sistemde takas belleği yok."
......@@ -2148,7 +2148,7 @@ msgstr ""
"\n"
"glarea ve OpenGL kütüphanesi kullanılarak sayılır.\n"
"Basit bir FPS sayacıdır ve bazı durumlarda doğru değerler vermeyebilir.\n"
"Pencere küçültülmüşken FPS sayımı devam etmez."
"Pencere simge durumuna küçültülmüşken FPS sayımı devam etmez."
#: ui/GpuTab.ui:29
msgid "FPS (Frame Rate): "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment