Changes between Version 26 and Version 27 of ClearSilver
- Timestamp:
- Jan 17, 2015, 4:38:04 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClearSilver
v26 v27 1 = ClearSilver =1 = ClearSilver 2 2 3 '''Clearsilver''' (http://www.clearsilver.net/)is a powerful and flexible HTML templating engine.3 [http://www.clearsilver.net/ Clearsilver] is a powerful and flexible HTML templating engine. 4 4 ---- 5 Clearsilver has its drawbacks, and after a few years of successful (but sometimes frustrating) use, the TracTeam unanimously--and enthusiastically!--decided to go for another templating engine: '''[http://genshi.edgewall.org Genshi]'''. 6 7 Therefore, starting with [milestone:0.11], Trac will no longer ''require'' Clearsilver. However, through 0.12 Trac will retain the infrastructure needed to support plugins using Clearsilver. 5 Clearsilver has its drawbacks, and after a few years of successful but sometimes frustrating use, the TracTeam unanimously--and enthusiastically!--decided to switch to another templating engine: '''[http://genshi.edgewall.org Genshi]'''. 6 Starting with [milestone:0.11], Trac will no longer ''require'' Clearsilver. However, through 0.12 Trac will retain the infrastructure needed to support plugins using Clearsilver. 8 7 9 8 Plugin developers should nonetheless consider switching to Genshi during the transition phase of 0.11 development. 10 See ["TracDev/ApiChanges/0.11#MigratingawayfromClearsilver"] 9 See ["TracDev/ApiChanges/0.11#MigratingawayfromClearsilver"]. 11 10 12 11 Trac 0.12 still contains the Clearsilver supporting code, although the code is no longer supported. … … 16 15 ---- 17 16 18 == Download ==17 == Download 19 18 20 Official [http://www.clearsilver.net/downloads downloads]19 Official [http://www.clearsilver.net/downloads Clearsilver downloads]. 21 20 22 21 For Python 2.5, you need to build the package yourself, and you probably need the following patch: googlegroups:trac-users:5b502b38f4e13c8f 23 22 24 Furthermore for Python 2.5 on Win32 there is an egg build (and instructions) at http://tn123.ath.cx/clearsilver/23 Furthermore, for Python 2.5 on Win32 there is an egg build and instructions at http://tn123.ath.cx/clearsilver/. 25 24 26 == Building the package yourself ==25 == Building the package yourself 27 26 28 If you have to build the package yourself, be sure 29 to build a '''thread-safe''' version of the library. 27 If you have to build the package yourself, be sure to build a '''thread-safe''' version of the library. 30 28 There's no explicit configuration switch for that. 31 Just pay attention to the ''Checking pthread.h... yes'' 32 line during configuration. If it's ''no'', then you'll 33 have to fix the configuration step yourself 34 (see that [/trac/ticket/1764#change_15 comment]). 29 Just pay attention to the ''Checking pthread.h... yes'' line during configuration. If it's ''no'', then you'll have to fix the configuration step yourself, see that [/trac/ticket/1764#change_15 comment]. 35 30 36 Non thread-safe builds have been reported to '''not''' 37 work with Trac in a multi-threaded setup 38 (see the comment linked above). 31 Non thread-safe builds have been reported to '''not''' work with Trac in a multi-threaded setup, see the comment linked above. 39 32 40 33 On `x86_64` platforms, the 0.10.x series is needed. 41 For gcc4, the latest release (0.10.2) should be used. (Should this page be updated to reflect 0.10.4?)34 For [https://gcc.gnu.org/ gcc4], Trac release 0.10+ should be used. 42 35 43 === ClearSilver 0.10.2 ===36 === ClearSilver 0.10.2 44 37 45 There's a typo in the configure scripts. 46 You'll need to apply the following patch first: 38 There's a typo in the configure scripts. You'll need to apply the following patch first: 47 39 {{{ 48 40 #!diff … … 73 65 }}} 74 66 75 Then ,you can call `configure`, for example like this:67 Then you can call `configure`, for example like this: 76 68 {{{ 77 69 ./configure --prefix=/opt/clearsilver-0.10.2 \ … … 80 72 }}} 81 73 82 At this point , `make && make install` should work. (Be Warned: Should is very relative).74 At this point `make && make install` should work. Caution: 'should' is relative. 83 75 84 76 Note for *BSD: you may have to use GNUmake by using `gmake` because `make` may not work. 85 77 86 Note for x86_64 Linux: ClearSilver is known not to compile on RHEL 4.x x86_64. The ClearSilver developers have not responded except to occasionally nuke threads on their mailing list about the topic. .. Consider using Trac.11-devel instead. (This might no longer be true for clearsilver 0.10.5, I've compiled & installed without issue on x86_64)78 Note for x86_64 Linux: ClearSilver is known not to compile on RHEL 4.x x86_64. The ClearSilver developers have not responded except to occasionally nuke threads on their mailing list about the topic. Consider using Trac 0.11-devel instead. (This might no longer be true for clearsilver 0.10.5, I've compiled & installed without issue on x86_64) 87 79 88 Useful thread here on Python2.5 and Clearsilver10.3, covers compiling and making things work on x86_64.https://launchpad.net/ubuntu/+source/clearsilver/+bug/8668580 Useful thread here on Python2.5 and Clearsilver10.3, which covers compiling and configuring on x86_64: https://launchpad.net/ubuntu/+source/clearsilver/+bug/86685