Bump to 3.2.1 from the gnome overlay, drop old. Notable changes: minor UI improvements.
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Sun, 6 Nov 2011 03:59:22 +0000 (03:59 +0000)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Sun, 6 Nov 2011 03:59:22 +0000 (03:59 +0000)
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64

gnome-extra/gnome-system-monitor/ChangeLog
gnome-extra/gnome-system-monitor/Manifest
gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-1.patch [deleted file]
gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-2.patch [deleted file]
gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-3.patch [deleted file]
gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-linux-nice.patch [deleted file]
gnome-extra/gnome-system-monitor/gnome-system-monitor-3.2.1.ebuild [moved from gnome-extra/gnome-system-monitor/gnome-system-monitor-3.0.1-r1.ebuild with 66% similarity]

index 98bc340d4c62578ae94218efa83258899774c200..502fcd57d56ae462423bc04694d88668719b5e59 100644 (file)
@@ -1,6 +1,18 @@
 # ChangeLog for gnome-extra/gnome-system-monitor
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.224 2011/10/05 17:45:46 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.225 2011/11/06 03:59:21 tetromino Exp $
+
+*gnome-system-monitor-3.2.1 (06 Nov 2011)
+
+  06 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -gnome-system-monitor-3.0.1-r1.ebuild,
+  -files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-1.patch,
+  -files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-2.patch,
+  -files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-3.patch,
+  -files/gnome-system-monitor-3.0.1-linux-nice.patch,
+  +gnome-system-monitor-3.2.1.ebuild:
+  Bump to 3.2.1 from the gnome overlay, drop old. Notable changes: minor UI
+  improvements.
 
   05 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org>
   gnome-system-monitor-2.28.2-r1.ebuild:
index 7d38e553c5456835127a75e907edeaa74eff4642..be1bb3f00ee54d5b28b69ea83bd2c88a268a746a 100644 (file)
@@ -1,24 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
-AUX gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-1.patch 2093 RMD160 099a2c77b8dff9397a878a26f70458340ab6b1e8 SHA1 01857b2f0a028e36efe1d8b592613d0b9788e491 SHA256 350eae33f5839dd21fda295857dd73459f4d10d2df8e89207b137b8984fba74f
-AUX gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-2.patch 5416 RMD160 dd76547c96f5b4d95510f46a9bdf74444f0f39c8 SHA1 67d036976a6f6f663d68a59c88a580d6b54631fe SHA256 12aff014047e1f24daf7bff5d5d28e505a1ef309600a4552023f7f818f9183a0
-AUX gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-3.patch 4237 RMD160 4e6e2fc1e026be3fd9d2335857d15faf6e188e56 SHA1 52c7856b81f6e44588cbbc4912cec53edbd34a87 SHA256 40ac6129c41251de3e0c1b31f1df7973764b60e983bcbfdadc98318a5b43e508
-AUX gnome-system-monitor-3.0.1-linux-nice.patch 636 RMD160 e8cc2e843c0e50de11ba114defdd1f87dd045784 SHA1 d7ac9be5649c578707c17bebaad883f27f0ae1d5 SHA256 bb90241bc8e68b2a0d0317d449686642cbef30462a6e0e3d466bab31c41cfd5d
 DIST gnome-system-monitor-2.28.2-patches.tar.bz2 6400 RMD160 f7a6d875034ad5c657407b9258cbf01db212ded0 SHA1 741174f03d580693961568b5296830bde6e69e63 SHA256 d649ec0e5a63453b3e752fee5cc933ffed4b8d7653d15b039bdeaf3f7c514a06
 DIST gnome-system-monitor-2.28.2.tar.bz2 2432252 RMD160 f2a31f4eae60a6d344cb74e6f235fb27082aecb7 SHA1 5fab2473914663320cf961c2bbe1a13f019edef3 SHA256 b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59
-DIST gnome-system-monitor-3.0.1.tar.bz2 2552587 RMD160 0f173962fdd1c3c0fc016431a1695bef97311021 SHA1 997d3be17c5d5b2dbcae8ef9710c347eaa79237e SHA256 0fe6a263875b23a35fd17d8952e666e17801cb68bb664d6ce8cabcfd9ac0f972
+DIST gnome-system-monitor-3.2.1.tar.xz 2488492 RMD160 5e24833c0959eaf99014fa730e450397318de933 SHA1 2f3d4ec3cf88a9a9d65d30b6ad18124e3261b9aa SHA256 f9ecca05609c0ff346727e0f24e32ba5284aea47dfe958e2b6d4a7912e5c1180
 EBUILD gnome-system-monitor-2.28.2-r1.ebuild 1278 RMD160 988112b9ed28be0917b06541b7012c4dd6c02a7e SHA1 a7db8d711150729cb1e1ad51e04f61ba7b1d28bc SHA256 b68bf1f547ece224fac4f8d5f0b49d22a4e7860e83dd36db6463ae0332e8b5f7
 EBUILD gnome-system-monitor-2.28.2.ebuild 990 RMD160 0f32d9f41ce4be26c4fcf79cdbc0218a03a18b7f SHA1 a311fd883160bfa1a9f2310d2f7132add3304115 SHA256 c45b3359fb1c772caab7e34f655865a3a48767f904c630af51e2c457b4bceac3
-EBUILD gnome-system-monitor-3.0.1-r1.ebuild 1339 RMD160 c569ab2ad3a183ef3d18b7b20b6128bb7f33f6cc SHA1 962cc0cc76b73d38f6c8065321a15b7915492d11 SHA256 f8232f9bf8e85f7a78f09690cdd25b431f05186015ec5a14928ef359e7f60d23
-MISC ChangeLog 31630 RMD160 b4b1381de661e933dd75941485fa34d8cf618286 SHA1 6cefb0f842b61c27f9c1756d67fe52e38125eff2 SHA256 5eb8d6dd5c47516e1432f51c566debbc196ad13244c335b834114f31a244e8e7
+EBUILD gnome-system-monitor-3.2.1.ebuild 988 RMD160 743ea53bd4c189b8c522efc14c939f2d3a0a2942 SHA1 4e0eb1bfda49bf182b884fbf2dddaaf861ce82af SHA256 ad7307cf74044ff2150294c5055a741c0648ac83b5dedac75592019a2ee7f44e
+MISC ChangeLog 32185 RMD160 b4f3c834678f6de9e1abc14ac3b66dd77375fe2a SHA1 be799b9f70a67a1f5c6449e35f817daedabb21b1 SHA256 f4807c66a078d5f5e6422ff6878551cff3cf5fede6467d732fe1191d4bb0fd61
 MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iJwEAQECAAYFAk6Ml9AACgkQIiMqcbOVdxRORgP+LZGm/RVOar355RtonXYFg+Vx
-1zmfX4IQxtnAz5pgRjM27Sws2mzs3mVYzjx8nqX4TolwTb6XkqLXMv8p9NF8NjbJ
-erPSUwcqvE5GxrIGALuP7tXsPqonvHRwSy3oor9CGNLz3luPqOiLJWApMBoqfJ9h
-N9MgKcrjGoRks1gyruk=
-=TFUn
+iF4EAREIAAYFAk62Bh8ACgkQdjK8w9WeBnAzFQD+IXluddomKTJNWhSasj8VjUQ4
+Qtck4UQtioE9LtuTGQkA/1cNFmwwVd9LrjFD89dTHxabhSdEjeB+evrj+7BvJOcm
+=BGGw
 -----END PGP SIGNATURE-----
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-1.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-1.patch
deleted file mode 100644 (file)
index 156845f..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-From 3ea7303181e80e188e72a4fcd98b9970fe554b3b Mon Sep 17 00:00:00 2001
-From: Chris Kühl <chrisk@openismus.com>
-Date: Sat, 16 Apr 2011 23:07:20 +0000
-Subject: Added SI prefix tera to network counter
-
-https://bugzilla.gnome.org/show_bug.cgi?id=639212
----
-diff --git a/src/util.cpp b/src/util.cpp
-index 90073fe..234e6fc 100644
---- a/src/util.cpp
-+++ b/src/util.cpp
-@@ -149,10 +149,12 @@ procman_make_label_for_mmaps_or_ofiles(const char *format,
- gchar*
- procman::format_size(guint64 size, guint64 max_size, bool want_bits)
- {
-+
-       enum {
-               K_INDEX,
-               M_INDEX,
--              G_INDEX
-+              G_INDEX,
-+                T_INDEX
-       };
- 
-       struct Format {
-@@ -160,16 +162,18 @@ procman::format_size(guint64 size, guint64 max_size, bool want_bits)
-               const char* string;
-       };
- 
--      const Format all_formats[2][3] = {
--              { { 1UL << 10,  N_("%.1f KiB") },
--                { 1UL << 20,  N_("%.1f MiB") },
--                { 1UL << 30,  N_("%.1f GiB") } },
--              { { 1000,       N_("%.1f kbit") },
--                { 1000000,    N_("%.1f Mbit") },
--                { 1000000000, N_("%.1f Gbit") } }
-+      const Format all_formats[2][4] = {
-+              { { 1UL << 10,     N_("%.1f KiB")  },
-+                { 1UL << 20,     N_("%.1f MiB")  },
-+                { 1UL << 30,     N_("%.1f GiB")  },
-+                  { 1UL << 40,     N_("%.1f TiB")  } },
-+              { { 1000,          N_("%.1f kbit") },
-+                { 1000000,       N_("%.1f Mbit") },
-+                { 1000000000,    N_("%.1f Gbit") },
-+                  { 1000000000000, N_("%.1f Tbit") } }
-       };
- 
--      const Format (&formats)[3] = all_formats[want_bits ? 1 : 0];
-+      const Format (&formats)[4] = all_formats[want_bits ? 1 : 0];
- 
-       if (want_bits) {
-         size *= 8;
-@@ -194,9 +198,12 @@ procman::format_size(guint64 size, guint64 max_size, bool want_bits)
-               } else if (max_size < formats[G_INDEX].factor) {
-                 factor = formats[M_INDEX].factor;
-                 format = formats[M_INDEX].string;
--              } else {
-+              } else if (max_size < formats[T_INDEX].factor) {
-                 factor = formats[G_INDEX].factor;
-                 format = formats[G_INDEX].string;
-+              } else {
-+                factor = formats[T_INDEX].factor;
-+                format = formats[T_INDEX].string;
-               }
- 
-               return g_strdup_printf(_(format), size / (double)factor);
---
-cgit v0.9
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-2.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-2.patch
deleted file mode 100644 (file)
index 4fdc57a..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-From c7275791a89623ad1edc820a6ef16faae37a18aa Mon Sep 17 00:00:00 2001
-From: Chris Kühl <chrisk@openismus.com>
-Date: Sun, 17 Apr 2011 22:31:00 +0000
-Subject: Fix network totals overflow on 32-bit machines.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=639212
----
-diff --git a/src/load-graph.cpp b/src/load-graph.cpp
-index 57bca17..a6d2a7e 100644
---- a/src/load-graph.cpp
-+++ b/src/load-graph.cpp
-@@ -368,16 +368,16 @@ get_memory (LoadGraph *g)
- }
- 
- static void
--net_scale (LoadGraph *g, unsigned din, unsigned dout)
-+net_scale (LoadGraph *g, guint64 din, guint64 dout)
- {
-       g->data[0][0] = 1.0f * din / g->net.max;
-       g->data[0][1] = 1.0f * dout / g->net.max;
- 
--      unsigned dmax = std::max(din, dout);
-+        guint64 dmax = std::max(din, dout);
-       g->net.values[g->net.cur] = dmax;
-       g->net.cur = (g->net.cur + 1) % LoadGraph::NUM_POINTS;
- 
--      unsigned new_max;
-+      guint64 new_max;
-       // both way, new_max is the greatest value
-       if (dmax >= g->net.max)
-               new_max = dmax;
-@@ -389,7 +389,7 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-       // Round network maximum
-       //
- 
--      const unsigned bak_max(new_max);
-+      const guint64 bak_max(new_max);
- 
-       if (ProcData::get_instance()->config.network_in_bits) {
-         // TODO: fix logic to give a nice scale with bits
-@@ -399,7 +399,7 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-         new_max = 1.1 * new_max;
-         // make sure max is not 0 to avoid / 0
-         // default to 125 bytes == 1kbit
--        new_max = std::max(new_max, 125U);
-+        new_max = std::max(new_max, 125UL);
- 
-       } else {
-         // round up to get some extra space
-@@ -407,7 +407,7 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-         new_max = 1.1 * new_max;
-         // make sure max is not 0 to avoid / 0
-         // default to 1 KiB
--        new_max = std::max(new_max, 1024U);
-+        new_max = std::max(new_max, 1024UL);
- 
-         // decompose new_max = coef10 * 2**(base10 * 10)
-         // where coef10 and base10 are integers and coef10 < 2**10
-@@ -415,16 +415,16 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-         // e.g: ceil(100.5 KiB) = 101 KiB = 101 * 2**(1 * 10)
-         //      where base10 = 1, coef10 = 101, pow2 = 16
- 
--        unsigned pow2 = std::floor(log2(new_max));
--        unsigned base10 = pow2 / 10;
--        unsigned coef10 = std::ceil(new_max / double(1UL << (base10 * 10)));
-+        guint64 pow2 = std::floor(log2(new_max));
-+        guint64 base10 = pow2 / 10.0;
-+        guint64 coef10 = std::ceil(new_max / double(1UL <<(base10 * 10)));
-         g_assert(new_max <= (coef10 * (1UL << (base10 * 10))));
- 
-         // then decompose coef10 = x * 10**factor10
-         // where factor10 is integer and x < 10
-         // so we new_max has only 1 significant digit
- 
--        unsigned factor10 = std::pow(10.0, std::floor(std::log10(coef10)));
-+        guint64 factor10 = std::pow(10.0, std::floor(std::log10(coef10)));
-         coef10 = std::ceil(coef10 / double(factor10)) * factor10;
- 
-         // then make coef10 divisible by num_bars
-@@ -432,12 +432,12 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-           coef10 = coef10 + (g->num_bars() - coef10 % g->num_bars());
-         g_assert(coef10 % g->num_bars() == 0);
- 
--        new_max = coef10 * (1UL << (base10 * 10));
--        procman_debug("bak %u new_max %u pow2 %u coef10 %u", bak_max, new_max, pow2, coef10);
-+        new_max = coef10 * (1UL << guint64(base10 * 10));
-+        procman_debug("bak %lu new_max %lu pow2 %lu coef10 %lu", bak_max, new_max, pow2, coef10);
-       }
- 
-       if (bak_max > new_max) {
--        procman_debug("overflow detected: bak=%u new=%u", bak_max, new_max);
-+        procman_debug("overflow detected: bak=%lu new=%lu", bak_max, new_max);
-         new_max = bak_max;
-       }
- 
-@@ -446,7 +446,7 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-       if ((0.8 * g->net.max) < new_max && new_max <= g->net.max)
-               return;
- 
--      const float scale = 1.0f * g->net.max / new_max;
-+      const double scale = 1.0f * g->net.max / new_max;
- 
-       for (size_t i = 0; i < LoadGraph::NUM_POINTS; i++) {
-               if (g->data[i][0] >= 0.0f) {
-@@ -455,7 +455,7 @@ net_scale (LoadGraph *g, unsigned din, unsigned dout)
-               }
-       }
- 
--      procman_debug("rescale dmax = %u max = %u new_max = %u", dmax, g->net.max, new_max);
-+      procman_debug("rescale dmax = %lu max = %lu new_max = %lu", dmax, g->net.max, new_max);
- 
-       g->net.max = new_max;
- 
-@@ -471,7 +471,7 @@ get_net (LoadGraph *g)
-       guint32 i;
-       guint64 in = 0, out = 0;
-       GTimeVal time;
--      unsigned din, dout;
-+      guint64 din, dout;
- 
-       ifnames = glibtop_get_netlist(&netlist);
- 
-@@ -510,9 +510,9 @@ get_net (LoadGraph *g)
-           g->net.time.tv_sec != 0) {
-               float dtime;
-               dtime = time.tv_sec - g->net.time.tv_sec +
--                      (float) (time.tv_usec - g->net.time.tv_usec) / G_USEC_PER_SEC;
--              din   = static_cast<unsigned>((in  - g->net.last_in)  / dtime);
--              dout  = static_cast<unsigned>((out - g->net.last_out) / dtime);
-+                      (double) (time.tv_usec - g->net.time.tv_usec) / G_USEC_PER_SEC;
-+              din   = static_cast<guint64>((in  - g->net.last_in)  / dtime);
-+              dout  = static_cast<guint64>((out - g->net.last_out) / dtime);
-       } else {
-               /* Don't calc anything if new data is less than old (interface
-                  removed, counters reset, ...) or if it is the first time */
-diff --git a/src/load-graph.h b/src/load-graph.h
-index d90cf38..9b43c86 100644
---- a/src/load-graph.h
-+++ b/src/load-graph.h
-@@ -87,7 +87,7 @@ struct LoadGraph {
-               struct {
-                       guint64 last_in, last_out;
-                       GTimeVal time;
--                      unsigned int max;
-+                      guint64 max;
-                       unsigned values[NUM_POINTS];
-                       size_t cur;
-               } net;
---
-cgit v0.9
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-3.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-32-bit-network-totals-overflow-3.patch
deleted file mode 100644 (file)
index d3ac4d9..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-From 843cc40119d36873f9670975c7815fbd38481093 Mon Sep 17 00:00:00 2001
-From: Chris Kühl <chrisk@openismus.com>
-Date: Thu, 12 May 2011 21:43:31 +0000
-Subject: Fix for issues on 32-bit machines.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=649842
----
-diff --git a/src/load-graph.cpp b/src/load-graph.cpp
-index a6d2a7e..9291179 100644
---- a/src/load-graph.cpp
-+++ b/src/load-graph.cpp
-@@ -399,7 +399,7 @@ net_scale (LoadGraph *g, guint64 din, guint64 dout)
-         new_max = 1.1 * new_max;
-         // make sure max is not 0 to avoid / 0
-         // default to 125 bytes == 1kbit
--        new_max = std::max(new_max, 125UL);
-+        new_max = std::max(new_max, G_GUINT64_CONSTANT(125));
- 
-       } else {
-         // round up to get some extra space
-@@ -407,7 +407,7 @@ net_scale (LoadGraph *g, guint64 din, guint64 dout)
-         new_max = 1.1 * new_max;
-         // make sure max is not 0 to avoid / 0
-         // default to 1 KiB
--        new_max = std::max(new_max, 1024UL);
-+        new_max = std::max(new_max, G_GUINT64_CONSTANT(1024));
- 
-         // decompose new_max = coef10 * 2**(base10 * 10)
-         // where coef10 and base10 are integers and coef10 < 2**10
-@@ -417,8 +417,8 @@ net_scale (LoadGraph *g, guint64 din, guint64 dout)
- 
-         guint64 pow2 = std::floor(log2(new_max));
-         guint64 base10 = pow2 / 10.0;
--        guint64 coef10 = std::ceil(new_max / double(1UL <<(base10 * 10)));
--        g_assert(new_max <= (coef10 * (1UL << (base10 * 10))));
-+        guint64 coef10 = std::ceil(new_max / double(G_GUINT64_CONSTANT(1) << (base10 * 10)));
-+        g_assert(new_max <= (coef10 * (G_GUINT64_CONSTANT(1) << (base10 * 10))));
- 
-         // then decompose coef10 = x * 10**factor10
-         // where factor10 is integer and x < 10
-@@ -431,13 +431,16 @@ net_scale (LoadGraph *g, guint64 din, guint64 dout)
-         if (coef10 % g->num_bars() != 0)
-           coef10 = coef10 + (g->num_bars() - coef10 % g->num_bars());
-         g_assert(coef10 % g->num_bars() == 0);
--
--        new_max = coef10 * (1UL << guint64(base10 * 10));
--        procman_debug("bak %lu new_max %lu pow2 %lu coef10 %lu", bak_max, new_max, pow2, coef10);
-+        new_max = coef10 * (G_GUINT64_CONSTANT(1) << guint64(base10 * 10));
-+        procman_debug("bak %" G_GUINT64_FORMAT " new_max %" G_GUINT64_FORMAT
-+                        "pow2 %" G_GUINT64_FORMAT " coef10 %" G_GUINT64_FORMAT,
-+                        bak_max, new_max, pow2, coef10);
-       }
- 
-       if (bak_max > new_max) {
--        procman_debug("overflow detected: bak=%lu new=%lu", bak_max, new_max);
-+        procman_debug("overflow detected: bak=%" G_GUINT64_FORMAT
-+                        " new=%" G_GUINT64_FORMAT,
-+                        bak_max, new_max);
-         new_max = bak_max;
-       }
- 
-@@ -455,7 +458,10 @@ net_scale (LoadGraph *g, guint64 din, guint64 dout)
-               }
-       }
- 
--      procman_debug("rescale dmax = %lu max = %lu new_max = %lu", dmax, g->net.max, new_max);
-+      procman_debug("rescale dmax = %" G_GUINT64_FORMAT
-+                      " max = %" G_GUINT64_FORMAT
-+                      " new_max = %" G_GUINT64_FORMAT,
-+                      dmax, g->net.max, new_max);
- 
-       g->net.max = new_max;
- 
-diff --git a/src/util.cpp b/src/util.cpp
-index 234e6fc..7183ff4 100644
---- a/src/util.cpp
-+++ b/src/util.cpp
-@@ -163,14 +163,14 @@ procman::format_size(guint64 size, guint64 max_size, bool want_bits)
-       };
- 
-       const Format all_formats[2][4] = {
--              { { 1UL << 10,     N_("%.1f KiB")  },
--                { 1UL << 20,     N_("%.1f MiB")  },
--                { 1UL << 30,     N_("%.1f GiB")  },
--                  { 1UL << 40,     N_("%.1f TiB")  } },
--              { { 1000,          N_("%.1f kbit") },
--                { 1000000,       N_("%.1f Mbit") },
--                { 1000000000,    N_("%.1f Gbit") },
--                  { 1000000000000, N_("%.1f Tbit") } }
-+          { { G_GUINT64_CONSTANT(1) << 10,       N_("%.1f KiB")  },
-+            { G_GUINT64_CONSTANT(1) << 20,       N_("%.1f MiB")  },
-+            { G_GUINT64_CONSTANT(1) << 30,       N_("%.1f GiB")  },
-+            { G_GUINT64_CONSTANT(1) << 40,       N_("%.1f TiB")  } },
-+          { { G_GUINT64_CONSTANT(1000),          N_("%.1f kbit") },
-+            { G_GUINT64_CONSTANT(1000000),       N_("%.1f Mbit") },
-+            { G_GUINT64_CONSTANT(1000000000),    N_("%.1f Gbit") },
-+            { G_GUINT64_CONSTANT(1000000000000), N_("%.1f Tbit") } }
-       };
- 
-       const Format (&formats)[4] = all_formats[want_bits ? 1 : 0];
---
-cgit v0.9
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-linux-nice.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-3.0.1-linux-nice.patch
deleted file mode 100644 (file)
index 55d4e41..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-From 7c493352b24fb6d0d8b003f25043b070244eeb2e Mon Sep 17 00:00:00 2001
-From: Chris Kühl <chrisk@openismus.com>
-Date: Fri, 15 Apr 2011 09:18:10 +0000
-Subject: Make maximum nice value 19 instead of 20 on Linux.
-
----
-diff --git a/src/procdialogs.h b/src/procdialogs.h
-index eba3212..61decf8 100644
---- a/src/procdialogs.h
-+++ b/src/procdialogs.h
-@@ -26,7 +26,7 @@
- /* These are the actual range of settable values. Values outside this range
-    are scaled back to these limits. So show these limits in the slider
- */
--#ifdef linux
-+#ifdef __linux__
- #define RENICE_VAL_MIN -20
- #define RENICE_VAL_MAX 19
- #else /* ! linux */
---
-cgit v0.9
similarity index 66%
rename from gnome-extra/gnome-system-monitor/gnome-system-monitor-3.0.1-r1.ebuild
rename to gnome-extra/gnome-system-monitor/gnome-system-monitor-3.2.1.ebuild
index 9a771b699d1eee6a4dde41d7297f6ca6de8ec801..9edfce9ddf23e057bc1b4f3ca9daa9714359d055 100644 (file)
@@ -1,11 +1,11 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-3.0.1-r1.ebuild,v 1.1 2011/08/19 11:47:29 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-3.2.1.ebuild,v 1.1 2011/11/06 03:59:21 tetromino Exp $
 
-EAPI="3"
+EAPI="4"
 GCONF_DEBUG="no"
 
-inherit eutils gnome2
+inherit gnome2
 
 DESCRIPTION="The Gnome System Monitor"
 HOMEPAGE="http://www.gnome.org/"
@@ -37,13 +37,3 @@ pkg_setup() {
                --disable-schemas-compile
                --disable-scrollkeeper"
 }
-
-src_prepare() {
-       # Add some useful patches from upstream git master
-       # Use the correct maximum nice value on Linux
-       epatch "${FILESDIR}/${PN}-3.0.1-linux-nice.patch"
-       # Don't overflow the network history totals counters on 32-bit machines
-       epatch "${FILESDIR}/${PN}"-3.0.1-32-bit-network-totals-overflow-{1,2,3}.patch
-
-       gnome2_src_prepare
-}