mate-utils: update to 1.26.0.
This commit is contained in:
parent
81a826fa9c
commit
c37acfcf1f
2 changed files with 5 additions and 57 deletions
|
@ -1,47 +0,0 @@
|
|||
--- a/configure.ac 2015-09-01 15:56:57.000000000 +0200
|
||||
+++ b/configure.ac 2015-10-23 15:09:25.486599085 +0200
|
||||
@@ -277,24 +277,32 @@ AS_IF([test "x$have_ipv6" = "xyes"],
|
||||
]
|
||||
)
|
||||
|
||||
-
|
||||
-dnl strftime extension checks
|
||||
-AC_TRY_RUN([
|
||||
+dnl ***************************************
|
||||
+dnl *** Check for strftime() extensions ***
|
||||
+dnl ***************************************
|
||||
+AC_CACHE_CHECK([Define if strftime supports %E and %O modifiers], ac_cv_strftime_extensions,
|
||||
+ [AC_TRY_RUN([
|
||||
+ #include <string.h>
|
||||
#include <time.h>
|
||||
- int main (void) {
|
||||
- char buf[100];
|
||||
- struct tm tm = {0};
|
||||
- tm.tm_year = 99;
|
||||
- if (strftime(buf, 100, "%EY", &tm) == 4 && strcmp (buf, "1999")==0)
|
||||
+ int
|
||||
+ main (int argc, char **argv)
|
||||
+ {
|
||||
+ struct tm tm;
|
||||
+ char buffer[16];
|
||||
+ tm.tm_year = 81;
|
||||
+ if (strftime (buffer, 16, "%EY", &tm) == 4 && strcmp (buffer, "1981") == 0)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
],
|
||||
- [
|
||||
- AC_DEFINE([HAVE_STRFTIME_EXTENSION], [1],
|
||||
- [Define if strftime supports %E and %O modifiers.])
|
||||
- ]
|
||||
+ ac_cv_strftime_extensions=yes,
|
||||
+ ac_cv_strftime_extensions=no,
|
||||
+ [AC_MSG_ERROR([cross-compiling, preset ac_cv_strftime_extensions=yes/no])]
|
||||
+ )]
|
||||
)
|
||||
+if test x"$ac_cv_strftime_extensions" = x"yes"; then
|
||||
+ AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.])
|
||||
+fi
|
||||
|
||||
dnl mate-search-tool checks
|
||||
withval=""
|
|
@ -1,25 +1,20 @@
|
|||
# Template file for 'mate-utils'
|
||||
pkgname=mate-utils
|
||||
version=1.24.0
|
||||
version=1.26.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-schemas-compile"
|
||||
hostmakedepends="automake libtool gettext-devel pkg-config which
|
||||
intltool itstool glib-devel mate-common librsvg-utils inkscape
|
||||
autoconf-archive"
|
||||
hostmakedepends="pkg-config intltool itstool glib-devel librsvg-utils inkscape"
|
||||
makedepends="gtk+3-devel libSM-devel zlib-devel libcanberra-devel
|
||||
libgtop-devel libmate-panel-devel udisks2-devel"
|
||||
depends="desktop-file-utils"
|
||||
short_desc="Common utilities for the MATE desktop"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://mate-desktop.org"
|
||||
changelog="https://raw.githubusercontent.com/mate-desktop/mate-utils/master/NEWS"
|
||||
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=219673047fe2a14eb9c8bc23a5fb7c99d45e7acad4c05b4bf59a3d244cb026ac
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
checksum=7ca56ab242e8efaa64f93ffb84f6e4bf8d4d0df01e20b3b6ef8956ce3192782e
|
||||
|
||||
post_install() {
|
||||
rm -r ${DESTDIR}/usr/include
|
||||
|
|
Loading…
Reference in a new issue