pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/drivel Initial import of drivel, version 1.0.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b23ec3c5cb81
branches:  trunk
changeset: 476915:b23ec3c5cb81
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Jun 22 21:31:07 2004 +0000

description:
Initial import of drivel, version 1.0.0:

Drivel is a LiveJournal client for the GNOME Desktop.  Its purpose is to
retain a simple and elegant design while providing the same level of
functionality as the offical LiveJournal clients.  Drivel also integrates
tightly with the GNOME Desktop technologies.

diffstat:

 www/drivel/DESCR            |   4 +++
 www/drivel/Makefile         |  30 ++++++++++++++++++++++++
 www/drivel/PLIST            |  46 +++++++++++++++++++++++++++++++++++++
 www/drivel/distinfo         |   6 ++++
 www/drivel/patches/patch-aa |  13 ++++++++++
 www/drivel/patches/patch-ab |  55 +++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 154 insertions(+), 0 deletions(-)

diffs (178 lines):

diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/DESCR  Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,4 @@
+Drivel is a LiveJournal client for the GNOME Desktop.  Its purpose is to
+retain a simple and elegant design while providing the same level of
+functionality as the offical LiveJournal clients.  Drivel also integrates
+tightly with the GNOME Desktop technologies. 
diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/Makefile       Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/22 21:31:07 jmmv Exp $
+#
+
+DISTNAME=      drivel-1.0.0
+CATEGORIES=    www gnome
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=drivel/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    jmmv%NetBSD.org@localhost
+HOMEPAGE=      http://www.dropline.net/drivel/
+COMMENT=       LiveJournal client for the GNOME Desktop
+
+GNU_CONFIGURE=         YES
+USE_BUILDLINK3=                YES
+USE_DIRS+=             xdg-1.1
+USE_GNU_TOOLS+=                make
+USE_PKGLOCALEDIR=      YES
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/PLIST  Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/22 21:31:08 jmmv Exp $
+bin/drivel
+share/applications/drivel.desktop
+share/drivel/glade/drivel.glade
+share/gconf/schemas/drivel.schemas
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/drivel.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/drivel.mo
+share/pixmaps/drivel/checkbutton.xpm
+share/pixmaps/drivel/combobox.xpm
+share/pixmaps/drivel/community.png
+share/pixmaps/drivel/doublearrow.png
+share/pixmaps/drivel/drivel_splash.png
+share/pixmaps/drivel/entry.xpm
+share/pixmaps/drivel/hscale.xpm
+share/pixmaps/drivel/insert_image.png
+share/pixmaps/drivel/insert_object.png
+share/pixmaps/drivel/leftarrow.png
+share/pixmaps/drivel/livejournal_tray_normal.png
+share/pixmaps/drivel/livejournal_tray_updated.png
+share/pixmaps/drivel/mood.png
+share/pixmaps/drivel/music.png
+share/pixmaps/drivel/private.png
+share/pixmaps/drivel/protected.png
+share/pixmaps/drivel/public.png
+share/pixmaps/drivel/radiobutton.xpm
+share/pixmaps/drivel/rightarrow.png
+share/pixmaps/drivel/user.png
+share/pixmaps/drivel/xmms.xpm
+share/pixmaps/livejournal.png
+@dirrm share/pixmaps/drivel
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment in GConf2: @dirrm share/gconf/schemas
+@dirrm share/drivel/glade
+@dirrm share/drivel
+@comment in xdg-dirs: @dirrm share/applications
diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/distinfo       Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/22 21:31:07 jmmv Exp $
+
+SHA1 (drivel-1.0.0.tar.bz2) = dfa34d853922ca99db86827c5fc7151959a50e39
+Size (drivel-1.0.0.tar.bz2) = 341335 bytes
+SHA1 (patch-aa) = 943fd568075f3325c5c4c739eda53749c3836e29
+SHA1 (patch-ab) = 722b0b9f6e5a4b2619a9df3a59db229e3219fca5
diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/patches/patch-aa       Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/22 21:31:08 jmmv Exp $
+
+--- Makefile.in.orig   2004-06-05 22:56:44.000000000 +0200
++++ Makefile.in
+@@ -138,7 +138,7 @@ desktop_DATA = $(desktop_in_files:.deskt
+ CLEANFILES = drivel.desktop
+ 
+ schema_in_files = drivel.schemas.in
+-schemadir = $(sysconfdir)/gconf/schemas
++schemadir = $(GCONF_SCHEMA_FILE_DIR)
+ schema_DATA = $(schema_in_files:.schemas.in=.schemas)
+ 
+ pixmapsdir = $(datadir)/pixmaps
diff -r 92a38ed86e50 -r b23ec3c5cb81 www/drivel/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drivel/patches/patch-ab       Tue Jun 22 21:31:07 2004 +0000
@@ -0,0 +1,55 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/22 21:31:08 jmmv Exp $
+
+--- src/network.c.orig 2004-06-22 22:36:40.000000000 +0200
++++ src/network.c
+@@ -35,6 +35,7 @@
+ #define BUFFER_SIZE 1
+ 
+ extern GMutex *network_mutex;
++gint network_busy = 0;
+ gchar *post_data = NULL;
+ gint dialog_count = 0;
+ DrivelRequestType global_type;
+@@ -310,7 +311,15 @@ send_get_request (gpointer data)
+       
+       ThreadData *td;
+       
+-      g_mutex_lock (network_mutex);
++      for (;;) {
++              g_mutex_lock (network_mutex);
++              if (!network_busy) {
++                      network_busy = 1;
++                      g_mutex_unlock (network_mutex);
++                      break;
++              }
++              g_mutex_unlock (network_mutex);
++      }
+       
+       td = (ThreadData *)data;
+       
+@@ -397,7 +406,15 @@ send_request (gpointer data)
+       glong http_code;
+       ThreadData *td;
+       
+-      g_mutex_lock (network_mutex);
++      for (;;) {
++              g_mutex_lock (network_mutex);
++              if (!network_busy) {
++                      network_busy = 1;
++                      g_mutex_unlock (network_mutex);
++                      break;
++              }
++              g_mutex_unlock (network_mutex);
++      }
+       
+       td = (ThreadData *) data;
+       
+@@ -522,6 +539,8 @@ lj_network_loop (gpointer data)
+               
+               dialog_close (dc);
+               
++              g_mutex_lock (network_mutex);
++              network_busy = 0;
+               g_mutex_unlock (network_mutex);
+               
+               g_free (queue_data);



Home | Main Index | Thread Index | Old Index