pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libhandy1: Import libhandy-1.2.0 as wip/libhandy1



Module Name:	pkgsrc-wip
Committed By:	Dan CÃirnat <cirnatdan%NetBSD.org@localhost>
Pushed By:	cirnatdan
Date:		Wed Mar 24 13:15:24 2021 +0100
Changeset:	b8334e970c58624d3f98b518f2520f9d815aeb6b

Added Files:
	libhandy1/DESCR
	libhandy1/Makefile
	libhandy1/PLIST
	libhandy1/buildlink3.mk
	libhandy1/distinfo

Log Message:
libhandy1: Import libhandy-1.2.0 as wip/libhandy1

Changes since libhandy-1.0.1 (devel/libhandy1)
=============================================

=============
Version 1.2.0
=============

- Fix deprecation warnings when including handy.h.
- Fix warnings with -Wmissing-field-initializers.
- Fix warnings with --buildtype=optimized.
- Fix a crash when subclassing HdyPreferencesGroup.
- Fix a build reproducibility issue by using basenames rather than full
  paths in generated sources.
- HdyAvatar:
  - Fix leaking a GTask.
  - Fix leaking HdyAvatarIcon.
- HdyCarousel:
  - Fix positioning non-expanded children in RTL.
- HdyDeck and HdyLeaflet:
  - Fix touchpad swipes when the widget isn't at 0,0.
- HdyFlap:
  - Prevent focusing obscured content when modal.
  - Redraw when allocating to fix glitches when the flap child resizes
    while the shadow is visible.
- HdyStatusPage:
  - Fix the page margins when missing one of the children.
- HdySwipeTracker:
  - Fix wrapping back to the first page when reaching the last one on
    long swipes.
- HdyTabBar:
  - Fix drag threshold calculation.
- Translation updates:
  - Brazilian Portuguese
  - German
  - Spanish
  - Swedish

==============
Version 1.1.90
==============

- Add HdyFlap, allowing to have adaptive tab bars and header bars.
- Add HdyTabBar and HdyTabView, offering a modern tab bar.
- Add HdyStatusPage, a convenient widget for welcome pages, empty state
  pages, or error pages.
- HdyAvatar:
  - Add the loadable-icon property to allow setting a GLoadableIcon as
    the avatar picture.
  - Deprecate hdy_avatar_set_image_load_func() in favor of the
    loadable-icon property.
  - Add hdy_avatar_draw_to_pixbuf() and
    hdy_avatar_draw_to_pixbuf_async() to export the avatar as a
    GdkPixbuf.
  - Take CSS sizing properties into account.
- HdyPreferencesWindow:
  - Use HdyStatusPage as the empty search result page to standardize the
    page's look.
- HdyPreferencesPage:
  - Propagate the natural height of the scrolled content.
  - Make the scrolled window automatically follow the focus.
  - Implement the margins via CSS so applications can override them.
  - Make the margins adapt to the available width.
- HdyPreferencesGroup:
  - Allow navigating out of the listbox.
  - Wrap labels on words or characters, preventing long words from
    breaking the UI.
  - Take CSS sizing properties into account.
  - Implement the margins via CSS so applications can override them.
  - Refine the spacing.
  - Protect against gtk_widget_show_all().
  - Fix a leak when destroying the widget.
  - Add accessibility relationships for the title.
- HdyClamp:
  - Fix measuring the widget even without a child.
  - Take CSS sizing properties into account.
- HdyActionRow:
  - Add the title-lines and subtitle-lines properties to set the number
    of lines the title and subtitle should be limited to, 0 giving an
    unlimited lines number.
  - Wrap labels on words or characters, preventing long words from
    breaking the UI.
  - Document that hdy_action_row_get_icon_name() doesn't transfer string
    ownership.
  - Add accessibility relationships for the title.
- HdyComboRow:
  - Fix showing the checkmark on the right item.
  - Use object-select-symbolic instead of emblem-ok-symbolic as the
    selected item checkmark icon, as it is more semantically correct.
- HdySwipeTracker:
  - Add the allow-long-swipes property to allow swiping more than one
    snap point at a time.
  - Calculate the velocity with a scroll history to gain precision.
  - Fix coordinate transformation for scrolling.
  - Don't leak the current event.
- HdyCarousel:
  - Add the allow-long-swipes property to allow swiping more than one
    child at a time.
  - Fix a size invalidation issue.
- HdyDeck:
  - Add the hdy_deck_prepend(), hdy_deck_insert_child_after(), and
    hdy_deck_reorder_child_after() methods.
  - Increase the edge swipe area from 16px to 32px.
  - Fix the ntural size calculation.
- HdyLeaflet:
  - Add the hdy_leaflet_prepend(), hdy_leaflet_insert_child_after(), and
    hdy_leaflet_reorder_child_after() methods.
  - Increase the edge swipe area from 16px to 32px.
- HdyKeypad:
  - Beep when typing invalid characters.
  - Allow pasting and erasing text in the entry.
  - Fix allowing + when symbols are visible instead of hidden.
- Transiation updates:
  - Brazilian Portuguese
  - Catalan
  - Finnish
  - Friulian
  - Indonesian
  - Polish
  - Portuguese
  - Romanian
  - Serbian
  - Swedish
  - Ukrainian

=============
Version 1.0.3
=============

- Fix build warnings with newer GCC.
- HdyActionRow:
  - Clarify hdy_action_row_get_icon_name() documentation.
- HdyCarousel:
  - Fix drawing cache invalidation on resize.
- HdyComboRow:
  - Use the right checkmark icon.
- HdyLeaflet and HdyDeck:
  - Increase the edge swipe area size.
- HdyKeypad:
  - Fix typing the '+' symbol.
- HdyPreferencesGroup:
  - Fix a memory leak when destroying the widget.
  - Don't show empty title and description when using
    gtk_widget_show_all().
- HdySwipeTracker:
  - Correctly transform widget coordinates for touchpad swipes.
  - Fix a memory leak.

=============
Version 1.0.2
=============

- Fix gtk-doc install path.
- Code cleanups.
- HdyCarousel:
  - Fix pages not being drawn until scrolled on X11.
- HdyComboRow:
  - Fix test failures on x86.
- HdyLeaflet and HdyDeck:
  - Fix transition shadow on HiDPI.
- HdySwipeTracker:
  - Fix touchpad swipes not working after pressing a GtkButton.
  - Fix swipes in nested swipeable widgets when started from a
    GtkButton.
- HdyViewSwitcherTitle:
  - Mark title and subtitle properties as translatable for Glade.
- Translation updates:
  - Catalan

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b8334e970c58624d3f98b518f2520f9d815aeb6b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libhandy1/DESCR         |  2 ++
 libhandy1/Makefile      | 29 +++++++++++++++++++++
 libhandy1/PLIST         | 68 +++++++++++++++++++++++++++++++++++++++++++++++++
 libhandy1/buildlink3.mk | 15 +++++++++++
 libhandy1/distinfo      |  6 +++++
 5 files changed, 120 insertions(+)

diffs:
diff --git a/libhandy1/DESCR b/libhandy1/DESCR
new file mode 100644
index 0000000000..26cec5352e
--- /dev/null
+++ b/libhandy1/DESCR
@@ -0,0 +1,2 @@
+The aim of the Handy library is to help with developing UI for mobile devices
+using GTK/GNOME.
diff --git a/libhandy1/Makefile b/libhandy1/Makefile
new file mode 100644
index 0000000000..0d677932f2
--- /dev/null
+++ b/libhandy1/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.2 2020/11/11 08:50:40 nia Exp $
+
+DISTNAME=	libhandy-1.2.0
+PKGNAME=	${DISTNAME:S/libhandy/libhandy1/1}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libhandy/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.gnome.org/GNOME/libhandy/
+COMMENT=	Building blocks for modern adaptive GNOME apps
+LICENSE=	gnu-lgpl-v2.1
+
+USE_TOOLS+=	pkg-config xgettext
+
+# workaround for build failure
+# https://gitlab.gnome.org/GNOME/json-glib/issues/35
+# MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/output/src
+
+PYTHON_FOR_BUILD_ONLY=	tool
+
+PKGCONFIG_OVERRIDE_STAGE=	pre-install
+PKGCONFIG_OVERRIDE+=		output/meson-private/libhandy-1.pc
+
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libhandy1/PLIST b/libhandy1/PLIST
new file mode 100644
index 0000000000..51f678fa6a
--- /dev/null
+++ b/libhandy1/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD$
+bin/handy-1-demo
+include/libhandy-1/handy.h
+include/libhandy-1/hdy-action-row.h
+include/libhandy-1/hdy-animation.h
+include/libhandy-1/hdy-application-window.h
+include/libhandy-1/hdy-avatar.h
+include/libhandy-1/hdy-carousel-indicator-dots.h
+include/libhandy-1/hdy-carousel-indicator-lines.h
+include/libhandy-1/hdy-carousel.h
+include/libhandy-1/hdy-clamp.h
+include/libhandy-1/hdy-combo-row.h
+include/libhandy-1/hdy-deck.h
+include/libhandy-1/hdy-enum-value-object.h
+include/libhandy-1/hdy-enums.h
+include/libhandy-1/hdy-expander-row.h
+include/libhandy-1/hdy-flap.h
+include/libhandy-1/hdy-header-bar.h
+include/libhandy-1/hdy-header-group.h
+include/libhandy-1/hdy-keypad.h
+include/libhandy-1/hdy-leaflet.h
+include/libhandy-1/hdy-main.h
+include/libhandy-1/hdy-navigation-direction.h
+include/libhandy-1/hdy-preferences-group.h
+include/libhandy-1/hdy-preferences-page.h
+include/libhandy-1/hdy-preferences-row.h
+include/libhandy-1/hdy-preferences-window.h
+include/libhandy-1/hdy-search-bar.h
+include/libhandy-1/hdy-squeezer.h
+include/libhandy-1/hdy-status-page.h
+include/libhandy-1/hdy-swipe-group.h
+include/libhandy-1/hdy-swipe-tracker.h
+include/libhandy-1/hdy-swipeable.h
+include/libhandy-1/hdy-tab-bar.h
+include/libhandy-1/hdy-tab-view.h
+include/libhandy-1/hdy-title-bar.h
+include/libhandy-1/hdy-types.h
+include/libhandy-1/hdy-value-object.h
+include/libhandy-1/hdy-version.h
+include/libhandy-1/hdy-view-switcher-bar.h
+include/libhandy-1/hdy-view-switcher-title.h
+include/libhandy-1/hdy-view-switcher.h
+include/libhandy-1/hdy-window-handle.h
+include/libhandy-1/hdy-window.h
+lib/girepository-1.0/Handy-1.typelib
+lib/libhandy-1.so
+lib/libhandy-1.so.0
+lib/pkgconfig/libhandy-1.pc
+share/gir-1.0/Handy-1.gir
+share/locale/ca/LC_MESSAGES/libhandy.mo
+share/locale/de/LC_MESSAGES/libhandy.mo
+share/locale/en_GB/LC_MESSAGES/libhandy.mo
+share/locale/es/LC_MESSAGES/libhandy.mo
+share/locale/eu/LC_MESSAGES/libhandy.mo
+share/locale/fi/LC_MESSAGES/libhandy.mo
+share/locale/fr/LC_MESSAGES/libhandy.mo
+share/locale/fur/LC_MESSAGES/libhandy.mo
+share/locale/id/LC_MESSAGES/libhandy.mo
+share/locale/pl/LC_MESSAGES/libhandy.mo
+share/locale/pt/LC_MESSAGES/libhandy.mo
+share/locale/pt_BR/LC_MESSAGES/libhandy.mo
+share/locale/ro/LC_MESSAGES/libhandy.mo
+share/locale/sl/LC_MESSAGES/libhandy.mo
+share/locale/sr/LC_MESSAGES/libhandy.mo
+share/locale/sv/LC_MESSAGES/libhandy.mo
+share/locale/uk/LC_MESSAGES/libhandy.mo
+share/vala/vapi/libhandy-1.deps
+share/vala/vapi/libhandy-1.vapi
diff --git a/libhandy1/buildlink3.mk b/libhandy1/buildlink3.mk
new file mode 100644
index 0000000000..3f0747c8f0
--- /dev/null
+++ b/libhandy1/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/10 17:45:05 nia Exp $
+
+BUILDLINK_TREE+=	libhandy1
+
+.if !defined(LIBHANDY1_BUILDLINK3_MK)
+LIBHANDY1_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libhandy1+=	libhandy1>=1.0
+BUILDLINK_ABI_DEPENDS.libhandy1?=	libhandy1>=1.0
+BUILDLINK_PKGSRCDIR.libhandy1?=		../../devel/libhandy1
+
+.include "../../x11/gtk3/buildlink3.mk"
+.endif	# LIBHANDY1_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libhandy1
diff --git a/libhandy1/distinfo b/libhandy1/distinfo
new file mode 100644
index 0000000000..44d2f03962
--- /dev/null
+++ b/libhandy1/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/10 17:45:05 nia Exp $
+
+SHA1 (libhandy-1.2.0.tar.xz) = fb9f5429526c436ed9d48692da16651d3c07f11e
+RMD160 (libhandy-1.2.0.tar.xz) = 9bcac84bc6ca2b09ff4279b9e3dbc4395500112a
+SHA512 (libhandy-1.2.0.tar.xz) = 34f84479fcef6fdd3b46a03a0b4806887708ce8295461eae655e34febdec5b62de56e34e58696545f086be8de1e2c0ac13a61a4bbe0a945a87e7d8e860a5f919
+Size (libhandy-1.2.0.tar.xz) = 481120 bytes


Home | Main Index | Thread Index | Old Index