! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar SVN doesn't build with svn 1.6: a fix
Status:
RESOLVED: DUPLICATE
Product:
Thunar-vcs-plugin
Component:
General

Comments

Description marc 2009-04-21 05:49:57 CEST
The plugin doesn't compile with the newer libSVN. This is a fix that worked for me:

Adding:

#include <subversion-1/svn_props.h>

to tsh-common.c and tsh-properties-dialog.c seems to fix the issue.
Comment 1 Charles 2009-04-22 19:36:08 CEST
I am also having a build problem, but this fix did not seem to work for my Xubuntu system.  According to apt, my version of libsvn-dev is:
       Version: 1.4.6dfsg1-2ubuntu1


The error:

In file included from tsp-svn-backend.c:31:

../thunar-svn-plugin/tsp-svn-backend.h:46: error: expected specifier-qualifier-list before ‘svn_depth_t’

tsp-svn-backend.c: In function ‘tsp_svn_backend_get_status’:

tsp-svn-backend.c:209: error: ‘svn_depth_immediates’ undeclared (first use in this function)

tsp-svn-backend.c:209: error: (Each undeclared identifier is reported only once

tsp-svn-backend.c:209: error: for each function it appears in.)

tsp-svn-backend.c:209: warning: assignment makes pointer from integer without a cast

tsp-svn-backend.c: In function ‘info_callback’:

tsp-svn-backend.c:248: error: ‘svn_info_t’ has no member named ‘changelist’

tsp-svn-backend.c:249: error: ‘TspSvnInfo’ has no member named ‘depth’

tsp-svn-backend.c:249: error: ‘svn_info_t’ has no member named ‘depth’

tsp-svn-backend.c: In function ‘tsp_svn_backend_get_info’:

tsp-svn-backend.c:282: error: ‘svn_depth_empty’ undeclared (first use in this function)

tsp-svn-backend.c:282: warning: assignment makes pointer from integer without a cast
Comment 2 marc 2009-04-23 07:09:16 CEST
Hi Charles,

I've only just started using XFCE since 4.6 and my SVN version is 1.6.1. Maybe you could try updating SVN.
Comment 3 Peter de Ridder editbugs 2009-04-30 15:10:30 CEST

*** This bug has been marked as a duplicate of bug 5190 ***

Bug #5272

Reported by:
marc
Reported on: 2009-04-21
Last modified on: 2009-07-14

People

Assignee:
Peter de Ridder
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information