Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #46  
Old 15th February 2012, 10:26 AM
raveit65 Offline
Registered User
 
Join Date: Feb 2012
Location: Berlin
Posts: 207
linuxfirefox
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
Reply With Quote
  #47  
Old 16th February 2012, 08:46 PM
bigflopper2 Offline
Registered User
 
Join Date: Dec 2011
Posts: 214
linuxfirefox
Re: MATE Desktop for fedora 16

very good job raveit65, I guess idk what to use now, cinnamon or mate

cheers
Reply With Quote
  #48  
Old 20th February 2012, 05:57 PM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxfirefox
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.
Reply With Quote
  #49  
Old 20th February 2012, 06:09 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by solo2101 View Post
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
Reply With Quote
  #50  
Old 20th February 2012, 07:37 PM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxfirefox
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...
Reply With Quote
  #51  
Old 20th February 2012, 08:14 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by solo2101 View Post
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
Reply With Quote
  #52  
Old 20th February 2012, 08:23 PM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by leigh123linux View Post
You forgot to install ccsm
...yeah... that was the problem...

any way to replace metacity with marco?
Reply With Quote
  #53  
Old 20th February 2012, 09:36 PM
raveit65 Offline
Registered User
 
Join Date: Feb 2012
Location: Berlin
Posts: 207
linuxfirefox
Re: MATE Desktop for fedora 16

The normal way to do this is
Code:
marco --replace &
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.
Reply With Quote
  #54  
Old 21st February 2012, 01:57 AM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
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...
Attached Thumbnails
Click image for larger version

Name:	asdfdfssdfsdfaf.jpeg
Views:	353
Size:	202.3 KB
ID:	22724  
Reply With Quote
  #55  
Old 23rd February 2012, 01:12 AM
raveit65 Offline
Registered User
 
Join Date: Feb 2012
Location: Berlin
Posts: 207
linuxfirefox
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.
Reply With Quote
  #56  
Old 23rd February 2012, 11:09 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by raveit65 View Post
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
Reply With Quote
  #57  
Old 23rd February 2012, 01:23 PM
raveit65 Offline
Registered User
 
Join Date: Feb 2012
Location: Berlin
Posts: 207
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by leigh123linux View Post
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
Reply With Quote
  #58  
Old 23rd February 2012, 01:45 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by raveit65 View Post
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
Reply With Quote
  #59  
Old 23rd February 2012, 01:48 PM
raveit65 Offline
Registered User
 
Join Date: Feb 2012
Location: Berlin
Posts: 207
linuxfirefox
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
Reply With Quote
  #60  
Old 23rd February 2012, 02:11 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: MATE Desktop for fedora 16

Quote:
Originally Posted by raveit65 View Post
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 ~]$
Reply With Quote
Reply

Tags
desktop, fedora, icon, mate, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MATE Desktop question? BogdanPetkovic Using Fedora 7 15th March 2013 11:37 AM
Help with mdmsetup on MATE Desktop Jamwa Using Fedora 0 1st November 2012 06:58 AM
Fedora 17 Net Installation + Mate Desktop DragonWarrior Installation, Upgrades and Live Media 4 4th October 2012 11:42 AM
MATE desktop available for F16! tsorvoja Using Fedora 0 27th January 2012 06:01 PM
Mate Desktop Environment is977 Using Fedora 8 14th December 2011 08:23 PM


Current GMT-time: 05:59 (Sunday, 26-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Shahabad Photos - Hsinchu Instagram Photos - Okha Travel Photos on Instagram