require 'formula' class Csync < Formula homepage 'http://www.csync.org/' stable do url 'http://www.csync.org/files/csync-0.49.9.tar.gz' sha1 'fd7df6c13aa6fc6de74cb48c2ac35ad11f6d895d' depends_on 'log4c' depends_on 'samba' end head do url 'git://git.csync.org/projects/csync.git' # Log4c and libsmbclient are optional in HEAD. depends_on 'log4c' => :optional depends_on 'samba' => :optional end depends_on 'check' => :build depends_on 'cmake' => :build depends_on 'doxygen' => [:build, :optional] depends_on 'argp-standalone' depends_on 'iniparser' depends_on 'sqlite' depends_on 'libssh' => :optional depends_on :macos => :lion def patches DATA end def install mkdir 'build' unless build.head? cd 'build' do system "cmake", "..", *std_cmake_args # We need to run make csync first to make the "core", # or the build system will freak out and try to link # modules against core functions that aren't compiled # yet. We also have to patch "link.txt" for all module # targets. This should probably be reported upstream. system "make csync" inreplace Dir['modules/CMakeFiles/*/link.txt'] do |s| s.gsub! '-o', "../src/libcsync.dylib ../src/std/libcstdlib.a -o" end # Now we can make and install. system "make all" system "make install" end end test do system "csync", "-V" end end __END__ --- a/src/csync_propagate.c 2012-07-01 13:12:12.000000000 +0200 +++ b/src/csync_propagate.c 2012-07-01 13:12:59.000000000 +0200 @@ -101,10 +101,6 @@ /* Open the source file */ ctx->replica = srep; flags = O_RDONLY|O_NOFOLLOW; - /* O_NOATIME can only be set by the owner of the file or the superuser */ - if (st->uid == ctx->pwd.uid || ctx->pwd.euid == 0) { - flags |= O_NOATIME; - } sfp = csync_vio_open(ctx, suri, flags, 0); if (sfp == NULL) { if (errno == ENOMEM) { ngular-locale_en-za.js?id=3c12d36e730dfbf8e2dbba773df5879437276d7a'>diffstats
path: root/src/ngLocale/angular-locale_en-za.js
blob: 289697031350eff864a2e17624dac594d2407216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
  "DATETIME_FORMATS": {
    "AMPMS": [
      "AM",
      "PM"
    ],
    "DAY": [
      "Sunday",
      "Monday",
      "Tuesday",
      "Wednesday",
      "Thursday",
      "Friday",
      "Saturday"
    ],
    "MONTH": [
      "January",
      "February",
      "March",
      "April",
      "May",
      "June",
      "July",
      "August",
      "September",
      "October",
      "November",
      "December"
    ],
    "SHORTDAY": [
      "Sun",
      "Mon",
      "Tue",
      "Wed",
      "Thu",
      "Fri",
      "Sat"
    ],
    "SHORTMONTH": [
      "Jan",
      "Feb",
      "Mar",
      "Apr",
      "May",
      "Jun",
      "Jul",
      "Aug",
      "Sep",
      "Oct",
      "Nov",
      "Dec"
    ],
    "fullDate": "EEEE dd MMMM y",
    "longDate": "dd MMMM y",
    "medium": "dd MMM y h:mm:ss a",
    "mediumDate": "dd MMM y",
    "mediumTime": "h:mm:ss a",
    "short": "yyyy/MM/dd h:mm a",
    "shortDate": "yyyy/MM/dd",
    "shortTime": "h:mm a"
  },
  "NUMBER_FORMATS": {
    "CURRENCY_SYM": "R",
    "DECIMAL_SEP": ",",
    "GROUP_SEP": "\u00a0",
    "PATTERNS": [
      {
        "gSize": 3,
        "lgSize": 3,
        "macFrac": 0,
        "maxFrac": 3,
        "minFrac": 0,
        "minInt": 1,
        "negPre": "-",
        "negSuf": "",
        "posPre": "",
        "posSuf": ""
      },
      {
        "gSize": 3,
        "lgSize": 3,
        "macFrac": 0,
        "maxFrac": 2,
        "minFrac": 2,
        "minInt": 1,
        "negPre": "(\u00a4",
        "negSuf": ")",
        "posPre": "\u00a4",
        "posSuf": ""
      }
    ]
  },
  "id": "en-za",
  "pluralCat": function (n) {  if (n == 1) {   return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
});
}]);