- update dc_gui to a gtk2 version 0.80
- fix license marker - install .desktop file - re-format DESCR feedback and ok ajacoutot@
This commit is contained in:
parent
267981508a
commit
05cff3223d
@ -1,31 +1,50 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2007/09/15 22:36:52 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2008/08/25 15:15:53 jasper Exp $
|
||||
|
||||
COMMENT= GUI for dctc (Direct Connect Text Clone)
|
||||
|
||||
DISTNAME= dc_gui-0.42
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
V= 0.80
|
||||
DISTNAME= dc_gui2-$V
|
||||
PKGNAME= dc_gui-$V
|
||||
CATEGORIES= net x11
|
||||
HOMEPAGE= http://ac2i.homelinux.com/dctc/
|
||||
|
||||
# GPL
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= ICE SM X11 Xext Xi audiofile c esd gdk gdk_imlib \
|
||||
glib gmodule gtk iconv intl jpeg m png tiff ungif z
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
LIB_DEPENDS= gnome.>=36,art_lgpl.>=4,gnomesupport,gnomeui.>=46::x11/gnome/libs
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= :dctc-*:net/dctc
|
||||
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
|
||||
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
||||
Xrender art_lgpl_2 atk-1.0 audiofile bonobo-2 bonobo-activation \
|
||||
bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 esd expat \
|
||||
fontconfig freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 \
|
||||
gio-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
|
||||
gnomecanvas-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
|
||||
idn jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre \
|
||||
pixman-1 png popt pthread ssl util xml2 z
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
BUILD_DEPENDS= :dctc->=0.85.9:net/dctc
|
||||
RUN_DEPENDS= ::devel/desktop-file-utils \
|
||||
:dctc->=0.85.9:net/dctc \
|
||||
::x11/gnome/yelp
|
||||
LIB_DEPENDS= db:db-4.*:databases/db/v4 \
|
||||
curl::net/curl \
|
||||
gnomeui-2::x11/gnome/libgnomeui
|
||||
|
||||
USE_X11= Yes
|
||||
SEPARATE_BUILD= simple
|
||||
AUTOCONF_VERSION= 2.13
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
AUTOCONF_VERSION= 2.57
|
||||
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/db4 \
|
||||
-I${WRKSRC}/dc_gui2_com_channel/src/" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (dc_gui-0.42.tar.gz) = JxWVrQQpvSSxGAqX/QJ30g==
|
||||
RMD160 (dc_gui-0.42.tar.gz) = xeTwz3x2RN7ersN1YUJjUkMKyWo=
|
||||
SHA1 (dc_gui-0.42.tar.gz) = evIxeIZCkqTt6ju5//Xs/UpY14Q=
|
||||
SHA256 (dc_gui-0.42.tar.gz) = iYRonhp8lt1f/tCa1lGuiTo9oEbKQHZr7PCT3kweuiA=
|
||||
SIZE (dc_gui-0.42.tar.gz) = 250229
|
||||
MD5 (dc_gui2-0.80.tar.gz) = PM3CeW86uOc9BAXEr8zyKw==
|
||||
RMD160 (dc_gui2-0.80.tar.gz) = s9tpwwt1B7GDoC9c6chHzH+g35I=
|
||||
SHA1 (dc_gui2-0.80.tar.gz) = B15RISegq2plKVqpidH0gYdXWng=
|
||||
SHA256 (dc_gui2-0.80.tar.gz) = bgwRZIDzCuyBzgCA8kSGaIYl3665bjlr+c+qnIZMgyw=
|
||||
SIZE (dc_gui2-0.80.tar.gz) = 1340777
|
||||
|
@ -1,13 +1,13 @@
|
||||
$OpenBSD: patch-config_h_in,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- config.h.in.orig Mon Jan 28 12:38:58 2002
|
||||
+++ config.h.in Mon Jan 28 12:39:50 2002
|
||||
@@ -152,6 +152,9 @@
|
||||
/* Define if you have the <X11/SM/SMlib.h> header file. */
|
||||
#undef HAVE_X11_SM_SMLIB_H
|
||||
$OpenBSD: patch-config_h_in,v 1.2 2008/08/25 15:15:53 jasper Exp $
|
||||
--- config.h.in.orig Sat Jan 24 07:41:43 2004
|
||||
+++ config.h.in Sat Aug 23 18:32:15 2008
|
||||
@@ -31,6 +31,9 @@
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
+/* Define if you have the <linux/sem.h> header file. */
|
||||
+/* Define to 1 if you have the <linux/sem.h> header file. */
|
||||
+#undef HAVE_LINUX_SEM_H
|
||||
+
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- configure.in.orig Sun Jan 20 07:52:02 2002
|
||||
+++ configure.in Fri Feb 1 02:31:27 2002
|
||||
@@ -27,6 +27,9 @@ else
|
||||
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale")
|
||||
$OpenBSD: patch-configure_in,v 1.2 2008/08/25 15:15:53 jasper Exp $
|
||||
--- configure.in.orig Thu Aug 21 16:16:14 2008
|
||||
+++ configure.in Thu Aug 21 16:16:32 2008
|
||||
@@ -44,6 +44,9 @@ if test $valid_gtk_version -eq 0; then
|
||||
fi
|
||||
AC_MSG_RESULT(recent enough)
|
||||
|
||||
+dnl check for headers
|
||||
+AC_CHECK_HEADERS(linux/sem.h)
|
||||
|
25
net/dc_gui/patches/patch-dc_gui2_stat_src_init_fnc_c
Normal file
25
net/dc_gui/patches/patch-dc_gui2_stat_src_init_fnc_c
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-dc_gui2_stat_src_init_fnc_c,v 1.1 2008/08/25 15:15:53 jasper Exp $
|
||||
--- dc_gui2_stat/src/init_fnc.c.orig Sat Aug 23 18:55:07 2008
|
||||
+++ dc_gui2_stat/src/init_fnc.c Sat Aug 23 18:55:29 2008
|
||||
@@ -35,7 +35,9 @@ $Id: init_fnc.c,v 1.1 2003/12/26 14:31:52 uid68112 Exp
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
-#include <linux/sem.h> /* for the value of SEMVMX */
|
||||
+#ifdef HAVE_LINUX_SEM_H
|
||||
+# include <linux/sem.h> /* for the value of SEMVMX */
|
||||
+#endif
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@@ -48,6 +50,10 @@ $Id: init_fnc.c,v 1.1 2003/12/26 14:31:52 uid68112 Exp
|
||||
#include "gui_define.h"
|
||||
#include "done_clist.h"
|
||||
#include "callbacks.h"
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+# define SEMVMX 32767
|
||||
+#endif
|
||||
|
||||
/**************************************************************************************/
|
||||
/* search in the given treemodel, in the given column a string matching the given one */
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-intl_Makefile_in,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- intl/Makefile.in.orig Fri Feb 1 02:31:44 2002
|
||||
+++ intl/Makefile.in Fri Feb 1 02:32:13 2002
|
||||
@@ -202,12 +202,12 @@ Makefile: Makefile.in ../config.status
|
||||
# The dependency for intlh.inst is different in gettext and all other
|
||||
# packages. Because we cannot you GNU make features we have to solve
|
||||
# the problem while rewriting Makefile.in.
|
||||
-@GT_YES@intlh.inst: intlh.inst.in ../config.status
|
||||
-@GT_YES@ cd .. \
|
||||
-@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
|
||||
-@GT_YES@ $(SHELL) ./config.status
|
||||
-@GT_NO@.PHONY: intlh.inst
|
||||
-@GT_NO@intlh.inst:
|
||||
+#intlh.inst: intlh.inst.in ../config.status
|
||||
+# cd .. \
|
||||
+# && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
|
||||
+# $(SHELL) ./config.status
|
||||
+.PHONY: intlh.inst
|
||||
+intlh.inst:
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -1,58 +0,0 @@
|
||||
$OpenBSD: patch-po_Makefile_in_in,v 1.1 2002/04/08 20:03:42 naddy Exp $
|
||||
--- po/Makefile.in.in.orig Sun Sep 2 08:58:14 2001
|
||||
+++ po/Makefile.in.in Mon Apr 8 21:27:56 2002
|
||||
@@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
@@ -123,7 +123,7 @@ install-data-yes: all
|
||||
*) destdir=$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
else \
|
||||
@@ -153,12 +153,12 @@ install-data-yes: all
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
- $(gettextsrcdir)/Makefile.in.in; \
|
||||
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
@@ -171,12 +171,12 @@ uninstall:
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
17
net/dc_gui/patches/patch-src_bdb_c
Normal file
17
net/dc_gui/patches/patch-src_bdb_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_bdb_c,v 1.1 2008/08/25 15:15:53 jasper Exp $
|
||||
--- src/bdb.c.orig Fri Dec 26 15:35:04 2003
|
||||
+++ src/bdb.c Sun Aug 24 11:53:38 2008
|
||||
@@ -173,11 +173,9 @@ void do_berkeley_init(void)
|
||||
while(db_list[i].db_name!=NULL)
|
||||
{
|
||||
db_create(db_list[i].ptr,dbenv,0);
|
||||
-#ifndef BDB_V4
|
||||
- rt=(*(db_list[i].ptr))->open(*(db_list[i].ptr),db_list[i].db_name,NULL,db_list[i].db_type,DB_CREATE|DB_THREAD,0666);
|
||||
-#else
|
||||
+
|
||||
rt=(*(db_list[i].ptr))->open(*(db_list[i].ptr),NULL,db_list[i].db_name,NULL,db_list[i].db_type,DB_CREATE|DB_THREAD,0666);
|
||||
-#endif
|
||||
+
|
||||
if(rt!=0)
|
||||
{
|
||||
dbenv->err(dbenv,rt,"db_appinit, dbopen %s/%s fails",t,db_list[i].db_name);
|
@ -1,28 +1,25 @@
|
||||
$OpenBSD: patch-src_callbacks_c,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- src/callbacks.c.orig Mon Jan 28 12:49:50 2002
|
||||
+++ src/callbacks.c Mon Jan 28 12:49:58 2002
|
||||
@@ -9,9 +9,12 @@
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
$OpenBSD: patch-src_callbacks_c,v 1.2 2008/08/25 15:15:53 jasper Exp $
|
||||
--- src/callbacks.c.orig Thu Aug 21 16:19:13 2008
|
||||
+++ src/callbacks.c Thu Aug 21 16:19:38 2008
|
||||
@@ -30,7 +30,9 @@ $Id: callbacks.c,v 1.65 2004/01/21 15:57:32 ericprev E
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <math.h>
|
||||
-#include <linux/sem.h>
|
||||
#include <gnome.h>
|
||||
|
||||
+#ifdef HAVE_LINUX_SEM_H
|
||||
+# include <linux/sem.h> /* for the value of SEMVMX */
|
||||
+#endif
|
||||
+
|
||||
#include "callbacks.h"
|
||||
#include "interface.h"
|
||||
#include "support.h"
|
||||
@@ -22,6 +25,10 @@
|
||||
#include "do_connect.h"
|
||||
#include "dctc_process.h"
|
||||
#include "gui_define.h"
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <dirent.h>
|
||||
@@ -74,6 +76,10 @@ $Id: callbacks.c,v 1.65 2004/01/21 15:57:32 ericprev E
|
||||
#include "notes_buffer.h"
|
||||
#include "global_user.h"
|
||||
#include "manage_chat.h"
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+# define SEMVMX 32767
|
||||
+#endif
|
||||
|
||||
static void start_download_from_clist(char *clist_name, int nick_col, int filename_col, int localfname_col);
|
||||
|
||||
static void build_start_dl_popup(int from_panel);
|
||||
void on_load_selected_share_lists_button_clicked (GtkButton *button, gpointer user_data);
|
||||
|
@ -1,67 +1,50 @@
|
||||
$OpenBSD: patch-src_do_connect_c,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- src/do_connect.c.orig Mon Jan 28 12:31:11 2002
|
||||
+++ src/do_connect.c Mon Jan 28 12:35:39 2002
|
||||
@@ -395,9 +395,11 @@ void start_a_new_dctc(char *hub_address)
|
||||
/* argv[0] */
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"dctc"));
|
||||
$OpenBSD: patch-src_do_connect_c,v 1.2 2008/08/25 15:15:53 jasper Exp $
|
||||
--- src/do_connect.c.orig Thu Aug 21 16:19:57 2008
|
||||
+++ src/do_connect.c Thu Aug 21 16:26:32 2008
|
||||
@@ -662,8 +662,10 @@ void start_a_new_dctc(const char *hub_address, int no_
|
||||
/* argv[0] */
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"dctc"));
|
||||
|
||||
+#ifndef __OpenBSD__
|
||||
/* argv[1] */
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"dctc"));
|
||||
-
|
||||
/* argv[1] */
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"dctc"));
|
||||
+#endif
|
||||
+
|
||||
add_cmd_line_opt(cmd_line,&sc,"nickname_entry","-n");
|
||||
add_cmd_line_opt(cmd_line,&sc,"user_description_entry","-i");
|
||||
add_cmd_line_opt(cmd_line,&sc,"cnx_type_entry","-c");
|
||||
@@ -533,11 +535,11 @@ void start_a_new_dctc(char *hub_address)
|
||||
/* -5 [if GTK_RADIO_BUTTON(md5sum_computation_checkbutton) is set] */
|
||||
add_cmd_line_opt_radio(cmd_line, &sc,"md5sum_computation_checkbutton", NULL,NULL,"-5",NULL);
|
||||
|
||||
- /* --precmd "/FOLLOWFORCE" or --precmd "/UNFOLLOWFORCE" */
|
||||
- add_cmd_line_opt_radio(cmd_line, &sc,"follow_forcemove_checkbutton", "--precmd","/FOLLOWFORCE","--precmd","/UNFOLLOWFORCE");
|
||||
+ /* -b "/FOLLOWFORCE" or -b "/UNFOLLOWFORCE" */
|
||||
+ add_cmd_line_opt_radio(cmd_line, &sc,"follow_forcemove_checkbutton", "-b","/FOLLOWFORCE","-b","/UNFOLLOWFORCE");
|
||||
|
||||
- /* --precmd "/DDL" or --precmd "/NODDL" */
|
||||
- add_cmd_line_opt_radio(cmd_line, &sc,"ddl_checkbutton", "--precmd","/DDL","--precmd","/NODDL");
|
||||
+ /* -b "/DDL" or -b "/NODDL" */
|
||||
+ add_cmd_line_opt_radio(cmd_line, &sc,"ddl_checkbutton", "-b","/DDL","-b","/NODDL");
|
||||
|
||||
/* -v VERSION [if GTK_RADIO_BUTTON(override_version_check_button) is set and version_number_entry is not empty */
|
||||
{
|
||||
@@ -569,7 +571,7 @@ void start_a_new_dctc(char *hub_address)
|
||||
add_prof_cmd_line_opt(profile_to_use,cmd_line,&sc,"nickname_entry_ent_cnt","-n");
|
||||
add_prof_cmd_line_opt(profile_to_use,cmd_line,&sc,"user_description_entry_ent_cnt","-i");
|
||||
@@ -850,8 +852,8 @@ void start_a_new_dctc(const char *hub_address, int no_
|
||||
} tbl_opt_radio[]={ {"passive_mode_radio_button_toggle_val", "-f",NULL,NULL,NULL},
|
||||
{"enable_upload_checkbutton_toggle_val", NULL,NULL,"-x",NULL},
|
||||
{"use_done_dir_checkbutton_toggle_val", "-w",NULL,NULL,NULL},
|
||||
- {"follow_forcemove_checkbutton_toggle_val", "--precmd","/FOLLOWFORCE","--precmd","/UNFOLLOWFORCE"},
|
||||
- {"ddl_checkbutton_toggle_val", "--precmd","/DDL","--precmd","/NODDL"},
|
||||
+ {"follow_forcemove_checkbutton_toggle_val", "-b","/FOLLOWFORCE","-b","/UNFOLLOWFORCE"},
|
||||
+ {"ddl_checkbutton_toggle_val", "-b","/DDL","-b","/NODDL"},
|
||||
{"away_togglebutton_toggle_val", "--precmd","/AWAY","--precmd","/HERE"},
|
||||
{"grabip_checkbutton_toggle_val", "--precmd","/GBANIP","--precmd","/NOGBANIP"},
|
||||
{"abort_upload_checkbutton_toggle_val", "--precmd","/ABORTLEAVED","--precmd","/NOABORTLEAVED"},
|
||||
@@ -941,20 +943,20 @@ void start_a_new_dctc(const char *hub_address, int no_
|
||||
g_string_free(xbl_string,TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
- /* --precmd "/RECOND xxx" */
|
||||
+ /* -b "/RECOND xxx" */
|
||||
{
|
||||
GtkWidget *w;
|
||||
w=get_widget_by_widget_name("reconnect_delay_scale");
|
||||
@@ -579,14 +581,14 @@ void start_a_new_dctc(char *hub_address)
|
||||
- /* --precmd "/RECOND xxx" */
|
||||
+ /* -b "/RECOND xxx" */
|
||||
{
|
||||
char bf[512];
|
||||
|
||||
|
||||
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"--precmd"));
|
||||
+ g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-b"));
|
||||
|
||||
sprintf(bf,"/RECOND %u",(unsigned int)gtk_range_get_adjustment(GTK_RANGE(w))->value);
|
||||
sprintf(bf,"/RECOND %u",(unsigned int)get_profile_int_entry(profile_to_use,"reconnect_delay_scale_scale_val"));
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
|
||||
}
|
||||
}
|
||||
|
||||
- /* --precmd "/REBUILD xxx" */
|
||||
+ /* -b "/REBUILD xxx" */
|
||||
{
|
||||
GtkWidget *w;
|
||||
w=get_widget_by_widget_name("rebuild_delay_scale");
|
||||
@@ -596,7 +598,7 @@ void start_a_new_dctc(char *hub_address)
|
||||
- /* --precmd "/REBUILD xxx" */
|
||||
+ /* -b "/REBUILD xxx" */
|
||||
{
|
||||
char bf[512];
|
||||
|
||||
|
||||
- g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"--precmd"));
|
||||
+ g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,"-b"));
|
||||
|
||||
sprintf(bf,"/REBUILD %u",60*(unsigned int)gtk_range_get_adjustment(GTK_RANGE(w))->value);
|
||||
sprintf(bf,"/REBUILD %u",60*(unsigned int)get_profile_int_entry(profile_to_use,"rebuild_delay_scale_scale_val"));
|
||||
g_ptr_array_add(cmd_line,g_string_chunk_insert(sc,bf));
|
||||
}
|
||||
|
@ -1,27 +1,25 @@
|
||||
$OpenBSD: patch-src_init_fnc_c,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- src/init_fnc.c.orig Mon Jan 28 12:40:19 2002
|
||||
+++ src/init_fnc.c Mon Jan 28 12:42:26 2002
|
||||
@@ -7,7 +7,11 @@
|
||||
#include <math.h>
|
||||
$OpenBSD: patch-src_init_fnc_c,v 1.2 2008/08/25 15:15:53 jasper Exp $
|
||||
--- src/init_fnc.c.orig Thu Aug 21 16:18:21 2008
|
||||
+++ src/init_fnc.c Thu Aug 21 16:19:02 2008
|
||||
@@ -35,7 +35,9 @@ $Id: init_fnc.c,v 1.13 2003/12/30 09:00:18 ericprev Ex
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
-#include <linux/sem.h> /* for the value of SEMVMX */
|
||||
+
|
||||
+#ifdef HAVE_LINUX_SEM_H
|
||||
+# include <linux/sem.h> /* for the value of SEMVMX */
|
||||
+#endif
|
||||
+
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include <gnome.h>
|
||||
@@ -17,6 +21,10 @@
|
||||
#include "main.h"
|
||||
#include "do_connect.h"
|
||||
#include "dctc_process.h"
|
||||
#include <errno.h>
|
||||
@@ -59,6 +61,10 @@ $Id: init_fnc.c,v 1.13 2003/12/30 09:00:18 ericprev Ex
|
||||
#include "custom_hublist_tree.h"
|
||||
#include "callbacks.h"
|
||||
#include "global_user.h"
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+# define SEMVMX 32767
|
||||
+#endif
|
||||
|
||||
GtkStyle *fast_style=NULL; /* style for fast user */
|
||||
|
||||
/**************************************************************************************/
|
||||
/* search in the given treemodel, in the given column a string matching the given one */
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_interface_c,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $
|
||||
--- src/interface.c.orig Mon Jan 28 13:07:23 2002
|
||||
+++ src/interface.c Mon Jan 28 13:08:05 2002
|
||||
@@ -452,7 +452,7 @@ create_app1 (void)
|
||||
(GtkDestroyNotify) gtk_widget_unref);
|
||||
gtk_widget_show (vpaned2);
|
||||
gnome_app_set_contents (GNOME_APP (app1), vpaned2);
|
||||
- gtk_paned_set_position (GTK_PANED (vpaned2), 0);
|
||||
+ gtk_paned_set_position (GTK_PANED (vpaned2), 200);
|
||||
|
||||
hpaned2 = gtk_hpaned_new ();
|
||||
gtk_widget_set_name (hpaned2, "hpaned2");
|
@ -1,2 +1,2 @@
|
||||
dc_gui provides a user-friendly interface for dctc
|
||||
(Direct Connect Text Clone).
|
||||
dc_gui provides a user-friendly interface for dctc (Direct Connect Text
|
||||
Clone).
|
||||
|
@ -1,13 +1,51 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:17:39 espie Exp $
|
||||
bin/dc_gui
|
||||
@comment $OpenBSD: PLIST,v 1.4 2008/08/25 15:15:53 jasper Exp $
|
||||
@bin bin/bt2dc_gui2
|
||||
@bin bin/bt2dc_gui2_prelaunch
|
||||
@bin bin/cmd2dc_gui2
|
||||
@bin bin/dc_gui2
|
||||
@bin bin/dc_gui2_bt
|
||||
@bin bin/dc_gui2_stat
|
||||
@bin bin/dc_gui2_unattached_gdl
|
||||
share/applications/dc_gui2.desktop
|
||||
share/gnome/
|
||||
share/gnome/help/
|
||||
share/gnome/help/dc_gui/
|
||||
share/gnome/help/dc_gui/C/
|
||||
share/gnome/help/dc_gui/C/chat.html
|
||||
share/gnome/help/dc_gui/C/chat.png
|
||||
share/gnome/help/dc_gui/C/connect.html
|
||||
share/gnome/help/dc_gui/C/favorites.png
|
||||
share/gnome/help/dc_gui/C/find.html
|
||||
share/gnome/help/dc_gui/C/find.png
|
||||
share/gnome/help/dc_gui/C/find_and_gdl_config.html
|
||||
share/gnome/help/dc_gui/C/find_and_gdl_config.png
|
||||
share/gnome/help/dc_gui/C/images/
|
||||
share/gnome/help/dc_gui/C/index.html
|
||||
share/gnome/help/dc_gui/C/topic.dat
|
||||
share/locale/
|
||||
share/locale/nl/
|
||||
share/locale/nl/LC_MESSAGES/
|
||||
share/locale/nl/LC_MESSAGES/dc_gui.mo
|
||||
share/gnome/help/dc_gui/C/private_chat.html
|
||||
share/gnome/help/dc_gui/C/private_chat.png
|
||||
share/gnome/help/dc_gui/C/public.png
|
||||
share/gnome/help/dc_gui/C/recent.png
|
||||
share/gnome/help/dc_gui/C/running_tab.png
|
||||
share/gnome/help/dc_gui/C/seen_public.png
|
||||
share/gnome/help/dc_gui/C/startup.html
|
||||
share/gnome/help/dc_gui/C/startup.png
|
||||
share/gnome/help/dc_gui/C/user_file_list.html
|
||||
share/gnome/help/dc_gui/C/user_file_list.png
|
||||
share/locale/fr/LC_MESSAGES/dc_gui2.mo
|
||||
share/locale/fr/LC_MESSAGES/dc_gui2_bt.mo
|
||||
share/locale/fr/LC_MESSAGES/dc_gui2_stat.mo
|
||||
share/locale/fr/LC_MESSAGES/dc_gui2_unattached_gdl.mo
|
||||
share/locale/nl/LC_MESSAGES/dc_gui2.mo
|
||||
share/locale/nl/LC_MESSAGES/dc_gui2_bt.mo
|
||||
share/locale/nl/LC_MESSAGES/dc_gui2_stat.mo
|
||||
share/locale/nl/LC_MESSAGES/dc_gui2_unattached_gdl.mo
|
||||
share/locale/pl/LC_MESSAGES/dc_gui2.mo
|
||||
share/locale/pl/LC_MESSAGES/dc_gui2_bt.mo
|
||||
share/locale/pl/LC_MESSAGES/dc_gui2_stat.mo
|
||||
share/locale/pl/LC_MESSAGES/dc_gui2_unattached_gdl.mo
|
||||
share/pixmaps/
|
||||
share/pixmaps/dc_gui2/
|
||||
share/pixmaps/dc_gui2.xpm
|
||||
share/pixmaps/dc_gui2/icon_kill.xpm
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user