[96226] trunk/dports/sysutils/htop

cal at macports.org cal at macports.org
Sun Aug 5 03:10:42 PDT 2012


Revision: 96226
          https://trac.macports.org/changeset/96226
Author:   cal at macports.org
Date:     2012-08-05 03:10:39 -0700 (Sun, 05 Aug 2012)
Log Message:
-----------
htop: use fork with more patches, claim maintainership, thanks to Christoph Erhardt for the pointer

Modified Paths:
--------------
    trunk/dports/sysutils/htop/Portfile

Removed Paths:
-------------
    trunk/dports/sysutils/htop/files/patch-htop.c.diff

Modified: trunk/dports/sysutils/htop/Portfile
===================================================================
--- trunk/dports/sysutils/htop/Portfile	2012-08-05 08:02:28 UTC (rev 96225)
+++ trunk/dports/sysutils/htop/Portfile	2012-08-05 10:10:39 UTC (rev 96226)
@@ -4,13 +4,17 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        AndyA htop-osx 0.8.2.1
+github.setup        mklein-de htop-osx d92a7d4975c5dc2ce404cbc75553ad16f8413f26
+checksums           rmd160  d903fceca2071ba2989f5a9bd3a54a9741366a01 \
+                    sha256  02d69db72c3b56163c0a4ae698bcf6d149675e55ec4375e53a32767f620f4e4e
+
+epoch               1
+version             0.8.2.1
+revision            1
 name                htop
-epoch               1
-git.branch          77edf8ddae9682e356e5
 categories          sysutils
 platforms           darwin
-maintainers         nomaintainer
+maintainers         cal openmaintainer
 license             GPL-2
 
 description         an interactive process viewer
@@ -24,10 +28,6 @@
 
 depends_lib         port:ncurses
 
-fetch.type          git
-
-patchfiles          patch-htop.c.diff
-
 pre-configure {
     system "cd ${worksrcpath} && sh autogen.sh"
 }
@@ -35,5 +35,5 @@
 # "String.h" vs <string.h> on case-insensitive FS (#21036)
 build.args          {DEFAULT_INCLUDES="-iquote ."}
 
-livecheck.url       https://github.com/AndyA/htop-osx/raw/osx/configure.ac
+livecheck.url       https://github.com/mklein-de/htop-osx/raw/osx/configure.ac
 livecheck.regex     {\[htop\],\[([0-9.]+)\]}

Deleted: trunk/dports/sysutils/htop/files/patch-htop.c.diff
===================================================================
--- trunk/dports/sysutils/htop/files/patch-htop.c.diff	2012-08-05 08:02:28 UTC (rev 96225)
+++ trunk/dports/sysutils/htop/files/patch-htop.c.diff	2012-08-05 10:10:39 UTC (rev 96226)
@@ -1,22 +0,0 @@
-https://github.com/AndyA/htop-osx/issues/2
-https://trac.macports.org/ticket/29118
---- htop.c.orig 2010-01-13 18:04:07.000000000 +0100
-+++ htop.c  2010-01-13 15:29:55.000000000 +0100
-@@ -651,7 +651,7 @@
-          
-          Panel* affinityPanel = AffinityPanel_new(pl->processorCount, curr);
- 
--         char* fuFunctions[2] = {"Set    ", "Cancel "};
-+         char* fuFunctions[] = {"Set    ", "Cancel ", NULL};
-          void* set = pickFromVector(panel, affinityPanel, 15, headerHeight, fuFunctions, defaultBar);
-          if (set) {
-             unsigned long new = AffinityPanel_getAffinity(affinityPanel);
-@@ -690,7 +690,7 @@
-       {
-          Panel* sortPanel = Panel_new(0, 0, 0, 0, LISTITEM_CLASS, true, ListItem_compare);
-          Panel_setHeader(sortPanel, "Sort by");
--         char* fuFunctions[2] = {"Sort  ", "Cancel "};
-+         char* fuFunctions[] = {"Sort  ", "Cancel ", NULL};
-          ProcessField* fields = pl->fields;
-          for (int i = 0; fields[i]; i++) {
-             char* name = String_trim(Process_fieldTitles[fields[i]]);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120805/8fe9ab60/attachment.html>


More information about the macports-changes mailing list