summaryrefslogtreecommitdiff
path: root/x11-wm/icewm
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-04-26 22:01:32 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-04-26 22:01:32 +0000
commit42e2b6d294118174d653dde0253663be0113c74e (patch)
tree2ad5ed05d1a0e8e0571ca2f7be1606a90c54f9c4 /x11-wm/icewm
parentAdd p5-IMAP-Sieve 0.4.9, perl module to edit Sieve scripts (diff)
- Add two patches I forgot to commit in the previous commiting
- Fix the bug on -current Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=79695
Diffstat (limited to 'x11-wm/icewm')
-rw-r--r--x11-wm/icewm/Makefile1
-rw-r--r--x11-wm/icewm/files/patch-at23
-rw-r--r--x11-wm/icewm/files/patch-po_Makefile.in11
-rw-r--r--x11-wm/icewm/files/patch-src_Makefile.in26
4 files changed, 50 insertions, 11 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 775f5ca556d6..92ab54c48d69 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icewm
PORTVERSION= 1.2.7
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/x11-wm/icewm/files/patch-at b/x11-wm/icewm/files/patch-at
index b108dc22016c..9657da8ac7eb 100644
--- a/x11-wm/icewm/files/patch-at
+++ b/x11-wm/icewm/files/patch-at
@@ -1,6 +1,6 @@
---- src/acpustatus.cc.orig Wed Feb 20 19:55:04 2002
-+++ src/acpustatus.cc Wed Feb 20 20:19:20 2002
-@@ -26,7 +26,15 @@
+--- src/acpustatus.cc.orig Sun Mar 9 04:37:52 2003
++++ src/acpustatus.cc Thu Apr 24 05:09:50 2003
+@@ -26,7 +26,16 @@
#include "intl.h"
@@ -12,12 +12,13 @@
+#include <kvm.h>
+#include <nlist.h>
+#include <sys/dkstat.h>
++#include <sys/resource.h>
+#include <devstat.h>
+#endif
#define UPDATE_INTERVAL 500
-@@ -49,13 +57,42 @@
+@@ -49,13 +58,42 @@
color[IWM_SYS] = new YColor(clrCpuSys);
color[IWM_IDLE] = *clrCpuIdle
? new YColor(clrCpuIdle) : NULL;
@@ -61,7 +62,7 @@
getStatus();
updateStatus();
updateToolTip();
-@@ -70,6 +107,13 @@
+@@ -70,6 +108,13 @@
delete color[IWM_NICE]; color[IWM_NICE] = 0;
delete color[IWM_SYS]; color[IWM_SYS] = 0;
delete color[IWM_IDLE]; color[IWM_IDLE] = 0;
@@ -74,8 +75,8 @@
+#endif
}
- void CPUStatus::paint(Graphics &g, int /*x*/, int /*y*/, unsigned int /*width*/, unsigned int /*height*/) {
-@@ -80,13 +124,34 @@
+ void CPUStatus::paint(Graphics &g, const YRect &/*r*/) {
+@@ -80,13 +125,34 @@
int nice = cpu[i][IWM_NICE];
int sys = cpu[i][IWM_SYS];
int idle = cpu[i][IWM_IDLE];
@@ -110,7 +111,7 @@
if (n >= y) n = y;
g.setColor(color[IWM_SYS]);
g.drawLine(i, y, i, n);
-@@ -102,7 +167,12 @@
+@@ -102,7 +168,12 @@
}
if (user) {
@@ -123,7 +124,7 @@
if (n >= y) n = y;
g.setColor(color[IWM_USER]);
g.drawLine(i, y, i, n);
-@@ -152,6 +222,14 @@
+@@ -152,6 +223,14 @@
sprintf(load, _("CPU Load: %3.2f %3.2f %3.2f, %d processes."),
l1, l5, l15, sys.procs);
setToolTip(load);
@@ -138,7 +139,7 @@
#endif
}
-@@ -169,13 +247,43 @@
+@@ -169,13 +248,43 @@
cpu[i - 1][IWM_NICE] = cpu[i][IWM_NICE];
cpu[i - 1][IWM_SYS] = cpu[i][IWM_SYS];
cpu[i - 1][IWM_IDLE] = cpu[i][IWM_IDLE];
@@ -183,7 +184,7 @@
char *p, buf[128];
long cur[IWM_STATES];
int len, fd = open("/proc/stat", O_RDONLY);
-@@ -209,8 +317,8 @@
+@@ -209,8 +318,8 @@
cpu[taskBarCPUSamples-1][IWM_USER], cpu[taskBarCPUSamples-1][IWM_NICE],
cpu[taskBarCPUSamples-1][IWM_SYS], cpu[taskBarCPUSamples-1][IDLE]);
#endif
diff --git a/x11-wm/icewm/files/patch-po_Makefile.in b/x11-wm/icewm/files/patch-po_Makefile.in
new file mode 100644
index 000000000000..5b13994cae0e
--- /dev/null
+++ b/x11-wm/icewm/files/patch-po_Makefile.in
@@ -0,0 +1,11 @@
+--- po/Makefile.in.orig Sat Sep 7 02:18:07 2002
++++ po/Makefile.in Thu Sep 12 00:03:04 2002
+@@ -29,7 +29,7 @@
+ install: all
+ @echo "Installing message catalogues in $(DESTDIR)$(LOCDIR)"
+ @for catalog in $(MOFILES); do \
+- lang=`echo $${catalog} | sed -e 's/.mo//'` ; \
++ lang=`echo $${catalog} | sed -e 's/.po//'` ; \
+ msgdir="$(DESTDIR)$(LOCDIR)/$${lang}/LC_MESSAGES"; \
+ echo "Installing language: $${lang}" ; \
+ $(INSTALLDIR) "$${msgdir}"; \
diff --git a/x11-wm/icewm/files/patch-src_Makefile.in b/x11-wm/icewm/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..e46bebd09f9b
--- /dev/null
+++ b/x11-wm/icewm/files/patch-src_Makefile.in
@@ -0,0 +1,26 @@
+--- src/Makefile.in.orig Sat Jan 4 01:25:45 2003
++++ src/Makefile.in Mon Jan 6 19:26:05 2003
+@@ -28,11 +28,11 @@
+ -DEXEEXT='"$(EXEEXT)"' \
+ -DICEWMEXE='"icewm$(EXEEXT)"' \
+ -DICEHELPEXE='"icehelp$(EXEEXT)"' \
+- -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"'
++ -DICEHELPIDX='"$(DOCDIR)/icewm/icewm.html"'
+
+-CXXFLAGS = @CXXFLAGS@ $(DEBUG) $(DEFS) \
++CXXFLAGS = @CXXFLAGS@ $(DEBUG) $(DEFS) @CPPFLAGS@ \
+ @CORE_CFLAGS@ @IMAGE_CFLAGS@ @AUDIO_CFLAGS@ # `fc-config --cflags`
+-LFLAGS =
++LFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+
+ CORE_LIBS = @CORE_LIBS@ # `fc-config --libs`
+@@ -52,7 +52,7 @@
+ genpref.o
+
+ icewm_LIBS = \
+- $(CORE_LIBS) $(IMAGE_LIBS)
++ $(CORE_LIBS) $(IMAGE_LIBS) -lkvm
+ icewm_OBJS = \
+ ymsgbox.o ydialog.o yurl.o \
+ wmsession.o wmwinlist.o wmtaskbar.o wmwinmenu.o \