pkgsrc-WIP-changes archive

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

Add a package for glista.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Jul 15 18:30:16 2018 +0200
Changeset:	ad12858cc95079890f1f1526ca14f77f802b1dbc

Modified Files:
	Makefile
Added Files:
	glista/DESCR
	glista/Makefile
	glista/PLIST
	glista/distinfo
	glista/patches/patch-aa

Log Message:
Add a package for glista.

From Kamel Derouiche, PR pkg/40367.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ad12858cc95079890f1f1526ca14f77f802b1dbc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 glista/DESCR            |  5 +++++
 glista/Makefile         | 24 +++++++++++++++++++++++
 glista/PLIST            |  7 +++++++
 glista/distinfo         |  6 ++++++
 glista/patches/patch-aa | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 94 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d18be7189f..5464f6cc95 100644
--- a/Makefile
+++ b/Makefile
@@ -941,6 +941,7 @@ SUBDIR+=	glib-java
 SUBDIR+=	glibc
 SUBDIR+=	glide3
 SUBDIR+=	glimmerm
+SUBDIR+=	glista
 SUBDIR+=	glkgit
 SUBDIR+=	glkloader
 SUBDIR+=	glkterm
diff --git a/glista/DESCR b/glista/DESCR
new file mode 100644
index 0000000000..267fe3b63a
--- /dev/null
+++ b/glista/DESCR
@@ -0,0 +1,5 @@
+Glista to be a very simple personal to-do list manager.
+Written in C and is based on the Gtk+ grapical toolkit and Glib.
+cross-desktop and cross-platform. Currently it is known to runs on
+different flavours of GNU/Linux, but should be easily portable
+to other UNIX-like systems, and also to Mac OS X and Microsoft Windows
diff --git a/glista/Makefile b/glista/Makefile
new file mode 100644
index 0000000000..d96c5c4603
--- /dev/null
+++ b/glista/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+#
+
+DISTNAME=	glista-0.3
+CATEGORIES=	time gnome
+MASTER_SITES=	http://glista.googlecode.com/files/
+
+MAINTAINER=	kamel.derouiche%gmail.com@localhost
+HOMEPAGE=	http://prematureoptimization.org/glista/
+COMMENT=	Simple task list management utility
+
+PKG_DESTDIR_SUPPORT=	user-destdir
+
+USE_DIRS+= 	xdg-1.4
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	pkg-config
+
+CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/glista/PLIST b/glista/PLIST
new file mode 100644
index 0000000000..ac85526594
--- /dev/null
+++ b/glista/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/glista
+share/applications/glista.desktop
+share/glista/glista-icon.png
+share/glista/glista.ui
+share/pixmaps/glista-icon.png
+@dirrm share/glista
diff --git a/glista/distinfo b/glista/distinfo
new file mode 100644
index 0000000000..cb1868f4fc
--- /dev/null
+++ b/glista/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (glista-0.3.tar.gz) = 59822f8cafe032cd4e940fda4a08de9d6dc07a06
+RMD160 (glista-0.3.tar.gz) = 01f27591ecab1d11c80627a23375e7f25d7eb220
+Size (glista-0.3.tar.gz) = 135846 bytes
+SHA1 (patch-aa) = a76d78736d498a86f05e167fbf19ada0fea4f199
diff --git a/glista/patches/patch-aa b/glista/patches/patch-aa
new file mode 100644
index 0000000000..de117a0463
--- /dev/null
+++ b/glista/patches/patch-aa
@@ -0,0 +1,51 @@
+$NetBSD$
+--- src/main.c.orig	2008-11-23 11:42:19.000000000 +0000
++++ src/main.c	2008-11-23 14:38:51.000000000 +0000
+@@ -25,8 +25,6 @@
+ #include "ui-callbacks.c"
+ #include "storage.c"
+ 
+-static int errno = 0;
+-
+ static gboolean (*glista_dnd_old_drag_data_received)(
+ 	GtkTreeDragDest *drag_dest, GtkTreePath *dest, 
+ 	GtkSelectionData *selection_data);
+@@ -1254,19 +1252,23 @@
+  * Returns: TRUE if directory exists or was successfuly created, or FALSE if 
+  * there was an error creating it.
+  */
++
+ static gboolean
+ glista_cfg_check_dir()
+ {
++
++  GError *err = NULL ;
++
+ 	if (! g_file_test(gl_globs->configdir, G_FILE_TEST_IS_DIR)) {
+ 		if (! g_file_test(gl_globs->configdir, G_FILE_TEST_EXISTS)) {
+ 			
+ 			// Create the directory
+-			errno = 0;
++			
+ 			if (g_mkdir_with_parents(gl_globs->configdir, 0700) != 0) {
+ 				// We have an error!
+ 				g_printerr("Error creating configuration directory: %d\n",
+-				            errno);
+-				
++				            err->message);
++                                g_error_free(err); 	
+ 				return FALSE;
+ 	        }
+ 	        
+@@ -1277,10 +1279,10 @@
+ 			return FALSE;
+ 		}
+ 	}
+-	
+ 	return TRUE;
+ }
+ 
++
+ /**
+  * glista_cfg_init_load:
+  * 


Home | Main Index | Thread Index | Old Index