[Pkg-xfce-commits] [Git][xfce-team/goodies/xfce4-datetime-plugin][upstream/latest] New upstream version 0.8.3.
Unit 193 (@unit193)
gitlab at salsa.debian.org
Tue Aug 15 00:09:20 BST 2023
Unit 193 pushed to branch upstream/latest at xfce / goodies / xfce4-datetime-plugin
Commits:
0afbee4d by Unit 193 at 2023-08-14T19:02:23-04:00
New upstream version 0.8.3.
- - - - -
6 changed files:
- NEWS
- aclocal.m4
- config.h.in
- configure
- configure.ac
- po/fa_IR.po
Changes:
=====================================
NEWS
=====================================
@@ -1,3 +1,8 @@
+0.8.3 (2023-01-16)
+=====
+- Translation Updates:
+ Persian (Iran)
+
0.8.2 (2022-09-19)
=====
- Fix time calculation
=====================================
aclocal.m4
=====================================
@@ -638,6 +638,27 @@ AC_DEFUN([XDT_CHECK_PACKAGE],
AC_SUBST([$1_LIBS])
AC_SUBST([$1_REQUIRED_VERSION])
+ if test x"$1" = x"GLIB"; then
+ dnl Use GLib structured logging, see https://docs.gtk.org/glib/logging.html
+ dnl XFCE apps&libraries can override this setting after XDT_CHECK_PACKAGE(GLIB)
+ dnl using AC_DEFINE.
+ dnl Note that it requires GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_56 to work
+ dnl properly in GLib logging macros (not documented, see glib/gmessages.h).
+ AC_DEFINE(G_LOG_USE_STRUCTURED, 1, [Use GLib structured logging])
+ fi
+
+ ifelse([$1], GLIB, [
+ dnl Report uses of GLib functions newer than $3 as C compiler warnings.
+ dnl XFCE apps&libraries can override this setting after XDT_CHECK_PACKAGE(GLIB)
+ dnl using AC_DEFINE, in which case it is recommended to override both MAX and MIN.
+ AC_MSG_NOTICE([setting GLIB_VERSION_MAX_ALLOWED and GLIB_VERSION_MIN_REQUIRED according to $3])
+ m4_pushdef([SUFFIX], translit($3, `.', `_'))
+ m4_define([SUFFIX], ifelse(regexp(SUFFIX, [[0-9]+_[0-9]+_[0-9]+]), -1, SUFFIX, patsubst(SUFFIX, [_[0-9]+$])))
+ AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, m4_format(GLIB_VERSION_%s, SUFFIX), m4_format(Prevent post %s APIs, SUFFIX))
+ AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, m4_format(GLIB_VERSION_%s, SUFFIX), m4_format(Ignore post %s APIs, SUFFIX))
+ m4_popdef([SUFFIX])
+ ])
+
ifelse([$4], , , [$4])
elif $PKG_CONFIG --exists "$2" >/dev/null 2>&1; then
xdt_cv_version=`$PKG_CONFIG --modversion "$2"`
@@ -921,16 +942,15 @@ AC_DEFUN([XDT_FEATURE_DEBUG],
AS_HELP_STRING([--disable-debug],[Include no debugging support]),
[enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
- dnl enable most warnings regardless of debug level
- xdt_cv_additional_CFLAGS="-Wall -Wextra \
- -Wno-missing-field-initializers \
- -Wno-unused-parameter -Wold-style-definition \
- -Wdeclaration-after-statement \
- -Wmissing-declarations \
- -Wmissing-noreturn -Wpointer-arith \
- -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
- -Winit-self -Wmissing-include-dirs -Wundef \
- -Wnested-externs -Wredundant-decls"
+ dnl Enable most warnings regardless of debug level. Common flags for both C and C++.
+ xdt_cv_additional_COMMON_FLAGS="-Wall -Wextra \
+ -Wno-missing-field-initializers \
+ -Wno-unused-parameter \
+ -Wmissing-declarations \
+ -Wmissing-noreturn -Wpointer-arith \
+ -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
+ -Winit-self -Wmissing-include-dirs -Wundef \
+ -Wredundant-decls"
AC_MSG_CHECKING([whether to build with debugging support])
if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
@@ -939,20 +959,20 @@ AS_HELP_STRING([--disable-debug],[Include no debugging support]),
CPPFLAGS="$CPPFLAGS"
if test x`uname` = x"Linux"; then
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -fstack-protector"
fi
if test x"$enable_debug" = x"full"; then
AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -O0 -g"
CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
AC_MSG_RESULT([full])
else
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -g -Wshadow"
AC_MSG_RESULT([yes])
fi
else
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wshadow"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -Wshadow"
CPPFLAGS="$CPPFLAGS -DNDEBUG"
if test x"$enable_debug" = x"no"; then
@@ -963,18 +983,14 @@ AS_HELP_STRING([--disable-debug],[Include no debugging support]),
fi
fi
- XDT_SUPPORTED_FLAGS([supported_CFLAGS], [$xdt_cv_additional_CFLAGS])
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_COMMON_FLAGS \
+ -Wdeclaration-after-statement \
+ -Wnested-externs \
+ -Wold-style-definition"
+ xdt_cv_additional_CXXFLAGS="$xdt_cv_additional_COMMON_FLAGS"
- ifelse([$CXX], , , [
- dnl FIXME: should test on c++ compiler, but the following line causes
- dnl autoconf errors for projects that don't check for a
- dnl c++ compiler at all.
- dnl AC_LANG_PUSH([C++])
- dnl XDT_SUPPORTED_FLAGS([supported_CXXFLAGS], [$xdt_cv_additional_CFLAGS])
- dnl AC_LANG_POP()
- dnl instead, just use supported_CFLAGS...
- supported_CXXFLAGS="$supported_CFLAGS"
- ])
+ XDT_SUPPORTED_FLAGS([supported_CFLAGS], [$xdt_cv_additional_CFLAGS])
+ XDT_SUPPORTED_FLAGS([supported_CXXFLAGS], [$xdt_cv_additional_CXXFLAGS])
CFLAGS="$CFLAGS $supported_CFLAGS"
CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
=====================================
config.h.in
=====================================
@@ -9,6 +9,9 @@
/* Name of default gettext domain */
#undef GETTEXT_PACKAGE
+/* Use GLib structured logging */
+#undef G_LOG_USE_STRUCTURED
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
=====================================
configure
=====================================
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for xfce4-datetime-plugin 0.8.2.
+# Generated by GNU Autoconf 2.71 for xfce4-datetime-plugin 0.8.3.
#
# Report bugs to <xfce-dev at xfce.org>.
#
@@ -626,8 +626,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='xfce4-datetime-plugin'
PACKAGE_TARNAME='xfce4-datetime-plugin'
-PACKAGE_VERSION='0.8.2'
-PACKAGE_STRING='xfce4-datetime-plugin 0.8.2'
+PACKAGE_VERSION='0.8.3'
+PACKAGE_STRING='xfce4-datetime-plugin 0.8.3'
PACKAGE_BUGREPORT='xfce-dev at xfce.org'
PACKAGE_URL=''
@@ -1411,7 +1411,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures xfce4-datetime-plugin 0.8.2 to adapt to many kinds of systems.
+\`configure' configures xfce4-datetime-plugin 0.8.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1483,7 +1483,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of xfce4-datetime-plugin 0.8.2:";;
+ short | recursive ) echo "Configuration of xfce4-datetime-plugin 0.8.3:";;
esac
cat <<\_ACEOF
@@ -1609,7 +1609,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-xfce4-datetime-plugin configure 0.8.2
+xfce4-datetime-plugin configure 0.8.3
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1832,7 +1832,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by xfce4-datetime-plugin $as_me 0.8.2, which was
+It was created by xfce4-datetime-plugin $as_me 0.8.3, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3105,7 +3105,7 @@ fi
# Define the identity of the package.
PACKAGE='xfce4-datetime-plugin'
- VERSION='0.8.2'
+ VERSION='0.8.3'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -14439,6 +14439,14 @@ printf "%s\n" "$LIBXFCE4UI_LIBS" >&6; }
+ if test x"LIBXFCE4UI" = x"GLIB"; then
+
+printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
+
+ fi
+
+
+
elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
@@ -14644,6 +14652,14 @@ printf "%s\n" "$LIBXFCE4PANEL_LIBS" >&6; }
+ if test x"LIBXFCE4PANEL" = x"GLIB"; then
+
+printf "%s\n" "#define G_LOG_USE_STRUCTURED 1" >>confdefs.h
+
+ fi
+
+
+
elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
@@ -14686,15 +14702,14 @@ else $as_nop
fi
- xdt_cv_additional_CFLAGS="-Wall -Wextra \
- -Wno-missing-field-initializers \
- -Wno-unused-parameter -Wold-style-definition \
- -Wdeclaration-after-statement \
- -Wmissing-declarations \
- -Wmissing-noreturn -Wpointer-arith \
- -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
- -Winit-self -Wmissing-include-dirs -Wundef \
- -Wnested-externs -Wredundant-decls"
+ xdt_cv_additional_COMMON_FLAGS="-Wall -Wextra \
+ -Wno-missing-field-initializers \
+ -Wno-unused-parameter \
+ -Wmissing-declarations \
+ -Wmissing-noreturn -Wpointer-arith \
+ -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
+ -Winit-self -Wmissing-include-dirs -Wundef \
+ -Wredundant-decls"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
printf %s "checking whether to build with debugging support... " >&6; }
@@ -14706,24 +14721,24 @@ printf "%s\n" "#define DEBUG 1" >>confdefs.h
CPPFLAGS="$CPPFLAGS"
if test x`uname` = x"Linux"; then
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -fstack-protector"
fi
if test x"$enable_debug" = x"full"; then
printf "%s\n" "#define DEBUG_TRACE 1" >>confdefs.h
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -O0 -g"
CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: full" >&5
printf "%s\n" "full" >&6; }
else
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -g -Wshadow"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
else
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wshadow"
+ xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -Wshadow"
CPPFLAGS="$CPPFLAGS -DNDEBUG"
if test x"$enable_debug" = x"no"; then
@@ -14736,6 +14751,12 @@ printf "%s\n" "minimum" >&6; }
fi
fi
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_COMMON_FLAGS \
+ -Wdeclaration-after-statement \
+ -Wnested-externs \
+ -Wold-style-definition"
+ xdt_cv_additional_CXXFLAGS="$xdt_cv_additional_COMMON_FLAGS"
+
for flag in $xdt_cv_additional_CFLAGS; do
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
@@ -14763,8 +14784,30 @@ printf "%s\n" "$flag_supported" >&6; }
done
+ for flag in $xdt_cv_additional_CXXFLAGS; do
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
+printf %s "checking if $CC supports $flag... " >&6; }
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $flag"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"
+then :
+ flag_supported=yes
+else $as_nop
+ flag_supported=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+ CFLAGS="$saved_CFLAGS"
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
+printf "%s\n" "$flag_supported" >&6; }
- supported_CXXFLAGS="$supported_CFLAGS"
+ if test "x$flag_supported" = "xyes"; then
+ supported_CXXFLAGS="$supported_CXXFLAGS $flag"
+ fi
+ done
CFLAGS="$CFLAGS $supported_CFLAGS"
@@ -15308,7 +15351,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by xfce4-datetime-plugin $as_me 0.8.2, which was
+This file was extended by xfce4-datetime-plugin $as_me 0.8.3, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15376,7 +15419,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-xfce4-datetime-plugin config.status 0.8.2
+xfce4-datetime-plugin config.status 0.8.3
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
=====================================
configure.ac
=====================================
@@ -6,7 +6,7 @@ dnl
dnl Version information
m4_define([datetime_version_major], [0])
m4_define([datetime_version_minor], [8])
-m4_define([datetime_version_micro], [2])
+m4_define([datetime_version_micro], [3])
m4_define([datetime_version_tag], [])
m4_define([datetime_version], [datetime_version_major().datetime_version_minor().datetime_version_micro()])
=====================================
po/fa_IR.po
=====================================
@@ -4,13 +4,14 @@
#
# Translators:
# Goudarz Jafari <goudarz.jafari at gmail.com>, 2020
+# K2latmanesh <sudo.k2latmanesh at tutamail.com>, 2022
msgid ""
msgstr ""
"Project-Id-Version: Xfce Panel Plugins\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-03 20:55+0200\n"
-"PO-Revision-Date: 2020-05-14 09:59+0000\n"
-"Last-Translator: Goudarz Jafari <goudarz.jafari at gmail.com>\n"
+"PO-Revision-Date: 2013-07-03 18:56+0000\n"
+"Last-Translator: K2latmanesh <sudo.k2latmanesh at tutamail.com>, 2022\n"
"Language-Team: Persian (Iran) (http://www.transifex.com/xfce/xfce-panel-plugins/language/fa_IR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -28,11 +29,11 @@ msgstr "خطا"
#: ../panel-plugin/datetime-dialog.c:42
msgid "Date, then time"
-msgstr ""
+msgstr "تاریخ، سپس زمان"
#: ../panel-plugin/datetime-dialog.c:43
msgid "Time, then date"
-msgstr ""
+msgstr "زمان، سپس تاریخ"
#: ../panel-plugin/datetime-dialog.c:44
msgid "Date only"
@@ -49,7 +50,7 @@ msgstr "سفارشی..."
#: ../panel-plugin/datetime-dialog.c:131
msgid "Select font"
-msgstr "انتخاب فونت"
+msgstr "گزینش قلم"
#: ../panel-plugin/datetime-dialog.c:313
#, c-format
@@ -63,7 +64,7 @@ msgstr ""
#. * layout frame
#: ../panel-plugin/datetime-dialog.c:372
msgid "Layout"
-msgstr ""
+msgstr "چیدمان"
#. Format label
#. format label
@@ -84,7 +85,7 @@ msgstr ""
#. font label
#: ../panel-plugin/datetime-dialog.c:429 ../panel-plugin/datetime-dialog.c:530
msgid "Font:"
-msgstr "فونت:"
+msgstr "قلم:"
#. * time frame
#: ../panel-plugin/datetime-dialog.c:507
@@ -101,4 +102,4 @@ msgstr ""
#: ../panel-plugin/datetime.desktop.in.h:2
msgid "Date and Time plugin with a simple calendar"
-msgstr ""
+msgstr "افزایهٔ تاریخ و زمان به همراه تقویمی ساده"
View it on GitLab: https://salsa.debian.org/xfce-team/goodies/xfce4-datetime-plugin/-/commit/0afbee4d5ad889dc1a3d2505ffe1345c3670ab5d
--
View it on GitLab: https://salsa.debian.org/xfce-team/goodies/xfce4-datetime-plugin/-/commit/0afbee4d5ad889dc1a3d2505ffe1345c3670ab5d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-xfce-commits/attachments/20230814/81a97a55/attachment-0001.htm>
More information about the Pkg-xfce-commits
mailing list