pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dcsharp Initial import of dcsharp-0.11.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c60998d89aa
branches:  trunk
changeset: 541755:0c60998d89aa
user:      kefren <kefren%pkgsrc.org@localhost>
date:      Fri Apr 25 16:10:27 2008 +0000

description:
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.

diffstat:

 net/dcsharp/DESCR            |  13 ++++++++++++
 net/dcsharp/Makefile         |  31 +++++++++++++++++++++++++++++
 net/dcsharp/PLIST            |  14 +++++++++++++
 net/dcsharp/distinfo         |  21 +++++++++++++++++++
 net/dcsharp/patches/patch-aa |  21 +++++++++++++++++++
 net/dcsharp/patches/patch-ab |  27 +++++++++++++++++++++++++
 net/dcsharp/patches/patch-ac |  18 ++++++++++++++++
 net/dcsharp/patches/patch-ad |  35 ++++++++++++++++++++++++++++++++
 net/dcsharp/patches/patch-ae |  18 ++++++++++++++++
 net/dcsharp/patches/patch-af |  18 ++++++++++++++++
 net/dcsharp/patches/patch-ag |  21 +++++++++++++++++++
 net/dcsharp/patches/patch-ah |  16 ++++++++++++++
 net/dcsharp/patches/patch-ai |  12 +++++++++++
 net/dcsharp/patches/patch-aj |  12 +++++++++++
 net/dcsharp/patches/patch-ak |  27 +++++++++++++++++++++++++
 net/dcsharp/patches/patch-al |  47 ++++++++++++++++++++++++++++++++++++++++++++
 net/dcsharp/patches/patch-am |  30 ++++++++++++++++++++++++++++
 net/dcsharp/patches/patch-an |  25 +++++++++++++++++++++++
 net/dcsharp/patches/patch-ao |  15 ++++++++++++++
 net/dcsharp/patches/patch-ap |   9 ++++++++
 20 files changed, 430 insertions(+), 0 deletions(-)

diffs (truncated from 510 to 300 lines):

diff -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/DESCR Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/Makefile      Fri Apr 25 16:10:27 2008 +0000
@@ -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@localhost
+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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/PLIST Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/distinfo      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-aa      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ab      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ac      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ad      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ae      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-af      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ag      Fri Apr 25 16:10:27 2008 +0000
@@ -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 -r 1fb3d2bc56fb -r 0c60998d89aa net/dcsharp/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dcsharp/patches/patch-ah      Fri Apr 25 16:10:27 2008 +0000
@@ -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]



Home | Main Index | Thread Index | Old Index