<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Building</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>Recent changes to Building</description><atom:link href="https://sourceforge.net/p/transgui/wiki/Building/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 01 May 2015 20:26:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/transgui/wiki/Building/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/101249206412425124737" rel="nofollow"&gt;mos...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Building on Debian sid 64 bit to get the same binary as on site here &lt;a href="https://gist.github.com/4006964" rel="nofollow"&gt;https://gist.github.com/4006964&lt;/a&gt; . &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.netfc0993c1c3ada1c25fbd1237f8460f78bb3b3436</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/103349874951008028306" rel="nofollow"&gt;hwipar...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Building with Lazarus, the output executable (Linux, Qt4) was over 20 MB in size. However, I found two simple and useful tools: strip and upx. Using them I managed to make my binary size less than 2 MB. And yet, it works properly. At least it seems to :) Greetings from Poland :) &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.netaa35b9671a5396bba3cd13f6c10f42334b273e98</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/101672037443675894714" rel="nofollow"&gt;r.korv...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To build in Ubuntu 11.04 Install lazarus with "sudo apt-get install lazarus". This command automatically installs all needed dependencies. &lt;/p&gt;
&lt;p&gt;Then use "make" in the source directory to compile. After that build a zip package using "make zipdist". &lt;/p&gt;
&lt;p&gt;In the Release dir you'll find the file transgui-3.1-i386-linux.zip (or something like that), it contains your build. Use it as you like. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.netbe30625659b985688fc9ecac783a07412b1238ef</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/111075063782031698947" rel="nofollow"&gt;j...@cp-lab.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please create a patch and open a new issue in the Issued section. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.net24a58488ac7d25e683cebb45d2ab08489d358903</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/103963561972997915936" rel="nofollow"&gt;AKhromo...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For ubuntu 10.10. Changing notifications like this &lt;img alt="" src="http://img543.imageshack.us/img543/7972/tguimessage.png" rel="nofollow" /&gt;&lt;/p&gt;
&lt;p&gt;File &lt;em&gt;main.pas&lt;/em&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;procedure&lt;/span&gt; &lt;span class="nt"&gt;TMainForm&lt;/span&gt;&lt;span class="nc"&gt;.DownloadFinished&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;const&lt;/span&gt; &lt;span class="nt"&gt;TorrentName&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;begin&lt;/span&gt;
&lt;span class="nt"&gt;if&lt;/span&gt; &lt;span class="nt"&gt;not&lt;/span&gt; &lt;span class="nt"&gt;TrayIcon&lt;/span&gt;&lt;span class="nc"&gt;.Visible&lt;/span&gt; &lt;span class="nt"&gt;then&lt;/span&gt;
&lt;span class="nt"&gt;begin&lt;/span&gt; &lt;span class="nt"&gt;exit&lt;/span&gt; &lt;span class="nt"&gt;end&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="n"&gt;TrayIcon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BalloonHint&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="n"&gt;Format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sFinishedDownload&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;TorrentName&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;TrayIcon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BalloonTitle&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="n"&gt;sDownloadComplete&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;TrayIcon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ShowBalloonHint&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;Shell&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;Format&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'echo ''message:''%s'' has finished downloading'' | zenity --notification --listen --window-icon=/usr/share/icons/hicolor/48x48/apps/transmission.png --display=:0.0'&lt;/span&gt; &lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;TorrentName&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="o"&gt;));&lt;/span&gt;
&lt;span class="nt"&gt;end&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.net1627a13e2171bb8629be94488f4ff304efcb4e37</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/111075063782031698947" rel="nofollow"&gt;j...@cp-lab.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I rebuild LCL with optimization and smartlinking enabled (-O2 -CX switches) The final executable is build with smartlinking as well (-CX -XX switches) &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.net514b21109f282bce33d90f0b23b9152eb671862a</guid></item><item><title>Discussion for Building page</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/117436509288419071685" rel="nofollow"&gt;9459...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can somebody give more detailed instructions how to get final result (binary file) on linux, gtk+. Because if you follow the above instructions (1st post), you will get a binary file of size 21.5 Mb. Aftert altering project and compiler properties (don't generate debug info, optimization level 3, smart linking and so on) it's possible to downsize the file to 3.9 Mb, but it should be only 2.0 Mb, as in Download section. Thanks in advance. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.net1ac20521b5732107ed89725eebe1de54b2321aff</guid></item><item><title>Building modified by Anonymous</title><link>https://sourceforge.net/p/transgui/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Make sure you have working &lt;a class="" href="http://lazarus.freepascal.org" rel="nofollow"&gt;Lazarus&lt;/a&gt; and &lt;a class="" href="http://www.freepascal.org" rel="nofollow"&gt;Free Pascal&lt;/a&gt; compiler installed. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Free Pascal Compiler 2.6.2 and Lazarus 1.0 is used to develop Transmission Remote GUI. You may use different versions of FPC and Lazarus at your own risk. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Download the sources archive and extract it to some folder or perform svn checkout. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Building from the command line&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are 2 methods: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using make (recommended): &lt;ul&gt;
&lt;li&gt;Open terminal/command line prompt and cd to the sources folder; &lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;make&lt;/code&gt; command to build the application; &lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;make zipdist&lt;/code&gt; command to create a release .zip archive in the &lt;code&gt;Release&lt;/code&gt; sub-folder. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Using lazbuild: &lt;ul&gt;
&lt;li&gt;Open terminal/command line prompt and cd to the sources folder; &lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;lazbuild transgui.lpi&lt;/code&gt; command to build the application. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Building from Lazarus IDE&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run Lazarus IDE; &lt;/li&gt;
&lt;li&gt;You need to install the package with transgui custom components before opening the transgui project. The package installation is needed only once. To install the package do the following: &lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;"Package &amp;gt; Open package file (.lpk)..."&lt;/code&gt; from the main menu. &lt;/li&gt;
&lt;li&gt;Locate the &lt;code&gt;trcomp.lpk&lt;/code&gt; file in the program's sources folder and open it. &lt;/li&gt;
&lt;li&gt;Press the &lt;code&gt;Install&lt;/code&gt; button in the package window. &lt;/li&gt;
&lt;li&gt;You will be asked to rebuild Lazarus. Do it to finish the package installation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;transgui.lpi&lt;/code&gt; project and build it. &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 01 May 2015 20:26:08 -0000</pubDate><guid>https://sourceforge.net4fa159a14a15887bf0a5c92ffa3bd042ed0907a4</guid></item></channel></rss>