Friday, September 28, 2012

Slot-operator deps for V8

The recently approved EAPI 5 adds a feature called "slot-operator dependencies" to the package manager specification. Once these dependencies are implemented in the portage tree, the package manager will be able to automatically trigger package rebuilds when library ABI changes occur. Long-term, this will greatly reduce the need for revdep-rebuild.

If you are a Chromium user on Gentoo and you don't use portage-2.2, you have probably noticed that we are using the "preserve_old_lib" kludge so that your web browser doesn't break every time you upgrade the V8 Javascript library. This leaves old versions of V8 installed on your system until you manually clean them up. With slot-operator deps, we can eliminate this kludge since portage will have enough information to know it needs to rebuild chromium automatically. It's pretty neat.

I have forked the dev-lang/v8 and www-client/chromium ebuilds into my overlay to test this new feature; we can't really apply it in the main portage tree until a new enough version of portage has been stabilized. I will be maintaining the latest chromium dev channel release, plus a couple of versions of v8 in my overlay.

If you would like to try it out, you can install my overlay with layman -a floppym. Once you've upgraded to the versions in my overlay, upgrading/downgrading dev-lang/v8 should automatically trigger a chromium rebuild.

If you run into any issues, please file a bug.

11 comments:

  1. The only problem is that, until "preserve-libs" is enabled by default in portage-2.1.x, chromium will still break until it's rebuilt (that can take really a long time on some machines)

    ReplyDelete
    Replies
    1. Ah, good point. I actually wasn't sure how that would work.

      Delete
  2. I trust these automatic rebuilds will happen only as needed not after every single v8 rebuild since, afaik, it doesn't always break ABI.

    ReplyDelete
    Replies
    1. Right. I am using the new sub-slot functionality for this. For V8 sub-slot is being set to the first 3 version components, which are also used to set the SONAME. So, the rebuilds happen when the SONAME changes.

      Delete
  3. Thank you for providing us such useful information. i also had research on
    wordpress
    ufa88kh.blogspot
    youtube
    ហ្គេម​ SLOT ONLINE

    ReplyDelete
  4. pg slot ทดลอง เล่น สล็อต เกมสล็อต จากทางค่ายถูกรวบรวมไว้ที่นี่หมดแล้ว ถือว่าเป็นอีกค่ายเกมสล็อตออนไลน์ pg ที่มีความแปลกใหม่แตกต่างไปจากผู้ให้บริการอื่น ในเรื่องของรูปแบบ

    ReplyDelete
  5. Pg Soft เล่นได้ทุกแพลตฟอร์ม รองรับทุกระบบปลอดภัย 100% เล่นได้ตลอด 24 ชั่วโมง ยิ่งเล่น ยิ่งรวยแน่นอน

    ReplyDelete
  6. Pg เว็บสล็อต สมัคร ฟรี สมัคร PG Slot กับเว็บไซต์ของเรา รับโปรโมชั่นดีๆที่หาไม่ได้จากที่อื่น พร้อมทั้งระบบการสมัครสมาชิกที่รองรับให้ท่านสามารถสมัครได้อย่างรวดเร็ว ผ่านทางระบบออโต้

    ReplyDelete
  7. สล็อต pg ดีที่สุดเกมออนไลน์ PG SLOT สล็อตบนโทรศัพท์เคลื่อนที่ แบบใหม่ตอนนี้ ของโลก สมัครเล่น SLOT วันนี้รับโบนัส แรกเข้า 100% ในทันทีทันใด โบนัส 50% สำหรับสมาชิกใหม่

    ReplyDelete
  8. เกมส์สล็อต (Slot Online) ก็เป็นอีกเกมหนึ่งได้เป็นที่ชื่นชอบไม่แพ้กันและจากนั้นก็ยังอยู่คู่กับคาสิโนออนไลน์มาอย่างนานอีกด้วย pg slot โดยสล็อตออนไลน์ (Slot Online) นั้นจะมีลักษณะเด่นเลยก็คือจะเป็นรูปลักษณ์ตู้เกม หรือที่เราก็จะกันหรือเคยทราบกันก็คือ เครื่องสล็อตแมชชีน นั่นเองนะครับ

    ReplyDelete
  9. บริการ สล็อต allbet 24 hr หนึ่งในเกมคาสิโนออนไลน์ที่ได้รับความนิยมอย่างมากในวงการพนันออนไลน์ pg slot ด้วยความหลากหลายที่มีในเกม รวมถึงกราฟิกที่สวยงามและการออกแบบที่น่าทึ่ง

    ReplyDelete