- tweak .desktop file so that we have an icon to show in the GNOME menu

- precise license marker
- add sysutils to CATEGORIES
- regen patches and PLIST while here

ok mbalmer@
This commit is contained in:
ajacoutot 2008-10-12 17:36:03 +00:00
parent 9b9cb3fe51
commit ad77f30d1f
10 changed files with 39 additions and 25 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.26 2008/06/02 14:34:40 sthen Exp $
# $OpenBSD: Makefile,v 1.27 2008/10/12 17:36:03 ajacoutot Exp $
COMMENT= GTK-based LDAP client
DISTNAME= gq-1.0beta1
PKGNAME= ${DISTNAME}p8
CATEGORIES= databases
PKGNAME= ${DISTNAME}p9
CATEGORIES= databases sysutils
HOMEPAGE= http://biot.com/gq/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPL
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -37,5 +37,8 @@ AUTOCONF_VERSION= 2.57
CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE} \
--with-sasl-prefix=${LOCALBASE} \
--with-kerberos-prefix=/usr
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/gq.desktop
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- configure.in.orig Mon Nov 3 23:56:14 2003
+++ configure.in Sat Nov 12 11:30:15 2005
+++ configure.in Sun Oct 12 17:02:00 2008
@@ -278,9 +278,9 @@ AC_CHECK_LIB(lber, ber_alloc,
)
@ -12,7 +12,7 @@
)
AC_CACHE_CHECK([OpenLDAP version], gq_cv_OpenLDAP_version,
@@ -340,7 +340,7 @@ AC_CHECK_FUNCS(ldap_str2objectclass ldap
@@ -340,7 +340,7 @@ AC_CHECK_FUNCS(ldap_str2objectclass ldap_memfree ldap_
AC_ARG_WITH(kerberos-prefix,
[ --with-kerberos-prefix=PFX Prefix where Kerberos is installed],
[

View File

@ -1,5 +1,5 @@
--- intl/dcigettext.c.orig Sat May 4 18:10:13 2002
+++ intl/dcigettext.c Tue Feb 15 03:50:16 2005
+++ intl/dcigettext.c Sun Oct 12 17:01:58 2008
@@ -57,11 +57,6 @@ extern int errno;
#include <stdlib.h>
@ -12,7 +12,7 @@
#if defined HAVE_UNISTD_H || defined _LIBC
# include <unistd.h>
@@ -868,7 +863,7 @@ _nl_find_msg (domain_file, domainbinding
@@ -868,7 +863,7 @@ _nl_find_msg (domain_file, domainbinding, msgid, lengt
outleft = freemem_size - sizeof (size_t);
if (iconv (domain->conv,

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_dt_password_c,v 1.1 2005/02/28 13:30:07 mbalmer Exp $
$OpenBSD: patch-src_dt_password_c,v 1.2 2008/10/12 17:36:03 ajacoutot Exp $
--- src/dt_password.c.orig Mon Nov 3 22:07:57 2003
+++ src/dt_password.c Tue Feb 15 03:54:03 2005
@@ -268,14 +268,14 @@ static GByteArray *dt_password_encode_pa
+++ src/dt_password.c Sun Oct 12 17:01:58 2008
@@ -268,14 +268,14 @@ static GByteArray *dt_password_encode_password_nthash(
MD4_CTX MD4context;
#if defined(HAVE_ICONV)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_encode_c,v 1.1 2005/02/28 13:30:07 mbalmer Exp $
$OpenBSD: patch-src_encode_c,v 1.2 2008/10/12 17:36:03 ajacoutot Exp $
--- src/encode.c.orig Wed Oct 8 23:21:16 2003
+++ src/encode.c Tue Feb 15 03:51:19 2005
@@ -53,14 +53,14 @@ const char *decode_string(char *native_s
+++ src/encode.c Sun Oct 12 17:01:58 2008
@@ -53,14 +53,14 @@ const char *decode_string(char *native_string, const g
size_t len)
{
#if defined(HAVE_ICONV)
@ -18,7 +18,7 @@ $OpenBSD: patch-src_encode_c,v 1.1 2005/02/28 13:30:07 mbalmer Exp $
out = native_string;
/* len = strlen(in); */
outlen = len;
@@ -94,12 +94,12 @@ const gchar *encode_string(gchar *ldap_s
@@ -94,12 +94,12 @@ const gchar *encode_string(gchar *ldap_string, const g
size_t len)
{
#if defined(HAVE_ICONV)

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_gq_desktop,v 1.1 2008/10/12 17:36:03 ajacoutot Exp $
--- src/gq.desktop.orig Sun Oct 12 17:02:54 2008
+++ src/gq.desktop Sun Oct 12 17:06:44 2008
@@ -3,6 +3,6 @@ Name=GQ LDAP Client
Comment=GQ LDAP Client
TryExec=gq
Exec=gq
-#Icon=
+Icon=${PREFIX}/share/pixmaps/gq/logo.xpm
Terminal=0
Type=Application

View File

@ -1,6 +1,6 @@
--- src/state.c.orig Mon Nov 3 22:19:54 2003
+++ src/state.c Sat Feb 5 06:50:26 2005
@@ -754,7 +754,7 @@ static void state_valueE(struct parser_c
+++ src/state.c Sun Oct 12 17:01:58 2008
@@ -754,7 +754,7 @@ static void state_valueE(struct parser_context *ctx,
}
}

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_util_c,v 1.2 2005/11/12 10:39:08 espie Exp $
$OpenBSD: patch-src_util_c,v 1.3 2008/10/12 17:36:03 ajacoutot Exp $
--- src/util.c.orig Mon Nov 3 23:28:24 2003
+++ src/util.c Sat Nov 12 04:34:27 2005
@@ -1909,27 +1909,51 @@ GList *get_suffixes(int error_context, s
+++ src/util.c Sun Oct 12 17:01:58 2008
@@ -1909,27 +1909,51 @@ GList *get_suffixes(int error_context, struct ldapserv
char **gq_ldap_explode_dn(const char *dn, int dummy)
{
int i, rc;

View File

@ -1,5 +1,5 @@
--- src/xmlparse.c.orig Mon Nov 3 22:05:18 2003
+++ src/xmlparse.c Sat Feb 5 06:50:26 2005
+++ src/xmlparse.c Sun Oct 12 17:01:58 2008
@@ -51,7 +51,7 @@
#include "xmlparse.h"
@ -9,7 +9,7 @@
#define TAGSTACK_INCR 20
@@ -162,10 +162,11 @@ static void startElementH(struct parser_
@@ -162,10 +162,11 @@ static void startElementH(struct parser_context *ctx,
e->attrs = NULL;
if (attrs) {
for (i = 0 ; attrs[i] ; i++) ;

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.7 2005/02/28 13:30:07 mbalmer Exp $
bin/gq
@comment $OpenBSD: PLIST,v 1.8 2008/10/12 17:36:03 ajacoutot Exp $
@bin bin/gq
share/gnome/
share/gnome/apps/
share/gnome/apps/Internet/