How to to build src from a CygPort?

Viewed 6242

I have a question about the structure of the source code from a cygport package.

Here is the contents of a Cygports source file:

  • the actual source bundle for the project (tar.gz, tar.bz2, etc.)
  • the any number of *.patch files.
  • a .cygport file

I am trying to build gedit-3.4.2 from cygports repository.

How does the .cygport file help me run the proper options in the ./configure ?

For instance, in gedit if i don't specify --disable-spell it won't proceed due to error. How do I get the list of ./configure options that were used to build the project when the cygport was built?

Is there some way we can use the cygport executable to build the cygport and change the prefix too?

Here is the contents of gedit-3.4.2-1.cygport:

inherit python gnome2

DESCRIPTION="GNOME text editor"

PATCH_URI="3.4.2-cygwin.patch"

DEPEND="gnome-common gtk-doc
    girepository(Gtk-3.0)
    pkgconfig(enchant)
    pkgconfig(gtksourceview-3.0)
    pkgconfig(libpeas-gtk-1.0)"

PKG_NAMES="${PN} ${PN}-devel"
PKG_HINTS="setup devel"
gedit_CONTENTS="--exclude=gtk-doc --exclude=libgedit* etc/ usr/bin/ usr/lib/gedit/ ${PYTHON_SITELIB#/} usr/share/"
gedit_devel_CONTENTS="usr/include/ usr/lib/gedit/libgedit* usr/lib/pkgconfig/ usr/share/gtk-doc/"

DIFF_EXCLUDES="*.desktop.in *.schemas.in *-marshal.h"

CYGCONF_ARGS="--libexecdir=/usr/lib --enable-python"

KEEP_LA_FILES="none"

EDIT Someone from Cygwin Ports mailing list said:

"The configure options are

--libexecdir=/usr/lib --enable-python

Which is from CYGCONF_ARGS."

1 Answers
Related