summaryrefslogtreecommitdiff
path: root/www/drivel
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-06-22 21:31:07 +0000
committerjmmv <jmmv@pkgsrc.org>2004-06-22 21:31:07 +0000
commit3a6a22d40251221085c9d5550408ec0294bac8f7 (patch)
tree69f39dc62c89913bbfa91f3860ffbb699c7ea9ef /www/drivel
parente9f72f8d35d83daafc399120553d63e4c9fb7d0d (diff)
downloadpkgsrc-3a6a22d40251221085c9d5550408ec0294bac8f7.tar.gz
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 (limited to 'www/drivel')
-rw-r--r--www/drivel/DESCR4
-rw-r--r--www/drivel/Makefile30
-rw-r--r--www/drivel/PLIST46
-rw-r--r--www/drivel/distinfo6
-rw-r--r--www/drivel/patches/patch-aa13
-rw-r--r--www/drivel/patches/patch-ab55
6 files changed, 154 insertions, 0 deletions
diff --git a/www/drivel/DESCR b/www/drivel/DESCR
new file mode 100644
index 00000000000..ad754f50401
--- /dev/null
+++ b/www/drivel/DESCR
@@ -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 --git a/www/drivel/Makefile b/www/drivel/Makefile
new file mode 100644
index 00000000000..88c03f770f0
--- /dev/null
+++ b/www/drivel/Makefile
@@ -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
+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 --git a/www/drivel/PLIST b/www/drivel/PLIST
new file mode 100644
index 00000000000..00d35454dc0
--- /dev/null
+++ b/www/drivel/PLIST
@@ -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 --git a/www/drivel/distinfo b/www/drivel/distinfo
new file mode 100644
index 00000000000..bf4d12d118b
--- /dev/null
+++ b/www/drivel/distinfo
@@ -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 --git a/www/drivel/patches/patch-aa b/www/drivel/patches/patch-aa
new file mode 100644
index 00000000000..6af1854e996
--- /dev/null
+++ b/www/drivel/patches/patch-aa
@@ -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 --git a/www/drivel/patches/patch-ab b/www/drivel/patches/patch-ab
new file mode 100644
index 00000000000..4ebb0a86e6f
--- /dev/null
+++ b/www/drivel/patches/patch-ab
@@ -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);