 |
 |
 |
 |
| Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that. |

13th February 2012, 12:31 AM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 144

|
|
|
Re: MATE Desktop for fedora 16
Ok guys,
i see it's necessary to provide packages for .i686.
But this will take some time because i have to correct the spec files by most packages.
Be patient i'll announced it here if the work is done.
For the moment there are no packages available for .i686
__________________
Life is to short for boring desktops
|

13th February 2012, 02:27 AM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 553

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by tox
havent you seen a screenshot of it?
|
yes i have, but i haven't try it yet.
---------- Post added at 07:27 PM ---------- Previous post was at 06:50 PM ----------
does it work with compiz?
|

13th February 2012, 02:40 AM
|
|
Registered User
|
|
Join Date: Feb 2012
Location: Paraíba
Posts: 17

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
Ok guys,
i see it's necessary to provide packages for .i686.
But this will take some time because i have to correct the spec files by most packages.
Be patient i'll announced it here if the work is done.
For the moment there are no packages available for .i686
|
Tell me one thing. I have only 2GB of memory RAM and, when I used Windows 7, people'd say that you need to have like 4GB+ so that a 64-bit OS would work properly. It's the same with Linux? How much memory RAM should I have to use it?
Thank you all for the support.
|

13th February 2012, 02:48 AM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: MATE Desktop for fedora 16
A 64 bit OS works fine with 2GB of RAM. I dual boot 64 bit Fedora and Vista on my 4.5 year old Toshiba laptop, mostly because it was a challenge to get 64 bit Vista working on a machine that didn't support it from the factory.
dd_wizard
|

13th February 2012, 03:06 AM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 144

|
|
|
Re: MATE Desktop for fedora 16
screenshots:
Standard and my destop with compiz.
I'm using compiz-0.94 because i loved emerald.
__________________
Life is to short for boring desktops
|

13th February 2012, 03:46 AM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 553

|
|
|
Re: MATE Desktop for fedora 16
cool
so I need to use "compiz fusion Icon"?
another question... the gnome-applets... like global-menu, does it work?
how about gnomenu?
|

13th February 2012, 01:04 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Location: Finland
Age: 33
Posts: 380

|
|
|
Re: MATE Desktop for fedora 16
FYI:
If I remove MATE Desktop Fedora loses some of graphics (wallpapers, icons etc..). Problem can be avoided by reinstalling it.
|

13th February 2012, 01:18 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
screenshots:
Standard and my destop with compiz.
I'm using compiz-0.94 because i loved emerald.
|
There's a patched emerald srpm for compiz-0.9.50 +
http://forums.fedoraforum.org/showpo...2&postcount=12
|

13th February 2012, 05:59 PM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by tsorvoja
FYI:
If I remove MATE Desktop Fedora loses some of graphics (wallpapers, icons etc..). Problem can be avoided by reinstalling it.
|
I lost those functions, and evince is hosed by the uninstall as well. Perhaps Leigh can spot what's broken in the uninstall code for MATE?
EDIT: I didn't try gnomes-hell after uninstalling MATE, just cinnamon. There may be some interaction between MATE and cinnamon that causes issues when MATE is uninstalled. Everything is working after reinstalling MATE.
Thanks,
dd_wizard
Last edited by dd_wizard; 13th February 2012 at 06:14 PM.
|

13th February 2012, 06:24 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 144

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by leigh123linux
|
Nice,
but compiz-0.95 doesn't work correctly on my mate desktop.
It isn't possible to close any window. I mean the window closed fizikman and it isn't anymore in the windows list,
but the image stays on screen.
At the moment i've no time to figure out the issue.
So i switch back to 0.94.
Also compiz-gtk-0.95 obselete emerald-themes.
---------- Post added at 07:24 PM ---------- Previous post was at 07:14 PM ----------
Quote:
Originally Posted by dd_wizard
I lost those functions, and evince is hosed by the uninstall as well. Perhaps Leigh can spot what's broken in the uninstall code for MATE?
EDIT: I didn't try gnomes-hell after uninstalling MATE, just cinnamon. There may be some interaction between MATE and cinnamon that causes issues when MATE is uninstalled. Everything is working after reinstalling MATE.
Thanks,
dd_wizard
|
How did you uninstall your mate noarch packages?
Can you post the messages from the terminal to see what's going on?
But i will check in virtualbox uninstall mate.
__________________
Life is to short for boring desktops
|

13th February 2012, 06:41 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by dd_wizard
I lost those functions, and evince is hosed by the uninstall as well. Perhaps Leigh can spot what's broken in the uninstall code for MATE?
EDIT: I didn't try gnomes-hell after uninstalling MATE, just cinnamon. There may be some interaction between MATE and cinnamon that causes issues when MATE is uninstalled. Everything is working after reinstalling MATE.
Thanks,
dd_wizard
|
There's nothing in cinnamon or gnomes-hell that would conflict with Mate.
It's more likely to be a conflict with gnome3, perhaps gsettings?
|

13th February 2012, 08:05 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 144

|
|
|
Re: MATE Desktop for fedora 16
The issue happens if i uninstalled mate-icon-theme.
Code:
[root@virtualbox ~]# yum remove mate-icon-theme
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package mate-icon-theme.noarch 0:1.1.1-1.fc16 will be erased
--> Processing Dependency: mate-icon-theme for package: mate-control-center-1.1.0-1.fc16.x86_64
--> Processing Dependency: mate-icon-theme for package: libmateweather-1.1.0-1.fc16.x86_64
--> Processing Dependency: mate-icon-theme >= 1.1.0 for package: caja-1.1.2-3.fc16.x86_64
--> Processing Dependency: mate-icon-theme = 1.1.1-1.fc16 for package: mate-icon-theme-legacy-1.1.1-1.fc16.noarch
--> Processing Dependency: mate-icon-theme for package: mate-power-manager-1.1.0-1.fc16.x86_64
--> Running transaction check
---> Package caja.x86_64 0:1.1.2-3.fc16 will be erased
--> Processing Dependency: caja = 1.1.2-3.fc16 for package: caja-extensions-1.1.2-3.fc16.x86_64
--> Processing Dependency: caja for package: atril-caja-1.1.1-2.fc16.x86_64
---> Package libmateweather.x86_64 0:1.1.0-1.fc16 will be erased
--> Processing Dependency: libmateweather.so.1()(64bit) for package: mate-panel-1.1.1-2.fc16.x86_64
---> Package mate-control-center.x86_64 0:1.1.0-1.fc16 will be erased
--> Processing Dependency: mate-control-center for package: mate-session-1.1.2-2.fc16.x86_64
---> Package mate-icon-theme-legacy.noarch 0:1.1.1-1.fc16 will be erased
---> Package mate-power-manager.x86_64 0:1.1.0-1.fc16 will be erased
--> Running transaction check
---> Package atril-caja.x86_64 0:1.1.1-2.fc16 will be erased
---> Package caja-extensions.x86_64 0:1.1.2-3.fc16 will be erased
--> Processing Dependency: libcaja-extension.so.1()(64bit) for package: engrampa-1.1.0-1.fc16.x86_64
--> Processing Dependency: libcaja-extension.so.1()(64bit) for package: caja-image-converter-1.1.0-1.fc16.x86_64
---> Package mate-panel.x86_64 0:1.1.1-2.fc16 will be erased
---> Package mate-session.x86_64 0:1.1.2-2.fc16 will be erased
--> Processing Dependency: mate-session = 1.1.2-2.fc16 for package: mate-session-xsession-1.1.2-2.fc16.x86_64
--> Running transaction check
---> Package caja-image-converter.x86_64 0:1.1.0-1.fc16 will be erased
---> Package engrampa.x86_64 0:1.1.0-1.fc16 will be erased
---> Package mate-session-xsession.x86_64 0:1.1.2-2.fc16 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
mate-icon-theme noarch 1.1.1-1.fc16 @mate-desktop-fedora-updates 8.2 M
Removing for dependencies:
atril-caja x86_64 1.1.1-2.fc16 @mate-desktop-fedora-updates 88 k
caja x86_64 1.1.2-3.fc16 @mate-desktop-fedora-updates 17 M
caja-extensions x86_64 1.1.2-3.fc16 @mate-desktop-fedora-updates 163 k
caja-image-converter x86_64 1.1.0-1.fc16 @mate-desktop-fedora 201 k
engrampa x86_64 1.1.0-1.fc16 @mate-desktop-fedora 5.2 M
libmateweather x86_64 1.1.0-1.fc16 @mate-desktop-fedora 87 M
mate-control-center x86_64 1.1.0-1.fc16 @mate-desktop-fedora 8.3 M
mate-icon-theme-legacy noarch 1.1.1-1.fc16 @mate-desktop-fedora-updates 0.0
mate-panel x86_64 1.1.1-2.fc16 @mate-desktop-fedora-updates 11 M
mate-power-manager x86_64 1.1.0-1.fc16 @mate-desktop-fedora 7.5 M
mate-session x86_64 1.1.2-2.fc16 @mate-desktop-fedora-updates 1.6 M
mate-session-xsession x86_64 1.1.2-2.fc16 @mate-desktop-fedora-updates 6.2 k
Transaction Summary
================================================================================
Remove 13 Packages
Installed size: 147 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : mate-icon-theme-legacy-1.1.1-1.fc16.noarch 1/13
Erasing : atril-caja-1.1.1-2.fc16.x86_64 2/13
Erasing : mate-panel-1.1.1-2.fc16.x86_64 3/13
Erasing : mate-session-xsession-1.1.2-2.fc16.x86_64 4/13
Erasing : mate-session-1.1.2-2.fc16.x86_64 5/13
Erasing : mate-control-center-1.1.0-1.fc16.x86_64 6/13
Erasing : libmateweather-1.1.0-1.fc16.x86_64 7/13
Erasing : engrampa-1.1.0-1.fc16.x86_64 8/13
Erasing : caja-image-converter-1.1.0-1.fc16.x86_64 9/13
I/O warning : failed to load external entity "/etc/mateconf/schemas/engrampa.schemas"
Failed to open `/etc/mateconf/schemas/engrampa.schemas': No such file or directory
Erasing : caja-extensions-1.1.2-3.fc16.x86_64 10/13
Erasing : caja-1.1.2-3.fc16.x86_64 11/13
Erasing : mate-power-manager-1.1.0-1.fc16.x86_64 12/13
Erasing : mate-icon-theme-1.1.1-1.fc16.noarch 13/13
Removed:
mate-icon-theme.noarch 0:1.1.1-1.fc16
Dependency Removed:
atril-caja.x86_64 0:1.1.1-2.fc16
caja.x86_64 0:1.1.2-3.fc16
caja-extensions.x86_64 0:1.1.2-3.fc16
caja-image-converter.x86_64 0:1.1.0-1.fc16
engrampa.x86_64 0:1.1.0-1.fc16
libmateweather.x86_64 0:1.1.0-1.fc16
mate-control-center.x86_64 0:1.1.0-1.fc16
mate-icon-theme-legacy.noarch 0:1.1.1-1.fc16
mate-panel.x86_64 0:1.1.1-2.fc16
mate-power-manager.x86_64 0:1.1.0-1.fc16
mate-session.x86_64 0:1.1.2-2.fc16
mate-session-xsession.x86_64 0:1.1.2-2.fc16
Complete!
But if i remove mate-icon-theme with
Code:
rpm -e mate-icon-theme-legacy-1.1.1-1.fc16.noarch mate-icon-theme-1.1.1-1.fc16.noarch --nodeps
icons and backgrounds from gnome are still there.
For the moment i have to go to work, so i will figure out the issue more deeper tomorrow in the evening.
__________________
Life is to short for boring desktops
|

13th February 2012, 08:18 PM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: MATE Desktop for fedora 16
Since you asked for it, here's the history for the transaction that uninstalled MATE. Transaction 109 was "sudo yum groupinstall MATE-Desktop":
Code:
$ sudo yum history info 111
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove-with-leaves, show-
: leaves, verify
Transaction ID : 111
Begin time : Mon Feb 13 09:37:48 2012
Begin rpmdb : 1566:cbb3eed09c8cd2288304d592942284a61c9aec0e
End time : 09:39:10 2012 (82 seconds)
End rpmdb : 1503:2b9a99dcce58c5c412d5da724b3bca564d673ff8
User : Gene <gene>
Return-Code : Success
Command Line : history undo 109
Transaction performed with:
Installed rpm-4.9.1.2-5.fc16.x86_64 @updates
Installed yum-3.4.3-7.fc16.noarch @updates
Installed yum-metadata-parser-1.1.4-5.fc16.x86_64 @anaconda-0
Installed yum-plugin-fastestmirror-1.1.31-2.fc16.noarch @fedora
Packages Altered:
Erase atril-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase atril-caja-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase atril-djvu-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase atril-dvi-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase atril-libs-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase autoconf-2.68-2.fc15.noarch @fedora
Erase automake-1.11.1-5.fc14.noarch @fedora
Erase caja-1.1.2-3.fc16.x86_64 @mate-desktop-fedora-updates
Erase caja-extensions-1.1.2-3.fc16.x86_64 @mate-desktop-fedora-updates
Loading mirror speeds from cached hostfile
* fedora: fedora.fastsoft.net
* remi: remi-mirror.dedipower.com
* rpmfusion-free: mirror.us.leaseweb.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* updates: fedora.fastsoft.net
Erase caja-image-converter-1.1.0-1.fc16.x86_64 @?mate-desktop-fedora
Erase desktop-backgrounds-compat-16.0.0-1.fc16.noarch @fedora
Erase djvulibre-libs-3.5.24-1.fc16.x86_64 @fedora
Erase engrampa-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase eom-1.1.0-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase ffmpegthumbnailer-caja-1.1.0-2.fc16.noarch @mate-desktop-fedora-updates
Erase gtksourceview2-2.11.2-6.fc15.x86_64 @fedora
Erase kpathsea-2007-66.fc16.x86_64 @updates
Erase libmate-1.1.3-1.fc16.x86_64 @mate-desktop-fedora-updates
Erase libmatecanvas-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatecomponent-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatecomponentui-1.1.1-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatekbd-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatekbd-capplet-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatekeyring-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmatenotify-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libmateui-1.1.2-1.fc16.x86_64 @mate-desktop-fedora
Erase libmateweather-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase libtool-2.4-7.fc16.x86_64 @fedora
Erase marco-1.1.0-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-accountsdialog-0.6-3.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-accountsservice-0.6.15-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-backgrounds-1.1.0-2.fc16.noarch @mate-desktop-fedora-updates
Erase mate-common-1.1.0-1.fc16.noarch @mate-desktop-fedora
Erase mate-conf-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-conf-gtk-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-control-center-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-control-center-filesystem-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-corba-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-desktop-1.1.0-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-dialogs-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-icon-theme-1.1.1-1.fc16.noarch @mate-desktop-fedora-updates
Erase mate-icon-theme-legacy-1.1.1-1.fc16.noarch @mate-desktop-fedora-updates
Erase mate-keyring-1.1.0-3.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-keyring-pam-1.1.0-3.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-media-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-media-apps-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-menus-1.1.1-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-mime-data-1.1.0-1.fc16.noarch @mate-desktop-fedora
Erase mate-notification-daemon-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-panel-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-panel-libs-1.1.1-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-polkit-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-power-manager-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-session-1.1.2-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-session-xsession-1.1.2-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-settings-daemon-1.1.0-4.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-system-monitor-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase mate-terminal-1.1.0-2.fc16.x86_64 @mate-desktop-fedora-updates
Erase mate-vfs-1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase pluma-1:1.1.0-1.fc16.x86_64 @mate-desktop-fedora
Erase pygtksourceview-2.10.1-3.fc15.x86_64 @fedora
Erase t1lib-5.1.2-9.fc16.x86_64 @updates
Erase vte-0.28.2-2.fc16.x86_64 @updates
Scriptlet output:
1 I/O warning : failed to load external entity "/etc/mateconf/schemas/engrampa.schemas"
2 Failed to open `/etc/mateconf/schemas/engrampa.schemas': No such file or directory
3 I/O warning : failed to load external entity "/etc/mateconf/schemas/mate-notification-daemon.schemas"
4 Failed to open `/etc/mateconf/schemas/mate-notification-daemon.schemas': No such file or directory
history info
Note the errors at the end of the transaction.
dd_wizard
|

14th February 2012, 11:42 AM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 144

|
|
|
Re: MATE Desktop for fedora 16
Caja was causing the issue.
If using the command 'rpm -e caja --nodeps' background and icons are gone in gnome.
Adding '%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null'
to the %postun section in the spec file solve the issue.
New fixed rpm caja-1.1.2-4.fc16.x86_64 is avaible in the updates repo.
Steps to remove the MATE desktop:
-- update to caja-1.1.2-4.fc16.x86_64 (if the package not there use 'yum clean all' first)
-- yum groupremove MATE-Desktop
@tsorvoja
@dd_wizard
thanks for reporting the issue, you're making mate stronger in fedora
__________________
Life is to short for boring desktops
|

14th February 2012, 12:09 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
Caja was causing the issue.
If using the command 'rpm -e caja --nodeps' background and icons are gone in gnome.
Adding '%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null'
to the %postun section in the spec file solve the issue.
New fixed rpm caja-1.1.2-4.fc16.x86_64 is avaible in the updates repo.
Steps to remove the MATE desktop:
-- update to caja-1.1.2-4.fc16.x86_64 (if the package not there use 'yum clean all' first)
-- yum groupremove MATE-Desktop
@tsorvoja
@dd_wizard
thanks for reporting the issue, you're making mate stronger in fedora 
|
These errors as caused by using incorrect scriptlets, how can you remove a schema if it's already been removed (use %preun instead of %postun).
Code:
I/O warning : failed to load external entity "/etc/mateconf/schemas/engrampa.schemas"
Failed to open `/etc/mateconf/schemas/engrampa.schemas': No such file or directory
Code:
%define glib2_version 2.16.0
%define pango_version 1.8.0
%define libmateui_version 1.1.2
%define libmateprint_version 1.1.0
%define libmateprintui_version 1.1.0
%define desktop_file_utils_version 0.9
%define caja_version 1.1.0
%define mate_doc_utils_version 1.1.0
Summary: Tool for viewing and creating archives
Name: engrampa
Version: 1.1.0
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Archiving
URL: https://github.com/Perberos/Mate-Desktop-Environment
Source: %{name}-%{version}.tar.gz
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: gtk2-devel
BuildRequires: libglade2-devel
BuildRequires: caja-devel >= %{caja_version}
BuildRequires: libtool
BuildRequires: gettext
BuildRequires: libSM-devel
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
BuildRequires: mate-doc-utils >= %{mate_doc_utils_version}
BuildRequires: intltool
BuildRequires: mate-conf-devel
BuildRequires: mate-common
Requires(pre): mate-conf
Requires(post): mate-conf
Requires(preun): mate-conf
%description
engrampa is an application for creating and viewing archives files,
such as tar or zip files.
%prep
%setup -q
%build
# let's use the ./autogen.sh hammer for now.
./autogen.sh \
--host=x86_64-unknown-linux-gnu \
--build=x86_64-unknown-linux-gnu \
--target=x86_64-unknown-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-scrollkeeper \
--disable-static \
--with-gtk=2.0 \
--enable-caja-actions
# --enable-run-in-place
export tagname=CC
make LIBTOOL=/usr/bin/libtool
%install
export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export tagname=CC
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
rm -f $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.{a,la}
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
%find_lang %{name} --all-name
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-install-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
%pre
if [ "$1" -gt 1 ]; then
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
fi
%postun
update-desktop-database &> /dev/null || :
if [ "$1" -eq 0 ]; then
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
fi
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-, root, root)
%doc README COPYING NEWS AUTHORS
%{_bindir}/engrampa
%{_datadir}/engrampa
%{_datadir}/applications/engrampa.desktop
%{_libdir}/caja/extensions-2.0/libcaja-engrampa.so
%{_libexecdir}/engrampa
%{_datadir}/icons/hicolor/*/apps/engrampa.png
%{_datadir}/icons/hicolor/scalable/apps/engrampa.svg
%{_sysconfdir}/mateconf/schemas/engrampa.schemas
%{_datadir}/mate/help/engrampa/*
%{_datadir}/omf/*
%changelog
* Sun Dec 25 2011 Wolfgang Ulbrich <info@raveit.de> - 1.1.0-1
- engrampa.spec based on file-roller-2.32.0-2.fc14 spec
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> 2.32.0-2
- Fix a typo in %%post. Spotted by Yanko Kaneti
Code:
%define glib2_version 2.16.0
%define pango_version 1.8.0
%define libmateui_version 1.1.2
%define libmateprint_version 1.1.0
%define libmateprintui_version 1.1.0
%define desktop_file_utils_version 0.9
%define caja_version 1.1.0
%define mate_doc_utils_version 1.1.0
Summary: Tool for viewing and creating archives
Name: engrampa
Version: 1.1.0
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Archiving
URL: https://github.com/Perberos/Mate-Desktop-Environment
Source: %{name}-%{version}.tar.gz
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: gtk2-devel
BuildRequires: libglade2-devel
BuildRequires: caja-devel >= %{caja_version}
BuildRequires: libtool
BuildRequires: gettext
BuildRequires: libSM-devel
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
BuildRequires: mate-doc-utils >= %{mate_doc_utils_version}
BuildRequires: intltool
BuildRequires: mate-conf-devel
BuildRequires: mate-common
Requires(pre): mate-conf
Requires(post): mate-conf
Requires(preun): mate-conf
%description
engrampa is an application for creating and viewing archives files,
such as tar or zip files.
%prep
%setup -q
%build
# let's use the ./autogen.sh hammer for now.
./autogen.sh \
--host=x86_64-unknown-linux-gnu \
--build=x86_64-unknown-linux-gnu \
--target=x86_64-unknown-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-scrollkeeper \
--disable-static \
--with-gtk=2.0 \
--enable-caja-actions
# --enable-run-in-place
export tagname=CC
make LIBTOOL=/usr/bin/libtool
%install
export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export tagname=CC
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
rm -f $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.{a,la}
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
%find_lang %{name} --all-name
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-install-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
%pre
if [ "$1" -gt 1 ]; then
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
fi
%postun
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
mateconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/mateconf/schemas/engrampa.schemas \
> /dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-, root, root)
%doc README COPYING NEWS AUTHORS
%{_bindir}/engrampa
%{_datadir}/engrampa
%{_datadir}/applications/engrampa.desktop
%{_libdir}/caja/extensions-2.0/libcaja-engrampa.so
%{_libexecdir}/engrampa
%{_datadir}/icons/hicolor/*/apps/engrampa.png
%{_datadir}/icons/hicolor/scalable/apps/engrampa.svg
%{_sysconfdir}/mateconf/schemas/engrampa.schemas
%{_datadir}/mate/help/engrampa/*
%{_datadir}/omf/*
%changelog
* Sun Dec 25 2011 Wolfgang Ulbrich <info@raveit.de> - 1.1.0-1
- engrampa.spec based on file-roller-2.32.0-2.fc14 spec
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> 2.32.0-2
- Fix a typo in %%post. Spotted by Yanko Kaneti
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:28 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|