Accepting request 921990 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/921990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libadwaita?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-09-29 18:18:54 +00:00 committed by Git OBS Bridge
commit e15acca170
6 changed files with 142 additions and 12 deletions

View File

@ -3,8 +3,8 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.gnome.org/GNOME/libadwaita.git</param>
<param name="scm">git</param>
<param name="revision">1.0.0-alpha.1</param>
<param name="versionformat">1.0.0~alpha.1</param>
<param name="revision">1.0.0.alpha.3</param>
<param name="versionformat">1.0.0~alpha.3</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc7d589e1541f0014f13b7406473786acf4ba762edae651a3c44f1639241c227
size 2253836

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cb2ca91d94f46bd8b678eac4b027e70c15496f251e6999f766d2b318914a351
size 2448908

View File

@ -1,3 +1,132 @@
-------------------------------------------------------------------
Tue Sep 28 11:42:39 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.0.0~alpha.3:
+ Depend on GTK 4.4.0.
+ Add a GtkInspector extension for simulating different system
appearance settings.
+ Introduce AdwStyleManager for managing color schemes
(light/dark) and high contrast mode.
+ Introduce AdwApplication to handle automatic initialization and
style loading.
+ Avatar:
- Replace adw_avatar_draw_to_pixbuf() with
adw_avatar_draw_to_texture() that returns a GdkTexture
instead.
- Remove the size parameter, use the avatar's current size
instead.
+ Carousel: Allow to shrink carousel if children are expanded.
+ Clamp: Fix measuring with for_size = -1.
+ Combo Row: Have a .combo style class.
+ Leaflet:
- Remove hhomogeneous-folded, hhomogeneous-unfolded,
vhomogeneous-folded and vhomogeneous-unfolded properties.
Assume non-homogeneous layout when unfolded and homogeneous
when folded.
- Add a single homogeneous property that corresponds to folded
state and opposite orientation.
- Remove interpolate-size, assume it's set to true.
- Set the fold threshold policy to MINIMUM by default.
+ Preferences Group:
- Fix default visibility of the internal list box.
- Allow markup on title and description.
+ Squeezer
- Fix the child switch threshold in vertical orientation.
- Add switch-threshold-policy, matching AdwFlap and AdwLeaflet.
- Add allow-none property, allowing to hide the last child as
well.
+ Status Page: Make icon optional.
+ Tab View: Fix model updates when page selection changes.
+ View Switchers:
- Remove AdwViewSwitcher:narrow-ellipsize.
- Remove the policy property from AdwViewSwitcherBar and
AdwViewSwitcherTitle.
- Remove the auto policy, applications can use two view
switchers and an AdwSqueezer instead.
- Switch to narrow layouts earlier.
+ Window and Application Window: Rename the child property to
content to avoid the name clash with GtkWindow:child.
+ Stylesheet:
- New style classes:
. headerbar.flat to remove headerbar's background and border.
. separator.spacer to create spacing in toolbars or header
bars.
. button.pill for prominent standalone buttons, for example
on status pages.
. statuspage.compact to make AdwStatusPage suitable for
contexts such as sidebars.
. .numeric as an easy way to enable tabular figures in a
label.
+ Use flat buttons by default in header bars and action bars,
matching existing .toolbar.
+ Use stripes for header bars in .devel windows instead of cogs
to make it work better with split header bars and flat header
bars.
+ Updated translations.
- Pass -Dinspector=false to meson: do not build the GTK Inspector
right now.
-------------------------------------------------------------------
Tue Aug 17 15:50:33 UTC 2021 - Florian "spirit" <sp1ritCS@protonmail.com>
- Update to version 1.0.0~alpha.2:
+ Stylesheet:
* Large redesign to make it flat and recolorable.
* Replace @theme_suggested_bg_color by @accent_bg_color and
@accent_color.
* Replace @theme_suggested_fg_color by @accent_fg_color.
* Add @destructive_bg_color, @destructive_fg_color and
@destructive_color.
* Add the .accent style class to give the accent color to labels.
* Add the palette colors in the form @hue_n, with hue being blue,
green, yellow, orange, red, purple, brown, light and dark, and n
being a darkness level from 1 to 5.
+ View Switcher:
* Add the AdwViewStack widget to represent views.
* Use AdwViewStack instead of GtkStack.
* Display a badge on buttons to display the pages' value from the
AdwViewStack:badge-number property.
* Keep displaying needs-attention when active.
+ Preferences Page:
* Add the name property.
+ Preferences Window:
* Add the visible-child and visible-child-name properties.
+ Leaflet and Flap:
* Add the AdwFoldThresholdPolicy enumeration.
* Add the fold-threshold-policy property to determine the size at
which the leaflet or flap should fold.
+ Leaflet:
* Fix a crash by NULL-checking a pointer before dereferencing it when
there is no children.
* Annotate the values of the visible-child and visible-child-name
properties as nullable in their accessors.
+ Action Row and Expander Row:
* Annotate the value of the icon-name property as nullable in its
accessors.
+ Tab View:
* Fix updating the model at the right time after attaching pages.
* Fix emitting notify::selected-page after the model has been
completely updated.
* Prevent pages from receiving pointer events during drag and drop.
+ Combo Row:
* Fix subtitles when the model is empty and when using expressions.
+ Carousel:
* Fix a crash with 2 overlapping animations.
* Fix a crash when scrolling when there is no children.
+ Avatar:
* Fix memory leaks in adw_avatar_draw_to_pixbuf().
* Fix a memory leak in the avatar demo.
+ Fix crashes by freeing shaders at the right time.
+ Specify the translation domain in UI files to avoid leaving them
unlocalized.
+ Fix cross-compilation with -Dgtk_doc=true.
+ Stop accepting NULL for most string properties, use the empty string
instead.
+ Translation updates:
* German
* Indonesian
* Chinese (China)
-------------------------------------------------------------------
Thu Jun 3 10:19:04 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +1,5 @@
name: libadwaita
version: 1.0.0~alpha.1
mtime: 1622199020
commit: faa9f26a2b8a89923c0b83d42e84078f672c19ec
version: 1.0.0~alpha.3
mtime: 1632818062
commit: 40c19ab2591763a482ebc79c82f1da32eea3bab6

View File

@ -17,19 +17,19 @@
Name: libadwaita
Version: 1.0.0~alpha.1
Version: 1.0.0~alpha.3
Release: 0
Summary: Adwaita library for mobile device UIs using GTK/GNOME
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/libadwaita
Source: %{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: meson >= 0.53.0
BuildRequires: sassc
BuildRequires: vala
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtk4) >= 4.4.0
%lang_package
%description
@ -66,7 +66,8 @@ This package provides the GObject Introspection bindings for Adwaita.
%build
%meson \
-Dexamples=false \
-Dintrospection=enabled
-Dintrospection=enabled \
-Dinspector=false
%meson_build
%install