SHA256
1
0
forked from pool/libwnck

Accepting request 67432 from GNOME:Next

thanks

OBS-URL: https://build.opensuse.org/request/show/67432
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libwnck?expand=0&rev=63
This commit is contained in:
Vincent Untz 2011-04-21 09:01:01 +00:00 committed by Git OBS Bridge
parent b2404b65e8
commit 9c5a1aa430
5 changed files with 69 additions and 25 deletions

View File

@ -1,3 +1,3 @@
libwnck-1-22
libwnck-3-0
obsoletes "libwnck-<targettype> <= <version>"
provides "libwnck-<targettype> = <version>"

View File

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

3
libwnck-3.0.0.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Wed Apr 6 11:04:04 UTC 2011 - fcrozat@novell.com
- Update to version 3.0.0:
+ Updated translations.
- Changes from version 2.91.92:
+ Require GTK+ 3.0
- Changes from version 2.91.90:
+ Fixes:
- Port widgets to GtkStyleContext
- Improve geometry management of WnckPager
- Add switching workspace on scroll events to WnckPager
- Fix crash when fetching some icons
- Make most of the code not assume the display is the
default one
- Code cleanups (Vincent)
+ Misc:
- Add high-level documentation, with hints and examples (Vincent)
- Build fixes (Vincent)
- Changes from version 2.91.6:
+ Major changes:
- Port to GTK+ 3
- Enforce single include for libwnck
+ API Changes:
- Drop previously deprecated API:
wnck_screen_get_workspace_index,
wnck_screen_get_workspace_neighbor, wnck_pager_set_screen,
wnck_tasklist_set_minimum_width,
wnck_tasklist_get_minimum_width,
wnck_tasklist_set_minimum_height,
wnck_tasklist_get_minimum_height,
wnck_tasklist_set_screen, wnck_gtk_window_set_dock_type,
wnck_create_window_action_menu
- Remove screen argument from
wnck_pager_new and wnck_tasklist_new
+ Fixes:
- Fix link errors for wnckprop
- Start removing assumptions where default display was used
- Add missing introspection annotation
- Plug memory leak
+ Updated translations.
- Rename libwnck-1-22 to libwnck-3-0 after library name change.
- Change gtk2-devel BuildRequires to gtk3-devel.
- Remove explicit glib2-devel and gtk2-devel Requires in devel
package: the right ones will be added the pkgconfig() way.
- Do not add -fno-strict-aliasing to CFLAGS anymore, it's not
needed.
-------------------------------------------------------------------
Mon Mar 21 16:56:00 UTC 2011 - coolo@novell.com

View File

@ -18,12 +18,12 @@
Name: libwnck
Version: 2.30.6
Release: 6
Version: 3.0.0
Release: 1
License: LGPLv2.1+
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1)
%define libwnck-1_name 22
%define libwnck-3_name 0
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
Source: %{name}-%{version}.tar.bz2
@ -31,11 +31,11 @@ Source1: %{name}_spec-update.sh
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: gtk2-devel
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: intltool
BuildRequires: translation-update-upstream
Recommends: %{name}-lang
Requires: libwnck-1-22 = %{version}
Requires: libwnck-3-0 = %{version}
# bug437293
%ifarch ppc64
Obsoletes: libwnck-64bit
@ -47,7 +47,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
%package -n libwnck-1-22
%package -n libwnck-3-0
License: LGPLv2.1+
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
@ -58,7 +58,7 @@ Obsoletes: libwnck-64bit
%endif
#
%description -n libwnck-1-22
%description -n libwnck-3-0
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
@ -67,8 +67,6 @@ License: GPLv2+
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: glib2-devel
Requires: gtk2-devel
# bug437293
%ifarch ppc64
Obsoletes: libwnck-devel-64bit
@ -87,11 +85,9 @@ translation-update-upstream
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
%build
# needed for libwnck-2.19.4:
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure\
--disable-static
%__make %{?jobs:-j%jobs}
--disable-static
%__make %{?jobs:-j%jobs} V=1
%install
%makeinstall
@ -99,15 +95,15 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
rm %{buildroot}%{_libdir}/*.*a
%find_lang %{name}
%find_lang %{name}-3.0
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%post -n libwnck-1-22 -p /sbin/ldconfig
%post -n libwnck-3-0 -p /sbin/ldconfig
%postun -n libwnck-1-22 -p /sbin/ldconfig
%postun -n libwnck-3-0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -115,19 +111,19 @@ rm -rf %{buildroot}
%{_bindir}/wnck-urgency-monitor
%{_bindir}/wnckprop
%files lang -f %{name}.lang
%files lang -f %{name}-3.0.lang
%files -n libwnck-1-22
%files -n libwnck-3-0
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/Wnck-1.0.typelib
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
%files devel
%defattr(-,root,root)
%{_includedir}/libwnck-1.0
%{_includedir}/libwnck-3.0
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_datadir}/gir-1.0/Wnck-1.0.gir
%{_datadir}/gir-1.0/Wnck-3.0.gir
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html