Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378311 - media-libs/xvid : add USE=static-libs support
Summary: media-libs/xvid : add USE=static-libs support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
: 399861 (view as bug list)
Depends on:
Blocks: static-libs
  Show dependency tree
 
Reported: 2011-08-08 11:23 UTC by Agostino Sarubbo
Modified: 2020-04-21 22:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch, works fine for me (xvid-1.3.2-r1.ebuild.patch,867 bytes, patch)
2013-09-22 17:30 UTC, Nikoli
Details | Diff
patch, works fine for me (xvid-1.3.2-r1.ebuild.patch,868 bytes, patch)
2013-09-22 17:36 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-08-08 11:23:42 UTC
This package installs also static libs ".a" please provide do add relative
USE. TIA

/usr/lib/libxvidcore.a
/usr/lib/libxvidcore.so.4.2
/usr/lib/libxvidcore.so.4
/usr/lib/libxvidcore.so
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-01-23 16:21:01 UTC
*** Bug 399861 has been marked as a duplicate of this bug. ***
Comment 2 Nikoli 2013-09-22 17:30:17 UTC
Created attachment 359254 [details, diff]
patch, works fine for me
Comment 3 Nikoli 2013-09-22 17:36:04 UTC
Created attachment 359256 [details, diff]
patch, works fine for me

Fixed typo.
Comment 4 Alexis Ballier gentoo-dev 2013-09-22 17:48:59 UTC
Comment on attachment 359256 [details, diff]
patch, works fine for me

no; disable building static libs, removing it afterwards doesnt gain much and can be done by INSTALL_MASK instead of USE=static-libs
Comment 5 Nikoli 2013-09-22 18:15:09 UTC
Well, disabling linking static lib is better, but removing it in src_install is common practise for portage tree:
qgrep -N static-libs|grep 'rm .*.a' -c
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-09-23 09:59:15 UTC
(In reply to Nikoli from comment #5)
> Well, disabling linking static lib is better, but removing it in src_install
> is common practise for portage tree:
> qgrep -N static-libs|grep 'rm .*.a' -c

A practise I've reverted from everywhere I've seen it -- let's not spread the disease
Comment 7 Larry the Git Cow gentoo-dev 2020-04-21 22:11:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768e33caf66dd41b379218f5188e9cc7ed2e7572

commit 768e33caf66dd41b379218f5188e9cc7ed2e7572
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2020-04-21 22:11:26 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-04-21 22:11:26 +0000

    media-libs/xvid: [QA] Do not install static library
    
    * EAPI 7
    * do not install static library
    * removed fbsd KEYWORDS
    
    Closes: https://bugs.gentoo.org/378311
    Closes: https://github.com/gentoo/gentoo/pull/13085
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/xvid/xvid-1.3.5-r1.ebuild | 68 ++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)