summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <smithj@gentoo.org>2005-06-22 21:38:59 +0000
committerJonathan Smith <smithj@gentoo.org>2005-06-22 21:38:59 +0000
commit8bbdabfe111bf51838af10e00652a07a51d52a49 (patch)
tree3f6cb640c90316f0add9c54c39bbd6eb89aaa6ca /x11-plugins
parentInitial userlocales support in bootstrap. (diff)
downloadhistorical-8bbdabfe111bf51838af10e00652a07a51d52a49.tar.gz
historical-8bbdabfe111bf51838af10e00652a07a51d52a49.tar.bz2
historical-8bbdabfe111bf51838af10e00652a07a51d52a49.zip
added metadata and version bump which fixes #76865
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/fsviewer/ChangeLog11
-rw-r--r--x11-plugins/fsviewer/Manifest16
-rw-r--r--x11-plugins/fsviewer/files/digest-fsviewer-0.2.51
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.5-windowmaker.patch335
-rw-r--r--x11-plugins/fsviewer/fsviewer-0.2.5.ebuild39
-rw-r--r--x11-plugins/fsviewer/metadata.xml8
6 files changed, 407 insertions, 3 deletions
diff --git a/x11-plugins/fsviewer/ChangeLog b/x11-plugins/fsviewer/ChangeLog
index 619e4e7d5bf5..fb0f0f5fb5d3 100644
--- a/x11-plugins/fsviewer/ChangeLog
+++ b/x11-plugins/fsviewer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-plugins/fsviewer
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/fsviewer/ChangeLog,v 1.7 2004/06/28 04:33:08 augustus Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/fsviewer/ChangeLog,v 1.8 2005/06/22 21:38:59 smithj Exp $
+
+*fsviewer-0.2.5 (22 Jun 2005)
+
+ 22 Jun 2005; Jonathan Smith <smithj@gentoo.org>
+ +files/fsviewer-0.2.5-windowmaker.patch, +metadata.xml,
+ +fsviewer-0.2.5.ebuild:
+ added metadata and version bump which fixes #76865
28 Jun 2004; <augustus@gentoo.org> fsviewer-0.2.3e-r1.ebuild:
Marrked amd64. First fsviewer tag for amd64.
diff --git a/x11-plugins/fsviewer/Manifest b/x11-plugins/fsviewer/Manifest
index 09d0a0033e43..13bb896fd533 100644
--- a/x11-plugins/fsviewer/Manifest
+++ b/x11-plugins/fsviewer/Manifest
@@ -1,3 +1,17 @@
-MD5 b9000ef30829e8b784f99fd76374f281 ChangeLog 796
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 4fcc34079dc1e2cbd91ae946958712dd ChangeLog 1013
MD5 c6f2ddec336d7206b0c5db426ee6f2e1 fsviewer-0.2.3e-r1.ebuild 752
+MD5 8dad4c602e8fc48cf21cf32d762b9af0 metadata.xml 231
+MD5 d6bb191a7f02ae1ef453c11492f76d0b fsviewer-0.2.5.ebuild 891
MD5 2e3849f1c388150becdcaaace1a81ae4 files/digest-fsviewer-0.2.3e-r1 72
+MD5 42990483538b9e7f156739209b9817d2 files/fsviewer-0.2.5-windowmaker.patch 10838
+MD5 cb533e00910969bb4210ceacfd4751f6 files/digest-fsviewer-0.2.5 70
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCudqal5AvwDPiUowRAlkwAJwNj9A002BT868jppZ3CloqcH6sHQCgnmUd
+1o++UR2x2x/saDsp75BX1mM=
+=GjZ1
+-----END PGP SIGNATURE-----
diff --git a/x11-plugins/fsviewer/files/digest-fsviewer-0.2.5 b/x11-plugins/fsviewer/files/digest-fsviewer-0.2.5
new file mode 100644
index 000000000000..2ab29edabd1f
--- /dev/null
+++ b/x11-plugins/fsviewer/files/digest-fsviewer-0.2.5
@@ -0,0 +1 @@
+MD5 d1f849d1f955c35b18201860e485d332 FSViewer.app-0.2.5.tar.gz 858696
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.5-windowmaker.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.5-windowmaker.patch
new file mode 100644
index 000000000000..bc23ef32f75e
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.5-windowmaker.patch
@@ -0,0 +1,335 @@
+diff -Nur FSViewer.app-0.2.5-alt/src/FSBrowser.c FSViewer.app-0.2.5/src/FSBrowser.c
+--- FSViewer.app-0.2.5-alt/src/FSBrowser.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/FSBrowser.c Mon Dec 23 15:11:58 2002
+@@ -278,13 +278,13 @@
+ &titleLen, widthC);
+ W_PaintText(bPtr->view, bPtr->view->window, scr->boldFont, x,
+ (bPtr->titleHeight-WMFontHeight(scr->boldFont))/2,
+- bPtr->columnSize.width, WACenter, WMColorGC(scr->white),
++ bPtr->columnSize.width, WACenter, WMWhiteColor(scr),
+ False, titleBuf, titleLen);
+ free (titleBuf);
+ } else {
+ W_PaintText(bPtr->view, bPtr->view->window, scr->boldFont, x,
+ (bPtr->titleHeight-WMFontHeight(scr->boldFont))/2,
+- bPtr->columnSize.width, WACenter, WMColorGC(scr->white),
++ bPtr->columnSize.width, WACenter, WMWhiteColor(scr),
+ False, bPtr->titles[column], titleLen);
+ }
+ }
+@@ -621,7 +621,7 @@
+
+
+ static void
+-paintItem(WMList *lPtr, int index, Drawable d, char *text, int state,
++paintItem(WMList *lPtr, int index, Drawable d, char *text, int state,
+ WMRect *rect)
+ {
+ WMView *view = W_VIEW(lPtr);
+@@ -630,19 +630,18 @@
+ /* WMListItem *item; */
+
+ /* item = WMGetListItem(lPtr, index); */
+-
++
+ width = rect->size.width;
+ height = rect->size.height;
+ x = rect->pos.x;
+ y = rect->pos.y;
+
+ if (state & WLDSSelected)
+- XFillRectangle(scr->display, d, WMColorGC(scr->white), x, y,
++ WMPaintColorSwatch(WMWhiteColor(scr), d, x, y,
+ width, height);
+-/* else if(item->uflags & 1) */
+-/* XFillRectangle(scr->display, d, WMColorGC(WMCreateNamedColor(scr, "yellow", False)), x, y, width, height); */
+ else
+- XClearArea(scr->display, d, x, y, width, height, False);
++ WMPaintColorSwatch(WMGetWidgetBackgroundColor(lPtr), d, x, y,
++ width, height);
+
+ if (text) {
+ /* Avoid overlaping... */
+@@ -652,11 +651,11 @@
+ char *textBuf = createTruncatedString(scr->normalFont,
+ text, &textLen, widthC);
+ W_PaintText(view, d, scr->normalFont, x+4, y, widthC,
+- WALeft, WMColorGC(scr->black), False, textBuf, textLen);
++ WALeft, WMBlackColor(scr), False, textBuf, textLen);
+ free(textBuf);
+ } else {
+- W_PaintText(view, d, scr->normalFont, x+4, y, widthC,
+- WALeft, WMColorGC(scr->black), False, text, textLen);
++ W_PaintText(view, d, scr->normalFont, x+4, y, widthC,
++ WALeft, WMBlackColor(scr), False, text, textLen);
+ }
+ }
+
+diff -Nur FSViewer.app-0.2.5-alt/src/FSFileButton.c FSViewer.app-0.2.5/src/FSFileButton.c
+--- FSViewer.app-0.2.5-alt/src/FSFileButton.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/FSFileButton.c Mon Dec 23 14:52:07 2002
+@@ -518,7 +518,7 @@
+ {
+
+ W_PaintText(view, d, screen->normalFont, x+ix, y+iy,
+- strwidth, WACenter, WMColorGC(screen->black),
++ strwidth, WACenter, WMBlackColor(screen),
+ True, text, strlen(text));
+ }
+
+@@ -711,7 +711,7 @@
+ XSetWindowBackgroundPixmap(WMScreenDisplay(scr), view->window, pix);
+ XClearWindow(WMScreenDisplay(scr), view->window);
+ W_PaintText(view, pix, scr->normalFont, 2, 1, width, WACenter,
+- WMColorGC(scr->black), False, text, len);
++ WMBlackColor(scr), False, text, len);
+ if(pix)
+ XFreePixmap(scr->display, pix);
+
+diff -Nur FSViewer.app-0.2.5-alt/src/FSMCList.c FSViewer.app-0.2.5/src/FSMCList.c
+--- FSViewer.app-0.2.5-alt/src/FSMCList.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/FSMCList.c Mon Dec 23 15:13:14 2002
+@@ -257,7 +257,7 @@
+ {
+ char *path;
+ FileInfo *fileList;
+- FileInfo *start;
++ FileInfo *start = NULL;
+ WMListItem *listItem;
+ FSMCList *mPtr = (FSMCList *)(WMGetHangedData(bPtr));
+ WMList *list = FSGetBrowserListInColumn(bPtr, column);
+@@ -408,7 +408,7 @@
+ if (width >= 3*dLen) {
+ int dddLen = 3*dLen;
+ int tmpTextLen = *textLen;
+-
++
+ strcpy(textBuf, text);
+ while (tmpTextLen
+ && (WMWidthOfString(font, textBuf, tmpTextLen)+dddLen > width))
+@@ -429,7 +429,7 @@
+ }
+
+ static void
+-paintItem(WMList *lPtr, int index, Drawable d,
++paintItem(WMList *lPtr, int index, Drawable d,
+ char *text, int state, WMRect *rect)
+ {
+ int i = 0;
+@@ -450,17 +450,18 @@
+ x = rect->pos.x;
+ y = rect->pos.y;
+ fontHeight = WMFontHeight(scr->normalFont);
+-
++
+ /* Highlight the selected area */
+ if (state & WLDSSelected)
+- XFillRectangle(scr->display, d, WMColorGC(scr->white),
+- x, y, width, height);
++ WMPaintColorSwatch(WMWhiteColor(scr), d, x, y,
++ width, height);
+ else
+- XClearArea(scr->display, d, x, y, width, height, False);
++ WMPaintColorSwatch(WMGetWidgetBackgroundColor(lPtr), d, x, y,
++ width, height);
+
+ if(item->clientData)
+ {
+- str = wstrdup(item->clientData);
++ str = wstrdup(item->clientData);
+ len = strlen(str);
+ }
+ else
+@@ -513,10 +514,10 @@
+ else
+ image = WMCreatePixmapFromXPMData(scr, list_file_xpm);
+ size = WMGetPixmapSize(image);
+- WMDrawPixmap(image, d,
++ WMDrawPixmap(image, d,
+ x+6+(20-size.width)/2, (height-size.height)/2+y);
+ WMReleasePixmap(image);
+-
++
+ }
+ else
+ {
+@@ -527,52 +528,52 @@
+ else
+ tmpStr = wstrdup("F");
+
+- W_PaintText(view, d, scr->boldFont,
++ W_PaintText(view, d, scr->boldFont,
+ x+6, y+(height-fontHeight)/2, widthC,
+- WALeft, WMColorGC(scr->darkGray), False,
++ WALeft, WMDarkGrayColor(scr), False,
+ tmpStr, 1);
+
+ free(tmpStr);
+ }
+-
+- if (WMWidthOfString(scr->normalFont, items[i], textLen) > widthC)
++
++ if (WMWidthOfString(scr->normalFont, items[i], textLen) > widthC)
+ {
+ char *textBuf = createTruncatedString(scr->normalFont,
+- items[i], &textLen,
++ items[i], &textLen,
+ widthC);
+-
+- W_PaintText(view, d, scr->normalFont,
++
++ W_PaintText(view, d, scr->normalFont,
+ x+26, y+(height-fontHeight)/2, widthC,
+- WALeft, WMColorGC(scr->black), False,
++ WALeft, WMBlackColor(scr), False,
+ textBuf, textLen);
+
+ free(textBuf);
+ }
+- else
++ else
+ {
+- W_PaintText(view, d, scr->normalFont,
++ W_PaintText(view, d, scr->normalFont,
+ x+26, y+(height-fontHeight)/2, widthC,
+- WALeft, WMColorGC(scr->black), False, items[i],
++ WALeft, WMBlackColor(scr), False, items[i],
+ textLen);
+ }
+ x += 194;
+- }
++ }
+ else if(i==3)
+ {
+- W_PaintText(view, d, scr->normalFont,
++ W_PaintText(view, d, scr->normalFont,
+ x+6, y+(height-fontHeight)/2, 100,
+- WALeft, WMColorGC(scr->black), False, items[i],
++ WALeft, WMBlackColor(scr), False, items[i],
+ strlen(items[i]));
+ x += 100;
+ }
+ else
+ {
+- W_PaintText(view, d, scr->normalFont,
++ W_PaintText(view, d, scr->normalFont,
+ x+6, y+(height-fontHeight)/2, 82,
+- WALeft, WMColorGC(scr->black), False, items[i],
++ WALeft, WMBlackColor(scr), False, items[i],
+ strlen(items[i]));
+ x += 82;
+- }
++ }
+ free(items[i]);
+ items[i] = NULL;
+ }
+diff -Nur FSViewer.app-0.2.5-alt/src/FSPrefs.c FSViewer.app-0.2.5/src/FSPrefs.c
+--- FSViewer.app-0.2.5-alt/src/FSPrefs.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/FSPrefs.c Mon Dec 23 15:14:09 2002
+@@ -1913,25 +1913,26 @@
+ WMListItem *item = WMGetListItem(lPtr, index);
+
+ if (item->selected)
+- XFillRectangle(scr->display, view->window, WMColorGC(scr->white),
+- rect->pos.x, rect->pos.y,
++ WMPaintColorSwatch(WMWhiteColor(scr), d,
++ rect->pos.x, rect->pos.y,
+ rect->size.width, rect->size.height);
+ else
+- XClearArea(scr->display, view->window, rect->pos.x, rect->pos.y,
+- rect->size.width, rect->size.height, False);
++ WMPaintColorSwatch(WMGetWidgetBackgroundColor(lPtr), d,
++ rect->pos.x, rect->pos.y,
++ rect->size.width, rect->size.height);
+
+ if(item->uflags)
+ {
+- W_PaintText(view, view->window, scr->boldFont,
++ W_PaintText(view, d, scr->boldFont,
+ rect->pos.x+4, rect->pos.y, rect->size.width,
+- WALeft, WMColorGC(scr->black), False,
++ WALeft, WMBlackColor(scr), False,
+ item->text, strlen(item->text));
+ }
+ else
+ {
+- W_PaintText(view, view->window, scr->normalFont,
++ W_PaintText(view, d, scr->normalFont,
+ rect->pos.x+4, rect->pos.y, rect->size.width,
+- WALeft, WMColorGC(scr->black), False,
++ WALeft, WMBlackColor(scr), False,
+ item->text, strlen(item->text));
+ }
+ }
+diff -Nur FSViewer.app-0.2.5-alt/src/FSUtils.c FSViewer.app-0.2.5/src/FSUtils.c
+--- FSViewer.app-0.2.5-alt/src/FSUtils.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/FSUtils.c Mon Dec 23 14:55:35 2002
+@@ -976,8 +976,8 @@
+ clone = RMakeCenteredImage(image, 64, 64, &color1);
+ pixmap = WMCreatePixmapFromRImage(scr, clone, 0);
+
+- RDestroyImage(image);
+- RDestroyImage(clone);
++ RReleaseImage(image);
++ RReleaseImage(clone);
+
+ return pixmap;
+ }
+@@ -1028,8 +1028,8 @@
+ pixmap = WMCreatePixmapFromRImage(scr, clone, 0);
+ }
+
+- RDestroyImage(clone);
+- RDestroyImage(image);
++ RReleaseImage(clone);
++ RReleaseImage(image);
+
+ return pixmap;
+ }
+@@ -1068,7 +1068,7 @@
+ RClearImage(image, &color);
+ pixmap = WMCreatePixmapFromRImage(scr, image, 0);
+
+- RDestroyImage(image);
++ RReleaseImage(image);
+
+ return pixmap;
+ }
+diff -Nur FSViewer.app-0.2.5-alt/src/timestampWidget.c FSViewer.app-0.2.5/src/timestampWidget.c
+--- FSViewer.app-0.2.5-alt/src/timestampWidget.c Thu Dec 19 21:26:35 2002
++++ FSViewer.app-0.2.5/src/timestampWidget.c Mon Dec 23 14:52:07 2002
+@@ -99,6 +99,7 @@
+ XpmIcon weekday;
+ XpmIcon asvisible;
+ GC gc;
++ WMColor *color;
+ time_t time;
+
+ struct flags
+@@ -236,7 +237,8 @@
+ WMCreateEventHandler(timestamp->view, ExposureMask | StructureNotifyMask, handleEvents, timestamp);
+
+ /* Default GC for paint. */
+- timestamp->gc = WMColorGC(scr->gray);
++ timestamp->color = WMGrayColor(scr);
++ timestamp->gc = WMColorGC(timestamp->color);
+
+ W_ResizeView(timestamp->view, TIMESTAMP_MIN_WIDTH, TIMESTAMP_MIN_HEIGHT);
+ DEBUG_PRINT("Resized View");
+@@ -668,14 +670,14 @@
+ {
+ W_PaintTextAndImage(timestamp->view,
+ False,
+- timestamp->gc,
++ timestamp->color,
+ scr->normalFont,
+ WRFlat,
+ NULL,
+ WACenter,
+ timestamp->image,
+ WIPImageOnly,
+- timestamp->gc,
++ timestamp->color,
+ offset);
+ DEBUG_PRINT("Painted image");
+ }
diff --git a/x11-plugins/fsviewer/fsviewer-0.2.5.ebuild b/x11-plugins/fsviewer/fsviewer-0.2.5.ebuild
new file mode 100644
index 000000000000..ad9cc1f7b95f
--- /dev/null
+++ b/x11-plugins/fsviewer/fsviewer-0.2.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/fsviewer/fsviewer-0.2.5.ebuild,v 1.1 2005/06/22 21:38:59 smithj Exp $
+
+inherit eutils
+
+MY_PN="FSViewer"
+
+DESCRIPTION="file system viewer for Window Maker"
+HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
+SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_PN}.app-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+IUSE=""
+
+DEPEND="virtual/x11
+ x11-wm/windowmaker"
+
+S="${WORKDIR}/${MY_PN}.app-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-windowmaker.patch
+}
+
+src_compile() {
+ econf --with-appspath=/usr/lib/GNUstep \
+ --with-extralibs=-lXft \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+}
diff --git a/x11-plugins/fsviewer/metadata.xml b/x11-plugins/fsviewer/metadata.xml
new file mode 100644
index 000000000000..72335b4f9bac
--- /dev/null
+++ b/x11-plugins/fsviewer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-misc</herd>
+<maintainer>
+<email>desktop-misc@gentoo.org</email>
+</maintainer>
+</pkgmetadata>