~ubuntu-branches/debian/wheezy/tickr/wheezy

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Thomas-Maurin
  • Date: 2011-08-19 16:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110819160000-zjko4f60pdxt9i74
Tags: upstream-0.5.3
ImportĀ upstreamĀ versionĀ 0.5.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
1 - BUILDING TICKER FROM SOURCES
 
2
 
 
3
on Linux:
 
4
---------
 
5
 
 
6
Required packages are GTK+ and Libxml2 (development ones.) Then do:
 
7
 
 
8
./configure
 
9
make
 
10
(sudo) make install
 
11
(make clean)
 
12
 
 
13
 
 
14
on Windows:
 
15
-----------
 
16
 
 
17
You will have to install MinGW and GTK development stuff (headers and
 
18
libs.) You will also need inno setup and reshacker (reshacker.exe must
 
19
be installed in /usr/local/ResHack/.)
 
20
 
 
21
If you want to use autotools, you will have to hack a little bit and
 
22
re-create your own Makefile.am and configure.ac. Those provided are ok
 
23
for ***Linux only*** at the moment.
 
24
 
 
25
So, instead of autotools, I use a script (install-on-win32) which works
 
26
fine for me on XP. You will have to adapt it to your build system, at
 
27
least replacing "manutm" by your user name (I'm working on improving
 
28
this script.)
 
29
 
 
30
You must also download gtk2-win32-runtime-bin.tar.gz (from
 
31
www.newsrssticker.com), the GTK stack runtime which includes a patched
 
32
version of glib. (Of course, you may too get glib-2.26.0 sources, apply
 
33
the patch, compile it yourself then add it to the GTK runtime stack you
 
34
will have to build. Visit www.gtk.org for more info.)
 
35
 
 
36
Copy gtk-win32-full-runtime under news-<version_num> and run:
 
37
./install-on-win32
 
38
(it will build the win32 installer.)
 
39
 
 
40
 
 
41
2 - APPLICATION NAME
 
42
 
 
43
source/binary package name and command
 
44
 
 
45
previous name:                  news
 
46
last stable version:            0.5.2
 
47
 
 
48
new name:                       tickr
 
49
first released version:         0.5.3
 
50
 
 
51
in src/tickr: all source files still begin with news_ and are unlikely
 
52
to be renamed
 
53
 
 
54
app name and dirs are all (?) defined in news.h (at least they should be)
 
55
 
 
56
 
 
57
3 - UBUNTU KARMIC AND JAUNTY
 
58
 
 
59
compile with #define WITHOUT_GTK_SPINNER
 
60
 
 
61
 
 
62
4 - WIDGET PACKING
 
63
 
 
64
now:
 
65
 
 
66
         ----------[env->win]---------------------------------------------
 
67
        |                                                                 |
 
68
        |    --------------------[main_hbox]--------------------------    |
 
69
        |   |                                                         |   |
 
70
        |   |    ----[vbox_ticker]-----     -----[vbox_clock]-----    |   |
 
71
        |   |   |                      |   |                      |   |   |
 
72
        |   |   |    --------------    |   |    --------------    |   |   |
 
73
        |   |   |   |              |   |   |   |              |   |   |   |
 
74
        |   |   |   |    drw_a     |   |   |   |  drwa_clock  |   |   |   |
 
75
        |   |   |   |              |   |   |   |              |   |   |   |
 
76
        |   |   |    --------------    |   |    --------------    |   |   |
 
77
        |   |   |                      |   |                      |   |   |
 
78
        |   |    ----------------------     ----------------------    |   |
 
79
        |   |                                                         |   |
 
80
        |    ---------------------------------------------------------    |
 
81
        |                                                                 |
 
82
         -----------------------------------------------------------------
 
83
 
 
84
 
 
85
deprecated (MENU_V = true):
 
86
 
 
87
         ------------[env->win]--------------------------------------------------------------------
 
88
        |                                                                                          |
 
89
        |    -------------------[main_box(='hbox1')]-------------------------------------------    |
 
90
        |   |                                                                                  |   |
 
91
        |   |    ------------     -----------------[hbox2]---------------------------------    |   |
 
92
        |   |   |            |   |                                                         |   |   |
 
93
        |   |   |            |   |    ----[vbox_ticker]-----     -----[vbox_clock]-----    |   |   |
 
94
        |   |   |            |   |   |                      |   |                      |   |   |   |
 
95
        |   |   |            |   |   |    --------------    |   |    --------------    |   |   |   |
 
96
        |   |   |            |   |   |   |              |   |   |   |              |   |   |   |   |
 
97
        |   |   |  menu_bar  |   |   |   |    drw_a     |   |   |   |  drwa_clock  |   |   |   |   |
 
98
        |   |   |            |   |   |   |              |   |   |   |              |   |   |   |   |
 
99
        |   |   |            |   |   |    --------------    |   |    --------------    |   |   |   |
 
100
        |   |   |            |   |   |                      |   |                      |   |   |   |
 
101
        |   |   |            |   |    ----------------------     ----------------------    |   |   |
 
102
        |   |   |            |   |                                                         |   |   |
 
103
        |   |    ------------     ---------------------------------------------------------    |   |
 
104
        |   |                                                                                  |   |
 
105
        |    ----------------------------------------------------------------------------------    |
 
106
        |                                                                                          |
 
107
         ------------------------------------------------------------------------------------------