New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83211


Ignore:
Timestamp:
08/28/11 08:50:57 (4 years ago)
Author:
raimue@…
Message:

sysutils/synergy:
Update to version 1.3.7, with some backported patches, see #26516

Location:
users/raimue/ports/sysutils/synergy
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • users/raimue/ports/sysutils/synergy/Portfile

    r71611 r83211  
    22 
    33PortSystem 1.0 
     4PortGroup cmake 1.0 
    45 
    5 name                    synergy 
    6 set sf_proj             synergy2 
    7 version                 1.3.1 
    8 categories              sysutils 
    9 platforms               darwin 
    10 maintainers             gmail.com:ascarter 
    11 description             a client/server for sharing a single mouse and keyboard 
    12 long_description        Synergy lets you easily share a single mouse and keyboard \ 
    13                                 between multiple computers with different operating systems \ 
    14                                 without special hardware. It is intended for users with \ 
    15                                 multiple computers on their desk since each system uses its \ 
    16                                 own display. 
     6name            synergy 
     7version         1.3.7 
     8categories      sysutils 
     9platforms       darwin 
     10maintainers     raimue 
     11description     A client/server for sharing a single mouse and keyboard 
     12long_description \ 
     13    Synergy lets you easily share a single mouse and keyboard \ 
     14    between multiple computers with different operating systems \ 
     15    without special hardware. It is intended for users with \ 
     16    multiple computers on their desk since each system uses its \ 
     17    own display. 
     18homepage        http://synergy-foss.org 
     19master_sites    googlecode 
     20distname        ${name}-${version}-Source 
    1721 
    18 homepage                http://synergy-foss.org/ 
    19 master_sites    sourceforge 
    20 master_sites.mirror_subdir      ${sf_proj} 
     22checksums       sha1    0f67dc4a221dc0db74ec8a35d3dd578e9d76eccc \ 
     23                rmd160  5f28bd102293437481a8c5808d5cbfc8722ee1ae 
    2124 
    22 checksums               md5 a6e09d6b71cb217f23069980060abf27 
     25# Force 32-bit, all kinds of Carbon cruft in here. (#20908) 
     26supported_archs i386 ppc 
    2327 
    24 configure.args  --sysconfdir=${prefix}/etc/${name} 
    25 patchfiles              patch-CArchFileUnix.cpp.diff patch-configure.diff 
     28patchfiles      patch-CArchFileUnix.cpp.diff 
     29 
     30# See http://synergy-foss.org/pm/issues/57 
     31patchfiles-append patch-bug57-keypress.diff \ 
     32                  patch-bug57-modifiers.diff 
    2633 
    2734post-patch { 
    28         reinplace "s|__SYSCONFDIR|${prefix}/etc/${name}|g" ${worksrcpath}/lib/arch/CArchFileUnix.cpp 
     35    # Set default config path 
     36    reinplace "s|@@SYSCONFDIR@@|${prefix}/etc/${name}|g" ${worksrcpath}/src/lib/arch/CArchFileUnix.cpp 
     37 
     38    # Fix build architectures 
     39    reinplace "s:CMAKE_OSX_ARCHITECTURES \"ppc;i386\":CMAKE_OSX_ARCHITECTURES \"[join [get_canonical_archs] ;]\":" ${worksrcpath}/CMakeLists.txt 
    2940} 
    3041 
    31 variant server { 
    32         startupitem.create      yes 
    33         startupitem.name        Synergy 
    34         startupitem.start       "${prefix}/bin/synergys --daemon &" 
    35         startupitem.stop        "/usr/bin/killall synergys" 
     42destroot { 
     43        # xinstall -d ${destroot}${prefix}/bin 
     44        xinstall -m 755 ${worksrcpath}/bin/synergyc ${destroot}${prefix}/bin 
     45        xinstall -m 755 ${worksrcpath}/bin/synergys ${destroot}${prefix}/bin 
     46        xinstall -m 644 ${worksrcpath}/doc/synergyc.man ${destroot}${prefix}/share/man/man1/synergyc.1 
     47        xinstall -m 644 ${worksrcpath}/doc/synergys.man ${destroot}${prefix}/share/man/man1/synergys.1 
     48        # xinstall -d ${destroot}${prefix}/etc/${name} 
     49        xinstall -m 644 -W ${worksrcpath}/doc/ \ 
     50            synergy.conf.example \ 
     51            synergy.conf.example-advanced \ 
     52            synergy.conf.example-basic \ 
     53            ${destroot}${prefix}/etc/${name} 
    3654} 
    3755 
    38 post-destroot { 
    39         xinstall -m 755 -d ${destroot}${prefix}/etc/${name} 
    40         xinstall -m 644 -c ${worksrcpath}/examples/synergy.conf \ 
    41                 ${destroot}${prefix}/etc/${name}/synergy.conf.sample 
    42 } 
    43  
    44 livecheck.name  ${sf_proj} 
    45 livecheck.regex <title>Sources (.*) released.*</title> 
    46  
    47 # Force 32-bit, all kinds of Carbon cruft in here. (#20908) 
    48 supported_archs i386 ppc 
     56startupitem.create      yes 
     57startupitem.name        Synergy 
     58startupitem.executable  "${prefix}/bin/synergys --no-daemon" 
  • users/raimue/ports/sysutils/synergy/files/patch-CArchFileUnix.cpp.diff

    r21501 r83211  
    1 --- lib/arch/CArchFileUnix.cpp.orig     Wed Feb  9 13:29:56 2005 
    2 +++ lib/arch/CArchFileUnix.cpp  Wed Feb  9 13:30:27 2005 
    3 @@ -80,7 +80,7 @@ 
     1--- src/lib/arch/CArchFileUnix.cpp.orig Wed Feb  9 13:29:56 2005 
     2+++ src/lib/arch/CArchFileUnix.cpp      Wed Feb  9 13:30:27 2005 
     3@@ -83,7 +83,7 @@ 
    44 std::string 
    55 CArchFileUnix::getSystemDirectory() 
    66 { 
    77-       return "/etc"; 
    8 +       return "__SYSCONFDIR"; 
     8+       return "@@SYSCONFDIR@@"; 
    99 } 
    1010  
Note: See TracChangeset for help on using the changeset viewer.