OBS User unknown 2007-01-12 00:25:49 +00:00 committed by Git OBS Bridge
commit 89f97788c2
10 changed files with 1063 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1be70e1ae696e3607dfeda186298e7034cca4e0c8020bf92c7485b8c6450504c
size 1480061

View File

@ -0,0 +1,20 @@
--- gnome-system-monitor-2.16.1/gnome-system-monitor.desktop.in
+++ gnome-system-monitor-2.16.1/gnome-system-monitor.desktop.in
@@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
-_Name=System Monitor
+_Name=GNOME System Monitor
_Comment=View current processes and monitor system state
TryExec=gnome-system-monitor
Exec=gnome-system-monitor
--- gnome-system-monitor-2.16.1/gnome-system-monitor.desktop.in.in
+++ gnome-system-monitor-2.16.1/gnome-system-monitor.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
-_Name=System Monitor
+_Name=GNOME System Monitor
_Comment=View current processes and monitor system state
TryExec=gnome-system-monitor
Exec=gnome-system-monitor

View File

@ -0,0 +1,22 @@
Index: src/gnome-system-monitor.schemas.in
================================================================================
--- src/gnome-system-monitor.schemas.in
+++ src/gnome-system-monitor.schemas.in
@@ -804,7 +804,7 @@
<applyto>/apps/procman/memmapstree/col_0_visible</applyto>
<owner>procman</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>FALSE</default>
<locale name="C">
<short>Show column zero on startup</short>
<long></long>
@@ -900,7 +900,7 @@
<applyto>/apps/procman/memmapstree/col_4_visible</applyto>
<owner>procman</owner>
<type>bool</type>
- <default>TRUE</default>
+ <default>FALSE</default>
<locale name="C">
<short>Show column zero on startup</short>
<long></long>

View File

@ -0,0 +1,512 @@
diff -urpN gnome-system-monitor-2.12.2-pristine/src/callbacks.c gnome-system-monitor-2.12.2/src/callbacks.c
--- gnome-system-monitor-2.12.2-pristine/src/callbacks.c 2005-08-11 10:50:26.000000000 -0400
+++ gnome-system-monitor-2.12.2/src/callbacks.c 2006-06-06 11:28:44.000000000 -0400
@@ -374,7 +374,7 @@ cb_change_current_page (GtkNotebook *nb,
procdata->config.current_tab = num;
- if (num == 0) {
+ if (num == 1) {
cb_timeout (procdata);
@@ -396,7 +396,7 @@ cb_change_current_page (GtkNotebook *nb,
}
- if (num == 1) {
+ if (num == 2) {
load_graph_start (procdata->cpu_graph);
load_graph_start (procdata->mem_graph);
load_graph_start (procdata->net_graph);
@@ -408,7 +408,7 @@ cb_change_current_page (GtkNotebook *nb,
}
- if (num == 2) {
+ if (num == 3) {
cb_update_disks (procdata);
diff -urpN gnome-system-monitor-2.12.2-pristine/src/interface.c gnome-system-monitor-2.12.2/src/interface.c
--- gnome-system-monitor-2.12.2-pristine/src/interface.c 2005-08-11 10:50:26.000000000 -0400
+++ gnome-system-monitor-2.12.2/src/interface.c 2006-06-06 15:52:31.000000000 -0400
@@ -29,6 +29,8 @@
#include <signal.h>
#include <gdk/gdkkeysyms.h>
#include <math.h>
+#include <glibtop/mountlist.h>
+#include <glibtop/fsusage.h>
#include "procman.h"
#include "callbacks.h"
@@ -155,6 +157,413 @@ static const char ui_info[] =
" <menuitem action=\"OpenFiles\" />"
" </popup>";
+typedef struct {
+ gchar *distro_name;
+ gchar *distro_version;
+ gchar *distro_release;
+
+ glong memory_bytes;
+ gint n_processors;
+ gchar **processor_models;
+
+ guint64 free_space_bytes;
+} SysInfoData;
+
+static SysInfoData *get_system_information (void);
+static void sys_info_data_free (SysInfoData *);
+
+static void load_distro_info (SysInfoData *);
+static void load_memory_info (SysInfoData *);
+static void load_processor_info (SysInfoData *);
+static void load_disk_space_info (SysInfoData *);
+
+static SysInfoData *
+get_system_information ()
+{
+ SysInfoData *data = g_new0 (SysInfoData, 1);
+
+ load_distro_info (data);
+ load_memory_info (data);
+ load_processor_info (data);
+ load_disk_space_info (data);
+
+ return data;
+}
+
+static void
+sys_info_data_free (SysInfoData *data)
+{
+ gint i;
+
+ g_return_if_fail (data);
+
+ g_free (data->distro_name);
+ g_free (data->distro_version);
+ g_free (data->distro_release);
+
+ for (i = 0; i < data->n_processors; ++i)
+ g_free (data->processor_models [i]);
+
+ g_free (data->processor_models);
+
+ g_free (data);
+}
+
+static void
+load_distro_info (SysInfoData *data)
+{
+ gchar *contents;
+ gchar **lines;
+
+ gchar *cursor;
+ gint i;
+
+ GError *error = NULL;
+
+
+ g_assert (data);
+
+ if (g_file_get_contents ("/etc/SuSE-release", & contents, NULL, & error)) {
+ lines = g_strsplit (contents, "\n", 0);
+
+ for (i = 0; lines [i]; ++i) {
+ if (strstr (lines [i], "VERSION")) {
+ cursor = strstr (lines [i], "=") + 1;
+ g_strstrip (cursor);
+
+ data->distro_version = g_strdup (cursor);
+ }
+ else if (strstr (lines [i], "RELEASE")) {
+ cursor = strstr (lines [i], "=") + 1;
+ g_strstrip (cursor);
+
+ data->distro_release = g_strdup (cursor);
+ }
+ else if (! data->distro_name) {
+ g_strstrip (lines [i]);
+
+ data->distro_name = g_strdup (lines [i]);
+ }
+ else
+ ;
+ }
+
+ g_strfreev (lines);
+ g_free (contents);
+ }
+ else {
+ g_error ("Error opening /etc/SuSE-release [%s]\n", error->message);
+
+ g_error_free (error);
+ }
+}
+
+static void
+load_memory_info (SysInfoData *data)
+{
+ gchar *contents;
+ gchar **lines;
+ gchar **tokens;
+
+ gint i, j;
+
+ GError *error = NULL;
+
+
+ g_assert (data);
+
+ if (g_file_get_contents ("/proc/meminfo", & contents, NULL, & error)) {
+ lines = g_strsplit (contents, "\n", 0);
+
+ for (i = 0; lines [i]; ++i) {
+ if (strstr (lines [i], "MemTotal: ")) {
+ tokens = g_strsplit (lines [i], " ", 0);
+
+ for (j = 1; tokens [j]; ++j)
+ if (strlen (tokens [j]) > 0 && g_ascii_isdigit (* tokens [j]))
+ data->memory_bytes = atol (tokens [j]) * 1024;
+
+ g_strfreev (tokens);
+ }
+ }
+
+ g_strfreev (lines);
+ g_free (contents);
+ }
+ else {
+ g_error ("Error opening /proc/meminfo [%s]\n", error->message);
+
+ g_error_free (error);
+ }
+}
+
+static void
+load_processor_info (SysInfoData *data)
+{
+ GList *processors;
+ gint n_processors;
+
+ gchar *contents;
+ gchar **lines;
+
+ gchar *cursor;
+ gint i;
+
+ GList *node;
+
+ GError *error = NULL;
+
+
+ g_assert (data);
+
+ if (! g_file_get_contents ("/proc/cpuinfo", & contents, NULL, & error)) {
+ g_error ("Couldn't open /proc/cpuinfo: %s", error->message);
+
+ g_error_free (error);
+
+ return;
+ }
+
+ lines = g_strsplit (contents, "\n", 0);
+
+ processors = NULL;
+ n_processors = 0;
+
+ for (i = 0; lines [i]; ++i) {
+ if (strstr (lines [i], "processor\t:")) {
+ n_processors ++;
+
+ cursor = strstr (lines [i], ":");
+
+ for (; lines [i]; ++i) {
+ if (strstr (lines [i], "model name\t:")) {
+ cursor = strstr (lines [i], ":");
+
+ if (strlen (cursor) > 1) {
+ g_strstrip (++ cursor);
+
+ processors = g_list_append (processors, cursor);
+ }
+
+ break;
+ }
+ }
+
+ if (! lines [i])
+ break;
+ }
+ }
+
+ data->n_processors = n_processors;
+ data->processor_models = g_new0 (gchar *, n_processors);
+
+ for (i = 0, node = processors; i < n_processors && node; ++i, node = node->next)
+ data->processor_models [i] = g_strdup ((gchar *) node->data);
+
+ g_strfreev (lines);
+ g_free (contents);
+}
+
+static void
+load_disk_space_info (SysInfoData *data)
+{
+ glibtop_mountentry *entries;
+ glibtop_mountlist mountlist;
+ glibtop_fsusage usage;
+
+ gint i;
+
+
+ g_assert (data);
+
+ entries = glibtop_get_mountlist (& mountlist, 0);
+
+ data->free_space_bytes = 0;
+
+ for (i = 0; i < mountlist.number; ++i) {
+ if (! strncmp (entries [i].devname, "/dev/", 5)) {
+ glibtop_get_fsusage (& usage, entries [i].mountdir);
+
+ data->free_space_bytes += usage.bfree * usage.block_size;
+ }
+ }
+
+ g_free (entries);
+}
+
+static GtkWidget *
+create_sysinfo_view (void)
+{
+ GtkWidget *hbox;
+ GtkWidget *vbox;
+
+ SysInfoData *data;
+
+ GtkWidget *novell_logo;
+
+ GtkWidget *distro_frame;
+
+ GtkWidget *hardware_frame;
+ GtkWidget *hardware_table;
+ GtkWidget *memory_label;
+ GtkWidget *processor_label;
+
+ GtkWidget *disk_space_frame;
+ GtkWidget *disk_space_table;
+ GtkWidget *disk_space_label;
+
+ GtkWidget *header;
+ GtkWidget *alignment;
+
+ gchar *markup;
+ gint i;
+
+
+ if (! (data = get_system_information ()))
+ return NULL;
+
+ hbox = gtk_hbox_new (FALSE, 12);
+ gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);
+
+/* left-side logo */
+
+ novell_logo = gtk_image_new_from_file (DATADIR "/pixmaps/gnome-system-monitor/n-side.png");
+ gtk_misc_set_alignment (GTK_MISC (novell_logo), 0.5, 0.0);
+ gtk_misc_set_padding (GTK_MISC (novell_logo), 5, 12);
+ gtk_box_pack_start (GTK_BOX (hbox), novell_logo, FALSE, FALSE, 0);
+
+ vbox = gtk_vbox_new (FALSE, 12);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
+ gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
+
+/* distro section */
+
+ markup = g_strdup_printf ("<big><big><b>%s</b></big></big>", data->distro_name);
+ distro_frame = gtk_frame_new (markup);
+ gtk_frame_set_label_align (GTK_FRAME (distro_frame), 0.0, 0.5);
+ gtk_label_set_use_markup (
+ GTK_LABEL (gtk_frame_get_label_widget (GTK_FRAME (distro_frame))),
+ TRUE
+ );
+ gtk_frame_set_shadow_type (GTK_FRAME (distro_frame), GTK_SHADOW_NONE);
+ gtk_box_pack_start (GTK_BOX (vbox), distro_frame, FALSE, FALSE, 0);
+ g_free (markup);
+
+ alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 0, 0, 12, 0);
+ gtk_container_add (GTK_CONTAINER (distro_frame), alignment);
+
+/* hardware section */
+
+ markup = g_strdup_printf (_("<b>Hardware</b>"));
+ hardware_frame = gtk_frame_new (markup);
+ gtk_frame_set_label_align (GTK_FRAME (hardware_frame), 0.0, 0.5);
+ gtk_label_set_use_markup (
+ GTK_LABEL (gtk_frame_get_label_widget (GTK_FRAME (hardware_frame))),
+ TRUE
+ );
+ gtk_frame_set_shadow_type (GTK_FRAME (hardware_frame), GTK_SHADOW_NONE);
+ gtk_box_pack_start (GTK_BOX (vbox), hardware_frame, FALSE, FALSE, 0);
+ g_free (markup);
+
+ alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 0, 0, 12, 0);
+ gtk_container_add (GTK_CONTAINER (hardware_frame), alignment);
+
+ hardware_table = gtk_table_new (1 + data->n_processors, 2, FALSE);
+ gtk_table_set_row_spacings (GTK_TABLE (hardware_table), 6);
+ gtk_table_set_col_spacings (GTK_TABLE (hardware_table), 6);
+ gtk_container_set_border_width (GTK_CONTAINER (hardware_table), 6);
+ gtk_container_add (GTK_CONTAINER (alignment), hardware_table);
+
+ header = gtk_label_new (_("Memory:"));
+ gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (hardware_table), header,
+ 0, 1, 0, 1,
+ GTK_FILL, 0, 0, 0
+ );
+
+ markup = SI_gnome_vfs_format_file_size_for_display (data->memory_bytes);
+ memory_label = gtk_label_new (markup);
+ gtk_misc_set_alignment (GTK_MISC (memory_label), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (hardware_table), memory_label,
+ 1, 2, 0, 1,
+ GTK_FILL, 0, 0, 0
+ );
+ g_free (markup);
+
+ for (i = 0; i < data->n_processors; ++i) {
+ if (data->n_processors > 1) {
+ markup = g_strdup_printf (_("Processor %d:"), i);
+
+ header = gtk_label_new (markup);
+ }
+ else
+ header = gtk_label_new (_("Processor:"));
+
+ gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (hardware_table), header,
+ 0, 1, 1 + i, 2 + i,
+ GTK_FILL, 0, 0, 0
+ );
+
+ processor_label = gtk_label_new (data->processor_models [i]);
+ gtk_misc_set_alignment (GTK_MISC (processor_label), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (hardware_table), processor_label,
+ 1, 2, 1 + i, 2 + i,
+ GTK_FILL, 0, 0, 0
+ );
+ }
+
+/* disk space section */
+
+ markup = g_strdup_printf (_("<b>System Status</b>"));
+ disk_space_frame = gtk_frame_new (markup);
+ gtk_frame_set_label_align (GTK_FRAME (disk_space_frame), 0.0, 0.5);
+ gtk_label_set_use_markup (
+ GTK_LABEL (gtk_frame_get_label_widget (GTK_FRAME (disk_space_frame))),
+ TRUE
+ );
+ gtk_frame_set_shadow_type (GTK_FRAME (disk_space_frame), GTK_SHADOW_NONE);
+ gtk_box_pack_start (GTK_BOX (vbox), disk_space_frame, FALSE, FALSE, 0);
+ g_free (markup);
+
+ alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 0, 0, 12, 0);
+ gtk_container_add (GTK_CONTAINER (disk_space_frame), alignment);
+
+ disk_space_table = gtk_table_new (1, 2, FALSE);
+ gtk_table_set_row_spacings (GTK_TABLE (disk_space_table), 6);
+ gtk_table_set_col_spacings (GTK_TABLE (disk_space_table), 6);
+ gtk_container_set_border_width (GTK_CONTAINER (disk_space_table), 6);
+ gtk_container_add (GTK_CONTAINER (alignment), disk_space_table);
+
+ header = gtk_label_new (_("User Space Free:"));
+ gtk_misc_set_alignment (GTK_MISC (header), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (disk_space_table), header,
+ 0, 1, 0, 1,
+ GTK_FILL, 0, 0, 0
+ );
+
+ markup = SI_gnome_vfs_format_file_size_for_display (data->free_space_bytes);
+ disk_space_label = gtk_label_new (markup);
+ gtk_misc_set_alignment (GTK_MISC (disk_space_label), 0.0, 0.5);
+ gtk_table_attach (
+ GTK_TABLE (disk_space_table), disk_space_label,
+ 1, 2, 0, 1,
+ GTK_FILL, 0, 0, 0
+ );
+ g_free (markup);
+
+ sys_info_data_free (data);
+
+ return hbox;
+}
static GtkWidget *
create_proc_view (ProcData *procdata)
@@ -676,6 +1085,8 @@ create_main_window (ProcData *procdata)
GtkWidget *tab_label1, *tab_label2, *tab_label3;
GtkWidget *vbox1;
GtkWidget *sys_box, *devices_box;
+ GtkWidget *sysinfo_box;
+ GtkWidget *sysinfo_label;
app = gnome_app_new ("procman", _("System Monitor"));
@@ -742,6 +1153,12 @@ create_main_window (ProcData *procdata)
0);
gtk_widget_show (notebook);
+ sysinfo_box = create_sysinfo_view ();
+ gtk_widget_show_all (sysinfo_box);
+ sysinfo_label = gtk_label_new (_("System"));
+ gtk_widget_show (sysinfo_label);
+ gtk_notebook_append_page (GTK_NOTEBOOK (notebook), sysinfo_box, sysinfo_label);
+
vbox1 = create_proc_view (procdata);
gtk_widget_show (vbox1);
tab_label1 = gtk_label_new (_("Processes"));
Files gnome-system-monitor-2.12.2-pristine/src/.interface.c.swp and gnome-system-monitor-2.12.2/src/.interface.c.swp differ
diff -urpN gnome-system-monitor-2.12.2-pristine/src/procdialogs.c gnome-system-monitor-2.12.2/src/procdialogs.c
--- gnome-system-monitor-2.12.2-pristine/src/procdialogs.c 2005-07-07 19:41:25.000000000 -0400
+++ gnome-system-monitor-2.12.2/src/procdialogs.c 2006-06-06 11:28:44.000000000 -0400
@@ -799,7 +799,7 @@ procdialog_create_preferences_dialog (Pr
g_signal_connect (G_OBJECT (dialog), "response",
G_CALLBACK (prefs_dialog_button_pressed), procdata);
- if (procdata->config.current_tab == 0)
+ if (procdata->config.current_tab <= 1)
gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), 0);
else
gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), 1);
diff -urpN gnome-system-monitor-2.12.2-pristine/src/procman.c gnome-system-monitor-2.12.2/src/procman.c
--- gnome-system-monitor-2.12.2-pristine/src/procman.c 2005-10-01 03:47:21.000000000 -0400
+++ gnome-system-monitor-2.12.2/src/procman.c 2006-06-06 11:28:44.000000000 -0400
@@ -73,7 +73,7 @@ view_as_changed_cb (GConfClient *client,
GConfValue *value = gconf_entry_get_value (entry);
procdata->config.whose_process = gconf_value_get_int (value);
- procdata->config.whose_process = CLAMP (procdata->config.whose_process, 0, 2);
+ procdata->config.whose_process = CLAMP (procdata->config.whose_process, 0, 3);
proctable_clear_tree (procdata);
proctable_update_all (procdata);
@@ -385,7 +385,7 @@ procman_data_new (GConfClient *client)
pd->config.graph_update_interval = MAX (pd->config.graph_update_interval, 250);
pd->config.disks_update_interval = MAX (pd->config.disks_update_interval, 1000);
pd->config.whose_process = CLAMP (pd->config.whose_process, 0, 2);
- pd->config.current_tab = CLAMP (pd->config.current_tab, 0, 2);
+ pd->config.current_tab = CLAMP (pd->config.current_tab, 0, 3);
/* Determinie number of cpus since libgtop doesn't really tell you*/
pd->config.num_cpus = 0;

View File

@ -0,0 +1,262 @@
-------------------------------------------------------------------
Mon Dec 18 19:46:38 CET 2006 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
-------------------------------------------------------------------
Tue Oct 3 18:19:48 CEST 2006 - jhargadon@suse.de
- update to version 2.16.1
- Fixed locales dir initialization
- Fixed memory maps for 64bits kernel running a 32bits system-monitor
- Fixed gksu password prompt
- Fixed a small memory leak
- Fixed schema
-------------------------------------------------------------------
Thu Aug 31 01:10:11 CEST 2006 - jhargadon@suse.de
- update to version 2.15.92
- Fixed LoadGraph overlay
- Fixed tiny leak
- Fixed font and alignment of various columns
-------------------------------------------------------------------
Wed Aug 23 21:56:42 CEST 2006 - jhargadon@suse.de
- update to version 2.15.91
- Renamed Devices tab as File Systems.
- Updated translations.
- Fixed segfault is libselinux not installed.
- The disks list is now correctly updated.
- Double-click in disks list opens the corresponding volume.
- debug messages are displayed on command line if
GNOME_SYSTEM_MONITOR_DEBUG is defined.
- No more compile dependency on libselinux.
- Process arguments with line feeds are now escaped.
- Displays scale on graphs.
- Can use libsexy to display process arguments.
- New memory column : displays estimated memory usage.
- Fixed a couple of small leaks.
-------------------------------------------------------------------
Thu Jul 20 06:31:32 CEST 2006 - jpr@suse.de
- Call aclocal to fix build after altering configure.in in %prep
-------------------------------------------------------------------
Tue Jun 6 22:06:02 CEST 2006 - jimmyk@suse.de
- Modify existing gnome-system-monitor-sysinfo.patch to properly parse
/proc/cpuinfo on ppc architecture and avoid crashing, BNC #179031.
-------------------------------------------------------------------
Mon May 22 17:34:32 CEST 2006 - jpr@suse.de
- don't display the VERSION info from /etc/SuSE-release, its confusing
(#177632)
-------------------------------------------------------------------
Mon May 1 14:54:38 CEST 2006 - jpr@suse.de
- Remember the devices page if its the last used (#171137
-------------------------------------------------------------------
Wed Mar 29 18:14:35 CEST 2006 - jpr@suse.de
- Fix page numbers to reflect prepended page (fixes #161815, #157490)
-------------------------------------------------------------------
Tue Mar 28 19:40:53 CEST 2006 - joeshaw@suse.de
- Add a patch to show the "Resident" field by default, not the
"Virtual memory" field. Fixes half of bnc #157022.
-------------------------------------------------------------------
Fri Mar 24 17:55:44 CET 2006 - jimmyk@suse.de
- Fix for BNC #158516.
-------------------------------------------------------------------
Mon Mar 13 21:51:28 CET 2006 - rml@suse.de
- Update gnome-system-monitor-sysinfo.patch to not display the
distribution release if there is no such release (e.g., on SUSE
Linux)
-------------------------------------------------------------------
Thu Mar 2 17:53:41 CET 2006 - sbrabec@suse.cz
- Added support for gnome-patch-translation.
-------------------------------------------------------------------
Tue Feb 28 15:25:33 CET 2006 - sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
-------------------------------------------------------------------
Mon Feb 27 21:07:48 CET 2006 - jimmyk@suse.de
- added system info tab (BNC #67255)
-------------------------------------------------------------------
Wed Jan 25 21:31:52 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Nov 30 22:58:40 CET 2005 - gekker@suse.de
- Update to version 2.12.2
-------------------------------------------------------------------
Thu Oct 13 18:46:33 CEST 2005 - gekker@suse.de
- Update to version 2.12.1
-------------------------------------------------------------------
Tue Sep 6 02:01:20 CEST 2005 - gekker@suse.de
- Update to version 2.12.0 (GNOME 2.12)
-------------------------------------------------------------------
Tue Aug 23 18:04:34 CEST 2005 - gekker@suse.de
- Update to version 2.11.92
-------------------------------------------------------------------
Mon Aug 8 13:58:42 CEST 2005 - rodrigo@suse.de
- Update to 2.11.91
-------------------------------------------------------------------
Tue Aug 2 19:16:57 CEST 2005 - gekker@suse.de
- Update to version 2.11.90
-------------------------------------------------------------------
Fri Jul 22 23:04:59 CEST 2005 - gekker@suse.de
- Update to version 2.11.5
-------------------------------------------------------------------
Mon Jun 20 23:02:29 CEST 2005 - gekker@suse.de
- Update to version 2.11.3
-------------------------------------------------------------------
Wed Mar 16 07:39:33 CET 2005 - clahey@suse.de
- Remove patch to remove icon.
- Add patch to fix menu name.
-------------------------------------------------------------------
Wed Mar 9 22:10:58 CET 2005 - gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
-------------------------------------------------------------------
Thu Mar 3 19:30:43 CET 2005 - gekker@suse.de
- Update to version 2.9.92
- Removed dependency on libgnomesu
-------------------------------------------------------------------
Fri Feb 11 04:07:11 CET 2005 - gekker@suse.de
- Update to version 2.9.91
-------------------------------------------------------------------
Fri Feb 4 10:05:49 CET 2005 - hhetter@suse.de
- updated to version 2.9.90
-------------------------------------------------------------------
Thu Nov 25 02:18:28 CET 2004 - ro@suse.de
- added suse_update_desktop_file
-------------------------------------------------------------------
Fri Nov 19 16:51:58 CET 2004 - ro@suse.de
- update to 2.8.0 (makes it build with recent gtk2)
-------------------------------------------------------------------
Tue Nov 2 17:25:35 CET 2004 - ro@suse.de
- locale rename: no -> nb
-------------------------------------------------------------------
Fri Aug 27 02:51:05 CEST 2004 - clahey@suse.de
- Cache gnome-system-monitor help and show gnome-system-monitor in khelpcenter.
-------------------------------------------------------------------
Fri Apr 30 09:00:36 CEST 2004 - hhetter@suse.de
- updated to 2.6.0 [GNOME2.6]
- added #neededforbuild perl-XML-Parser
-------------------------------------------------------------------
Wed Mar 17 11:16:37 CET 2004 - sbrabec@suse.cz
- Fixed scrollkeeper calling conventions (#36215).
-------------------------------------------------------------------
Wed Mar 10 10:38:23 CET 2004 - sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
-------------------------------------------------------------------
Fri Feb 20 15:49:16 CET 2004 - sbrabec@suse.cz
- Fixed names of GNOME2 packages.
-------------------------------------------------------------------
Thu Feb 12 11:18:26 CET 2004 - hhetter@suse.de
- gconf schema (de-)installation in %post and %postun
-------------------------------------------------------------------
Sat Jan 10 18:17:32 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Mon Sep 29 14:30:34 CEST 2003 - hhetter@suse.de
- updated to version 2.4.0 [GNOME2.4]
-------------------------------------------------------------------
Mon Jul 14 16:18:02 CEST 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
-------------------------------------------------------------------
Mon Jun 30 14:40:39 CEST 2003 - sbrabec@suse.cz
- Provide and obsolete procman.
-------------------------------------------------------------------
Thu Jun 26 17:42:02 CEST 2003 - sbrabec@suse.cz
- Updated to version 2.0.5.
- Updated neededforbuild.
- Use %find_lang.
-------------------------------------------------------------------
Mon Feb 10 10:44:30 CET 2003 - hhetter@suse.de
- updated to version 2.0.4 [GNOME 2.2.0]
-------------------------------------------------------------------
Tue Jan 14 16:37:44 CET 2003 - ro@suse.de
- added expat to neededforbuild
-------------------------------------------------------------------
Tue Oct 01 16:12:26 CEST 2002 - sbrabec@suse.cz
- Added new package.

217
gnome-system-monitor.spec Normal file
View File

@ -0,0 +1,217 @@
#
# spec file for package gnome-system-monitor (Version 2.16.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-system-monitor
BuildRequires: docbook-xsl-stylesheets gnome-common gnome-icon-theme-devel gnome-patch-translation gnutls-devel kdelibs3-doc libglade2-devel libgnomeprintui-devel libgnomeui-devel libgtop-devel libwnck-devel mDNSResponder-devel perl-XML-Parser scrollkeeper update-desktop-files
License: GNU General Public License (GPL)
Group: System/GUI/GNOME
Autoreqprov: on
Version: 2.16.1
Release: 35
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/2.16/%{name}-%{version}.tar.bz2
Source1: n-side.png
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Simple Process Monitor
Requires: gnome-icon-theme
Patch: gnome-system-monitor-desktop.patch
Patch1: gnome-system-monitor-sysinfo.patch
Patch2: gnome-system-monitor-resident-schema.patch
%description
GNOME-system-monitor (formerly Procman) is a simple process and system
monitor for the GNOME 2.x Desktop.
Authors:
--------
Kevin Vandersloot <kfv101@psu.edu>
Erik Johnsson <zaphod@linux.nu>
%prep
%setup -q
gnome-patch-translation-prepare
%patch -p1
%patch1 -p1
%patch2
gnome-patch-translation-update
%build
autoreconf -f -i
# FIXME: --disable-scrollkeeper is not implemented
%configure\
--disable-scrollkeeper
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
ln -s ../icons/gnome/32x32/apps/utilities-system-monitor.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
# FIXME: --disable-scrollkeeper is not implemented
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
for xml in $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/*/*.xml; do
if echo $xml | egrep 'share/gnome/help/([^/]*)/[^/]*/\1\.xml$' > /dev/null; then
meinproc --check --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
fi
done
echo DocPath=gnome-system-monitor >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop
%suse_update_desktop_file gnome-system-monitor System Monitor
%find_lang %{name}
%find_gconf_schemas
cat %{name}.lang %{name}.schemas_list >%{name}.lst
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-system-monitor
install -m644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-system-monitor
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/gnome-system-monitor
%{_datadir}/applications/gnome-system-monitor.desktop
%{_datadir}/omf/gnome-system-monitor
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/gnome-system-monitor
%changelog -n gnome-system-monitor
* Mon Dec 18 2006 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Oct 03 2006 - jhargadon@suse.de
- update to version 2.16.1
- Fixed locales dir initialization
- Fixed memory maps for 64bits kernel running a 32bits system-monitor
- Fixed gksu password prompt
- Fixed a small memory leak
- Fixed schema
* Thu Aug 31 2006 - jhargadon@suse.de
- update to version 2.15.92
- Fixed LoadGraph overlay
- Fixed tiny leak
- Fixed font and alignment of various columns
* Wed Aug 23 2006 - jhargadon@suse.de
- update to version 2.15.91
- Renamed Devices tab as File Systems.
- Updated translations.
- Fixed segfault is libselinux not installed.
- The disks list is now correctly updated.
- Double-click in disks list opens the corresponding volume.
- debug messages are displayed on command line if
GNOME_SYSTEM_MONITOR_DEBUG is defined.
- No more compile dependency on libselinux.
- Process arguments with line feeds are now escaped.
- Displays scale on graphs.
- Can use libsexy to display process arguments.
- New memory column : displays estimated memory usage.
- Fixed a couple of small leaks.
* Thu Jul 20 2006 - jpr@suse.de
- Call aclocal to fix build after altering configure.in in %%prep
* Tue Jun 06 2006 - jimmyk@suse.de
- Modify existing gnome-system-monitor-sysinfo.patch to properly parse
/proc/cpuinfo on ppc architecture and avoid crashing, BNC #179031.
* Mon May 22 2006 - jpr@suse.de
- don't display the VERSION info from /etc/SuSE-release, its confusing
(#177632)
* Mon May 01 2006 - jpr@suse.de
- Remember the devices page if its the last used (#171137
* Wed Mar 29 2006 - jpr@suse.de
- Fix page numbers to reflect prepended page (fixes #161815, #157490)
* Tue Mar 28 2006 - joeshaw@suse.de
- Add a patch to show the "Resident" field by default, not the
"Virtual memory" field. Fixes half of bnc #157022.
* Fri Mar 24 2006 - jimmyk@suse.de
- Fix for BNC #158516.
* Mon Mar 13 2006 - rml@suse.de
- Update gnome-system-monitor-sysinfo.patch to not display the
distribution release if there is no such release (e.g., on SUSE
Linux)
* Thu Mar 02 2006 - sbrabec@suse.cz
- Added support for gnome-patch-translation.
* Tue Feb 28 2006 - sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Mon Feb 27 2006 - jimmyk@suse.de
- added system info tab (BNC #67255)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 30 2005 - gekker@suse.de
- Update to version 2.12.2
* Thu Oct 13 2005 - gekker@suse.de
- Update to version 2.12.1
* Tue Sep 06 2005 - gekker@suse.de
- Update to version 2.12.0 (GNOME 2.12)
* Tue Aug 23 2005 - gekker@suse.de
- Update to version 2.11.92
* Mon Aug 08 2005 - rodrigo@suse.de
- Update to 2.11.91
* Tue Aug 02 2005 - gekker@suse.de
- Update to version 2.11.90
* Fri Jul 22 2005 - gekker@suse.de
- Update to version 2.11.5
* Mon Jun 20 2005 - gekker@suse.de
- Update to version 2.11.3
* Wed Mar 16 2005 - clahey@suse.de
- Remove patch to remove icon.
- Add patch to fix menu name.
* Wed Mar 09 2005 - gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Thu Mar 03 2005 - gekker@suse.de
- Update to version 2.9.92
- Removed dependency on libgnomesu
* Fri Feb 11 2005 - gekker@suse.de
- Update to version 2.9.91
* Fri Feb 04 2005 - hhetter@suse.de
- updated to version 2.9.90
* Thu Nov 25 2004 - ro@suse.de
- added suse_update_desktop_file
* Fri Nov 19 2004 - ro@suse.de
- update to 2.8.0 (makes it build with recent gtk2)
* Tue Nov 02 2004 - ro@suse.de
- locale rename: no -> nb
* Fri Aug 27 2004 - clahey@suse.de
- Cache gnome-system-monitor help and show gnome-system-monitor in khelpcenter.
* Fri Apr 30 2004 - hhetter@suse.de
- updated to 2.6.0 [GNOME2.6]
- added #neededforbuild perl-XML-Parser
* Wed Mar 17 2004 - sbrabec@suse.cz
- Fixed scrollkeeper calling conventions (#36215).
* Wed Mar 10 2004 - sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Fri Feb 20 2004 - sbrabec@suse.cz
- Fixed names of GNOME2 packages.
* Thu Feb 12 2004 - hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Sep 29 2003 - hhetter@suse.de
- updated to version 2.4.0 [GNOME2.4]
* Mon Jul 14 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Mon Jun 30 2003 - sbrabec@suse.cz
- Provide and obsolete procman.
* Thu Jun 26 2003 - sbrabec@suse.cz
- Updated to version 2.0.5.
- Updated neededforbuild.
- Use %%find_lang.
* Mon Feb 10 2003 - hhetter@suse.de
- updated to version 2.0.4 [GNOME 2.2.0]
* Tue Jan 14 2003 - ro@suse.de
- added expat to neededforbuild
* Tue Oct 01 2002 - sbrabec@suse.cz
- Added new package.

3
n-side.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1b4706ca91a19ede2b0c09eb03edfdc24f7ebf6cee6a622db5ac84806a182ea
size 32175

0
ready Normal file
View File