Bug 190557 - [PATCH] x11-wm/simple-ccsm: support staging and update port to latest version
Summary: [PATCH] x11-wm/simple-ccsm: support staging and update port to latest version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 08:18 UTC by Daniel Austin
Modified: 2014-06-03 18:48 UTC (History)
1 user (show)

See Also:


Attachments
20140603-simple-ccsm.diff (1.99 KB, patch)
2014-06-03 08:18 UTC, Daniel Austin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Austin 2014-06-03 08:18:34 UTC
Created attachment 143320 [details]
20140603-simple-ccsm.diff

I'm happy to takeover maintainer for this port as part of the compiz collection.
	Add staging support
	Update port to latest stable version of software

Fix:
Tested with poudriere
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2014-06-03 18:08:30 UTC
It builds and installs fine.  However, it hangs with the following error.

Traceback (most recent call last):
  File "/usr/local/bin/simple-ccsm", line 1426, in <module>
    mainWin = MainWin(context, page)
  File "/usr/local/bin/simple-ccsm", line 1205, in __init__
    self.Update()
  File "/usr/local/bin/simple-ccsm", line 1247, in Update
    self.AnimationPage.Update()
  File "/usr/local/bin/simple-ccsm", line 704, in Update
    self.FillAnimationBoxes()
  File "/usr/local/bin/simple-ccsm", line 687, in FillAnimationBoxes
    setting = plugin.Screen[settingName]
AttributeError: 'compizconfig.Plugin' object has no attribute 'Screen'

Do you know why?

Jung-uk Kim
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2014-06-03 18:33:39 UTC
(In reply to Jung-uk Kim from comment #1)
> It builds and installs fine.  However, it hangs with the following error.
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/simple-ccsm", line 1426, in <module>
>     mainWin = MainWin(context, page)
>   File "/usr/local/bin/simple-ccsm", line 1205, in __init__
>     self.Update()
>   File "/usr/local/bin/simple-ccsm", line 1247, in Update
>     self.AnimationPage.Update()
>   File "/usr/local/bin/simple-ccsm", line 704, in Update
>     self.FillAnimationBoxes()
>   File "/usr/local/bin/simple-ccsm", line 687, in FillAnimationBoxes
>     setting = plugin.Screen[settingName]
> AttributeError: 'compizconfig.Plugin' object has no attribute 'Screen'

I found a fix.  In fact, they prematurely update it to use later libcompizconfig API.

http://cgit.compiz.org/compiz/compizconfig/simple-ccsm/commit/?id=f0f61be09fe4308ae2ffa3200035228677cba90c

I reverted it and it went further.  However, it was dumping core.  More worse, I reverted it back to 0.8.4 and it still happened.  I guess the port was stale for awhile now.  I'll commit the fixes for these two problems with your patch.

Jung-uk Kim
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2014-06-03 18:48:13 UTC
Committed (r356389), thanks!

http://svnweb.freebsd.org/changeset/ports/356389