Edgewall Software

Changes between Version 49 and Version 50 of TracOnGentoo


Ignore:
Timestamp:
Jan 26, 2015, 9:12:11 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracOnGentoo

    v49 v50  
    1 = Installing and Running Trac on Gentoo =
    2 '''WARNING'''
    3 This page seems very out of date.  Have a look at this first: [http://en.gentoo-wiki.com/wiki/Trac Trac - Gentoo Wiki page]
     1= Installing and Running Trac on Gentoo
    42
    5 
    6 '''Warning: be sure to read the generic TracInstall instructions about the recommended versions of the dependent packages. In particular, pysqlite-1.1.6 is ''no longer'' the recommended version. Use 2.3.2 instead.'''
    7 
    8 Trac is included in portage as of 2004/04/29. Installing is as simple as:
     3Trac is included in [http://packages.gentoo.org/package/www-apps/trac Gentoo portage] as of 2004/04/29. Installing is as simple as:
    94
    105{{{
     
    138
    149Past that, normal Trac configuration should apply.
     10For the instructions below, read the generic TracInstall instructions about the recommended versions of the dependent packages.
    1511
    16 Someone's put together a really nice guide to setting up trac on gentoo [http://home.dju.elegiac.net/wiki/MultipleTracInstancesOnGentoo here].
     12A nice guide to setting up Trac on gentoo [http://www.gentoo-wiki.info/Trac here].
    1713
    18 There were a couple of little things that were required to make Trac on Gentoo work.
     14There were a couple of things that were required to make Trac on Gentoo work.
    1915
    2016 * Make sure your berkdb and python use flags are set!
     
    2218 * '''If you have any trouble, go down to the bottom and start emerging components this is how I figured out that the svn bindings for Python weren't building, etc..''' Be sure to run the python update script if needed.
    2319
    24  * Once built, your alias for /trac will be different from the TracInstall doc. It'll look something like this:
     20 * Once built, your alias for /trac will be different from the TracInstall doc. It will look something like this:
    2521
    2622{{{
     
    3026This makes Trac all pretty, like you're used to seeing! Otherwise it's got essentially no layout.
    3127
    32 == Install Trac from Source ==
     28== Install Trac from Source
    3329
    34 Attached is the ebuild to build trac from it's source:trunk.
    35 To use it save and extract it to your '''PORTDIR_OVERLAY''', normally
     30Attached is the ebuild to build trac from its source:trunk.
     31To use it save and extract it to your '''PORTDIR_OVERLAY''', normally:
    3632{{{
    3733/usr/local/portage/www-apps
     
    5248mkdir /usr/local/portage/dev-python
    5349cd /usr/local/portage/dev-python
    54 wget http://projects.edgewall.com/trac/attachment/wiki/TracOnGentoo/pysqlite-1.1.6.tar
    55 tar xvf pysqlite-1.1.6.tar
    56 rm pysqlite-1.1.6.tar
     50wget http://projects.edgewall.com/trac/attachment/wiki/TracOnGentoo/pysqlite-2.3.2.tar
     51tar xvf pysqlite-2.3.2.tar
     52rm pysqlite-2.3.2.tar
    5753}}}
    5854To build from what Gentoo provides, although I havent tested like this, simply do:
     
    6965echo =dev-util/subversion-1.2.1 ~x86 >> /etc/portage/package.keywords
    7066}}}
    71 And you'll probably will also need to(portage will complain):
     67And you'll probably will also need to do the following:
    7268{{{
    7369echo =net-www/apache-2.0.54-r13 ~x86 >> /etc/portage/package.keywords
     
    7773}}}
    7874
    79 '''Note:''' portage will complain because this is NOT the right way to do it!  You need to use the newer method to unmask masked packages. Please see http://gentoo-wiki.com/Masked for the right way to do this.
     75'''Note:''' portage will complain because this is NOT the right way to do it! You need to use the newer method to unmask masked packages. Please see http://gentoo-wiki.com/Masked for the right way to do this.
    8076
    81 These are the ebuilds I'm using:
     77These are the ebuilds you can use:
    8278{{{
    8379dev-lang/python-2.3.5
     
    8581dev-util/subversion-1.2.1
    8682dev-db/sqlite-3.2.1-r3
    87 dev-python/pysqlite-1.1.6 [cutom ebuild - see attached]
     83dev-python/pysqlite-2.3.2 [cutom ebuild - see attached]
    8884dev-libs/clearsilver-0.9.7
    8985dev-python/docutils-0.3.5
     
    9187}}}
    9288
    93 == My two cents, 2006-02-24 ==
     89== My two cents, 2006-02-24
    9490
    9591(I'm fairly good with Gentoo).
    9692
    97 I'm not sure berkdb needs to be set as mentioned above by another user.  You do need to choose between sqlite and postgresql though.  Newer ebuilds don't assume sqlite.  It may be a good idea to set this in /etc/portage/package.use.  This is what I put in there:
     93I'm not sure berkdb needs to be set as mentioned above by another user. You do need to choose between SQLite and Postgresql though. Newer ebuilds don't assume SQLite. It may be a good idea to set this in /etc/portage/package.use, such as:
    9894
    9995{{{
    100 www-apps/trac  enscript silvercity sqlite vhosts
     96www-apps/trac enscript silvercity sqlite vhosts
    10197}}}
    10298
    103 There may be some instructions in the output from the ebuilds along the way.  Pay attention to these.  For instance, you may get this while emerging webapp-config:
     99There may be some instructions in the output from the ebuilds along the way. For instance, you may get this while emerging webapp-config:
    104100
    105101{{{
     
    109105}}}
    110106
    111 And later, while emerging trac itself, I got this message because I enabled the vhosts USE flag:
     107And later, while emerging Trac itself, I got this message because I enabled the vhosts USE flag:
    112108
    113109{{{
     
    123119}}}
    124120
    125 If you do '''not''' want trac installed into a virtual host, you can remove the 'vhosts' USE flag, and the installation will continue through installing it at /trac on the default host:
     121If you do '''not''' want Trac installed into a virtual host, you can remove the 'vhosts' USE flag, and the installation will continue through installing it at /trac on the default host:
    126122
    127123{{{
     
    140136}}}
    141137
    142 == 2010/08, personal use ==
    143 trac-0.12  no postgres/mysql, sqlite used.
     138== Personal use, 2010/08
     139
     140For Trac-0.12 no Postgres/MySQL, SQLite used:
     141
    144142{{{
    145143# emerge -vu apache mod_python trac