Bug 129975 - [new port] deskutils/libopensync-plugin-synce-legacy: SynCE legacy plugin for the OpenSync framework
Summary: [new port] deskutils/libopensync-plugin-synce-legacy: SynCE legacy plugin for...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 16:20 UTC by Alexander Logvinov
Modified: 2009-01-16 14:10 UTC (History)
1 user (show)

See Also:


Attachments
file.shar (5.33 KB, text/plain)
2008-12-27 16:20 UTC, Alexander Logvinov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Logvinov 2008-12-27 16:20:04 UTC
This plugin allows applications using OpenSync to synchronise to and from
Windows Mobile 2003 based devices.

WWW: http://www.opensync.org/
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-12-27 16:38:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-12-28 11:20:30 UTC
State Changed
From-To: open->feedback

Hi, 

build failed on 6.X 

could you please take a look? 

http://i386.miwibox.org/index.php?action=describe_port&id=2083 
http://amd64.miwibox.org/index.php?action=describe_port&id=2114 

Thanks
Comment 3 Alexander Logvinov 2009-01-12 01:04:20 UTC
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libopensync-plugin-synce-legacy
#	libopensync-plugin-synce-legacy/Makefile
#	libopensync-plugin-synce-legacy/distinfo
#	libopensync-plugin-synce-legacy/pkg-descr
#	libopensync-plugin-synce-legacy/pkg-plist
#	libopensync-plugin-synce-legacy/files
#	libopensync-plugin-synce-legacy/files/patch-src_synce_file.c
#
echo c - libopensync-plugin-synce-legacy
mkdir -p libopensync-plugin-synce-legacy > /dev/null 2>&1
echo x - libopensync-plugin-synce-legacy/Makefile
sed 's/^X//' >libopensync-plugin-synce-legacy/Makefile << '0a6777a4a7d62f989532aef07748f1a8'
X# New ports collection makefile for:	libopensync-plugin-synce-legacy
X# Date created:				19 June 2008
X# Whom:					Alexander Logvinov <ports@logvinov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libopensync-plugin-synce
XPORTVERSION=	0.22
XCATEGORIES=	deskutils palm
XMASTER_SITES=	http://www.opensync.org/download/releases/${PORTVERSION}/
XPKGNAMESUFFIX=	-legacy
X
XMAINTAINER=	ports@logvinov.com
XCOMMENT=	SynCE legacy plugin for the OpenSync framework
X
XLIB_DEPENDS=	opensync.0:${PORTSDIR}/devel/libopensync022 \
X		rra.0:${PORTSDIR}/palm/synce-librra
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_GNOME=	glib20 libxml2
X
XCFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
XLDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
XCONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
X		LDFLAGS="${LDFLAGS}"
X
X.include <bsd.port.mk>
0a6777a4a7d62f989532aef07748f1a8
echo x - libopensync-plugin-synce-legacy/distinfo
sed 's/^X//' >libopensync-plugin-synce-legacy/distinfo << '3230b10948410c3a46c79f74a0e2d7e3'
XMD5 (libopensync-plugin-synce-0.22.tar.bz2) = f325b7dd9f273c46e77fb7b337325880
XSHA256 (libopensync-plugin-synce-0.22.tar.bz2) = 72166c8c6e2a45f38fa260a3eb4920b3f55b3cb4cd04c29d6889b9411e369b57
XSIZE (libopensync-plugin-synce-0.22.tar.bz2) = 240364
3230b10948410c3a46c79f74a0e2d7e3
echo x - libopensync-plugin-synce-legacy/pkg-descr
sed 's/^X//' >libopensync-plugin-synce-legacy/pkg-descr << '57c722f44b76e4e3445a32e5e31d0950'
XThis plugin allows applications using OpenSync to synchronise to and from
XWindows Mobile 2003 based devices.
X
XWWW: http://www.opensync.org/
57c722f44b76e4e3445a32e5e31d0950
echo x - libopensync-plugin-synce-legacy/pkg-plist
sed 's/^X//' >libopensync-plugin-synce-legacy/pkg-plist << 'd00532edbcd71a8db1f01c6315e3bcd3'
Xlib/opensync/plugins/synce_plugin.so
Xlib/opensync/plugins/synce_plugin.la
Xshare/opensync/defaults/synce-plugin
X@dirrmtry lib/opensync/plugins
X@dirrmtry lib/opensync
X@dirrmtry share/opensync/defaults
X@dirrmtry share/opensync
d00532edbcd71a8db1f01c6315e3bcd3
echo c - libopensync-plugin-synce-legacy/files
mkdir -p libopensync-plugin-synce-legacy/files > /dev/null 2>&1
echo x - libopensync-plugin-synce-legacy/files/patch-src_synce_file.c
sed 's/^X//' >libopensync-plugin-synce-legacy/files/patch-src_synce_file.c << 'a47febdebc9dfafd7909dcbfe29ceb1d'
X--- src/synce_file.c.orig	2007-03-27 22:14:24.000000000 +1000
X+++ src/synce_file.c	2008-12-27 23:47:34.000000000 +0900
X@@ -114,7 +114,7 @@
X                   size = CeGetFileSize(h, NULL);
X                   CeCloseHandle(h);
X                 } else size = 0;
X-                hash = g_strdup_printf("%ld-%u", ff->last_mod, size);
X+                hash = g_strdup_printf("%ld-%u", (long)ff->last_mod, size);
X 		osync_change_set_hash(change, hash);
X                 fprintf(stderr, "%s(%s) hash %s\n", __func__, path, hash);
X                 g_free(hash);
X@@ -220,7 +220,8 @@
X 	fileFormat	*ff;
X 	WCHAR		*wfn;
X 	DWORD		wr, e, opt;
X-        char		*p, *s, *fn, *lfn, *str;
X+        char		*p, *fn, *lfn, *str;
X+	const char *s;
X 	OSyncChangeType	ct;
X 
X 	osync_debug("SYNCE-SYNC", 4, "start: %s", __func__);	
X@@ -495,7 +496,7 @@
X                 if (r == 0) {
X                         /* Error */
X                         DWORD	e = CeGetLastError();
X-                        char	*s = synce_strerror(e);
X+                        const char	*s = synce_strerror(e);
X                         osync_context_report_error(ctx, 1, "Error from CeReadFile (%d:%s)",
X                                                    e, s);
X                         CeCloseHandle(h);
X@@ -672,7 +673,7 @@
X 					&cnt, &find_data) == 0) {
X 				/* FIX ME what does failure mean here ? */
X 				e = CeGetLastError();
X-				s = synce_strerror(e);
X+				s = (char*)synce_strerror(e);
X 				fprintf(stderr,
X 					"CeFindAllFiles(%s) : %s",
X 					lfn, s);
X@@ -686,7 +687,7 @@
X 				fprintf(stderr, "Yow create(%s)\n", lfn);
X 				if (CeCreateDirectory(w, NULL) == 0) {
X 					e = CeGetLastError();
X-					s = synce_strerror(e);
X+					s = (char*)synce_strerror(e);
X 					fprintf(stderr,
X 						"CeCreateDirectory(%s) : %s",
X 						lfn, s);
X@@ -707,7 +708,7 @@
X 			CREATE_NEW, FILE_ATTRIBUTE_NORMAL, 0);
X 	if (h == 0) {
X 		e = CeGetLastError();
X-		s = synce_strerror(e);
X+		s = (char*)synce_strerror(e);
X 		fprintf(stderr, "CeCreateFile(%s) : %s", lfn, s);
X 		free(lfn);
X 		return FALSE;
X@@ -719,7 +720,7 @@
X 	DWORD wr;
X 	if (CeWriteFile(h, "Yow", 3, &wr, NULL) == 0) {
X 		e = CeGetLastError();
X-		s = synce_strerror(e);
X+		s = (char*)synce_strerror(e);
X 		fprintf(stderr, "CeWriteFile(%s) : %s", lfn, s);
X 		free(lfn);
X 		return FALSE;
a47febdebc9dfafd7909dcbfe29ceb1d
exit
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2009-01-16 14:06:18 UTC
State Changed
From-To: feedback->closed

New port added. Thanks! (sorry for the long wait time)
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-01-16 14:06:22 UTC
miwi        2009-01-16 14:06:07 UTC

  FreeBSD ports repository

  Modified files:
    deskutils            Makefile 
  Added files:
    deskutils/libopensync-plugin-synce-legacy Makefile distinfo 
                                              pkg-descr pkg-plist 
    deskutils/libopensync-plugin-synce-legacy/files 
                                                    patch-src_synce_file.c 
  Log:
  This plugin allows applications using OpenSync to synchronise to and from
  Windows Mobile 2003 based devices.
  
  WWW: http://www.opensync.org/
  
  PR:             ports/129975
  Submitted by:   Alexander Logvinov <ports at logvinov.com>
  
  Revision  Changes    Path
  1.354     +1 -0      ports/deskutils/Makefile
  1.1       +29 -0     ports/deskutils/libopensync-plugin-synce-legacy/Makefile (new)
  1.1       +3 -0      ports/deskutils/libopensync-plugin-synce-legacy/distinfo (new)
  1.1       +66 -0     ports/deskutils/libopensync-plugin-synce-legacy/files/patch-src_synce_file.c (new)
  1.1       +4 -0      ports/deskutils/libopensync-plugin-synce-legacy/pkg-descr (new)
  1.1       +7 -0      ports/deskutils/libopensync-plugin-synce-legacy/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"