diff --git a/Makefile.am b/Makefile.am index fd7abf3..0b4a1ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,10 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src data docs po -EXTRA_DIST = README.md AUTHORS meson.build docs/meson.build test/meson.build test/test-option-parser.c meson-post-install.py po/meson.build +EXTRA_DIST = \ + README.md AUTHORS meson-post-install.py \ + meson.build docs/meson.build test/meson.build po/meson.build \ + test/test-option-parser.c test/test-playlist-model.c UPDATE_DESKTOP = update-desktop-database -q || : UPDATE_ICON = gtk-update-icon-cache -q $(datadir)/icons/hicolor/ || : diff --git a/README b/README index 204fe65..c3b9147 100644 --- a/README +++ b/README @@ -6,35 +6,32 @@ mpv's powerful playback capabilities. ![Screenshot](https://celluloid-player.github.io/images/screenshot-0.png) +Repository Mirror: https://codeberg.org/celluloid-player/celluloid + ## Dependencies -- appstream-glib[[1]](#note1) (build) -- autoconf >= 2.69[[1]](#note1) (build) -- autoconf-archive[[1]](#note1) (build) -- automake >= 1.12[[1]](#note1) (build) +- appstream-glib (build) - pkg-config (build) - gcc (build) -- glib >= 2.44 -- gtk >= 3.22 +- glib >= 2.66 +- gtk >= 4.6.1 +- libadwaita >= 1.2.0 - mpv >= 0.32 - epoxy - lua (optional) - youtube-dl (optional) -[1]: Not required when building from release tarballs - ## Installation -### GNU/Linux packages -- Arch Linux: https://www.archlinux.org/packages/celluloid -- Arch Linux (Git): https://aur.archlinux.org/packages/celluloid-git -- Debian: https://tracker.debian.org/pkg/celluloid -- Fedora (rpmfusion): https://admin.rpmfusion.org/pkgdb/package/free/celluloid/ -- OpenSUSE: https://software.opensuse.org/package/celluloid -- Gentoo: https://packages.gentoo.org/packages/media-video/celluloid -- Guix: https://guix.gnu.org/en/packages/celluloid-0.20 -- Solus: https://packages.getsol.us/shannon/g/gnome-mpv/ -- Ubuntu: https://launchpad.net/~xuzhen666/+archive/ubuntu/gnome-mpv +### Packages + + + Packaging status + + +Ubuntu users can use +[this PPA](https://launchpad.net/~xuzhen666/+archive/ubuntu/gnome-mpv) to get +more up-to-date versions of Celluloid. ### Flatpak @@ -48,30 +45,19 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat flatpak install flathub io.github.celluloid_player.Celluloid ``` -Development versions are also packaged: +### Snap + +Stable releases are hosted on [Snapcraft](https://snapcraft.io): ```sh -flatpak install https://dl.tingping.se/flatpak/gnome-mpv.flatpakref +sudo snap install celluloid ``` - ### Source code Run the following command in the source code directory to build and install: ```sh -meson build && cd build && ninja && sudo ninja install -``` - -Alternatively, you can use Autotools: - -```sh -./autogen.sh && make && sudo make install -``` - -When building from release tarballs, replace `./autogen.sh` with `./configure`: - -```sh -./configure && make && sudo make install +meson setup build && cd build && ninja && sudo ninja install ``` ## Usage @@ -100,19 +86,21 @@ your keyboard. ### Configuration -Celluloid can be configured using the preferences dialog accessible via the -"Preferences" menu item. Additional configuration options can be set from an -external file using the same syntax as mpv's `mpv.conf`. -See [mpv's manual](https://mpv.io/manual/stable/) for the full list of options. -The file must be specified and enabled in the preferences dialog under the "MPV -Configuration" section. +Celluloid can be configured using the preferences dialog accessible through the +`Preferences` menu item. A number of less common options are also available in +the `dconf` database. You can configure these using a tool like +[Dconf Editor](https://wiki.gnome.org/Apps/DconfEditor). -It is also possible to set mpv options by putting the options — as you -would pass to mpv on the command line — in `Extra MPV Options` text box in -the preferences dialog. You can also pass options directly on the command line -by adding `mpv-` prefix to the option name. For example, using the option -`--mpv-vf=flip` when launching Celluloid is equivalent to using `--vf=flip` in -mpv. +mpv-specific options can be set by creating a configuration file using mpv's +`mpv.conf` syntax. See [mpv's manual](https://mpv.io/manual/stable/) for the +full list of options. The file must be specified and enabled in the preferences +dialog under the "MPV Configuration" section for it to take effect. + +It is also possible to set mpv options by putting the options as you would pass +to mpv on the command line in the `Extra MPV Options` text box in the +preferences dialog. If you want to set these options on the command line, you +can do so by adding `mpv-` prefix to the name of the option you want to set. +For example, the option `--mpv-vf=flip` is equivalent to `--vf=flip` in mpv. ### User Scripts @@ -140,12 +128,10 @@ Additional keybindings can be defined in an external file using mpv's ## Contributing Translations -Celluloid uses [Zanata](https://zanata.org) to coordinate -translations. You can find Celluloid's page -[here](https://translate.zanata.org/iteration/view/celluloid/master). To -start translating, follow the instructions -[here](http://docs.zanata.org/en/release/user-guide/translator-guide/). If you'd -like to add a new language, open an issue on GitHub. +![Translation Status](https://hosted.weblate.org/widgets/celluloid/-/celluloid/horizontal-auto.svg) + +Celluloid uses [Weblate](https://weblate.org) to coordinate translations. You +can find Celluloid's page [here](https://hosted.weblate.org/projects/celluloid). While translating, you will find the string `translator-credits`. You should not translate this string. Instead, you should put your name, and optionally your diff --git a/celluloid.doap b/celluloid.doap new file mode 100644 index 0000000..4f25b29 --- /dev/null +++ b/celluloid.doap @@ -0,0 +1,27 @@ + + + Celluloid + Plays videos + + + C + GTK 4 + Libadwaita + + + + gnome-mpv + + + + + gnome-mpv + + + + + diff --git a/configure.ac b/configure.ac index 96a223c..8c619a9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ([2.69]) AC_INIT( [celluloid], - [0.21], + [0.27], [http://github.com/celluloid-player/celluloid/issues], [celluloid], [http://github.com/celluloid/celluloid] ) @@ -90,14 +90,14 @@ AS_IF([test "x$GLIB_GENMARSHAL" = "x"], [ AC_MSG_ERROR([Could not find glib-genmarshal]) ]) -PKG_CHECK_MODULES(DEPS, [gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.44 mpv >= 1.107 epoxy]) +PKG_CHECK_MODULES(DEPS, [gtk4 >= 4.6.1 glib-2.0 >= 2.66 libadwaita-1 >= 1.2.0 mpv >= 1.107 epoxy]) AC_SEARCH_LIBS([sqrt], [m]) -AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_44], [Dont warn using older APIs]) -AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_44], [Prevents using newer APIs]) +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_66], [Dont warn using older APIs]) +AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_66], [Prevents using newer APIs]) -AC_DEFINE([GDK_VERSION_MIN_REQUIRED], [GDK_VERSION_3_22], [Dont warn using older APIs]) -AC_DEFINE([GDK_VERSION_MAX_ALLOWED], [GDK_VERSION_3_22], [Prevents using newer APIs]) +AC_DEFINE([GDK_VERSION_MIN_REQUIRED], [GDK_VERSION_4_6], [Dont warn using older APIs]) +AC_DEFINE([GDK_VERSION_MAX_ALLOWED], [GDK_VERSION_4_6], [Prevents using newer APIs]) AC_DEFINE_UNQUOTED([G_LOG_DOMAIN], "$PACKAGE_NAME", [Default logging facility]) @@ -114,6 +114,10 @@ AC_CONFIG_FILES([Makefile src/Makefile data/Makefile docs/Makefile po/Makefile.i AC_OUTPUT echo " +################################################################################ +# THE AUTOMAKE BUILD SCRIPT IS DEPRECATED. CONSIDER USING MESON INSTEAD. # +################################################################################ + $PACKAGE $VERSION prefix ........: $prefix diff --git a/data/Makefile.am b/data/Makefile.am index 5321ed3..e72b64e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -gsettings_SCHEMAS = io.github.celluloid_player.Celluloid.gschema.xml io.github.GnomeMpv.gschema.xml +gsettings_SCHEMAS = io.github.celluloid_player.Celluloid.gschema.xml @GSETTINGS_RULES@ @@ -35,7 +35,6 @@ EXTRA_DIST = $(appstream_in_files) \ $(dbusservice_in_files) \ io.github.celluloid_player.Celluloid.svg \ io.github.celluloid_player.Celluloid-symbolic.svg \ - io.github.GnomeMpv.gschema.xml \ io.github.celluloid_player.Celluloid.gschema.xml \ celluloid-mpris-gdbus.xml \ celluloid-marshal.lst \ diff --git a/data/Makefile.in b/data/Makefile.in deleted file mode 100644 index dc1451c..0000000 --- a/data/Makefile.in +++ /dev/null @@ -1,618 +0,0 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2021 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = data -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ - $(top_srcdir)/m4/ax_append_compile_flags.m4 \ - $(top_srcdir)/m4/ax_append_flag.m4 \ - $(top_srcdir)/m4/ax_append_link_flags.m4 \ - $(top_srcdir)/m4/ax_check_compile_flag.m4 \ - $(top_srcdir)/m4/ax_check_link_flag.m4 \ - $(top_srcdir)/m4/ax_require_defined.m4 \ - $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ - $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ - $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \ - $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ - $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(dbusservicedir)" \ - "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)" \ - "$(DESTDIR)$(symicondir)" -DATA = $(dbusservice_DATA) $(desktop_DATA) $(icon_DATA) \ - $(symicon_DATA) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -am__DIST_COMMON = $(srcdir)/Makefile.in -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APPSTREAM_UTIL = @APPSTREAM_UTIL@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DEPS_CFLAGS = @DEPS_CFLAGS@ -DEPS_LIBS = @DEPS_LIBS@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ETAGS = @ETAGS@ -EXEEXT = @EXEEXT@ -GDBUS_CODEGEN = @GDBUS_CODEGEN@ -GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GREP = @GREP@ -GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LDFLAGS = @LDFLAGS@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MSGFMT = @MSGFMT@ -MSGMERGE = @MSGMERGE@ -MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -POSUB = @POSUB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -appstreamxmldir = @appstreamxmldir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -gsettingsschemadir = @gsettingsschemadir@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -gsettings_SCHEMAS = io.github.celluloid_player.Celluloid.gschema.xml io.github.GnomeMpv.gschema.xml -appstream_in_files = io.github.celluloid_player.Celluloid.appdata.xml.in -appstream_XML = $(appstream_in_files:.xml.in=.xml) -dbusservicedir = $(datadir)/dbus-1/services -dbusservice_in_files = io.github.celluloid_player.Celluloid.service.in -dbusservice_DATA = $(dbusservice_in_files:.service.in=.service) -desktopdir = $(datadir)/applications -desktop_in_files = io.github.celluloid_player.Celluloid.desktop.in -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) -icondir = $(datadir)/icons/hicolor/scalable/apps -icon_DATA = io.github.celluloid_player.Celluloid.svg -symicondir = $(datadir)/icons/hicolor/symbolic/apps -symicon_DATA = io.github.celluloid_player.Celluloid-symbolic.svg -EXTRA_DIST = $(appstream_in_files) \ - $(desktop_in_files) \ - $(dbusservice_in_files) \ - io.github.celluloid_player.Celluloid.svg \ - io.github.celluloid_player.Celluloid-symbolic.svg \ - io.github.GnomeMpv.gschema.xml \ - io.github.celluloid_player.Celluloid.gschema.xml \ - celluloid-mpris-gdbus.xml \ - celluloid-marshal.lst \ - meson.build - -DISTCLEANFILES = $(appstream_XML) $(desktop_DATA) $(dbusservice_DATA) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign data/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-dbusserviceDATA: $(dbusservice_DATA) - @$(NORMAL_INSTALL) - @list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(dbusservicedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dbusservicedir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(dbusservicedir)" || exit $$?; \ - done - -uninstall-dbusserviceDATA: - @$(NORMAL_UNINSTALL) - @list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(dbusservicedir)'; $(am__uninstall_files_from_dir) -install-desktopDATA: $(desktop_DATA) - @$(NORMAL_INSTALL) - @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ - done - -uninstall-desktopDATA: - @$(NORMAL_UNINSTALL) - @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) -install-iconDATA: $(icon_DATA) - @$(NORMAL_INSTALL) - @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(icondir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(icondir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ - done - -uninstall-iconDATA: - @$(NORMAL_UNINSTALL) - @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) -install-symiconDATA: $(symicon_DATA) - @$(NORMAL_INSTALL) - @list='$(symicon_DATA)'; test -n "$(symicondir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(symicondir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(symicondir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(symicondir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(symicondir)" || exit $$?; \ - done - -uninstall-symiconDATA: - @$(NORMAL_UNINSTALL) - @list='$(symicon_DATA)'; test -n "$(symicondir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(symicondir)'; $(am__uninstall_files_from_dir) -tags TAGS: - -ctags CTAGS: - -cscope cscopelist: - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(DATA) -installdirs: - for dir in "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)" "$(DESTDIR)$(symicondir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-dbusserviceDATA install-desktopDATA \ - install-iconDATA install-symiconDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-dbusserviceDATA uninstall-desktopDATA \ - uninstall-iconDATA uninstall-symiconDATA - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ - ctags-am distclean distclean-generic distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dbusserviceDATA install-desktopDATA \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-iconDATA install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip install-symiconDATA \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags-am uninstall uninstall-am \ - uninstall-dbusserviceDATA uninstall-desktopDATA \ - uninstall-iconDATA uninstall-symiconDATA - -.PRECIOUS: Makefile - - -@GSETTINGS_RULES@ - -%.appdata.xml: %.appdata.xml.in - $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ - -@APPSTREAM_XML_RULES@ - -%.service: %.service.in Makefile - $(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@ - -%.desktop: %.desktop.in - $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/data/celluloid-marshal.lst b/data/celluloid-marshal.lst index 08ee3fa..68c89ff 100644 --- a/data/celluloid-marshal.lst +++ b/data/celluloid-marshal.lst @@ -1,8 +1,10 @@ VOID:POINTER,BOOLEAN VOID:STRING,POINTER VOID:INT,INT +VOID:UINT,UINT VOID:INT64,INT64 VOID:INT,STRING,STRING VOID:INT,POINTER VOID:BOOLEAN,BOOLEAN,POINTER,POINTER +VOID:UINT,UINT,UINT VOID:INT64 diff --git a/data/io.github.GnomeMpv.gschema.xml b/data/io.github.GnomeMpv.gschema.xml deleted file mode 100644 index c7e61c1..0000000 --- a/data/io.github.GnomeMpv.gschema.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - false - Whether the settings has already been migrated from the previous version - - - - - true - Enable or disable dark theme - - - - - true - Enable or disable client-side decorations - - - - - false - Whether or not to use floating controls in windowed mode - - - - - false - Whether or not to autohide mouse cursor in windowed mode - - - - - false - Whether or not to use skip buttons for controlling playlist - - - - - false - Whether or not to make file chooser dialog remember last folder accessed - - - - - false - Whether or not to create new windows when there is already an instance - - - - - '' - Options to pass to mpv - - - - - '' - Path to mpv configuration file - - - - - false - Load or don't load mpv configuration file - - - - - '' - Path to mpv input configuration file - - - - - false - Load or don't load mpv input configuration file - - - - - true - Whether or not to enable MPRIS support - - - - - true - Whether or not to enable GNOME-Settings-Daemon-based media keys support - - - - - true - Whether or not to prefetch metadata for non-current playlist entries - - - - - - - - 640 - Width of the window - - - - - 480 - Height of the window - - - - - - 1.0 - Volume of player - - - - - 250 - Width of the playlist - - - - - true - Show or not show the controls - - - - - false - Show or not show the playlist - - - - - '' - URI of the last folder accessed - - - - - diff --git a/data/io.github.celluloid_player.Celluloid.appdata.xml.in b/data/io.github.celluloid_player.Celluloid.appdata.xml.in index 1e6263d..257636f 100644 --- a/data/io.github.celluloid_player.Celluloid.appdata.xml.in +++ b/data/io.github.celluloid_player.Celluloid.appdata.xml.in @@ -1,18 +1,18 @@ - + io.github.celluloid_player.Celluloid CC-BY-SA-4.0 GPL-3.0+ Celluloid - GTK+ frontend for mpv + Plays videos io.github.celluloid_player.Celluloid.desktop celluloid io.github.GnomeMpv.desktop - +

Celluloid is a simple media player that can play virtually all video and audio formats. It supports playlists and MPRIS2 media player controls. The @@ -27,10 +27,228 @@

  • MPRIS2 D-Bus interface
  • - The Celluloid Developers + + The Celluloid Developers + + + +

    + This release contains the following changes: +

    +
      +
    • + Add a loading screen that gets displayed during initialization and + buffering. +
    • +
    • + Reduce the time it takes for the main window to get displayed after + launching. +
    • +
    • + Opening and closing the preferences dialog will no longer trigger an mpv + reset unless options that require it are changed. +
    • +
    • + Update the look for controls and header bar in floating mode. +
    • +
    • + Update some of the deprecated GTK API usage. +
    • +
    • + Add support for multi-file user scripts. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    + + +

    + This release contains the following changes: +

    +
      +
    • + Fix a bug where the header bar keeps hiding even when a menu is open. +
    • +
    • + Use toasts instead of dialog to report mpv errors. +
    • +
    • + Change default screenshot format to PNG. +
    • +
    • + Fix crash that happens when the mpv-config-file key in GSettings + contains a path rather than a URI. +
    • +
    • + Expose the Position MPRIS property. +
    • +
    • + Use the numeric style class for the time/duration label, which stops it + from jumping around as it changes. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    + + +

    + This release contains the following changes: +

    +
      +
    • + Fix crash when using multiple windows. +
    • +
    • + Port the about dialog to libadwaita. +
    • +
    • + Fix cursor not autohiding on KDE. +
    • +
    • + Fix mouse presses/releases becoming unreliable during playback. +
    • +
    • + Make it possible to build on Windows. Celluloid still crashes on mouse + clicks, but it runs and can play videos. +
    • +
    • + Add Estonian translation by vaba. +
    • +
    • + Add Georgian translation by temuri doghonadze. +
    • +
    • + Add Lithuanian translation by Jonas Smol. +
    • +
    • + Add Occitan translation by Quentin PAGÈS. +
    • +
    • + Add Tamil translation by K.B.Dharun Krishna. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    + + +

    + This release contains the following changes: +

    +
      +
    • + Add Malay translation by @dinazmi. +
    • +
    • + Use libadwaita. +
    • +
    • + Fix on_load hook in scripts not triggering. +
    • +
    • + Add option to make the video area draggable. +
    • +
    • + Fix autofit breaking when playing small videos. +
    • +
    • + Make controls layout adaptive. +
    • +
    • + Display chapter marks in the seek bar. +
    • +
    • + Display chapter titles in the seek bar popover. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    + + +

    + This is mostly a bugfix release. It contains the following changes: +

    +
      +
    • + Fix autofit triggering regardless of settings. +
    • +
    • + Fix window size shrinking across sessions. +
    • +
    • + Fix crash when playing files with names containing invalid encoding. +
    • +
    • + Fix drag-and-drop not working with some file managers. +
    • +
    • + Fix playback starting when the last playlist item is removed. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    + + +

    + This release contains the following changes: +

    +
      +
    • + Migrate to GTK4. +
    • +
    • + Add Greek translation by @lepa22. +
    • +
    • + Add Korean translation by @jullee96. +
    • +
    • + Add Norwegian Bokmål translation by Allan Nordhøy. +
    • +
    • + Add Occidental translation by OIS. +
    • +
    • + Add Arabic translation by Mohamed Benkouider. +
    • +
    • + Add Urdu translation by Ahmed Iqbal. +
    • +
    • + Add option to show title buttons in fullscreen mode. +
    • +
    • + Add option to present the window when opening files. +
    • +
    • + Change default screenshot filename template to FILENAME-TIMESTAMP (%f-%P). +
    • +
    • + Fix inaccurate timestamp preview. +
    • +
    +

    + This listing is incomplete. See git log for complete changelog. +

    +
    +
    - +

    This release contains the following changes:

    @@ -65,7 +283,7 @@
    - +

    This release contains the following changes:

    @@ -104,7 +322,7 @@
    - +

    This release contains the following changes:

    @@ -157,7 +375,7 @@
    - +

    This release contains the following changes:

    @@ -187,7 +405,7 @@
    - +

    This release contains the following changes:

    @@ -226,7 +444,7 @@
    - +

    This release contains the following changes:

    @@ -257,7 +475,7 @@
    - +

    This release contains the following changes:

    @@ -285,7 +503,7 @@
    - +

    This release contains the following changes:

    @@ -316,20 +534,21 @@
    - http://celluloid-player.github.io/images/screenshot-0.png + https://celluloid-player.github.io/images/screenshot-0.png The main window showing the application in action - http://celluloid-player.github.io/images/screenshot-1.png + https://celluloid-player.github.io/images/screenshot-1.png The main window with CSD disabled - http://celluloid-player.github.io/images/screenshot-2.png + https://celluloid-player.github.io/images/screenshot-2.png The main window with playlist open - http://celluloid-player.github.io - http://github.com/celluloid-player/celluloid/issues - http://translate.zanata.org/project/view/celluloid - gnome-mpv_at_teknik.io + https://celluloid-player.github.io + https://github.com/celluloid-player/celluloid/issues + https://paypal.me/CelluloidProject + https://hosted.weblate.org/projects/celluloid/ + gnome-mpv@km.away.im
    diff --git a/data/io.github.celluloid_player.Celluloid.desktop.in b/data/io.github.celluloid_player.Celluloid.desktop.in index bb88123..99951af 100644 --- a/data/io.github.celluloid_player.Celluloid.desktop.in +++ b/data/io.github.celluloid_player.Celluloid.desktop.in @@ -11,7 +11,7 @@ Type=Application StartupNotify=true StartupWMClass=io.github.celluloid_player.Celluloid DBusActivatable=true -Categories=GTK;GNOME;AudioVideo;Player;Video;TV; +Categories=GTK;GNOME;AudioVideo;Player;Audio;Video;TV; # Translators: Search terms to find this application. Don't translate the semicolons! The list MUST also end with a semicolon! Keywords=Video;Movie;Film;Clip;Series;Player;DVD;TV;Disc;Album;Music;GNOME;mpv; MimeType=application/mpeg4-iod;application/mpeg4-muxcodetable;application/mxf;application/ogg;application/ram;application/sdp;application/streamingmedia;application/vnd.apple.mpegurl;application/vnd.ms-asf;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-ogg;application/x-streamingmedia;audio/3gpp;audio/3gpp2;audio/aac;audio/ac3;audio/amr;audio/amr-wb;audio/basic;audio/dv;audio/eac3;audio/flac;audio/m4a;audio/midi;audio/mp1;audio/mp2;audio/mp3;audio/mp4;audio/mpeg;audio/mpegurl;audio/mpg;audio/ogg;audio/opus;audio/scpls;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/vnd.dolby.mlp;audio/vnd.dts;audio/vnd.dts.hd;audio/vnd.rn-realaudio;audio/wav;audio/webm;audio/x-aac;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-mpg;audio/x-ms-asf;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-wav;audio/x-real-audio;audio/x-realaudio;audio/x-s3m;audio/x-scpls;audio/x-shorten;audio/x-speex;audio/x-tta;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-wav;audio/x-wavpack;audio/x-xm;video/3gp;video/3gpp;video/3gpp2;video/divx;video/dv;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/mpeg-system;video/msvideo;video/ogg;video/quicktime;video/vnd.mpegurl;video/vnd.rn-realvideo;video/webm;video/x-avi;video/x-flc;video/x-fli;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-mpeg-system;video/x-mpeg2;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-msvideo;video/x-nsv;video/x-ogm+ogg;video/x-theora;video/x-theora+ogg;x-content/audio-cdda;x-content/audio-player;x-content/video-dvd;x-scheme-handler/mms;x-scheme-handler/mmsh;x-scheme-handler/rtmp;x-scheme-handler/rtp;x-scheme-handler/rtsp; diff --git a/data/io.github.celluloid_player.Celluloid.gschema.xml b/data/io.github.celluloid_player.Celluloid.gschema.xml index 8f5e9ab..383e99d 100644 --- a/data/io.github.celluloid_player.Celluloid.gschema.xml +++ b/data/io.github.celluloid_player.Celluloid.gschema.xml @@ -20,7 +20,7 @@ true - Enable dark theme + Prefer dark theme @@ -57,20 +57,23 @@ false - Use skip buttons for controlling playlist + Use skip buttons to control the playlist false - Make file chooser remember last file's location + Remember last location in file chooser false - Always open new window + Open new window when opening new files + When opening new files through D-Bus (e.g. + using a file manager), open the file in a new + window. @@ -79,6 +82,24 @@ + + false + Show title buttons in fullscreen mode + + If true, title buttons (close, maximize, + minimize, etc.) are always shown. If false, the + buttons will be hidden in fullscreen mode. + + + + false + Give focus to the window when opening new files + + If true, Celluloid will give focus to the window + when a new file is opened. If false, no attempt + will be made. + + "" Options to pass to mpv @@ -115,9 +136,9 @@ - + true - Enable media keys support + Enable menubar accelerator key handling @@ -139,6 +160,12 @@ + + false + Make video area draggable + + + true - Show or not show the controls + Show/hide the controls false - Show or not show the playlist + Show/hide the playlist diff --git a/data/meson.build b/data/meson.build index 3d5767e..813ebc8 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,7 +1,6 @@ schemadir = join_paths(get_option('datadir'), 'glib-2.0/schemas') install_data([ - 'io.github.GnomeMpv.gschema.xml', 'io.github.celluloid_player.Celluloid.gschema.xml', ], install_dir: schemadir) diff --git a/debian/changelog b/debian/changelog index 2107508..5fdf2f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +celluloid (0.27+h1) stable; urgency=medium + + * Release for bookworm arm64 + + -- HamoniKR Thu, 18 Jul 2024 21:13:35 +0900 + +celluloid (0.27) stable; urgency=medium + + * Release for bookworm arm64 + - latest upstream v 0.27 + + -- HamoniKR Thu, 18 Jul 2024 21:11:45 +0900 + celluloid (0.21.1-z9hamonikr4) stable; urgency=medium * Update Korean translation diff --git a/docs/Makefile.in b/docs/Makefile.in deleted file mode 100644 index 6ec63a1..0000000 --- a/docs/Makefile.in +++ /dev/null @@ -1,536 +0,0 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2021 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = docs -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ - $(top_srcdir)/m4/ax_append_compile_flags.m4 \ - $(top_srcdir)/m4/ax_append_flag.m4 \ - $(top_srcdir)/m4/ax_append_link_flags.m4 \ - $(top_srcdir)/m4/ax_check_compile_flag.m4 \ - $(top_srcdir)/m4/ax_check_link_flag.m4 \ - $(top_srcdir)/m4/ax_require_defined.m4 \ - $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ - $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ - $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \ - $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ - $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -man1dir = $(mandir)/man1 -am__installdirs = "$(DESTDIR)$(man1dir)" -NROFF = nroff -MANS = $(man_MANS) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -am__DIST_COMMON = $(srcdir)/Makefile.in -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -APPSTREAM_UTIL = @APPSTREAM_UTIL@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DEPS_CFLAGS = @DEPS_CFLAGS@ -DEPS_LIBS = @DEPS_LIBS@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ETAGS = @ETAGS@ -EXEEXT = @EXEEXT@ -GDBUS_CODEGEN = @GDBUS_CODEGEN@ -GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ -GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GREP = @GREP@ -GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LDFLAGS = @LDFLAGS@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MSGFMT = @MSGFMT@ -MSGMERGE = @MSGMERGE@ -MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -POSUB = @POSUB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -appstreamxmldir = @appstreamxmldir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -gsettingsschemadir = @gsettingsschemadir@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -man_MANS = celluloid.1 -EXTRA_DIST = $(man_MANS) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign docs/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-man1: $(man_MANS) - @$(NORMAL_INSTALL) - @list1=''; \ - list2='$(man_MANS)'; \ - test -n "$(man1dir)" \ - && test -n "`echo $$list1$$list2`" \ - || exit 0; \ - echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ - { for i in $$list1; do echo "$$i"; done; \ - if test -n "$$list2"; then \ - for i in $$list2; do echo "$$i"; done \ - | sed -n '/\.1[a-z]*$$/p'; \ - fi; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) -tags TAGS: - -ctags CTAGS: - -cscope cscopelist: - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(MANS) -installdirs: - for dir in "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-man - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ - ctags-am distclean distclean-generic distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-man1 install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags-am uninstall uninstall-am uninstall-man \ - uninstall-man1 - -.PRECIOUS: Makefile - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/flatpak/io.github.celluloid_player.Celluloid.json b/flatpak/io.github.celluloid_player.Celluloid.json index 4451be3..c2aebda 100644 --- a/flatpak/io.github.celluloid_player.Celluloid.json +++ b/flatpak/io.github.celluloid_player.Celluloid.json @@ -14,7 +14,6 @@ "--filesystem=xdg-pictures", "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*", - "--talk-name=org.gnome.SettingsDaemon.MediaKeys", "--env=LC_NUMERIC=C" ], "modules": [ @@ -114,26 +113,221 @@ } ] }, + { + "name": "libplacebo", + "buildsystem": "meson", + "config-opts": [ + "-Dvulkan=enabled", + "-Dshaderc=enabled" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "git", + "url": "https://github.com/haasn/libplacebo.git", + "mirror-urls": [ + "https://code.videolan.org/videolan/libplacebo.git" + ], + "tag": "v6.338.2", + "commit": "64c1954570f1cd57f8570a57e51fb0249b57bb90", + "x-checker-data": { + "type": "git", + "tag-pattern": "^v([\\d.]+)$" + } + } + ], + "modules": [ + { + "name": "shaderc", + "buildsystem": "cmake-ninja", + "builddir": true, + "config-opts": [ + "-DSHADERC_SKIP_COPYRIGHT_CHECK=ON", + "-DSHADERC_SKIP_EXAMPLES=ON", + "-DSHADERC_SKIP_TESTS=ON", + "-DSPIRV_SKIP_EXECUTABLES=ON", + "-DENABLE_GLSLANG_BINARIES=OFF" + ], + "cleanup": [ + "/bin", + "/include", + "/lib/cmake", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "git", + "url": "https://github.com/google/shaderc.git", + "commit": "40bced4e1e205ecf44630d2dfa357655b6dabd04" + }, + { + "type": "git", + "url": "https://github.com/KhronosGroup/SPIRV-Tools.git", + "tag": "v2024.1", + "commit": "04896c462d9f3f504c99a4698605b6524af813c1", + "dest": "third_party/spirv-tools" + }, + { + "type": "git", + "url": "https://github.com/KhronosGroup/SPIRV-Headers.git", + "commit": "4f7b471f1a66b6d06462cd4ba57628cc0cd087d7", + "dest": "third_party/spirv-headers" + }, + { + "type": "git", + "url": "https://github.com/KhronosGroup/glslang.git", + "tag": "14.2.0", + "commit": "e8dd0b6903b34f1879520b444634c75ea2deedf5", + "dest": "third_party/glslang", + "x-checker-data": { + "type": "git", + "tag-pattern": "^(\\d{1,2}\\.\\d{1,2}\\.\\d{1,4})$" + } + } + ] + } + ] + }, + { + "name": "libcdio", + "config-opts": [ + "--disable-static", + "--disable-example-progs" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "archive", + "url": "https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2", + "mirror-urls": [ + "https://mirrors.kernel.org/gnu/libcdio/libcdio-2.1.0.tar.bz2", + "https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-2.1.0.tar.bz2", + "https://ftpmirror.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2" + ], + "sha256": "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b", + "x-checker-data": { + "type": "html", + "url": "https://ftp.gnu.org/gnu/libcdio/", + "version-pattern": "libcdio-(\\d\\.\\d+\\.?\\d*).tar.bz2", + "url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-$version.tar.bz2" + } + } + ] + }, + { + "name": "libcdio-paranoia", + "config-opts": [ + "--disable-static", + "--disable-example-progs" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "archive", + "url": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", + "mirror-urls": [ + "https://mirrors.kernel.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", + "https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", + "https://ftpmirror.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2" + ], + "sha256": "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a", + "x-checker-data": { + "type": "html", + "url": "https://ftp.gnu.org/gnu/libcdio/", + "version-pattern": "libcdio-paranoia-([\\d\\.\\+-]+).tar.bz2", + "url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-$version.tar.bz2" + } + } + ] + }, + { + "name": "libdvdread", + "config-opts": [ + "--disable-static" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.videolan.org/pub/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2", + "mirror-urls": [ + "https://videolan.mirror.ba/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2", + "https://videolan.c3sl.ufpr.br/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2" + ], + "sha256": "ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369", + "x-checker-data": { + "type": "html", + "url": "https://www.videolan.org/developers/libdvdnav.html", + "version-pattern": "The latest version of libdvdread is ([\\d\\-\\.]+)<", + "url-template": "https://download.videolan.org/pub/videolan/libdvdread/$version/libdvdread-$version.tar.bz2" + } + } + ] + }, + { + "name": "libdvdnav", + "config-opts": [ + "--disable-static" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.videolan.org/pub/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2", + "mirror-urls": [ + "https://videolan.mirror.ba/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2", + "https://videolan.c3sl.ufpr.br/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2" + ], + "sha256": "c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48", + "x-checker-data": { + "type": "html", + "url": "https://www.videolan.org/developers/libdvdnav.html", + "version-pattern": "The latest version of libdvdnav is ([\\d\\-\\.]+)\\.", + "url-template": "https://download.videolan.org/pub/videolan/libdvdnav/$version/libdvdnav-$version.tar.bz2" + } + } + ] + }, { "name": "libmpv", - "cleanup": [ "/include", "/lib/pkgconfig", "/share/man" ], - "buildsystem": "simple", - "build-commands": [ - "python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-alsa", - "python3 waf build", - "python3 waf install" + "cleanup": [ + "/include", + "/lib/pkgconfig", + "/share/man" + ], + "buildsystem": "meson", + "config-opts": [ + "-Dbuild-date=false", + "-Dlibmpv=true", + "-Dmanpage-build=disabled", + "-Dcdda=enabled", + "-Ddvbin=enabled", + "-Ddvdnav=enabled", + "-Dlibarchive=enabled", + "-Dsdl2=enabled", + "-Dvulkan=enabled", + "-Dvulkan-interop=enabled" ], "sources": [ - { - "type": "git", - "url": "https://github.com/mpv-player/mpv.git" - }, - { - "type": "file", - "url": "https://waf.io/waf-2.0.19", - "sha256": "ba63c90a865a9bcf46926c4e6776f9a3f73d29f33d49b7f61f96bc37b7397cef", - "dest-filename": "waf" - } + { + "type": "git", + "url": "https://github.com/mpv-player/mpv.git" + } ] }, { diff --git a/m4/appstream-xml.m4 b/m4/appstream-xml.m4 deleted file mode 100644 index 11ed91a..0000000 --- a/m4/appstream-xml.m4 +++ /dev/null @@ -1,86 +0,0 @@ -# appstream-xml.m4 -# -# serial 6 - -dnl APPSTREAM_XML -dnl Installs and validates AppData XML files. -dnl -dnl Call APPSTREAM_XML in configure.ac to check for the appstream-util tool. -dnl Add @APPSTREAM_XML_RULES@ to a Makefile.am to substitute the make rules. Add -dnl .appdata.xml files to appstream_XML in Makefile.am and they will be validated -dnl at make check time, if appstream-util is installed, as well as installed -dnl to the correct location automatically. Add --enable-appstream-util to -dnl AM_DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when -dnl doing a distcheck. -dnl -dnl Adding files to appstream_XML does not distribute them automatically. - -AC_DEFUN([APPSTREAM_XML], -[ - m4_pattern_allow([AM_V_GEN]) - AC_ARG_ENABLE([appstream-util], - [AS_HELP_STRING([--disable-appstream-util], - [Disable validating AppData XML files during check phase])]) - - AS_IF([test "x$enable_appstream_validate" != "xno"], - [AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util]) - AS_IF([test "x$APPSTREAM_UTIL" = "x"], - [have_appstream_validate=no], - [have_appstream_validate=yes - AC_SUBST([APPSTREAM_UTIL])])], - [have_appstream_validate=no]) - - AS_IF([test "x$have_appstream_validate" != "xno"], - [appstream_validate=yes], - [appstream_validate=no - AS_IF([test "x$enable_appstream_validate" = "xyes"], - [AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])]) - - AC_SUBST([appstreamxmldir], [${datadir}/metainfo]) - - APPSTREAM_XML_RULES=' -.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml - -mostlyclean-am: clean-appstream-xml - -%.appdata.valid: %.appdata.xml - $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \ - if test -n "$(APPSTREAM_UTIL)"; \ - then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \ - && touch [$]@ - -check-am: $(appstream_XML:.appdata.xml=.appdata.valid) -uninstall-am: uninstall-appstream-xml -install-data-am: install-appstream-xml - -.SECONDARY: $(appstream_XML) - -install-appstream-xml: $(appstream_XML) - @$(NORMAL_INSTALL) - if test -n "$^"; then \ - test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \ - $(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \ - fi - -uninstall-appstream-xml: - @$(NORMAL_UNINSTALL) - @list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files - -clean-appstream-xml: - rm -f $(appstream_XML:.appdata.xml=.appdata.valid) -' - _APPSTREAM_XML_SUBST(APPSTREAM_XML_RULES) -]) - -dnl _APPSTREAM_XML_SUBST(VARIABLE) -dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST -AC_DEFUN([_APPSTREAM_XML_SUBST], -[ -AC_SUBST([$1]) -m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) -] -) diff --git a/m4/ax_append_compile_flags.m4 b/m4/ax_append_compile_flags.m4 deleted file mode 100644 index 9c85635..0000000 --- a/m4/ax_append_compile_flags.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# ============================================================================ -# https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html -# ============================================================================ -# -# SYNOPSIS -# -# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# For every FLAG1, FLAG2 it is checked whether the compiler works with the -# flag. If it does, the flag is added FLAGS-VARIABLE -# -# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. -# CFLAGS) is used. During the check the flag is always added to the -# current language's flags. -# -# If EXTRA-FLAGS is defined, it is added to the current language's default -# flags (e.g. CFLAGS) when the check is done. The check is thus made with -# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -# force the compiler to issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -# -# NOTE: This macro depends on the AX_APPEND_FLAG and -# AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with -# AX_APPEND_LINK_FLAGS. -# -# LICENSE -# -# Copyright (c) 2011 Maarten Bosmans -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 7 - -AC_DEFUN([AX_APPEND_COMPILE_FLAGS], -[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) -AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) -for flag in $1; do - AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4]) -done -])dnl AX_APPEND_COMPILE_FLAGS diff --git a/m4/ax_append_flag.m4 b/m4/ax_append_flag.m4 deleted file mode 100644 index dd6d8b6..0000000 --- a/m4/ax_append_flag.m4 +++ /dev/null @@ -1,50 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_append_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) -# -# DESCRIPTION -# -# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space -# added in between. -# -# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. -# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains -# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly -# FLAG. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim -# Copyright (c) 2011 Maarten Bosmans -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 8 - -AC_DEFUN([AX_APPEND_FLAG], -[dnl -AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF -AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) -AS_VAR_SET_IF(FLAGS,[ - AS_CASE([" AS_VAR_GET(FLAGS) "], - [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], - [ - AS_VAR_APPEND(FLAGS,[" $1"]) - AC_RUN_LOG([: FLAGS="$FLAGS"]) - ]) - ], - [ - AS_VAR_SET(FLAGS,[$1]) - AC_RUN_LOG([: FLAGS="$FLAGS"]) - ]) -AS_VAR_POPDEF([FLAGS])dnl -])dnl AX_APPEND_FLAG diff --git a/m4/ax_append_link_flags.m4 b/m4/ax_append_link_flags.m4 deleted file mode 100644 index 99b9fa5..0000000 --- a/m4/ax_append_link_flags.m4 +++ /dev/null @@ -1,44 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# For every FLAG1, FLAG2 it is checked whether the linker works with the -# flag. If it does, the flag is added FLAGS-VARIABLE -# -# If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is -# used. During the check the flag is always added to the linker's flags. -# -# If EXTRA-FLAGS is defined, it is added to the linker's default flags -# when the check is done. The check is thus made with the flags: "LDFLAGS -# EXTRA-FLAGS FLAG". This can for example be used to force the linker to -# issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -# -# NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG. -# Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS. -# -# LICENSE -# -# Copyright (c) 2011 Maarten Bosmans -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 7 - -AC_DEFUN([AX_APPEND_LINK_FLAGS], -[AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) -AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) -for flag in $1; do - AX_CHECK_LINK_FLAG([$flag], [AX_APPEND_FLAG([$flag], [m4_default([$2], [LDFLAGS])])], [], [$3], [$4]) -done -])dnl AX_APPEND_LINK_FLAGS diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 deleted file mode 100644 index bd753b3..0000000 --- a/m4/ax_check_compile_flag.m4 +++ /dev/null @@ -1,53 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# Check whether the given FLAG works with the current language's compiler -# or gives an error. (Warnings, however, are ignored) -# -# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -# success/failure. -# -# If EXTRA-FLAGS is defined, it is added to the current language's default -# flags (e.g. CFLAGS) when the check is done. The check is thus made with -# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -# force the compiler to issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim -# Copyright (c) 2011 Maarten Bosmans -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 6 - -AC_DEFUN([AX_CHECK_COMPILE_FLAG], -[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF -AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl -AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ - ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS - _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" - AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], - [AS_VAR_SET(CACHEVAR,[yes])], - [AS_VAR_SET(CACHEVAR,[no])]) - _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) -AS_VAR_IF(CACHEVAR,yes, - [m4_default([$2], :)], - [m4_default([$3], :)]) -AS_VAR_POPDEF([CACHEVAR])dnl -])dnl AX_CHECK_COMPILE_FLAGS diff --git a/m4/ax_check_link_flag.m4 b/m4/ax_check_link_flag.m4 deleted file mode 100644 index 03a30ce..0000000 --- a/m4/ax_check_link_flag.m4 +++ /dev/null @@ -1,53 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# Check whether the given FLAG works with the linker or gives an error. -# (Warnings, however, are ignored) -# -# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -# success/failure. -# -# If EXTRA-FLAGS is defined, it is added to the linker's default flags -# when the check is done. The check is thus made with the flags: "LDFLAGS -# EXTRA-FLAGS FLAG". This can for example be used to force the linker to -# issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_LINK_IFELSE. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -# macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim -# Copyright (c) 2011 Maarten Bosmans -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 6 - -AC_DEFUN([AX_CHECK_LINK_FLAG], -[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF -AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_ldflags_$4_$1])dnl -AC_CACHE_CHECK([whether the linker accepts $1], CACHEVAR, [ - ax_check_save_flags=$LDFLAGS - LDFLAGS="$LDFLAGS $4 $1" - AC_LINK_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], - [AS_VAR_SET(CACHEVAR,[yes])], - [AS_VAR_SET(CACHEVAR,[no])]) - LDFLAGS=$ax_check_save_flags]) -AS_VAR_IF(CACHEVAR,yes, - [m4_default([$2], :)], - [m4_default([$3], :)]) -AS_VAR_POPDEF([CACHEVAR])dnl -])dnl AX_CHECK_LINK_FLAGS diff --git a/m4/ax_require_defined.m4 b/m4/ax_require_defined.m4 deleted file mode 100644 index 17c3eab..0000000 --- a/m4/ax_require_defined.m4 +++ /dev/null @@ -1,37 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_REQUIRE_DEFINED(MACRO) -# -# DESCRIPTION -# -# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have -# been defined and thus are available for use. This avoids random issues -# where a macro isn't expanded. Instead the configure script emits a -# non-fatal: -# -# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found -# -# It's like AC_REQUIRE except it doesn't expand the required macro. -# -# Here's an example: -# -# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) -# -# LICENSE -# -# Copyright (c) 2014 Mike Frysinger -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 2 - -AC_DEFUN([AX_REQUIRE_DEFINED], [dnl - m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) -])dnl AX_REQUIRE_DEFINED diff --git a/m4/gettext.m4 b/m4/gettext.m4 deleted file mode 100644 index 4f25a27..0000000 --- a/m4/gettext.m4 +++ /dev/null @@ -1,386 +0,0 @@ -# gettext.m4 serial 71 (gettext-0.20.2) -dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. -dnl -dnl This file can be used in projects which are not available under -dnl the GNU General Public License or the GNU Lesser General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Lesser General Public License, and the rest of the GNU -dnl gettext package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper , 1995-2000. -dnl Bruno Haible , 2000-2006, 2008-2010. - -dnl Macro to add for using GNU gettext. - -dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). -dnl INTLSYMBOL must be one of 'external', 'use-libtool'. -dnl INTLSYMBOL should be 'external' for packages other than GNU gettext, and -dnl 'use-libtool' for the packages 'gettext-runtime' and 'gettext-tools'. -dnl If INTLSYMBOL is 'use-libtool', then a libtool library -dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, -dnl depending on --{enable,disable}-{shared,static} and on the presence of -dnl AM-DISABLE-SHARED). -dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext -dnl implementations (in libc or libintl) without the ngettext() function -dnl will be ignored. If NEEDSYMBOL is specified and is -dnl 'need-formatstring-macros', then GNU gettext implementations that don't -dnl support the ISO C 99 formatstring macros will be ignored. -dnl INTLDIR is used to find the intl libraries. If empty, -dnl the value '$(top_builddir)/intl/' is used. -dnl -dnl The result of the configuration is one of three cases: -dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled -dnl and used. -dnl Catalog format: GNU --> install in $(datadir) -dnl Catalog extension: .mo after installation, .gmo in source tree -dnl 2) GNU gettext has been found in the system's C library. -dnl Catalog format: GNU --> install in $(datadir) -dnl Catalog extension: .mo after installation, .gmo in source tree -dnl 3) No internationalization, always use English msgid. -dnl Catalog format: none -dnl Catalog extension: none -dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. -dnl The use of .gmo is historical (it was needed to avoid overwriting the -dnl GNU format catalogs when building on a platform with an X/Open gettext), -dnl but we keep it in order not to force irrelevant filename changes on the -dnl maintainers. -dnl -AC_DEFUN([AM_GNU_GETTEXT], -[ - dnl Argument checking. - ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [use-libtool], , - [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT -])])])]) - ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], - [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported. -])]) - ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , - [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT -])])])]) - define([gt_included_intl], - ifelse([$1], [external], [no], [yes])) - gt_NEEDS_INIT - AM_GNU_GETTEXT_NEED([$2]) - - AC_REQUIRE([AM_PO_SUBDIRS])dnl - ifelse(gt_included_intl, yes, [ - AC_REQUIRE([AM_INTL_SUBDIR])dnl - ]) - - dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. - AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) - AC_REQUIRE([AC_LIB_RPATH]) - - dnl Sometimes libintl requires libiconv, so first search for libiconv. - dnl Ideally we would do this search only after the - dnl if test "$USE_NLS" = "yes"; then - dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then - dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT - dnl the configure script would need to contain the same shell code - dnl again, outside any 'if'. There are two solutions: - dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. - dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. - dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it. - ifelse(gt_included_intl, yes, , [ - AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) - ]) - - dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. - gt_INTL_MACOSX - - dnl Set USE_NLS. - AC_REQUIRE([AM_NLS]) - - ifelse(gt_included_intl, yes, [ - BUILD_INCLUDED_LIBINTL=no - USE_INCLUDED_LIBINTL=no - ]) - LIBINTL= - LTLIBINTL= - POSUB= - - dnl Add a version number to the cache macros. - case " $gt_needs " in - *" need-formatstring-macros "*) gt_api_version=3 ;; - *" need-ngettext "*) gt_api_version=2 ;; - *) gt_api_version=1 ;; - esac - gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" - gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" - - dnl If we use NLS figure out what method - if test "$USE_NLS" = "yes"; then - gt_use_preinstalled_gnugettext=no - ifelse(gt_included_intl, yes, [ - AC_MSG_CHECKING([whether included gettext is requested]) - AC_ARG_WITH([included-gettext], - [ --with-included-gettext use the GNU gettext library included here], - nls_cv_force_use_gnu_gettext=$withval, - nls_cv_force_use_gnu_gettext=no) - AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) - - nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" - if test "$nls_cv_force_use_gnu_gettext" != "yes"; then - ]) - dnl User does not insist on using GNU NLS library. Figure out what - dnl to use. If GNU gettext is available we use this. Else we have - dnl to fall back to GNU NLS library. - - if test $gt_api_version -ge 3; then - gt_revision_test_code=' -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -#endif -changequote(,)dnl -typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -changequote([,])dnl -' - else - gt_revision_test_code= - fi - if test $gt_api_version -ge 2; then - gt_expression_test_code=' + * ngettext ("", "", 0)' - else - gt_expression_test_code= - fi - - AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], - [AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern int *_nl_domain_bindings; -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif -$gt_revision_test_code - ]], - [[ -bindtextdomain ("", ""); -return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION - ]])], - [eval "$gt_func_gnugettext_libc=yes"], - [eval "$gt_func_gnugettext_libc=no"])]) - - if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then - dnl Sometimes libintl requires libiconv, so first search for libiconv. - ifelse(gt_included_intl, yes, , [ - AM_ICONV_LINK - ]) - dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL - dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) - dnl because that would add "-liconv" to LIBINTL and LTLIBINTL - dnl even if libiconv doesn't exist. - AC_LIB_LINKFLAGS_BODY([intl]) - AC_CACHE_CHECK([for GNU gettext in libintl], - [$gt_func_gnugettext_libintl], - [gt_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCINTL" - gt_save_LIBS="$LIBS" - LIBS="$LIBS $LIBINTL" - dnl Now see whether libintl exists and does not depend on libiconv. - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern -#ifdef __cplusplus -"C" -#endif -const char *_nl_expand_alias (const char *); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif -$gt_revision_test_code - ]], - [[ -bindtextdomain ("", ""); -return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION - ]])], - [eval "$gt_func_gnugettext_libintl=yes"], - [eval "$gt_func_gnugettext_libintl=no"]) - dnl Now see whether libintl exists and depends on libiconv. - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -extern int _nl_msg_cat_cntr; -extern -#ifdef __cplusplus -"C" -#endif -const char *_nl_expand_alias (const char *); -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) -#else -#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 -#endif -$gt_revision_test_code - ]], - [[ -bindtextdomain ("", ""); -return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION - ]])], - [LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" - eval "$gt_func_gnugettext_libintl=yes" - ]) - fi - CPPFLAGS="$gt_save_CPPFLAGS" - LIBS="$gt_save_LIBS"]) - fi - - dnl If an already present or preinstalled GNU gettext() is found, - dnl use it. But if this macro is used in GNU gettext, and GNU - dnl gettext is already preinstalled in libintl, we update this - dnl libintl. (Cf. the install rule in intl/Makefile.in.) - if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ - || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ - && test "$PACKAGE" != gettext-runtime \ - && test "$PACKAGE" != gettext-tools; }; then - gt_use_preinstalled_gnugettext=yes - else - dnl Reset the values set by searching for libintl. - LIBINTL= - LTLIBINTL= - INCINTL= - fi - - ifelse(gt_included_intl, yes, [ - if test "$gt_use_preinstalled_gnugettext" != "yes"; then - dnl GNU gettext is not found in the C library. - dnl Fall back on included GNU gettext library. - nls_cv_use_gnu_gettext=yes - fi - fi - - if test "$nls_cv_use_gnu_gettext" = "yes"; then - dnl Mark actions used to generate GNU NLS library. - BUILD_INCLUDED_LIBINTL=yes - USE_INCLUDED_LIBINTL=yes - LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD" - LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD" - LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` - fi - - CATOBJEXT= - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - dnl Mark actions to use GNU gettext tools. - CATOBJEXT=.gmo - fi - ]) - - if test -n "$INTL_MACOSX_LIBS"; then - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - dnl Some extra flags are needed during linking. - LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" - LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" - fi - fi - - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - AC_DEFINE([ENABLE_NLS], [1], - [Define to 1 if translation of program messages to the user's native language - is requested.]) - else - USE_NLS=no - fi - fi - - AC_MSG_CHECKING([whether to use NLS]) - AC_MSG_RESULT([$USE_NLS]) - if test "$USE_NLS" = "yes"; then - AC_MSG_CHECKING([where the gettext function comes from]) - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - gt_source="external libintl" - else - gt_source="libc" - fi - else - gt_source="included intl directory" - fi - AC_MSG_RESULT([$gt_source]) - fi - - if test "$USE_NLS" = "yes"; then - - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - AC_MSG_CHECKING([how to link with libintl]) - AC_MSG_RESULT([$LIBINTL]) - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) - fi - - dnl For backward compatibility. Some packages may be using this. - AC_DEFINE([HAVE_GETTEXT], [1], - [Define if the GNU gettext() function is already present or preinstalled.]) - AC_DEFINE([HAVE_DCGETTEXT], [1], - [Define if the GNU dcgettext() function is already present or preinstalled.]) - fi - - dnl We need to process the po/ directory. - POSUB=po - fi - - ifelse(gt_included_intl, yes, [ - dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes' - dnl because some of the testsuite requires it. - BUILD_INCLUDED_LIBINTL=yes - - dnl Make all variables we use known to autoconf. - AC_SUBST([BUILD_INCLUDED_LIBINTL]) - AC_SUBST([USE_INCLUDED_LIBINTL]) - AC_SUBST([CATOBJEXT]) - ]) - - dnl For backward compatibility. Some Makefiles may be using this. - INTLLIBS="$LIBINTL" - AC_SUBST([INTLLIBS]) - - dnl Make all documented variables known to autoconf. - AC_SUBST([LIBINTL]) - AC_SUBST([LTLIBINTL]) - AC_SUBST([POSUB]) -]) - - -dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. -m4_define([gt_NEEDS_INIT], -[ - m4_divert_text([DEFAULTS], [gt_needs=]) - m4_define([gt_NEEDS_INIT], []) -]) - - -dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) -AC_DEFUN([AM_GNU_GETTEXT_NEED], -[ - m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) -]) - - -dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) -AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) - - -dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) -AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) diff --git a/m4/gsettings.m4 b/m4/gsettings.m4 deleted file mode 100644 index 882e6a8..0000000 --- a/m4/gsettings.m4 +++ /dev/null @@ -1,88 +0,0 @@ -# Increment this whenever this file is changed. -#serial 2 - -dnl GLIB_GSETTINGS -dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether -dnl the schema should be compiled -dnl - -AC_DEFUN([GLIB_GSETTINGS], -[ - dnl We can't use PKG_PREREQ because that needs 0.29. - m4_ifndef([PKG_PROG_PKG_CONFIG], - [pkg.m4 version 0.28 or later is required]) - - m4_pattern_allow([AM_V_GEN]) - AC_ARG_ENABLE(schemas-compile, - AS_HELP_STRING([--disable-schemas-compile], - [Disable regeneration of gschemas.compiled on install]), - [case ${enableval} in - yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; - no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; - esac]) - AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) - PKG_PROG_PKG_CONFIG([0.16]) - AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) - AS_IF([test x$cross_compiling != xyes], - [PKG_CHECK_VAR([GLIB_COMPILE_SCHEMAS], [gio-2.0], [glib_compile_schemas])], - [AC_PATH_PROG([GLIB_COMPILE_SCHEMAS], [glib-compile-schemas])]) - AC_SUBST(GLIB_COMPILE_SCHEMAS) - if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then - ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) - else - ifelse([$1],,[:],[$1]) - fi - - GSETTINGS_RULES=' -.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas - -mostlyclean-am: clean-gsettings-schemas - -gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) - -%.gschema.valid: %.gschema.xml $(gsettings__enum_file) - $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@ - -all-am: $(gsettings_SCHEMAS:.xml=.valid) -uninstall-am: uninstall-gsettings-schemas -install-data-am: install-gsettings-schemas - -.SECONDARY: $(gsettings_SCHEMAS) - -install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) - @$(NORMAL_INSTALL) - if test -n "$^"; then \ - test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ - $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ - test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ - fi - -uninstall-gsettings-schemas: - @$(NORMAL_UNINSTALL) - @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files - test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) - -clean-gsettings-schemas: - rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) - -ifdef gsettings_ENUM_NAMESPACE -$(gsettings__enum_file): $(gsettings_ENUM_FILES) - $(AM_V_GEN) glib-mkenums --comments '\'''\'' --fhead "" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " " --vtail " " --ftail "" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ -endif -' - _GSETTINGS_SUBST(GSETTINGS_RULES) -]) - -dnl _GSETTINGS_SUBST(VARIABLE) -dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST -AC_DEFUN([_GSETTINGS_SUBST], -[ -AC_SUBST([$1]) -m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) -] -) diff --git a/m4/host-cpu-c-abi.m4 b/m4/host-cpu-c-abi.m4 deleted file mode 100644 index 6db2aa2..0000000 --- a/m4/host-cpu-c-abi.m4 +++ /dev/null @@ -1,675 +0,0 @@ -# host-cpu-c-abi.m4 serial 13 -dnl Copyright (C) 2002-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl From Bruno Haible and Sam Steingold. - -dnl Sets the HOST_CPU variable to the canonical name of the CPU. -dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its -dnl C language ABI (application binary interface). -dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in -dnl config.h. -dnl -dnl This canonical name can be used to select a particular assembly language -dnl source file that will interoperate with C code on the given host. -dnl -dnl For example: -dnl * 'i386' and 'sparc' are different canonical names, because code for i386 -dnl will not run on SPARC CPUs and vice versa. They have different -dnl instruction sets. -dnl * 'sparc' and 'sparc64' are different canonical names, because code for -dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code -dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit -dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit -dnl mode, but not both. -dnl * 'mips' and 'mipsn32' are different canonical names, because they use -dnl different argument passing and return conventions for C functions, and -dnl although the instruction set of 'mips' is a large subset of the -dnl instruction set of 'mipsn32'. -dnl * 'mipsn32' and 'mips64' are different canonical names, because they use -dnl different sizes for the C types like 'int' and 'void *', and although -dnl the instruction sets of 'mipsn32' and 'mips64' are the same. -dnl * The same canonical name is used for different endiannesses. You can -dnl determine the endianness through preprocessor symbols: -dnl - 'arm': test __ARMEL__. -dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. -dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN. -dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 -dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because -dnl - Instructions that do not exist on all of these CPUs (cmpxchg, -dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your -dnl assembly language source files use such instructions, you will -dnl need to make the distinction. -dnl - Speed of execution of the common instruction set is reasonable across -dnl the entire family of CPUs. If you have assembly language source files -dnl that are optimized for particular CPU types (like GNU gmp has), you -dnl will need to make the distinction. -dnl See . -AC_DEFUN([gl_HOST_CPU_C_ABI], -[ - AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([gl_C_ASM]) - AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi], - [case "$host_cpu" in - -changequote(,)dnl - i[34567]86 ) -changequote([,])dnl - gl_cv_host_cpu_c_abi=i386 - ;; - - x86_64 ) - # On x86_64 systems, the C compiler may be generating code in one of - # these ABIs: - # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. - # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 - # with native Windows (mingw, MSVC). - # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if (defined __x86_64__ || defined __amd64__ \ - || defined _M_X64 || defined _M_AMD64) - int ok; - #else - error fail - #endif - ]])], - [AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __ILP32__ || defined _ILP32 - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=x86_64-x32], - [gl_cv_host_cpu_c_abi=x86_64])], - [gl_cv_host_cpu_c_abi=i386]) - ;; - -changequote(,)dnl - alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) -changequote([,])dnl - gl_cv_host_cpu_c_abi=alpha - ;; - - arm* | aarch64 ) - # Assume arm with EABI. - # On arm64 systems, the C compiler may be generating code in one of - # these ABIs: - # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. - # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#ifdef __aarch64__ - int ok; - #else - error fail - #endif - ]])], - [AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __ILP32__ || defined _ILP32 - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=arm64-ilp32], - [gl_cv_host_cpu_c_abi=arm64])], - [# Don't distinguish little-endian and big-endian arm, since they - # don't require different machine code for simple operations and - # since the user can distinguish them through the preprocessor - # defines __ARMEL__ vs. __ARMEB__. - # But distinguish arm which passes floating-point arguments and - # return values in integer registers (r0, r1, ...) - this is - # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which - # passes them in float registers (s0, s1, ...) and double registers - # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer - # sets the preprocessor defines __ARM_PCS (for the first case) and - # __ARM_PCS_VFP (for the second case), but older GCC does not. - echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c - # Look for a reference to the register d0 in the .s file. - AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 - if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then - gl_cv_host_cpu_c_abi=armhf - else - gl_cv_host_cpu_c_abi=arm - fi - rm -f conftest* - ]) - ;; - - hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) - # On hppa, the C compiler may be generating 32-bit code or 64-bit - # code. In the latter case, it defines _LP64 and __LP64__. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#ifdef __LP64__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=hppa64], - [gl_cv_host_cpu_c_abi=hppa]) - ;; - - ia64* ) - # On ia64 on HP-UX, the C compiler may be generating 64-bit code or - # 32-bit code. In the latter case, it defines _ILP32. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#ifdef _ILP32 - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=ia64-ilp32], - [gl_cv_host_cpu_c_abi=ia64]) - ;; - - mips* ) - # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this - # at 32. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=mips64], - [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but - # may later get defined by ), and _MIPS_SIM == _ABIN32. - # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but - # may later get defined by ), and _MIPS_SIM == _ABIO32. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if (_MIPS_SIM == _ABIN32) - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=mipsn32], - [gl_cv_host_cpu_c_abi=mips])]) - ;; - - powerpc* ) - # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. - # No need to distinguish them here; the caller may distinguish - # them based on the OS. - # On powerpc64 systems, the C compiler may still be generating - # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may - # be generating 64-bit code. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __powerpc64__ || defined _ARCH_PPC64 - int ok; - #else - error fail - #endif - ]])], - [# On powerpc64, there are two ABIs on Linux: The AIX compatible - # one and the ELFv2 one. The latter defines _CALL_ELF=2. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined _CALL_ELF && _CALL_ELF == 2 - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=powerpc64-elfv2], - [gl_cv_host_cpu_c_abi=powerpc64]) - ], - [gl_cv_host_cpu_c_abi=powerpc]) - ;; - - rs6000 ) - gl_cv_host_cpu_c_abi=powerpc - ;; - - riscv32 | riscv64 ) - # There are 2 architectures (with variants): rv32* and rv64*. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if __riscv_xlen == 64 - int ok; - #else - error fail - #endif - ]])], - [cpu=riscv64], - [cpu=riscv32]) - # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. - # Size of 'long' and 'void *': - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __LP64__ - int ok; - #else - error fail - #endif - ]])], - [main_abi=lp64], - [main_abi=ilp32]) - # Float ABIs: - # __riscv_float_abi_double: - # 'float' and 'double' are passed in floating-point registers. - # __riscv_float_abi_single: - # 'float' are passed in floating-point registers. - # __riscv_float_abi_soft: - # No values are passed in floating-point registers. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __riscv_float_abi_double - int ok; - #else - error fail - #endif - ]])], - [float_abi=d], - [AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __riscv_float_abi_single - int ok; - #else - error fail - #endif - ]])], - [float_abi=f], - [float_abi='']) - ]) - gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" - ;; - - s390* ) - # On s390x, the C compiler may be generating 64-bit (= s390x) code - # or 31-bit (= s390) code. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __LP64__ || defined __s390x__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=s390x], - [gl_cv_host_cpu_c_abi=s390]) - ;; - - sparc | sparc64 ) - # UltraSPARCs running Linux have `uname -m` = "sparc64", but the - # C compiler still generates 32-bit code. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __sparcv9 || defined __arch64__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi=sparc64], - [gl_cv_host_cpu_c_abi=sparc]) - ;; - - *) - gl_cv_host_cpu_c_abi="$host_cpu" - ;; - esac - ]) - - dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same. - HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'` - HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi" - AC_SUBST([HOST_CPU]) - AC_SUBST([HOST_CPU_C_ABI]) - - # This was - # AC_DEFINE_UNQUOTED([__${HOST_CPU}__]) - # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__]) - # earlier, but KAI C++ 3.2d doesn't like this. - sed -e 's/-/_/g' >> confdefs.h < -#include - ]], - [[iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd);]])], - [am_cv_func_iconv=yes]) - if test "$am_cv_func_iconv" != yes; then - am_save_LIBS="$LIBS" - LIBS="$LIBS $LIBICONV" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include - ]], - [[iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd);]])], - [am_cv_lib_iconv=yes] - [am_cv_func_iconv=yes]) - LIBS="$am_save_LIBS" - fi - ]) - if test "$am_cv_func_iconv" = yes; then - AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ - dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, - dnl Solaris 10. - am_save_LIBS="$LIBS" - if test $am_cv_lib_iconv = yes; then - LIBS="$LIBS $LIBICONV" - fi - am_cv_func_iconv_works=no - for ac_iconv_const in '' 'const'; do - AC_RUN_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include - -#ifndef ICONV_CONST -# define ICONV_CONST $ac_iconv_const -#endif - ]], - [[int result = 0; - /* Test against AIX 5.1 bug: Failures are not distinguishable from successful - returns. */ - { - iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); - if (cd_utf8_to_88591 != (iconv_t)(-1)) - { - static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ - char buf[10]; - ICONV_CONST char *inptr = input; - size_t inbytesleft = strlen (input); - char *outptr = buf; - size_t outbytesleft = sizeof (buf); - size_t res = iconv (cd_utf8_to_88591, - &inptr, &inbytesleft, - &outptr, &outbytesleft); - if (res == 0) - result |= 1; - iconv_close (cd_utf8_to_88591); - } - } - /* Test against Solaris 10 bug: Failures are not distinguishable from - successful returns. */ - { - iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); - if (cd_ascii_to_88591 != (iconv_t)(-1)) - { - static ICONV_CONST char input[] = "\263"; - char buf[10]; - ICONV_CONST char *inptr = input; - size_t inbytesleft = strlen (input); - char *outptr = buf; - size_t outbytesleft = sizeof (buf); - size_t res = iconv (cd_ascii_to_88591, - &inptr, &inbytesleft, - &outptr, &outbytesleft); - if (res == 0) - result |= 2; - iconv_close (cd_ascii_to_88591); - } - } - /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ - { - iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); - if (cd_88591_to_utf8 != (iconv_t)(-1)) - { - static ICONV_CONST char input[] = "\304"; - static char buf[2] = { (char)0xDE, (char)0xAD }; - ICONV_CONST char *inptr = input; - size_t inbytesleft = 1; - char *outptr = buf; - size_t outbytesleft = 1; - size_t res = iconv (cd_88591_to_utf8, - &inptr, &inbytesleft, - &outptr, &outbytesleft); - if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) - result |= 4; - iconv_close (cd_88591_to_utf8); - } - } -#if 0 /* This bug could be worked around by the caller. */ - /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ - { - iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); - if (cd_88591_to_utf8 != (iconv_t)(-1)) - { - static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; - char buf[50]; - ICONV_CONST char *inptr = input; - size_t inbytesleft = strlen (input); - char *outptr = buf; - size_t outbytesleft = sizeof (buf); - size_t res = iconv (cd_88591_to_utf8, - &inptr, &inbytesleft, - &outptr, &outbytesleft); - if ((int)res > 0) - result |= 8; - iconv_close (cd_88591_to_utf8); - } - } -#endif - /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is - provided. */ - { - /* Try standardized names. */ - iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); - /* Try IRIX, OSF/1 names. */ - iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); - /* Try AIX names. */ - iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); - /* Try HP-UX names. */ - iconv_t cd4 = iconv_open ("utf8", "eucJP"); - if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) - && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) - result |= 16; - if (cd1 != (iconv_t)(-1)) - iconv_close (cd1); - if (cd2 != (iconv_t)(-1)) - iconv_close (cd2); - if (cd3 != (iconv_t)(-1)) - iconv_close (cd3); - if (cd4 != (iconv_t)(-1)) - iconv_close (cd4); - } - return result; -]])], - [am_cv_func_iconv_works=yes], , - [case "$host_os" in - aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; - *) am_cv_func_iconv_works="guessing yes" ;; - esac]) - test "$am_cv_func_iconv_works" = no || break - done - LIBS="$am_save_LIBS" - ]) - case "$am_cv_func_iconv_works" in - *no) am_func_iconv=no am_cv_lib_iconv=no ;; - *) am_func_iconv=yes ;; - esac - else - am_func_iconv=no am_cv_lib_iconv=no - fi - if test "$am_func_iconv" = yes; then - AC_DEFINE([HAVE_ICONV], [1], - [Define if you have the iconv() function and it works.]) - fi - if test "$am_cv_lib_iconv" = yes; then - AC_MSG_CHECKING([how to link with libiconv]) - AC_MSG_RESULT([$LIBICONV]) - else - dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV - dnl either. - CPPFLAGS="$am_save_CPPFLAGS" - LIBICONV= - LTLIBICONV= - fi - AC_SUBST([LIBICONV]) - AC_SUBST([LTLIBICONV]) -]) - -dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to -dnl avoid warnings like -dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". -dnl This is tricky because of the way 'aclocal' is implemented: -dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. -dnl Otherwise aclocal's initial scan pass would miss the macro definition. -dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. -dnl Otherwise aclocal would emit many "Use of uninitialized value $1" -dnl warnings. -m4_define([gl_iconv_AC_DEFUN], - m4_version_prereq([2.64], - [[AC_DEFUN_ONCE( - [$1], [$2])]], - [m4_ifdef([gl_00GNULIB], - [[AC_DEFUN_ONCE( - [$1], [$2])]], - [[AC_DEFUN( - [$1], [$2])]])])) -gl_iconv_AC_DEFUN([AM_ICONV], -[ - AM_ICONV_LINK - if test "$am_cv_func_iconv" = yes; then - AC_MSG_CHECKING([for iconv declaration]) - AC_CACHE_VAL([am_cv_proto_iconv], [ - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif - ]], - [[]])], - [am_cv_proto_iconv_arg1=""], - [am_cv_proto_iconv_arg1="const"]) - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) - am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - AC_MSG_RESULT([ - $am_cv_proto_iconv]) - else - dnl When compiling GNU libiconv on a system that does not have iconv yet, - dnl pick the POSIX compliant declaration without 'const'. - am_cv_proto_iconv_arg1="" - fi - AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], - [Define as const if the declaration of iconv() needs const.]) - dnl Also substitute ICONV_CONST in the gnulib generated . - m4_ifdef([gl_ICONV_H_DEFAULTS], - [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) - if test -n "$am_cv_proto_iconv_arg1"; then - ICONV_CONST="const" - fi - ]) -]) diff --git a/m4/intlmacosx.m4 b/m4/intlmacosx.m4 deleted file mode 100644 index ebd9937..0000000 --- a/m4/intlmacosx.m4 +++ /dev/null @@ -1,65 +0,0 @@ -# intlmacosx.m4 serial 8 (gettext-0.20.2) -dnl Copyright (C) 2004-2014, 2016, 2019-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. -dnl -dnl This file can be used in projects which are not available under -dnl the GNU General Public License or the GNU Lesser General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Lesser General Public License, and the rest of the GNU -dnl gettext package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Checks for special options needed on Mac OS X. -dnl Defines INTL_MACOSX_LIBS. -AC_DEFUN([gt_INTL_MACOSX], -[ - dnl Check for API introduced in Mac OS X 10.4. - AC_CACHE_CHECK([for CFPreferencesCopyAppValue], - [gt_cv_func_CFPreferencesCopyAppValue], - [gt_save_LIBS="$LIBS" - LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[CFPreferencesCopyAppValue(NULL, NULL)]])], - [gt_cv_func_CFPreferencesCopyAppValue=yes], - [gt_cv_func_CFPreferencesCopyAppValue=no]) - LIBS="$gt_save_LIBS"]) - if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then - AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], - [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) - fi - dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, - dnl because in macOS 10.13.4 it has the following behaviour: - dnl When two or more languages are specified in the - dnl "System Preferences > Language & Region > Preferred Languages" panel, - dnl it returns en_CC where CC is the territory (even when English is not among - dnl the preferred languages!). What we want instead is what - dnl CFLocaleCopyCurrent returned in earlier macOS releases and what - dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the - dnl first among the preferred languages and CC is the territory. - AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], - [gt_save_LIBS="$LIBS" - LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[CFLocaleCopyPreferredLanguages();]])], - [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], - [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) - LIBS="$gt_save_LIBS"]) - if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then - AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], - [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) - fi - INTL_MACOSX_LIBS= - if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ - || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then - INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" - fi - AC_SUBST([INTL_MACOSX_LIBS]) -]) diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4 deleted file mode 100644 index 98c348f..0000000 --- a/m4/lib-ld.m4 +++ /dev/null @@ -1,168 +0,0 @@ -# lib-ld.m4 serial 9 -dnl Copyright (C) 1996-2003, 2009-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl Subroutines of libtool.m4, -dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid -dnl collision with libtool.m4. - -dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. -AC_DEFUN([AC_LIB_PROG_LD_GNU], -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], -[# I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 /dev/null 2>&1 \ - && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ - || PATH_SEPARATOR=';' - } -fi - -if test -n "$LD"; then - AC_MSG_CHECKING([for ld]) -elif test "$GCC" = yes; then - AC_MSG_CHECKING([for ld used by $CC]) -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -if test -n "$LD"; then - # Let the user override the test with a path. - : -else - AC_CACHE_VAL([acl_cv_path_LD], - [ - acl_cv_path_LD= # Final result of this test - ac_prog=ld # Program to search in $PATH - if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - acl_output=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $acl_output in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` - while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do - acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` - done - # Got the pathname. No search in PATH is needed. - acl_cv_path_LD="$acl_output" - ac_prog= - ;; - "") - # If it fails, then pretend we aren't using GCC. - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac - fi - if test -n "$ac_prog"; then - # Search for $ac_prog in $PATH. - acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$acl_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$acl_cv_path_LD" -v 2>&1 conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - ]) - wl="$acl_cv_wl" - acl_libext="$acl_cv_libext" - acl_shlibext="$acl_cv_shlibext" - acl_libname_spec="$acl_cv_libname_spec" - acl_library_names_spec="$acl_cv_library_names_spec" - acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - acl_hardcode_direct="$acl_cv_hardcode_direct" - acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" - dnl Determine whether the user wants rpath handling at all. - AC_ARG_ENABLE([rpath], - [ --disable-rpath do not hardcode runtime library paths], - :, enable_rpath=yes) -]) - -dnl AC_LIB_FROMPACKAGE(name, package) -dnl declares that libname comes from the given package. The configure file -dnl will then not have a --with-libname-prefix option but a -dnl --with-package-prefix option. Several libraries can come from the same -dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar -dnl macro call that searches for libname. -AC_DEFUN([AC_LIB_FROMPACKAGE], -[ - pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) - define([acl_frompackage_]NAME, [$2]) - popdef([NAME]) - pushdef([PACK],[$2]) - pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) - define([acl_libsinpackage_]PACKUP, - m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) - popdef([PACKUP]) - popdef([PACK]) -]) - -dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and -dnl the libraries corresponding to explicit and implicit dependencies. -dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. -dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found -dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. -AC_DEFUN([AC_LIB_LINKFLAGS_BODY], -[ - AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) - pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) - pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) - pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], - [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) - pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) - dnl By default, look in $includedir and $libdir. - use_additional=yes - AC_LIB_WITH_FINAL_PREFIX([ - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" - eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - ]) - AC_ARG_WITH(PACK[-prefix], -[[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib - --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], -[ - if test "X$withval" = "Xno"; then - use_additional=no - else - if test "X$withval" = "X"; then - AC_LIB_WITH_FINAL_PREFIX([ - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" - eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - ]) - else - additional_includedir="$withval/include" - additional_libdir="$withval/$acl_libdirstem" - additional_libdir2="$withval/$acl_libdirstem2" - additional_libdir3="$withval/$acl_libdirstem3" - fi - fi -]) - if test "X$additional_libdir2" = "X$additional_libdir"; then - additional_libdir2= - fi - if test "X$additional_libdir3" = "X$additional_libdir"; then - additional_libdir3= - fi - dnl Search the library and its dependencies in $additional_libdir and - dnl $LDFLAGS. Using breadth-first-seach. - LIB[]NAME= - LTLIB[]NAME= - INC[]NAME= - LIB[]NAME[]_PREFIX= - dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been - dnl computed. So it has to be reset here. - HAVE_LIB[]NAME= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='$1 $2' - while test -n "$names_next_round"; do - names_this_round="$names_next_round" - names_next_round= - for name in $names_this_round; do - already_handled= - for n in $names_already_handled; do - if test "$n" = "$name"; then - already_handled=yes - break - fi - done - if test -z "$already_handled"; then - names_already_handled="$names_already_handled $name" - dnl See if it was already located by an earlier AC_LIB_LINKFLAGS - dnl or AC_LIB_HAVE_LINKFLAGS call. - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` - eval value=\"\$HAVE_LIB$uppername\" - if test -n "$value"; then - if test "$value" = yes; then - eval value=\"\$LIB$uppername\" - test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" - else - dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined - dnl that this library doesn't exist. So just drop it. - : - fi - else - dnl Search the library lib$name in $additional_libdir and $LDFLAGS - dnl and the already constructed $LIBNAME/$LTLIBNAME. - found_dir= - found_la= - found_so= - found_a= - eval libname=\"$acl_libname_spec\" # typically: libname=lib$name - if test -n "$acl_shlibext"; then - shrext=".$acl_shlibext" # typically: shrext=.so - else - shrext= - fi - if test $use_additional = yes; then - for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do - if test "X$found_dir" = "X"; then - eval dir=\$$additional_libdir_variable - if test -n "$dir"; then - dnl The same code as in the loop below: - dnl First look for a shared library. - if test -n "$acl_shlibext"; then - if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then - found_dir="$dir" - found_so="$dir/$libname$shrext" - else - if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then - ver=`(cd "$dir" && \ - for f in "$libname$shrext".*; do echo "$f"; done \ - | sed -e "s,^$libname$shrext\\\\.,," \ - | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ - | sed 1q ) 2>/dev/null` - if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then - found_dir="$dir" - found_so="$dir/$libname$shrext.$ver" - fi - else - eval library_names=\"$acl_library_names_spec\" - for f in $library_names; do - if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then - found_dir="$dir" - found_so="$dir/$f" - break - fi - done - fi - fi - fi - dnl Then look for a static library. - if test "X$found_dir" = "X"; then - if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then - found_dir="$dir" - found_a="$dir/$libname.$acl_libext" - fi - fi - if test "X$found_dir" != "X"; then - if test -f "$dir/$libname.la"; then - found_la="$dir/$libname.la" - fi - fi - fi - fi - done - fi - if test "X$found_dir" = "X"; then - for x in $LDFLAGS $LTLIB[]NAME; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - case "$x" in - -L*) - dir=`echo "X$x" | sed -e 's/^X-L//'` - dnl First look for a shared library. - if test -n "$acl_shlibext"; then - if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then - found_dir="$dir" - found_so="$dir/$libname$shrext" - else - if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then - ver=`(cd "$dir" && \ - for f in "$libname$shrext".*; do echo "$f"; done \ - | sed -e "s,^$libname$shrext\\\\.,," \ - | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ - | sed 1q ) 2>/dev/null` - if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then - found_dir="$dir" - found_so="$dir/$libname$shrext.$ver" - fi - else - eval library_names=\"$acl_library_names_spec\" - for f in $library_names; do - if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then - found_dir="$dir" - found_so="$dir/$f" - break - fi - done - fi - fi - fi - dnl Then look for a static library. - if test "X$found_dir" = "X"; then - if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then - found_dir="$dir" - found_a="$dir/$libname.$acl_libext" - fi - fi - if test "X$found_dir" != "X"; then - if test -f "$dir/$libname.la"; then - found_la="$dir/$libname.la" - fi - fi - ;; - esac - if test "X$found_dir" != "X"; then - break - fi - done - fi - if test "X$found_dir" != "X"; then - dnl Found the library. - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - dnl Linking with a shared library. We attempt to hardcode its - dnl directory into the executable's runpath, unless it's the - dnl standard /usr/lib. - if test "$enable_rpath" = no \ - || test "X$found_dir" = "X/usr/$acl_libdirstem" \ - || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ - || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then - dnl No hardcoding is needed. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" - else - dnl Use an explicit option to hardcode DIR into the resulting - dnl binary. - dnl Potentially add DIR to ltrpathdirs. - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $found_dir" - fi - dnl The hardcoding into $LIBNAME is system dependent. - if test "$acl_hardcode_direct" = yes; then - dnl Using DIR/libNAME.so during linking hardcodes DIR into the - dnl resulting binary. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" - else - if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then - dnl Use an explicit option to hardcode DIR into the resulting - dnl binary. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" - dnl Potentially add DIR to rpathdirs. - dnl The rpathdirs will be appended to $LIBNAME at the end. - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $found_dir" - fi - else - dnl Rely on "-L$found_dir". - dnl But don't add it if it's already contained in the LDFLAGS - dnl or the already constructed $LIBNAME - haveit= - for x in $LDFLAGS $LIB[]NAME; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-L$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" - fi - if test "$acl_hardcode_minus_L" != no; then - dnl FIXME: Not sure whether we should use - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" - dnl here. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" - else - dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH - dnl here, because this doesn't fit in flags passed to the - dnl compiler. So give up. No hardcoding. This affects only - dnl very old systems. - dnl FIXME: Not sure whether we should use - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" - dnl here. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - dnl Linking with a static library. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" - else - dnl We shouldn't come here, but anyway it's good to have a - dnl fallback. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" - fi - fi - dnl Assume the include files are nearby. - additional_includedir= - case "$found_dir" in - */$acl_libdirstem | */$acl_libdirstem/) - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` - if test "$name" = '$1'; then - LIB[]NAME[]_PREFIX="$basedir" - fi - additional_includedir="$basedir/include" - ;; - */$acl_libdirstem2 | */$acl_libdirstem2/) - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` - if test "$name" = '$1'; then - LIB[]NAME[]_PREFIX="$basedir" - fi - additional_includedir="$basedir/include" - ;; - */$acl_libdirstem3 | */$acl_libdirstem3/) - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` - if test "$name" = '$1'; then - LIB[]NAME[]_PREFIX="$basedir" - fi - additional_includedir="$basedir/include" - ;; - esac - if test "X$additional_includedir" != "X"; then - dnl Potentially add $additional_includedir to $INCNAME. - dnl But don't add it - dnl 1. if it's the standard /usr/include, - dnl 2. if it's /usr/local/include and we are using GCC on Linux, - dnl 3. if it's already present in $CPPFLAGS or the already - dnl constructed $INCNAME, - dnl 4. if it doesn't exist as a directory. - if test "X$additional_includedir" != "X/usr/include"; then - haveit= - if test "X$additional_includedir" = "X/usr/local/include"; then - if test -n "$GCC"; then - case $host_os in - linux* | gnu* | k*bsd*-gnu) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - for x in $CPPFLAGS $INC[]NAME; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-I$additional_includedir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_includedir"; then - dnl Really add $additional_includedir to $INCNAME. - INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" - fi - fi - fi - fi - fi - dnl Look for dependencies. - if test -n "$found_la"; then - dnl Read the .la file. It defines the variables - dnl dlname, library_names, old_library, dependency_libs, current, - dnl age, revision, installed, dlopen, dlpreopen, libdir. - save_libdir="$libdir" - case "$found_la" in - */* | *\\*) . "$found_la" ;; - *) . "./$found_la" ;; - esac - libdir="$save_libdir" - dnl We use only dependency_libs. - for dep in $dependency_libs; do - case "$dep" in - -L*) - dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` - dnl Potentially add $dependency_libdir to $LIBNAME and $LTLIBNAME. - dnl But don't add it - dnl 1. if it's the standard /usr/lib, - dnl 2. if it's /usr/local/lib and we are using GCC on Linux, - dnl 3. if it's already present in $LDFLAGS or the already - dnl constructed $LIBNAME, - dnl 4. if it doesn't exist as a directory. - if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ - && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ - && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then - haveit= - if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ - || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ - || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then - if test -n "$GCC"; then - case $host_os in - linux* | gnu* | k*bsd*-gnu) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - haveit= - for x in $LDFLAGS $LIB[]NAME; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-L$dependency_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$dependency_libdir"; then - dnl Really add $dependency_libdir to $LIBNAME. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$dependency_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIB[]NAME; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-L$dependency_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$dependency_libdir"; then - dnl Really add $dependency_libdir to $LTLIBNAME. - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$dependency_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - dnl Potentially add DIR to rpathdirs. - dnl The rpathdirs will be appended to $LIBNAME at the end. - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - dnl Potentially add DIR to ltrpathdirs. - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - fi - fi - ;; - -l*) - dnl Handle this in the next round. - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` - ;; - *.la) - dnl Handle this in the next round. Throw away the .la's - dnl directory; it is already contained in a preceding -L - dnl option. - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` - ;; - *) - dnl Most likely an immediate library name. - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" - ;; - esac - done - fi - else - dnl Didn't find the library; assume it is in the system directories - dnl known to the linker and runtime loader. (All the system - dnl directories known to the linker should also be known to the - dnl runtime loader, otherwise the system is severely misconfigured.) - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" - fi - fi - fi - done - done - if test "X$rpathdirs" != "X"; then - if test -n "$acl_hardcode_libdir_separator"; then - dnl Weird platform: only the last -rpath option counts, the user must - dnl pass all path elements in one option. We can arrange that for a - dnl single library, but not when more than one $LIBNAMEs are used. - alldirs= - for found_dir in $rpathdirs; do - alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" - done - dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. - acl_save_libdir="$libdir" - libdir="$alldirs" - eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" - else - dnl The -rpath options are cumulative. - for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" - libdir="$found_dir" - eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" - done - fi - fi - if test "X$ltrpathdirs" != "X"; then - dnl When using libtool, the option that works for both libraries and - dnl executables is -R. The -R options are cumulative. - for found_dir in $ltrpathdirs; do - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" - done - fi - popdef([PACKLIBS]) - popdef([PACKUP]) - popdef([PACK]) - popdef([NAME]) -]) - -dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, -dnl unless already present in VAR. -dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes -dnl contains two or three consecutive elements that belong together. -AC_DEFUN([AC_LIB_APPENDTOVAR], -[ - for element in [$2]; do - haveit= - for x in $[$1]; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - [$1]="${[$1]}${[$1]:+ }$element" - fi - done -]) - -dnl For those cases where a variable contains several -L and -l options -dnl referring to unknown libraries and directories, this macro determines the -dnl necessary additional linker options for the runtime path. -dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) -dnl sets LDADDVAR to linker options needed together with LIBSVALUE. -dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, -dnl otherwise linking without libtool is assumed. -AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], -[ - AC_REQUIRE([AC_LIB_RPATH]) - AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) - $1= - if test "$enable_rpath" != no; then - if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then - dnl Use an explicit option to hardcode directories into the resulting - dnl binary. - rpathdirs= - next= - for opt in $2; do - if test -n "$next"; then - dir="$next" - dnl No need to hardcode the standard /usr/lib. - if test "X$dir" != "X/usr/$acl_libdirstem" \ - && test "X$dir" != "X/usr/$acl_libdirstem2" \ - && test "X$dir" != "X/usr/$acl_libdirstem3"; then - rpathdirs="$rpathdirs $dir" - fi - next= - else - case $opt in - -L) next=yes ;; - -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` - dnl No need to hardcode the standard /usr/lib. - if test "X$dir" != "X/usr/$acl_libdirstem" \ - && test "X$dir" != "X/usr/$acl_libdirstem2" \ - && test "X$dir" != "X/usr/$acl_libdirstem3"; then - rpathdirs="$rpathdirs $dir" - fi - next= ;; - *) next= ;; - esac - fi - done - if test "X$rpathdirs" != "X"; then - if test -n ""$3""; then - dnl libtool is used for linking. Use -R options. - for dir in $rpathdirs; do - $1="${$1}${$1:+ }-R$dir" - done - else - dnl The linker is used for linking directly. - if test -n "$acl_hardcode_libdir_separator"; then - dnl Weird platform: only the last -rpath option counts, the user - dnl must pass all path elements in one option. - alldirs= - for dir in $rpathdirs; do - alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" - done - acl_save_libdir="$libdir" - libdir="$alldirs" - eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - $1="$flag" - else - dnl The -rpath options are cumulative. - for dir in $rpathdirs; do - acl_save_libdir="$libdir" - libdir="$dir" - eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - $1="${$1}${$1:+ }$flag" - done - fi - fi - fi - fi - fi - AC_SUBST([$1]) -]) diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 deleted file mode 100644 index c8a0b46..0000000 --- a/m4/lib-prefix.m4 +++ /dev/null @@ -1,320 +0,0 @@ -# lib-prefix.m4 serial 17 -dnl Copyright (C) 2001-2005, 2008-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl From Bruno Haible. - -dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed -dnl to access previously installed libraries. The basic assumption is that -dnl a user will want packages to use other packages he previously installed -dnl with the same --prefix option. -dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate -dnl libraries, but is otherwise very convenient. -AC_DEFUN([AC_LIB_PREFIX], -[ - AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) - AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) - AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) - dnl By default, look in $includedir and $libdir. - use_additional=yes - AC_LIB_WITH_FINAL_PREFIX([ - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - ]) - AC_ARG_WITH([lib-prefix], -[[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib - --without-lib-prefix don't search for libraries in includedir and libdir]], -[ - if test "X$withval" = "Xno"; then - use_additional=no - else - if test "X$withval" = "X"; then - AC_LIB_WITH_FINAL_PREFIX([ - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - ]) - else - additional_includedir="$withval/include" - additional_libdir="$withval/$acl_libdirstem" - fi - fi -]) - if test $use_additional = yes; then - dnl Potentially add $additional_includedir to $CPPFLAGS. - dnl But don't add it - dnl 1. if it's the standard /usr/include, - dnl 2. if it's already present in $CPPFLAGS, - dnl 3. if it's /usr/local/include and we are using GCC on Linux, - dnl 4. if it doesn't exist as a directory. - if test "X$additional_includedir" != "X/usr/include"; then - haveit= - for x in $CPPFLAGS; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-I$additional_includedir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test "X$additional_includedir" = "X/usr/local/include"; then - if test -n "$GCC"; then - case $host_os in - linux* | gnu* | k*bsd*-gnu) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - if test -d "$additional_includedir"; then - dnl Really add $additional_includedir to $CPPFLAGS. - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" - fi - fi - fi - fi - dnl Potentially add $additional_libdir to $LDFLAGS. - dnl But don't add it - dnl 1. if it's the standard /usr/lib, - dnl 2. if it's already present in $LDFLAGS, - dnl 3. if it's /usr/local/lib and we are using GCC on Linux, - dnl 4. if it doesn't exist as a directory. - if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then - haveit= - for x in $LDFLAGS; do - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) - if test "X$x" = "X-L$additional_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then - if test -n "$GCC"; then - case $host_os in - linux*) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - if test -d "$additional_libdir"; then - dnl Really add $additional_libdir to $LDFLAGS. - LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" - fi - fi - fi - fi - fi -]) - -dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, -dnl acl_final_exec_prefix, containing the values to which $prefix and -dnl $exec_prefix will expand at the end of the configure script. -AC_DEFUN([AC_LIB_PREPARE_PREFIX], -[ - dnl Unfortunately, prefix and exec_prefix get only finally determined - dnl at the end of configure. - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" -]) - -dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the -dnl variables prefix and exec_prefix bound to the values they will have -dnl at the end of the configure script. -AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], -[ - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - $1 - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" -]) - -dnl AC_LIB_PREPARE_MULTILIB creates -dnl - a function acl_is_expected_elfclass, that tests whether standard input -dn; has a 32-bit or 64-bit ELF header, depending on the host CPU ABI, -dnl - 3 variables acl_libdirstem, acl_libdirstem2, acl_libdirstem3, containing -dnl the basename of the libdir to try in turn, either "lib" or "lib64" or -dnl "lib/64" or "lib32" or "lib/sparcv9" or "lib/amd64" or similar. -AC_DEFUN([AC_LIB_PREPARE_MULTILIB], -[ - dnl There is no formal standard regarding lib, lib32, and lib64. - dnl On most glibc systems, the current practice is that on a system supporting - dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under - dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. However, on - dnl Arch Linux based distributions, it's the opposite: 32-bit libraries go - dnl under $prefix/lib32 and 64-bit libraries go under $prefix/lib. - dnl We determine the compiler's default mode by looking at the compiler's - dnl library search path. If at least one of its elements ends in /lib64 or - dnl points to a directory whose absolute pathname ends in /lib64, we use that - dnl for 64-bit ABIs. Similarly for 32-bit ABIs. Otherwise we use the default, - dnl namely "lib". - dnl On Solaris systems, the current practice is that on a system supporting - dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under - dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or - dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. - AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT]) - - AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf], - [AC_EGREP_CPP([Extensible Linking Format], - [#ifdef __ELF__ - Extensible Linking Format - #endif - ], - [gl_cv_elf=yes], - [gl_cv_elf=no]) - ]) - if test $gl_cv_elf; then - # Extract the ELF class of a file (5th byte) in decimal. - # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header - if od -A x < /dev/null >/dev/null 2>/dev/null; then - # Use POSIX od. - func_elfclass () - { - od -A n -t d1 -j 4 -N 1 - } - else - # Use BSD hexdump. - func_elfclass () - { - dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' - echo - } - fi -changequote(,)dnl - case $HOST_CPU_C_ABI_32BIT in - yes) - # 32-bit ABI. - acl_is_expected_elfclass () - { - test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 - } - ;; - no) - # 64-bit ABI. - acl_is_expected_elfclass () - { - test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 - } - ;; - *) - # Unknown. - acl_is_expected_elfclass () - { - : - } - ;; - esac -changequote([,])dnl - else - acl_is_expected_elfclass () - { - : - } - fi - - dnl Allow the user to override the result by setting acl_cv_libdirstems. - AC_CACHE_CHECK([for the common suffixes of directories in the library search path], - [acl_cv_libdirstems], - [dnl Try 'lib' first, because that's the default for libdir in GNU, see - dnl . - acl_libdirstem=lib - acl_libdirstem2= - acl_libdirstem3= - case "$host_os" in - solaris*) - dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment - dnl . - dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." - dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the - dnl symlink is missing, so we set acl_libdirstem2 too. - if test $HOST_CPU_C_ABI_32BIT = no; then - acl_libdirstem2=lib/64 - case "$host_cpu" in - sparc*) acl_libdirstem3=lib/sparcv9 ;; - i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; - esac - fi - ;; - *) - dnl If $CC generates code for a 32-bit ABI, the libraries are - dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64. - dnl Similarly, if $CC generates code for a 64-bit ABI, the libraries - dnl are surely under $prefix/lib or $prefix/lib64, not $prefix/lib32. - dnl Find the compiler's search path. However, non-system compilers - dnl sometimes have odd library search paths. But we can't simply invoke - dnl '/usr/bin/gcc -print-search-dirs' because that would not take into - dnl account the -m32/-m31 or -m64 options from the $CC or $CFLAGS. - searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ - | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` - if test $HOST_CPU_C_ABI_32BIT != no; then - # 32-bit or unknown ABI. - if test -d /usr/lib32; then - acl_libdirstem2=lib32 - fi - fi - if test $HOST_CPU_C_ABI_32BIT != yes; then - # 64-bit or unknown ABI. - if test -d /usr/lib64; then - acl_libdirstem3=lib64 - fi - fi - if test -n "$searchpath"; then - acl_save_IFS="${IFS= }"; IFS=":" - for searchdir in $searchpath; do - if test -d "$searchdir"; then - case "$searchdir" in - */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; - */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; - */../ | */.. ) - # Better ignore directories of this form. They are misleading. - ;; - *) searchdir=`cd "$searchdir" && pwd` - case "$searchdir" in - */lib32 ) acl_libdirstem2=lib32 ;; - */lib64 ) acl_libdirstem3=lib64 ;; - esac ;; - esac - fi - done - IFS="$acl_save_IFS" - if test $HOST_CPU_C_ABI_32BIT = yes; then - # 32-bit ABI. - acl_libdirstem3= - fi - if test $HOST_CPU_C_ABI_32BIT = no; then - # 64-bit ABI. - acl_libdirstem2= - fi - fi - ;; - esac - test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" - test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" - acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" - ]) - dnl Decompose acl_cv_libdirstems into acl_libdirstem, acl_libdirstem2, and - dnl acl_libdirstem3. -changequote(,)dnl - acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` - acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` - acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` -changequote([,])dnl -]) diff --git a/m4/nls.m4 b/m4/nls.m4 deleted file mode 100644 index 5a506fc..0000000 --- a/m4/nls.m4 +++ /dev/null @@ -1,32 +0,0 @@ -# nls.m4 serial 6 (gettext-0.20.2) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2020 Free -dnl Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. -dnl -dnl This file can be used in projects which are not available under -dnl the GNU General Public License or the GNU Lesser General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Lesser General Public License, and the rest of the GNU -dnl gettext package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper , 1995-2000. -dnl Bruno Haible , 2000-2003. - -AC_PREREQ([2.50]) - -AC_DEFUN([AM_NLS], -[ - AC_MSG_CHECKING([whether NLS is requested]) - dnl Default is enabled NLS - AC_ARG_ENABLE([nls], - [ --disable-nls do not use Native Language Support], - USE_NLS=$enableval, USE_NLS=yes) - AC_MSG_RESULT([$USE_NLS]) - AC_SUBST([USE_NLS]) -]) diff --git a/m4/pkg.m4 b/m4/pkg.m4 deleted file mode 100644 index 13a8890..0000000 --- a/m4/pkg.m4 +++ /dev/null @@ -1,275 +0,0 @@ -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# serial 12 (pkg-config-0.29.2) - -dnl Copyright © 2004 Scott James Remnant . -dnl Copyright © 2012-2015 Dan Nicholson -dnl -dnl This program is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl -dnl This program is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -dnl 02111-1307, USA. -dnl -dnl As a special exception to the GNU General Public License, if you -dnl distribute this file as part of a program that contains a -dnl configuration script generated by Autoconf, you may include it under -dnl the same distribution terms that you use for the rest of that -dnl program. - -dnl PKG_PREREQ(MIN-VERSION) -dnl ----------------------- -dnl Since: 0.29 -dnl -dnl Verify that the version of the pkg-config macros are at least -dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's -dnl installed version of pkg-config, this checks the developer's version -dnl of pkg.m4 when generating configure. -dnl -dnl To ensure that this macro is defined, also add: -dnl m4_ifndef([PKG_PREREQ], -dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) -dnl -dnl See the "Since" comment for each macro you use to see what version -dnl of the macros you require. -m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29.2]) -m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, - [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) -])dnl PKG_PREREQ - -dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) -dnl ---------------------------------- -dnl Since: 0.16 -dnl -dnl Search for the pkg-config tool and set the PKG_CONFIG variable to -dnl first found in the path. Checks that the version of pkg-config found -dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is -dnl used since that's the first version where most current features of -dnl pkg-config existed. -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi -fi[]dnl -])dnl PKG_PROG_PKG_CONFIG - -dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------------------------------- -dnl Since: 0.18 -dnl -dnl Check to see whether a particular set of modules exists. Similar to -dnl PKG_CHECK_MODULES(), but does not set variables or print errors. -dnl -dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place -dnl it's called might be skipped (such as if it is within an "if", you -dnl have to call PKG_CHECK_EXISTS manually -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_default([$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - -dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -dnl --------------------------------------------- -dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting -dnl pkg_failed based on the result. -m4_define([_PKG_CONFIG], -[if test -n "$$1"; then - pkg_cv_[]$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes ], - [pkg_failed=yes]) - else - pkg_failed=untried -fi[]dnl -])dnl _PKG_CONFIG - -dnl _PKG_SHORT_ERRORS_SUPPORTED -dnl --------------------------- -dnl Internal check to see if pkg-config supports short errors. -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])dnl _PKG_SHORT_ERRORS_SUPPORTED - - -dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl -------------------------------------------------------------- -dnl Since: 0.4.0 -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES might not happen, you should be sure to include an -dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $2]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - m4_default([$4], [AC_MSG_ERROR( -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT])[]dnl - ]) -elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])[]dnl - ]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - $3 -fi[]dnl -])dnl PKG_CHECK_MODULES - - -dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl --------------------------------------------------------------------- -dnl Since: 0.29 -dnl -dnl Checks for existence of MODULES and gathers its build flags with -dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags -dnl and VARIABLE-PREFIX_LIBS from --libs. -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to -dnl include an explicit call to PKG_PROG_PKG_CONFIG in your -dnl configure.ac. -AC_DEFUN([PKG_CHECK_MODULES_STATIC], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -_save_PKG_CONFIG=$PKG_CONFIG -PKG_CONFIG="$PKG_CONFIG --static" -PKG_CHECK_MODULES($@) -PKG_CONFIG=$_save_PKG_CONFIG[]dnl -])dnl PKG_CHECK_MODULES_STATIC - - -dnl PKG_INSTALLDIR([DIRECTORY]) -dnl ------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable pkgconfigdir as the location where a module -dnl should install pkg-config .pc files. By default the directory is -dnl $libdir/pkgconfig, but the default can be changed by passing -dnl DIRECTORY. The user can override through the --with-pkgconfigdir -dnl parameter. -AC_DEFUN([PKG_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, - [with_pkgconfigdir=]pkg_default) -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_INSTALLDIR - - -dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) -dnl -------------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable noarch_pkgconfigdir as the location where a -dnl module should install arch-independent pkg-config .pc files. By -dnl default the directory is $datadir/pkgconfig, but the default can be -dnl changed by passing DIRECTORY. The user can override through the -dnl --with-noarch-pkgconfigdir parameter. -AC_DEFUN([PKG_NOARCH_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([noarch-pkgconfigdir], - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, - [with_noarch_pkgconfigdir=]pkg_default) -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_NOARCH_INSTALLDIR - - -dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------- -dnl Since: 0.28 -dnl -dnl Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl - -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) - -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])dnl PKG_CHECK_VAR diff --git a/m4/po.m4 b/m4/po.m4 deleted file mode 100644 index 3778fd7..0000000 --- a/m4/po.m4 +++ /dev/null @@ -1,450 +0,0 @@ -# po.m4 serial 31 (gettext-0.20.2) -dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. -dnl -dnl This file can be used in projects which are not available under -dnl the GNU General Public License or the GNU Lesser General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Lesser General Public License, and the rest of the GNU -dnl gettext package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper , 1995-2000. -dnl Bruno Haible , 2000-2003. - -AC_PREREQ([2.60]) - -dnl Checks for all prerequisites of the po subdirectory. -AC_DEFUN([AM_PO_SUBDIRS], -[ - AC_REQUIRE([AC_PROG_MAKE_SET])dnl - AC_REQUIRE([AC_PROG_INSTALL])dnl - AC_REQUIRE([AC_PROG_MKDIR_P])dnl - AC_REQUIRE([AC_PROG_SED])dnl - AC_REQUIRE([AM_NLS])dnl - - dnl Release version of the gettext macros. This is used to ensure that - dnl the gettext macros and po/Makefile.in.in are in sync. - AC_SUBST([GETTEXT_MACRO_VERSION], [0.20]) - - dnl Perform the following tests also if --disable-nls has been given, - dnl because they are needed for "make dist" to work. - - dnl Search for GNU msgfmt in the PATH. - dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. - dnl The second test excludes FreeBSD msgfmt. - AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, - [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && - (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], - :) - AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) - - dnl Test whether it is GNU msgfmt >= 0.15. -changequote(,)dnl - case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; - *) GMSGFMT_015=$GMSGFMT ;; - esac -changequote([,])dnl - AC_SUBST([GMSGFMT_015]) - - dnl Search for GNU xgettext 0.12 or newer in the PATH. - dnl The first test excludes Solaris xgettext and early GNU xgettext versions. - dnl The second test excludes FreeBSD xgettext. - AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && - (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], - :) - dnl Remove leftover from FreeBSD xgettext call. - rm -f messages.po - - dnl Test whether it is GNU xgettext >= 0.15. -changequote(,)dnl - case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; - *) XGETTEXT_015=$XGETTEXT ;; - esac -changequote([,])dnl - AC_SUBST([XGETTEXT_015]) - - dnl Search for GNU msgmerge 0.11 or newer in the PATH. - AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, - [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) - - dnl Test whether it is GNU msgmerge >= 0.20. - if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then - MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' - else - dnl Test whether it is GNU msgmerge >= 0.12. - if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then - MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' - else - dnl With these old versions, $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) is - dnl slow. But this is not a big problem, as such old gettext versions are - dnl hardly in use any more. - MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' - fi - fi - AC_SUBST([MSGMERGE_FOR_MSGFMT_OPTION]) - - dnl Support for AM_XGETTEXT_OPTION. - test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= - AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) - - AC_CONFIG_COMMANDS([po-directories], [[ - for ac_file in $CONFIG_FILES; do - # Support "outfile[:infile[:infile...]]" - case "$ac_file" in - *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - esac - # PO directories have a Makefile.in generated from Makefile.in.in. - case "$ac_file" in */Makefile.in) - # Adjust a relative srcdir. - ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` - ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` - ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` - # In autoconf-2.13 it is called $ac_given_srcdir. - # In autoconf-2.50 it is called $srcdir. - test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" - case "$ac_given_srcdir" in - .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; - /*) top_srcdir="$ac_given_srcdir" ;; - *) top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - # Treat a directory as a PO directory if and only if it has a - # POTFILES.in file. This allows packages to have multiple PO - # directories under different names or in different locations. - if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then - rm -f "$ac_dir/POTFILES" - test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" - gt_tab=`printf '\t'` - cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" - POMAKEFILEDEPS="POTFILES.in" - # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend - # on $ac_dir but don't depend on user-specified configuration - # parameters. - if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then - # The LINGUAS file contains the set of available languages. - if test -n "$OBSOLETE_ALL_LINGUAS"; then - test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" - fi - ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` - POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" - else - # The set of available languages was given in configure.in. - ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS - fi - # Compute POFILES - # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) - # Compute UPDATEPOFILES - # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) - # Compute DUMMYPOFILES - # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) - # Compute GMOFILES - # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) - case "$ac_given_srcdir" in - .) srcdirpre= ;; - *) srcdirpre='$(srcdir)/' ;; - esac - POFILES= - UPDATEPOFILES= - DUMMYPOFILES= - GMOFILES= - for lang in $ALL_LINGUAS; do - POFILES="$POFILES $srcdirpre$lang.po" - UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" - DUMMYPOFILES="$DUMMYPOFILES $lang.nop" - GMOFILES="$GMOFILES $srcdirpre$lang.gmo" - done - # CATALOGS depends on both $ac_dir and the user's LINGUAS - # environment variable. - INST_LINGUAS= - if test -n "$ALL_LINGUAS"; then - for presentlang in $ALL_LINGUAS; do - useit=no - if test "%UNSET%" != "$LINGUAS"; then - desiredlanguages="$LINGUAS" - else - desiredlanguages="$ALL_LINGUAS" - fi - for desiredlang in $desiredlanguages; do - # Use the presentlang catalog if desiredlang is - # a. equal to presentlang, or - # b. a variant of presentlang (because in this case, - # presentlang can be used as a fallback for messages - # which are not translated in the desiredlang catalog). - case "$desiredlang" in - "$presentlang"*) useit=yes;; - esac - done - if test $useit = yes; then - INST_LINGUAS="$INST_LINGUAS $presentlang" - fi - done - fi - CATALOGS= - if test -n "$INST_LINGUAS"; then - for lang in $INST_LINGUAS; do - CATALOGS="$CATALOGS $lang.gmo" - done - fi - test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" - sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" - for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do - if test -f "$f"; then - case "$f" in - *.orig | *.bak | *~) ;; - *) cat "$f" >> "$ac_dir/Makefile" ;; - esac - fi - done - fi - ;; - esac - done]], - [# Capture the value of obsolete ALL_LINGUAS because we need it to compute - # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. - OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" - # Capture the value of LINGUAS because we need it to compute CATALOGS. - LINGUAS="${LINGUAS-%UNSET%}" - ]) -]) - -dnl Postprocesses a Makefile in a directory containing PO files. -AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], -[ - # When this code is run, in config.status, two variables have already been - # set: - # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, - # - LINGUAS is the value of the environment variable LINGUAS at configure - # time. - -changequote(,)dnl - # Adjust a relative srcdir. - ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` - ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` - ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` - # In autoconf-2.13 it is called $ac_given_srcdir. - # In autoconf-2.50 it is called $srcdir. - test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" - case "$ac_given_srcdir" in - .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; - /*) top_srcdir="$ac_given_srcdir" ;; - *) top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - # Find a way to echo strings without interpreting backslash. - if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then - gt_echo='echo' - else - if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then - gt_echo='printf %s\n' - else - echo_func () { - cat < "$ac_file.tmp" - tab=`printf '\t'` - if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then - # Add dependencies that cannot be formulated as a simple suffix rule. - for lang in $ALL_LINGUAS; do - frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` - cat >> "$ac_file.tmp" < /dev/null; then - # Add dependencies that cannot be formulated as a simple suffix rule. - for lang in $ALL_LINGUAS; do - frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` - cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, 1996. - -AC_PREREQ([2.50]) - -# Search path for a program which passes the given test. - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[ -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which - # contains only /bin. Note that ksh looks also at the FPATH variable, - # so we have to set that as well for the test. - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ - && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ - || PATH_SEPARATOR=';' - } -fi - -# Find out how to test for executable files. Don't use a zero-byte file, -# as systems may use methods other than mode bits to determine executability. -cat >conf$$.file <<_ASEOF -#! /bin/sh -exit 0 -_ASEOF -chmod +x conf$$.file -if test -x conf$$.file >/dev/null 2>&1; then - ac_executable_p="test -x" -else - ac_executable_p="test -f" -fi -rm -f conf$$.file - -# Extract the first word of "$2", so it can be a program name with args. -set dummy $2; ac_word=[$]2 -AC_MSG_CHECKING([for $ac_word]) -AC_CACHE_VAL([ac_cv_path_$1], -[case "[$]$1" in - [[\\/]]* | ?:[[\\/]]*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; - *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in ifelse([$5], , $PATH, [$5]); do - IFS="$ac_save_IFS" - test -z "$ac_dir" && ac_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then - echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" - break 2 - fi - fi - done - done - IFS="$ac_save_IFS" -dnl If no 4th arg is given, leave the cache variable unset, -dnl so AC_PATH_PROGS will keep looking. -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -])dnl - ;; -esac])dnl -$1="$ac_cv_path_$1" -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$][$1]) -else - AC_MSG_RESULT([no]) -fi -AC_SUBST([$1])dnl -]) diff --git a/meson-post-install.py b/meson-post-install.py index 351f4d7..7ca7f3c 100755 --- a/meson-post-install.py +++ b/meson-post-install.py @@ -7,12 +7,12 @@ datadir = os.path.join(prefix, 'share') # Packaging tools define DESTDIR and this isn't needed for them -if not 'DESTDIR' in os.environ: +if 'DESTDIR' not in os.environ: print('Compiling gsettings schemas...') subprocess.call(['glib-compile-schemas', os.path.join(datadir, 'glib-2.0', 'schemas')]) print('Updating icon cache...') - subprocess.call(['gtk-update-icon-cache', '-qtf', os.path.join(datadir, 'icons', 'hicolor')]) + subprocess.call(['gtk4-update-icon-cache', '-qtf', os.path.join(datadir, 'icons', 'hicolor')]) print('Updating desktop database...') subprocess.call(['update-desktop-database', '-q', os.path.join(datadir, 'applications')]) diff --git a/meson.build b/meson.build index 771d6ed..6c1b54d 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('celluloid', 'c', - version: '0.21', + version: '0.27', meson_version: '>= 0.49.0', default_options: [ 'warning_level=2', @@ -46,7 +46,7 @@ test_ldflags = [ ] global_ldflags = [] foreach ldflag : test_ldflags - if cc.has_argument(ldflag) + if cc.has_link_argument(ldflag) global_ldflags += ldflag endif endforeach diff --git a/po/LINGUAS b/po/LINGUAS index 75918e7..242e68c 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -22,6 +22,7 @@ ja ka ko lt +lv ms nb_NO nl diff --git a/po/Makefile.in.in b/po/Makefile.in.in deleted file mode 100644 index 6b25f0d..0000000 --- a/po/Makefile.in.in +++ /dev/null @@ -1,510 +0,0 @@ -# Makefile for PO directory in any package using GNU gettext. -# Copyright (C) 1995-2000 Ulrich Drepper -# Copyright (C) 2000-2020 Free Software Foundation, Inc. -# -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. This file is offered as-is, -# without any warranty. -# -# Origin: gettext-0.21 -GETTEXT_MACRO_VERSION = 0.20 - -PACKAGE = @PACKAGE@ -VERSION = @VERSION@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ - -SED = @SED@ -SHELL = /bin/sh -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -datarootdir = @datarootdir@ -datadir = @datadir@ -localedir = @localedir@ -gettextsrcdir = $(datadir)/gettext/po - -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ - -# We use $(mkdir_p). -# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as -# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, -# @install_sh@ does not start with $(SHELL), so we add it. -# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined -# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake -# versions, $(mkinstalldirs) and $(install_sh) are unused. -mkinstalldirs = $(SHELL) @install_sh@ -d -install_sh = $(SHELL) @install_sh@ -MKDIR_P = @MKDIR_P@ -mkdir_p = @mkdir_p@ - -# When building gettext-tools, we prefer to use the built programs -# rather than installed programs. However, we can't do that when we -# are cross compiling. -CROSS_COMPILING = @CROSS_COMPILING@ - -GMSGFMT_ = @GMSGFMT@ -GMSGFMT_no = @GMSGFMT@ -GMSGFMT_yes = @GMSGFMT_015@ -GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) -XGETTEXT_ = @XGETTEXT@ -XGETTEXT_no = @XGETTEXT@ -XGETTEXT_yes = @XGETTEXT_015@ -XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) -MSGMERGE = @MSGMERGE@ -MSGMERGE_UPDATE = @MSGMERGE@ --update -MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ -MSGINIT = msginit -MSGCONV = msgconv -MSGFILTER = msgfilter - -POFILES = @POFILES@ -GMOFILES = @GMOFILES@ -UPDATEPOFILES = @UPDATEPOFILES@ -DUMMYPOFILES = @DUMMYPOFILES@ -DISTFILES.common = Makefile.in.in remove-potcdate.sin \ -$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) -DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ -$(POFILES) $(GMOFILES) \ -$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) - -POTFILES = \ - -CATALOGS = @CATALOGS@ - -POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot -POFILESDEPS_yes = $(POFILESDEPS_) -POFILESDEPS_no = -POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) - -DISTFILESDEPS_ = update-po -DISTFILESDEPS_yes = $(DISTFILESDEPS_) -DISTFILESDEPS_no = -DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) - -# Makevars gets inserted here. (Don't remove this line!) - -all: all-@USE_NLS@ - - -.SUFFIXES: -.SUFFIXES: .po .gmo .sed .sin .nop .po-create .po-update - -# The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. -# The GNU Coding Standards say in -# : -# "GNU distributions usually contain some files which are not source files -# ... . Since these files normally appear in the source directory, they -# should always appear in the source directory, not in the build directory. -# So Makefile rules to update them should put the updated files in the -# source directory." -# Therefore we put these files in the source directory, not the build directory. - -# During .po -> .gmo conversion, take into account the most recent changes to -# the .pot file. This eliminates the need to update the .po files when the -# .pot file has changed, which would be troublesome if the .po files are put -# under version control. -$(GMOFILES): $(srcdir)/$(DOMAIN).pot -.po.gmo: - @lang=`echo $* | sed -e 's,.*/,,'`; \ - test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ - echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ - cd $(srcdir) && \ - rm -f $${lang}.gmo && \ - $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ - $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ - mv t-$${lang}.gmo $${lang}.gmo && \ - rm -f $${lang}.1po - -.sin.sed: - sed -e '/^#/d' $< > t-$@ - mv t-$@ $@ - - -all-yes: $(srcdir)/stamp-po -all-no: - -# Ensure that the gettext macros and this Makefile.in.in are in sync. -CHECK_MACRO_VERSION = \ - test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ - || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ - exit 1; \ - } - -# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no -# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because -# we don't want to bother translators with empty POT files). We assume that -# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. -# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). - -# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS -# have been loosely updated. Its purpose is that when a developer or translator -# checks out the package from a version control system, and the $(DOMAIN).pot -# file is not under version control, "make" will update the $(DOMAIN).pot and -# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This -# timestamp would not be necessary if updating the $(CATALOGS) would always -# touch them; however, the rule for $(POFILES) has been designed to not touch -# files that don't need to be changed. -$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot - @$(CHECK_MACRO_VERSION) - test ! -f $(srcdir)/$(DOMAIN).pot || \ - test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) - @test ! -f $(srcdir)/$(DOMAIN).pot || { \ - echo "touch $(srcdir)/stamp-po" && \ - echo timestamp > $(srcdir)/stamp-poT && \ - mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ - } - -# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', -# otherwise packages like GCC can not be built if only parts of the source -# have been downloaded. - -# This target rebuilds $(DOMAIN).pot; it is an expensive operation. -# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. -# The determination of whether the package xyz is a GNU one is based on the -# heuristic whether some file in the top level directory mentions "GNU xyz". -# If GNU 'find' is available, we avoid grepping through monster files. -$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed - package_gnu="$(PACKAGE_GNU)"; \ - test -n "$$package_gnu" || { \ - if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ - LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU @PACKAGE@' /dev/null '{}' ';' 2>/dev/null; \ - else \ - LC_ALL=C grep -i 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ - fi; \ - } | grep -v 'libtool:' >/dev/null; then \ - package_gnu=yes; \ - else \ - package_gnu=no; \ - fi; \ - }; \ - if test "$$package_gnu" = "yes"; then \ - package_prefix='GNU '; \ - else \ - package_prefix=''; \ - fi; \ - if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ - msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ - else \ - msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ - fi; \ - case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ - $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ - --add-comments=TRANSLATORS: \ - --files-from=$(srcdir)/POTFILES.in \ - --copyright-holder='$(COPYRIGHT_HOLDER)' \ - --msgid-bugs-address="$$msgid_bugs_address" \ - $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ - ;; \ - *) \ - $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ - --add-comments=TRANSLATORS: \ - --files-from=$(srcdir)/POTFILES.in \ - --copyright-holder='$(COPYRIGHT_HOLDER)' \ - --package-name="$${package_prefix}@PACKAGE@" \ - --package-version='@VERSION@' \ - --msgid-bugs-address="$$msgid_bugs_address" \ - $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ - ;; \ - esac - test ! -f $(DOMAIN).po || { \ - if test -f $(srcdir)/$(DOMAIN).pot-header; then \ - sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ - cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ - rm -f $(DOMAIN).1po \ - || exit 1; \ - fi; \ - if test -f $(srcdir)/$(DOMAIN).pot; then \ - sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ - sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ - if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ - rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ - else \ - rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ - mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ - fi; \ - else \ - mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ - fi; \ - } - -# This rule has no dependencies: we don't need to update $(DOMAIN).pot at -# every "make" invocation, only create it when it is missing. -# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. -$(srcdir)/$(DOMAIN).pot: - $(MAKE) $(DOMAIN).pot-update - -# This target rebuilds a PO file if $(DOMAIN).pot has changed. -# Note that a PO file is not touched if it doesn't need to be changed. -$(POFILES): $(POFILESDEPS) - @test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot - @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ - if test -f "$(srcdir)/$${lang}.po"; then \ - test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ - echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ - cd $(srcdir) \ - && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].*) \ - $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ - 0.1[6-7] | 0.1[6-7].*) \ - $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ - *) \ - $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ - esac; \ - }; \ - else \ - $(MAKE) $${lang}.po-create; \ - fi - - -install: install-exec install-data -install-exec: -install-data: install-data-@USE_NLS@ - if test "$(PACKAGE)" = "gettext-tools"; then \ - $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ - for file in $(DISTFILES.common) Makevars.template; do \ - $(INSTALL_DATA) $(srcdir)/$$file \ - $(DESTDIR)$(gettextsrcdir)/$$file; \ - done; \ - for file in Makevars; do \ - rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ - done; \ - else \ - : ; \ - fi -install-data-no: all -install-data-yes: all - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ - dir=$(localedir)/$$lang/LC_MESSAGES; \ - $(mkdir_p) $(DESTDIR)$$dir; \ - if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ - $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ - echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ - for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ - if test -n "$$lc"; then \ - if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ - link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ - mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ - mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ - (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ - for file in *; do \ - if test -f $$file; then \ - ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ - fi; \ - done); \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ - else \ - if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ - :; \ - else \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ - mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ - fi; \ - fi; \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ - ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ - ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ - cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ - echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ - fi; \ - done; \ - done - -install-strip: install - -installdirs: installdirs-exec installdirs-data -installdirs-exec: -installdirs-data: installdirs-data-@USE_NLS@ - if test "$(PACKAGE)" = "gettext-tools"; then \ - $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ - else \ - : ; \ - fi -installdirs-data-no: -installdirs-data-yes: - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ - dir=$(localedir)/$$lang/LC_MESSAGES; \ - $(mkdir_p) $(DESTDIR)$$dir; \ - for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ - if test -n "$$lc"; then \ - if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ - link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ - mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ - mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ - (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ - for file in *; do \ - if test -f $$file; then \ - ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ - fi; \ - done); \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ - else \ - if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ - :; \ - else \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ - mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ - fi; \ - fi; \ - fi; \ - done; \ - done - -# Define this as empty until I found a useful application. -installcheck: - -uninstall: uninstall-exec uninstall-data -uninstall-exec: -uninstall-data: uninstall-data-@USE_NLS@ - if test "$(PACKAGE)" = "gettext-tools"; then \ - for file in $(DISTFILES.common) Makevars.template; do \ - rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ - done; \ - else \ - : ; \ - fi -uninstall-data-no: -uninstall-data-yes: - catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ - for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ - rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ - done; \ - done - -check: all - -info dvi ps pdf html tags TAGS ctags CTAGS ID: - -install-dvi install-ps install-pdf install-html: - -mostlyclean: - rm -f remove-potcdate.sed - rm -f $(srcdir)/stamp-poT - rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po - rm -fr *.o - -clean: mostlyclean - -distclean: clean - rm -f Makefile Makefile.in POTFILES - -maintainer-clean: distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - rm -f $(srcdir)/$(DOMAIN).pot $(srcdir)/stamp-po $(GMOFILES) - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -dist distdir: - test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) - @$(MAKE) dist2 -# This is a separate target because 'update-po' must be executed before. -dist2: $(srcdir)/stamp-po $(DISTFILES) - @dists="$(DISTFILES)"; \ - if test "$(PACKAGE)" = "gettext-tools"; then \ - dists="$$dists Makevars.template"; \ - fi; \ - if test -f $(srcdir)/$(DOMAIN).pot; then \ - dists="$$dists $(DOMAIN).pot stamp-po"; \ - else \ - case $(XGETTEXT) in \ - :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ - *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the contents of the POTFILES.in file and the XGETTEXT_OPTIONS in the Makevars file." 1>&2;; \ - esac; \ - fi; \ - if test -f $(srcdir)/ChangeLog; then \ - dists="$$dists ChangeLog"; \ - fi; \ - for i in 0 1 2 3 4 5 6 7 8 9; do \ - if test -f $(srcdir)/ChangeLog.$$i; then \ - dists="$$dists ChangeLog.$$i"; \ - fi; \ - done; \ - if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ - for file in $$dists; do \ - if test -f $$file; then \ - cp -p $$file $(distdir) || exit 1; \ - else \ - cp -p $(srcdir)/$$file $(distdir) || exit 1; \ - fi; \ - done - -update-po: Makefile - $(MAKE) $(DOMAIN).pot-update - test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) - $(MAKE) update-gmo - -# General rule for creating PO files. - -.nop.po-create: - @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ - echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ - exit 1 - -# General rule for updating PO files. - -.nop.po-update: - @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ - if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; fi; \ - tmpdir=`pwd`; \ - echo "$$lang:"; \ - test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ - echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ - cd $(srcdir); \ - if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].*) \ - $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ - 0.1[6-7] | 0.1[6-7].*) \ - $(MSGMERGE) $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ - *) \ - $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ - esac; \ - }; then \ - if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ - rm -f $$tmpdir/$$lang.new.po; \ - else \ - if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ - :; \ - else \ - echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ - exit 1; \ - fi; \ - fi; \ - else \ - echo "msgmerge for $$lang.po failed!" 1>&2; \ - rm -f $$tmpdir/$$lang.new.po; \ - fi - -$(DUMMYPOFILES): - -update-gmo: Makefile $(GMOFILES) - @: - -# Recreate Makefile by invoking config.status. Explicitly invoke the shell, -# because execution permission bits may not work on the current file system. -# Use @SHELL@, which is the shell determined by autoconf for the use by its -# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. -Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ - cd $(top_builddir) \ - && @SHELL@ ./config.status $(subdir)/$@.in po-directories - -force: - -# Tell versions [3.59,3.63) of GNU make not to export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/po/Rules-quot b/po/Rules-quot deleted file mode 100644 index 18c024b..0000000 --- a/po/Rules-quot +++ /dev/null @@ -1,62 +0,0 @@ -# Special Makefile rules for English message catalogs with quotation marks. -# -# Copyright (C) 2001-2017 Free Software Foundation, Inc. -# This file, Rules-quot, and its auxiliary files (listed under -# DISTFILES.common.extra1) are free software; the Free Software Foundation -# gives unlimited permission to use, copy, distribute, and modify them. - -DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot - -.SUFFIXES: .insert-header .po-update-en - -en@quot.po-create: - $(MAKE) en@quot.po-update -en@boldquot.po-create: - $(MAKE) en@boldquot.po-update - -en@quot.po-update: en@quot.po-update-en -en@boldquot.po-update: en@boldquot.po-update-en - -.insert-header.po-update-en: - @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ - if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ - tmpdir=`pwd`; \ - echo "$$lang:"; \ - ll=`echo $$lang | sed -e 's/@.*//'`; \ - LC_ALL=C; export LC_ALL; \ - cd $(srcdir); \ - if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ - | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ - { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ - '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ - $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ - ;; \ - *) \ - $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ - ;; \ - esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ - ; then \ - if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ - rm -f $$tmpdir/$$lang.new.po; \ - else \ - if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ - :; \ - else \ - echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ - exit 1; \ - fi; \ - fi; \ - else \ - echo "creation of $$lang.po failed!" 1>&2; \ - rm -f $$tmpdir/$$lang.new.po; \ - fi - -en@quot.insert-header: insert-header.sin - sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header - -en@boldquot.insert-header: insert-header.sin - sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header - -mostlyclean: mostlyclean-quot -mostlyclean-quot: - rm -f *.insert-header diff --git a/po/ar.gmo b/po/ar.gmo index d1549ea..8302d2c 100644 Binary files a/po/ar.gmo and b/po/ar.gmo differ diff --git a/po/ar.po b/po/ar.po index 8a7b452..4de39b8 100644 --- a/po/ar.po +++ b/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: celluloid\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-19 15:33+0700\n" +"POT-Creation-Date: 2024-07-06 23:09+0700\n" "PO-Revision-Date: 2022-10-14 11:20+0000\n" "Last-Translator: gallegonovato \n" "Language-Team: Arabic button to install a new plugin" +msgstr "" + +#: src/celluloid-plugins-manager-item.c:83 +#, fuzzy +msgid "Remove Plugin" +msgstr "اضافات C" -#: src/celluloid-plugins-manager-item.c:195 +#: src/celluloid-plugins-manager-item.c:178 #, c-format msgid "Failed to delete file '%s'. Reason: %s" msgstr "فشل حذف الملف '%s'. السبب%s" -#: src/celluloid-plugins-manager-item.c:224 +#: src/celluloid-plugins-manager-item.c:202 msgid "" "Are you sure you want to remove this script? This action cannot be undone." msgstr "" "هل أنت متأكد أنك تريد إزالة هذا البرنامج النصي؟ لا يمكن التراجع عن هذا " "الإجراء." -#: src/celluloid-preferences-dialog.c:369 -msgid "mpv configuration file:" +#: src/celluloid-plugins-manager-item.c:209 +msgid "_Keep" +msgstr "" + +#: src/celluloid-preferences-dialog.c:322 +#, fuzzy +msgid "mpv configuration file" msgstr "ملف تكوين mpv:" -#: src/celluloid-preferences-dialog.c:375 -msgid "mpv input configuration file:" +#: src/celluloid-preferences-dialog.c:328 +#, fuzzy +msgid "mpv input configuration file" msgstr "ملف تكوين إدخال mpv:" -#: src/celluloid-preferences-dialog.c:398 -msgid "Extra mpv options:" +#: src/celluloid-preferences-dialog.c:348 +#, fuzzy +msgid "Extra mpv options" msgstr "خيارات MPV الإضافية:" -#: src/celluloid-preferences-dialog.c:418 +#: src/celluloid-preferences-dialog.c:363 msgid "Interface" msgstr "واجهه المستخدم" -#: src/celluloid-preferences-dialog.c:421 +#: src/celluloid-preferences-dialog.c:371 msgid "Config Files" msgstr "ملفات التكوين" -#: src/celluloid-preferences-dialog.c:424 +#: src/celluloid-preferences-dialog.c:379 msgid "Miscellaneous" msgstr "متفرقات" -#: src/celluloid-preferences-dialog.c:427 -msgid "Plugins" -msgstr "الإضافات" - -#: src/celluloid-preferences-dialog.c:432 -msgid "_Save" -msgstr "_حفظ" - -#: src/celluloid-preferences-dialog.c:458 +#: src/celluloid-preferences-dialog.c:405 msgid "Preferences" msgstr "التفضيلات" @@ -1017,302 +1166,358 @@ msgid "Show preferences dialog" msgstr "إظهار مربع حوار التفضيلات" #: src/celluloid-shortcuts-window.c:51 -msgid "Toggle controls" -msgstr "تبديل المتحكمات" - -#: src/celluloid-shortcuts-window.c:52 msgid "Toggle playlist" msgstr "تبديل قائمة التشغيل" -#: src/celluloid-shortcuts-window.c:53 +#: src/celluloid-shortcuts-window.c:52 msgid "Toggle fullscreen mode" msgstr "تبديل وضع ملء الشاشة" -#: src/celluloid-shortcuts-window.c:54 +#: src/celluloid-shortcuts-window.c:53 msgid "Leave fullscreen mode" msgstr "اترك وضع ملء الشاشة" -#: src/celluloid-shortcuts-window.c:55 +#: src/celluloid-shortcuts-window.c:54 msgid "Toggle OSD states between normal and playback time/duration" msgstr "" "قم بتبديل حالات العرض على الشاشة بين الوقت / المدة العادية ووقت التشغيل" -#: src/celluloid-shortcuts-window.c:56 +#: src/celluloid-shortcuts-window.c:55 msgid "Show filename on the OSD" msgstr "عرض اسم الملف على OSD" -#: src/celluloid-shortcuts-window.c:57 +#: src/celluloid-shortcuts-window.c:56 msgid "Show progress, elapsed time, and duration on the OSD" msgstr "إظهار التقدم والوقت المنقضي والمدة على OSD" -#: src/celluloid-shortcuts-window.c:60 +#: src/celluloid-shortcuts-window.c:59 msgid "Seek backward/forward 5 seconds" msgstr "تقدم للخلف / للأمام بمقدار 5 ثوان" -#: src/celluloid-shortcuts-window.c:61 +#: src/celluloid-shortcuts-window.c:60 msgid "Exact seek backward/forward 1 second" msgstr "البحث الدقيق للخلف / للأمام ثانية واحدة" -#: src/celluloid-shortcuts-window.c:62 +#: src/celluloid-shortcuts-window.c:61 msgid "Seek backward/forward 1 minute" msgstr "تقدم للخلف / إلى الأمام 1 دقيقة" -#: src/celluloid-shortcuts-window.c:63 +#: src/celluloid-shortcuts-window.c:62 msgid "Exact seek backward/forward 5 seconds" msgstr "البحث الدقيق للخلف / للأمام 5 ثوان" -#: src/celluloid-shortcuts-window.c:64 +#: src/celluloid-shortcuts-window.c:63 msgid "Seek to previous/next subtitle" msgstr "ابحث عن الترجمة السابقة / التالية" -#: src/celluloid-shortcuts-window.c:65 +#: src/celluloid-shortcuts-window.c:64 msgid "Step backward/forward a single frame" msgstr "خطوة للخلف / للأمام في إطار واحد" -#: src/celluloid-shortcuts-window.c:66 +#: src/celluloid-shortcuts-window.c:65 msgid "Seek to the beginning of the previous/next chapter" msgstr "انتقل إلى بداية الفصل السابق / التالي" -#: src/celluloid-shortcuts-window.c:69 +#: src/celluloid-shortcuts-window.c:68 msgid "Decrease/increase playback speed by 10%" msgstr "تقليل / زيادة سرعة التشغيل بنسبة 10٪" -#: src/celluloid-shortcuts-window.c:70 +#: src/celluloid-shortcuts-window.c:69 msgid "Halve/double current playback speed" msgstr "خفض / ضعف سرعة التشغيل الحالية" -#: src/celluloid-shortcuts-window.c:71 +#: src/celluloid-shortcuts-window.c:70 msgid "Reset playback speed to normal" msgstr "إعادة ضبط سرعة التشغيل إلى وضعها الطبيعي" -#: src/celluloid-shortcuts-window.c:72 +#: src/celluloid-shortcuts-window.c:71 msgid "Go backward/forward in the playlist" msgstr "انتقل للخلف / للأمام في قائمة التشغيل" -#: src/celluloid-shortcuts-window.c:73 +#: src/celluloid-shortcuts-window.c:72 msgid "Remove selected playlist item" msgstr "إزالة عنصر قائمة التشغيل المحدد" -#: src/celluloid-shortcuts-window.c:74 +#: src/celluloid-shortcuts-window.c:73 msgid "Save playlist" msgstr "حفظ قائمة التشغيل" -#: src/celluloid-shortcuts-window.c:75 +#: src/celluloid-shortcuts-window.c:74 msgid "Set/clear A-B loop points" msgstr "تعيين / مسح نقاط حلقة A-B" -#: src/celluloid-shortcuts-window.c:76 +#: src/celluloid-shortcuts-window.c:75 msgid "Toggle infinite looping" msgstr "تبديل التكرار اللانهائي" -#: src/celluloid-shortcuts-window.c:77 +#: src/celluloid-shortcuts-window.c:76 msgid "Pause or unpause" msgstr "البث او الغاء" -#: src/celluloid-shortcuts-window.c:78 +#: src/celluloid-shortcuts-window.c:77 msgid "Quit" msgstr "خروج" -#: src/celluloid-shortcuts-window.c:79 +#: src/celluloid-shortcuts-window.c:78 msgid "Save current playback position and quit" msgstr "حفظ موضع التشغيل الحالي والخروج" -#: src/celluloid-shortcuts-window.c:82 +#: src/celluloid-shortcuts-window.c:81 msgid "Enter search mode" msgstr "أدخل وضع البحث" -#: src/celluloid-shortcuts-window.c:83 +#: src/celluloid-shortcuts-window.c:82 msgid "Jump to next match" msgstr "انتقل إلى النتيجة التالية" -#: src/celluloid-shortcuts-window.c:84 +#: src/celluloid-shortcuts-window.c:83 msgid "Jump to previous match" msgstr "انتقل إلى النتيجة السابقة" -#: src/celluloid-shortcuts-window.c:85 +#: src/celluloid-shortcuts-window.c:84 msgid "Exit search mode" msgstr "الخروج من وضع البحث" -#: src/celluloid-shortcuts-window.c:88 +#: src/celluloid-shortcuts-window.c:87 msgid "Cycle through audio tracks" msgstr "التنقل بين المسارات الصوتية" -#: src/celluloid-shortcuts-window.c:89 src/celluloid-shortcuts-window.c:90 +#: src/celluloid-shortcuts-window.c:88 src/celluloid-shortcuts-window.c:89 msgid "Decrease/increase volume" msgstr "خفض / زيادة الصوت" -#: src/celluloid-shortcuts-window.c:91 +#: src/celluloid-shortcuts-window.c:90 msgid "Mute or unmute" msgstr "كتم او الغاء كتم الصوت" -#: src/celluloid-shortcuts-window.c:92 +#: src/celluloid-shortcuts-window.c:91 msgid "Adjust audio delay by +/- 0.1 seconds" msgstr "اضبط تأخير الصوت بمقدار +/- 0.1 ثانية" -#: src/celluloid-shortcuts-window.c:95 +#: src/celluloid-shortcuts-window.c:94 msgid "Toggle subtitle visibility" msgstr "تبديل رؤية الترجمة" -#: src/celluloid-shortcuts-window.c:96 +#: src/celluloid-shortcuts-window.c:95 msgid "Cycle through available subtitles" msgstr "التنقل بين الترجمات المتوفرة" -#: src/celluloid-shortcuts-window.c:97 +#: src/celluloid-shortcuts-window.c:96 msgid "Adjust subtitle delay by +/- 0.1 seconds" msgstr "اضبط تأخير الترجمة بمقدار +/- 0.1 ثانية" -#: src/celluloid-shortcuts-window.c:98 +#: src/celluloid-shortcuts-window.c:97 msgid "Toggle SSA/ASS subtitles style override" msgstr "تبديل تجاوز نمط ترجمات SSA / ASS" -#: src/celluloid-shortcuts-window.c:99 +#: src/celluloid-shortcuts-window.c:98 msgid "Move subtitles up/down" msgstr "نقل الترجمة لأعلى / لأسفل" -#: src/celluloid-shortcuts-window.c:100 +#: src/celluloid-shortcuts-window.c:99 msgid "Toggle VSFilter aspect compatibility mode" msgstr "قم بتبديل وضع توافق VSFilter" -#: src/celluloid-shortcuts-window.c:103 +#: src/celluloid-shortcuts-window.c:102 msgid "Cycle through video tracks" msgstr "التنقل بين مسارات الفيديو" -#: src/celluloid-shortcuts-window.c:104 +#: src/celluloid-shortcuts-window.c:103 msgid "Decrease/increase pan-and-scan range" msgstr "تقليل / زيادة نطاق عموم والمسح الضوئي" -#: src/celluloid-shortcuts-window.c:105 +#: src/celluloid-shortcuts-window.c:104 msgid "Take a screenshot" msgstr "خذ لقطة شاشة" -#: src/celluloid-shortcuts-window.c:106 +#: src/celluloid-shortcuts-window.c:105 msgid "Take a screenshot, without subtitles" msgstr "التقط لقطة شاشة بدون ترجمة" -#: src/celluloid-shortcuts-window.c:107 +#: src/celluloid-shortcuts-window.c:106 msgid "Take a screenshot, as the window shows it" msgstr "التقط لقطة شاشة ، كما تظهرها النافذة" -#: src/celluloid-shortcuts-window.c:108 +#: src/celluloid-shortcuts-window.c:107 msgid "Resize video to half its original size" msgstr "تغيير حجم الفيديو إلى نصف حجمه الأصلي" -#: src/celluloid-shortcuts-window.c:109 +#: src/celluloid-shortcuts-window.c:108 msgid "Resize video to its original size" msgstr "تغيير حجم الفيديو إلى حجمه الأصلي" -#: src/celluloid-shortcuts-window.c:110 +#: src/celluloid-shortcuts-window.c:109 msgid "Resize video to double its original size" msgstr "تغيير حجم الفيديو لمضاعفة حجمه الأصلي" -#: src/celluloid-shortcuts-window.c:111 +#: src/celluloid-shortcuts-window.c:110 msgid "Adjust contrast" msgstr "ضبط التباين" -#: src/celluloid-shortcuts-window.c:112 +#: src/celluloid-shortcuts-window.c:111 msgid "Adjust brightness" msgstr "ضبط السطوع" -#: src/celluloid-shortcuts-window.c:113 +#: src/celluloid-shortcuts-window.c:112 msgid "Adjust gamma" msgstr "ضبط جاما" -#: src/celluloid-shortcuts-window.c:114 +#: src/celluloid-shortcuts-window.c:113 msgid "Adjust saturation" msgstr "اضبط التشبع" -#: src/celluloid-shortcuts-window.c:115 +#: src/celluloid-shortcuts-window.c:114 msgid "Activate or deactivate deinterlacer" msgstr "تنشيط أو إلغاء تنشيط deinterlacer" -#: src/celluloid-shortcuts-window.c:116 +#: src/celluloid-shortcuts-window.c:115 msgid "Cycle aspect ratio override" msgstr "تجاوز نسبة أبعاد الدورة" +#: src/celluloid-shortcuts-window.c:117 +msgid "Pan the video" +msgstr "" + +#: src/celluloid-shortcuts-window.c:118 +msgid "Zoom in/out" +msgstr "" + #: src/celluloid-shortcuts-window.c:119 +msgid "Reset pan/zoom settings" +msgstr "" + +#: src/celluloid-shortcuts-window.c:123 msgid "User Interface" msgstr "واجهة المستخدم" -#: src/celluloid-shortcuts-window.c:120 +#: src/celluloid-shortcuts-window.c:124 msgid "Video" msgstr "فيديو" -#: src/celluloid-shortcuts-window.c:121 +#: src/celluloid-shortcuts-window.c:125 msgid "Audio" msgstr "صوتي" -#: src/celluloid-shortcuts-window.c:122 +#: src/celluloid-shortcuts-window.c:126 msgid "Subtitle" msgstr "ترجمة" -#: src/celluloid-shortcuts-window.c:123 +#: src/celluloid-shortcuts-window.c:127 msgid "Playback" msgstr "التشغيل" -#: src/celluloid-shortcuts-window.c:124 +#: src/celluloid-shortcuts-window.c:128 msgid "Seeking" msgstr "السعي" -#: src/celluloid-shortcuts-window.c:125 +#: src/celluloid-shortcuts-window.c:129 msgid "Playlist" msgstr "قائمة التشغيل" -#: src/celluloid-view.c:743 +#: src/celluloid-video-area.c:741 +msgid "Loading…" +msgstr "" + +#: src/celluloid-video-area.c:752 +msgid "Welcome" +msgstr "" + +#: src/celluloid-video-area.c:755 +msgid "Click the button or drag and drop videos here" +msgstr "" + +#: src/celluloid-view.c:739 msgid "Load Audio Track…" msgstr "تحميل المسار الصوتي …" -#: src/celluloid-view.c:747 +#: src/celluloid-view.c:743 msgid "Load Video Track…" msgstr "تحميل مسار الفيديو …" -#: src/celluloid-view.c:751 +#: src/celluloid-view.c:747 msgid "Load Subtitle Track…" msgstr "تحميل مسار الترجمة …" -#: src/celluloid-view.c:923 +#: src/celluloid-view.c:926 +msgid "Error" +msgstr "خطأ" + +#: src/celluloid-view.c:951 msgid "" "Enabling or disabling client-side decorations requires restarting to take " "effect." msgstr "يتطلب تمكين أو تعطيل زخارف CSD إعادة التشغيل حتى تصبح نافذة المفعول." -#: src/celluloid-view.c:1445 +#: src/celluloid-view.c:1468 msgid "Add Folder to Playlist" msgstr "إضافة مجلد إلى قائمة التشغيل" -#: src/celluloid-view.c:1445 +#: src/celluloid-view.c:1468 msgid "Open Folder" msgstr "فتح مجلد" -#: src/celluloid-view.c:1450 +#: src/celluloid-view.c:1473 msgid "Add File to Playlist" msgstr "إضافة ملف إلى قائمة التشغيل" -#: src/celluloid-view.c:1450 +#: src/celluloid-view.c:1473 msgid "Open File" msgstr "فتح ملف" -#: src/celluloid-view.c:1486 +#: src/celluloid-view.c:1512 msgid "Add Location to Playlist" msgstr "أضف الموقع إلى قائمة التشغيل" -#: src/celluloid-view.c:1487 +#: src/celluloid-view.c:1513 msgid "Open Location" msgstr "فتح موقع" -#: src/celluloid-view.c:1529 +#: src/celluloid-view.c:1555 msgid "Save Playlist" msgstr "حفظ قائمة التشغيل" -#: src/celluloid-view.c:1576 -msgid "A GTK frontend for MPV" -msgstr "واجهة GTK+ ل MPV" - -#: src/celluloid-view.c:1586 +#: src/celluloid-view.c:1617 msgid "translator-credits" msgstr "أرصدة المترجم" +#~ msgid "The Celluloid Developers" +#~ msgstr "مطورو السيليلويد" + +#~ msgid "GTK+ frontend for mpv" +#~ msgstr "واجهة GTK+ ل mpv" + +#~ msgid "_Open" +#~ msgstr "_فتح" + +#~ msgid "_Cancel" +#~ msgstr "_الغاء" + +#~ msgid "Loop _Playlist" +#~ msgstr "تكرار _قائمة التشغيل" + +#~ msgid "Enable media keys support" +#~ msgstr "تفعيل دعم مفاتيح الوسائط" + +#~ msgid "Remove" +#~ msgstr "حذف" + +#~ msgid "_Save" +#~ msgstr "_حفظ" + +#~ msgid "Toggle controls" +#~ msgstr "تبديل المتحكمات" + +#~ msgid "A GTK frontend for MPV" +#~ msgstr "واجهة GTK+ ل MPV" + #~ msgid "Make file chooser remember last file's location" #~ msgstr "اجعل منتقي الملفات يتذكر موقع الملف الأخير" #~ msgid "_Open…" #~ msgstr "_فتح…" + +#~ msgid "Loop _File" +#~ msgstr "تكرار _ملف" + +#~ msgid "_Toggle Playlist" +#~ msgstr "تبديل _قائمة التشغيل" diff --git a/po/bg.gmo b/po/bg.gmo index 8331f8d..d062b62 100644 Binary files a/po/bg.gmo and b/po/bg.gmo differ diff --git a/po/bg.po b/po/bg.po index ce66a03..88f06fd 100644 --- a/po/bg.po +++ b/po/bg.po @@ -6,18 +6,18 @@ msgid "" msgstr "" "Project-Id-Version: 0.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-19 15:33+0700\n" -"PO-Revision-Date: 2021-08-30 14:05+0000\n" -"Last-Translator: Anonymous \n" +"POT-Creation-Date: 2024-07-06 23:09+0700\n" +"PO-Revision-Date: 2023-08-05 21:51+0000\n" +"Last-Translator: Salif Mehmed \n" "Language-Team: Bulgarian \n" "Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Weblate 4.8.1-dev\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Weblate 5.0-dev\n" #: data/io.github.celluloid_player.Celluloid.gschema.xml:11 msgid "" @@ -30,7 +30,6 @@ msgstr "Автоматично преоразмеряване на прозор #: data/io.github.celluloid_player.Celluloid.gschema.xml:23 #, fuzzy -#| msgid "Enable dark theme" msgid "Prefer dark theme" msgstr "Включване на тъмната тема" @@ -43,15 +42,20 @@ msgid "Use floating controls in windowed mode" msgstr "Използване на плаващи контролери в прозоречен режим" #: data/io.github.celluloid_player.Celluloid.gschema.xml:41 +#, fuzzy +msgid "Use a floating header bar in windowed mode" +msgstr "Използване на плаващи контролери в прозоречен режим" + +#: data/io.github.celluloid_player.Celluloid.gschema.xml:46 msgid "Automatically hide mouse cursor in windowed mode" msgstr "Автоматично скриване на курсора при режим на цял екран" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:47 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:52 msgid "The minimum cursor speed at which floating controls will be unhidden." msgstr "" "Минималната скорост на курсора, при която да се покажат плаващите контролери." -#: data/io.github.celluloid_player.Celluloid.gschema.xml:54 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:59 msgid "" "Size of the dead zone in which cursor movement will not cause the controls " "to be shown." @@ -59,143 +63,137 @@ msgstr "" "Размерът на мъртвата зона в която преместването на курсора няма да доведе до " "показването на контролерите." -#: data/io.github.celluloid_player.Celluloid.gschema.xml:60 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:65 #, fuzzy -#| msgid "Use skip buttons for controlling playlist" msgid "Use skip buttons to control the playlist" msgstr "Използване на бутони за прескачане за управление на списъка" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:66 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:71 msgid "Remember last location in file chooser" msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:72 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:77 msgid "Always open new window" msgstr "Винаги да се отваря нов прозорец" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:78 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:83 #, fuzzy msgid "Always append opened files to playlist" msgstr "Добавяне на файлове в списъка за изпълнение" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:84 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:89 msgid "Always show title buttons" msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:85 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:90 msgid "" "If true, title buttons (close, maximize, minimize, etc.) are always shown. " "If false, the buttons will be hidden in fullscreen mode." msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:93 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:98 msgid "Give focus to the window when opening new files" msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:94 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:99 msgid "" "If true, Celluloid will give focus to the window when a new file is opened. " "If false, no attempt will be made." msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:102 -#: src/celluloid-application.c:600 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:107 +#: src/celluloid-application.c:582 msgid "Options to pass to mpv" msgstr "Внасяне на настройки от MPV" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:108 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:113 msgid "Path to mpv configuration file" msgstr "Път до конфигурационен файл на MPV" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:114 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:119 msgid "Load mpv configuration file" msgstr "Зареждане на mpv конфигурационен файл" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:120 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:125 msgid "Path to mpv input configuration file" msgstr "Път до внесения конфигурационен файл на MPV" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:126 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:131 msgid "Load mpv input configuration file" msgstr "Зареждане на входен mpv конфигурационен файл" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:132 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:137 msgid "Enable MPRIS support" msgstr "Включване поддръжка на MPRIS" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:138 -msgid "Enable media keys support" -msgstr "Включване поддръжка на мултимедийни клавиши" - -#: data/io.github.celluloid_player.Celluloid.gschema.xml:144 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:143 msgid "Enable menubar accelerator key handling" msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:150 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:149 msgid "Prefetch metadata" msgstr "Предварително изтегляне на метаданни" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:156 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:155 msgid "Ignore playback errors" msgstr "Игнориране на грешки при възпроизвеждане" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:162 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:161 msgid "Inhibit session idling" msgstr "Задържане на сесията на празен ход" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:168 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:167 msgid "Make video area draggable" msgstr "" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:178 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:177 msgid "Width of the window" msgstr "Ширина на прозореца" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:184 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:183 msgid "Height of the window" msgstr "Височина на прозореца" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:190 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:189 msgid "Whether or not the window is maximized" msgstr "Да бъде ли максимизиран прозореца" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:197 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:196 msgid "Volume of player" msgstr "Сила на звука на плеъра" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:203 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:202 msgid "Whether or not to loop when the end of playlist is reached" msgstr "Да се превърти ли списъка, когато е достигнат края му" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:209 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:208 msgid "Width of the playlist" msgstr "Ширина на спъсъка за изпълнение" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:215 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:214 #, fuzzy -#| msgid "Show or not show the controls" msgid "Show/hide the controls" msgstr "Да се показват ли контролерите" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:221 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:220 #, fuzzy -#| msgid "Show or not show the playlist" msgid "Show/hide the playlist" msgstr "Показване и скриване на списъка за изпълнение" -#: data/io.github.celluloid_player.Celluloid.gschema.xml:227 +#: data/io.github.celluloid_player.Celluloid.gschema.xml:226 msgid "URI of the last folder accessed" msgstr "Адрес на последната посещавана папка" #: data/io.github.celluloid_player.Celluloid.appdata.xml.in:7 #: data/io.github.celluloid_player.Celluloid.desktop.in:4 -#: src/celluloid-application.c:476 +#: src/celluloid-application.c:458 msgid "Celluloid" msgstr "Celluloid" #: data/io.github.celluloid_player.Celluloid.appdata.xml.in:8 -msgid "GTK+ frontend for mpv" -msgstr "GTK+ интерфейс за MPV" +#, fuzzy +msgid "Plays videos" +msgstr "Изпълнение на филми и видеоклипове" #: data/io.github.celluloid_player.Celluloid.appdata.xml.in:16 msgid "" @@ -227,155 +225,303 @@ msgstr "Зареждане на външни MPV конфигурационни msgid "MPRIS2 D-Bus interface" msgstr "MPRIS2 D-Bus интерфейс" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:30 -msgid "The Celluloid Developers" -msgstr "Разработчиците на Celluloid" +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:36 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:69 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:101 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:144 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:207 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:252 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:287 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:326 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:379 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:409 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:448 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:479 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:507 +msgid "This release contains the following changes:" +msgstr "Това издание съдържа следните промени:" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:40 +msgid "" +"Add a loading screen that gets displayed during initialization and buffering." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:44 +msgid "" +"Reduce the time it takes for the main window to get displayed after " +"launching." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:48 +msgid "" +"Opening and closing the preferences dialog will no longer trigger an mpv " +"reset unless options that require it are changed." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:52 +msgid "Update the look for controls and header bar in floating mode." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:55 +msgid "Update some of the deprecated GTK API usage." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:58 +#, fuzzy +msgid "Add support for multi-file user scripts." +msgstr "Добавяне на поддръжка за зареждане на външни видеозаписи." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:62 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:94 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:137 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:173 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:200 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:245 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:280 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:319 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:372 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:402 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:441 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:472 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:500 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:528 +msgid "This listing is incomplete. See git log for complete changelog." +msgstr "Списъкът не е завършен. Вижте Git лога за пълния списък с промени." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:73 +msgid "Fix a bug where the header bar keeps hiding even when a menu is open." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:76 +msgid "Use toasts instead of dialog to report mpv errors." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:79 +#, fuzzy +msgid "Change default screenshot format to PNG." +msgstr "" +"Задаване на директорията за снимки на екрана по подразбиране в " +"XDG_PICTURES_DIR" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:82 +msgid "" +"Fix crash that happens when the mpv-config-file key in GSettings contains a " +"path rather than a URI." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:86 +msgid "Expose the Position MPRIS property." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:89 +msgid "" +"Use the numeric style class for the time/duration label, which stops it from " +"jumping around as it changes." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:105 +msgid "Fix crash when using multiple windows." +msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:34 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:108 +msgid "Port the about dialog to libadwaita." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:111 +msgid "Fix cursor not autohiding on KDE." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:114 +msgid "Fix mouse presses/releases becoming unreliable during playback." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:117 +msgid "" +"Make it possible to build on Windows. Celluloid still crashes on mouse " +"clicks, but it runs and can play videos." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:121 +#, fuzzy +msgid "Add Estonian translation by vaba." +msgstr "Добавен е словенски превод от @bertronika." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:124 +#, fuzzy +msgid "Add Georgian translation by temuri doghonadze." +msgstr "Добавен е словенски превод от @bertronika." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:127 +#, fuzzy +msgid "Add Lithuanian translation by Jonas Smol." +msgstr "Добавен е превод на украински от @vl-nix" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:130 +#, fuzzy +msgid "Add Occitan translation by Quentin PAGÈS." +msgstr "Добавен е превод на есперанто от @F3nd0" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:133 +#, fuzzy +msgid "Add Tamil translation by K.B.Dharun Krishna." +msgstr "Добавен е превод на есперанто от @F3nd0" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:148 +#, fuzzy +msgid "Add Malay translation by @dinazmi." +msgstr "Добавен е превод на есперанто от @F3nd0" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:151 +msgid "Use libadwaita." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:154 +msgid "Fix on_load hook in scripts not triggering." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:157 +msgid "Add option to make the video area draggable." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:160 +msgid "Fix autofit breaking when playing small videos." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:163 +msgid "Make controls layout adaptive." +msgstr "" + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:166 +#, fuzzy +msgid "Display chapter marks in the seek bar." +msgstr "" +"Показване на време в позицията на курсора, когато се намира в лентата за " +"търсене." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:169 +#, fuzzy +msgid "Display chapter titles in the seek bar popover." +msgstr "" +"Показване на време в позицията на курсора, когато се намира в лентата за " +"търсене." + +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:180 #, fuzzy -#| msgid "This release contains the following changes:" msgid "This is mostly a bugfix release. It contains the following changes:" msgstr "Това издание съдържа следните промени:" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:38 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:184 msgid "Fix autofit triggering regardless of settings." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:41 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:187 #, fuzzy -#| msgid "Retain window maximization state across sessions." msgid "Fix window size shrinking across sessions." msgstr "Запазване състоянието на максимизиран прозорец през сесиите." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:44 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:190 msgid "Fix crash when playing files with names containing invalid encoding." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:47 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:193 msgid "Fix drag-and-drop not working with some file managers." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:50 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:196 msgid "Fix playback starting when the last playlist item is removed." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:54 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:99 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:134 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:173 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:226 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:256 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:295 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:326 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:354 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:382 -msgid "This listing is incomplete. See git log for complete changelog." -msgstr "Списъкът не е завършен. Вижте Git лога за пълния списък с промени." - -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:61 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:106 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:141 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:180 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:233 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:263 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:302 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:333 -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:361 -msgid "This release contains the following changes:" -msgstr "Това издание съдържа следните промени:" - -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:65 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:211 msgid "Migrate to GTK4." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:68 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:214 #, fuzzy msgid "Add Greek translation by @lepa22." msgstr "Добавен е превод на есперанто от @F3nd0" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:71 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:217 #, fuzzy -#| msgid "Add Ukranian translation by @vl-nix" msgid "Add Korean translation by @jullee96." msgstr "Добавен е превод на украински от @vl-nix" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:74 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:220 +#, fuzzy msgid "Add Norwegian Bokmål translation by Allan Nordhøy." -msgstr "" +msgstr "Добавен е превод на украински от @vl-nix" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:77 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:223 #, fuzzy -#| msgid "Add Esperanto translation by @F3nd0" msgid "Add Occidental translation by OIS." msgstr "Добавен е превод на есперанто от @F3nd0" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:80 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:226 #, fuzzy -#| msgid "Add Turkish translation by @TeknoMobil" msgid "Add Arabic translation by Mohamed Benkouider." msgstr "Добавен е превод на турски от @TeknoMobil" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:83 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:229 #, fuzzy msgid "Add Urdu translation by Ahmed Iqbal." msgstr "Добавен е превод на есперанто от @F3nd0" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:86 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:232 msgid "Add option to show title buttons in fullscreen mode." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:89 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:235 msgid "Add option to present the window when opening files." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:92 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:238 msgid "" "Change default screenshot filename template to FILENAME-TIMESTAMP (%f-%P)." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:95 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:241 msgid "Fix inaccurate timestamp preview." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:110 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:256 #, fuzzy msgid "Add Basque translation by @aldatsa." msgstr "Добавен е превод на есперанто от @F3nd0" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:113 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:259 msgid "Make the shuffle and loop command line options work properly." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:116 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:262 msgid "Make the main menu button toggleable by pressing F10." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:119 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:265 +#, fuzzy msgid "Add a setting for always appending opened files to the playlist." -msgstr "" +msgstr "Добавяне на файлове в списъка за изпълнение" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:122 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:268 msgid "" "Allow appending files to playlist by holding shift while dropping files onto " "the video area." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:126 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:272 msgid "Make CSD header bar toggleable via the mpv property \"border\"." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:129 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:275 msgid "" "Include Flatpak manifest in the repo. This allows Celluloid to be built in " "one click in apps like GNOME Builder." msgstr "" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:145 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:291 msgid "Make it possible to activate context menu when the playlist is empty." msgstr "" "Да бъде възможно активирането на контекстното меню, когато списъкът е празен." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:148 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:294 msgid "" "Prevent constant resizing of the seek bar due to timestamp label resizing as " "its value changes." @@ -383,7 +529,7 @@ msgstr "" "Предотвратяване на постоянното преоразмеряване на лентата за търсене поради " "преоразмеряването на етикета с времева щампа при промяна на стойността му." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:152 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:298 msgid "" "Only show a single error dialog when a large number of errors occurs in " "rapid succession." @@ -391,11 +537,11 @@ msgstr "" "Да се показва само един диалогов прозорец за грешка при поява на голям брой " "грешки за кратко време." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:156 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:302 msgid "Add menu item for opening folders." msgstr "Добавяне на меню на елементите за отворените папки." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:159 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:305 msgid "" "Adjust position of UI elements of modal dialogs in non-CSD mode to be more " "consistent with CSD mode." @@ -404,21 +550,21 @@ msgstr "" "модалните диалогови прозорци в режим, който не е CSD, за да бъде по-" "съгласуван с режима CSD." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:163 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:309 msgid "Add support for loading external video tracks." msgstr "Добавяне на поддръжка за зареждане на външни видеозаписи." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:166 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:312 msgid "Make playlist shuffle toggleable." msgstr "Възможност за превключване на разбъркването на списъка." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:169 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:315 msgid "Make arrow key bindings work with arrow keys on numpad." msgstr "" "Клавишите за посоки да могат да работят обвързано с клавишите на цифровата " "клавиатура." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:184 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:330 msgid "" "Adjust the range of volume button based on the value of the volume-max " "property." @@ -426,35 +572,35 @@ msgstr "" "Регулиране диапазона на бутона за усилване въз основа на зададените от вас " "стойности за максимално ниво." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:188 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:334 msgid "Retain window maximization state across sessions." msgstr "Запазване състоянието на максимизиран прозорец през сесиите." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:191 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:337 msgid "Retain loop state across sessions." msgstr "Запазване на състоянието на превъртане през сесиите." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:194 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:340 msgid "Implement playlist search." msgstr "Внедряване на търсене в списъка." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:197 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:343 msgid "Update the list of shortcuts in Keyboard Shortcuts dialog." msgstr "Обновяване на списъка с бързи клавиши в диалога Бързи клавиши." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:200 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:346 msgid "Correctly handle quotes and escape sequences in extra mpv options." msgstr "" "Коректна работа с цитати и избягване на последователности в допълнителни " "опции за mpv." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:203 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:349 msgid "Display time at cursor position when hovering the seek bar." msgstr "" "Показване на време в позицията на курсора, когато се намира в лентата за " "търсене." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:206 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:352 msgid "" "Deprecate '--mpv-options'. Options starting with '--mpv-' can be used to set " "mpv options instead. For example, passing '--mpv-vf=vflip' to Celluloid is " @@ -464,7 +610,7 @@ msgstr "" "използват вместо задаване на mpv опции. Например, поставянето на на '--mpv-" "vf=vflip' в Celluloid е еквивалентно на поставянето '--vf=vflip' в mpv." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:212 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:358 msgid "" "Add support for configuring dead zone, an area in which mouse movement will " "not cause controls to be shown." @@ -472,28 +618,28 @@ msgstr "" "Добавена е поддръжка за конфигуриране на \"мъртва зона\" - зона, в която " "движението на мишката няма да доведе до показване на контролите." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:216 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:362 msgid "Make window sizing work correctly with HiDPI displays." msgstr "" "Задаване на оразмеряването на прозореца да работи правилно с HiDPI дисплеи." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:219 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:365 msgid "Add Finnish translation by Kimmo Kujansuu." msgstr "Добавен е фински превод от Kimmo Kujansuu." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:222 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:368 msgid "Add Slovenian translation by @bertronika." msgstr "Добавен е словенски превод от @bertronika." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:237 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:383 msgid "Add Persian translation by @danialbehzadi" msgstr "Добавен е превод на ирански от @danialbehzadi" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:240 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:386 msgid "Add Ukranian translation by @vl-nix" msgstr "Добавен е превод на украински от @vl-nix" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:243 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:389 msgid "" "Add support for showing/hiding window decorations using the mpv option --" "border" @@ -501,82 +647,82 @@ msgstr "" "Добавена е поддръжка за показване/скриване декорацията на прозореца с " "използване на MPV опцията --border" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:246 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:392 msgid "Add menu item for opening discs" msgstr "Добавен е елемент в менюто за отваряне на дискове" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:249 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:395 msgid "Block cursor autohide when volume popup is open in windowed mode" msgstr "" "Блокиране на автоматичното скриване на курсора, когато уведомлението за " "силата на звука е отворено в прозоречен режим" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:252 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:398 msgid "Fix crash with mpv 0.30" msgstr "Фиксиране на срив в MPV 0.30" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:267 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:413 msgid "Rename project to Celluloid" msgstr "Проектът е преименуван на Celluloid" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:270 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:416 msgid "Add Turkish translation by @TeknoMobil" msgstr "Добавен е превод на турски от @TeknoMobil" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:273 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:419 msgid "Add Esperanto translation by @F3nd0" msgstr "Добавен е превод на есперанто от @F3nd0" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:276 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:422 msgid "Migrate from opengl-cb to the new render API" msgstr "Миграция от opengl-cb към нов API за рендиране" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:279 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:425 msgid "Handle numpad keybindings" msgstr "Присвояване на клавиши за цифрова клавиатура" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:282 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:428 msgid "Handle unicode keybindings" msgstr "Присвояване на клавиши за Unicode" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:285 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:431 msgid "Forward media key events to mpv" msgstr "Препращане на медийни ключови събития към mpv" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:288 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:434 msgid "" "Add dconf key for controlling cursor speed at which controls are unhidden" msgstr "" "Добавяне на dconf ключ за контролиране скоростта на курсора, когато " "контролерите са видими." -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:291 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:437 msgid "Add option for suppressing playback errors" msgstr "Добавяне на опция за игнориране на грешки при възпроизвеждане" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:306 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:452 msgid "Split up the General tab in the preferences dialog" msgstr "Разделен е разделът Общи в диалога с настройките" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:309 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:455 msgid "Improve behavior when toggling playlist under tiling window managers" msgstr "" "Подобряване на поведението при превключване на списъка за изпълнение при " -"тилинг мениджъри на прозорци " +"тилинг мениджъри на прозорци" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:312 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:458 msgid "Move app menu items to primary menu" msgstr "Преместени са елементите от менюто на програмите в основното меню" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:315 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:461 msgid "Use separate MPRIS DBus connection for each window" msgstr "Използвана е отделна MPRIS DBus връзка за всеки прозорец" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:318 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:464 msgid "Add support for MPRIS property LoopStatus" msgstr "Добавена е поддръжка за свойствата на MPRIS LoopStatus" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:321 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:467 msgid "" "Add option --mpv-options for setting arbitrary mpv options from the command-" "line" @@ -584,13 +730,13 @@ msgstr "" "Добавете опция --mpv-options за задаване на произволни mpv опции от команден " "ред" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:337 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:483 msgid "Set default screenshot directory to XDG_PICTURES_DIR" msgstr "" "Задаване на директорията за снимки на екрана по подразбиране в " "XDG_PICTURES_DIR" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:340 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:486 msgid "" "Improve handling of --window-scale, --autofit, --autofit-larger, and --" "autofit-smaller" @@ -598,58 +744,58 @@ msgstr "" "Подобряване на обработката на мащаба на - Window, --autofit, --autofit-large " "и --autofit-small" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:344 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:490 msgid "Add command line option for setting WM_ROLE" msgstr "Добавяне опцията за команден ред за настройка на WM_ROLE" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:347 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:493 msgid "Add context menu item for removing playlist items" msgstr "" "Добавена е опция в контекстното меню за премахване на елементи от списъка за " "изпълнение" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:350 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:496 msgid "Add context menu item for copying location of playlist items" msgstr "" "Добавяне на елемент от контекстното меню за копиране на местоположението на " "елементите от списъка за изпълнение" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:365 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:511 msgid "" "Add option to make skip buttons change playlist entries rather than chapters" msgstr "" "Добавена е опция, бутона за пропускане да променя елементите от списъка, а " "не не заглавията" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:369 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:515 msgid "Make the file chooser accept non-local locations" msgstr "Файловия браузър има възможност да избира не-локални местоположение" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:372 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:518 msgid "Add right-click menu entry for looping a single file" msgstr "" "Добавяне на елемент в менюто при десен бутон на мишката за превъртане на " "единичен файл" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:375 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:521 msgid "Handle property change events for fullscreen and window-scale" msgstr "" "Обработване на събития за промяна на свойствата за цял екран и мащаб на " "прозореца" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:378 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:524 msgid "Add option to autohide mouse cursor in windowed mode" msgstr "Добавена е опция за скриване на курсора на мишката в прозоречен режим" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:392 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:538 msgid "The main window showing the application in action" msgstr "Основният прозорец показва програмата в действие" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:396 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:542 msgid "The main window with CSD disabled" msgstr "Главният прозорец с изключен CSD" -#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:400 +#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:546 msgid "The main window with playlist open" msgstr "Главният прозорец с отворен спъсък за изпълнение" @@ -675,130 +821,121 @@ msgstr "Нов прозорец" msgid "Add to Playlist" msgstr "Добавяне на файл в списъка" -#: src/celluloid-application.c:520 +#: src/celluloid-application.c:502 msgid "Playing" msgstr "Изпълнение" -#: src/celluloid-application.c:576 +#: src/celluloid-application.c:558 msgid "Show release version" msgstr "Покажи текущата версия" -#: src/celluloid-application.c:584 +#: src/celluloid-application.c:566 msgid "Enqueue" msgstr "На опашка" -#: src/celluloid-application.c:592 +#: src/celluloid-application.c:574 msgid "Create a new window" msgstr "Създаване на нов прозорец" -#: src/celluloid-application.c:601 +#: src/celluloid-application.c:583 msgid "OPTIONS" msgstr "ОПЦИИ" -#: src/celluloid-application.c:608 +#: src/celluloid-application.c:590 msgid "Set the window role" msgstr "Задаване роля на прозореца" -#: src/celluloid-application.c:616 +#: src/celluloid-application.c:598 msgid "Don't connect to an already-running instance" msgstr "Не свързвайте към вече стартиран екземпляр" -#: src/celluloid-application.c:627 +#: src/celluloid-application.c:609 msgid "Set the mpv option MPVOPTION to VALUE" msgstr "" -#: src/celluloid-application.c:628 +#: src/celluloid-application.c:610 msgid "VALUE" msgstr "" -#: src/celluloid-common.c:240 +#: src/celluloid-common.c:270 msgid "invalid encoding" msgstr "" -#: src/celluloid-control-box.c:412 +#: src/celluloid-control-box.c:452 msgid "Pause" msgstr "Пауза" -#: src/celluloid-control-box.c:412 src/celluloid-control-box.c:637 +#: src/celluloid-control-box.c:452 src/celluloid-control-box.c:726 msgid "Play" msgstr "Изпълнение" -#: src/celluloid-control-box.c:640 +#: src/celluloid-control-box.c:729 msgid "Stop" msgstr "Спиране" -#: src/celluloid-control-box.c:643 +#: src/celluloid-control-box.c:732 msgid "Forward" msgstr "Напред" -#: src/celluloid-control-box.c:646 +#: src/celluloid-control-box.c:735 msgid "Rewind" msgstr "Назад" -#: src/celluloid-control-box.c:649 +#: src/celluloid-control-box.c:738 msgid "Next Chapter" msgstr "Следващо заглавие" -#: src/celluloid-control-box.c:652 +#: src/celluloid-control-box.c:741 msgid "Previous Chapter" msgstr "Предишно заглавие" -#: src/celluloid-control-box.c:655 +#: src/celluloid-control-box.c:744 src/celluloid-playlist-widget.c:565 msgid "Loop Playlist" msgstr "Превъртане на списъка" -#: src/celluloid-control-box.c:658 +#: src/celluloid-control-box.c:747 msgid "Shuffle Playlist" msgstr "Разбъркване на списъка" -#: src/celluloid-control-box.c:661 src/celluloid-header-bar.c:248 +#: src/celluloid-control-box.c:750 +#, fuzzy +msgid "Toggle Playlist" +msgstr "Включване/изключване на _списъка за изпълнение" + +#: src/celluloid-control-box.c:753 src/celluloid-header-bar.c:248 msgid "Toggle Fullscreen" msgstr "Включване/изключване режима на цял екран" -#: src/celluloid-controller.c:1103 src/celluloid-view.c:965 -msgid "Error" -msgstr "Грешка" - -#: src/celluloid-file-chooser.c:144 src/celluloid-plugins-manager.c:184 +#: src/celluloid-file-chooser.c:145 src/celluloid-plugins-manager.c:201 msgid "All Files" msgstr "Всички файлове" -#: src/celluloid-file-chooser.c:152 +#: src/celluloid-file-chooser.c:153 msgid "Media Files" msgstr "Мултимедийни файлове" -#: src/celluloid-file-chooser.c:163 +#: src/celluloid-file-chooser.c:164 msgid "Audio Files" msgstr "Аудио файлове" -#: src/celluloid-file-chooser.c:171 +#: src/celluloid-file-chooser.c:172 msgid "Video Files" msgstr "Видео файлове" -#: src/celluloid-file-chooser.c:179 +#: src/celluloid-file-chooser.c:180 msgid "Image Files" msgstr "Файлове с изображения" -#: src/celluloid-file-chooser.c:189 +#: src/celluloid-file-chooser.c:190 msgid "Subtitle Files" msgstr "Фалове със субтитри" -#: src/celluloid-file-chooser-button.c:229 +#: src/celluloid-file-chooser-button.c:232 #, fuzzy msgid "Open File…" msgstr "Отваряне на файл" -#: src/celluloid-file-chooser-button.c:232 -#, fuzzy -msgid "Open" -msgstr "_Отваряне" - -#: src/celluloid-file-chooser-button.c:233 -#, fuzzy -msgid "Cancel" -msgstr "_Отказ" - -#: src/celluloid-file-chooser-button.c:235 +#: src/celluloid-file-chooser-button.c:236 #, fuzzy msgid "(None)" msgstr "Няма" @@ -829,16 +966,16 @@ msgstr "Не е намерен диск" msgid "_File" msgstr "_Файл" -#: src/celluloid-menu.c:236 src/celluloid-menu.c:318 +#: src/celluloid-menu.c:236 src/celluloid-menu.c:316 #, fuzzy msgid "_Open File…" msgstr "Отваряне на файл" -#: src/celluloid-menu.c:237 src/celluloid-menu.c:319 +#: src/celluloid-menu.c:237 src/celluloid-menu.c:317 msgid "Open _Folder…" msgstr "Отваряне на _папка..." -#: src/celluloid-menu.c:238 src/celluloid-menu.c:320 +#: src/celluloid-menu.c:238 src/celluloid-menu.c:318 msgid "Open _Location…" msgstr "Отваряне на _местоположение..." @@ -846,11 +983,11 @@ msgstr "Отваряне на _местоположение..." msgid "Open _Disc…" msgstr "Отваряне на _диск..." -#: src/celluloid-menu.c:240 src/celluloid-menu.c:290 +#: src/celluloid-menu.c:240 src/celluloid-menu.c:288 msgid "_Save Playlist" msgstr "_Запазване на списък за изпълнение" -#: src/celluloid-menu.c:241 src/celluloid-menu.c:323 +#: src/celluloid-menu.c:241 src/celluloid-menu.c:321 msgid "_New Window" msgstr "_Нов прозорец" @@ -862,19 +999,19 @@ msgstr "_Изход" msgid "_Edit" msgstr "_Редактиране" -#: src/celluloid-menu.c:244 src/celluloid-menu.c:296 +#: src/celluloid-menu.c:244 src/celluloid-menu.c:294 msgid "_Preferences" msgstr "_Предпочитания" -#: src/celluloid-menu.c:245 src/celluloid-menu.c:292 +#: src/celluloid-menu.c:245 src/celluloid-menu.c:290 msgid "_Video Track" msgstr "_Видео запис" -#: src/celluloid-menu.c:246 src/celluloid-menu.c:293 +#: src/celluloid-menu.c:246 src/celluloid-menu.c:291 msgid "_Audio Track" msgstr "_Аудио запис" -#: src/celluloid-menu.c:247 src/celluloid-menu.c:294 +#: src/celluloid-menu.c:247 src/celluloid-menu.c:292 msgid "S_ubtitle Track" msgstr "_Файл със субтитри" @@ -882,31 +1019,27 @@ msgstr "_Файл със субтитри" msgid "_View" msgstr "_Преглед" -#: src/celluloid-menu.c:249 src/celluloid-menu.c:287 +#: src/celluloid-menu.c:249 src/celluloid-menu.c:286 msgid "_Toggle Controls" msgstr "Включване/изключване на _контролерите" -#: src/celluloid-menu.c:250 src/celluloid-menu.c:289 -msgid "_Toggle Playlist" -msgstr "Включване/изключване на _списъка за изпълнение" - -#: src/celluloid-menu.c:251 +#: src/celluloid-menu.c:250 msgid "_Fullscreen" msgstr "_Режим на цял екран" -#: src/celluloid-menu.c:252 +#: src/celluloid-menu.c:251 msgid "_Help" msgstr "_Помощ" -#: src/celluloid-menu.c:253 src/celluloid-menu.c:297 +#: src/celluloid-menu.c:252 src/celluloid-menu.c:295 msgid "_Keyboard Shortcuts" msgstr "_Клавишни комбинации" -#: src/celluloid-menu.c:254 src/celluloid-menu.c:298 +#: src/celluloid-menu.c:253 src/celluloid-menu.c:296 msgid "_About Celluloid" msgstr "_Относно Celluloid" -#: src/celluloid-menu.c:321 +#: src/celluloid-menu.c:319 msgid "Open _Disc" msgstr "Отваряне на _диск" @@ -915,133 +1048,146 @@ msgstr "Отваряне на _диск" msgid "Playback was terminated abnormally. Reason: %s." msgstr "Възпрозвеждането беше спряно непредвидено. Причина: %s." -#: src/celluloid-open-location-dialog.c:131 -msgid "Location:" -msgstr "Местоположение:" - -#: src/celluloid-open-location-dialog.c:137 -msgid "_Open" +#: src/celluloid-open-location-dialog.c:75 +#, fuzzy +msgid "Open" msgstr "_Отваряне" -#: src/celluloid-open-location-dialog.c:138 -#: src/celluloid-preferences-dialog.c:430 -msgid "_Cancel" +#: src/celluloid-open-location-dialog.c:77 +#, fuzzy +msgid "Cancel" msgstr "_Отказ" -#: src/celluloid-player.c:601 +#: src/celluloid-open-location-dialog.c:274 +msgid "Location:" +msgstr "Местоположение:" + +#: src/celluloid-player.c:667 msgid "Failed to apply one or more MPV options." msgstr "Не могат да бъдат приложени една или повече опции за MPV." -#: src/celluloid-playlist-widget.c:554 +#: src/celluloid-playlist-widget.c:557 msgid "_Copy Location" msgstr "_Копиране на местоположението" -#: src/celluloid-playlist-widget.c:555 +#: src/celluloid-playlist-widget.c:558 src/celluloid-plugins-manager-item.c:208 msgid "_Remove" msgstr "_Премахване" -#: src/celluloid-playlist-widget.c:557 +#: src/celluloid-playlist-widget.c:560 msgid "_Add…" msgstr "_Добавяне…" -#: src/celluloid-playlist-widget.c:558 +#: src/celluloid-playlist-widget.c:561 msgid "Add _Folder…" msgstr "Добавяне на _папка..." -#: src/celluloid-playlist-widget.c:559 +#: src/celluloid-playlist-widget.c:562 msgid "Add _Location…" msgstr "Добавяне на _местоположение…" -#: src/celluloid-playlist-widget.c:560 +#: src/celluloid-playlist-widget.c:563 msgid "_Shuffle" msgstr "_Разбъркано" -#: src/celluloid-playlist-widget.c:561 -msgid "Loop _File" +#: src/celluloid-playlist-widget.c:564 +#, fuzzy +msgid "Loop File" msgstr "Превъртане на _файл" -#: src/celluloid-playlist-widget.c:562 -msgid "Loop _Playlist" -msgstr "Превъртане на _списък" - -#: src/celluloid-playlist-widget.c:911 -msgid "Playlist is empty" +#: src/celluloid-playlist-widget.c:930 +#, fuzzy +msgid "Playlist is Empty" msgstr "Списъкът е празен" -#: src/celluloid-plugins-manager.c:177 src/celluloid-plugins-manager.c:412 +#: src/celluloid-plugins-manager.c:192 src/celluloid-plugins-manager.c:446 msgid "Add Plugin" msgstr "Добавяне на разширение" -#: src/celluloid-plugins-manager.c:189 +#: src/celluloid-plugins-manager.c:206 msgid "Lua Plugins" msgstr "Lua разширения" -#: src/celluloid-plugins-manager.c:195 +#: src/celluloid-plugins-manager.c:212 msgid "JavaScript Plugins" msgstr "JavaScript разширения" -#: src/celluloid-plugins-manager.c:200 +#: src/celluloid-plugins-manager.c:217 msgid "C Plugins" msgstr "C - разширения" -#: src/celluloid-plugins-manager.c:333 +#: src/celluloid-plugins-manager.c:355 #, c-format msgid "Failed to copy file from '%s' to '%s'. Reason: %s" msgstr "Неуспешно копиране на файл от '%s' в '%s'. Причина: %s" -#: src/celluloid-plugins-manager.c:388 -msgid "No plugins found" +#: src/celluloid-plugins-manager.c:409 +msgid "Plugins" +msgstr "Разширения" + +#: src/celluloid-plugins-manager.c:416 +#, fuzzy +msgid "Add…" +msgstr "_Добавяне…" + +#: src/celluloid-plugins-manager.c:450 +#, fuzzy +msgid "No Plugins Found" msgstr "Не са намерени разширения" -#: src/celluloid-plugins-manager-item.c:82 -msgid "Remove" -msgstr "Премахване" +#: src/celluloid-plugins-manager.c:453 +msgid "Click the Add… button to install a new plugin" +msgstr "" -#: src/celluloid-plugins-manager-item.c:195 +#: src/celluloid-plugins-manager-item.c:83 +#, fuzzy +msgid "Remove Plugin" +msgstr "C - разширения" + +#: src/celluloid-plugins-manager-item.c:178 #, c-format msgid "Failed to delete file '%s'. Reason: %s" msgstr "Неуспешно изтриване на файл '%s'. Причина: %s" -#: src/celluloid-plugins-manager-item.c:224 +#: src/celluloid-plugins-manager-item.c:202 msgid "" "Are you sure you want to remove this script? This action cannot be undone." msgstr "" "Сигурен ли сте, че искате да премахнете този скрипт? Това действие не може " "да бъде отменено." -#: src/celluloid-preferences-dialog.c:369 -msgid "mpv configuration file:" +#: src/celluloid-plugins-manager-item.c:209 +msgid "_Keep" +msgstr "" + +#: src/celluloid-preferences-dialog.c:322 +#, fuzzy +msgid "mpv configuration file" msgstr "mpv конфигурационен файл:" -#: src/celluloid-preferences-dialog.c:375 -msgid "mpv input configuration file:" +#: src/celluloid-preferences-dialog.c:328 +#, fuzzy +msgid "mpv input configuration file" msgstr "входен mpv конфигурационен файл:" -#: src/celluloid-preferences-dialog.c:398 -msgid "Extra mpv options:" +#: src/celluloid-preferences-dialog.c:348 +#, fuzzy +msgid "Extra mpv options" msgstr "Допълнителни mpv опции:" -#: src/celluloid-preferences-dialog.c:418 +#: src/celluloid-preferences-dialog.c:363 msgid "Interface" msgstr "Интерфейс" -#: src/celluloid-preferences-dialog.c:421 +#: src/celluloid-preferences-dialog.c:371 msgid "Config Files" msgstr "Конфигурационни файлове" -#: src/celluloid-preferences-dialog.c:424 +#: src/celluloid-preferences-dialog.c:379 msgid "Miscellaneous" msgstr "Разни" -#: src/celluloid-preferences-dialog.c:427 -msgid "Plugins" -msgstr "Разширения" - -#: src/celluloid-preferences-dialog.c:432 -msgid "_Save" -msgstr "_Запазване" - -#: src/celluloid-preferences-dialog.c:458 +#: src/celluloid-preferences-dialog.c:405 msgid "Preferences" msgstr "Предпочитания" @@ -1066,260 +1212,284 @@ msgid "Show preferences dialog" msgstr "Показване на диалога с настройките" #: src/celluloid-shortcuts-window.c:51 -msgid "Toggle controls" -msgstr "Показване/скриване на контролерите" - -#: src/celluloid-shortcuts-window.c:52 msgid "Toggle playlist" msgstr "Показване/скриване на списъка за изпълнение" -#: src/celluloid-shortcuts-window.c:53 +#: src/celluloid-shortcuts-window.c:52 msgid "Toggle fullscreen mode" msgstr "Превключване в режим на цял екран" -#: src/celluloid-shortcuts-window.c:54 +#: src/celluloid-shortcuts-window.c:53 msgid "Leave fullscreen mode" msgstr "Изход от режима на цял екран" -#: src/celluloid-shortcuts-window.c:55 +#: src/celluloid-shortcuts-window.c:54 msgid "Toggle OSD states between normal and playback time/duration" msgstr "" "Превключване в OSD режим между нормалното време и времето на възпроизвеждане/" "продължителност" -#: src/celluloid-shortcuts-window.c:56 +#: src/celluloid-shortcuts-window.c:55 msgid "Show filename on the OSD" msgstr "Показване името на файла в OSD" -#: src/celluloid-shortcuts-window.c:57 +#: src/celluloid-shortcuts-window.c:56 msgid "Show progress, elapsed time, and duration on the OSD" msgstr "Показване на прогреса, оставащото време и продължителност в OSD" -#: src/celluloid-shortcuts-window.c:60 +#: src/celluloid-shortcuts-window.c:59 msgid "Seek backward/forward 5 seconds" msgstr "Прескачане назад/напред с 5 секунди" -#: src/celluloid-shortcuts-window.c:61 +#: src/celluloid-shortcuts-window.c:60 msgid "Exact seek backward/forward 1 second" msgstr "Прецизно прескачане назад/напред с 1 секунда" -#: src/celluloid-shortcuts-window.c:62 +#: src/celluloid-shortcuts-window.c:61 msgid "Seek backward/forward 1 minute" msgstr "Прескачане назад/напред с 1 минута" -#: src/celluloid-shortcuts-window.c:63 +#: src/celluloid-shortcuts-window.c:62 msgid "Exact seek backward/forward 5 seconds" msgstr "Прецизно прескачане назад/напред с 5 секунди" -#: src/celluloid-shortcuts-window.c:64 +#: src/celluloid-shortcuts-window.c:63 msgid "Seek to previous/next subtitle" msgstr "Преминаване към предишните/следващите субтитри" -#: src/celluloid-shortcuts-window.c:65 +#: src/celluloid-shortcuts-window.c:64 msgid "Step backward/forward a single frame" msgstr "Стъпка назад/напред с един кадър" -#: src/celluloid-shortcuts-window.c:66 +#: src/celluloid-shortcuts-window.c:65 msgid "Seek to the beginning of the previous/next chapter" msgstr "Преминаване към предишното/следващото заглавие" -#: src/celluloid-shortcuts-window.c:69 +#: src/celluloid-shortcuts-window.c:68 msgid "Decrease/increase playback speed by 10%" msgstr "Намаляване/увеличаване скоростта на възпроизвеждане с 10%" -#: src/celluloid-shortcuts-window.c:70 +#: src/celluloid-shortcuts-window.c:69 msgid "Halve/double current playback speed" msgstr "Намаляване наполовина/удвояване скоростта на изпълнение" -#: src/celluloid-shortcuts-window.c:71 +#: src/celluloid-shortcuts-window.c:70 msgid "Reset playback speed to normal" msgstr "Нулиране скоростта на изпълнение до нормална стойност" -#: src/celluloid-shortcuts-window.c:72 +#: src/celluloid-shortcuts-window.c:71 msgid "Go backward/forward in the playlist" msgstr "Отиване назад/напред в списъка за изпълнение" -#: src/celluloid-shortcuts-window.c:73 +#: src/celluloid-shortcuts-window.c:72 msgid "Remove selected playlist item" msgstr "Премахване на избраните елементи от списъка за изпълнение" -#: src/celluloid-shortcuts-window.c:74 +#: src/celluloid-shortcuts-window.c:73 msgid "Save playlist" msgstr "Запазване на списъка за изпълнение" -#: src/celluloid-shortcuts-window.c:75 +#: src/celluloid-shortcuts-window.c:74 msgid "Set/clear A-B loop points" msgstr "Задай/изчисти точки на повторение A-B" -#: src/celluloid-shortcuts-window.c:76 +#: src/celluloid-shortcuts-window.c:75 msgid "Toggle infinite looping" msgstr "Включване/изключване на напрекъснатото повторение" -#: src/celluloid-shortcuts-window.c:77 +#: src/celluloid-shortcuts-window.c:76 msgid "Pause or unpause" msgstr "Пауза и възобновяване" -#: src/celluloid-shortcuts-window.c:78 +#: src/celluloid-shortcuts-window.c:77 msgid "Quit" msgstr "Изход" -#: src/celluloid-shortcuts-window.c:79 +#: src/celluloid-shortcuts-window.c:78 msgid "Save current playback position and quit" msgstr "Запазване на текущата позиция на възпроизвеждане и изход" -#: src/celluloid-shortcuts-window.c:82 +#: src/celluloid-shortcuts-window.c:81 msgid "Enter search mode" msgstr "Влизане в режим на търсене" -#: src/celluloid-shortcuts-window.c:83 +#: src/celluloid-shortcuts-window.c:82 msgid "Jump to next match" msgstr "Прескачане до следващият резултат" -#: src/celluloid-shortcuts-window.c:84 +#: src/celluloid-shortcuts-window.c:83 msgid "Jump to previous match" msgstr "Прескачане до предишният резултат" -#: src/celluloid-shortcuts-window.c:85 +#: src/celluloid-shortcuts-window.c:84 msgid "Exit search mode" msgstr "Изход от режима за търсене" -#: src/celluloid-shortcuts-window.c:88 +#: src/celluloid-shortcuts-window.c:87 msgid "Cycle through audio tracks" msgstr "Превъртане през аудио записите" -#: src/celluloid-shortcuts-window.c:89 src/celluloid-shortcuts-window.c:90 +#: src/celluloid-shortcuts-window.c:88 src/celluloid-shortcuts-window.c:89 msgid "Decrease/increase volume" msgstr "Намаляване/увеличаване силата на звука" -#: src/celluloid-shortcuts-window.c:91 +#: src/celluloid-shortcuts-window.c:90 msgid "Mute or unmute" msgstr "Заглушаване и пускане на звука" -#: src/celluloid-shortcuts-window.c:92 +#: src/celluloid-shortcuts-window.c:91 msgid "Adjust audio delay by +/- 0.1 seconds" msgstr "Задържане на аудиото с + / - 0,1 секунди" -#: src/celluloid-shortcuts-window.c:95 +#: src/celluloid-shortcuts-window.c:94 msgid "Toggle subtitle visibility" msgstr "Превключване видимостта на субтитрите" -#: src/celluloid-shortcuts-window.c:96 +#: src/celluloid-shortcuts-window.c:95 msgid "Cycle through available subtitles" msgstr "Превъртане през наличните субтитри" -#: src/celluloid-shortcuts-window.c:97 +#: src/celluloid-shortcuts-window.c:96 msgid "Adjust subtitle delay by +/- 0.1 seconds" msgstr "Задържане на субтитрите с + / - 0,1 секунди" -#: src/celluloid-shortcuts-window.c:98 +#: src/celluloid-shortcuts-window.c:97 msgid "Toggle SSA/ASS subtitles style override" msgstr "Превключване промяната стила на субтитрите SSA/ASS" -#: src/celluloid-shortcuts-window.c:99 +#: src/celluloid-shortcuts-window.c:98 msgid "Move subtitles up/down" msgstr "Преместване на субтитрите нагоре/надолу" -#: src/celluloid-shortcuts-window.c:100 +#: src/celluloid-shortcuts-window.c:99 msgid "Toggle VSFilter aspect compatibility mode" msgstr "Включване/изключване режим на VSFilter" -#: src/celluloid-shortcuts-window.c:103 +#: src/celluloid-shortcuts-window.c:102 msgid "Cycle through video tracks" msgstr "Превъртане през видео записите" -#: src/celluloid-shortcuts-window.c:104 +#: src/celluloid-shortcuts-window.c:103 msgid "Decrease/increase pan-and-scan range" msgstr "Намаляване/увеличаване диапазона на обхващане и сканиране" -#: src/celluloid-shortcuts-window.c:105 +#: src/celluloid-shortcuts-window.c:104 msgid "Take a screenshot" msgstr "Направете снимка на екрана" -#: src/celluloid-shortcuts-window.c:106 +#: src/celluloid-shortcuts-window.c:105 msgid "Take a screenshot, without subtitles" msgstr "Направете снимка на екрана без субтитри" -#: src/celluloid-shortcuts-window.c:107 +#: src/celluloid-shortcuts-window.c:106 msgid "Take a screenshot, as the window shows it" msgstr "Направете снимка на екрана с всичко в прозореца" -#: src/celluloid-shortcuts-window.c:108 +#: src/celluloid-shortcuts-window.c:107 msgid "Resize video to half its original size" msgstr "Оразмеряване на видеото в половината от оригиналния размер" -#: src/celluloid-shortcuts-window.c:109 +#: src/celluloid-shortcuts-window.c:108 msgid "Resize video to its original size" msgstr "Оразмеряване на видеото в неговия оригинален размер" -#: src/celluloid-shortcuts-window.c:110 +#: src/celluloid-shortcuts-window.c:109 msgid "Resize video to double its original size" msgstr "Оразмеряване на видеото в двоен размер спрямо оригинала" -#: src/celluloid-shortcuts-window.c:111 +#: src/celluloid-shortcuts-window.c:110 msgid "Adjust contrast" msgstr "Настройка на контраста" -#: src/celluloid-shortcuts-window.c:112 +#: src/celluloid-shortcuts-window.c:111 msgid "Adjust brightness" msgstr "Настройка на яркостта" -#: src/celluloid-shortcuts-window.c:113 +#: src/celluloid-shortcuts-window.c:112 msgid "Adjust gamma" msgstr "Настройка на гамата" -#: src/celluloid-shortcuts-window.c:114 +#: src/celluloid-shortcuts-window.c:113 msgid "Adjust saturation" msgstr "Настройка на наситеността" -#: src/celluloid-shortcuts-window.c:115 +#: src/celluloid-shortcuts-window.c:114 msgid "Activate or deactivate deinterlacer" msgstr "Активирайте или деактивирайте деинтерлактора" -#: src/celluloid-shortcuts-window.c:116 +#: src/celluloid-shortcuts-window.c:115 msgid "Cycle aspect ratio override" msgstr "Циклично презаписване на стойностите" +#: src/celluloid-shortcuts-window.c:117 +msgid "Pan the video" +msgstr "" + +#: src/celluloid-shortcuts-window.c:118 +msgid "Zoom in/out" +msgstr "" + #: src/celluloid-shortcuts-window.c:119 +msgid "Reset pan/zoom settings" +msgstr "" + +#: src/celluloid-shortcuts-window.c:123 msgid "User Interface" msgstr "Потребителски интерфейс" -#: src/celluloid-shortcuts-window.c:120 +#: src/celluloid-shortcuts-window.c:124 msgid "Video" msgstr "Видео" -#: src/celluloid-shortcuts-window.c:121 +#: src/celluloid-shortcuts-window.c:125 msgid "Audio" msgstr "Аудио" -#: src/celluloid-shortcuts-window.c:122 +#: src/celluloid-shortcuts-window.c:126 msgid "Subtitle" msgstr "Субтитри" -#: src/celluloid-shortcuts-window.c:123 +#: src/celluloid-shortcuts-window.c:127 msgid "Playback" msgstr "Възпроизвеждане" -#: src/celluloid-shortcuts-window.c:124 +#: src/celluloid-shortcuts-window.c:128 msgid "Seeking" msgstr "Търсене" -#: src/celluloid-shortcuts-window.c:125 +#: src/celluloid-shortcuts-window.c:129 msgid "Playlist" msgstr "Списък за изпълнение" -#: src/celluloid-view.c:743 +#: src/celluloid-video-area.c:741 +msgid "Loading…" +msgstr "" + +#: src/celluloid-video-area.c:752 +msgid "Welcome" +msgstr "" + +#: src/celluloid-video-area.c:755 +msgid "Click the button or drag and drop videos here" +msgstr "" + +#: src/celluloid-view.c:739 msgid "Load Audio Track…" msgstr "Зареди аудио запис…" -#: src/celluloid-view.c:747 +#: src/celluloid-view.c:743 msgid "Load Video Track…" msgstr "Зареждане на видео запис..." -#: src/celluloid-view.c:751 +#: src/celluloid-view.c:747 msgid "Load Subtitle Track…" msgstr "Зареди файл със субтитри…" -#: src/celluloid-view.c:923 +#: src/celluloid-view.c:926 +msgid "Error" +msgstr "Грешка" + +#: src/celluloid-view.c:951 msgid "" "Enabling or disabling client-side decorations requires restarting to take " "effect." @@ -1327,42 +1497,68 @@ msgstr "" "Включването или изключването на вградената (Gnome 3) декорация изисква " "рестартиране за да влязат промените в сила." -#: src/celluloid-view.c:1445 +#: src/celluloid-view.c:1468 msgid "Add Folder to Playlist" msgstr "Добавяне на папка в списъка" -#: src/celluloid-view.c:1445 +#: src/celluloid-view.c:1468 msgid "Open Folder" msgstr "Отваряне на папка" -#: src/celluloid-view.c:1450 +#: src/celluloid-view.c:1473 msgid "Add File to Playlist" msgstr "Добавяне на файл в списъка" -#: src/celluloid-view.c:1450 +#: src/celluloid-view.c:1473 msgid "Open File" msgstr "Отваряне на файл" -#: src/celluloid-view.c:1486 +#: src/celluloid-view.c:1512 msgid "Add Location to Playlist" msgstr "Добавяне местоположение до списък" -#: src/celluloid-view.c:1487 +#: src/celluloid-view.c:1513 msgid "Open Location" msgstr "Отвори местоположение" -#: src/celluloid-view.c:1529 +#: src/celluloid-view.c:1555 msgid "Save Playlist" msgstr "Запазване на списъка" -#: src/celluloid-view.c:1576 -msgid "A GTK frontend for MPV" -msgstr "GTK интерфейс за MPV" - -#: src/celluloid-view.c:1586 +#: src/celluloid-view.c:1617 msgid "translator-credits" msgstr "Kiril Kirilov " +#~ msgid "The Celluloid Developers" +#~ msgstr "Разработчиците на Celluloid" + +#~ msgid "GTK+ frontend for mpv" +#~ msgstr "GTK+ интерфейс за MPV" + +#~ msgid "_Open" +#~ msgstr "_Отваряне" + +#~ msgid "_Cancel" +#~ msgstr "_Отказ" + +#~ msgid "Loop _Playlist" +#~ msgstr "Превъртане на _списък" + +#~ msgid "Enable media keys support" +#~ msgstr "Включване поддръжка на мултимедийни клавиши" + +#~ msgid "Remove" +#~ msgstr "Премахване" + +#~ msgid "_Save" +#~ msgstr "_Запазване" + +#~ msgid "Toggle controls" +#~ msgstr "Показване/скриване на контролерите" + +#~ msgid "A GTK frontend for MPV" +#~ msgstr "GTK интерфейс за MPV" + #~ msgid "Make file chooser remember last file's location" #~ msgstr "" #~ "Задаване на избора на файлове да запомни местоположението на последния " @@ -1370,3 +1566,9 @@ msgstr "Kiril Kirilov " #~ msgid "_Open…" #~ msgstr "_Отваряне..." + +#~ msgid "Loop _File" +#~ msgstr "Превъртане на _файл" + +#~ msgid "_Toggle Playlist" +#~ msgstr "Включване/изключване на _списъка за изпълнение" diff --git a/po/boldquot.sed b/po/boldquot.sed deleted file mode 100644 index 4b937aa..0000000 --- a/po/boldquot.sed +++ /dev/null @@ -1,10 +0,0 @@ -s/"\([^"]*\)"/“\1”/g -s/`\([^`']*\)'/‘\1’/g -s/ '\([^`']*\)' / ‘\1’ /g -s/ '\([^`']*\)'$/ ‘\1’/g -s/^'\([^`']*\)' /‘\1’ /g -s/“”/""/g -s/“/“/g -s/”/”/g -s/‘/‘/g -s/’/’/g diff --git a/po/ca.gmo b/po/ca.gmo index 543190b..f0de545 100644 Binary files a/po/ca.gmo and b/po/ca.gmo differ diff --git a/po/ca.po b/po/ca.po index 3dbbf21..4241399 100644 --- a/po/ca.po +++ b/po/ca.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-19 15:33+0700\n" +"POT-Creation-Date: 2024-07-06 23:09+0700\n" "PO-Revision-Date: 2022-10-14 11:20+0000\n" "Last-Translator: gallegonovato \n" "Language-Team: Catalan