Commit fa3ba882 authored by Cosimo Cecchi's avatar Cosimo Cecchi

Update for module split

parent 936a7102
Makefile
Makefile.in
gnome-search-tool
gnome-search-tool.desktop
gnome-search-tool.schemas
.deps
.libs
_libs
.exrc
This diff is collapsed.
This diff is collapsed.
Utilitiesdir = $(datadir)/applications
SUBDIRS = data help libgnomeui-deprecated libeggsmclient src po
SUBDIRS = data help libgnomeui-deprecated
INCLUDES = \
-I$(srcdir)/libgnomeui-deprecated \
-I$(top_srcdir)/libeggsmclient \
-DG_DISABLE_DEPRECATED \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DDATADIR=\""$(datadir)"\" \
-DGREP_COMMAND=\""$(GREP_COMMAND)"\"
libgnomeui_deprecated_LIB = $(builddir)/libgnomeui-deprecated/libgnomeui-deprecated.la
libeggsmclient_LIB = $(top_builddir)/libeggsmclient/libeggsmclient.la
bin_PROGRAMS = gnome-search-tool
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_in_file = gnome-search-tool.schemas.in
schema_DATA = $(schema_in_file:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
gnome_search_tool_SOURCES = \
gsearchtool-support.c \
gsearchtool-support.h \
gsearchtool-callbacks.c \
gsearchtool-callbacks.h \
gsearchtool.c \
gsearchtool.h
gnome_search_tool_CFLAGS = \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GIO_UNIX_CFLAGS) \
$(GTK_CFLAGS) \
$(GCONF_CFLAGS)
gnome_search_tool_LDADD = \
$(GNOME_UTILS_LIBS) \
$(GTK_LIBS) \
$(GIO_UNIX_LIBS) \
$(libgnomeui_deprecated_LIB) \
$(libeggsmclient_LIB)
man_MANS = gnome-search-tool.1
Utilities_in_files = gnome-search-tool.desktop.in
Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
$(Utilities_in_files) \
$(Utilities_DATA) \
$(schema_in_file) \
$(man_MANS)
if GCONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gsearchtool/$(schema_DATA) ; \
fi
else
install-data-local:
endif
CLEANFILES = \
gnome-search-tool.desktop \
$(schema_DATA)
disthook:
cd $(distdir) ; rm -f $(CLEANFILES)
EXTRA_DIST = COPYING.docs
\ No newline at end of file
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="GNOME Search Tool"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level GNOME Search Tool directory"
exit 1
}
which gnome-autogen.sh || {
echo "You need to install gnome-common package"
exit 1
}
USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
dnl -*- mode: m4 -*-
AC_PREREQ(2.63)
AC_INIT([gnome-search-tool],[3.3.0],[],[gnome-search-tool])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CANONICAL_TARGET
# require automake 1.10
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign])
AM_MAINTAINER_MODE
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
IT_PROG_INTLTOOL(0.40.0)
PKG_PROG_PKG_CONFIG([0.22])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_ISC_POSIX
AC_HEADER_STDC
AM_DISABLE_STATIC
# enable libtool
AC_PROG_LIBTOOL
## don't rerun to this point if we abort
AC_CACHE_SAVE
GLIB_GSETTINGS
AM_GCONF_SOURCE_2
GNOME_DOC_INIT
AC_PATH_PROG(GCONFTOOL, [gconftool-2], [no])
AS_IF([test "x$GCONFTOOL" = "xno"],
[AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])]
)
dnl strftime extension checks
msg_strftime=no
AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <time.h>
int main (void) {
char buf[100];
struct tm tm = {0};
tm.tm_year = 99;
if (strftime(buf, 100, "%EY", &tm) == 4 && strcmp (buf, "1999")==0)
return 0;
return 1;
}
]])],[
AC_DEFINE([HAVE_STRFTIME_EXTENSION], [1],
[Define if strftime supports %E and %O modifiers.])
msg_strftime=yes
],
[],[])
withval=""
AC_ARG_WITH([grep],
AS_HELP_STRING([--with-grep=@<:@grep command@:>@],
[Specify where to find the grep binary]),
[
AS_IF([test x$withval != x],
[AC_MSG_RESULT(${withval} is used for gnome-search-tool.)],
[AC_MSG_RESULT(grep is used for gnome-search-tool.)]
)
])
AS_IF([test x$withval != x],
[GREP_COMMAND="$withval"],
[GREP_COMMAND="grep"]
)
AC_SUBST(GREP_COMMAND)
GLIB_MIN_VERSION=2.28.0
GTK_MIN_VERSION=3.0.0
PKG_CHECK_MODULES(GSEARCHTOOL,
gio-unix-2.0
glib-2.0 >= $GLIB_MIN_VERSION
gtk+-3.0 >= $GTK_MIN_VERSION
gconf-2.0)
AC_CONFIG_FILES([
Makefile
data/Makefile
help/Makefile
libeggsmclient/Makefile
libgnomeui-deprecated/Makefile
src/Makefile
po/Makefile.in
])
AC_OUTPUT
dnl ==========================================================================
echo "
GNOME Search Tool $VERSION
==========================
prefix: ${prefix}
compiler: ${CC}
grep command: ${GREP_COMMAND}
Use strftime extension: ${msg_strftime}
Now type 'make' to build $PACKAGE
"
Makefile
Makefile.in
icondir = $(datadir)/pixmaps/gsearchtool
icon_DATA = thumbnail_frame.png
EXTRA_DIST = $(icon_DATA)
man_MANS = gnome-search-tool.1
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_in_file = gnome-search-tool.schemas.in
schema_DATA = $(schema_in_file:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
Utilitiesdir = $(datadir)/applications
Utilities_in_files = gnome-search-tool.desktop.in
Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
$(icon_DATA) \
$(man_MANS) \
$(schema_in_file) \
$(Utilities_in_files) \
$(Utilities_DATA)
if GCONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$(schema_DATA) ; \
fi
else
install-data-local:
endif
CLEANFILES = \
gnome-search-tool.desktop \
$(schema_DATA)
disthook:
cd $(distdir) ; rm -f $(CLEANFILES)
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">gnome-search-tool</name>
<shortdesc xml:lang="en">Utility to search for files</shortdesc>
<license rdf:resource="http://usefulinc.com/doap/licenses/gpl"/>
<download-page rdf:resource="http://download.gnome.org/sources/gnome-search-tool/"/>
<category rdf:resource="http://api.gnome.org/doap-extensions#desktop" />
<maintainer>
<foaf:Person>
<foaf:name>Dennis M. Cranston</foaf:name>
<foaf:mbox rdf:resource="mailto:dennis_cranston@yahoo.com" />
<gnome:userid>dcransto</gnome:userid>
</foaf:Person>
</maintainer>
</Project>
Makefile
Makefile.in
gnome-search-tool-*.omf
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-C.omf.out
2009-03-27 Simos Xenitellis <simos@gnome.org>
* Makefile.am: Added Greek (el) to DOC_LINGUAS.
* el/el.po: Added Greek translation by Sterios Prosiniklis.
2009-03-16 Dennis Cranston <dennis_cranston@yahoo.com>
* C/gnome-search-tool.xml: Convert "Include other filesystems"
to "Exclude other filesystems"
* C/figures/gnome-search_tool_window.png: Updated
2009-02-17 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu/figures/: Added image in Basque language. Images are:
gnome-search-tool_window.png
2009-02-16 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu/eu.po: Added Basque translation.
* Makefile.am: Added 'eu' to DOC_LINGUAS.
2009-01-29 Luca Ferretti <elle.uca@libero.it>
* it.po: Fixed tags (bug #553051)
2008-09-20 Claude Paroz <claude@2xlibre.net>
* fr/fr.po: Fixed French translation (variable -> varname).
Fixes bug #553022.
2008-09-20 Philipp Kerling <k.philipp@gmail.com>
* de/de.po: Fixed German translation typo. See bug #553022
2008-03-14 Mario Blättermann <mariobl@svn.gnome.org>
* de/de.po: Updated German translation
2008-06-25 Ilkka Tuohela <hile@iki.fi>
* fi/fi.po: Added Finnish documentation by Jukka Heikkilä.
* fi/figures/gnome-search-tool_window.png:
* Makefile.am: Added fi to DOC_LINGUAS
2008-04-07 Vasiliy Faronov <qvvx@yandex.ru>
* ru/ru.po: Updated Russian translation.
2008-03-09 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated Spanish translation
* es/figures/*.png: Updated screenshot
2008-02-27 Luca Ferretti <elle.uca@libero.it>
* Makefile.am:
* it/it.po:
Added Italian translation by Andrea Zagli.
* it/Makefile.am:
* it/gnome-search-tool-it.omf:
* it/gnome-search-tool.xml:
* it/legal.xml:
Removed old translation.
2007-10-03 Jan Arne Petersen <jpetersen@jpetersen.org>
* Makefile.am: Added de to DOC_LINGUAS
* de/de.po: Added German translation (by Jonas Haag <jonas@jonashaag.de>).
* de/Makefile.am:
* de/gnome-search-tool-de.omf:
* de/gnome-search-tool.xml:
* de/legal.xml: Removed.
2007-06-07 Jordi Mas <jmas@softcatala.org>
* ca/ca.po: Added Catalan translation.
* Makefile.am: Added ca to DOC_LINGUAS
2007-04-22 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated spanish translation.
2007-04-14 Changwoo Ryu <cwryu@debian.org>
* ko/ko.po: Migrated to gnome-doc-utils.
* ko/*.xml, ko/Makefile.am, ko/gnome-search-tool-ko.omf: Removed.
* Makefile.am: Added ko to DOC_LINGUAS.
2007-03-13 Maxim Dziumanenko <dziumanenko@gmail.com>
* uk.po: Update Ukrainian translation
2007-03-12 David Lodge <dave@cirt.net>
* en_GB/en_GB.po: Added (British) English translation.
* Makefile.am: Added en_GB to DOC_LINGUAS
2006-11-19 Christophe Bliard <christophe.bliard@trux.info>
* fr/fr.po: Updated French translation.
2006-11-08 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
2006-10-04 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
* sv/figures/*png: Updated screenshot.
2006-08-17 Christophe Bliard <christophe.bliard@trux.info>
* fr/fr.po: Added French translation.
* fr/*.xml: Removed obsolete files.
* fr/Makefile.am: Removed obsolete file.
* Makefile.am: added fr to DOC_LINGUAS
2006-08-01 Francisco Javier F. Serrador <serrador@openshine.com>
* es/es.po: Updated Spanish translation.
2006-07-23 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
* sv/*.xml: Removed obsolete files.
* sv/Makefile.am: Removed obsolete file.
2006-06-29 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Added Swedish translation.
2006-06-16 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es/es.po: Updated Spanish translation.
2006-03-29 German Poo-Caaman~o <gpoo@ubiobio.cl>
* es/es.po: Fixed #336480
2006-03-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Makefile.am: added ru to DOC_LINGUAS
* ru/ru.po: added Russian translation.
2006-03-17 Maxim Dziumanenko <mvd@mylinux.ua>
* Makefile.am: added uk to DOC_LINGUAS
* uk/uk.po: added
* uk/gnome-search-tool-uk.omf: removed
* uk/gnome-search-tool.xml: removed
* uk/legal.xml: removed
* uk/Makefile.am: removed
2005-12-21 Dennis Cranston <dennis_cranston@yahoo.com>
* C/gnome-search-tool.xml: Update the scrollkeeper
title & description.
2005-12-05 Emmanuele Bassi <ebassi@cvs.gnome.org>
* *: ported to gnome-doc-utils
Makefile
Makefile.in
omf_timestamp
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-es.omf.out
.xml2po.mo
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-fr.omf.out
gnome-search-tool.xml
.xml2po.mo
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-it.omf.out
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-ja.omf.out
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-ko.omf.out
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-sv.omf.out
gnome-search-tool.xml
.xml2po.mo
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-uk.omf.out
.xml2po.mo
gnome-search-tool.xml
*.out
Makefile
*.in
omf_timestamp
Makefile
Makefile.in
omf_timestamp
gnome-search-tool-zh_TW.omf.out
INCLUDES = -DGTK_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DG_DISABLE_DEPRECATED
noinst_LTLIBRARIES = libeggsmclient.la
libeggsmclient_la_LIBADD = $(GSEARCHTOOL_LIBS) \
-lSM -lICE
libeggsmclient_la_CFLAGS = $(GSEARCHTOOL_CFLAGS) \
-DEGG_SM_CLIENT_BACKEND_XSMP \
-DG_LOG_DOMAIN=\""EggSMClient"\" \
$(WARN_CFLAGS)
libeggsmclient_la_SOURCES = eggdesktopfile.h \
eggdesktopfile.c \
eggsmclient.h \
eggsmclient.c \
eggsmclient-private.h \
eggsmclient-xsmp.c
GNOME-Client in the libgnomeui library will be removed from the GNOME
software stack [1]. At this time, a replacement for the session
management client has not been added to GTK+. The code in this
directory is a copy of the session management source code in the
libegg library. Hopefully, this will be a temporary solution.
The bugzilla report at bugs.gnome.org is #79285, "session management
support".
[1] http://live.gnome.org/LibgnomeMustDie
This diff is collapsed.
/* eggdesktopfile.h - Freedesktop.Org Desktop Files
* Copyright (C) 2007 Novell, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __EGG_DESKTOP_FILE_H__
#define __EGG_DESKTOP_FILE_H__
#include <glib.h>
G_BEGIN_DECLS
typedef struct EggDesktopFile EggDesktopFile;
typedef enum {
EGG_DESKTOP_FILE_TYPE_UNRECOGNIZED,
EGG_DESKTOP_FILE_TYPE_APPLICATION,
EGG_DESKTOP_FILE_TYPE_LINK,
EGG_DESKTOP_FILE_TYPE_DIRECTORY
} EggDesktopFileType;
EggDesktopFile *egg_desktop_file_new (const char *desktop_file_path,
GError **error);
EggDesktopFile *egg_desktop_file_new_from_data_dirs (const char *desktop_file_path,
GError **error);
EggDesktopFile *egg_desktop_file_new_from_dirs (const char *desktop_file_path,
const char **search_dirs,
GError **error);
EggDesktopFile *egg_desktop_file_new_from_key_file (GKeyFile *key_file,
const char *source,
GError **error);
void egg_desktop_file_free (EggDesktopFile *desktop_file);
const char *egg_desktop_file_get_source (EggDesktopFile *desktop_file);
EggDesktopFileType egg_desktop_file_get_desktop_file_type (EggDesktopFile *desktop_file);
const char *egg_desktop_file_get_name (EggDesktopFile *desktop_file);
const char *egg_desktop_file_get_icon (EggDesktopFile *desktop_file);
gboolean egg_desktop_file_can_launch (EggDesktopFile *desktop_file,
const char *desktop_environment);
gboolean egg_desktop_file_accepts_documents (EggDesktopFile *desktop_file);
gboolean egg_desktop_file_accepts_multiple (EggDesktopFile *desktop_file);
gboolean egg_desktop_file_accepts_uris (EggDesktopFile *desktop_file);
char *egg_desktop_file_parse_exec (EggDesktopFile *desktop_file,
GSList *documents,
GError **error);
gboolean egg_desktop_file_launch (EggDesktopFile *desktop_file,
GSList *documents,
GError **error,
...) G_GNUC_NULL_TERMINATED;
typedef enum {
EGG_DESKTOP_FILE_LAUNCH_CLEARENV = 1,
EGG_DESKTOP_FILE_LAUNCH_PUTENV,
EGG_DESKTOP_FILE_LAUNCH_SCREEN,
EGG_DESKTOP_FILE_LAUNCH_WORKSPACE,
EGG_DESKTOP_FILE_LAUNCH_DIRECTORY,
EGG_DESKTOP_FILE_LAUNCH_TIME,
EGG_DESKTOP_FILE_LAUNCH_FLAGS,
EGG_DESKTOP_FILE_LAUNCH_SETUP_FUNC,
EGG_DESKTOP_FILE_LAUNCH_RETURN_PID,
EGG_DESKTOP_FILE_LAUNCH_RETURN_STDIN_PIPE,
EGG_DESKTOP_FILE_LAUNCH_RETURN_STDOUT_PIPE,
EGG_DESKTOP_FILE_LAUNCH_RETURN_STDERR_PIPE,
EGG_DESKTOP_FILE_LAUNCH_RETURN_STARTUP_ID
} EggDesktopFileLaunchOption;
/* Standard Keys */
#define EGG_DESKTOP_FILE_GROUP "Desktop Entry"
#define EGG_DESKTOP_FILE_KEY_TYPE "Type"
#define EGG_DESKTOP_FILE_KEY_VERSION "Version"
#define EGG_DESKTOP_FILE_KEY_NAME "Name"
#define EGG_DESKTOP_FILE_KEY_GENERIC_NAME "GenericName"
#define EGG_DESKTOP_FILE_KEY_NO_DISPLAY "NoDisplay"
#define EGG_DESKTOP_FILE_KEY_COMMENT "Comment"
#define EGG_DESKTOP_FILE_KEY_ICON "Icon"
#define EGG_DESKTOP_FILE_KEY_HIDDEN "Hidden"
#define EGG_DESKTOP_FILE_KEY_ONLY_SHOW_IN "OnlyShowIn"
#define EGG_DESKTOP_FILE_KEY_NOT_SHOW_IN "NotShowIn"
#define EGG_DESKTOP_FILE_KEY_TRY_EXEC "TryExec"
#define EGG_DESKTOP_FILE_KEY_EXEC "Exec"
#define EGG_DESKTOP_FILE_KEY_PATH "Path"
#define EGG_DESKTOP_FILE_KEY_TERMINAL "Terminal"
#define EGG_DESKTOP_FILE_KEY_MIME_TYPE "MimeType"
#define EGG_DESKTOP_FILE_KEY_CATEGORIES "Categories"
#define EGG_DESKTOP_FILE_KEY_STARTUP_NOTIFY "StartupNotify"
#define EGG_DESKTOP_FILE_KEY_STARTUP_WM_CLASS "StartupWMClass"
#define EGG_DESKTOP_FILE_KEY_URL "URL"
/* Accessors */
gboolean egg_desktop_file_has_key (EggDesktopFile *desktop_file,
const char *key,
GError **error);
char *egg_desktop_file_get_string (EggDesktopFile *desktop_file,
const char *key,
GError **error) G_GNUC_MALLOC;
char *egg_desktop_file_get_locale_string (EggDesktopFile *desktop_file,
const char *key,
const char *locale,
GError **error) G_GNUC_MALLOC;
gboolean egg_desktop_file_get_boolean (EggDesktopFile *desktop_file,
const char *key,
GError **error);
double egg_desktop_file_get_numeric (EggDesktopFile *desktop_file,
const char *key,
GError **error);
char **egg_desktop_file_get_string_list (EggDesktopFile *desktop_file,
const char *key,
gsize *length,
GError **error) G_GNUC_MALLOC;
char **egg_desktop_file_get_locale_string_list (EggDesktopFile *desktop_file,
const char *key,
const char *locale,
gsize *length,
GError **error) G_GNUC_MALLOC;
/* Errors */
#define EGG_DESKTOP_FILE_ERROR egg_desktop_file_error_quark()
GQuark egg_desktop_file_error_quark (void);
typedef enum {
EGG_DESKTOP_FILE_ERROR_INVALID,
EGG_DESKTOP_FILE_ERROR_NOT_LAUNCHABLE,
EGG_DESKTOP_FILE_ERROR_UNRECOGNIZED_OPTION
} EggDesktopFileError;
/* Global application desktop file */