Accepting request 69191 from GNOME:Factory
New package for GNOME 3 (mostly a copy): gtk2 branch of libwnch, as libwnck now tracks gtk3 (see sr#69120) OBS-URL: https://build.opensuse.org/request/show/69191 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwnck?expand=0&rev=53
This commit is contained in:
commit
3967a87d70
@ -1,3 +1,3 @@
|
|||||||
libwnck-1-22
|
libwnck-3-0
|
||||||
obsoletes "libwnck-<targettype> <= <version>"
|
obsoletes "libwnck-<targettype> <= <version>"
|
||||||
provides "libwnck-<targettype> = <version>"
|
provides "libwnck-<targettype> = <version>"
|
||||||
|
@ -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
3
libwnck-3.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc34093ad185bb5086e97226f36157a6dd205623d32bdef71261a8b248a41f15
|
||||||
|
size 750209
|
@ -1,3 +1,61 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 21 11:04:32 CEST 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Add missing pkgconfig(libstartup-notification-1.0) BuildRequires.
|
||||||
|
- Move the small utilities to a tools subpackage, and remove the
|
||||||
|
libwnck binary package.
|
||||||
|
- Add libwnck Provides/Obsoletes to libwnck-3-0; this will also
|
||||||
|
help make the lang package installable.
|
||||||
|
- Change the libwnck Requires in devel package to libwnck-3-0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
+ Misc:
|
||||||
|
- Add high-level documentation, with hints and examples
|
||||||
|
- Build fixes
|
||||||
|
- 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
|
Mon Mar 21 16:56:00 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
65
libwnck.spec
65
libwnck.spec
@ -18,12 +18,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libwnck
|
Name: libwnck
|
||||||
Version: 2.30.6
|
Version: 3.0.0
|
||||||
Release: 6
|
Release: 1
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
||||||
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1)
|
#%(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)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -31,26 +31,22 @@ Source1: %{name}_spec-update.sh
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gtk2-devel
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
Recommends: %{name}-lang
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
Requires: libwnck-1-22 = %{version}
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libwnck-64bit
|
|
||||||
%endif
|
|
||||||
#
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Window Navigator Construction Kit is a library that can be used to
|
The Window Navigator Construction Kit is a library that can be used to
|
||||||
write task lists, pagers, and similar GNOME programs.
|
write task lists, pagers, and similar GNOME programs.
|
||||||
|
|
||||||
%package -n libwnck-1-22
|
%package -n libwnck-3-0
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Window Navigator Construction Kit (Library Package)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
|
Provides: %{name} = %{version}
|
||||||
|
Obsoletes: %{name} < %{version}
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -58,17 +54,26 @@ Obsoletes: libwnck-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
|
|
||||||
%description -n libwnck-1-22
|
%description -n libwnck-3-0
|
||||||
The Window Navigator Construction Kit is a library that can be used to
|
The Window Navigator Construction Kit is a library that can be used to
|
||||||
write task lists, pagers, and similar GNOME programs.
|
write task lists, pagers, and similar GNOME programs.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
License: LGPLv2.1+
|
||||||
|
Summary: Window Navigator Construction Kit -- Tools
|
||||||
|
Group: Development/Libraries/GNOME
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
The Window Navigator Construction Kit is a library that can be used to
|
||||||
|
write task lists, pagers, and similar GNOME programs.
|
||||||
|
|
||||||
|
This package provides some utilities based on libwnck.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: %{name} = %{version}
|
Requires: libwnck-3-0 = %{version}
|
||||||
Requires: glib2-devel
|
|
||||||
Requires: gtk2-devel
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libwnck-devel-64bit
|
Obsoletes: libwnck-devel-64bit
|
||||||
@ -87,11 +92,9 @@ translation-update-upstream
|
|||||||
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
|
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# needed for libwnck-2.19.4:
|
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
||||||
%configure\
|
%configure\
|
||||||
--disable-static
|
--disable-static
|
||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
@ -99,38 +102,38 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
||||||
%endif
|
%endif
|
||||||
rm %{buildroot}%{_libdir}/*.*a
|
rm %{buildroot}%{_libdir}/*.*a
|
||||||
%find_lang %{name}
|
%find_lang %{name}-3.0
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
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
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README NEWS ChangeLog
|
|
||||||
%{_bindir}/wnck-urgency-monitor
|
%{_bindir}/wnck-urgency-monitor
|
||||||
%{_bindir}/wnckprop
|
%{_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)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING README NEWS ChangeLog
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/girepository-1.0/Wnck-1.0.typelib
|
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/libwnck-1.0
|
%{_includedir}/libwnck-3.0/
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/libwnck-3.0.pc
|
||||||
%{_libdir}/*.so
|
%{_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:
|
# Own these repositories to not depend on gtk-doc while building:
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/libwnck-3.0/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user