Hello community,
here is the log from the commit of package faenza-icon-theme.1126 for
openSUSE:12.2:Update checked in at 2012-12-05 13:56:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/faenza-icon-theme.1126 (Old)
and /work/SRC/openSUSE:12.2:Update/.faenza-icon-theme.1126.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "faenza-icon-theme.1126", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-11-30 12:21:47.308011256 +0100
+++
/work/SRC/openSUSE:12.2:Update/.faenza-icon-theme.1126.new/faenza-icon-theme.changes
2012-12-05 13:56:04.000000000 +0100
@@ -0,0 +1,39 @@
+-------------------------------------------------------------------
+Fri Nov 23 19:28:52 UTC 2012 - [email protected]
+
+- bnc#790767 - maintenance request to update this package so that
+ we have openSUSE icons and not Ubuntu icons.
+
+-------------------------------------------------------------------
+Fri Sep 14 16:40:54 UTC 2012 - [email protected]
+
+- update faenza-install script; updated the spec file to use the
+ new syntax, cleaned up old stuff.
+
+-------------------------------------------------------------------
+Fri Jan 13 13:25:33 UTC 2012 - [email protected]
+
+- Update to version 1.2:
+ + New apps: Desura, Gajim, Google Music Frame, Mail notification
+ + New icons sizes: 64x64 and 96x96
+ + Fixes the specific folders icons replaced by the standard one
+ + Fixes some missing links
+- Add unzip BuildRequires since the upstream sources is a zip file.
+- On openSUSE >= 11.3, add hicolor-icon-theme BuildRequires and use
+ %icon_theme_cache_* macros to get the icon theme caches built.
+- Add gnome-icon-theme Requires to main subpackage as the theme
+ inherits the GNOME icon theme.
+- Fix Requires of the various subpackages so that they depend on
+ the right Faenza variant they inherit from.
+- Improve summaries and descriptions.
+
+-------------------------------------------------------------------
+Wed Oct 26 12:46:33 UTC 2011 - [email protected]
+
+- update to 1.1
+
+-------------------------------------------------------------------
+Fri Oct 1 18:08:09 UTC 2010 - [email protected]
+
+- Initial packaging including: Faenza, Faenza-Dark and Faenza-Mint (Faenza in
green).
+
New:
----
132681-Faenza-Mint.tar.gz
faenza-icon-theme.changes
faenza-icon-theme.spec
faenza-install
faenza_icons_by_tiheum-d2v6x24.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ faenza-icon-theme.spec ++++++
# vim: set ts=4 sw=4 et:
#
# spec file for package faenza-icon-theme
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 PAscal Bleser
# Copyright (c) 2010 Nelson Marques
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: faenza-icon-theme
Version: 1.2
Release: 0
Summary: Faenza Icon Theme
License: GPL-3.0+
Group: System/GUI/GNOME
Url: http://tiheum.deviantart.com/art/Faenza-Icons-173323228
##
http://www.deviantart.com/download/173323228/faenza_icons_by_tiheum-d2v6x24.zip
Source: faenza_icons_by_tiheum-d2v6x24.zip
Source1:
http://gnome-look.org/CONTENT/content-files/132681-Faenza-Mint.tar.gz
# script to rebrand and install stuff...
Source2: faenza-install
BuildRequires: fdupes
BuildRequires: python
%if 0%{?suse_version}
# For all the icon themes macros
BuildRequires: hicolor-icon-theme
%endif
BuildRequires: unzip
# Inherits from GNOME icon theme
Requires: gnome-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package ambiance
Summary: Faenza-Ambiance Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-darkest = %{version}
%description ambiance
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
Faenza-Ambiance is suitable with dark panel and toolbars.
%package dark
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description dark
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package darker
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-darkest = %{version}
%description darker
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package darkest
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-dark = %{version}
%description darkest
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package radiance
Summary: Faenza-Radiance Icon Theme
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description radiance
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
Faenza-Radiance is suitable with light panel and controls.
%package mint
Summary: Faenza-Mint Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-dark = %{version}
%description mint
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%prep
%setup -q -c "faenza-%{version}" -a 1
for f in Faenza*.tar.gz; do
tar xzf "$f"
done
%build
%install
python %{S:2} --install %{buildroot}%{_datadir}/icons/
%fdupes %{buildroot}%{_datadir}/icons
find %{buildroot}%{_datadir}/icons -type f -exec chmod 0644 {} \;
%if 0%{?suse_version} > 1130
%icon_theme_cache_create_ghost Faenza
%icon_theme_cache_create_ghost Faenza-Ambiance
%icon_theme_cache_create_ghost Faenza-Dark
%icon_theme_cache_create_ghost Faenza-Darker
%icon_theme_cache_create_ghost Faenza-Darkest
%icon_theme_cache_create_ghost Faenza-Radiance
%icon_theme_cache_create_ghost Faenza-Mint
%endif
%if 0%{?suse_version} > 1130
# No need for %%icon_theme_cache_postun in %%postun since the themes won't
exist anymore
%post
%icon_theme_cache_post Faenza
%post ambiance
%icon_theme_cache_post Faenza-Ambiance
%post dark
%icon_theme_cache_post Faenza-Dark
%post darker
%icon_theme_cache_post Faenza-Darker
%post darkest
%icon_theme_cache_post Faenza-Darkest
%post radiance
%icon_theme_cache_post Faenza-Radiance
%post mint
%icon_theme_cache_post Faenza-Mint
%endif
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
%{_datadir}/icons/Faenza
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza/icon-theme.cache
%endif
%files ambiance
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Ambiance
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Ambiance/icon-theme.cache
%endif
%files dark
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Dark
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Dark/icon-theme.cache
%endif
%files darker
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Darker
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Darker/icon-theme.cache
%endif
%files darkest
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Darkest
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Darkest/icon-theme.cache
%endif
%files radiance
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Radiance
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Radiance/icon-theme.cache
%endif
%files mint
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Mint
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Mint/icon-theme.cache
%endif
%changelog
++++++ faenza-install ++++++
#!/usr/bin/env python
#
# Copyright (c) 2011-2012 Nelson Marques <[email protected]>
#
# crap script to rebrand and install faenza icon theme; this is aimed to
# be invoked from the .spec file during the install process.
#
import os, shutil, sys
from fnmatch import fnmatch
from optparse import OptionParser, OptionGroup
VERSION = '0.2'
icons = []
base = os.getcwd()
variants = ( 'Faenza-Ambiance', 'Faenza-Dark', 'Faenza-Darker',
'Faenza-Darkest', 'Faenza-Mint', 'Faenza-Radiance',
'Faenza')
class Faenza():
'''
print header
'''
def header(self):
print '\n faenza-install -- version %s \n' % VERSION
print ' This script performs minimum rebranding and installs the'
print ' faenza-icon-theme in INSTALL_DIR (sys.argv[1]). For help'
print ' run the following this script with "-h" or "--help". \n'
'''
returns a list of matching targets
'''
def scan(self, target):
for variant in variants:
for root, dirs, files in os.walk(variant):
for f in files:
if fnmatch(f, target + '.png'):
icons.append(root + '/' + f)
return 0
'''
delete designated file
'''
def delete(self, target):
try:
if os.path.exists(target):
os.unlink(target)
else:
print ' - file not found: %s' % target
except Exception, errno:
print errno
sys.exit(1)
return 0
'''
install a file
'''
def rebrand(self, distribution):
self.scan('start-here')
self.scan('distributor-logo')
if not icons:
print '\n - NO icons found.. Exiting!\n'
sys.exit(1)
else:
for icon in icons:
dirname, myfile = os.path.split(icon)
filename, myext = os.path.splitext(myfile)
print ' - %s' % icon
try:
self.delete(icon)
print ' + delete file: %s' % icon
except Exception, errno:
print errno
sys.exit(1)
os.chdir(dirname)
os.system('ln -s %s %s' % ( filename + '-' + dist + myext,
myfile))
print ' + file rebranded to: %s' % ( filename + '-' +
distribution + myext )
os.chdir(base)
return 0
'''
install Faenza themes on sys.argv[1]
'''
def install(self, target):
print ' - Installation \n'
for variant in variants:
fs_dir = os.path.join(target, variant)
if not os.path.isdir(fs_dir):
try:
shutil.copytree(variant, fs_dir)
print ' + file installed: %s' % fs_dir
except Exception, err:
print err
return 1
return 0
def main():
faenza = OptionParser(
usage = '%prog [OPTIONS] INSTALL_DIR',
epilog = ''' A simple python script to install icon theme with branding
''')
f_group = OptionGroup(faenza, 'Distribution Options: \n' +
' - opensuse, fedora, debian, frugalware, linux-mint, \n' +
' archlinux, gnome, mandriva, slackware, archlinux, \n' +
' ubuntu')
faenza.add_option('-v', '--version', action='store_true', dest='version',
default=False, help='print version and exit to shell')
faenza.add_option('-i', '--install', action='store_true', dest='install',
default=False, help='install icon themes on INSTALL_DIR')
faenza.add_option('-r', '--rebrand', action='store_true', dest='rebrand',
default=True, help='rebrand "start-here" and "distributor-logo"
(default)')
faenza.add_option('--dist', action='store', dest='distribution',
default='opensuse', help='set default distribution for branding')
faenza.add_option_group(f_group)
(option, args) = faenza.parse_args()
if len(args) != 1:
faenza.print_help()
return 1
if option.version:
print '\n faenza-install -- version %s \n' % VERSION
print ' This script performs minimum rebranding and installs the'
print ' faenza-icon-theme in INSTALL_DIR (sys.argv[1]). For help'
print ' run the following this script with "-h" or "--help". \n'
sys.exit(0)
global dist
dist = str(option.distribution)
run = Faenza()
fs = args[0]
run.header()
if option.rebrand:
run.rebrand(dist)
if option.install:
if not os.path.isdir(fs):
os.makedirs(fs)
run.install(fs)
return 0
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
pass
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]