summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2008-04-25 16:10:27 +0000
committerkefren <kefren@pkgsrc.org>2008-04-25 16:10:27 +0000
commit1fdaa2fe77cdec75f3f9ba9aeca7a2dfdf3e06ef (patch)
tree8e40d06c512121afcc42a77ba65789897d524f25
parent2c46c90f89587099dcf3c524ce829a808928b1e8 (diff)
downloadpkgsrc-1fdaa2fe77cdec75f3f9ba9aeca7a2dfdf3e06ef.tar.gz
Initial import of dcsharp-0.11.1
DC# is a file sharing client for the Direct Connect protocol, which allows you to connect to hubs to chat and share files.
-rw-r--r--net/dcsharp/DESCR13
-rw-r--r--net/dcsharp/Makefile31
-rw-r--r--net/dcsharp/PLIST14
-rw-r--r--net/dcsharp/distinfo21
-rw-r--r--net/dcsharp/patches/patch-aa21
-rw-r--r--net/dcsharp/patches/patch-ab27
-rw-r--r--net/dcsharp/patches/patch-ac18
-rw-r--r--net/dcsharp/patches/patch-ad35
-rw-r--r--net/dcsharp/patches/patch-ae18
-rw-r--r--net/dcsharp/patches/patch-af18
-rw-r--r--net/dcsharp/patches/patch-ag21
-rw-r--r--net/dcsharp/patches/patch-ah16
-rw-r--r--net/dcsharp/patches/patch-ai12
-rw-r--r--net/dcsharp/patches/patch-aj12
-rw-r--r--net/dcsharp/patches/patch-ak27
-rw-r--r--net/dcsharp/patches/patch-al47
-rw-r--r--net/dcsharp/patches/patch-am30
-rw-r--r--net/dcsharp/patches/patch-an25
-rw-r--r--net/dcsharp/patches/patch-ao15
-rw-r--r--net/dcsharp/patches/patch-ap9
20 files changed, 430 insertions, 0 deletions
diff --git a/net/dcsharp/DESCR b/net/dcsharp/DESCR
new file mode 100644
index 00000000000..fadd3e5301a
--- /dev/null
+++ b/net/dcsharp/DESCR
@@ -0,0 +1,13 @@
+DC# is a file sharing client for the Direct Connect protocol, which allows
+you to connect to hubs to chat and share files. It supports the basic
+features expected from a Direct Connect client:
+
+ * Hub chat and private messages
+ * File search and transfer
+
+Additional features are:
+
+ * Segmented downloading
+ * The integrity of downloaded files are verified
+ * Downloads can be started and stopped/paused
+ * Notification when a download is complete
diff --git a/net/dcsharp/Makefile b/net/dcsharp/Makefile
new file mode 100644
index 00000000000..c1d591be1d3
--- /dev/null
+++ b/net/dcsharp/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+
+DISTNAME= dcsharp-0.11.1
+CATEGORIES= net
+MASTER_SITES= http://dcsharp.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://code.google.com/p/dcsharp/
+COMMENT= File sharing client for the Direct Connect protocol
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c++
+NO_CONFIGURE= yes
+
+BUILD_DEPENDS+= scons>=0.96.1:../../devel/scons
+DEPENDS+= notification-daemon>=0.3.7:../../sysutils/notification-daemon
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX}
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} install
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../x11/gtk-sharp/buildlink3.mk"
+.include "../../x11/gnome-sharp/buildlink3.mk"
+.include "../../sysutils/ndesk-dbus/buildlink3.mk"
+.include "../../sysutils/ndesk-dbus-glib/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/dcsharp/PLIST b/net/dcsharp/PLIST
new file mode 100644
index 00000000000..a0b1603adad
--- /dev/null
+++ b/net/dcsharp/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+bin/dcsharp
+share/applications/dcsharp.desktop
+lib/dcsharp/DCSharp.Base.dll
+lib/dcsharp/DCSharp.Base.dll.config
+lib/dcsharp/DCSharp.exe
+lib/dcsharp/DCSharp.exe.config
+lib/dcsharp/notify-sharp.dll
+lib/dcsharp/notify-sharp.dll.config
+etc/gconf/schemas/dcsharp-handlers.schema
+share/locale/sv/LC_MESSAGES/dcsharp.mo
+share/locale/pl/LC_MESSAGES/dcsharp.mo
+share/locale/de/LC_MESSAGES/dcsharp.mo
+@dirrm etc/gconf/schemas
diff --git a/net/dcsharp/distinfo b/net/dcsharp/distinfo
new file mode 100644
index 00000000000..48398e859f6
--- /dev/null
+++ b/net/dcsharp/distinfo
@@ -0,0 +1,21 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+
+SHA1 (dcsharp-0.11.1.tar.bz2) = 7589a5620619a85ebb9c5f531a558e72c81e2c79
+RMD160 (dcsharp-0.11.1.tar.bz2) = 524630248f0c353abf81f2854d6e0a67b764f318
+Size (dcsharp-0.11.1.tar.bz2) = 207178 bytes
+SHA1 (patch-aa) = ca2b8120e2114ce901b2578d7a266d6277f3aa21
+SHA1 (patch-ab) = a410159c9c4d6c379024560b6f34229a38d4995e
+SHA1 (patch-ac) = 8ea771838c3497a9121473454dff55e87577c03c
+SHA1 (patch-ad) = 779fded1a2068e10e7bc81722e519ab2283d16db
+SHA1 (patch-ae) = dd544e02773d645a326bc9a3e6b1bb89b797ff89
+SHA1 (patch-af) = 25a2b2f47a5307dde058005677f2212c95589ab1
+SHA1 (patch-ag) = bc3a593351cde3968cedab70ec5bc01896548e34
+SHA1 (patch-ah) = b996e20c6cd6201bd54c6b7b7c22d627fa0a0ec7
+SHA1 (patch-ai) = ce6ed38c77bfcf17d367cc5152a78b7ebc8ab1e3
+SHA1 (patch-aj) = 10f3076e1d2205b510aa76bc46f9a8933bd8fbfa
+SHA1 (patch-ak) = 283168eb4dc137e2050bd0dc6fd17155ec5aba40
+SHA1 (patch-al) = dfac5219c6dd24c197cbffcdca88295b1238192a
+SHA1 (patch-am) = 793da3431a6f2b5c57c0a6eb674e8374b7dd8391
+SHA1 (patch-an) = 1d7bb63a6e7d75fbb76e853d8d1b9bb27f1c6ca4
+SHA1 (patch-ao) = 79102886c7e5f43a83140f0a893ac281551101bb
+SHA1 (patch-ap) = c02e1f6da6dd9970704113492e87ae1d66d17182
diff --git a/net/dcsharp/patches/patch-aa b/net/dcsharp/patches/patch-aa
new file mode 100644
index 00000000000..807df48fed8
--- /dev/null
+++ b/net/dcsharp/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- SConstruct.orig 2007-10-26 12:11:04.000000000 +0300
++++ SConstruct 2008-04-24 21:34:37.000000000 +0300
+@@ -12,7 +12,7 @@
+ opts.Add(PathOption('LIBDIR', 'System library path', '$PREFIX/lib'));
+ opts.Add(PathOption('BINDIR', 'System executable path', '$PREFIX/bin'));
+ opts.Add(PathOption('SHAREDIR', 'System shared data path', '$PREFIX/share'));
+-opts.Add(PathOption('SYSCONFDIR', 'System configuration path', '/etc'));
++opts.Add(PathOption('SYSCONFDIR', 'System configuration path', '$PREFIX/etc'));
+ opts.Add(PathOption('DESTDIR', 'System base installation path', '/'));
+
+ opts.Add(BoolOption('DEBUG', 'Compile with debug information', 0));
+@@ -179,7 +179,7 @@
+ env['RESOURCE'] = Split('')
+ env['CSCFLAGS'] = Split('')
+
+-env = Environment(options = opts)
++env = Environment(ENV = os.environ, options = opts)
+ conf = Configure(env, custom_tests = { 'CheckPKGConfig' : CheckPKGConfig,
+ 'CheckPKG' : CheckPKG })
+ Help(opts.GenerateHelpText(env))
diff --git a/net/dcsharp/patches/patch-ab b/net/dcsharp/patches/patch-ab
new file mode 100644
index 00000000000..83e9ba13ac4
--- /dev/null
+++ b/net/dcsharp/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/General/VisibleColumnsWindow.cs.orig 2008-04-24 12:24:49.000000000 +0300
++++ gtk/src/General/VisibleColumnsWindow.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -69,12 +69,12 @@
+ CellRendererToggle toggleRenderer = new CellRendererToggle();
+ toggleRenderer.Toggled += OnColumnToggled;
+ column = treeView.AppendColumn(null, toggleRenderer);
+- column.SetCellDataFunc(toggleRenderer, SetToggleColumn);
++ column.SetCellDataFunc(toggleRenderer, (Gtk.TreeCellDataFunc)SetToggleColumn);
+
+ CellRendererText textRenderer = new CellRendererText();
+ column = treeView.AppendColumn(Catalog.GetString("Name"),
+ textRenderer);
+- column.SetCellDataFunc(textRenderer, SetNameColumn);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetNameColumn);
+
+ // Model
+ store = new ListStore(typeof(TreeViewColumn));
+@@ -90,7 +90,7 @@
+
+ #region Methods
+
+- public static void ConnectToWidget(Widget widget, Action action,
++ public static void ConnectToWidget(Widget widget, Gtk.Action action,
+ TreeViewColumn[] columns, params TreeViewColumn[] inactiveColumns)
+ {
+ if (widget == null)
diff --git a/net/dcsharp/patches/patch-ac b/net/dcsharp/patches/patch-ac
new file mode 100644
index 00000000000..7138eabb6b2
--- /dev/null
+++ b/net/dcsharp/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/HubWindow.cs.orig 2008-04-24 12:12:20.000000000 +0300
++++ gtk/src/HubWindow.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -122,12 +122,12 @@
+
+ CellRendererPixbuf pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer , false);
+- column.SetCellDataFunc(pixbufRenderer, SetPixbuf);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)SetPixbuf);
+
+ CellRendererText textRenderer = new CellRendererText();
+ textRenderer.Ellipsize = Pango.EllipsizeMode.End;
+ column.PackStart(textRenderer , true);
+- column.SetCellDataFunc(textRenderer, SetName);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetName);
+
+ // Events
+ addHubButton.Clicked += OnAddHubButtonClicked;
diff --git a/net/dcsharp/patches/patch-ad b/net/dcsharp/patches/patch-ad
new file mode 100644
index 00000000000..b0ff05d95ce
--- /dev/null
+++ b/net/dcsharp/patches/patch-ad
@@ -0,0 +1,35 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/MainWindow.cs.old 2008-04-24 12:17:45.000000000 +0300
++++ gtk/src/MainWindow.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -45,11 +45,11 @@
+ private Page currentPage;
+ private ActionGroup pageActions;
+ private uint mergeId;
+- private Dictionary<MenuItem, Action> itemToAction;
++ private Dictionary<MenuItem, Gtk.Action> itemToAction;
+
+ private UIManager uim;
+ private ActionGroup actionGroup;
+- private Action closeAction;
++ private Gtk.Action closeAction;
+ private ToggleAction toolbarVisibleAction;
+ private RadioAction layoutTabsAction;
+
+@@ -85,7 +85,7 @@
+ }
+ this.favoriteHubManager = favoriteHubManager;
+
+- itemToAction = new Dictionary<MenuItem, Action>();
++ itemToAction = new Dictionary<MenuItem, Gtk.Action>();
+
+ Window.Title = Util.AppName;
+
+@@ -399,7 +399,7 @@
+
+ private void OnMenuItemSelected(object obj, EventArgs args)
+ {
+- Action action;
++ Gtk.Action action;
+ if (itemToAction.TryGetValue((MenuItem)obj, out action) &&
+ action.Tooltip != null)
+ {
diff --git a/net/dcsharp/patches/patch-ae b/net/dcsharp/patches/patch-ae
new file mode 100644
index 00000000000..a0ddc256846
--- /dev/null
+++ b/net/dcsharp/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/Page/DownloadPage.cs.old 2008-04-24 11:22:07.000000000 +0300
++++ gtk/src/Page/DownloadPage.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -36,10 +36,10 @@
+ private MessageArea messageArea;
+
+ private ActionGroup actionGroup;
+- private Action startAction;
+- private Action stopAction;
+- private Action removeAction;
+- private Action clearAction;
++ private Gtk.Action startAction;
++ private Gtk.Action stopAction;
++ private Gtk.Action removeAction;
++ private Gtk.Action clearAction;
+
+ private DownloadStore downloadStore;
+ private TreePath virtualRoot;
diff --git a/net/dcsharp/patches/patch-af b/net/dcsharp/patches/patch-af
new file mode 100644
index 00000000000..a73a18e0049
--- /dev/null
+++ b/net/dcsharp/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/Page/PageManagerTree.cs.old 2008-04-24 12:23:26.000000000 +0300
++++ gtk/src/Page/PageManagerTree.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -117,12 +117,12 @@
+
+ pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer , false);
+- column.SetCellDataFunc(pixbufRenderer, PixbufDataHandler);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)PixbufDataHandler);
+
+ textRenderer = new CellRendererText();
+ textRenderer.Ellipsize = Pango.EllipsizeMode.End;
+ column.PackStart(textRenderer , true);
+- column.SetCellDataFunc(textRenderer, TextDataHandler);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)TextDataHandler);
+
+ // Events
+ favoriteHubManager.HubsSorted += OnFavoriteHubsSorted;
diff --git a/net/dcsharp/patches/patch-ag b/net/dcsharp/patches/patch-ag
new file mode 100644
index 00000000000..d2749228ea5
--- /dev/null
+++ b/net/dcsharp/patches/patch-ag
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/Page/SearchPage.cs.old 2008-04-24 12:26:20.000000000 +0300
++++ gtk/src/Page/SearchPage.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -150,7 +150,7 @@
+ {
+ if (renderer is CellRendererText)
+ {
+- column.SetCellDataFunc(renderer, SetTextStyle);
++ column.SetCellDataFunc(renderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+ }
+ }
+ }
+@@ -468,7 +468,7 @@
+ item.Show();
+
+ // Search by TTH
+- Action searchAction = actionGroup["SearchTTH"];
++ Gtk.Action searchAction = actionGroup["SearchTTH"];
+ searchAction.Sensitive = searchButton.Sensitive && GetSelectedTTH() != null;
+ menu.Append(searchAction.CreateMenuItem());
+ }
diff --git a/net/dcsharp/patches/patch-ah b/net/dcsharp/patches/patch-ah
new file mode 100644
index 00000000000..9baaf2d382f
--- /dev/null
+++ b/net/dcsharp/patches/patch-ah
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/Page/UploadPage.cs.old 2008-04-24 11:22:21.000000000 +0300
++++ gtk/src/Page/UploadPage.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -40,9 +40,9 @@
+ private uint timeout;
+
+ private ActionGroup actionGroup;
+- private Action stopAction;
+- private Action removeAction;
+- private Action clearAction;
++ private Gtk.Action stopAction;
++ private Gtk.Action removeAction;
++ private Gtk.Action clearAction;
+
+ [Widget]
+ private ScrolledWindow scrolledWindow;
diff --git a/net/dcsharp/patches/patch-ai b/net/dcsharp/patches/patch-ai
new file mode 100644
index 00000000000..f54fa19a539
--- /dev/null
+++ b/net/dcsharp/patches/patch-ai
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/DownloadView.cs.old 2008-04-24 12:22:29.000000000 +0300
++++ gtk/src/View/DownloadView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -76,7 +76,7 @@
+ column = GetColumn("Progress");
+ progressRenderer = (CellRendererProgress)column.CellRenderers[0];
+
+- column.SetCellDataFunc(progressRenderer, SetProgressVisible);
++ column.SetCellDataFunc(progressRenderer, (Gtk.TreeCellDataFunc)SetProgressVisible);
+ }
+
+ #region Methods
diff --git a/net/dcsharp/patches/patch-aj b/net/dcsharp/patches/patch-aj
new file mode 100644
index 00000000000..b145ac9c97b
--- /dev/null
+++ b/net/dcsharp/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/FileListView.cs 2008-04-24 12:17:17.000000000 +0300
++++ gtk/src/View/FileListView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -68,7 +68,7 @@
+
+ pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer , false);
+- column.SetCellDataFunc(pixbufRenderer, SetPixbuf);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)SetPixbuf);
+
+ textRenderer = new CellRendererText();
+ column.PackStart(textRenderer , true);
diff --git a/net/dcsharp/patches/patch-ak b/net/dcsharp/patches/patch-ak
new file mode 100644
index 00000000000..dca4dc89a47
--- /dev/null
+++ b/net/dcsharp/patches/patch-ak
@@ -0,0 +1,27 @@
+$NetBSD: patch-ak,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/SearchResultView.cs.old 2008-04-24 12:20:56.000000000 +0300
++++ gtk/src/View/SearchResultView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -30,10 +30,10 @@
+ public class SearchResultView : ExtendedTreeView
+ {
+ private ActionGroup actionGroup;
+- private Action downloadAction;
+- private Action saveAsAction;
+- private Action fileListAction;
+- private Action matchQueueAction;
++ private Gtk.Action downloadAction;
++ private Gtk.Action saveAsAction;
++ private Gtk.Action fileListAction;
++ private Gtk.Action matchQueueAction;
+
+ #region Constructors
+
+@@ -86,7 +86,7 @@
+
+ pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer , false);
+- column.SetCellDataFunc(pixbufRenderer, SetPixbuf);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)SetPixbuf);
+
+ textRenderer = new CellRendererText();
+ textRenderer.Ellipsize = Pango.EllipsizeMode.End;
diff --git a/net/dcsharp/patches/patch-al b/net/dcsharp/patches/patch-al
new file mode 100644
index 00000000000..e218705e0b2
--- /dev/null
+++ b/net/dcsharp/patches/patch-al
@@ -0,0 +1,47 @@
+$NetBSD: patch-al,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/TransferView.cs.old 2008-04-24 12:18:11.000000000 +0300
++++ gtk/src/View/TransferView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -61,14 +61,14 @@
+
+ pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer, false);
+- column.SetCellDataFunc(pixbufRenderer, SetPixbuf);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)SetPixbuf);
+
+ textRenderer = new CellRendererText();
+ textRenderer.Ellipsize = Pango.EllipsizeMode.End;
+ column.PackStart(textRenderer, true);
+ column.AddAttribute(textRenderer, "text",
+ (int)TransferStoreColumn.Name);
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+
+ ExpanderColumn = column;
+
+@@ -77,7 +77,7 @@
+ column = AppendColumn(Catalog.GetString("Size"), textRenderer,
+ "text", (int)TransferStoreColumn.SizeText);
+ column.SortColumnId = (int)TransferStoreColumn.Size;
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+
+ // Status
+ textRenderer = new CellRendererText();
+@@ -85,7 +85,7 @@
+ column = AppendColumn(Catalog.GetString("Status"), textRenderer);
+ column.Resizable = true;
+ column.MinWidth = 100;
+- column.SetCellDataFunc(textRenderer, SetStatusText);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetStatusText);
+
+ // Progress
+ progressRenderer = new CellRendererProgress();
+@@ -102,7 +102,7 @@
+ column = AppendColumn(Catalog.GetString("Time Left"), textRenderer,
+ "text", (int)TransferStoreColumn.TimeLeft);
+ column.SortColumnId = (int)TransferStoreColumn.TimeLeft;
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+ }
+
+ #region Methods
diff --git a/net/dcsharp/patches/patch-am b/net/dcsharp/patches/patch-am
new file mode 100644
index 00000000000..b8b152926b7
--- /dev/null
+++ b/net/dcsharp/patches/patch-am
@@ -0,0 +1,30 @@
+$NetBSD: patch-am,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/UploadView.cs.old 2008-04-24 12:15:50.000000000 +0300
++++ gtk/src/View/UploadView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -39,7 +39,7 @@
+ "text", (int)UploadStore.Column.Started);
+ column = GetColumn(0);
+ column.SortColumnId = (int)UploadStore.Column.Started;
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+
+ // Directory
+ textRenderer = new CellRendererText();
+@@ -50,7 +50,7 @@
+ column.Expand = true;
+ column.Resizable = true;
+ column.SortColumnId = (int)TransferStoreColumn.Directory;
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+
+ // User
+ textRenderer = new CellRendererText();
+@@ -59,7 +59,7 @@
+ column = GetColumn(3);
+ column.Resizable = true;
+ column.SortColumnId = (int)UploadStore.Column.User;
+- column.SetCellDataFunc(textRenderer, SetTextStyle);
++ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetTextStyle);
+ }
+
+ #region Methods
diff --git a/net/dcsharp/patches/patch-an b/net/dcsharp/patches/patch-an
new file mode 100644
index 00000000000..3e4f47fb93e
--- /dev/null
+++ b/net/dcsharp/patches/patch-an
@@ -0,0 +1,25 @@
+$NetBSD: patch-an,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/src/View/UserView.cs.old 2008-04-24 12:21:54.000000000 +0300
++++ gtk/src/View/UserView.cs 2007-10-26 12:11:04.000000000 +0300
+@@ -68,7 +68,7 @@
+
+ pixbufRenderer = new CellRendererPixbuf();
+ column.PackStart(pixbufRenderer , false);
+- column.SetCellDataFunc(pixbufRenderer, RenderUserPixbuf);
++ column.SetCellDataFunc(pixbufRenderer, (Gtk.TreeCellDataFunc)RenderUserPixbuf);
+
+ textRenderer = new CellRendererText();
+ textRenderer.Ellipsize = Pango.EllipsizeMode.End;
+@@ -140,9 +140,9 @@
+
+ protected override void OnPopulatePopup(Menu menu)
+ {
+- Action fileListAction = actionGroup["FileList"];
+- Action messageAction = actionGroup["PrivateMessage"];
+- Action infoAction = actionGroup["Information"];
++ Gtk.Action fileListAction = actionGroup["FileList"];
++ Gtk.Action messageAction = actionGroup["PrivateMessage"];
++ Gtk.Action infoAction = actionGroup["Information"];
+
+ TreeIter iter;
+ if (Selection.GetSelected(out iter))
diff --git a/net/dcsharp/patches/patch-ao b/net/dcsharp/patches/patch-ao
new file mode 100644
index 00000000000..6beaec9c821
--- /dev/null
+++ b/net/dcsharp/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- gtk/SConscript.orig 2008-04-25 09:23:52.000000000 +0300
++++ gtk/SConscript 2008-04-25 09:25:00.000000000 +0300
+@@ -100,8 +100,8 @@
+
+ env.Alias("install", env.InstallProgram(lib_dir, '#bin/DCSharp.exe'))
+ env.Alias("install", env.InstallData(lib_dir, '#bin/DCSharp.exe.config'))
+-env.Alias("install", env.InstallLibrary(lib_dir, '#lib/NDesk.DBus.dll'))
+-env.Alias("install", env.InstallLibrary(lib_dir, '#lib/NDesk.DBus.GLib.dll'))
+-env.Alias("install", env.InstallData(lib_dir, '#lib/NDesk.DBus.GLib.dll.config'))
++# env.Alias("install", env.InstallLibrary(lib_dir, '#lib/NDesk.DBus.dll'))
++# env.Alias("install", env.InstallLibrary(lib_dir, '#lib/NDesk.DBus.GLib.dll'))
++# env.Alias("install", env.InstallData(lib_dir, '#lib/NDesk.DBus.GLib.dll.config'))
+
+ SConscript('po/SConscript')
diff --git a/net/dcsharp/patches/patch-ap b/net/dcsharp/patches/patch-ap
new file mode 100644
index 00000000000..bd66bac184d
--- /dev/null
+++ b/net/dcsharp/patches/patch-ap
@@ -0,0 +1,9 @@
+$NetBSD: patch-ap,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
+--- bin/dcsharp.in.orig 2008-04-25 18:58:52.000000000 +0300
++++ bin/dcsharp.in 2008-04-25 18:59:11.000000000 +0300
+@@ -7,4 +7,4 @@
+ export MONO_PATH="$MONO_PATH:$LIB_DIR/dcsharp"
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_DIR/dcsharp"
+
+-exec mono "$LIB_DIR/dcsharp/DCSharp.exe" "$@"
++exec dbus-launch mono "$LIB_DIR/dcsharp/DCSharp.exe" "$@"