Accepting request 557318 from GNOME:Next

Rename to glib2-branding, building SLE and openSUSE; this allows the SLE team to not be confused by the naming choice. Replaces glib2-branding-openSUSE as leading package

OBS-URL: https://build.opensuse.org/request/show/557318
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2-branding?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2017-12-15 12:48:54 +00:00 committed by Git OBS Bridge
commit 32dc5af2f9
8 changed files with 909 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

5
_multibuild Normal file
View File

@ -0,0 +1,5 @@
<multibuild>
<package>openSUSE</package>
<package>SLE</package>
</multibuild>

31
glib2-branding-COPYING Normal file
View File

@ -0,0 +1,31 @@
Copyright (c) 2008, Novell, Inc.
All rights reserved.
This package (other than those portions that are trademarks, logos, and trade
dress of Novell, Inc), is made available under the following terms:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the Novell nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,106 @@
# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
# for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop
# URI schemes
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/mailto=evolution.desktop
# All URI schemes declared by yelp
yelp.desktop
# Prefer banshee for multimedia where possible
!banshee-1.desktop
# Except prefer moonshine for WM
video/x-ms-asf-plugin=moonshine.desktop
video/x-msvideo=moonshine.desktop
video/x-ms-asf=moonshine.desktop
video/x-ms-wmv=moonshine.desktop
video/x-wmv=moonshine.desktop
video/x-ms-wvx=moonshine.desktop
video/x-ms-wm=moonshine.desktop
video/x-ms-wmp=moonshine.desktop
application/x-ms-wms=moonshine.desktop
application/x-ms-wmp=moonshine.desktop
application/asx=moonshine.desktop
audio/x-ms-wma=moonshine.desktop
# Prefer LinDVD for DVD and mpeg video playback, when available
video/mpeg=LinDVD.desktop
video/x-mpeg=LinDVD.desktop
video/dvd=LinDVD.desktop
x-content/video-dvd=LinDVD.desktop
# Prefer contracted commercial applications
!flashplayer.desktop
!acroread.desktop
realplay.desktop
# Prefer Install Software over file-roller
application/x-rpm=package-manager.desktop
!gpk-install-file.desktop
# Nice GNOME default applications
eog.desktop
evince.desktop
org.gnome.gedit.desktop
file-roller.desktop
# file-roller supports iso, but most people will prefer brasero:
application/x-cd-image=brasero.desktop
org.gnome.Nautilus.desktop
# evince supports multi-page tiff, but most people will prefer eog:
image/tiff=eog.desktop
# evince supports odp, but we really want OOo
application/vnd.sun.xml.impress=impress.desktop
application/vnd.oasis.opendocument.presentation=impress.desktop
# XFCE default applications
leafpad.desktop
ristretto.desktop
# LXDE default applications
beaver.desktop
gpicview.desktop
# Firefox
firefox.desktop
# OpenOffice
base.desktop
calc.desktop
draw.desktop
impress.desktop
math.desktop
web.desktop
writer.desktop
# Do not prefer writer for text/plain:
text/plain=org.gnome.gedit.desktop

516
glib2-branding.changes Normal file
View File

@ -0,0 +1,516 @@
-------------------------------------------------------------------
Fri Dec 15 12:21:18 UTC 2017 - dimstar@opensuse.org
- Rename base package to glib2-branding and add SLE and openSUSE as
multibuild flavors. There is no other difference to the previous
glib2-branding-{openSUSE,SLE} packages.
- Drop pre_checkin.sh: no longer needed with multibuild.
-------------------------------------------------------------------
Wed Dec 13 02:26:08 UTC 2017 - xwang@suse.com
- Update .gschema.override.in to show application menu on title
bar in sle-classic session (bgo#746592 bsc#1070090).
-------------------------------------------------------------------
Mon Oct 23 11:24:38 UTC 2017 - dimstar@opensuse.org
- Update .gschema.override.in: evolution.desktop has been renamed
to org.gnome.Evolution.desktop.
-------------------------------------------------------------------
Fri Oct 20 10:38:04 UTC 2017 - fcrozat@suse.com
- Update SLE version to 15.
- Remove post/postun scripts, no longer needed with file triggers.
- Update favorites applications on SLE15, we switched to pidgin and
gnome-photos.
-------------------------------------------------------------------
Tue Jul 18 09:28:26 UTC 2017 - yfjiang@suse.com
- Update .gschema.override.in to set small icon size on Desktop and
nautilus in Leap, which is consistent with SLE (bsc#1043604).
-------------------------------------------------------------------
Wed Oct 19 12:59:20 UTC 2016 - dimstar@opensuse.org
- Enable freedesktop sound theme by default (boo#1004919):
+ Set org.gnome.desktop.sound/theme-name to 'freedesktop' for
openSUSE.
+ Recommend sound-theme-freedesktop by gio-branding-openSUSE.
- Introdue @@IF_LEAP@@ logic into the .gschema.override.in file:
IF_LEAP is true if building for 'openSUSE' and sle_version is set
in prjconf. Apply IF_LEAP to the GNOME Software update
notifications.
-------------------------------------------------------------------
Wed Sep 7 09:52:24 UTC 2016 - zaitor@opensuse.org
- Once again disable GNOME Software update notifications (automatic
download of patches; openSUSE relies on gnome-settings-daemon's
internal update plugin for update notifications) (boo#997572).
-------------------------------------------------------------------
Thu Jul 14 08:42:04 UTC 2016 - dimstar@opensuse.org
- Do not attempt to build -openSUSE on SLE and -SLE on openSUSE:
trick the .spec file to ExclusiveArch: %nil in this case.
-------------------------------------------------------------------
Fri Jul 1 06:05:41 UTC 2016 - fezhang@suse.com
- Make gnome-settings-daemon housekeeping plugin ignore /boot/efi
[bsc#919217].
Summary from bsc#919217:
"On a default UEFI installation, /boot/efi is created with a size
of 156MB. It will cause gnome-settings-daemon to popup a warning,
if logged as root (not 100% sure when logged as a regular user)
that a partition has less than than 1GB of free space.
/boot/efi should be added to default schema
org.gnome.settings-daemon.plugin.housekeeping ignore-paths"
-------------------------------------------------------------------
Wed Jun 29 09:35:28 UTC 2016 - fcrozat@suse.com
- Resync with glib2-branding-SLE and simplify specfile.
- Replaces Requires by Recommends on wallpaper-branding-openSUSE:
gio-branding-openSUSE is required by glib2, which is causing
openSUSE wallpaper as hard dependency on non-graphical install.
(boo#993969).
-------------------------------------------------------------------
Mon Jun 20 13:08:25 UTC 2016 - fcrozat@suse.com
- Add some settings from SLE12 SP2, not enabled when building on
openSUSE (default zoom on nautilus).
- Update favorite applications default to use new names from
upstream, prevent writing some defaults to dconf (partially fixes
bsc#979947).
-------------------------------------------------------------------
Tue Mar 15 14:43:15 UTC 2016 - fcrozat@suse.com
- Fix KeySym assigned for Help, XF86Help doesn't exist anymore.
-------------------------------------------------------------------
Sat Feb 13 00:54:27 UTC 2016 - zaitor@opensuse.org
- Drop org.gnome.settings-daemon.plugins.media-keys/toggle-mute
since we dropped the patch making this needed.
-------------------------------------------------------------------
Tue Nov 10 19:25:31 UTC 2015 - badshah400@gmail.com
- The touchpad schemas migrated to org.gnome.desktop.peripherals
from org.gnome.settings-daemon.peripherals, adapt tap-to-click
setting accordingly (boo#954526).
- The "disable-while-typing" key no longer exists, remove it
accordingly.
-------------------------------------------------------------------
Mon Oct 12 14:43:05 UTC 2015 - zaitor@opensuse.org
- Bump version to 42.1, to prepare for next version of openSUSE.
-------------------------------------------------------------------
Sat Sep 19 10:21:32 UTC 2015 - dimstar@opensuse.org
- Drop org.gnome.settings-daemon.plugins.power/button-power
override: this settings has been removed in GNOME 3.17.92.
-------------------------------------------------------------------
Thu Feb 26 20:54:28 UTC 2015 - dimstar@opensuse.org
- Drop org.gnome.eog.ui/external-editor reference: EOG 3.15 no
longer supports this.
-------------------------------------------------------------------
Mon Nov 3 13:40:38 UTC 2014 - badshah400@gmail.com
- Gedit desktop file got renamed to org.gnome.gedit.desktop,
update gnome_defaults.conf accordingly (boo#904010).
-------------------------------------------------------------------
Wed Oct 8 14:05:42 UTC 2014 - badshah400@gmail.com
- Replace rhythmbox by gnome-music in favourite applications
(see
http://lists.opensuse.org/opensuse-gnome/2014-10/msg00013.html )
- Remove alternative-status-menu as default enabled extension: we
do not install it by default any more.
-------------------------------------------------------------------
Sat Aug 23 16:04:22 UTC 2014 - zaitor@opensuse.org
- Bump version to 13.2, to prepare for next version of openSUSE.
-------------------------------------------------------------------
Fri Aug 22 21:41:04 UTC 2014 - dimstar@opensuse.org
- Replace nautilus.desktop in gnome_defaults.conf with
org.gnome.Nautilus.desktop, following upstreams renaming of the
.desktop file in GNOME 3.14.
-------------------------------------------------------------------
Thu Jul 3 15:09:07 UTC 2014 - fcrozat@suse.com
- Merge SLE12 specific changes (not enabled on openSUSE):
+ Enable back audible-bell on SLE12 [bnc#871584]
+ Change Favorites on gnome-shell:
* Remove rhythmbox
* Replace Libreoffice Writer with Libreoffice Start Center
* Add Yelp
+ Change the default action of pressing power button to
'shutdown'.
+ Lock the screensaver after 300 seconds.
-------------------------------------------------------------------
Mon Nov 11 20:19:41 UTC 2013 - dimstar@opensuse.org
- Update gnome_defaults: nautilus-folder-handlder has been dropped
a while ago and the functionality merged into nautilus directly.
This never really caused any issue, as nautilus was one of the
few .desktop files registering a inode/directory MimeType. Since
GNOME 3.10, baobab does that as well, resulting in situations
where baobab can be prefered (the Mime handling is
pseudo-random). (bnc#849914).
- Add %mime_database_post//%mime_database_postun macros to post
and postun, to ensure installation triggers updating the mime
database.
-------------------------------------------------------------------
Sun Sep 22 12:51:13 UTC 2013 - dimstar@opensuse.org
- Set the same background for the lockscreen by default as we use
as regular background.
-------------------------------------------------------------------
Sun Sep 8 07:39:30 UTC 2013 - zaitor@opensuse.org
- Bump version to 13.1, to prepare for next version of openSUSE.
-------------------------------------------------------------------
Mon Mar 25 21:51:24 UTC 2013 - dimstar@opensuse.org
- Drop org.gnome.settings-daemon.plugins.power/sleep-display-ac
setting: it's no longer known by GNOME 3.8.
-------------------------------------------------------------------
Thu Feb 14 02:11:18 UTC 2013 - badshah400@gmail.com
- Replace banshee with rhythmbox in the list of favourite apps
shown in the gnome-shell dash.
-------------------------------------------------------------------
Sun Jan 13 10:58:19 UTC 2013 - dimstar@opensuse.org
- Update gnome_defaults.conf: no longer instruct to start
SuSEconfig, but instruct to run suse-update-mime-defaults
(bnc#796169).
-------------------------------------------------------------------
Wed Jan 9 14:00:12 UTC 2013 - aj@suse.de
- Update version number to 12.3.
-------------------------------------------------------------------
Mon Nov 12 17:56:36 UTC 2012 - dimstar@opensuse.org
- No longer set
org.gnome.settings-daemon.plugins.updates/auto-update-type: this
setting was removed from the schema during GNOME 3.6 development.
(gnome-settings-daemon commit 7cd4aad).
-------------------------------------------------------------------
Wed Jul 4 00:41:23 UTC 2012 - badshah400@gmail.com
- Change GSettings default for tap-to-click settings:
+ Set org.gnome.settings-daemon.peripherals.touchpad/tap-to-click
to true to enable tap-to-click by default (see
(bnc#554884, fate#310811, also recent discussion at
http://lists.opensuse.org/opensuse-factory/2012-06/msg01087.html)
+ Also change
org.gnome.settings-daemon.peripherals.touchpad/disable-while-typing
to true to prevent accidental tap-cliking while the user is
typing.
-------------------------------------------------------------------
Fri Jun 8 08:12:48 CEST 2012 - vuntz@opensuse.org
- Remove gdm-branding-openSUSE Requires from gio-branding-openSUSE:
this results in gdm getting installed for everyone, including
non-GNOME users. Instead, rely on the fact that gdm will not
break if the logo defined in our GSettings default doesn't exist.
-------------------------------------------------------------------
Mon Jun 4 22:14:12 UTC 2012 - rbrownccb@opensuse.org
- Change GSettings default:
+ Change org.gnome.login-screen/logo to new gdm banner artwork.
- For openSUSE, add Requires for gdm-branding-openSUSE
-------------------------------------------------------------------
Fri May 25 15:22:22 UTC 2012 - vuntz@opensuse.org
- Change GSettings default:
+ Change org.gnome.shell/enabled-extensions to new id of the
alternative-status-menu extension.
-------------------------------------------------------------------
Wed May 23 07:49:05 UTC 2012 - vuntz@opensuse.org
- Bump version to 12.2, to prepare for next version of openSUSE.
-------------------------------------------------------------------
Fri Mar 9 11:33:43 UTC 2012 - vuntz@opensuse.org
- Change GSettings default:
+ Disable audible bell
(org.gnome.desktop.wm.preferences/audible-bell): it's more
annoying than useful.
+ Add comments to help people who want to change the window
manager theme.
-------------------------------------------------------------------
Wed Dec 21 17:44:55 UTC 2011 - vuntz@opensuse.org
- Change GSettings default:
+ Stop changing epiphany homepage
(org.gnome.Epiphany/homepage-url): there's no such setting
anymore.
-------------------------------------------------------------------
Wed Nov 9 14:32:44 UTC 2011 - vuntz@opensuse.org
- Change GSettings default:
+ Set org.gnome.settings-daemon.plugins.updates/auto-update-type
to 'none' as automatically installing security updates pops out
a polkit dialog with no context for the user. See discussion in
bnc#729218.
-------------------------------------------------------------------
Fri Oct 28 13:18:32 UTC 2011 - malcolmlewis@opensuse.org
- Change GSettings default: add alt-status-menu to be enabled by
default (org.gnome.shell/enabled-extensions).
-------------------------------------------------------------------
Thu Oct 13 12:56:24 UTC 2011 - vuntz@opensuse.org
- Remove %{release} from the glib2 versioned Requires, to not have
to rebuild this package each time glib2 rebuilds to keep it
installable.
-------------------------------------------------------------------
Wed Oct 12 16:29:41 UTC 2011 - gber@opensuse.org
- Adapt Xfce default applications, mousepad was replaced by
leafpad, xarchiver and parole are no longer installed by default.
-------------------------------------------------------------------
Wed Oct 5 12:27:03 UTC 2011 - vuntz@opensuse.org
- Change GSettings default: add gnome-documents to the favorite
apps in gnome-shell (org.gnome.shell/favorite-apps). This is
consistent with what upstream does.
-------------------------------------------------------------------
Tue Oct 4 15:52:20 UTC 2011 - vuntz@opensuse.org
- Change GSettings default:
+ Set org.gnome.settings-daemon.plugins.media-keys/toggle-mute to
false, porting an old default we had in gconf2-branding.
+ Add a comment about org.gnome.login-screen/logo so that people
know it can be set. Leave it unset for now since it doesn't
look that good.
-------------------------------------------------------------------
Thu Sep 22 16:10:38 UTC 2011 - vuntz@opensuse.org
- For openSUSE, change BuildRequires and Requires for
desktop-data-openSUSE to wallpaper-branding-openSUSE since the
wallpaper moved there. Also, do not version the Requires, since
the filename for the default wallpaper is not versioned.
-------------------------------------------------------------------
Thu Sep 22 12:46:41 UTC 2011 - vuntz@opensuse.org
- Change GSettings default:
- Stop setting org.gnome.power-manager/notify-idle-sleep: we
don't have the patch that introduces this key anymore right
now, and leaving the override produces lots of warnings. See
bnc#708182.
- Bump dependency on desktop-data-openSUSE to 12.1 now that
desktop-data-openSUSE got a version bump.
-------------------------------------------------------------------
Wed Sep 7 22:17:49 UTC 2011 - kirill.kirillov@gmail.com
- Add brasero as default application for iso files (fix
bnc#650400)
-------------------------------------------------------------------
Tue Aug 30 16:42:39 CEST 2011 - vuntz@opensuse.org
- Change GSettings default:
+ Stop changing org.gnome.nautilus.preference/preview-sound: this
is now gone with nautilus 3.1.90.
-------------------------------------------------------------------
Thu Jul 7 11:35:18 CEST 2011 - vuntz@opensuse.org
- Change GSettings default:
+ org.gnome.shell/favorite-apps: set to [ 'firefox.desktop',
'evolution.desktop', 'empathy.desktop', 'banshee.desktop',
'shotwell.desktop', 'writer.desktop', 'nautilus.desktop' ]
+ this enables us to drop default-applications.patch from
gnome-shell.
+ fix bnc#689610.
-------------------------------------------------------------------
Wed Jul 6 22:51:42 CEST 2011 - vuntz@opensuse.org
- Change GSettings defaults:
+ org.freedesktop.Tracker.Miner.Files/index-removable-devices:
set to false (so we can remove
tracker-removeable-media-off.patch from the tracker package)
+ org.gnome.eog.ui/external-editor: set to gimp.desktop, since we
want to use GIMP as default there.
-------------------------------------------------------------------
Wed Jul 6 22:09:05 CEST 2011 - vuntz@opensuse.org
- Rework the package to only build the openSUSE branding package,
or the SLE branding packages, but not all of them at once. Use a
%build_for_openSUSE define for that, which is used to also define
a %build_for_SLE helper.
- Create gio-branding-{openSUSE,SLED,SLES} subpackages, and do not
create glib2-branding-{openSUSE,SLED,SLES} subpackages anymore:
the data we add here is related only to gio, not to the whole
glib.
- The gio-branding-{openSUSE,SLED,SLES} subpackage have appropriate
Provides/Obsoletes for glib2-branding-{openSUSE,SLED,SLES}, to
enable smooth upgrades.
- Update glib2-branding-openSUSE-gnome_defaults.conf to define
default handlers for URI schemes (after migration of this
settings from gconf to the MIME system):
+ Add firefox.desktop as default handler for
x-scheme-handler/{http,https,ftp}
+ Add evolution.desktop as default handler for
x-scheme-handler/mailto
+ Add yelp.desktop as default handler for all MIME types it
handles (ie, the help-related URI schemes)
- Add default values for GSettings schemas:
+ Add glib2-branding.gschema.override.in file. This file is
populated with default values based on the old gconf2-branding
package.
+ Process glib2-branding.gschema.override.in in %install to
correctly define the wallpaper, and remove
openSUSE/SLE-specific defaults.
+ Change glib2 BuildRequires to glib2-devel, since we need the
%glib2_gsettings_schema_* macros.
+ Create post/postun scripts for all packages, using the
%glib2_gsettings_schema_post(un) macros.
+ This fixes bnc#676301 and bnc#687780.
- Add Requires for desktop-data-{openSUSE,SLED} to
gio-branding-{openSUSE,SLED,SLES} to make sure the wallpaper is
installed.
- Bump version to 12.1.
- Update summary and description.
- Add Url tag.
-------------------------------------------------------------------
Fri Jan 14 15:07:05 UTC 2011 - gber@opensuse.org
- added defaults for the XFCE and LXDE desktops
-------------------------------------------------------------------
Thu Jan 13 15:36:30 CET 2011 - vuntz@opensuse.org
- Update glib2-branding-openSUSE-gnome_defaults.conf:
MozillaFirefox.desktop has been renamed to firefox.desktop.
-------------------------------------------------------------------
Fri Oct 8 11:45:36 CEST 2010 - vuntz@opensuse.org
- Bump version to 11.4.
-------------------------------------------------------------------
Thu Jul 22 13:27:04 CEST 2010 - vuntz@opensuse.org
- Add glib2 and glib2-branding-upstream BuildRequires, so we can
get the right version of glib2, which is needed to provide the
right version of glib2-branding.
- Bump version to 11.3.
- Change the order of the packageand() in Supplements to fix
rpmlint warnings.
-------------------------------------------------------------------
Mon May 25 18:05:31 CEST 2009 - vuntz@novell.com
- Merge change from SLED: Prefer LinDVD for DVD and mpeg video
playback and prefer flashplayer for its mimetypes, when installed
(bnc#473050)
-------------------------------------------------------------------
Tue Feb 17 10:41:23 CST 2009 - gburt@suse.de
- moonlight-media-player was renamed to moonshine (bnc#466649)
-------------------------------------------------------------------
Thu Jan 15 15:19:42 CST 2009 - gburt@suse.de
- Prefer moonlight-media-player for WM mimetypes (bnc#466649)
-------------------------------------------------------------------
Wed Nov 12 11:53:02 CET 2008 - vuntz@novell.com
- Force impress.desktop for application/vnd.sun.xml.impress and
application/vnd.oasis.opendocument.presentation since evince can
also read them. Should fix bnc#439586.
-------------------------------------------------------------------
Tue Nov 4 15:31:12 CET 2008 - sbrabec@suse.cz
- Create SLES and SLED clones of the package (bnc#438887).
-------------------------------------------------------------------
Mon Oct 6 16:36:22 CEST 2008 - sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
-------------------------------------------------------------------
Fri Jul 25 14:05:37 CEST 2008 - sbrabec@suse.cz
- nautilus-folder-handler added to gnome-defaults.conf (bnc#410728)
-------------------------------------------------------------------
Fri Jul 18 13:31:01 EDT 2008 - jpr@novell.com
- Use banshee-1.desktop instead of banshee.desktop (bnc#406741)
-------------------------------------------------------------------
Mon May 5 14:48:22 CEST 2008 - sbrabec@suse.cz
- Prefer eog over evince for image/tiff (bnc#346517).
-------------------------------------------------------------------
Wed Apr 30 12:05:29 CEST 2008 - sbrabec@suse.cz
- Prefer gedit over writer for text/plain (bnc#382168).
-------------------------------------------------------------------
Mon Apr 14 19:14:37 CEST 2008 - sbrabec@suse.cz
- Use packageand form of branding supplement and removed self
conflict.
-------------------------------------------------------------------
Wed Apr 9 13:55:41 CEST 2008 - sbrabec@suse.cz
- Split gnome_defaults.conf to a separate branding-style package,
so branding vendors can easily change default applications.
- Prefer both software installers over file-roller in
gnome_defaults.conf (bnc#377979, fate#302267).

View File

@ -0,0 +1,102 @@
[org.gnome.desktop.interface]
## No accessibility by default, until we're 100% there's no regression
toolkit-accessibility = false
### For the theme, we stay with the defaults
## Note: for non-GNOME sessions, the cursor theme is defined in /var/adm/fillup-templates/sysconfig.windowmanager-desktop-data-openSUSE from desktop-data-openSUSE
# cursor-theme = ""
## Note: gtk[23]-branding-%{branding_name} must contain the same defaults for icon and gtk, otherwise the theme will change when gnome-settings-daemon starts
# icon-theme = ""
# gtk-theme = ""
[org.gnome.desktop.background]
## Default wallpaper
picture-uri = "@@WALLPAPER_URI@@"
picture-options = "stretched"
primary-color = "#258c06"
secondary-color = "#258c06"
[org.gnome.desktop.screensaver]
picture-uri = "@@WALLPAPER_URI@@"
picture-options = "stretched"
primary-color = "#258c06"
secondary-color = "#258c06"
@@IF_SLE@@lock-delay = 300
[org.gnome.login-screen]
## Logo in the gdm login dialog
logo='/usr/share/gdm/greeter/images/distributor.svg'
[org.gnome.libgnomekbd.desktop]
## Set keyboard layout global per session instead of per window
group-per-window = false
[org.gnome.desktop.sound]
## Make sure to have event sounds by default
event-sounds = true
@@IF_openSUSE@@theme-name = "freedesktop"
@@IF_SLE@@theme-name = "novell"
[org.gnome.desktop.wm.preferences]
@@IF_openSUSE@@# Audible bell is more annoying than useful
@@IF_openSUSE@@audible-bell = false
### For the theme, we stay with the defaults
# titlebar-uses-system-font = false
# titlebar-font = ""
# theme = ""
[org.gnome.desktop.peripherals.touchpad]
## Enable tap-to-click by default (bnc#554884,fate#310811)
## http://lists.opensuse.org/opensuse-factory/2012-06/msg01087.html
tap-to-click = true
[org.gnome.settings-daemon.plugins.housekeeping]
## To avoid popup warnings on default UEFI installation (bsc#919217)
ignore-paths = ['/boot/efi']
[org.gnome.settings-daemon.plugins.power]
## Enable Energy Star compliant default configuration
sleep-inactive-battery-type = "suspend"
## To complete Energy Star compliant default configuration, you should enable this too:
## (disabled by default because suspending is not working fine in all cases)
# sleep-inactive-ac = true
# sleep-inactive-ac-timeout = 1200
# sleep-inactive-battery = true
# sleep-inactive-battery-timeout = 1200
[org.gnome.settings-daemon.plugins.xsettings]
## the PackageKit gtk+ module is too spammy, fdo#23917
disabled-gtk-modules = [ "pk-gtk-module" ]
[org.gnome.settings-daemon.plugins.media-keys]
help = "Help"
[org.gnome.shell]
## Default apps shown in the gnome-shell dash
@@IF_openSUSE@@favorite-apps = [ 'firefox.desktop', 'org.gnome.Evolution.desktop', 'empathy.desktop', 'gnome-music.desktop', 'shotwell.desktop', 'writer.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Documents.desktop' ]
@@IF_SLE@@favorite-apps = [ 'firefox.desktop', 'org.gnome.Evolution.desktop', 'pidgin.desktop', 'gnome-photos.desktop', 'startcenter.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Documents.desktop', 'yelp.desktop' ]
@@IF_SLE@@## Default extensions that are enabled
@@IF_SLE@@enabled-extensions = [ 'alternative-status-menu@gnome-shell-extensions.gcampax.github.com' ]
[org.gnome.gnome-panel.applet.window-list]
## Display all workspaces in the gnome-panel window list applet
display-all-workspaces = true
[org.freedesktop.Tracker.Miner.Files]
## Disable indexing on removable media
index-removable-devices = false
[org.gnome.settings-daemon.plugins.xsettings:sle-classic]
## Show application menu on title bar in sle-classic session
## Need glib2 supports that gsettings default value can be overridden depending on session
## bgo#746592 bsc#1070090
overrides = {'Gtk/ShellShowsAppMenu': <0>}
@@IF_LEAP@@[org.gnome.software]
@@IF_LEAP@@# Disable GNOME Software's automatic update notifications - openSUSE relies on
@@IF_LEAP@@# gnome-settings-daemon's internal update plugin for update notifications.
@@IF_LEAP@@download-updates = false
@@IF_LEAP@@[org.gnome.nautilus.icon-view]
@@IF_LEAP@@default-zoom-level = 'small'
@@IF_SLE@@[org.gnome.nautilus.icon-view]
@@IF_SLE@@default-zoom-level = 'small'

125
glib2-branding.spec Normal file
View File

@ -0,0 +1,125 @@
#
# spec file for package glib2
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
%define flavor @BUILD_FLAVOR@
%if "%{flavor}" == ""
%define branding_name %nil
ExclusiveArch: %nil
%else
%define branding_name %{flavor}
%define dash -
%if "@BUILD_FLAVOR@" == "SLE"
%define build_SLE 1
%else
%define build_openSUSE 1
%endif
%if (0%{?build_SLE} && 0%{?is_opensuse}) || (0%{?build_openSUSE} && ! 0%{?is_opensuse})
# Don't build SLE branding on openSUSE and vice-versa
ExclusiveArch: %{nil}
%endif
%endif
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
%define gio_version %(rpm -q --qf '%%{version}' %{gio_real_package})
Name: glib2-branding%{?dash}%{branding_name}
Summary: General-Purpose Utility Library -- %{branding_name} default configuration
License: BSD-3-Clause
Group: System/GUI/GNOME
Url: http://www.gtk.org/
Source: glib2-branding-gnome_defaults.conf
Source1: glib2-branding-COPYING
Source2: glib2-branding.gschema.override.in
# We need glib2-branding-upstream else, the call to SuSEconfig.glib2 fails
BuildRequires: glib2-branding-upstream
BuildRequires: glib2-devel
BuildRequires: wallpaper-branding-%{branding_name}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?build_openSUSE}
Version: 42.1
Release: 0
%else
Version: 15
Release: 0
%endif
%description
This package provides %{branding_name} defaults for settings stored with
GSettings and applications used by the MIME system.
%package -n gio-branding-%{branding_name}
Summary: %{branding_name} definitions of default settings and applications
Group: System/GUI/GNOME
Requires: %{gio_real_package} = %{gio_version}
# For wallpaper
Recommends: wallpaper-branding-%{branding_name}
Supplements: packageand(%{gio_real_package}:branding-%{branding_name})
Conflicts: otherproviders(gio-branding)
Provides: glib2-branding-%{branding_name} = %{version}
Obsoletes: glib2-branding-%{branding_name} < %{version}
Provides: gio-branding = %{gio_version}
%glib2_gsettings_schema_requires
%if 0%{?build_openSUSE}
Recommends: sound-theme-freedesktop
%endif
%if 0%{?build_SLE}
# Obsolete SLE11 packages to resolve file conflicts on sle11->sle12 upgrade
Obsoletes: glib2-branding-SLED
Obsoletes: glib2-branding-SLES
%endif
%description -n gio-branding-%{branding_name}
This package provides %{branding_name} defaults for settings stored with
GSettings and applications used by the MIME system.
%prep
%setup -q -T -c %{name}-%{version}
cp -a %{SOURCE0} gnome_defaults.conf
cp -a %{SOURCE1} COPYING
cp -a %{SOURCE2} glib2-branding.gschema.override.in
%build
test -f %{_datadir}/wallpapers/%{branding_name}-default.xml
sed "s,@@WALLPAPER_URI@@,file://%{_datadir}/wallpapers/%{branding_name}-default.xml," glib2-branding.gschema.override.in > glib2-branding.gschema.override
#for sound theme
%if 0%{?build_openSUSE}
sed "s:@@IF_openSUSE@@::g" < glib2-branding.gschema.override | \
%if 0%{?sle_version}
sed "s:@@IF_LEAP@@::g" | \
%endif
grep -v ^@@IF_ > %{branding_name}-branding.gschema.override
%endif
%if 0%{?build_SLE}
sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > %{branding_name}-branding.gschema.override
%endif
%install
install -d %{buildroot}%{_sysconfdir}
install -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/
install -d %{buildroot}%{_datadir}/glib-2.0/schemas
install -m0644 %{branding_name}-branding.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/
%files -n gio-branding-%{branding_name}
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%{_datadir}/glib-2.0/schemas/%{branding_name}-branding.gschema.override
%changelog