 |
 |
 |
 |
| 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. |

15th February 2012, 10:26 AM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 142

|
|
|
Re: MATE Desktop for fedora 16
Thanks Leigh for your reference.
Scriplet errors are fixed in engrampa-1.1.0-2.fc16.x86_64 and mate-notification-daemon-1.1.0-2.fc16.x86_64.
The new package versions are uploaded.
__________________
Life is to short for boring desktops
|

16th February 2012, 08:46 PM
|
 |
Registered User
|
|
Join Date: Dec 2011
Posts: 213

|
|
|
Re: MATE Desktop for fedora 16
very good job raveit65, I guess idk what to use now, cinnamon or mate
cheers
|

20th February 2012, 05:57 PM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 536

|
|
|
Re: MATE Desktop for fedora 16
hey again..
stupid question...
How do you enable destop effects?
I spend a few days and can't find a way.
Thank you.
|

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

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by solo2101
hey again..
stupid question...
How do you enable destop effects?
I spend a few days and can't find a way.
Thank you.
|
Try
Code:
mate-session-properties
And add compiz as a startup program
enter this in the command section
Code:
compiz ccp --replace
|

20th February 2012, 07:37 PM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 536

|
|
|
Re: MATE Desktop for fedora 16
Hey Thanks
I dont have compiz intalled, and I read somewhere on this thread that the newest version does not work.
which one do I need to install?
---------- Post added at 11:29 AM ---------- Previous post was at 11:14 AM ----------
0.94
got it... thanks
---------- Post added at 11:41 AM ---------- Previous post was at 11:29 AM ----------
I install 0.95 because there is no other in the repo...?
then i do
Code:
compiz ccp --replace
compiz (core) - Error: Couldn't load plugin 'ccp'
compiz (core) - Error: Couldn't load plugin 'ccp'
compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported
and I lose marco (windows decoration)
---------- Post added at 12:37 PM ---------- Previous post was at 11:41 AM ----------
ok got the error fix...
but still having problems with window decoration...
is there a replace command under MATE for:
Code:
gtk-window-decorator --replace
when I do it, I get the Adwaita window decorator...
|

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

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by solo2101
Hey Thanks
I dont have compiz intalled, and I read somewhere on this thread that the newest version does not work.
which one do I need to install?
---------- Post added at 11:29 AM ---------- Previous post was at 11:14 AM ----------
0.94
got it... thanks
---------- Post added at 11:41 AM ---------- Previous post was at 11:29 AM ----------
I install 0.95 because there is no other in the repo...?
then i do
Code:
compiz ccp --replace
compiz (core) - Error: Couldn't load plugin 'ccp'
compiz (core) - Error: Couldn't load plugin 'ccp'
compiz (core) - Warn: SmcOpenConnection failed: None of the authentication protocols specified are supported
and I lose marco (windows decoration)
---------- Post added at 12:37 PM ---------- Previous post was at 11:41 AM ----------
ok got the error fix...
but still having problems with window decoration...
is there a replace command under MATE for:
Code:
gtk-window-decorator --replace
when I do it, I get the Adwaita window decorator... 
|
You forgot to install ccsm
|

20th February 2012, 08:23 PM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 536

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by leigh123linux
You forgot to install ccsm 
|
 ...yeah... that was the problem...
any way to replace metacity with marco?
|

20th February 2012, 09:36 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 142

|
|
|
Re: MATE Desktop for fedora 16
The normal way to do this is
But this breaks compiz on my desktop. (compiz-0.94)
I start compiz drectly with emerald with the compiz-manger script and that works.
Try this command maybe it works with compiz-0.95.
I read about that mate has problems with compiz and they have a own compiz version at
https://github.com/stefano-k/compiz
But i don't know what's the different to the normal compiz version and why they initiate a own version.
The main problem is that marco isn't integrate in compiz. So if you start the gtk-windows-decorator it will start metacity not marco.
---------- Post added at 10:36 PM ---------- Previous post was at 10:33 PM ----------
Pls, can you open a issue report at https://github.com/mate-desktop/mate-window-manager .
I'll also ask the developer about problems with compiz.
__________________
Life is to short for boring desktops
Last edited by raveit65; 20th February 2012 at 09:43 PM.
|

21st February 2012, 01:57 AM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: behind that screen...
Posts: 536

|
|
|
Re: MATE Desktop for fedora 16
Ok I found a workarround... and it works great...
you need to copy the theme folder from /usr/share/theme/Equinox Evolution Dawn (in my case)
to your home ~/.themes folder...
under the ~/.theme/Equinox Evolution Dawn (in this case)
you just need the metacity-1 folder, so you can erase the other files...
Then use gnome3 tweak tool to set "Theme-> Window Theme" to Equinox Evolution Dawn (in this case)
and it works...
|

23rd February 2012, 01:12 AM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 142

|
|
|
Re: MATE Desktop for fedora 16
He guys,
i need a little bit help.
If i build mate-keyring for i686 i get following error in the make part.
Code:
rpmbuild/BUILD/mate-keyring-1.1.0/gp11/.libs/libmategp11.so: undefined reference to `__sync_bool_compare_and_swap_4'
With configure flag
Code:
CFLAGS="-march=i686 -O2"
i can solve the make error.
But how can i insert this in the spec file for building x86_64 and i686?
I try the following but it doesn't work.
Code:
%configure --disable-gtk-doc \
--with-pam-dir=/%{_lib}/security \
--disable-acl-prompts \
--enable-pam \
--with-gtk=2.0 \
%ifarch i686
CFLAGS="-march=i686 -O2"
%endif
The CFLAGS parameter would be ignored.
Edit: google helps
With the configure flag
CFLAGS='-march=native -mtune=native -g -O2'
building for i686 and x86_64 works.
__________________
Life is to short for boring desktops
Last edited by raveit65; 23rd February 2012 at 02:23 AM.
|

23rd February 2012, 11:09 AM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
He guys,
i need a little bit help.
If i build mate-keyring for i686 i get following error in the make part.
Code:
rpmbuild/BUILD/mate-keyring-1.1.0/gp11/.libs/libmategp11.so: undefined reference to `__sync_bool_compare_and_swap_4'
With configure flag
Code:
CFLAGS="-march=i686 -O2"
i can solve the make error.
But how can i insert this in the spec file for building x86_64 and i686?
I try the following but it doesn't work.
Code:
%configure --disable-gtk-doc \
--with-pam-dir=/%{_lib}/security \
--disable-acl-prompts \
--enable-pam \
--with-gtk=2.0 \
%ifarch i686
CFLAGS="-march=i686 -O2"
%endif
The CFLAGS parameter would be ignored.
Edit: google helps
With the configure flag
CFLAGS='-march=native -mtune=native -g -O2'
building for i686 and x86_64 works.
|
This would be the correct way to set cflags (you forgot to export and there is no point calling it after configure).
Code:
%ifarch %{ix86}
export CFLAGS="-march=i686 -O2"
%endif
%configure --disable-gtk-doc \
--with-pam-dir=/%{_lib}/security \
--disable-acl-prompts \
--enable-pam \
--with-gtk=2.0
What buildsystem are you using to build your packages? as it's broken!, if building on i686 O/S or mock the default flags are automatically set to
Quote:
|
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
|
|

23rd February 2012, 01:23 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 142

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by leigh123linux
This would be the correct way to set cflags (you forgot to export and there is no point calling it after configure).
Code:
%ifarch %{ix86}
export CFLAGS="-march=i686 -O2"
%endif
%configure --disable-gtk-doc \
--with-pam-dir=/%{_lib}/security \
--disable-acl-prompts \
--enable-pam \
--with-gtk=2.0
What buildsystem are you using to build your packages? as it's broken!, if building on i686 O/S or mock the default flags are automatically set to
|
Thx for your help.
I'm building on a standard fc16 32 bit installation in virtualbox.
I see those are normally the standard exports, but without extra calling them i can't build mate-keyring on i686.
Is there a way to test the buildsystem?
I 've to use the exports with libmatekeyring too. This package builds normal but without the export i get the error during building the libmatekeyring part in the caja package.
All the 32bit packages have '.i386' in it's name.
caja-1.1.2-5.fc16.i386.rpm
I expected 'i686'.
__________________
Life is to short for boring desktops
|

23rd February 2012, 01:45 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
Thx for your help.
I'm building on a standard fc16 32 bit installation in virtualbox.
I see those are normally the standard exports, but without extra calling them i can't build mate-keyring on i686.
Is there a way to test the buildsystem?
I 've to use the exports with libmatekeyring too. This package builds normal but without the export i get the error during building the libmatekeyring part in the caja package.
All the 32bit packages have '.i386' in it's name.
caja-1.1.2-5.fc16.i386.rpm
I expected 'i686'.
|
That isn't ideal, a better alternative is to use the mock buildsystem on your native 64bit O/S.
In fact I would recommend using mock for both arch's, here's my custom mock config which runs createrepo after each successful build.
Code:
[leigh@main_pc ~]$ cat /etc/mock/fedora-16-x86_64.cfg
config_opts['root'] = 'fedora-16-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc16' # only useful for --resultdir variable subst
config_opts['basedir'] = '/home/leigh/'
#config_opts['basedir'] = '/dev/shm/'
config_opts['resultdir'] = "/var/lib/mock/fedora-16-x86_64"
config_opts['cleanup_on_success'] = True
config_opts['cleanup_on_failure'] = False
config_opts['createrepo_on_rpms'] = True
config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm'
config_opts['macros']['%_topdir']="/builddir/build"
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=x86_64
failovermethod=priority
[updates-released]
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16&arch=x86_64
failovermethod=priority
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f16-build/latest/x86_64/
cost=2000
enabled=0
[fedora-debug]
name=fedora-debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-16&arch=x86_64
failovermethod=priority
enabled=0
[updates-debug]
name=updates-debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f16&arch=x86_64
failovermethod=priority
enabled=0
[result]
name=result
baseurl=file:/var/lib/mock/fedora-16-x86_64/
"""
Code:
[leigh@main_pc ~]$ cat /etc/mock/fedora-16-i386.cfg
config_opts['root'] = 'fedora-16-i386'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc16' # only useful for --resultdir variable subst
config_opts['basedir'] = '/home/leigh/'
#config_opts['basedir'] = '/dev/shm/'
config_opts['resultdir'] = "/var/lib/mock/fedora-16-i386"
config_opts['cleanup_on_success'] = True
config_opts['cleanup_on_failure'] = False
config_opts['createrepo_on_rpms'] = True
config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=i386
failovermethod=priority
[updates-released]
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16&arch=i386
failovermethod=priority
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f16-build/latest/i386/
cost=2000
enabled=0
[fedora-debug]
name=fedora-debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-16&arch=i386
failovermethod=priority
enabled=0
[updates-debug]
name=updates-debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f16&arch=i386
failovermethod=priority
enabled=0
[result]
name=result
baseurl=file:/var/lib/mock/fedora-16-i386/
"""
[leigh@main_pc ~]$
You can also use the --target option (this may help the cflags)
Code:
rpmbuild -ba --target=i686 package.spec
|

23rd February 2012, 01:48 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Berlin
Posts: 142

|
|
|
Re: MATE Desktop for fedora 16
I forgot, it's necessary with caja too.
Code:
CC eel-types.lo
CC eel-vfs-extensions.lo
CC eel-wrap-table.lo
CC eel-xml-extensions.lo
CCLD libeel-2.la
CCLD check-program
./.libs/libeel-2.a(eel-string.o): In function `eel_ref_str_unref':
/home/rave/rpmbuild/BUILD/caja-1.1.2/eel/eel-string.c:998: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[2]: *** [check-program] Error 1
make[2]: Leaving directory `/home/rave/rpmbuild/BUILD/caja-1.1.2/eel'
make[1]: *** [all-recursive] Error 1
__________________
Life is to short for boring desktops
|

23rd February 2012, 02:11 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: MATE Desktop for fedora 16
Quote:
Originally Posted by raveit65
I forgot, it's necessary with caja too.
Code:
CC eel-types.lo
CC eel-vfs-extensions.lo
CC eel-wrap-table.lo
CC eel-xml-extensions.lo
CCLD libeel-2.la
CCLD check-program
./.libs/libeel-2.a(eel-string.o): In function `eel_ref_str_unref':
/home/rave/rpmbuild/BUILD/caja-1.1.2/eel/eel-string.c:998: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[2]: *** [check-program] Error 1
make[2]: Leaving directory `/home/rave/rpmbuild/BUILD/caja-1.1.2/eel'
make[1]: *** [all-recursive] Error 1
|
To check the build config for cflags
Code:
[leigh@main_pc ~]$ rpm --showrc |grep optflags
optflags : %{__global_cflags} -m64 -mtune=generic
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
RPM_OPT_FLAGS="%{optflags}"
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ;
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ;
-11: optflags %{__global_cflags} -m64 -mtune=generic
[leigh@main_pc ~]$ rpm --showrc |grep -e optflags -e global_cflags
optflags : %{__global_cflags} -m64 -mtune=generic
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
RPM_OPT_FLAGS="%{optflags}"
-14: __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 %{_hardened_cflags}
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ;
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ;
-11: optflags %{__global_cflags} -m64 -mtune=generic
[leigh@main_pc ~]$
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
|
| 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: 22:35 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|