1 Commits

Author SHA256 Message Date
8c90a69a6d Automatic update to v0.70.0 (0.07) 2025-08-28 10:28:15 +00:00
4 changed files with 78 additions and 41 deletions

View File

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

BIN
Gtk2-TrayIcon-0.07.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 28 10:28:14 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.70.0 (0.07)
see /usr/share/doc/packages/perl-Gtk2-TrayIcon/ChangeLog
-------------------------------------------------------------------
Thu Jan 19 17:56:29 UTC 2017 - aloisio@gmx.com

View File

@@ -1,8 +1,7 @@
#
# spec file for package perl-Gtk2-TrayIcon
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Pascal Bleser <pascal.bleser@opensuse.org>
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,59 +12,91 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Gtk2-TrayIcon
Name: perl-Gtk2-TrayIcon
Version: 0.06
Version: 0.70.0
Release: 0
Summary: Perl interface to the EggTrayIcon library
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Gtk2-TrayIcon
Source: http://search.cpan.org/CPAN/authors/id/B/BO/BORUP/Gtk2-TrayIcon-%{version}.tar.gz
# 0.07 -> normalize -> 0.70.0
%define cpan_version 0.07
License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, see <https://www.gnu.org/licenses/>.
Summary: (DEPRECATED) Perl interface to the EggTrayIcon library
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildRequires: gcc
BuildRequires: gtk2-devel
#BuildRequires: perl-macros
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Gtk2) >= 0.96
Requires: perl(Gtk2) >= 0.96
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Depends) >= 0.100
BuildRequires: perl(ExtUtils::PkgConfig) >= 0.100
BuildRequires: perl(Glib) >= 1.0
BuildRequires: perl(Gtk2) >= 1.0
Provides: perl(Gtk2::TrayIcon) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
This module allows a Perl developer to embed an arbitrary widget in a System
Tray like the Gnome notification area.
*NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE*
This module has been deprecated by the Gtk-Perl project. This means that
the module will no longer be updated with security patches, bug fixes, or
when changes are made in the Perl ABI. The Git repo for this module has
been archived (made read-only), it will no longer possible to submit new
commits to it. You are more than welcome to ask about this module on the
Gtk-Perl mailing list, but our priorities going forward will be maintaining
Gtk-Perl modules that are supported and maintained upstream; this module is
neither.
Since this module is licensed under the LGPL v2.1, you may also fork this
module, if you wish, but you will need to use a different name for it on
CPAN, and the Gtk-Perl team requests that you use your own resources
(mailing list, Git repos, bug trackers, etc.) to maintain your fork going
forward.
* Perl URL: https://gitlab.gnome.org/GNOME/perl-gtk2-trayicon
* Upstream URL: https://gitlab.gnome.org/GNOME/libegg
* Last upstream version: N/A
* Last upstream release date: 2009-05-01
* Migration path for this module: Gtk3::StatusIcon
* Migration module URL: https://metacpan.org/pod/Gtk3
*NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE*
EggTrayIcon is slated for inclusion in Gtk+ at some point, which is the
reason the 'Gtk2::TrayIcon' namespace. As all egg libs, EggTrayIcon is not
considered api stable and its not installed as a shared object.
Enough about what it is not, 'Gtk2::TrayIcon' is first and foremost a
simple way of giving a Gtk2 script access to the system tray.
System Trays are found in both KDE and Gnome. But neither support the spec
fully (see below).
'Gtk2::TrayIcon' is a subclass of 'Gtk2::Plug' and should be used as such.
%prep
%setup -q -n "Gtk2-TrayIcon-%{version}"
sed -i '/^auto_install/d' Makefile.PL
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
rm -rf "%{buildroot}%{perl_vendorarch}/Gtk2/TrayIcon/Install"
%perl_process_packlist
%perl_gen_filelist
%check
make %{?_smp_mflags} test
%files
%defattr(-,root,root)
%doc TODO README
%dir %{perl_vendorarch}/Gtk2
%{perl_vendorarch}/Gtk2/TrayIcon.pm
%dir %{perl_vendorarch}/auto/Gtk2
%{perl_vendorarch}/auto/Gtk2/TrayIcon
%doc %{perl_man3dir}/Gtk2::TrayIcon.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%doc ChangeLog examples maps README TODO
%changelog