diff options
author | youri <youri@pkgsrc.org> | 2016-05-21 18:52:34 +0000 |
---|---|---|
committer | youri <youri@pkgsrc.org> | 2016-05-21 18:52:34 +0000 |
commit | 937c891974173ca243d1291f58fae3a4d07b9a24 (patch) | |
tree | ac15bdb728e98a601eaf901e42d942f33621172f /x11 | |
parent | 7745d7aa1eba2e07d61fd6c5b7633dc95a12b9bc (diff) | |
download | pkgsrc-937c891974173ca243d1291f58fae3a4d07b9a24.tar.gz |
Import mate-desktop-1.14.0 as x11/mate-desktop.
mate-desktop contains the libmate-desktop library, the mate-about
program as well as some desktop-wide documents.
The libmate-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons. There is no API or ABI guarantee, although we are doing our
best to provide stability. Documentation for the API is available with
gtk-doc.
The mate-about program helps find which version of MATE is installed.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/mate-desktop/DESCR | 10 | ||||
-rw-r--r-- | x11/mate-desktop/Makefile | 28 | ||||
-rw-r--r-- | x11/mate-desktop/PLIST | 235 | ||||
-rw-r--r-- | x11/mate-desktop/buildlink3.mk | 21 | ||||
-rw-r--r-- | x11/mate-desktop/distinfo | 7 | ||||
-rw-r--r-- | x11/mate-desktop/patches/patch-libmate-desktop_mate-desktop-thumbnail.c | 34 |
6 files changed, 335 insertions, 0 deletions
diff --git a/x11/mate-desktop/DESCR b/x11/mate-desktop/DESCR new file mode 100644 index 00000000000..e6466cb7742 --- /dev/null +++ b/x11/mate-desktop/DESCR @@ -0,0 +1,10 @@ +mate-desktop contains the libmate-desktop library, the mate-about +program as well as some desktop-wide documents. + +The libmate-desktop library provides API shared by several applications +on the desktop, but that cannot live in the platform for various +reasons. There is no API or ABI guarantee, although we are doing our +best to provide stability. Documentation for the API is available with +gtk-doc. + +The mate-about program helps find which version of MATE is installed. diff --git a/x11/mate-desktop/Makefile b/x11/mate-desktop/Makefile new file mode 100644 index 00000000000..1702d7e8177 --- /dev/null +++ b/x11/mate-desktop/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2016/05/21 18:52:34 youri Exp $ + +.include "../../meta-pkgs/mate/Makefile.common" + +DISTNAME= mate-desktop-${MATE_VERSION} +CATEGORIES= x11 + +COMMENT= MATE desktop library + +TOOL_DEPENDS+= itstool-[0-9]*:../../textproc/itstool +TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 # for xmllint + +PKGCONFIG_OVERRIDE+= libmate-desktop/mate-desktop-2.0.pc.in + +REPLACE_SH+= tools/mate-gsettings-toggle + +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../devel/glib2/schemas.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../devel/dconf/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/gdk-pixbuf2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libunique/buildlink3.mk" +.include "../../x11/startup-notification/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/mate-desktop/PLIST b/x11/mate-desktop/PLIST new file mode 100644 index 00000000000..ba38caedd44 --- /dev/null +++ b/x11/mate-desktop/PLIST @@ -0,0 +1,235 @@ +@comment $NetBSD: PLIST,v 1.1 2016/05/21 18:52:34 youri Exp $ +bin/mate-about +bin/mate-color-select +include/mate-desktop-2.0/libmate-desktop/mate-aboutdialog.h +include/mate-desktop-2.0/libmate-desktop/mate-bg-crossfade.h +include/mate-desktop-2.0/libmate-desktop/mate-bg.h +include/mate-desktop-2.0/libmate-desktop/mate-colorbutton.h +include/mate-desktop-2.0/libmate-desktop/mate-colorsel.h +include/mate-desktop-2.0/libmate-desktop/mate-colorseldialog.h +include/mate-desktop-2.0/libmate-desktop/mate-dconf.h +include/mate-desktop-2.0/libmate-desktop/mate-desktop-item.h +include/mate-desktop-2.0/libmate-desktop/mate-desktop-thumbnail.h +include/mate-desktop-2.0/libmate-desktop/mate-desktop-utils.h +include/mate-desktop-2.0/libmate-desktop/mate-desktop.h +include/mate-desktop-2.0/libmate-desktop/mate-gsettings.h +include/mate-desktop-2.0/libmate-desktop/mate-rr-config.h +include/mate-desktop-2.0/libmate-desktop/mate-rr-labeler.h +include/mate-desktop-2.0/libmate-desktop/mate-rr.h +lib/libmate-desktop-2.la +lib/pkgconfig/mate-desktop-2.0.pc +man/man1/mate-about.1 +man/man1/mate-color-select.1 +man/man1/mpaste.1 +share/applications/mate-about.desktop +share/applications/mate-color-select.desktop +share/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml +share/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml +share/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml +share/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml +share/glib-2.0/schemas/org.mate.applications-browser.gschema.xml +share/glib-2.0/schemas/org.mate.applications-office.gschema.xml +share/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml +share/glib-2.0/schemas/org.mate.background.gschema.xml +share/glib-2.0/schemas/org.mate.debug.gschema.xml +share/glib-2.0/schemas/org.mate.file-views.gschema.xml +share/glib-2.0/schemas/org.mate.interface.gschema.xml +share/glib-2.0/schemas/org.mate.lockdown.gschema.xml +share/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml +share/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml +share/glib-2.0/schemas/org.mate.sound.gschema.xml +share/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml +share/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml +share/glib-2.0/schemas/org.mate.typing-break.gschema.xml +share/gtk-doc/html/mate-desktop/MateBG.html +share/gtk-doc/html/mate-desktop/MateDesktopItem.html +share/gtk-doc/html/mate-desktop/MateDesktopThumbnailFactory.html +share/gtk-doc/html/mate-desktop/MateRRLabeler.html +share/gtk-doc/html/mate-desktop/background.html +share/gtk-doc/html/mate-desktop/home.png +share/gtk-doc/html/mate-desktop/index.html +share/gtk-doc/html/mate-desktop/intro.html +share/gtk-doc/html/mate-desktop/left-insensitive.png +share/gtk-doc/html/mate-desktop/left.png +share/gtk-doc/html/mate-desktop/libmate.html +share/gtk-doc/html/mate-desktop/mate-desktop-Miscellaneous-Functions.html +share/gtk-doc/html/mate-desktop/mate-desktop-Miscellaneous-Thumbnail-Functions.html +share/gtk-doc/html/mate-desktop/mate-desktop-mate-rr-config.html +share/gtk-doc/html/mate-desktop/mate-desktop-mate-rr-crtc.html +share/gtk-doc/html/mate-desktop/mate-desktop-mate-rr-mode.html +share/gtk-doc/html/mate-desktop/mate-desktop-mate-rr-output.html +share/gtk-doc/html/mate-desktop/mate-desktop-mate-rr-screen.html +share/gtk-doc/html/mate-desktop/mate-desktop.devhelp2 +share/gtk-doc/html/mate-desktop/randr.html +share/gtk-doc/html/mate-desktop/right-insensitive.png +share/gtk-doc/html/mate-desktop/right.png +share/gtk-doc/html/mate-desktop/style.css +share/gtk-doc/html/mate-desktop/thumbnail.html +share/gtk-doc/html/mate-desktop/up-insensitive.png +share/gtk-doc/html/mate-desktop/up.png +share/icons/hicolor/16x16/apps/mate.png +share/icons/hicolor/22x22/apps/mate.png +share/icons/hicolor/24x24/apps/mate.png +share/icons/hicolor/256x256/apps/mate.png +share/icons/hicolor/32x32/apps/mate.png +share/icons/hicolor/48x48/apps/mate.png +share/icons/hicolor/scalable/apps/mate-symbolic.svg +share/libmate-desktop/pnp.ids +share/locale/af/LC_MESSAGES/mate-desktop.mo +share/locale/am/LC_MESSAGES/mate-desktop.mo +share/locale/an/LC_MESSAGES/mate-desktop.mo +share/locale/ar/LC_MESSAGES/mate-desktop.mo +share/locale/as/LC_MESSAGES/mate-desktop.mo +share/locale/ast/LC_MESSAGES/mate-desktop.mo +share/locale/az/LC_MESSAGES/mate-desktop.mo +share/locale/be/LC_MESSAGES/mate-desktop.mo +share/locale/be@latin/LC_MESSAGES/mate-desktop.mo +share/locale/bg/LC_MESSAGES/mate-desktop.mo +share/locale/bn/LC_MESSAGES/mate-desktop.mo +share/locale/bn_IN/LC_MESSAGES/mate-desktop.mo +share/locale/br/LC_MESSAGES/mate-desktop.mo +share/locale/bs/LC_MESSAGES/mate-desktop.mo +share/locale/ca/LC_MESSAGES/mate-desktop.mo +share/locale/ca@valencia/LC_MESSAGES/mate-desktop.mo +share/locale/cmn/LC_MESSAGES/mate-desktop.mo +share/locale/crh/LC_MESSAGES/mate-desktop.mo +share/locale/cs/LC_MESSAGES/mate-desktop.mo +share/locale/csb/LC_MESSAGES/mate-desktop.mo +share/locale/cv/LC_MESSAGES/mate-desktop.mo +share/locale/cy/LC_MESSAGES/mate-desktop.mo +share/locale/da/LC_MESSAGES/mate-desktop.mo +share/locale/de/LC_MESSAGES/mate-desktop.mo +share/locale/de_CH/LC_MESSAGES/mate-desktop.mo +share/locale/dz/LC_MESSAGES/mate-desktop.mo +share/locale/el/LC_MESSAGES/mate-desktop.mo +share/locale/en@shaw/LC_MESSAGES/mate-desktop.mo +share/locale/en_AU/LC_MESSAGES/mate-desktop.mo +share/locale/en_CA/LC_MESSAGES/mate-desktop.mo +share/locale/en_GB/LC_MESSAGES/mate-desktop.mo +share/locale/en_US/LC_MESSAGES/mate-desktop.mo +share/locale/eo/LC_MESSAGES/mate-desktop.mo +share/locale/es/LC_MESSAGES/mate-desktop.mo +share/locale/es_419/LC_MESSAGES/mate-desktop.mo +share/locale/es_AR/LC_MESSAGES/mate-desktop.mo +share/locale/es_CL/LC_MESSAGES/mate-desktop.mo +share/locale/es_CO/LC_MESSAGES/mate-desktop.mo +share/locale/es_CR/LC_MESSAGES/mate-desktop.mo +share/locale/es_DO/LC_MESSAGES/mate-desktop.mo +share/locale/es_EC/LC_MESSAGES/mate-desktop.mo +share/locale/es_ES/LC_MESSAGES/mate-desktop.mo +share/locale/es_MX/LC_MESSAGES/mate-desktop.mo +share/locale/es_NI/LC_MESSAGES/mate-desktop.mo +share/locale/es_PA/LC_MESSAGES/mate-desktop.mo +share/locale/es_PE/LC_MESSAGES/mate-desktop.mo +share/locale/es_PR/LC_MESSAGES/mate-desktop.mo +share/locale/es_SV/LC_MESSAGES/mate-desktop.mo +share/locale/es_US/LC_MESSAGES/mate-desktop.mo +share/locale/es_UY/LC_MESSAGES/mate-desktop.mo +share/locale/es_VE/LC_MESSAGES/mate-desktop.mo +share/locale/et/LC_MESSAGES/mate-desktop.mo +share/locale/eu/LC_MESSAGES/mate-desktop.mo +share/locale/fa/LC_MESSAGES/mate-desktop.mo +share/locale/fi/LC_MESSAGES/mate-desktop.mo +share/locale/fil/LC_MESSAGES/mate-desktop.mo +share/locale/fo/LC_MESSAGES/mate-desktop.mo +share/locale/fr/LC_MESSAGES/mate-desktop.mo +share/locale/fr_CA/LC_MESSAGES/mate-desktop.mo +share/locale/frp/LC_MESSAGES/mate-desktop.mo +share/locale/fur/LC_MESSAGES/mate-desktop.mo +share/locale/fy/LC_MESSAGES/mate-desktop.mo +share/locale/ga/LC_MESSAGES/mate-desktop.mo +share/locale/gd/LC_MESSAGES/mate-desktop.mo +share/locale/gl/LC_MESSAGES/mate-desktop.mo +share/locale/gu/LC_MESSAGES/mate-desktop.mo +share/locale/ha/LC_MESSAGES/mate-desktop.mo +share/locale/he/LC_MESSAGES/mate-desktop.mo +share/locale/hi/LC_MESSAGES/mate-desktop.mo +share/locale/hr/LC_MESSAGES/mate-desktop.mo +share/locale/hu/LC_MESSAGES/mate-desktop.mo +share/locale/hy/LC_MESSAGES/mate-desktop.mo +share/locale/ia/LC_MESSAGES/mate-desktop.mo +share/locale/id/LC_MESSAGES/mate-desktop.mo +share/locale/ig/LC_MESSAGES/mate-desktop.mo +share/locale/is/LC_MESSAGES/mate-desktop.mo +share/locale/it/LC_MESSAGES/mate-desktop.mo +share/locale/ja/LC_MESSAGES/mate-desktop.mo +share/locale/jv/LC_MESSAGES/mate-desktop.mo +share/locale/ka/LC_MESSAGES/mate-desktop.mo +share/locale/kk/LC_MESSAGES/mate-desktop.mo +share/locale/km/LC_MESSAGES/mate-desktop.mo +share/locale/kn/LC_MESSAGES/mate-desktop.mo +share/locale/ko/LC_MESSAGES/mate-desktop.mo +share/locale/ks/LC_MESSAGES/mate-desktop.mo +share/locale/ku/LC_MESSAGES/mate-desktop.mo +share/locale/ku_IQ/LC_MESSAGES/mate-desktop.mo +share/locale/ky/LC_MESSAGES/mate-desktop.mo +share/locale/la/LC_MESSAGES/mate-desktop.mo +share/locale/lb/LC_MESSAGES/mate-desktop.mo +share/locale/li/LC_MESSAGES/mate-desktop.mo +share/locale/lo/LC_MESSAGES/mate-desktop.mo +share/locale/lt/LC_MESSAGES/mate-desktop.mo +share/locale/lv/LC_MESSAGES/mate-desktop.mo +share/locale/mai/LC_MESSAGES/mate-desktop.mo +share/locale/mg/LC_MESSAGES/mate-desktop.mo +share/locale/mi/LC_MESSAGES/mate-desktop.mo +share/locale/mk/LC_MESSAGES/mate-desktop.mo +share/locale/ml/LC_MESSAGES/mate-desktop.mo +share/locale/mn/LC_MESSAGES/mate-desktop.mo +share/locale/mr/LC_MESSAGES/mate-desktop.mo +share/locale/ms/LC_MESSAGES/mate-desktop.mo +share/locale/my/LC_MESSAGES/mate-desktop.mo +share/locale/nah/LC_MESSAGES/mate-desktop.mo +share/locale/nb/LC_MESSAGES/mate-desktop.mo +share/locale/nds/LC_MESSAGES/mate-desktop.mo +share/locale/ne/LC_MESSAGES/mate-desktop.mo +share/locale/nl/LC_MESSAGES/mate-desktop.mo +share/locale/nn/LC_MESSAGES/mate-desktop.mo +share/locale/nqo/LC_MESSAGES/mate-desktop.mo +share/locale/nso/LC_MESSAGES/mate-desktop.mo +share/locale/oc/LC_MESSAGES/mate-desktop.mo +share/locale/om/LC_MESSAGES/mate-desktop.mo +share/locale/or/LC_MESSAGES/mate-desktop.mo +share/locale/pa/LC_MESSAGES/mate-desktop.mo +share/locale/pl/LC_MESSAGES/mate-desktop.mo +share/locale/ps/LC_MESSAGES/mate-desktop.mo +share/locale/pt/LC_MESSAGES/mate-desktop.mo +share/locale/pt_BR/LC_MESSAGES/mate-desktop.mo +share/locale/ro/LC_MESSAGES/mate-desktop.mo +share/locale/ru/LC_MESSAGES/mate-desktop.mo +share/locale/rw/LC_MESSAGES/mate-desktop.mo +share/locale/sc/LC_MESSAGES/mate-desktop.mo +share/locale/sco/LC_MESSAGES/mate-desktop.mo +share/locale/si/LC_MESSAGES/mate-desktop.mo +share/locale/sk/LC_MESSAGES/mate-desktop.mo +share/locale/sl/LC_MESSAGES/mate-desktop.mo +share/locale/so/LC_MESSAGES/mate-desktop.mo +share/locale/sq/LC_MESSAGES/mate-desktop.mo +share/locale/sr/LC_MESSAGES/mate-desktop.mo +share/locale/sr@latin/LC_MESSAGES/mate-desktop.mo +share/locale/sv/LC_MESSAGES/mate-desktop.mo +share/locale/sw/LC_MESSAGES/mate-desktop.mo +share/locale/ta/LC_MESSAGES/mate-desktop.mo +share/locale/te/LC_MESSAGES/mate-desktop.mo +share/locale/tg/LC_MESSAGES/mate-desktop.mo +share/locale/th/LC_MESSAGES/mate-desktop.mo +share/locale/tk/LC_MESSAGES/mate-desktop.mo +share/locale/tl/LC_MESSAGES/mate-desktop.mo +share/locale/tr/LC_MESSAGES/mate-desktop.mo +share/locale/ts/LC_MESSAGES/mate-desktop.mo +share/locale/tt/LC_MESSAGES/mate-desktop.mo +share/locale/ug/LC_MESSAGES/mate-desktop.mo +share/locale/uk/LC_MESSAGES/mate-desktop.mo +share/locale/ur/LC_MESSAGES/mate-desktop.mo +share/locale/ur_PK/LC_MESSAGES/mate-desktop.mo +share/locale/uz/LC_MESSAGES/mate-desktop.mo +share/locale/uz@cyrillic/LC_MESSAGES/mate-desktop.mo +share/locale/vi/LC_MESSAGES/mate-desktop.mo +share/locale/wa/LC_MESSAGES/mate-desktop.mo +share/locale/xh/LC_MESSAGES/mate-desktop.mo +share/locale/yi/LC_MESSAGES/mate-desktop.mo +share/locale/yo/LC_MESSAGES/mate-desktop.mo +share/locale/zh_CN/LC_MESSAGES/mate-desktop.mo +share/locale/zh_HK/LC_MESSAGES/mate-desktop.mo +share/locale/zh_TW/LC_MESSAGES/mate-desktop.mo +share/locale/zu/LC_MESSAGES/mate-desktop.mo +share/mate-about/mate-version.xml diff --git a/x11/mate-desktop/buildlink3.mk b/x11/mate-desktop/buildlink3.mk new file mode 100644 index 00000000000..ac3afa9bcc3 --- /dev/null +++ b/x11/mate-desktop/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/05/21 18:52:34 youri Exp $ +# + +BUILDLINK_TREE+= mate-desktop + +.if !defined(MATE_DESKTOP_BUILDLINK3_MK) +MATE_DESKTOP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.mate-desktop+= mate-desktop>=1.14.0 +BUILDLINK_PKGSRCDIR.mate-desktop?= ../../x11/mate-desktop + +.include "../../devel/dconf/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/gdk-pixbuf2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/startup-notification/buildlink3.mk" +.endif # MATE_DESKTOP_BUILDLINK3_MK + +BUILDLINK_TREE+= -mate-desktop diff --git a/x11/mate-desktop/distinfo b/x11/mate-desktop/distinfo new file mode 100644 index 00000000000..af9ab0562c4 --- /dev/null +++ b/x11/mate-desktop/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/05/21 18:52:34 youri Exp $ + +SHA1 (mate-desktop-1.14.0.tar.xz) = 96bd13136a3b49c6abf43eafe9c28107916d6c21 +RMD160 (mate-desktop-1.14.0.tar.xz) = 45e55b2528d388ba89d2580c7d50b747da126328 +SHA512 (mate-desktop-1.14.0.tar.xz) = ae41fd5ad1f48e64650a951ff12e44e63846361c37463e7a2c72fbe88729761315ebdc7dc729f80e91fb7d8e8e6a4cd4c9464de6ba26dde0429caa017739731d +Size (mate-desktop-1.14.0.tar.xz) = 825440 bytes +SHA1 (patch-libmate-desktop_mate-desktop-thumbnail.c) = 31320a4a6db879f633f684a8e91f57c6b5f9c608 diff --git a/x11/mate-desktop/patches/patch-libmate-desktop_mate-desktop-thumbnail.c b/x11/mate-desktop/patches/patch-libmate-desktop_mate-desktop-thumbnail.c new file mode 100644 index 00000000000..f705918e944 --- /dev/null +++ b/x11/mate-desktop/patches/patch-libmate-desktop_mate-desktop-thumbnail.c @@ -0,0 +1,34 @@ +$NetBSD: patch-libmate-desktop_mate-desktop-thumbnail.c,v 1.1 2016/05/21 18:52:35 youri Exp $ + +* for the case time_t != long + +--- libmate-desktop/mate-desktop-thumbnail.c.orig 2014-02-09 16:53:41.000000000 +0000 ++++ libmate-desktop/mate-desktop-thumbnail.c +@@ -36,6 +36,9 @@ + #include <string.h> + #include <glib.h> + #include <stdio.h> ++#ifdef HAVE_STDINT_H ++#include <stdint.h> ++#endif + + #define GDK_PIXBUF_ENABLE_BACKEND + #include <gdk-pixbuf/gdk-pixbuf.h> +@@ -1513,7 +1516,7 @@ mate_desktop_thumbnail_factory_save_thum + } + close (tmp_fd); + +- g_snprintf (mtime_str, 21, "%ld", original_mtime); ++ g_snprintf (mtime_str, 21, "%jd", (intmax_t)original_mtime); + width = gdk_pixbuf_get_option (thumbnail, "tEXt::Thumb::Image::Width"); + height = gdk_pixbuf_get_option (thumbnail, "tEXt::Thumb::Image::Height"); + +@@ -1624,7 +1627,7 @@ mate_desktop_thumbnail_factory_create_fa + } + close (tmp_fd); + +- g_snprintf (mtime_str, 21, "%ld", mtime); ++ g_snprintf (mtime_str, 21, "%jd", (intmax_t)mtime); + pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1); + saved_ok = gdk_pixbuf_save (pixbuf, + tmp_path, |