summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2002-09-30 16:35:18 +0000
committerwiz <wiz>2002-09-30 16:35:18 +0000
commit2b946e0cd78709eb8c9a8eca0c1a2c24dfe832b0 (patch)
tree202494129f0359f25c3bf951dc7fd66799e8d3be /net
parent4d1865ecf83bf3e94f95ea996a9216de85641ca2 (diff)
downloadpkgsrc-2b946e0cd78709eb8c9a8eca0c1a2c24dfe832b0.tar.gz
Update to 0.62.
- fix a bug in GDL ctree which crashs dc_gui. Bug fixed by Raphael Scott. - new button added to start a dummy client (requires DCTC 0.83.5). - command line option added: -s. This command temporarily disables the autostart of clients which can be useful when an invalid hub has this flag set. - command line option added: -h. This flag requires a parameter, a hub address and port. When this option is given, the GUI will automatically start a new DCTC connected to the given hub address. When this option is given, you must also give the option -p (see below). - command line option added: -u. This flag requires a parameter, a dchub:// URL When this option is given, the GUI will automatically start a new DCTC connected to the given hub address. When this option is given, you must also give the option -p (see below). - command line option added: -p. This flag requires a parameter, the name of an existing profile to use. This option is needed for both -h and -u. - command line option added: -e. When this flag is specified, the program ends immediatly before displaying any window. This flag is useful with both -h and -u to avoid to have as many GUI as DCTC client. Also, de-internationalize a bit more.
Diffstat (limited to 'net')
-rw-r--r--net/dc_gui/Makefile4
-rw-r--r--net/dc_gui/PLIST7
-rw-r--r--net/dc_gui/distinfo8
-rw-r--r--net/dc_gui/patches/patch-ad56
4 files changed, 67 insertions, 8 deletions
diff --git a/net/dc_gui/Makefile b/net/dc_gui/Makefile
index 5c720d92e98..7d713378475 100644
--- a/net/dc_gui/Makefile
+++ b/net/dc_gui/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2002/09/23 11:48:29 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/30 16:35:18 wiz Exp $
#
-DISTNAME= dc_gui-0.61
+DISTNAME= dc_gui-0.62
CATEGORIES= net
MASTER_SITES= http://www.ac2i.tzo.com/dctc/
diff --git a/net/dc_gui/PLIST b/net/dc_gui/PLIST
index c0c5ae0d52a..7dbc1f4cd95 100644
--- a/net/dc_gui/PLIST
+++ b/net/dc_gui/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/11 20:47:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/09/30 16:35:18 wiz Exp $
bin/dc_gui
share/gnome/help/dc_gui/C/index.html
share/gnome/help/dc_gui/C/topic.dat
@@ -10,6 +10,11 @@ ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/dc_gui.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/dc_gui.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/dc_gui.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/dc_gui.mo
+share/pixmaps/dc_gui/icon_kill.xpm
+share/pixmaps/dc_gui/icon_refresh.xpm
+share/pixmaps/dc_gui/icon_remove_selected.xpm
+@dirrm share/pixmaps/dc_gui
+@unexec ${RMDIR} %D/share/pixmaps 2> /dev/null || ${TRUE}
@dirrm share/gnome/help/dc_gui/nl/images
@dirrm share/gnome/help/dc_gui/nl
@dirrm share/gnome/help/dc_gui/es/images
diff --git a/net/dc_gui/distinfo b/net/dc_gui/distinfo
index dc35516b59e..7d45c6d7424 100644
--- a/net/dc_gui/distinfo
+++ b/net/dc_gui/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.2 2002/09/23 11:48:29 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/09/30 16:35:18 wiz Exp $
-SHA1 (dc_gui-0.61.tar.gz) = fb8ad7e19d1139bc45804934f71328a465cdc14b
-Size (dc_gui-0.61.tar.gz) = 437997 bytes
+SHA1 (dc_gui-0.62.tar.gz) = 694d927ba1bbeb1c477560a144e7b23a77d5ba94
+Size (dc_gui-0.62.tar.gz) = 441860 bytes
SHA1 (patch-aa) = 99881d4f57e646aba7a5f03aa45939e776921f71
SHA1 (patch-ab) = acda6d89cc60414ebe69b239d357958e94e31de8
SHA1 (patch-ac) = bd200cd1a02b23bd08a139c068659f2723e6c874
-SHA1 (patch-ad) = c1bdd133e93e878537ceb3ceee61911700a0c8ee
+SHA1 (patch-ad) = 2ecdb4b6203b4d10b25dddc13fd04b0e0ed8ed41
SHA1 (patch-ae) = f2e9fe445efea23fe52f27ff14d5dcc5c0775af0
SHA1 (patch-af) = 9d6c0f96b5772e2eda691d7dedae539eafdbb24b
SHA1 (patch-ag) = f674203f9c05c9f3c99f9dc0e933c26df5e82e1b
diff --git a/net/dc_gui/patches/patch-ad b/net/dc_gui/patches/patch-ad
index 380b5749525..4c8419703ff 100644
--- a/net/dc_gui/patches/patch-ad
+++ b/net/dc_gui/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.2 2002/09/23 11:48:29 wiz Exp $
+$NetBSD: patch-ad,v 1.3 2002/09/30 16:35:19 wiz Exp $
--- src/dctc_process.c.orig Sat Sep 21 17:27:49 2002
+++ src/dctc_process.c
@@ -23,6 +23,51 @@ $NetBSD: patch-ad,v 1.2 2002/09/23 11:48:29 wiz Exp $
else if(vsize>(1024.0*1024.0))
g_string_sprintf(fsize,"%.2fMB",vsize/(1024.0*1024.0));
else if(vsize>(1024.0))
+@@ -1143,7 +1143,7 @@ static void srest_fnc(const GString *s)
+ gchar *nw[6];
+
+ sscanf(size,"%lu",&fsize);
+- sprintf(buf_size,"%'lu",fsize);
++ sprintf(buf_size,"%lu",fsize);
+
+ sscanf(dl_ratio,"%u/%u",&free_slot,&ttl_slot);
+
+@@ -3105,7 +3105,7 @@ static void recursive_insert_new_user_cl
+
+ nw[UFLC_TREE_COL]=new_leaf->c.file.filename+cur_string_pos;
+ nw[UFLC_SIZE_COL]=bf;
+- sprintf(bf,"%'lu",new_leaf->c.file.file_size);
++ sprintf(bf,"%lu",new_leaf->c.file.file_size);
+
+ leaf_node=gtk_ctree_insert_node(ctree,*last_inserted_node,NULL,nw,5,NULL,NULL,NULL,NULL,TRUE,TRUE); /* it is a leaf */
+ gtk_ctree_node_set_row_data_full(ctree,leaf_node, new_leaf, (void*)free_user_file_cl_entry);
+@@ -3915,7 +3915,7 @@ void second_level_glst_end_fnc(GtkCTree
+ gtk_ctree_node_set_text(ctree,cnode,2,strv[i]+temp_str_len);
+ #else
+ char buf_size[64];
+- sprintf(buf_size,"%'lu",cur_size);
++ sprintf(buf_size,"%lu",cur_size);
+ gtk_ctree_node_set_text(ctree,cnode,2,buf_size);
+ #endif
+ gce->c.active_segment.remote_file_size=cur_size;
+@@ -4008,7 +4008,7 @@ static void second_level_add_newly_creat
+ unsigned long cur_size;
+
+ cur_size=strtoul(f4[2],NULL,10);
+- sprintf(buf_size,"%'lu",cur_size);
++ sprintf(buf_size,"%lu",cur_size);
+
+ ent_array[0]=f4[0];
+ ent_array[1]=f4[1];
+@@ -4054,7 +4054,7 @@ static void second_level_add_newly_creat
+ char out_range[512];
+ unsigned long lower, upper;
+ sscanf(f2[1],"[%lu;%lu]",&lower,&upper);
+- sprintf(out_range,"[%'lu : %'lu]",lower,upper);
++ sprintf(out_range,"[%lu : %lu]",lower,upper);
+
+ ent_array[0]="";
+ ent_array[1]=f2[0];
@@ -4168,7 +4168,7 @@ static void first_level_glst_end_fnc(Gtk
missing_bytes=gce_root->c.root.gdl_size-gce_root->c.root.received_bytes;
@@ -46,3 +91,12 @@ $NetBSD: patch-ad,v 1.2 2002/09/23 11:48:29 wiz Exp $
}
/* Estimated Time to Arrival computation: now (in second) + missing_bytes/spd */
+@@ -4263,7 +4263,7 @@ void glst_end_fnc(const GString *in)
+ unsigned long size_gdl=strtoul(k[2],NULL,10);
+
+ /* remove an entry with the same gdl_id */
+- sprintf(buf_size,"%'lu",size_gdl);
++ sprintf(buf_size,"%lu",size_gdl);
+
+ /* add a new entry in the root list */
+ gce=new_gdl_ct_entry_as_root( strtoul(k[0],NULL,10),