[154026] trunk/dports/aqua/cotvnc

mf2k at macports.org mf2k at macports.org
Tue Oct 18 21:05:37 CEST 2016


Revision: 154026
          https://trac.macports.org/changeset/154026
Author:   mf2k at macports.org
Date:     2016-10-18 12:05:37 -0700 (Tue, 18 Oct 2016)
Log Message:
-----------
cotvnc: Move to chicken project and version 2.2b2. (#51900). Port abandoned. (#52577)

Modified Paths:
--------------
    trunk/dports/aqua/cotvnc/Portfile
    trunk/dports/aqua/cotvnc/files/patch-project.pbxproj.diff

Modified: trunk/dports/aqua/cotvnc/Portfile
===================================================================
--- trunk/dports/aqua/cotvnc/Portfile	2016-10-18 18:08:32 UTC (rev 154025)
+++ trunk/dports/aqua/cotvnc/Portfile	2016-10-18 19:05:37 UTC (rev 154026)
@@ -5,43 +5,38 @@
 PortGroup xcode 1.0
 
 name            cotvnc
-version         2.0b4
-revision        1
+conflicts       cotvnc-devel
+version         2.2b2
 categories-append vnc
-maintainers     gmail.com:stuartwesterman openmaintainer
+maintainers     nomaintainer
 license         GPL-2
 
-description     Chicken of the VNC is a VNC client for Mac OS X
-long_description    Chicken of the VNC is a Cocoa based VNC client for \
+description     Chicken is a VNC client for Mac OS X
+long_description    Chicken is a Cocoa based VNC client for \
                     Mac OS X. A VNC client allows one to display and \
                     interact with a remote computer screen. In other \
-                    words, you can use Chicken of the VNC to interact \
+                    words, you can use Chicken to interact \
                     with a remote computer as though it is right next to \
                     you.
-homepage        http://sourceforge.net/projects/cotvnc/
-master_sites    sourceforge:project/cotvnc/cotvnc/Chicken%20of%20the%20VNC%20${version}
-distname        ${name}-[strsed ${version} {g/[.]//}]-source
-extract.suffix  .tgz
-checksums       md5 9383068b0a381857551404c86bd05dc1 \
-                sha1 1a749854f314d62d1e54b9ae1ce5ac13bb20f1e8 \
-                rmd160 dce9aafff048545e2612c6795c0ee118f3bc0da8
+homepage        https://sourceforge.net/projects/chicken/
 
-depends_build   bin:iconv:libiconv
+fetch.type      svn
+svn.url         http://svn.code.sf.net/p/chicken/code/trunk
+svn.revision    797
 
-depends_lib     lib:libz.1:zlib
+depends_build-append \
+                bin:iconv:libiconv
 
-patchfiles      patch-project.pbxproj.diff
+depends_lib-append \
+                lib:libz.1:zlib \
+                port:xorg-xproto
 
-worksrcdir      ${name}
+worksrcdir      trunk/cotvnc
 
+patchfiles      patch-project.pbxproj.diff
+
 post-patch {
-    # .strings files should be UTF-16 but this project's are UTF-8.
-    # New Xcode versions convert them for us but we need a predictable
-    # encoding for the sed script that the Xcode project runs.
-    foreach f [glob ${worksrcpath}/Resources/*.lproj/InfoPlist.strings] {
-        move ${f} ${f}.tmp
-        system "iconv -f UTF-8 -t UTF-16 ${f}.tmp > ${f}"
-    }
+    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Chicken.xcodeproj/project.pbxproj
 }
 
 xcode.destroot.settings SKIP_INSTALL=NO
@@ -63,6 +58,9 @@
     }
 }
 
-livecheck.regex "/cotvnc/Chicken\ of\ the\ VNC\ (\[a-zA-Z0-9.\]+)/${name}-(\[a-zA-Z0-9\]+)-source${extract.suffix}"
-livecheck.type  regex
-livecheck.url   http://sourceforge.net/api/file/index/project-id/64347/mtime/desc/limit/20/rss
+#subport cotvnc-devel {
+#    conflicts       cotvnc
+#
+#    version         2016-01-27
+#    svn.revision    837
+#}

Modified: trunk/dports/aqua/cotvnc/files/patch-project.pbxproj.diff
===================================================================
--- trunk/dports/aqua/cotvnc/files/patch-project.pbxproj.diff	2016-10-18 18:08:32 UTC (rev 154025)
+++ trunk/dports/aqua/cotvnc/files/patch-project.pbxproj.diff	2016-10-18 19:05:37 UTC (rev 154026)
@@ -1,11 +1,54 @@
---- Chicken of the VNC.xcodeproj/project.pbxproj.orig	2006-01-18 13:34:38.000000000 -0600
-+++ Chicken of the VNC.xcodeproj/project.pbxproj	2013-03-06 18:20:57.000000000 -0600
-@@ -887,7 +887,7 @@
- 			);
- 			runOnlyForDeploymentPostprocessing = 0;
- 			shellPath = /bin/sh;
--			shellScript = "cd \"$TARGET_BUILD_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION/Contents\"\n\ncat ./Info.plist \\\n| sed s/__VERSION__/$_CHICKEN_VERSION_/ \\\n> ./Info.plist.tmp \\\n&& mv -f ./Info.plist.tmp ./Info.plist\n\nTESTPATH=./Resources/*.lproj/InfoPlist.strings\nfor path in $TESTPATH ; do\n\tif [ $path != \"$TESTPATH\" ]; then\n\t\tcat \"$path\" \\\n\t\t| sed s/__VERSION__/$_CHICKEN_VERSION_/ \\\n\t\t> \"$path.tmp\" \\\n\t\t&& mv -f \"$path.tmp\" \"$path\"\n\tfi\ndone";
-+			shellScript = "cd \"$TARGET_BUILD_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION/Contents\"\n\ncat ./Info.plist \\\n| sed s/__VERSION__/$_CHICKEN_VERSION_/ \\\n> ./Info.plist.tmp \\\n&& mv -f ./Info.plist.tmp ./Info.plist\n\nTESTPATH=./Resources/*.lproj/InfoPlist.strings\nfor path in $TESTPATH ; do\n\tif [ $path != \"$TESTPATH\" ]; then\n\t\ticonv -f UTF-16 -t UTF-8 \"$path\" \\\n\t\t| sed s/__VERSION__/$_CHICKEN_VERSION_/ \\\n\t\t| iconv -f UTF-8 -t UTF-16 \\\n\t\t> \"$path.tmp\" \\\n\t\t&& mv -f \"$path.tmp\" \"$path\"\n\tfi\ndone";
- 		};
- 		E23631DC0646E907000D00B6 /* ShellScript */ = {
- 			isa = PBXShellScriptBuildPhase;
+--- Chicken.xcodeproj/project.pbxproj	2016-10-18 08:50:30.000000000 -0600
++++ Chicken.xcodeproj/project.pbxproj.orig	2016-10-18 08:49:32.000000000 -0600
+@@ -1485,10 +1485,10 @@
+ 				GCC_DYNAMIC_NO_PIC = NO;
+ 				GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+-				HEADER_SEARCH_PATHS = "";
++				HEADER_SEARCH_PATHS = "__PREFIX__/include";
+ 				INFOPLIST_FILE = Resources/Info.plist;
+ 				INSTALL_PATH = "$(HOME)/Applications";
+-				LIBRARY_SEARCH_PATHS = "";
++				LIBRARY_SEARCH_PATHS = "__PREFIX__/lib";
+ 				MACOSX_DEPLOYMENT_TARGET = 10.4;
+ 				NASM_OTHER_FLAGS = "-I $(SRCROOT)/libjpeg-turbo/simd/";
+ 				OTHER_CFLAGS = "";
+@@ -1521,10 +1521,10 @@
+ 				FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)\"";
+ 				GCC_ALTIVEC_EXTENSIONS = YES;
+ 				GCC_ENABLE_FIX_AND_CONTINUE = NO;
+-				HEADER_SEARCH_PATHS = "";
++				HEADER_SEARCH_PATHS = "__PREFIX__/include";
+ 				INFOPLIST_FILE = Resources/Info.plist;
+ 				INSTALL_PATH = "$(HOME)/Applications";
+-				LIBRARY_SEARCH_PATHS = "";
++				LIBRARY_SEARCH_PATHS = "__PREFIX__/lib";
+ 				MACOSX_DEPLOYMENT_TARGET = 10.4;
+ 				NASM_OTHER_FLAGS = "-I $(SRCROOT)/libjpeg-turbo/simd/";
+ 				OTHER_CFLAGS = "";
+@@ -1554,10 +1554,10 @@
+ 				FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
+ 				FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)\"";
+ 				GCC_ALTIVEC_EXTENSIONS = YES;
+-				HEADER_SEARCH_PATHS = "";
++				HEADER_SEARCH_PATHS = "__PREFIX__/include";
+ 				INFOPLIST_FILE = Resources/Info.plist;
+ 				INSTALL_PATH = "$(HOME)/Applications";
+-				LIBRARY_SEARCH_PATHS = "";
++				LIBRARY_SEARCH_PATHS = "__PREFIX__/lib";
+ 				MACOSX_DEPLOYMENT_TARGET = 10.4;
+ 				NASM_OTHER_FLAGS = "-I $(SRCROOT)/libjpeg-turbo/simd/";
+ 				OTHER_CFLAGS = "";
+@@ -1624,10 +1624,10 @@
+ 				GCC_DYNAMIC_NO_PIC = NO;
+ 				GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ 				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+-				HEADER_SEARCH_PATHS = "";
++				HEADER_SEARCH_PATHS = "__PREFIX__/include";
+ 				INFOPLIST_FILE = Resources/Info.plist;
+ 				INSTALL_PATH = "$(HOME)/Applications";
+-				LIBRARY_SEARCH_PATHS = "";
++				LIBRARY_SEARCH_PATHS = "__PREFIX__/lib";
+ 				MACOSX_DEPLOYMENT_TARGET = 10.4;
+ 				NASM_OTHER_FLAGS = "-I $(SRCROOT)/libjpeg-turbo/simd/";
+ 				OTHER_CFLAGS = "";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161018/14adb62c/attachment-0002.html>


More information about the macports-changes mailing list