Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

13
net/dcsharp/DESCR Normal file
View File

@@ -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

34
net/dcsharp/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.38 2013/06/17 12:44:54 wiz Exp $
DISTNAME= dcsharp-0.11.1
PKGREVISION= 34
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 msgfmt
USE_LANGUAGES= c++
NO_CONFIGURE= yes
BUILD_DEPENDS+= scons>=0.96.1:../../devel/scons
DEPENDS+= notification-daemon>=0.3.7:../../sysutils/notification-daemon
INSTALLATION_DIRS+= bin lib share
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${DESTDIR}${PREFIX} install
.include "../../lang/mono2/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"

13
net/dcsharp/PLIST Normal file
View File

@@ -0,0 +1,13 @@
@comment $NetBSD: PLIST,v 1.3 2009/01/06 18:55:58 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
share/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

21
net/dcsharp/distinfo Normal file
View File

@@ -0,0 +1,21 @@
$NetBSD: distinfo,v 1.2 2009/01/06 18:54:51 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) = 81c4152a1dc33bdc373fa85626407383987b2ae3
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

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aa,v 1.2 2009/01/06 18:54:51 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/share'));
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))

View File

@@ -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)

View File

@@ -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;

View File

@@ -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)
{

View File

@@ -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;

View File

@@ -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;

View File

@@ -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());
}

View File

@@ -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;

View File

@@ -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

View File

@@ -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);

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -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))

View File

@@ -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')

View File

@@ -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" "$@"