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
|
1 - BUILDING TICKER FROM SOURCES
on Linux
--------
Required packages are GTK+ and Libxml2 (development ones.) Then do:
./configure
make
(sudo) make install
(make clean)
on Windows
----------
You will have to install MinGW and GTK development stuff (headers and
libs.) You will also need inno setup and reshacker (reshacker.exe must
be installed in /usr/local/ResHack/.)
If you want to use autotools, you will have to hack a little bit and
re-create your own Makefile.am and configure.ac. Those provided are ok
for ***Linux only*** at the moment.
So, instead of autotools, I use a script (install-on-win32) which works
fine for me on XP. You will have to adapt it to your build system, at
least replacing "manutm" by your user name (I'm working on improving
this script.)
You must also download gtk2-win32-runtime-bin.tar.gz (from
www.newsrssticker.com), the GTK stack runtime which includes a patched
version of glib. (Of course, you may too get glib-2.26.0 sources, apply
the patch, compile it yourself then add it to the GTK runtime stack you
will have to build. Visit www.gtk.org for more info.)
Copy gtk-win32-full-runtime under news-<version_num> and run:
./install-on-win32
(it will build the win32 installer.)
2 - INSTALL DIRS DEFINED IN
- tickr.desktop
- debian/install
- debian/menu
- src/tickr/tickr.h
- src/tickr/Makefile.am
3 - APPLICATION NAME
source/binary package name and command
previous name: news
last stable version: 0.5.2
new name: tickr
first released version: 0.5.3
in src/tickr: all source files have now been renamed:
news_*.c/h -> tickr_*/c/h
app name and dirs are all (?) defined in news.h (at least they should be)
4 - UBUNTU KARMIC AND JAUNTY
compile with #define WITHOUT_GTK_SPINNER
5 - WIDGET PACKING
now:
----------[env->win]---------------------------------------------
| |
| --------------------[main_hbox]-------------------------- |
| | | |
| | ----[vbox_ticker]----- -----[vbox_clock]----- | |
| | | | | | | |
| | | -------------- | | -------------- | | |
| | | | | | | | | | | |
| | | | drw_a | | | | drwa_clock | | | |
| | | | | | | | | | | |
| | | -------------- | | -------------- | | |
| | | | | | | |
| | ---------------------- ---------------------- | |
| | | |
| --------------------------------------------------------- |
| |
-----------------------------------------------------------------
deprecated (MENU_V = true):
------------[env->win]--------------------------------------------------------------------
| |
| -------------------[main_box(='hbox1')]------------------------------------------- |
| | | |
| | ------------ -----------------[hbox2]--------------------------------- | |
| | | | | | | |
| | | | | ----[vbox_ticker]----- -----[vbox_clock]----- | | |
| | | | | | | | | | | |
| | | | | | -------------- | | -------------- | | | |
| | | | | | | | | | | | | | | |
| | | menu_bar | | | | drw_a | | | | drwa_clock | | | | |
| | | | | | | | | | | | | | | |
| | | | | | -------------- | | -------------- | | | |
| | | | | | | | | | | |
| | | | | ---------------------- ---------------------- | | |
| | | | | | | |
| | ------------ --------------------------------------------------------- | |
| | | |
| ---------------------------------------------------------------------------------- |
| |
------------------------------------------------------------------------------------------
|