A question about package.mask [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

A question about package.mask [Solved]

Postby dunsurfin » Thu Jan 26, 2012 21:13

Entropy wants to remove media-sound/esound as it's no longer in entropy. I thought that adding it to package.mask would prevent that but it doesn't. Is there any way of masking a package to make entropy stop trying to remove it?
Last edited by dunsurfin on Wed Feb 15, 2012 22:02, edited 1 time in total.
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1245
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: A question about package.mask

Postby sabayonino » Thu Jan 26, 2012 22:07

simply don't remove it ;)

ignore entropy message
User avatar
sabayonino
Sagely Hen
 
Posts: 1564
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: A question about package.mask

Postby dunsurfin » Thu Jan 26, 2012 22:13

Not a good idea to ignore entropy messages. I have to tell it not to remove it before the upgrade finishes thoroughly. It's not a chore but I wondered if there was a way of masking it so that entropy ignores it.
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1245
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: A question about package.mask

Postby sabayonino » Fri Jan 27, 2012 0:05

dunsurfin wrote:Not a good idea to ignore entropy messages. I have to tell it not to remove it before the upgrade finishes thoroughly. It's not a chore but I wondered if there was a way of masking it so that entropy ignores it.

If the package isn't no longer in entropy database mask it is useless.
User avatar
sabayonino
Sagely Hen
 
Posts: 1564
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: A question about package.mask

Postby Fitzcarraldo » Fri Jan 27, 2012 0:38

dunsurfin, The latest version of Thunderbird in Gentoo/SL is 9.0. The optional sound notification when new messages arrive now uses libcanberra to play the sound if you select 'Default system sound for new mail' but still uses esound if you select 'Use the following sound file'. The Thunderbird developers are fixing the latter so that it will also use libcanberra. You just need to sit tight and wait. Until then, select 'Default system sound for new mail' and you'll at least hear the dafault system sound, which is a 'pop'. That's better than nothing until the developers fix the code for the user-selectable sound. If I recall correctly, the Gentoo developers may add a patch to the Thunderbird ebuild to fix it before the fixed source code from Mozilla trickles down, so it may even happen in the next Gentoo release of Thunderbird.

Bottom line: make sure you have libcanberra installed and select 'Default system sound for new mail'.

For you to compare with your Entropy packages, below are the USE flags that are On and Off in Thunderbird 9.0 installed on my main laptop via Portage:

Code: Select all
$ eix -I thunderbird
[I] mail-client/thunderbird
     Available versions:  3.1.12 (~)3.1.13 (~)3.1.14 7.0.1-r1 8.0-r1 9.0 {+alsa bindist +crashreporter +crypt custom-cflags custom-optimization +dbus debug gconf gnome +ipc ldap libnotify +lightning linguas_af linguas_ar linguas_be linguas_bg linguas_bn linguas_bn_BD linguas_br linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_en linguas_en_GB linguas_en_US linguas_es linguas_es_AR linguas_es_ES linguas_et linguas_eu linguas_fi linguas_fr linguas_fy linguas_fy_NL linguas_ga linguas_ga_IE linguas_gd linguas_gl linguas_he linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_ko linguas_lt linguas_nb linguas_nb_NO linguas_nl linguas_nn linguas_nn_NO linguas_pa linguas_pa_IN linguas_pl linguas_pt linguas_pt_BR linguas_pt_PT linguas_rm linguas_ro linguas_ru linguas_si linguas_sk linguas_sl linguas_sq linguas_sv linguas_sv_SE linguas_ta linguas_ta_LK linguas_tr linguas_uk linguas_vi linguas_zh linguas_zh_CN linguas_zh_TW mozdom startup-notification system-sqlite +webm wifi}
     Installed versions:  9.0(07:52:50 13/01/12)(alsa crashreporter crypt dbus ipc libnotify lightning linguas_en linguas_en_GB linguas_pt_BR startup-notification webm wifi -bindist -custom-cflags -custom-optimization -debug -gconf -linguas_ar -linguas_be -linguas_bg -linguas_bn -linguas_bn_BD -linguas_br -linguas_ca -linguas_cs -linguas_da -linguas_de -linguas_el -linguas_en_US -linguas_es -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fi -linguas_fr -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gd -linguas_gl -linguas_he -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ko -linguas_lt -linguas_nb -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_PT -linguas_rm -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sl -linguas_sq -linguas_sv -linguas_sv_SE -linguas_ta -linguas_ta_LK -linguas_tr -linguas_uk -linguas_vi -linguas_zh -linguas_zh_CN -linguas_zh_TW -mozdom -system-sqlite)
     Homepage:            http://www.mozilla.com/en-US/thunderbird/
     Description:         Thunderbird Mail Client

and in libcanberra installed on my main laptop via Portage:

Code: Select all
$ eix -I libcanberra
[I] media-libs/libcanberra
     Available versions:  0.28-r5 {alsa gnome gstreamer +gtk +gtk3 oss pulseaudio +sound tdb udev}
     Installed versions:  0.28-r5(08:13:41 18/01/12)(alsa gtk gtk3 pulseaudio sound udev -gnome -gstreamer -oss -tdb)
     Homepage:            http://0pointer.de/lennart/projects/libcanberra/
     Description:         Portable Sound Event Library


esound is well and truely history.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: A question about package.mask

Postby dunsurfin » Fri Jan 27, 2012 9:02

Fitzcarraldo. Thank you for your reply. Fortunately I'm having no problem with my Thunderbird sound as I use the mailbox-alert add-on with the tonequilla add-on in case mailbox-alert fails.
It may be that these two packages no longer use esound but it's not causing any problems yet and I will leave it until it does.
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1245
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: A question about package.mask

Postby dunsurfin » Fri Jan 27, 2012 9:04

sabayonino wrote:If the package isn't no longer in entropy database mask it is useless.


What a bold statement.
I'm afraid it's inaccurate too because I have a use for esound.
Self-righteousness is a loud din raised to drown
the voice of guilt within us - Eric Hoffer
User avatar
dunsurfin
Sagely Hen
 
Posts: 1245
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: A question about package.mask

Postby batvink » Thu Feb 02, 2012 20:44

i like to keep (mask) "xorg-server-1.11.3"
like dunsurfiin tryed with "media-sound/esound"
by adding it to /etc/entropy/packages/package.mask

Still, when upgrading (equo upgrade --pretend),
i see that Entropy wants to downgrade to "xorg-server-1.10.4"
Is there another proper way to prevent Entropy from downgrading xorg-server?
i don't have a legacy card, so no problems at all with xorg-1.11.3
Latest (important) news about sabayon?
Watch Rigo's notice board, or surf to:
https://wiki.sabayon.org/index.php?title=Wiki_News
User avatar
batvink
Technological Hen
 
Posts: 405
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: A question about package.mask

Postby joost » Thu Feb 02, 2012 22:13

You should not even attempt doing this.
If you do, you must also mask ALL drivers because they are build against specific xorg-server.
:wink:

This will certainly get you in trouble.
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: A question about package.mask

Postby wolfden » Fri Feb 03, 2012 7:24

I had no problems masking it and the drivers
I just put in the mask file:

Code: Select all
<x11-base/xorg-server-1.11.3


than you will need to put in the drivers also

xorg-server-1.11.3 is working better for me than 1.10
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest