Trac is being migrated to new services! Issues can be found in our new 
YouTrack instance and WIKI pages can be found on our 
website.
        
      
    
      
      
      
        - Timestamp:
- 
            Dec 27, 2009, 4:18:41 AM (14 years ago)
        
- Author:
- 
          kevdog
        
- Comment:
- 
          
          
--
 
        
          Legend:
          
            - Unmodified
- Added
- Removed
- Modified
 
        
  
      - 
        
        
              
              
                
                  | v66 | v67 |  |  
                          | 110 | 110 | * If you want to build the Pidgin installer, do the following (skip to the `make` command below if you chose to use the Build Environment Fetcher): |  
                          | 111 | 111 | * Download and install [http://nsis.sourceforge.net/Download NSIS]. Include NSIS to your PATH. |  
                        | 112 |  | For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website]. |  
                        |  | 112 | For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website].[[BR]] |  
                        |  | 113 | NSIS version 2.46 or greater is required to cross-compile.  If compiling NSIS from source, the [http://www.scons.org/ scons] package is a dependency.  This can usually be installed through your linux distribution's package archive.  An example of how to install the NSIS package is given below (Assuming use of the NSIS 2.46 version): |  
                        |  | 114 |  |  
                        |  | 115 | .tar.bz2 file contains latest source[[BR]] |  
                        |  | 116 | .zip file contains libraries |  
                        |  | 117 | {{{ |  
                        |  | 118 | $ mkdir nsis;cd nsis |  
                        |  | 119 | $ wget http://prdownloads.sourceforge.net/nsis/nsis-2.46-src.tar.bz2?download |  
                        |  | 120 | $ wget http://prdownloads.sourceforge.net/nsis/nsis-2.46.zip?download |  
                        |  | 121 | $ tar -jxvf nsis-2.46-src.tar.bz2 |  
                        |  | 122 | $ cd nsis-2.46 |  
                        |  | 123 | $ scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no |  
                        |  | 124 | $ sudo scons install-compiler |  
                        |  | 125 | $ cd .. |  
                        |  | 126 | $ sudo unzip nsis-2.46 -d /usr/local/share |  
                        |  | 127 | $ sudo mv /usr/local/share/nsis-2.46/ /usr/local/share/nsis |  
                        |  | 128 | }}} |  
                        |  | 129 | If following the above instructions, the local.mak file ([#CrossCompiling listed below]) should be modified[[BR]] |  
                        |  | 130 | MAKENSIS := /usr/local/bin/makensis |  
                        |  | 131 |  |  
                          | 113 | 132 | * Download [http://prdownloads.sourceforge.net/pidgin/gtk-2.14.7-rev-a-installer.tar.gz?download gtk-2.14.7-rev-a-installer.tar.gz] |  
                        | 114 |  | and extract it to `$PIDGIN_DEV_ROOT/`. From within the new `gtk_installer directory`, run `. build.sh` (this builds the GTK+ runtime installer, which the Pidgin installer will include).  |  
                        |  | 133 | and extract it to `$PIDGIN_DEV_ROOT/`. From within the new `gtk_installer directory`, run `. build.sh` (this builds the GTK+ runtime installer, which the Pidgin installer will include). **Please see [#CrossCompiling note below] if building on Ubuntu/Debian about modification of the build.sh file. |  
                          | 115 | 134 | * Download [/static/win32/pidgin-inst-deps.tar.gz pidgin-inst-deps.tar.gz] and extract under `$PIDGIN_DEV_ROOT/win32-dev`. |  
                          | 116 | 135 | * Now you can actually build the installer.[[BR]] |  
                  | … | … |  |  
                          | 155 | 174 | Create a `local.mak` file in the source directory root to override the Makefile variables - mine looks like this: |  
                          | 156 | 175 | {{{ |  
                          |  | 176 | SHELL := /bin/bash |  
                          | 157 | 177 | CC := /usr/bin/i586-mingw32msvc-cc |  
                          | 158 | 178 | GMSGFMT := msgfmt |  
                  | … | … |  |  
                          | 170 | 190 | If your distribution doesn't include a recent enough win32api, you can download it from the [http://www.mingw.org/ MinGW site], extract it into your `win32-dev` directory, and override the `INCLUDE_PATHS` and `LIB_PATHS` variables in your `local.mak` as I have done. |  
                          | 171 | 191 |  |  
                        | 172 |  | If you want to build the installers, you'll need to install NSIS.  On Debian and Ubuntu, the package name is `nsis`; this will likely be different elsewhere.  In order to build the GTK+ installer as mentioned above, the `build.sh` script referenced above needs to be changed.  The line starting with `makensis.exe` needs to be changed to read: |  
                        |  | 192 | If you want to build the installers, you'll need to install [#BuildthePidginInstaller NSIS].  On Debian and Ubuntu, the package name is `nsis`; this will likely be different elsewhere.  In order to build the GTK+ installer as mentioned above, the `build.sh` script referenced above needs to be changed.  The line starting with `makensis.exe` needs to be changed to read: |  
                          | 173 | 193 | {{{ |  
                          | 174 | 194 | makensis -V3 -DGTK_VERSION=$gtk_version -DGTK_REVISION=$gtk_revision gtk-installer.nsi |  
 
 
       
   
     
    
        All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public.  Do not post confidential information, especially passwords!