Commit e479e5f3 authored by Carlos Garnacho's avatar Carlos Garnacho

Delete tracker-needle

It was cool when Tracker search was barely integrated anywhere.
Nowadays, it's nothing but an aging showcase app (eg. was conceived
in the gtk2 days and barely ported to gtk3, and it shows everywhere).

If you want a modern and capable search UI, try Nautilus. If you
are outraged that tracker-needle is gone and ended up here, by all
means be my guest, reset to the parent of this commit and take it
out of tree. If you join #tracker I'll gladly give you advise on
how could it be brought up-to-date. But our hands are full, sorry,
we leave cool UIs to others.
parent d4a8d6e4
......@@ -405,16 +405,6 @@ PKG_CHECK_MODULES(TRACKER_MINER_RSS, [$TRACKER_MINER_RSS_REQUIRED],
[have_tracker_miner_rss=yes],
[have_tracker_miner_rss=no])
# Check requirements for tracker-needle
TRACKER_NEEDLE_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
gmodule-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED"
PKG_CHECK_MODULES(TRACKER_NEEDLE, [$TRACKER_NEEDLE_REQUIRED],
[have_tracker_needle=yes],
[have_tracker_needle=no])
# Check we have Vala valac command we need
VALA_MIN_VERSION=0.18.0
AM_PROG_VALAC([$VALA_MIN_VERSION])
......@@ -507,7 +497,6 @@ if test "x$enable_minimal" = "xyes"; then
enable_miner_fs=no
enable_miner_apps=no
enable_miner_rss=no
enable_tracker_needle=no
fi
####################################################################
......@@ -1231,34 +1220,6 @@ fi
AM_CONDITIONAL(HAVE_TAGLIB, test "x$have_taglib" = "xyes")
##################################################################
# Check for tracker-needle
##################################################################
AC_ARG_ENABLE([tracker-needle],
AS_HELP_STRING([--enable-tracker-needle],
[enable GTK+ UI to search for content [[default=auto]]]),
[enable_tracker_needle=$enableval],
[enable_tracker_needle=auto])
if test "x$enable_tracker_needle" = "xyes" ; then
if test "x$have_tracker_needle" != "xyes"; then
AC_MSG_ERROR([Could not find tracker-needle dependencies ($TRACKER_NEEDLE_REQUIRED).])
fi
else
if test "x$enable_tracker_needle" = "xno"; then
have_tracker_needle="no (disabled)"
fi
fi
if test "x$have_tracker_needle" = "xyes"; then
AC_DEFINE(HAVE_TRACKER_NEEDLE, [1], [Define to 1 if tracker-needle is compiled])
else
AC_DEFINE(HAVE_TRACKER_NEEDLE, [0], [Define to 0 if tracker-needle is not compiled])
fi
AM_CONDITIONAL(HAVE_TRACKER_NEEDLE, test "$have_tracker_needle" = "yes")
##################################################################
# Check for tracker-resdump
##################################################################
......@@ -2224,14 +2185,6 @@ AC_CONFIG_FILES([
src/tracker-store/Makefile
src/tracker/Makefile
src/tracker-extract/Makefile
src/tracker-needle/Makefile
src/tracker-needle/icons/Makefile
src/tracker-needle/icons/16x16/Makefile
src/tracker-needle/icons/22x22/Makefile
src/tracker-needle/icons/24x24/Makefile
src/tracker-needle/icons/32x32/Makefile
src/tracker-needle/icons/48x48/Makefile
src/tracker-needle/icons/scalable/Makefile
src/tracker-writeback/Makefile
src/plugins/Makefile
tests/common/Makefile
......@@ -2392,10 +2345,6 @@ Writeback Formats:
fi
echo "
Applications:
Build tracker-needle: $have_tracker_needle
Frameworks / Options:
Support Guaranteed Metadata $enable_guarantee_metadata (e.g. guess nie:title from files)
......
tn = tracker-needle.1
tmrss = tracker-miner-rss.1
common = \
......@@ -19,10 +18,6 @@ common = \
# Require only common and enabled manpages
man_MANS = $(common)
if HAVE_TRACKER_NEEDLE
man_MANS += $(tn)
endif
if HAVE_TRACKER_MINER_RSS
man_MANS += $(tmrss)
endif
......
......@@ -30,15 +30,6 @@ src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in
src/tracker-extract/tracker-extract.c
src/tracker-extract/tracker-main.c
src/tracker-extract/tracker-extract.desktop.in.in
src/tracker-needle/org.freedesktop.Tracker.Needle.gschema.xml.in
src/tracker-needle/tracker-needle.desktop.in.in
[type: gettext/glade]src/tracker-needle/tracker-needle.ui
src/tracker-needle/tracker-needle.vala
src/tracker-needle/tracker-query.vala
src/tracker-needle/tracker-stats.vala
src/tracker-needle/tracker-tags-view.vala
src/tracker-needle/tracker-utils.vala
src/tracker-needle/tracker-view.vala
src/tracker-store/tracker-main.vala
src/tracker-store/tracker-store.desktop.in.in
src/tracker-store/org.freedesktop.Tracker.Store.gschema.xml.in
......
......@@ -28,10 +28,6 @@ if HAVE_TRACKER_WRITEBACK
SUBDIRS += tracker-writeback
endif
if HAVE_TRACKER_NEEDLE
SUBDIRS += tracker-needle
endif
EXTRA_DIST = \
meson.build \
create-miner-symlinks.sh \
......
......@@ -41,7 +41,4 @@ subdir('tracker')
# Public shared database
subdir('tracker-store')
# Example search application
subdir('tracker-needle')
meson.add_install_script('create-miner-symlinks.sh', dbus_services_dir, tracker_miner_services_dir)
tracker-needle
*.c
*.desktop.in
org.freedesktop.Tracker.Needle.gschema.valid
org.freedesktop.Tracker.Needle.gschema.xml
org.freedesktop.Tracker.enums.xml
SUBDIRS = icons
bin_PROGRAMS = tracker-needle
AM_VALAFLAGS = \
--pkg gtk+-3.0 --pkg gio-2.0 \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
config.vapi
AM_CPPFLAGS = \
$(BUILD_VALACFLAGS) \
-D_XOPEN_SOURCE \
-D_XOPEN_SOURCE_EXTENDED \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-DTRACKER_UI_DIR=\"$(datadir)/tracker/\" \
-DLOCALEDIR=\""$(localedir)"\" \
$(TRACKER_NEEDLE_CFLAGS) \
-include config.h
LDADD = \
$(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-$(TRACKER_API_VERSION).la \
$(BUILD_LIBS) \
$(TRACKER_NEEDLE_LIBS)
tracker_needle_SOURCES = \
tracker-history.vala \
tracker-query.vala \
tracker-result-store.vala \
tracker-stats.vala \
tracker-tags-view.vala \
tracker-utils.vala \
tracker-needle.vala \
tracker-view.vala
@INTLTOOL_DESKTOP_RULE@
uidir = $(datadir)/tracker
ui_DATA = tracker-needle.ui
desktopdir = $(datadir)/applications
desktop_DATA = tracker-needle.desktop
appdatadir = $(datadir)/appdata
appdata_DATA = tracker-needle.appdata.xml
BUILT_SOURCES = \
tracker_needle_vala.stamp
#Desktop files
%.desktop.in: %.desktop.in.in
@sed -e "s|@VERSION[@]|${VERSION}|" $< > $@
#GSettings
gsettings_ENUM_NAMESPACE = org.freedesktop.Tracker
gsettings_ENUM_FILES = $(top_srcdir)/src/libtracker-common/tracker-enums.h
gsettings_SCHEMAS = $(schemalist)
schemalist = org.freedesktop.Tracker.Needle.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
# Dist / Clean rules for all data
CLEANFILES = \
$(desktop_DATA:.desktop=.desktop.in) \
$(desktop_DATA) \
$(gsettings_SCHEMAS)
EXTRA_DIST = \
$(desktop_DATA:.desktop=.desktop.in.in) \
$(ui_DATA) \
$(desktop_DATA) \
$(appdata_DATA) \
config.vapi \
$(gsettings_SCHEMAS:.xml=.xml.in) \
meson.build
// config.vapi
//
// Copyright (C) 2010 Martyn Russell <martyn@lanedo.com>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
// 02110-1301, USA.
//
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
namespace Config
{
public const string GETTEXT_PACKAGE;
public const string PACKAGE_NAME;
public const string PACKAGE_VERSION;
public const string APP_PATH;
public const string LOCALEDIR;
}
icondir = $(datadir)/icons/hicolor/16x16/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.png
endif
EXTRA_DIST = $(icon_DATA)
icondir = $(datadir)/icons/hicolor/22x22/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.png
endif
EXTRA_DIST = $(icon_DATA)
icondir = $(datadir)/icons/hicolor/24x24/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.png
endif
EXTRA_DIST = $(icon_DATA)
icondir = $(datadir)/icons/hicolor/32x32/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.png
endif
EXTRA_DIST = $(icon_DATA)
icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.png
endif
EXTRA_DIST = $(icon_DATA)
SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
icondir = $(datadir)/icons/hicolor/scalable/apps
icon_DATA = # Empty
if HAVE_ARTWORK
icon_DATA += tracker.svg
endif
minericonsdir = $(datadir)/tracker/icons
minericons_DATA =
EXTRA_DIST = $(icon_DATA)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.44.1"
version="1.0"
sodipodi:docbase="/home/baze"
sodipodi:docname="tracker.svg"
inkscape:export-filename="/home/baze/tracker.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<radialGradient
r="45"
fy="106.49996"
fx="-25"
cy="106.49996"
cx="-25"
gradientTransform="matrix(3.466166,-6.346783e-2,7.070491e-2,3.695342,32.7241,-321.4409)"
gradientUnits="userSpaceOnUse"
id="radialGradient3293"
xlink:href="#linearGradient3075"
inkscape:collect="always" />
<radialGradient
r="46"
fy="99.774971"
fx="-24.85253"
cy="99.774971"
cx="-24.85253"
gradientTransform="matrix(0.934777,-0.846006,0.891541,0.985091,-120.2744,-50.59553)"
gradientUnits="userSpaceOnUse"
id="radialGradient3290"
xlink:href="#linearGradient3139"
inkscape:collect="always" />
<linearGradient
gradientTransform="matrix(1.2,0,0,1.2,-18.8,-66.7005)"
y2="97.761848"
x2="-44.159863"
y1="103.68449"
x1="-39.098888"
gradientUnits="userSpaceOnUse"
id="linearGradient3287"
xlink:href="#linearGradient3149"
inkscape:collect="always" />
<linearGradient
y2="97.761848"
x2="-44.159863"
y1="103.68449"
x1="-39.098888"
gradientUnits="userSpaceOnUse"
id="linearGradient3283"
xlink:href="#linearGradient3149"
inkscape:collect="always" />
<radialGradient
r="46"
fy="99.774971"
fx="-24.85253"
cy="99.774971"
cx="-24.85253"
gradientTransform="matrix(0.778981,-0.705005,0.742951,0.820909,-84.56197,13.42081)"
gradientUnits="userSpaceOnUse"
id="radialGradient3281"
xlink:href="#linearGradient3139"
inkscape:collect="always" />
<radialGradient
r="45"
fy="106.49996"
fx="-25"
cy="106.49996"
cx="-25"
gradientTransform="matrix(2.888472,-5.288986e-2,5.892076e-2,3.079452,42.93675,-212.2837)"
gradientUnits="userSpaceOnUse"
id="radialGradient3279"
xlink:href="#linearGradient3075"
inkscape:collect="always" />
<radialGradient
r="64.122231"
fy="123.41074"
fx="31.487459"
cy="123.41074"
cx="64.37719"
gradientTransform="matrix(1,0,0,8.747514e-2,0,112.6154)"
gradientUnits="userSpaceOnUse"
id="radialGradient2348"
xlink:href="#linearGradient2345"
inkscape:collect="always" />
<linearGradient
id="linearGradient2215">
<stop
style="stop-color:#8e8e8e;stop-opacity:1;"
offset="0"
id="stop2217" />
<stop
style="stop-color:#f8f8f8;stop-opacity:1;"
offset="1"
id="stop2219" />
</linearGradient>
<linearGradient
id="linearGradient2221">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2223" />
<stop
id="stop2225"
offset="0.40659341"
style="stop-color:#000000;stop-opacity:0.68235294;" />
<stop
style="stop-color:#000000;stop-opacity:0.48736462;"
offset="0.45329672"
id="stop2227" />
<stop
id="stop2229"
offset="0.5"
style="stop-color:#000000;stop-opacity:0.36101082;" />
<stop
style="stop-color:#000000;stop-opacity:0.15162455;"
offset="0.70604396"
id="stop2231" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop2233" />
</linearGradient>
<linearGradient
id="linearGradient2235">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2237" />
<stop
id="stop2239"
offset="0.42597079"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop2241"
offset="0.5892781"
style="stop-color:#f1f1f1;stop-opacity:1;" />
<stop
style="stop-color:#eaeaea;stop-opacity:1;"
offset="0.80219781"
id="stop2243" />
<stop
style="stop-color:#dfdfdf;stop-opacity:1;"
offset="1"
id="stop2245" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3075"
id="radialGradient1458"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.888472,-5.288986e-2,5.892076e-2,3.079452,42.93675,-212.2837)"
cx="-25"
cy="106.49996"
fx="-25"
fy="106.49996"
r="45" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3139"
id="radialGradient1460"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.778981,-0.705005,0.742951,0.820909,-84.56197,13.42081)"
cx="-24.85253"
cy="99.774971"
fx="-24.85253"
fy="99.774971"
r="46" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3149"
id="linearGradient1462"
gradientUnits="userSpaceOnUse"
x1="-39.098888"
y1="103.68449"
x2="-44.159863"
y2="97.761848" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2345"
id="radialGradient2250"
cx="64.37719"
cy="123.41074"
fx="31.487459"
fy="123.41074"
r="64.122231"
gradientTransform="matrix(1,0,0,8.747514e-2,0,112.6154)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2257"
id="radialGradient1495"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.520175,8.839467e-2,-0.843351,13.788,109.1206,-1545.323)"
cx="42.617531"
cy="120.64188"
fx="42.617531"
fy="120.64188"
r="3.406888" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3311"
id="radialGradient1497"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.228741e-2,-3.825032e-4,4.90218e-3,0.798611,68.90433,5.49306)"
cx="95.505852"
cy="59.591507"
fx="95.505852"
fy="59.591507"
r="47.746403" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3225"
id="radialGradient1499"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.297068,-1.880044e-3,7.085819e-4,0.48867,6.806484,-3.45491)"
cx="49.009884"
cy="8.4953117"
fx="47.370888"
fy="6.7701697"
r="3.9750404" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3217"
id="linearGradient1501"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.29707,0,0,1.29707,6.81152,-10.31269)"
x1="48.914677"
y1="2.9719031"
x2="48.913002"
y2="2.5548496" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3207"
id="radialGradient1503"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.29707,0,0,0.1578,6.81152,-7.300115)"
cx="49.011971"
cy="2.6743078"
fx="49.011971"
fy="2.6743078"
r="1.7246193" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3235"
id="linearGradient1505"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.297068,-1.880044e-3,1.880044e-3,1.297068,6.796523,-10.3225)"
x1="48.498562"
y1="0.81150496"
x2="48.732723"
y2="2.3657269" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3251"
id="linearGradient1507"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.28993,0,0,1.29707,7.14915,-10.31269)"
x1="46.051746"
y1="3.0999987"
x2="46.051746"
y2="2.395859" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3273"
id="radialGradient1509"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.860164,0,0,0.1578,24.50481,-7.300115)"
cx="49.011971"
cy="2.6743078"
fx="49.011971"
fy="2.6743078"
r="1.7246193" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3251"
id="linearGradient1511"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.279856,0,0,1.29707,-133.1341,-10.31269)"
x1="46.051746"
y1="3.0999987"
x2="46.051746"
y2="2.395859" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3259"
id="radialGradient1513"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.853446,0,0,0.1578,-115.9141,-7.300115)"
cx="49.011971"