Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528256 - app-arch/gcab-0.4 - library for working with MS cabinet files
Summary: app-arch/gcab-0.4 - library for working with MS cabinet files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://wiki.gnome.org/msitools
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 528258
  Show dependency tree
 
Reported: 2014-11-04 19:38 UTC by M8R-u38wij
Modified: 2015-06-09 02:40 UTC (History)
1 user (show)

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


Attachments
gcab-0.4.ebuild (gcab-0.4.ebuild,804 bytes, text/plain)
2014-11-04 19:38 UTC, M8R-u38wij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M8R-u38wij 2014-11-04 19:38:49 UTC
Created attachment 388542 [details]
gcab-0.4.ebuild

Library for work with MS cabinet files. Dependency for msitools
Comment 1 Pacho Ramos gentoo-dev 2015-06-07 10:22:37 UTC
Looks like builder component of new appstream-glib will need this :/
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-09 02:38:35 UTC
(In reply to M8R-u38wij from comment #0)
> Created attachment 388542 [details]
> gcab-0.4.ebuild

Ebuild review:

* you forgot dependencies on glib and zlib. Remember to use "scanelf -n" to check what your compiled binaries link to.
* AFAICT, gobject-introspection-common and vala-common dependencies are needed here only if doing eautoreconf (for example, if building a git checkout, or if applying patches to configure.ac or Makefile.am)
* ECONF_SOURCE=${S} is needed only for out-of-source-tree builds, typically for multilib. Not needed here.
* don't enable static libraries unless it's a core system library or there is a realistic scenario why users want the static library
* you need GCONF_DEBUG and VALA_USE_DEPEND
* you need to call both gnome2_src_prepare and (if vala USE flag is enabled) vala_src_prepare
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-09 02:40:59 UTC
Added to portage with the above fixes.

+*gcab-0.6 (09 Jun 2015)
+
+  09 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org> +gcab-0.6.ebuild,
+  +metadata.xml:
+  Library and tool for dealing with Microsoft CAB files, needed for some Gnome
+  components; bug #528256, thanks to M8R-u38wij for the ebuild.