summary refs log tree commit diff stats
path: root/doc
Commit message (Expand)AuthorAgeFilesLines
* Fix macros.quote custom op symbol interpolation. (#17256)quantimnot2021-03-051-40/+58
* deprecate newruntime (#17245)flywind2021-03-042-3/+2
* rename prepareStrMutation to prepareMutation (#17235)flywind2021-03-031-4/+4
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-021-0/+1
* fix #16731: using deprecated flags triggers a warning (#17225)Timothee Cour2021-03-021-1/+1
* document copy on write behavior of string literals in arc/orc (#17224)flywind2021-03-021-0/+70
* Remove the note about old naming conventions (#17222)Danil Yarantsev2021-03-021-9/+0
* Follow NEP1 in NEP1 (#17221)Danil Yarantsev2021-03-021-1/+1
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-2/+0
* Change stdlib imports to use std prefix in most examples (#17202)Danil Yarantsev2021-02-283-6/+6
* document `;` vs `,` for generic params (#17192)Timothee Cour2021-02-261-1/+6
* add enumutils.items for sparse enums, typetraits.SomeSparseEnum (#17080)Timothee Cour2021-02-231-0/+3
* document type bound operators (#17063)Timothee Cour2021-02-232-2/+45
* remove tests/deps/ (#17132)Timothee Cour2021-02-231-1/+1
* fix prelude regression refs #16238: `include prelude` doesn't interfere with ...Timothee Cour2021-02-221-29/+0
* followup #17077: also use assert instead of doAssert for `code-block` rst blo...Timothee Cour2021-02-211-1/+2
* promote std prefix in docs (#17128)flywind2021-02-209-41/+41
* move prelude so that `include std/prelude` also works (#17110)Timothee Cour2021-02-201-3/+3
* stricter checks for RST headlines (#17089)Andrey Makarov2021-02-203-3/+3
* [nep1] Use `std` prefix for standard library modules (#17105)flywind2021-02-191-1/+4
* workaround #17091: manual.rst now renders as RST in github (#17092)Timothee Cour2021-02-191-7/+8
* contributing: prefer assert to doAssert in runnableExamples (#17077)Timothee Cour2021-02-181-7/+24
* followup #17065 (#17090)Timothee Cour2021-02-181-1/+1
* nep1: triple quote literals should start with newline (#17065)Timothee Cour2021-02-181-0/+21
* Fixing unexistant word in PT (#17070)KioriSun2021-02-171-1/+1
* document `since` (#17048)Timothee Cour2021-02-161-1/+1
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-151-0/+13
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-132-60/+64
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-111-0/+3
* nep1: prefer `a..b` to `a .. b` except if `b` has an operator (eg: `a .. -1`)...Timothee Cour2021-02-101-0/+3
* fix ./koch pdf command (#16989)Andrey Makarov2021-02-091-0/+7
* tests and docs for call operator (#16980)hlaaftana2021-02-091-1/+33
* Deprecate any (#16920)Juan Carlos2021-02-081-1/+0
* rename case statement macro from match to `case` (#16923)hlaaftana2021-02-081-13/+11
* nep1: prefer `self` to `this` (#16927)Timothee Cour2021-02-041-4/+7
* fix #16885: nimdoc css warning (#16893)zetashift2021-02-011-0/+2
* Updated nimsuggest doc to explain connection to nim compiler and use of confi...Don-Duong Quach2021-02-011-0/+5
* small fix in grammar.txt [ci skip]narimiran2021-01-281-1/+1
* fix #16752: threadvar now works with importcpp types; osx now uses native TLS...Timothee Cour2021-01-271-0/+13
* Make small text changes in the docs (#16634)Elliot Waite2021-01-253-117/+120
* Small changes to std/sums (#16797)konsumlamm2021-01-251-1/+1
* fix code-block (#16799)Timothee Cour2021-01-231-1/+1
* fix manual to reflect reality for .nosideeffect (#16781)Timothee Cour2021-01-221-6/+25
* Add std/setutils to lib.rst (#16791)konsumlamm2021-01-221-9/+9
* fix noDecl => nodecl (#16760)Timothee Cour2021-01-201-4/+4
* Reboot of #16195 (#16746)Clyybber2021-01-201-2/+8
* `--hintAsError` (#16763)Timothee Cour2021-01-201-2/+2
* add link to Nim Basics in tut1.rst [ci skip]narimiran2021-01-201-2/+7
* intsets are not deprecatedAndreas Rumpf2021-01-191-1/+0
* Improve documentation for packedsets (#16715)konsumlamm2021-01-161-11/+15
er James Booth <boothj5@gmail.com> 2012-07-22 00:49:19 +0100 Added Fedora support to install-all.sh' href='/danisanti/profani-tty/commit/install-all.sh?id=76fe37efb7c1c59f0de5cdd7099991d19e9da4c7'>76fe37ef ^
bdb8ea3f ^


76fe37ef ^




ee8ec99e ^











2b88e2f1 ^
8f0bc28b ^

2b88e2f1 ^
8f0bc28b ^
80b2aa0f ^
2b88e2f1 ^
8f0bc28b ^

192656e5 ^
8f0bc28b ^










bdb8ea3f ^


8f0bc28b ^




76fe37ef ^





2b88e2f1 ^

76fe37ef ^







0a1e8d9c ^






7f962895 ^
76fe37ef ^

7f962895 ^


04605a5f ^
7f962895 ^
f736a248 ^

fceec61a ^

7f962895 ^
24a60449 ^




76fe37ef ^


7f962895 ^

76fe37ef ^

24a60449 ^
2b88e2f1 ^
8f0bc28b ^
24a60449 ^

2b88e2f1 ^
8f0bc28b ^
76fe37ef ^
b2cb4662 ^
2b88e2f1 ^
3c5d5e2e ^
b2cb4662 ^

f736a248 ^
2b88e2f1 ^
f736a248 ^


24a60449 ^
2b88e2f1 ^
8f0bc28b ^
76fe37ef ^


76fe37ef ^
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216


               
 

                  









                                                                                               
                








                                                          
                                                                                                                                                                                                                                  


 
                




                                                       
                                                                                                                                                                                                                                   

 

                  


                                                      
                                                                                                                                                                                                                                          

 








                                                      
                                                                                                                                                                                              

 





                                                       
                                                                     
                                 
                                                                                                                                                                                                                                                                                                                                                        
        
                                                                                                                                                                                                                                                                                                                                         
 
      

 
                    

        
                                                    
        
                                                      
                
                  
                           










                                                    


                                            




                     











                                                                                      
                        

        
                                                    
        
                                                      
                

                                                               
                             










                                                    


                                            




                





                                           

                                         







                                         






                               
             

            


                                       
                                         
                   

                                         

                                     
      




                             


               

                                                             

                
                          
                                   
                             

                          
                                   
                             
              
                            
                                         
                               

                             
                          
                                   


                             
                          
                                  
                                 


              
       
#!/bin/bash

set -o errtrace

STATUS=development

error_handler()
{
        ERR_CODE=$?
        echo "Error $ERR_CODE with command '$BASH_COMMAND' on line ${BASH_LINENO[0]}. Exiting."
        exit $ERR_CODE

}

trap error_handler ERR

debian_prepare()
{
    echo
    echo Profanity installer ... updating apt repositories
    echo
    sudo apt-get update

    echo
    echo Profanity installer... installing dependencies
    echo
    sudo apt-get -y install git automake autoconf libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr5-dev libreadline-dev libtool libgpgme11-dev libgtk2.0-dev autoconf-archive

}

fedora_prepare()
{
    echo
    echo Profanity installer... installing dependencies
    echo

    sudo dnf -y install gcc git autoconf automake openssl-devel expat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool gpgme-devel gtk2-devel autoconf-archive
}

opensuse_prepare()
{
    echo
    echo Profanity installer...installing dependencies
    echo
    sudo zypper -n in gcc git automake make autoconf libopenssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool libgpgme-devel autoconf-archive
}

centos_prepare()
{
    echo
    echo Profanity installer...installing dependencies
    echo

    sudo yum -y install epel-release
    sudo yum -y install git
    sudo yum -y install gcc autoconf automake cmake
    sudo yum -y install openssl-devel expat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool gpgme-devel autoconf-archive
}

cygwin_prepare()
{
    echo
    echo Profanity installer... installing dependencies
    echo

    if ! command -v apt-cyg &>/dev/null; then cyg_install_apt_cyg; fi
    if [ -n "$CYG_MIRROR" ]; then
        apt-cyg -m $CYG_MIRROR install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel libgcrypt-devel libreadline-devel libgpgme-devel libtool libpcre-devel libisl10 libcloog-isl4 autoconf-archive
    else
        apt-cyg install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel libgcrypt-devel libreadline-devel libgpgme-devel libtool libpcre-devel libisl10 libcloog-isl4 autoconf-archive

    fi
}

install_lib_mesode()
{
    echo
    echo Profanity installer... installing libmesode
    echo
    git clone https://github.com/boothj5/libmesode.git
    cd libmesode
    ./bootstrap.sh
    ./configure --prefix=$1
    make
    sudo make install

    cd ..
}

install_profanity()
{
    echo
    echo Profanity installer... installing Profanity
    echo
    if [ "${STATUS}" = "development" ]; then
        ./bootstrap.sh
    fi
    ./configure
    make
    sudo make install
}

cyg_install_apt_cyg()
{
    echo
    echo Profanity installer... installing apt-cyg
    echo
    wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
    #wget --no-check-certificate https://raw.github.com/boothj5/apt-cyg/master/apt-cyg
    #wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
    chmod +x apt-cyg
    mv apt-cyg /usr/local/bin/

}
cyg_install_lib_mesode()
{
    echo
    echo Profanity installer... installing libmesode
    echo
    git clone https://github.com/boothj5/libmesode.git
    cd libmesode
    ./bootstrap.sh
    ./bootstrap.sh # second call seems to fix problem on cygwin
    ./configure --prefix=/usr
    make
    make install

    cd ..
}

cyg_install_profanity()
{
    echo
    echo Profanity installer... installing Profanity
    echo
    if [ "${STATUS}" = "development" ]; then
        ./bootstrap.sh
    fi
    ./configure
    make
    make install
}

cleanup()
{
    echo
    echo Profanity installer... cleaning up
    echo

    echo Removing libmesode repository...
    rm -rf libmesode

    echo
    echo Profanity installer... complete!
    echo
    echo Type \'profanity\' to run.
    echo
}

while getopts m: opt
do
    case "$opt" in
        m) CYG_MIRROR=$OPTARG;;
    esac
done

OS=`uname -s`
DIST=unknown

if [ "${OS}" = "Linux" ]; then
    if [ -f /etc/fedora-release ]; then
        DIST=fedora
    elif [ -f /etc/debian_version ]; then
        DIST=debian
    elif [ -f /etc/centos-release ]; then
        DIST=centos
    elif [ -f /etc/os-release ]; then
        DIST=opensuse
    fi
else
    echo $OS | grep -i cygwin
    if [ "$?" -eq 0 ]; then
        DIST=cygwin
    fi
fi

case "$DIST" in
unknown)    echo The install script will not work on this OS.
            echo Try a manual install instead.
            exit
            ;;
fedora)     fedora_prepare
            install_lib_mesode /usr
            install_profanity
            ;;
debian)     debian_prepare
            install_lib_mesode /usr
            install_profanity
            ;;
opensuse)   opensuse_prepare
            install_lib_mesode /usr/local
            sudo /sbin/ldconfig
            install_profanity
            ;;
centos)     centos_prepare
            install_lib_mesode /usr
            sudo ldconfig
            install_profanity
            ;;
cygwin)     cygwin_prepare
            cyg_install_lib_mesode
            cyg_install_profanity
            ;;
esac

cleanup