~ubuntu-branches/ubuntu/feisty/gnome-common/feisty

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Jan-Hendrik Palic
  • Date: 2002-02-23 21:40:52 UTC
  • Revision ID: james.westby@ubuntu.com-20020223214052-s1mwg6k8ovqb2wa6
Tags: 1.2.4-3
reincluded DH_COMPAT=3 in debian/rules (Closes: #135384).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
gnome-common for Debian
 
2
-----------------------
 
3
 
 
4
        The gnome-common Module
 
5
 
 
6
The gnome-common provides an easy way to use the GNOME autoconf macros in
 
7
applications which are developed outside of the GNOME CVS tree. Availability
 
8
 
 
9
There are a couple of things installed:
 
10
/usr/share/aclocal/gnome-macros
 
11
All macros from the macros/ directory are installed here.
 
12
/usr/share/aclocal/gnome2-macros
 
13
This are the new macros from GNOME 2.0.
 
14
/usr/bin/gnome-autogen.sh 
 
15
A modified version of the autogen.sh from the macros/ directory.
 
16
 
 
17
If you previously had a macros/ directory in your package, you can now
 
18
remove it (when you have your package in the GNOME CVS tree, this is done in
 
19
the CVSROOT/modules file; to do this, look for a line starting with the name
 
20
of your module and remove the &macros from it). autogen.sh
 
21
 
 
22
In the autogen.sh script of your package, you use the following: 
 
23
gnome-config --bindir/gnome-autogen.sh
 
24
 
 
25
This calls the gnome-autogen.sh script which was installed by gnome-common. 
 
26
 
 
27
If you were previously using the macros/ directory, then you should find a .
 
28
macros/autogen.sh line in your autogen.sh. Simply replace it with the new
 
29
one. configure.in
 
30
 
 
31
You need to place GNOME_COMMON_INIT somewhere in your configure.in. 
 
32
 
 
33
If you were previously using the macros/ directory, then you should find a
 
34
AM_ACLOCAL_INCLUDE(macros) line in your configure.in. Simply replace it with
 
35
GNOME_COMMON_INIT. Sample Usage
 
36
 
 
37
I made a modified gnome-hello module which uses gnome-common instead of the
 
38
macros/ directory which can be found here:
 
39
ftp://ftp.home-of-linux.org/pub/gnome-common/GnomeHello-0.1.tar.gz Questions,
 
40
Comments, ...
 
41
 
 
42
If you have any questions, comments or suggestions feel free to ask
 
43
(martin@home-of-linux.org). 
 
44
 
 
45
        GNOME 2.0
 
46
 
 
47
This section is only intended for "hackers". 
 
48
 
 
49
You can also use the gnome-common module for GNOME 2.0 applications like
 
50
nautilus. 
 
51
 
 
52
To do this, you need to put USE_GNOME_2_MACROS=1 . 
 
53
gnome-config --bindir/gnome-autogen.sh into your autogen.sh and remove 
 
54
the hack-macros/ directory. 
 
55
 
 
56
 -- Jan-Hendrik Palic <jan.palic@linux-debian.de>, Fri, 17 Aug 2001 00:15:22 +0000