Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
108
Issues
108
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura
Commits
6218ee88
Commit
6218ee88
authored
Dec 21, 2015
by
Moritz Lipp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/0.3.4'
parents
d9e74bb1
ae20f729
Pipeline
#86
skipped
Changes
67
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
67 changed files
with
6947 additions
and
11266 deletions
+6947
-11266
.gitignore
.gitignore
+1
-4
Makefile
Makefile
+12
-21
README
README
+5
-4
colors.mk
colors.mk
+8
-3
config.mk
config.mk
+16
-13
data/zathura.appdata.xml
data/zathura.appdata.xml
+19
-10
doc/man/conf.py
doc/man/conf.py
+14
-0
doc/man/zathurarc.5.rst
doc/man/zathurarc.5.rst
+46
-5
po/Makefile
po/Makefile
+22
-22
po/ca.po
po/ca.po
+260
-240
po/cs.po
po/cs.po
+260
-240
po/de.po
po/de.po
+261
-241
po/el.po
po/el.po
+260
-240
po/eo.po
po/eo.po
+260
-240
po/es.po
po/es.po
+260
-240
po/es_CL.po
po/es_CL.po
+260
-240
po/et.po
po/et.po
+258
-237
po/fr.po
po/fr.po
+263
-243
po/he.po
po/he.po
+252
-232
po/hr.po
po/hr.po
+252
-232
po/id_ID.po
po/id_ID.po
+261
-241
po/it.po
po/it.po
+263
-242
po/lt.po
po/lt.po
+260
-240
po/no.po
po/no.po
+260
-240
po/pl.po
po/pl.po
+260
-240
po/pt_BR.po
po/pt_BR.po
+263
-243
po/ru.po
po/ru.po
+262
-242
po/ta_IN.po
po/ta_IN.po
+257
-237
po/tr.po
po/tr.po
+260
-240
po/uk_UA.po
po/uk_UA.po
+260
-240
tests/Makefile
tests/Makefile
+2
-13
zathura.desktop
zathura.desktop
+2
-2
zathura/callbacks.c
zathura/callbacks.c
+11
-4
zathura/commands.c
zathura/commands.c
+3
-3
zathura/completion.c
zathura/completion.c
+43
-8
zathura/config.c
zathura/config.c
+26
-16
zathura/database-plain.c
zathura/database-plain.c
+75
-12
zathura/database-sqlite.c
zathura/database-sqlite.c
+138
-20
zathura/database.c
zathura/database.c
+8
-0
zathura/database.h
zathura/database.h
+14
-1
zathura/dbus-interface.c
zathura/dbus-interface.c
+17
-123
zathura/dbus-interface.h
zathura/dbus-interface.h
+1
-1
zathura/document.c
zathura/document.c
+23
-5
zathura/document.h
zathura/document.h
+9
-1
zathura/glib-compat.h
zathura/glib-compat.h
+0
-24
zathura/internal.h
zathura/internal.h
+1
-0
zathura/jumplist.c
zathura/jumplist.c
+181
-0
zathura/macros.h
zathura/macros.h
+8
-0
zathura/main.c
zathura/main.c
+161
-99
zathura/plugin.c
zathura/plugin.c
+1
-1
zathura/plugin.h
zathura/plugin.h
+1
-1
zathura/print.c
zathura/print.c
+66
-46
zathura/render.c
zathura/render.c
+26
-19
zathura/shortcuts.c
zathura/shortcuts.c
+25
-36
zathura/synctex.c
zathura/synctex.c
+182
-3
zathura/synctex.h
zathura/synctex.h
+9
-0
zathura/synctex/LICENSE
zathura/synctex/LICENSE
+0
-27
zathura/synctex/Makefile
zathura/synctex/Makefile
+0
-7
zathura/synctex/synctex_parser.c
zathura/synctex/synctex_parser.c
+0
-4419
zathura/synctex/synctex_parser.h
zathura/synctex/synctex_parser.h
+0
-360
zathura/synctex/synctex_parser_utils.c
zathura/synctex/synctex_parser_utils.c
+0
-502
zathura/synctex/synctex_parser_utils.h
zathura/synctex/synctex_parser_utils.h
+0
-152
zathura/synctex/synctex_parser_version.txt
zathura/synctex/synctex_parser_version.txt
+0
-1
zathura/utils.c
zathura/utils.c
+35
-16
zathura/utils.h
zathura/utils.h
+13
-0
zathura/zathura.c
zathura/zathura.c
+227
-230
zathura/zathura.h
zathura/zathura.h
+44
-2
No files found.
.gitignore
View file @
6218ee88
...
@@ -24,13 +24,10 @@ zathura-*.tar.gz
...
@@ -24,13 +24,10 @@ zathura-*.tar.gz
# build dirs
# build dirs
.depend
.depend
.tx
.tx
build/
gcov/
gcov/
doc/_build
doc/_build
# binaries
zathura
zathura-debug
# version file
# version file
version.h
version.h
.version-checks/
.version-checks/
...
...
Makefile
View file @
6218ee88
...
@@ -21,20 +21,10 @@ LIBS += $(MAGIC_LIB)
...
@@ -21,20 +21,10 @@ LIBS += $(MAGIC_LIB)
CPPFLAGS
+=
-DWITH_MAGIC
CPPFLAGS
+=
-DWITH_MAGIC
endif
endif
ifneq
($(WITH_SYSTEM_SYNCTEX),0)
ifneq
($(WITH_SYNCTEX),0)
INCS
+=
$(SYNCTEX_INC)
INCS
+=
$(SYNCTEX_INC)
LIBS
+=
$(SYNCTEX_LIB)
LIBS
+=
$(SYNCTEX_LIB)
else
CPPFLAGS
+=
-DWITH_SYNCTEX
INCS
+=
$(ZLIB_INC)
LIBS
+=
$(ZLIB_LIB)
SOURCE
+=
$(
wildcard
${PROJECT}
/synctex/
*
.c
)
ifeq
(,$(findstring -Isynctex,${CPPFLAGS}))
CPPFLAGS
+=
-I
${PROJECT}
/synctex
endif
ifeq
(,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS
+=
-DSYNCTEX_VERBOSE
=
0
endif
endif
endif
ifneq
($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
ifneq
($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
...
@@ -111,9 +101,9 @@ ${OBJECTS}: config.mk ${PROJECT}/version.h \
...
@@ -111,9 +101,9 @@ ${OBJECTS}: config.mk ${PROJECT}/version.h \
${BUILDDIR_RELEASE}/%.o
:
%.c
${BUILDDIR_RELEASE}/%.o
:
%.c
$(
call
colorecho,CC,
$<
)
$(
call
colorecho,CC,
$<
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
(
abspath
$@
)
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
@
)
@
mkdir
-p
$(
dir
$(
abspath
$@
))
@
mkdir
-p
$(
dir
$(
abspath
$@
))
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
(
abspath
$@
)
.dep
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
@
.dep
${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
:
${OBJECTS}
${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
:
${OBJECTS}
$(
call
colorecho,CC,
$@
)
$(
call
colorecho,CC,
$@
)
...
@@ -135,10 +125,10 @@ ${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \
...
@@ -135,10 +125,10 @@ ${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \
${BUILDDIR_DEBUG}/%.o
:
%.c
${BUILDDIR_DEBUG}/%.o
:
%.c
$(
call
colorecho,CC,
$<
)
$(
call
colorecho,CC,
$<
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
(
abspath
$@
)
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
@
)
@
mkdir
-p
$(
dir
$(
abspath
$@
))
@
mkdir
-p
$(
dir
$(
abspath
$@
))
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
${DFLAGS}
\
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
${DFLAGS}
\
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
(
abspath
$@
)
.dep
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
@
.dep
${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
:
${OBJECTS_DEBUG}
${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
:
${OBJECTS_DEBUG}
$(
call
colorecho,CC,
$@
)
$(
call
colorecho,CC,
$@
)
...
@@ -158,10 +148,10 @@ ${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \
...
@@ -158,10 +148,10 @@ ${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \
${BUILDDIR_GCOV}/%.o
:
%.c
${BUILDDIR_GCOV}/%.o
:
%.c
$(
call
colorecho,CC,
$<
)
$(
call
colorecho,CC,
$<
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
(
abspath
$@
)
)
@
mkdir
-p
${DEPENDDIR}
/
$(
dir
$
@
)
@
mkdir
-p
$(
dir
$(
abspath
$@
))
@
mkdir
-p
$(
dir
$(
abspath
$@
))
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
${GCOV_CFLAGS}
\
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
${GCOV_CFLAGS}
\
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
(
abspath
$@
)
.dep
-o
$@
$<
-MMD
-MF
${DEPENDDIR}
/
$
@
.dep
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
:
${OBJECTS_GCOV}
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
:
${OBJECTS_GCOV}
$(
call
colorecho,CC,
$@
)
$(
call
colorecho,CC,
$@
)
...
@@ -298,7 +288,8 @@ uninstall: uninstall-headers
...
@@ -298,7 +288,8 @@ uninstall: uninstall-headers
$(QUIET)
rm
-f
$(DESTDIR)$(APPDATAPREFIX)
/
$(PROJECT)
.appdata.xml
$(QUIET)
rm
-f
$(DESTDIR)$(APPDATAPREFIX)
/
$(PROJECT)
.appdata.xml
$(MAKE)
-C
po uninstall
$(MAKE)
-C
po uninstall
-include
$(wildcard ${DEPENDDIR}/*.dep)
DEPENDS
=
${
DEPENDDIRS
:^
=
${DEPENDDIR}
/
}
$(
addprefix
${DEPENDDIR}
/,
${OBJECTS:.o=.o.dep}
)
-include
${DEPENDS}
.PHONY
:
all options clean doc debug valgrind gdb dist doc install uninstall
\
.PHONY
:
all options clean doc debug valgrind gdb dist doc install uninstall
\
test po install-headers uninstall-headers update-po install-manpages
\
test po install-headers uninstall-headers update-po install-manpages
\
...
...
README
View file @
6218ee88
...
@@ -5,13 +5,14 @@ girara user interface library and several document libraries.
...
@@ -5,13 +5,14 @@ girara user interface library and several document libraries.
Requirements
Requirements
------------
------------
gtk3
gtk3
(>= 3.6)
glib (>= 2.
28
)
glib (>= 2.
32
)
girara (>= 0.2.4)
girara (>= 0.2.4)
sqlite3 (optional, >= 3.5.9)
sqlite3 (optional, >= 3.5.9)
check (for tests)
check (for tests)
intltool
intltool
libmagic from file(1) (optional, for mime-type detection)
libmagic from file(1) (optional, for mime-type detection)
libsynctex from TeXLive (option, for SyncTeX support)
Sphinx (optional, for manpages and HTML documentation)
Sphinx (optional, for manpages and HTML documentation)
doxygen (optional, for HTML documentation)
doxygen (optional, for HTML documentation)
breathe (optional, for HTML documentation)
breathe (optional, for HTML documentation)
...
@@ -24,7 +25,7 @@ SQLITE_INC and SQLITE_LIB variables accordingly.
...
@@ -24,7 +25,7 @@ SQLITE_INC and SQLITE_LIB variables accordingly.
Also note that Sphinx is needed to build the manpages. If it is not
Also note that Sphinx is needed to build the manpages. If it is not
installed, the man pages won't be built. For the HTML documentation, doxygen,
installed, the man pages won't be built. For the HTML documentation, doxygen,
breathe and sphinx_rtd_theme are needed in additio
a
n to Sphinx.
breathe and sphinx_rtd_theme are needed in addition to Sphinx.
If you don't want to build with support for sqlite databases, you can set
If you don't want to build with support for sqlite databases, you can set
WITH_SQLITE=0 and sqlite support won't be available.
WITH_SQLITE=0 and sqlite support won't be available.
...
@@ -35,7 +36,7 @@ WITH_MAGIC=0.
...
@@ -35,7 +36,7 @@ WITH_MAGIC=0.
If you pass these flags as a command line argument to make, you have to ensure
If you pass these flags as a command line argument to make, you have to ensure
to pass the same flags when executing the install target.
to pass the same flags when executing the install target.
If you want to build zathuras documentation, please install all python
If you want to build zathura
'
s documentation, please install all python
dependencies from the ./doc/requirements.txt file.
dependencies from the ./doc/requirements.txt file.
Installation
Installation
...
...
colors.mk
View file @
6218ee88
# See LICENSE file for license and copyright information
# See LICENSE file for license and copyright information
#
ifeq
($(COLOR),1)
# GCC diagnostics colors
DIAGNOSTICS_COLOR_AVAILABLE
?=
$(
shell
(
$(CC)
-fdiagnostics-color
=
always
-E
- </dev/null
>
/dev/null 2>/dev/null
&&
echo
1
)
||
echo
0
)
ifeq
($(DIAGNOSTICS_COLOR_AVAILABLE),1)
CPPFLAGS
+=
-fdiagnostics-color
=
always
endif
# colorful output
TPUT
?=
/usr/bin/tput
TPUT
?=
/usr/bin/tput
TPUT_AVAILABLE
?=
$(
shell
${TPUT}
-V
2>/dev/null
)
TPUT_AVAILABLE
?=
$(
shell
${TPUT}
-V
2>/dev/null
)
ifdef
TPUT_AVAILABLE
ifdef
TPUT_AVAILABLE
ifeq
($(COLOR),1)
COLOR_NORMAL
=
`
$(TPUT)
sgr0
`
COLOR_NORMAL
=
`
$(TPUT)
sgr0
`
COLOR_ACTION
=
`
$(TPUT)
bold
``
$(TPUT)
setaf 3
`
COLOR_ACTION
=
`
$(TPUT)
bold
``
$(TPUT)
setaf 3
`
COLOR_COMMENT
=
`
$(TPUT)
bold
``
$(TPUT)
setaf 2
`
COLOR_COMMENT
=
`
$(TPUT)
bold
``
$(TPUT)
setaf 2
`
COLOR_BRACKET
=
`
$(TPUT)
setaf 4
`
COLOR_BRACKET
=
`
$(TPUT)
setaf 4
`
CC
+=
-fdiagnostics-color
=
always
define
colorecho
define
colorecho
@echo
$(COLOR_BRACKET)
" ["
$(COLOR_ACTION)$1$(COLOR_BRACKET)
"] "
$(COLOR_COMMENT)$2$(COLOR_BRACKET)
$(COLOR_NORMAL)
@echo
$(COLOR_BRACKET)
" ["
$(COLOR_ACTION)$1$(COLOR_BRACKET)
"] "
$(COLOR_COMMENT)$2$(COLOR_BRACKET)
$(COLOR_NORMAL)
endef
endef
...
...
config.mk
View file @
6218ee88
...
@@ -6,7 +6,7 @@ PROJECT = zathura
...
@@ -6,7 +6,7 @@ PROJECT = zathura
ZATHURA_VERSION_MAJOR
=
0
ZATHURA_VERSION_MAJOR
=
0
ZATHURA_VERSION_MINOR
=
3
ZATHURA_VERSION_MINOR
=
3
ZATHURA_VERSION_REV
=
3
ZATHURA_VERSION_REV
=
4
# If the API changes, the API version and the ABI version have to be bumped.
# If the API changes, the API version and the ABI version have to be bumped.
ZATHURA_API_VERSION
=
2
ZATHURA_API_VERSION
=
2
# If the ABI breaks for any reason, this has to be bumped.
# If the ABI breaks for any reason, this has to be bumped.
...
@@ -18,15 +18,15 @@ VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_RE
...
@@ -18,15 +18,15 @@ VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_RE
# girara
# girara
GIRARA_VERSION_CHECK
?=
1
GIRARA_VERSION_CHECK
?=
1
GIRARA_MIN_VERSION
=
0.2.
4
GIRARA_MIN_VERSION
=
0.2.
5
GIRARA_PKG_CONFIG_NAME
=
girara-gtk3
GIRARA_PKG_CONFIG_NAME
=
girara-gtk3
# glib
# glib
GLIB_VERSION_CHECK
?=
1
GLIB_VERSION_CHECK
?=
1
GLIB_MIN_VERSION
=
2.
28
GLIB_MIN_VERSION
=
2.
32
GLIB_PKG_CONFIG_NAME
=
glib-2.0
GLIB_PKG_CONFIG_NAME
=
glib-2.0
# GTK
# GTK
GTK_VERSION_CHECK
?=
1
GTK_VERSION_CHECK
?=
1
GTK_MIN_VERSION
=
3.
0
GTK_MIN_VERSION
=
3.
6
GTK_PKG_CONFIG_NAME
=
gtk+-3.0
GTK_PKG_CONFIG_NAME
=
gtk+-3.0
# pkg-config binary
# pkg-config binary
...
@@ -37,8 +37,8 @@ PKG_CONFIG ?= pkg-config
...
@@ -37,8 +37,8 @@ PKG_CONFIG ?= pkg-config
WITH_SQLITE
?=
$(
shell
(
${PKG_CONFIG}
--atleast-version
=
3.5.9 sqlite3
&&
echo
1
)
||
echo
0
)
WITH_SQLITE
?=
$(
shell
(
${PKG_CONFIG}
--atleast-version
=
3.5.9 sqlite3
&&
echo
1
)
||
echo
0
)
# synctex
# synctex
# To
use the embedded copy of the syntex parser set WITH_SYSTEM
_SYNCTEX to 0.
# To
disable support for synctex with libsynctex set WITH
_SYNCTEX to 0.
WITH_SY
STEM_SY
NCTEX
?=
$(
shell
(
${PKG_CONFIG}
synctex
&&
echo
1
)
||
echo
0
)
WITH_SYNCTEX
?=
$(
shell
(
${PKG_CONFIG}
synctex
&&
echo
1
)
||
echo
0
)
# mimetype detection
# mimetype detection
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
...
@@ -91,24 +91,24 @@ MAGIC_INC ?=
...
@@ -91,24 +91,24 @@ MAGIC_INC ?=
MAGIC_LIB
?=
-lmagic
MAGIC_LIB
?=
-lmagic
endif
endif
ifneq
($(WITH_SY
STEM_SY
NCTEX),0)
ifneq
($(WITH_SYNCTEX),0)
SYNCTEX_INC
?=
$(
shell
${PKG_CONFIG}
--cflags
synctex
)
SYNCTEX_INC
?=
$(
shell
${PKG_CONFIG}
--cflags
synctex
)
SYNCTEX_LIB
?=
$(
shell
${PKG_CONFIG}
--libs
synctex
)
SYNCTEX_LIB
?=
$(
shell
${PKG_CONFIG}
--libs
synctex
)
else
ZLIB_INC
?=
$(
shell
${PKG_CONFIG}
--cflags
zlib
)
ZLIB_LIB
?=
$(
shell
${PKG_CONFIG}
--libs
zlib
)
endif
endif
INCS
=
${GIRARA_INC}
${GTK_INC}
${GTHREAD_INC}
${GMODULE_INC}
${GLIB_INC}
INCS
=
${GIRARA_INC}
${GTK_INC}
${GTHREAD_INC}
${GMODULE_INC}
${GLIB_INC}
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${GTHREAD_LIB}
${GMODULE_LIB}
${GLIB_LIB}
-lpthread
-lm
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${GTHREAD_LIB}
${GMODULE_LIB}
${GLIB_LIB}
-lpthread
-lm
# flags
# pre-processor flags
CFLAGS
+=
-std
=
c99
-pedantic
-Wall
-Wno-format-zero-length
-Wextra
$(INCS)
CPPFLAGS
+=
-D_FILE_OFFSET_BITS
=
64
# compiler flags
CFLAGS
+=
-std
=
c11
-pedantic
-Wall
-Wno-format-zero-length
-Wextra
$(INCS)
# debug
# debug
DFLAGS
?=
-g
DFLAGS
?=
-g
# l
d
# l
inker flags
LDFLAGS
+=
-rdynamic
LDFLAGS
+=
-rdynamic
# compiler
# compiler
...
@@ -139,6 +139,9 @@ VALGRIND_SUPPRESSION_FILE = zathura.suppression
...
@@ -139,6 +139,9 @@ VALGRIND_SUPPRESSION_FILE = zathura.suppression
# set to something != 0 if you want verbose build output
# set to something != 0 if you want verbose build output
VERBOSE
?=
0
VERBOSE
?=
0
# gettext package name
GETTEXT_PACKAGE
?=
${PROJECT}
# colors
# colors
COLOR
?=
1
COLOR
?=
1
...
...
data/zathura.appdata.xml
View file @
6218ee88
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 pwmt.org -->
<!-- Copyright 2014
-2015
pwmt.org -->
<
application
>
<
component
type=
"desktop"
>
<id
type=
"desktop"
>
zathura.desktop
</id>
<id>
zathura.desktop
</id>
<metadata_license>
CC0-1.0
</metadata_license>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
Zlib
</project_license>
<project_license>
Zlib
</project_license>
<description>
<description>
...
@@ -22,12 +22,21 @@
...
@@ -22,12 +22,21 @@
</ul>
</ul>
</p>
</p>
</description>
</description>
<url
type=
"homepage"
>
http://pwmt.org/projects/zathura
</url>
<url
type=
"homepage"
>
https://pwmt.org/projects/zathura
</url>
<url
type=
"bugtracker"
>
https://bugs.pwmt.org/project/zathura
</url>
<screenshots>
<screenshots>
<screenshot
type=
"default"
>
http://pwmt.org/projects/zathura/img/zathura-cover.png
</screenshot>
<screenshot
type=
"default"
>
<screenshot>
http://pwmt.org/projects/zathura/img/zathura-completion.png
</screenshot>
<image>
https://pwmt.org/projects/zathura/img/zathura-cover.png
</image>
<screenshot>
http://pwmt.org/projects/zathura/img/zathura-follow.png
</screenshot>
</screenshot>
<screenshot>
http://pwmt.org/projects/zathura/img/zathura-bookmarks.png
</screenshot>
<screenshot>
<image>
https://pwmt.org/projects/zathura/img/zathura-completion.png
</image>
</screenshot>
<screenshot>
<image>
https://pwmt.org/projects/zathura/img/zathura-follow.png
</image>
</screenshot>
<screenshot>
<image>
https://pwmt.org/projects/zathura/img/zathura-bookmarks.png
</image>
</screenshot>
</screenshots>
</screenshots>
<update
contact>
zathura@lists.pwmt.org
</update
contact>
<update
_contact>
zathura@lists.pwmt.org
</update_
contact>
</
application
>
</
component
>
doc/man/conf.py
View file @
6218ee88
...
@@ -2,11 +2,25 @@
...
@@ -2,11 +2,25 @@
#
#
# See LICENSE file for license and copyright information
# See LICENSE file for license and copyright information
import
os.path
import
glob
import
time
dirname
=
os
.
path
.
dirname
(
__file__
)
files
=
glob
.
glob
(
os
.
path
.
join
(
dirname
,
'*.rst'
))
files
.
extend
(
glob
.
glob
(
os
.
path
.
join
(
dirname
,
'*.txt'
)))
maxdate
=
0
for
path
in
files
:
s
=
os
.
stat
(
path
)
maxdate
=
max
(
maxdate
,
s
.
st_mtime
)
# -- General configuration ------------------------------------------------
# -- General configuration ------------------------------------------------
source_suffix
=
'.rst'
source_suffix
=
'.rst'
master_doc
=
'zathura.1'
master_doc
=
'zathura.1'
templates_path
=
[
'_templates'
]
templates_path
=
[
'_templates'
]
today
=
time
.
strftime
(
'%Y-%m-%d'
,
time
.
gmtime
(
maxdate
))
# -- Project configuration ------------------------------------------------
# -- Project configuration ------------------------------------------------
...
...
doc/man/zathurarc.5.rst
View file @
6218ee88
...
@@ -74,9 +74,9 @@ the *zathurarc* file to make those changes permanent:
...
@@ -74,9 +74,9 @@ the *zathurarc* file to make those changes permanent:
include - Including another config file
include - Including another config file
---------------------------------------
---------------------------------------
This commands allows
to include other configuration files. If a relative path is
This commands allows
one to include other configuration files. If a relative
given, the path will be resolved relative to the configuration file that is
path is given, the path will be resolved relative to the configuration file that
currently processed.
is
currently processed.
::
::
...
@@ -731,9 +731,12 @@ Defines the number of pages that are rendered next to each other in a row.
...
@@ -731,9 +731,12 @@ Defines the number of pages that are rendered next to each other in a row.
first-page-column
first-page-column
^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
Defines the column in which the first page will be displayed.
Defines the column in which the first page will be displayed.
This setting is stored separately for every value of pages-per-row according to
the following pattern <1 page per row>:[<2 pages per row>[: ...]]. Per default,
the first column is set to 2 for double-page layout.
* Value type:
Integer
* Value type:
String
* Default value: 1
* Default value: 1
:2
recolor
recolor
^^^^^^^
^^^^^^^
...
@@ -820,6 +823,30 @@ Defines if the last/first page should be wrapped
...
@@ -820,6 +823,30 @@ Defines if the last/first page should be wrapped
* Value type: Boolean
* Value type: Boolean
* Default value: false
* Default value: false
show-directories
^^^^^^^^^^^^^^^^
Defines if the directories should be displayed in completion.
* Value type: Boolean
* Default value: true
show-hidden
^^^^^^^^^^^
Defines if hidden files and directories should be displayed in completion.
* Value type: Boolean
* Default value: false
show-recent
^^^^^^^^^^^
Defines the number of recent files that should be displayed in completion.
If the value is negative, no upper bounds are applied. If the value is 0, no
recent files are shown.
* Value type: Integer
* Default value: 10
scroll-page-aware
scroll-page-aware
^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
Defines if scrolling by half or full pages stops at page boundaries.
Defines if scrolling by half or full pages stops at page boundaries.
...
@@ -863,6 +890,13 @@ Use basename of the file in the window title.
...
@@ -863,6 +890,13 @@ Use basename of the file in the window title.
* Value type: Boolean
* Value type: Boolean
* Default value: false
* Default value: false
window-title-home-tilde
^^^^^^^^^^^^^^^^^^^^^^^
Display a short version of the file path, which replaces $HOME with ~, in the window title.
* Value type: Boolean
* Default value: false
window-title-page
window-title-page
^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
Display the page number in the window title.
Display the page number in the window title.
...
@@ -877,6 +911,13 @@ Use basename of the file in the statusbar.
...
@@ -877,6 +911,13 @@ Use basename of the file in the statusbar.
* Value type: Boolean
* Value type: Boolean
* Default value: false
* Default value: false
statusbar-home-tilde
^^^^^^^^^^^^^^^^^^^^
Display a short version of the file path, which replaces $HOME with ~, in the statusbar.
* Value type: Boolean
* Default value: false
zoom-center
zoom-center
^^^^^^^^^^^
^^^^^^^^^^^
En/Disables horizontally centered zooming.
En/Disables horizontally centered zooming.
...
...
po/Makefile
View file @
6218ee88
# See LICENSE file for license and copyright information
# See LICENSE file for license and copyright information
PROJECT
=
zathura
include
../config.mk
GETTEXT_PACKAGE
=
$(PROJECT)
include
../common.mk
CATALOGS
=
$(
wildcard
*
.po
)
include
../colors.mk
LINGUAS
?=
$(
patsubst
%.po, %,
$(CATALOGS)
)
PROJECT
=
zathura
CATALOGS
=
$(
sort
$(
wildcard
*
.po
))
LINGUAS
?=
$(
patsubst
%.po, %,
$(CATALOGS)
)
ifeq
($(LINGUAS),)
ifeq
($(LINGUAS),)
ALINGUAS
=
ALINGUAS
=
else
else
ALINGUAS
=
$(
shell
find
$(
patsubst
%, %.po,
$(LINGUAS)
)
2>/dev/null
)
ALINGUAS
=
$(
shell
find
$(
patsubst
%, %.po,
$(LINGUAS)
)
2>/dev/null
)
endif
endif
MOS
=
$(
patsubst
%, %/LC_MESSAGES/
${GETTEXT_PACKAGE}
.mo,
$(
patsubst
%.po, %,
$(ALINGUAS)
))
MOS
=
$(
patsubst
%, %/LC_MESSAGES/
${GETTEXT_PACKAGE}
.mo,
$(
patsubst
%.po, %,
$(ALINGUAS)
))
include
../config.mk
include
../common.mk
all
:
${MOS}
all
:
${MOS}
clean
:
clean
:
$(QUIET)
rm
-rf
POTFILES.in POTFILES.in.tmp
$(
patsubst
%.po, %,
$(CATALOGS)
)
${PROJECT}
.pot
$(QUIET)
rm
-rf
POTFILES.in POTFILES.in.tmp
$(
patsubst
%.po, %,
$(CATALOGS)
)
${PROJECT}
.pot
POTFILES.in
:
$(
wildcard ../zathura/*.c
)
POTFILES.in
:
$(
sort $(wildcard ../girara/*.c)
)
$(QUIET)
set
-e
&&
rm
-f
$@
.tmp
&&
touch
$@
.tmp
&&
\
$(QUIET)
set
-e
&&
rm
-f
$@
.tmp
&&
touch
$@
.tmp
&&
\
for
f
in
$
(
^F
)
;
do
\
for
f
in
$
(
^F
)
;
do
\
echo
zathu
ra/
$$
f
>>
$@
.tmp
;
\
echo
gira
ra/
$$
f
>>
$@
.tmp
;
\
done
&&
\
done
&&
\
mv
$@
.tmp
$@
mv
$@
.tmp
$@
${
PROJECT
}.pot
:
POTFILES.in
${
GETTEXT_PACKAGE
}.pot
:
POTFILES.in
$(ECHO)
regenerate
$
{PROJECT}
.pot
$(ECHO)
regenerate
$
@
$(QUIET)
intltool-update
--pot
--gettext-package
=
${
PROJECT
}
$(QUIET)
intltool-update
--pot
--gettext-package
=
${
GETTEXT_PACKAGE
}
update-po
:
${
PROJECT
}.pot
update-po
:
${
GETTEXT_PACKAGE
}.pot
$(
ECHO)
updating po: files
${CATALOGS}
$(
call
colorecho,PO,
"Updating po files
${CATALOGS}
"
)
$(QUIET)
set
-e
&&
for
f
in
${CATALOGS}
;
do
\
$(QUIET)
set
-e
&&
for
f
in
${CATALOGS}
;
do
\
intltool-update
--dist
--gettext-package
=
${
PROJECT
}
`
echo
$$
f |
sed
's/\.po//'
`
;
\
intltool-update
--dist
--gettext-package
=
${
GETTEXT_PACKAGE
}
`
echo
$$
f |
sed
's/\.po//'
`
;
\
sed
-i
's/Report-Msgid-Bugs-To: \\n/Report-Msgid-Bugs-To: http:\/\/bugs.pwmt.org\\n/'
"
$$
f"
;
\
sed
-i
's/Report-Msgid-Bugs-To: \\n/Report-Msgid-Bugs-To: http:\/\/bugs.pwmt.org\\n/'
"
$$
f"
;
\
done
done
%/LC_MESSAGES/${
PROJECT
}.mo
:
%.po
%/LC_MESSAGES/${
GETTEXT_PACKAGE
}.mo
:
%.po
@
mkdir
-p
$
(
@D
)
@
mkdir
-p
$
(
@D
)
$(
ECHO)
msgfmt
$(
shell
echo
$<
|
sed
's/\.po//'
)
$(
call
colorecho,MSGFMT,
$(
shell
echo
$<
|
sed
's/\.po//'
)
)
$(QUIET)${MSGFMT}
${MSGFMTFLAGS}
-c
$<
-o
$@
$(QUIET)${MSGFMT}
${MSGFMTFLAGS}
-c
$<
-o
$@
install
:
${MOS}
install
:
${MOS}
$(
ECHO)
installing translations
$(
call
colorecho,INSTALL,
"Install translations"
)
$(QUIET)
set
-e
&&
for
f
in
$^
;
do
\
$(QUIET)
set
-e
&&
for
f
in
$^
;
do
\
mkdir
-p
-m
755
$(DESTDIR)$(LOCALEDIR)
/
`
dirname
$$
f
`
;
\
mkdir
-p
-m
755
$(DESTDIR)$(LOCALEDIR)
/
`
dirname
$$
f
`
;
\
install
-m
644
$$
f
$(DESTDIR)$(LOCALEDIR)
/
`
dirname
$$
f
`
;
\
install
-m
644
$$
f
$(DESTDIR)$(LOCALEDIR)
/
`
dirname
$$
f
`
;
\
done
done
uninstall
:
${MOS}
uninstall
:
${MOS}
$(
ECHO)
removing translations
$(
call
colorecho,UNINSTALL,
"Uninstall translations"
)
$(QUIET)
set
-e
&&
for
f
in
$^
;
do
\
$(QUIET)
set
-e
&&
for
f
in
$^
;
do
\
rm
-f
$(
DESTDIR)$(
LOCALEDIR)
/
$$
f
;
\
rm
-f
$(LOCALEDIR)
/
$$
f
;
\
done
done
.PHONY
:
all clean
update-po install uninstall
.PHONY
:
all clean
install uninstall update-po
po/ca.po
View file @
6218ee88
...
@@ -8,8 +8,8 @@ msgid ""
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: zathura\n"
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-
04-13 19:42+02
00\n"
"POT-Creation-Date: 2015-
12-14 22:03+01
00\n"
"PO-Revision-Date: 2015-
04-13 19:45
+0200\n"
"PO-Revision-Date: 2015-
10-15 23:09
+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
"ca/)\n"
"ca/)\n"
...
@@ -18,28 +18,181 @@ msgstr ""
...
@@ -18,28 +18,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.
5.4
\n"
"X-Generator: Poedit 1.
8.5
\n"
#: ../zathura/callbacks.c:233
#: ../zathura/callbacks.c:233
#, c-format
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgid "'%s' must not be 0. Set to 1."
msgstr ""
msgstr ""
#: ../zathura/callbacks.c:31
0
#: ../zathura/callbacks.c:31
5
#, c-format
#, c-format
msgid "Invalid input '%s' given."
msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'."
msgstr "Entrada invàlida '%s'."
#: ../zathura/callbacks.c:3
46
#: ../zathura/callbacks.c:3
51
#, c-format
#, c-format
msgid "Invalid index '%s' given."
msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'."
msgstr "Índex invàlid '%s'."
#: ../zathura/callbacks.c:5
88
#: ../zathura/callbacks.c:5
94
#, c-format
#, c-format
msgid "Copied selected text to selection %s: %s"
msgid "Copied selected text to selection %s: %s"
msgstr ""
msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "No s'ha obert cap document."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualitzat correctament: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creat correctament: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Esborrat el marcador: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""