My MacPorts
Revision | 821e9d4dc944c91b809b074c1013a7c75e9db469 (tree) |
---|---|
Time | 2009-09-03 06:22:45 |
Author | Kazuki Sakamoto <sakamoto@splh...> |
Commiter | Kazuki Sakamoto |
macvim 20090903
@@ -2,7 +2,7 @@ | ||
2 | 2 | PortSystem 1.0 |
3 | 3 | |
4 | 4 | name macvim |
5 | -version 20090817 | |
5 | +version 20090903 | |
6 | 6 | revision 0 |
7 | 7 | categories editors |
8 | 8 | platforms darwin |
@@ -13,11 +13,12 @@ long_description MacVim supports multiple windows with tabbed editing and a host | ||
13 | 13 | homepage http://code.google.com/p/macvim-kaoriya/ |
14 | 14 | |
15 | 15 | #set gittag ${version} |
16 | -set gittag 0446064b8bc88af8599a37bd7f49e984567252c2 | |
16 | +set gittag c758f2aabeec405ad55808a1aa0aa5a0e891bd21 | |
17 | +patchfiles patch-docerator.py | |
17 | 18 | distname KaoriYa-${gittag} |
18 | 19 | use_zip yes |
19 | 20 | checksums \ |
20 | - ${distname}.zip sha1 fdc8ea4a58349b24f578c86c9ba683a971aeaf96 | |
21 | + ${distname}.zip sha1 7d71b0051db7f886ea08d7b526327aeb23862232 | |
21 | 22 | master_sites \ |
22 | 23 | "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&" |
23 | 24 | worksrcdir KaoriYa/src |
@@ -40,8 +41,11 @@ configure.cppflags -I${prefix}/include | ||
40 | 41 | configure.ldflags -L${prefix}/lib |
41 | 42 | |
42 | 43 | if {[variant_isset universal]} { |
43 | - configure.universal_target 10.4 | |
44 | - configure.args-append --with-mac-arch=both | |
44 | + configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 | |
45 | + configure.env-append MACOSX_DEPLOYMENT_TARGET_x86_64=10.6 | |
46 | + build.env-append MACOSX_DEPLOYMENT_TARGET=10.4 | |
47 | + build.env-append MACOSX_DEPLOYMENT_TARGET_x86_64=10.6 | |
48 | + configure.args-append --with-mac-arch=both | |
45 | 49 | set xcodeconfig Universal |
46 | 50 | } else { |
47 | 51 | set xcodeconfig Release |
@@ -51,11 +55,11 @@ use_parallel_build yes | ||
51 | 55 | |
52 | 56 | variant perl description {Enable Perl scripting} { |
53 | 57 | configure.args-append --enable-perlinterp |
54 | - depends_lib-append bin:perl:perl5.8 | |
58 | + depends_lib-append bin:perl:perl5.10 | |
55 | 59 | } |
56 | 60 | variant python description {Enable Python scripting} { |
57 | 61 | configure.args-append --enable-pythoninterp |
58 | - depends_lib-append bin:python:python25 | |
62 | + depends_lib-append bin:python:python26 | |
59 | 63 | } |
60 | 64 | variant ruby description {Enable Ruby scripting} { |
61 | 65 | configure.args-append --enable-rubyinterp |
@@ -0,0 +1,30 @@ | ||
1 | +--- MacVim/icons/docerator.py.orig | |
2 | ++++ MacVim/icons/docerator.py | |
3 | +@@ -49,12 +49,12 @@ | |
4 | + def data(self): | |
5 | + """Returns data in ARGB order (on intel, at least).""" | |
6 | + r = self.bitmapRep | |
7 | +- if r.bitmapFormat() != (NSAlphaNonpremultipliedBitmapFormat | | |
8 | +- NSAlphaFirstBitmapFormat) or \ | |
9 | +- r.bitsPerPixel() != 32 or \ | |
10 | +- r.isPlanar() or \ | |
11 | +- r.samplesPerPixel() != 4: | |
12 | +- raise Exception("Unsupported image format") | |
13 | ++# if r.bitmapFormat() != (NSAlphaNonpremultipliedBitmapFormat | | |
14 | ++# NSAlphaFirstBitmapFormat) or \ | |
15 | ++# r.bitsPerPixel() != 32 or \ | |
16 | ++# r.isPlanar() or \ | |
17 | ++# r.samplesPerPixel() != 4: | |
18 | ++# raise Exception("Unsupported image format") | |
19 | + return self.bitmapRep.bitmapData() | |
20 | + | |
21 | + def save(self, filename): | |
22 | +@@ -239,7 +239,7 @@ | |
23 | + shadowdata[idx + 3] = chr(0) | |
24 | + continue | |
25 | + | |
26 | +- assert ir == ig == ib | |
27 | ++# assert ir == ig == ib | |
28 | + grounddata[idx] = chr(255) | |
29 | + grounddata[idx + 1] = chr(255) | |
30 | + grounddata[idx + 2] = chr(255) |