190
by Mikkel Kamstrup Erlandsen
Post release version bump |
1 |
AC_INIT(unity-place-applications, 0.2.43, https://launchpad.net/unity-place-applications) |
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
2 |
AC_COPYRIGHT([Copyright 2010 Canonical]) |
3 |
||
4 |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
|
5 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
6 |
#############################################
|
7 |
# Silent build rules
|
|
8 |
#############################################
|
|
1
by Neil Jagdish Patel
Initial import |
9 |
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
10 |
||
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
11 |
AC_PREREQ(2.59) |
1
by Neil Jagdish Patel
Initial import |
12 |
|
5
by Neil Jagdish Patel
[build] Service file + po stuff |
13 |
AC_CONFIG_HEADERS([config.h]) |
1
by Neil Jagdish Patel
Initial import |
14 |
|
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
15 |
#############################################
|
16 |
# Init the other things we depend on
|
|
17 |
#############################################
|
|
1
by Neil Jagdish Patel
Initial import |
18 |
AM_MAINTAINER_MODE
|
121
by Mikkel Kamstrup Erlandsen
Port to GDBus and fix a few places where we made Dee unhappy by passing some NULLs to the results_model |
19 |
AM_PROG_VALAC([0.11.3]) |
1
by Neil Jagdish Patel
Initial import |
20 |
AS_IF([test -z "$VALAC"], [AC_MSG_ERROR(["No valac compiler found."])]) |
21 |
AC_PROG_CC
|
|
22 |
AM_PROG_CC_C_O
|
|
23 |
AC_HEADER_STDC
|
|
24 |
||
5
by Neil Jagdish Patel
[build] Service file + po stuff |
25 |
LT_INIT
|
1
by Neil Jagdish Patel
Initial import |
26 |
AC_CONFIG_MACRO_DIR([m4]) |
27 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
28 |
#############################################
|
29 |
# Gettext
|
|
30 |
#############################################
|
|
31 |
GETTEXT_PACKAGE="$PACKAGE" |
|
32 |
AC_SUBST(GETTEXT_PACKAGE) |
|
33 |
AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS']) |
|
34 |
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext domain]) |
|
76
by Mikkel Kamstrup Erlandsen
Put the configure.ac gettext magic more in line with those recommended by the Ubuntu wiki |
35 |
AM_GLIB_GNU_GETTEXT
|
36 |
||
37 |
# AM_GNOME_GETTEXT above substs $DATADIRNAME
|
|
38 |
# this is the directory where the *.{mo,gmo} files are installed
|
|
39 |
localedir='${prefix}/${DATADIRNAME}/locale' |
|
40 |
AC_SUBST(localedir) |
|
41 |
||
42 |
IT_PROG_INTLTOOL([0.40.0]) |
|
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
43 |
|
10
by Neil Jagdish Patel
[i18n] Support |
44 |
AC_DEFINE_UNQUOTED(LOCALE_DIR, "${PREFIX}/${DATADIRNAME}/locale",[Locale directory]) |
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
45 |
AC_DEFINE_UNQUOTED(DATADIR, "${PREFIX}/${DATADIRNAME}",[Data directory]) |
46 |
AC_DEFINE_UNQUOTED(PREFIXDIR, "${PREFIX}",[Prefix directory]) |
|
1
by Neil Jagdish Patel
Initial import |
47 |
|
101.1.1
by Mikkel Kamstrup Erlandsen
WIP: make .place files translatable |
48 |
######################################################
|
49 |
# intltool rule for generating translated .place file
|
|
50 |
######################################################
|
|
101.1.2
by Mikkel Kamstrup Erlandsen
Fix the INTLTOOL_PLACE_RULE to not bork up the Makefiles with illegal linebreaks |
51 |
INTLTOOL_PLACE_RULE='%.place: %.place.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' |
101.1.1
by Mikkel Kamstrup Erlandsen
WIP: make .place files translatable |
52 |
AC_SUBST(INTLTOOL_PLACE_RULE)
|
53 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
54 |
#############################################
|
55 |
# Check for module and library dependancies
|
|
56 |
#############################################
|
|
122
by Mikkel Kamstrup Erlandsen
Bump required glib version, now that we depend on GApplication |
57 |
GLIB_REQUIRED=2.27
|
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
58 |
PKG_CHECK_MODULES(PLACE_DAEMON,
|
1
by Neil Jagdish Patel
Initial import |
59 |
glib-2.0 >= $GLIB_REQUIRED
|
60 |
gobject-2.0 >= $GLIB_REQUIRED
|
|
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
61 |
gio-2.0 >= $GLIB_REQUIRED
|
21
by Mikkel Kamstrup Erlandsen
Populate sections and groups as per spec |
62 |
gio-unix-2.0 >= $GLIB_REQUIRED
|
163.1.3
by Didier Roche
first history implementation with some reshaping for folder activation |
63 |
gconf-2.0
|
1
by Neil Jagdish Patel
Initial import |
64 |
gee-1.0
|
181
by Mikkel Kamstrup Erlandsen
Release 0.2.40 (bumping Dee dep to 0.5.16) |
65 |
dee-1.0 >= 0.5.16
|
189
by Mikkel Kamstrup Erlandsen
Release 0.2.42 |
66 |
zeitgeist-1.0 >= 0.3.8
|
188
by Mikkel Kamstrup Erlandsen
Emit SearchFinished via PlaceSearch.finished() in the Alt-F2 runner |
67 |
unity >= 3.6.3
|
149
by Didier Roche
removing dbusmenu as it's libunity leaking the API |
68 |
libgnome-menu)
|
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
69 |
|
70 |
AC_SUBST(PLACE_DAEMON_CFLAGS)
|
|
71 |
AC_SUBST(PLACE_DAEMON_LIBS)
|
|
9
by Neil Jagdish Patel
[desktop] Add support for the desktop file |
72 |
|
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
73 |
#############################################
|
74 |
# local install for distcheck and stand-alone running
|
|
75 |
#############################################
|
|
73.1.1
by Mikkel Kamstrup Erlandsen
Make distcheck pass |
76 |
with_localinstall="no"
|
77 |
AC_ARG_ENABLE(localinstall,
|
|
78 |
AS_HELP_STRING([--enable-localinstall],
|
|
79 |
[Install all of the files locally instead of in system directories (for distcheck)]),
|
|
80 |
with_localinstall=$enableval,
|
|
81 |
with_localinstall=no)
|
|
82 |
||
83 |
AM_CONDITIONAL([HAVE_LOCALINSTALL], [test "x$with_localinstall" = "xyes"])
|
|
84 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
85 |
#############################################
|
86 |
# Expand variables needed for config.vala
|
|
87 |
#############################################
|
|
19
by Mikkel Kamstrup Erlandsen
Properly expand all variables in config.vala.in |
88 |
AS_AC_EXPAND(PREFIX, $prefix)
|
89 |
AC_SUBST(PREFIX)
|
|
90 |
||
91 |
AS_AC_EXPAND(DATADIR, $datarootdir)
|
|
92 |
AC_SUBST(DATADIR)
|
|
93 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
94 |
#############################################
|
95 |
# look for dbus service dir
|
|
96 |
#############################################
|
|
73.1.1
by Mikkel Kamstrup Erlandsen
Make distcheck pass |
97 |
if test "x$with_localinstall" = "xyes"; then
|
98 |
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
|
|
99 |
else
|
|
100 |
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
|
|
101 |
fi
|
|
30.1.1
by Didier Roche
- enable install dbus service file |
102 |
AC_SUBST(DBUSSERVICEDIR)
|
103 |
||
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
104 |
#############################################
|
105 |
# Create the Makefiles
|
|
106 |
#############################################
|
|
1
by Neil Jagdish Patel
Initial import |
107 |
AC_CONFIG_FILES([
|
108 |
Makefile
|
|
104
by Mikkel Kamstrup Erlandsen
Rename place file to applications.place.in.in and generate applications.place.in in configure, and then feed that to @INTLTOOL_PLACE_RULE@. This fixes broken icon path in the .place file introduced when we marked the place file for translation. |
109 |
applications.place.in
|
27
by Mikkel Kamstrup Erlandsen
Build and install .menu and .directory files needed for using libgnome-menu. There is some i18n stuff to figure out here... |
110 |
data/Makefile
|
89.1.1
by Mikkel Kamstrup Erlandsen
PACKAGERS: You now need to compile with --sysconfdir=/etc in order to install the .menu file correctly |
111 |
data/X-Unity-All-Applications.directory
|
112 |
data/unity-place-applications.menu
|
|
1
by Neil Jagdish Patel
Initial import |
113 |
src/Makefile
|
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
114 |
src/config.vala
|
73.1.2
by Mikkel Kamstrup Erlandsen
Enable translated messages everywhere |
115 |
po/Makefile.in
|
1
by Neil Jagdish Patel
Initial import |
116 |
])
|
117 |
AC_OUTPUT
|
|
118 |
||
119 |
dnl Output the results
|
|
120 |
AC_MSG_NOTICE([
|
|
121 |
||
18
by Mikkel Kamstrup Erlandsen
Rip all project internals out and replace them with stuff from unity-place-files. |
122 |
Unity Applications Place Daemon $VERSION
|
123 |
------------------------------------
|
|
1
by Neil Jagdish Patel
Initial import |
124 |
|
125 |
Prefix : ${prefix}
|
|
89.1.1
by Mikkel Kamstrup Erlandsen
PACKAGERS: You now need to compile with --sysconfdir=/etc in order to install the .menu file correctly |
126 |
Sysconfdir : ${sysconfdir}
|
73.1.1
by Mikkel Kamstrup Erlandsen
Make distcheck pass |
127 |
|
73.1.3
by Mikkel Kamstrup Erlandsen
Add AM_GLIB_GNU_GETTEXT |
128 |
Local install : ${with_localinstall}
|
1
by Neil Jagdish Patel
Initial import |
129 |
|
130 |
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
|
|
131 |
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
|
|
132 |
])
|