HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of net-p2p/transmission/1.42/1


Ignore:
Timestamp:
01/09/09 23:05:44 (7 years ago)
Author:
mmadia
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • net-p2p/transmission/1.42/1

    v1 v2  
    1   
     1Currently, Transmission 0.96 is the last known version to have an easy to fix BeOS GUI client. 
     2Any version beyond 0.96 requires significant updating of the BeOS GUI client to reflect libtransmission's code refactoring. 
     3However, the CLI client still compiles easily. 
     4 
     5Install intltool-0.23  http://ftp.gnome.org/pub/gnome/sources/intltool/0.23/ 
     6 
     7Other dependencies were previously installed. 
     8 
     9apply patch -p0 < transmission-1.42-haiku.diff 
     10 
     11libtoolize --force --copy 
     12autoreconf --force --install -I config -I m4 
     13 ./configure --prefix=/boot/common LDFLAGS="-lnetwork -lintl" 
     14 
     15in files: 
     16  third-party/libnatpmp/Makefile 
     17  third-party/miniupnp/Makefile 
     18  libtransmission/Makefile 
     19  daemon/Makefile 
     20  cli/Makefile 
     21remove: 
     22-Wdeclaration-after-statement 
     23 
     24make 
     25 
     26transmissioncli will be located in $(topsrcdir)/cli 
     27 
     28 
     29 
     30 
     31 
     32 
     33 
     34 
     35----------- 
     36NOTE: 
     37------------ 
     38The following two code blocks and make output are referring to third-party/libnatpmp/getgateway.c 
     39They are included purely for reference as to why #define USE_PROC_NET_ROUTE  is being used. 
     40 
     41 
     42 
     43################ 
     44#ifdef __HAIKU__ 
     45#undef USE_PROC_NET_ROUTE 
     46#undef USE_SOCKET_ROUTE 
     47#define USE_SYSCTL_NET_ROUTE 
     48#endif 
     49################ 
     50 
     51make[2]: Entering directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     52source='getgateway.c' object='getgateway.o' libtool=no \ 
     53        DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \ 
     54        gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -Dva_copy\(dest,src\)=memcpy\(\&dest,\&src,sizeof\(va_list\)\) -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -I.  -DENABLE_STRNATPMPERR   -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -c getgateway.c 
     55/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:67: sys/sysctl.h: No such file or directory 
     56make[2]: *** [getgateway.o] Error 1 
     57make[2]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     58make[1]: *** [all-recursive] Error 1 
     59make[1]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party' 
     60 
     61 
     62 
     63################ 
     64#ifdef __HAIKU__ 
     65#undef USE_PROC_NET_ROUTE 
     66#define USE_SOCKET_ROUTE 
     67#undef USE_SYSCTL_NET_ROUTE 
     68#endif 
     69################ 
     70 
     71make[2]: Entering directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     72source='getgateway.c' object='getgateway.o' libtool=no \ 
     73        DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \ 
     74        gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -Dva_copy\(dest,src\)=memcpy\(\&dest,\&src,sizeof\(va_list\)\) -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -I.  -DENABLE_STRNATPMPERR   -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -c getgateway.c 
     75cc1: Invalid option `-Wdeclaration-after-statement' 
     76/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:195: field `m_rtm' has incomplete type 
     77/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c: In function `getdefaultgateway': 
     78/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_DST' undeclared (first use in this function) 
     79/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: (Each undeclared identifier is reported only once 
     80/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: for each function it appears in.) 
     81/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_NETMASK' undeclared (first use in this function) 
     82/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:214: sizeof applied to an incomplete type 
     83/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:216: `RTM_GET' undeclared (first use in this function) 
     84/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:218: `RTM_VERSION' undeclared (first use in this function) 
     85/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:245: arithmetic on pointer to an incomplete type 
     86/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:246: dereferencing pointer to incomplete type 
     87/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:248: dereferencing pointer to incomplete type 
     88/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:250: `RTA_GATEWAY' undeclared (first use in this function) 
     89/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:206: warning: `msg_hdr' might be used uninitialized in this function 
     90make[2]: *** [getgateway.o] Error 1 
     91make[2]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     92make[1]: *** [all-recursive] Error 1 
     93make[1]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party' 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/