Skip to content
Commits on Source (188)
GNOME Dictionary 40.0 2021-03-20
================================================================================
• Dropped the app menu [Jeremy Bicha]
• Updated the application help [Andre Klapper]
• Removed non-working Spanish dict server [Jordi Mas]
• Updated the application icon [Jakub Steiner]
• Updated the Flatpak sandbox and build
• Fixed compiler warnings when building with newer toolchains
• Fixed the sidebar sizing issue [Guido Trentalancia]
Updated translations
Too many to count; thanks to all localisation teams!
GNOME Dictionary 3.26.1 2017-10-01
================================================================================
Bug fixes
......
{
"app-id": "org.gnome.Dictionary",
"app-id": "org.gnome.Dictionary.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "gnome-dictionary",
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"tags": ["devel", "development", "nightly"],
"desktop-file-name-prefix": "(Development) ",
"finish-args": [
"--share=ipc", "--socket=x11",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--share=network",
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
"--talk-name=org.gtk.vfs",
"--talk-name=org.gtk.vfs.*"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": 1
}
},
"cleanup": ["/include", "/lib/pkgconfig",
"/share/pkgconfig", "/share/aclocal",
"/man", "/share/man", "/share/gtk-doc",
"*.la", "*.a",
"/lib/girepository-1.0",
"/share/doc", "/share/gir-1.0"
"cleanup": [
"/man",
"/share/man",
"/share/doc"
],
"modules": [
{
"name": "gnome-dictionary",
"buildsystem": "meson",
"builddir": true,
"config-opts": [
"--libdir=/app/lib",
"-Dprofile=devel",
"-Dbuild_man=false"
],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gnome-dictionary"
"url": "https://gitlab.gnome.org/GNOME/gnome-dictionary.git"
}
]
}
......
#!/usr/bin/env python3
import os
import subprocess
install_prefix = os.environ['MESON_INSTALL_PREFIX']
icondir = os.path.join(install_prefix, 'share', 'icons', 'hicolor')
schemadir = os.path.join(install_prefix, 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'):
print('Update icon cache...')
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
print('Compiling gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
#!/bin/sh
# Package managers set this so we don't need to run
if [ -z "$DESTDIR" ]; then
echo Compiling GSettings schemas...
glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas
echo Updating desktop database...
update-desktop-database -q ${MESON_INSTALL_PREFIX}/share/applications
fi
#!/bin/bash
# configure script adapter for Meson
# Based on build-api: https://github.com/cgwalters/build-api
# Copyright 2010, 2011, 2013 Colin Walters <walters@verbum.org>
# Copyright 2016 Emmanuele Bassi
# Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
# Build API variables:
# buildapi-variable-require-builddir
# Little helper function for reading args from the commandline.
# it automatically handles -a b and -a=b variants, and returns 1 if
# we need to shift $3.
read_arg() {
# $1 = arg name
# $2 = arg value
# $3 = arg parameter
local rematch='^[^=]*=(.*)$'
if [[ $2 =~ $rematch ]]; then
read "$1" <<< "${BASH_REMATCH[1]}"
else
read "$1" <<< "$3"
# There is no way to shift our callers args, so
# return 1 to indicate they should do it instead.
return 1
fi
}
sanitycheck() {
# $1 = arg name
# $1 = arg command
# $2 = arg alternates
local cmd=$( which $2 2>/dev/null )
if [ -x "$cmd" ]; then
read "$1" <<< "$cmd"
return 0
fi
test -z $3 || {
for alt in $3; do
cmd=$( which $alt 2>/dev/null )
if [ -x "$cmd" ]; then
read "$1" <<< "$cmd"
return 0
fi
done
}
echo -e "\e[1;31mERROR\e[0m: Command '$2' not found"
exit 1
}
sanitycheck MESON 'meson'
sanitycheck NINJA 'ninja' 'ninja-build'
build_man='-Dbuild_man=false'
while (($# > 0)); do
case "${1%%=*}" in
--prefix) read_arg prefix "$@" || shift;;
--bindir) read_arg bindir "$@" || shift;;
--sbindir) read_arg sbindir "$@" || shift;;
--libexecdir) read_arg libexecdir "$@" || shift;;
--datarootdir) read_arg datarootdir "$@" || shift;;
--datadir) read_arg datadir "$@" || shift;;
--sysconfdir) read_arg sysconfdir "$@" || shift;;
--libdir) read_arg libdir "$@" || shift;;
--mandir) read_arg mandir "$@" || shift;;
--includedir) read_arg includedir "$@" || shift;;
--enable-man) build_man='-Dbuild_man=true';;
--disable-man) build_man='-Dbuild_man=false';;
*) echo -e "\e[1;33mINFO\e[0m: Ignoring unknown option '$1'";;
esac
shift
done
# Defaults
test -z ${prefix} && prefix="/usr/local"
test -z ${bindir} && bindir=${prefix}/bin
test -z ${sbindir} && sbindir=${prefix}/sbin
test -z ${libexecdir} && libexecdir=${prefix}/bin
test -z ${datarootdir} && datarootdir=${prefix}/share
test -z ${datadir} && datadir=${datarootdir}
test -z ${sysconfdir} && sysconfdir=${prefix}/etc
test -z ${libdir} && libdir=${prefix}/lib
test -z ${mandir} && mandir=${prefix}/share/man
test -z ${includedir} && includedir=${prefix}/include
# The source directory is the location of this file
srcdir=$(dirname $0)
# Wrapper Makefile for Ninja
cat > Makefile <<END
# Generated by configure; do not edit
all:
CC="\$(CC)" CXX="\$(CXX)" ${NINJA}
install:
DESTDIR="\$(DESTDIR)" ${NINJA} install
END
echo "Summary:"
echo " meson:....... ${MESON}"
echo " ninja:....... ${NINJA}"
echo " prefix:...... ${prefix}"
echo " bindir:...... ${bindir}"
echo " sbindir:..... ${sbindir}"
echo " libexecdir:.. ${libexecdir}"
echo " datarootdir:. ${datarootdir}"
echo " datadir:..... ${datadir}"
echo " sysconfdir:.. ${sysconfdir}"
echo " libdir:...... ${libdir}"
echo " mandir:...... ${mandir}"
echo " includedir:.. ${includedir}"
echo " additional:.."
exec ${MESON} \
--prefix=${prefix} \
--libdir=${libdir} \
--libexecdir=${libexecdir} \
--datadir=${datadir} \
--sysconfdir=${sysconfdir} \
--bindir=${bindir} \
--includedir=${includedir} \
--mandir=${mandir} \
--default-library shared \
${build_man} \
${srcdir}
# vim: ai ts=8 noet sts=2 ft=sh
appdata_conf = configuration_data()
appdata_conf.set('application_id', application_id)
i18n.merge_file('appdata',
input: configure_file(
input: 'org.gnome.Dictionary.appdata.xml.in.in',
output: 'org.gnome.Dictionary.appdata.xml.in',
configuration: appdata_conf,
),
output: application_id + '.appdata.xml',
install: true,
install_dir: gdict_datadir / 'metainfo',
po_dir: po_dir,
)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('validate-appdata',
appstream_util,
args: [ 'validate', '--nonet', application_id + '.appdata.xml' ],
workdir: meson.current_build_dir(),
)
endif
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>org.gnome.Dictionary.desktop</id>
<component type="desktop-application">
<id>@application_id@</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+ AND LGPL-2.0+ AND GFDL-1.3</project_license>
<project_license>GPL-2.0+ AND LGPL-2.0+ AND GFDL-1.3</project_license>
<name>GNOME Dictionary</name>
<summary>Check word definitions and spellings in an online dictionary</summary>
<description>
......@@ -14,13 +14,14 @@
needs.
</p>
</description>
<url type="homepage">https://wiki.gnome.org/Dictionary</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-dictionary</url>
<url type="homepage">https://wiki.gnome.org/Apps/Dictionary</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-dictionary/issues</url>
<url type="donation">http://www.gnome.org/friends/</url>
<url type="help">https://help.gnome.org/users/gnome-dictionary/stable/</url>
<screenshots>
<screenshot type="default">
<image>https://git.gnome.org/browse/gnome-dictionary/plain/data/gnome-dictionary-appdata.png</image>
<image>https://gitlab.gnome.org/GNOME/gnome-dictionary/-/raw/master/data/gnome-dictionary-main.png</image>
<image>https://gitlab.gnome.org/GNOME/gnome-dictionary/-/raw/master/data/gnome-dictionary-dictionaries.png</image>
</screenshot>
</screenshots>
<update_contact>juanrgar@gmail.com</update_contact>
......@@ -28,9 +29,17 @@
<kudo>AppMenu</kudo>
<kudo>ModernToolkit</kudo>
</kudos>
<launchable type="desktop-id">org.gnome.Dictionary.desktop</launchable>
<project_group>GNOME</project_group>
<developer_name>The GNOME Project</developer_name>
<translation type="gettext">gnome-dictionary</translation>
<releases>
<release version="40.0" date="2021-03-20">
<description>
<p>A new stable release of the Dictionary for GNOME. Mostly bug fixes
and small user interface improvements.</p>
</description>
</release>
<release version="3.26.0" date="2017-09-12">
<description>
<p>A new stable release of the venerable Dictionary for GNOME. This
......@@ -40,4 +49,33 @@
</description>
</release>
</releases>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
</component>
[Dictionary Source]
# Translators: Do not translate the Name key
# Translators: Do NOT translate or transliterate this text!
Name=Default
Comment=Default Dictionary Server
Transport=dictd
......
data/gnome-dictionary.png

2.08 KiB | W: | H:

data/gnome-dictionary.png

2.82 KiB | W: | H:

data/gnome-dictionary.png
data/gnome-dictionary.png
data/gnome-dictionary.png
data/gnome-dictionary.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
install_data([
'scalable/org.gnome.Dictionary.svg',
'scalable/org.gnome.Dictionary.Devel.svg',
],
install_dir: gdict_datadir / 'icons/hicolor/scalable/apps',
)
install_data(
'symbolic/org.gnome.Dictionary-symbolic.svg',
install_dir: gdict_datadir / 'icons/hicolor/symbolic/apps',
)
<?xml version="1.0" encoding="UTF-8"?>
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="95.999944" x2="103.999944" y1="83" y2="83">
<stop offset="0" stop-color="#f6f5f4"/>
<stop offset="0.5" stop-color="#f6f5f4"/>
<stop offset="1" stop-color="#c0bfbc"/>
</linearGradient>
<filter id="b" height="100%" width="100%" x="0%" y="0%">
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="c">
<g filter="url(#b)">
<rect fill-opacity="0.3" height="128" width="128"/>
</g>
</mask>
<mask id="d">
<g filter="url(#b)">
<rect fill-opacity="0.1" height="128" width="128"/>
</g>
</mask>
<mask id="e">
<g filter="url(#b)">
<rect fill-opacity="0.3" height="128" width="128"/>
</g>
</mask>
<clipPath id="f">
<rect height="128" width="128"/>
</clipPath>
<g id="g" clip-path="url(#f)">
<path d="m 26 8 h 2 v 72 h -2 z m 0 0" fill="#ffffff"/>
</g>
<mask id="h">
<g filter="url(#b)">
<rect fill-opacity="0.1" height="128" width="128"/>
</g>
</mask>
<clipPath id="i">
<rect height="128" width="128"/>
</clipPath>
<g id="j" clip-path="url(#i)">
<path d="m 236.000225 223.5 h 104 m -128 -16 h 65.5 m -33.5 -16 h 128 m -152 -16 h 128" stroke="#000000" stroke-linecap="round" stroke-width="8" transform="matrix(0.25 0 0 0.25 -0.000056 53.125)"/>
</g>
<clipPath id="k">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="l">
<rect height="128" width="128"/>
</clipPath>
<mask id="m">
<g clip-path="url(#l)" filter="url(#b)">
<g clip-path="url(#k)">
<path d="m 24 28 v 92 h 72 c 4.433594 0 8 -3.566406 8 -8 v -76 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#26a269"/>
<path d="m 26 48 v 70 h 70 c 4.433594 0 8 -3.566406 8 -8 v -54 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="url(#a)"/>
<path d="m 24 16 v 66 h 72 c 4.433594 0 8 -3.566406 8 -8 v -50 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#26a269"/>
<path d="m 24 8 v 72 h 72 c 4.433594 0 8 -3.566406 8 -8 v -56 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#2ec27e"/>
<path d="m 24 20.125 h 80 v 48 h -80 z m 0 0" fill="#57e389"/>
<use mask="url(#e)" xlink:href="#g"/>
<use mask="url(#h)" xlink:href="#j"/>
<path d="m 32 88.125 h 16 v 20 l -8 -7 l -8 7 z m 0 0" fill="#ed333b"/>
<path d="m 49.96875 44.40625 c -0.878906 0 -1.160156 -0.121094 -1.039062 -0.519531 l 3.558593 -8.960938 h 0.28125 l 3.28125 9.480469 z m -4.320312 8.160156 l 2.121093 -5.5625 c 0.199219 -0.519531 0.441407 -0.679687 1.398438 -0.679687 h 7.601562 l 2.238281 6.519531 c 0.5625 1.640625 -1.078124 1.480469 -2.957031 1.601562 c -0.242187 0.238282 -0.242187 1.121094 0 1.359376 c 1.480469 -0.039063 5.277344 -0.078126 6.839844 -0.078126 c 1.640625 0 3.878906 0.039063 5.359375 0.078126 c 0.238281 -0.238282 0.238281 -1.121094 0 -1.359376 c -1.558594 -0.121093 -2.878906 -0.121093 -3.601562 -2.160156 l -8.238282 -22.878906 c -0.601562 0.359375 -3 1.757812 -4.441406 1.757812 l -8.640625 20.480469 c -1.039063 2.480469 -2.277344 2.679688 -4 2.800781 c -0.238281 0.238282 -0.238281 1.121094 0 1.359376 c 1.480469 -0.039063 2.203125 -0.078126 3.761719 -0.078126 c 1.640625 0 3.839844 0.039063 5.320312 0.078126 c 0.238282 -0.238282 0.238282 -1.121094 0 -1.359376 c -1.519531 -0.082031 -3.402344 -0.242187 -2.761718 -1.878906 z m 0 0" fill="#1f8455"/>
<path d="m 79.992188 53.804688 c 0.277343 1.601562 1.359374 2.320312 3.117187 2.320312 c 2.199219 0 3.761719 -0.839844 5.242187 -2.238281 c -0.121093 -0.441407 -0.28125 -0.761719 -0.722656 -1.121094 c -0.519531 0.398437 -0.917968 0.558594 -1.679687 0.558594 c -0.878907 0 -1.117188 -0.71875 -1.117188 -2.679688 l 0.078125 -5.757812 c 0 -5.761719 -3.558594 -6.921875 -6.839844 -6.921875 c -2.921874 0 -7.441406 1.679687 -7.441406 4.320312 c 0 1.160156 0.480469 2.039063 2.082032 2.039063 c 1.398437 0 2.480468 -0.878907 2.480468 -1.878907 c 0 -0.519531 -0.28125 -1.199218 -0.199218 -1.878906 c 0.078124 -0.441406 0.359374 -0.921875 1.71875 -0.921875 c 1.679687 0 3.078124 0.71875 3.078124 5.800781 l -2.679687 0.839844 c -4.238281 1.320313 -7.160156 2.480469 -7.160156 5.640625 c 0 2.757813 1.519531 4.199219 5 4.199219 c 1.160156 0 3.480469 -1.28125 4.800781 -2.320312 z m -0.203126 -6.800782 v 5.28125 c -1 0.800782 -2 1.441406 -2.71875 1.441406 c -1.71875 0 -2.320312 -1.160156 -2.320312 -2.402343 c 0 -1.480469 0.121094 -2.679688 2.960938 -3.640625 z m 0 0" fill="#1f8455"/>
</g>
</g>
</mask>
<mask id="n">
<g filter="url(#b)">
<rect fill-opacity="0.8" height="128" width="128"/>
</g>
</mask>
<linearGradient id="o" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
<stop offset="0" stop-color="#f9f06b"/>
<stop offset="1" stop-color="#f5c211"/>
</linearGradient>
<clipPath id="p">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="q">
<rect height="128" width="128"/>
</clipPath>
</defs>
<path d="m 24 28 v 92 h 72 c 4.433594 0 8 -3.566406 8 -8 v -76 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#26a269"/>
<path d="m 26 48 v 70 h 70 c 4.433594 0 8 -3.566406 8 -8 v -54 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="url(#a)"/>
<path d="m 24 16 v 66 h 72 c 4.433594 0 8 -3.566406 8 -8 v -50 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#26a269"/>
<path d="m 24 8 v 72 h 72 c 4.433594 0 8 -3.566406 8 -8 v -56 c 0 -4.433594 -3.566406 -8 -8 -8 z m 0 0" fill="#2ec27e"/>
<path d="m 24 20.125 h 80 v 48 h -80 z m 0 0" fill="#57e389"/>
<use mask="url(#c)" xlink:href="#g"/>
<use mask="url(#d)" xlink:href="#j"/>
<path d="m 32 88.125 h 16 v 20 l -8 -7 l -8 7 z m 0 0" fill="#ed333b"/>
<path d="m 49.96875 44.40625 c -0.878906 0 -1.160156 -0.121094 -1.039062 -0.519531 l 3.558593 -8.960938 h 0.28125 l 3.28125 9.480469 z m -4.320312 8.160156 l 2.121093 -5.5625 c 0.199219 -0.519531 0.441407 -0.679687 1.398438 -0.679687 h 7.601562 l 2.238281 6.519531 c 0.5625 1.640625 -1.078124 1.480469 -2.957031 1.601562 c -0.242187 0.238282 -0.242187 1.121094 0 1.359376 c 1.480469 -0.039063 5.277344 -0.078126 6.839844 -0.078126 c 1.640625 0 3.878906 0.039063 5.359375 0.078126 c 0.238281 -0.238282 0.238281 -1.121094 0 -1.359376 c -1.558594 -0.121093 -2.878906 -0.121093 -3.601562 -2.160156 l -8.238282 -22.878906 c -0.601562 0.359375 -3 1.757812 -4.441406 1.757812 l -8.640625 20.480469 c -1.039063 2.480469 -2.277344 2.679688 -4 2.800781 c -0.238281 0.238282 -0.238281 1.121094 0 1.359376 c 1.480469 -0.039063 2.203125 -0.078126 3.761719 -0.078126 c 1.640625 0 3.839844 0.039063 5.320312 0.078126 c 0.238282 -0.238282 0.238282 -1.121094 0 -1.359376 c -1.519531 -0.082031 -3.402344 -0.242187 -2.761718 -1.878906 z m 0 0" fill="#1f8455"/>
<path d="m 79.992188 53.804688 c 0.277343 1.601562 1.359374 2.320312 3.117187 2.320312 c 2.199219 0 3.761719 -0.839844 5.242187 -2.238281 c -0.121093 -0.441407 -0.28125 -0.761719 -0.722656 -1.121094 c -0.519531 0.398437 -0.917968 0.558594 -1.679687 0.558594 c -0.878907 0 -1.117188 -0.71875 -1.117188 -2.679688 l 0.078125 -5.757812 c 0 -5.761719 -3.558594 -6.921875 -6.839844 -6.921875 c -2.921874 0 -7.441406 1.679687 -7.441406 4.320312 c 0 1.160156 0.480469 2.039063 2.082032 2.039063 c 1.398437 0 2.480468 -0.878907 2.480468 -1.878907 c 0 -0.519531 -0.28125 -1.199218 -0.199218 -1.878906 c 0.078124 -0.441406 0.359374 -0.921875 1.71875 -0.921875 c 1.679687 0 3.078124 0.71875 3.078124 5.800781 l -2.679687 0.839844 c -4.238281 1.320313 -7.160156 2.480469 -7.160156 5.640625 c 0 2.757813 1.519531 4.199219 5 4.199219 c 1.160156 0 3.480469 -1.28125 4.800781 -2.320312 z m -0.203126 -6.800782 v 5.28125 c -1 0.800782 -2 1.441406 -2.71875 1.441406 c -1.71875 0 -2.320312 -1.160156 -2.320312 -2.402343 c 0 -1.480469 0.121094 -2.679688 2.960938 -3.640625 z m 0 0" fill="#1f8455"/>
<g clip-path="url(#q)" mask="url(#m)">
<g clip-path="url(#p)" mask="url(#n)">
<path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#o)"/>
<path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v -21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 0"/>
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
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"
viewBox="0 0 128 128"
style="display:inline;enable-background:new"
version="1.0"
id="svg11300"
height="128"
width="128">
<title
id="title4162">Adwaita Icon Template</title>
<defs
id="defs3">
<linearGradient
id="linearGradient914">
<stop
id="stop908"
offset="0"
style="stop-color:#f6f5f4;stop-opacity:1" />
<stop
style="stop-color:#f6f5f4;stop-opacity:1"
offset="0.5"
id="stop910" />
<stop
id="stop912"
offset="1"
style="stop-color:#c0bfbc;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="translate(-640,640)"
gradientUnits="userSpaceOnUse"
y2="120"
x2="416"
y1="120"
x1="384"
id="linearGradient1053-6"
xlink:href="#linearGradient914" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>GNOME Design Team</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:title>Adwaita Icon Template</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:date />
<dc:rights>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:relation />
<dc:language />
<dc:coverage />
<dc:description />
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
transform="translate(0,-172)"
style="display:inline"
id="layer1">
<g
style="display:inline"
id="layer9">
<g
transform="matrix(0.25,0,0,0.25,-5.62e-5,225.125)"
id="g925-5"
style="display:inline;enable-background:new">
<g
style="display:inline;enable-background:new"
id="g995-3"
transform="translate(640,-640.5)">
<path
id="rect954-3-8-5"
d="m -544,540 v 368 h 288 c 17.728,0 32,-14.272 32,-32 V 572 c 0,-17.728 -14.272,-32 -32,-32 z"
style="display:inline;opacity:1;fill:#26a269;fill-opacity:1;stroke:none;stroke-width:24;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="rect954-3-6-7-6"
d="m -536,620 v 280 h 280 c 17.728,0 32,-14.272 32,-32 V 652 c 0,-17.728 -14.272,-32 -32,-32 z"
style="display:inline;opacity:1;fill:url(#linearGradient1053-6);fill-opacity:1;stroke:none;stroke-width:24;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="rect954-3-2-92-2"
d="m -544,492 v 264 h 288 c 17.728,0 32,-14.272 32,-32 V 524 c 0,-17.728 -14.272,-32 -32,-32 z"
style="display:inline;opacity:1;fill:#26a269;fill-opacity:1;stroke:none;stroke-width:24;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="rect954-3-2-9-02-9"
d="m -544,460 v 288 h 288 c 17.728,0 32,-14.272 32,-32 V 492 c 0,-17.728 -14.272,-32 -32,-32 z"
style="display:inline;opacity:1;fill:#2ec27e;fill-opacity:1;stroke:none;stroke-width:23.99999809;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<rect
y="508.5"
x="-544"
height="192"
width="320.00003"
id="rect901-7-1"
style="display:inline;opacity:1;fill:#57e389;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new" />
<path
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:24;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
d="m -536,460 h 8 v 288 h -8 z"
id="rect1366-2" />
</g>
<path
id="path913-3-9"
style="display:inline;opacity:0.1;fill:#000000;stroke:#000000;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="m 236.00022,223.5 h 104 m -128,-16 h 65.5 m -33.5,-16 h 128 m -152,-16 h 128" />
<path
style="display:inline;fill:#ed333b;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new"
d="m 128,140 h 64 v 80 L 160,191.9996 128,220 Z"
id="path903-5-3" />
</g>
<g
transform="translate(1)"
id="text897-5"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Linux Libertine O';-inkscape-font-specification:'Linux Libertine O Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;display:inline;fill:#1d7d51;fill-opacity:1;stroke:none;stroke-width:0.25;enable-background:new"
aria-label="Aa">
<path
id="path928"
style="fill:#1f8455;stroke-width:0.25;fill-opacity:1"
d="m 48.969683,216.40501 c -0.88,0 -1.16,-0.12 -1.04,-0.52 l 3.56,-8.96 h 0.28 l 3.28,9.48 z m -4.32,8.16 2.12,-5.56 c 0.2,-0.52 0.44,-0.68 1.4,-0.68 h 7.6 l 2.24,6.52 c 0.56,1.64 -1.08,1.48 -2.96,1.6 -0.24,0.24 -0.24,1.12 0,1.36 1.48,-0.04 5.28,-0.08 6.84,-0.08 1.64,0 3.88,0.04 5.36,0.08 0.24,-0.24 0.24,-1.12 0,-1.36 -1.56,-0.12 -2.88,-0.12 -3.6,-2.16 l -8.24,-22.88 c -0.6,0.36 -3,1.76 -4.44,1.76 l -8.64,20.48 c -1.04,2.48 -2.28,2.68 -4,2.8 -0.24,0.24 -0.24,1.12 0,1.36 1.48,-0.04 2.2,-0.08 3.76,-0.08 1.64,0 3.84,0.04 5.32,0.08 0.24,-0.24 0.24,-1.12 0,-1.36 -1.52,-0.08 -3.4,-0.24 -2.76,-1.88 z" />
<path
id="path930"
style="fill:#1f8455;stroke-width:0.25;fill-opacity:1"
d="m 78.990308,225.80501 c 0.28,1.6 1.36,2.32 3.12,2.32 2.2,0 3.76,-0.84 5.24,-2.24 -0.12,-0.44 -0.28,-0.76 -0.72,-1.12 -0.52,0.4 -0.92,0.56 -1.68,0.56 -0.88,0 -1.12,-0.72 -1.12,-2.68 l 0.08,-5.76 c 0,-5.76 -3.56,-6.92 -6.84,-6.92 -2.92,0 -7.44,1.68 -7.44,4.32 0,1.16 0.48,2.04 2.08,2.04 1.4,0 2.48,-0.88 2.48,-1.88 0,-0.52 -0.28,-1.2 -0.2,-1.88 0.08,-0.44 0.36,-0.92 1.72,-0.92 1.68,0 3.08,0.72 3.08,5.8 l -2.68,0.84 c -4.24,1.32 -7.16,2.48 -7.16,5.64 0,2.76 1.52,4.2 5,4.2 1.16,0 3.48,-1.28 4.8,-2.32 z m -0.2,-6.8 v 5.28 c -1,0.8 -2,1.44 -2.72,1.44 -1.72,0 -2.32,-1.16 -2.32,-2.4 0,-1.48 0.12,-2.68 2.96,-3.64 z" />
</g>
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="org.gnome.Dictionary-symbolic.svg"
height="16"
id="svg7384"
inkscape:version="0.92.2 2405546, 2018-03-11"
version="1.1"
width="16">
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="34.468256"
inkscape:cy="-5.3985665"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#555753"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="true"
showgrid="false"
showguides="true"
inkscape:snap-bbox="false"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1381"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="1600"
inkscape:window-y="27"
inkscape:zoom="11.313708"
borderlayer="true"
inkscape:showpageshadow="false">
<inkscape:grid
empspacing="2"
enabled="true"
id="grid4866"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true"
originx="0"
originy="0" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="apps"
style="display:inline"
transform="translate(-83.0002,-175)">
<g
id="text3998"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Cantarell;-inkscape-font-specification:Cantarell Bold"
transform="matrix(0.28893613,0,0,0.28893613,130.49178,195.94283)" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#3d3846;fill-opacity:1;stroke:none;stroke-width:0.99999976;marker:none;enable-background:new"
d="m 97.0002,178 c 0,-0.97 -0.83513,-2 -2,-2 h -10 v 14 l 10,0.0254 c 1.125,0.0312 1.99609,-1.05211 1.99609,-2.02539 h 0.004 c 0,0 -1,1.03038 -1.99637,1.03038 L 86.0002,189 v -3 h 9.03125 c 0.96925,0 1.96875,-1.0155 1.96875,-2 z m -7,0 h 3 l 2,6 h -2 l -0.73438,-2 h -1.49804 l -0.76758,2 h -2 z m 1.49023,1.79687 L 91.0002,181 h 1 z"
id="rect3993"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccccccccccc" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.3;fill:#3d3846;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999976;marker:none;enable-background:new"
d="m 86.0002,186 h 8.96875 l 2.03125,-2 v 4 c 0,0 -0.78466,1 -2,1 h -9 z"
id="rect4006"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccc" />
</g>
</svg>
i18n.merge_file ('desktop',
input: 'org.gnome.Dictionary.desktop.in',
output: 'org.gnome.Dictionary.desktop',
install: true,
install_dir: join_paths(gdict_datadir, 'applications'),
po_dir: po_dir,
type: 'desktop')
subdir('appdata')
desktop_conf = configuration_data()
desktop_conf.set('icon', application_id)
desktop_conf.set('application_id', application_id)
i18n.merge_file('desktop',
input: configure_file(
input: 'org.gnome.Dictionary.desktop.in.in',
output: 'org.gnome.Dictionary.desktop.in',
configuration: desktop_conf,
),
output: application_id + '.desktop',
install: true,
install_dir: gdict_datadir / 'applications',
po_dir: po_dir,
type: 'desktop',
)
desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test('validate-desktop',
desktop_file_validate,
args: 'org.gnome.Dictionary.desktop',
workdir: meson.current_build_dir())
endif
i18n.merge_file ('desktop',
input: 'org.gnome.Dictionary.appdata.xml.in',
output: 'org.gnome.Dictionary.appdata.xml',
install: true,
install_dir: join_paths(gdict_datadir, 'appdata'),
po_dir: po_dir)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('validate-appdata',
appstream_util,
args: [ 'validate', '--nonet', 'org.gnome.Dictionary.appdata.xml' ],
workdir: meson.current_build_dir())
desktop_file_validate,
args: application_id + '.desktop',
workdir: meson.current_build_dir(),
)
endif
service_conf = configuration_data ()
service_conf.set ('bindir', gdict_bindir)
configure_file (input: 'org.gnome.Dictionary.service.in',
output: 'org.gnome.Dictionary.service',
configuration: service_conf,
install_dir: gdict_servicedir)
service_conf.set('bindir', gdict_bindir)
service_conf.set('application_id', application_id)
configure_file(input: 'org.gnome.Dictionary.service.in',
output: application_id + '.service',
configuration: service_conf,
install_dir: gdict_servicedir,
)
install_data ('org.gnome.dictionary.gschema.xml',
install_dir: gdict_schemadir)
install_data('org.gnome.dictionary.gschema.xml', install_dir: gdict_schemadir)
subdir('icons')
# Dictionary sources
sources = [
'default.desktop',
'spanish.desktop',
'thai.desktop',
]
foreach s: sources
i18n.merge_file('desktop',
input: '@0@.in'.format(s),
output: s,
install: true,
install_dir: join_paths(gdict_datadir, 'gdict-1.0', 'sources'),
po_dir: po_dir,
type: 'desktop')
i18n.merge_file('sources',
input: '@0@.in'.format(s),
output: s,
install: true,
install_dir: gdict_datadir / 'gdict-1.0' / 'sources',
po_dir: po_dir,
type: 'desktop',
)
endforeach
xsltproc = find_program('xsltproc', required: false)
......@@ -70,15 +68,16 @@ if get_option('build_man') and xsltproc.found()
]
custom_target('man pages',
input: 'gnome-dictionary.xml',
output: 'gnome-dictionary.1',
command: [
xsltproc,
xlstproc_flags,
'-o', '@OUTPUT@',
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
'@INPUT@',
],
install: true,
install_dir: join_paths(gdict_mandir, 'man1'))
input: 'gnome-dictionary.xml',
output: 'gnome-dictionary.1',
command: [
xsltproc,
xlstproc_flags,
'-o', '@OUTPUT@',
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
'@INPUT@',
],
install: true,
install_dir: gdict_mandir / 'man1',
)
endif
[Desktop Entry]
Name=Dictionary
Comment=Check word definitions and spellings in an online dictionary
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=word;synonym;definition;spelling;
Exec=gnome-dictionary
Terminal=false
Type=Application
# Translators: Do not translate the Icon key
Icon=accessories-dictionary
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@application_id@
StartupNotify=true
Categories=GNOME;GTK;Office;Dictionary;
NotShowIn=KDE;
......
[D-BUS Service]
Name=org.gnome.Dictionary
Name=@application_id@
Exec=@bindir@/gnome-dictionary --gapplication-service