Skip to content

Commit

Permalink
prepare for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdc committed Aug 18, 2017
1 parent b12f387 commit 6825dd0
Show file tree
Hide file tree
Showing 14 changed files with 77 additions and 13 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Michael Starkweather
Stanisław Dac <[email protected]>
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set (DATADIR "${CMAKE_INSALL_PREFIX}/share")
set (PKGDATADIR "${DATADIR}/${PROJECT_NAME}")
set (GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})
set (RELEASE_NAME "Monitor")
set (VERSION "0.1")
set (VERSION "0.2")
set (VERSION_INFO "Alpha")
set (DOLLAR "$")

Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

Manage processes and monitor system.
Copyright (C) 2017 Stanisław @stsdc
Copyright (C) 2017 Stanisław Dac <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

Monitor Copyright (C) 2017 Stanisław @stsdc
Monitor Copyright (C) 2017 Stanisław Dac <[email protected]>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Monitor
Manage processes and monitor resource usage of the system.
Manage processes and monitor system resources.

![Monitor Screenshot](https://github.com/stsdc/monitor/raw/master/data/com.github.stsdc.monitor.screenshot.png)

Expand Down
16 changes: 16 additions & 0 deletions data/com.github.stsdc.monitor.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Stanisław <@ststdc> -->
<component type="desktop">
<id>com.github.stsdc.monitor.desktop</id>
<metadata_license>CC0</metadata_license>
<name>Monitor</name>
<summary>Manage processes and monitor system resources</summary>
<description>
<p>A quick summary of your app's main selling points and features. Just a couple sentences per paragraph is best.</p>
</description>
<custom>
<value key="x-appcenter-color-primary">#2196f3</value>
<value key="x-appcenter-color-primary-text">rgb(255, 255, 255)</value>
<value key="x-appcenter-suggested-price">0</value>
</custom>
</component>
2 changes: 1 addition & 1 deletion data/com.github.stsdc.monitor.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Exec=com.github.stsdc.monitor %U
Icon=utilities-system-monitor
Terminal=false
Type=Application
X-GNOME-Gettext-Domain=torrential
X-GNOME-Gettext-Domain=monitor
Keywords=System monitor;System usage;Task manager;
X-GNOME-UsesNotifications=true
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
com.github.stsdc.monitor (0.2.0) xenial; urgency=low

* Initial Release.

-- Stanisław Dac <[email protected]> Fri, 18 Aug 2017 12:25:26 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: com.github.stsdc.monitor
Section: system
Priority: extra
Maintainer: David Hewitt <[email protected]>
Build-Depends: cmake (>= 2.8),
debhelper (>= 9),
libgtk-3-dev,
valac (>= 0.26),
libgranite-dev,
libbamf3-dev,
libwnck-3-dev,


Standards-Version: 3.9.3

Package: com.github.stsdc.monitor
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Manage processes and monitor system resources.
7 changes: 7 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: com.github.stsdc.monitor
Source: https://github.com/stsdc/monitor

Files: *
Copyright: 2017 Stanisław Dac
License: GPL-3.0+
14 changes: 14 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
dh $@

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
10 changes: 4 additions & 6 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,15 @@ namespace elementarySystemMonitor {

// setup buttons
var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
button_box.get_style_context ().add_class (Gtk.STYLE_CLASS_FLAT);
// button_box.get_style_context ().add_class (Gtk.STYLE_CLASS_LINKED);

// setup process info button
// process_info_button = new Gtk.Button.from_icon_name ("dialog-information-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
// button_box.add (process_info_button);
// process_info_button = new Gtk.Button.from_icon_name ("dialog-information-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
// button_box.add (process_info_button);

// setup kill process button
Gtk.Image stop_icon = new Gtk.Image ();
stop_icon.set_from_file("../data/stop.svg");

kill_process_button = new Gtk.Button.with_label (_("End process"));
// kill_process_button.set_image (stop_icon);
kill_process_button.clicked.connect (kill_process);
// kill_process_button.tooltip_text = (_("Kill process"));
button_box.add (kill_process_button);
Expand Down
5 changes: 3 additions & 2 deletions src/Widgets/Search.vala
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ namespace elementarySystemMonitor {

model.get( iter, ProcessColumns.NAME, out name_haystack, -1 );
model.get( iter, ProcessColumns.PID, out pid_haystack, -1 );
bool name_found = name_haystack.casefold().contains( needle.casefold());
bool pid_found = pid_haystack.to_string().casefold().contains( needle.casefold());
bool name_found = name_haystack.casefold().contains(needle.casefold());
bool pid_found = pid_haystack.to_string().casefold().contains(needle.casefold());
bool found = name_found || pid_found;

Gtk.TreeIter child_iter;
Expand All @@ -53,5 +53,6 @@ namespace elementarySystemMonitor {

return found || child_found;
}

}
}

0 comments on commit 6825dd0

Please sign in to comment.