This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [ITP-2] glib-2.4.2-1 (NOT YET)
- From: Yaakov Selkowitz <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 14 Jun 2004 20:41:22 -0400
- Subject: Re: [ITP-2] glib-2.4.2-1 (NOT YET)
- References: <62-749895092.20040614151014@familiehaase.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerrit P. Haase wrote:
| Renamed & repackaged tarballs:
| http://anfaenger.de/cygwin/gtk+/glib/glib2-2.4.2-1.tar.bz2
| http://anfaenger.de/cygwin/gtk+/glib/setup.hint
|
| http://anfaenger.de/cygwin/gtk+/glib/glib2-devel-2.4.2-1.tar.bz2
| http://anfaenger.de/cygwin/gtk+/glib/setup.hint.devel
|
| http://anfaenger.de/cygwin/gtk+/glib/glib2-doc-2.4.2-1.tar.bz2
| http://anfaenger.de/cygwin/gtk+/glib/setup.hint.doc
If we've decided to keep this in /usr, then the binary packages look
good to me; programs built against previous versions of glib2 are
working fine, and I built perl-Glib against this and it passed all its
tests.
One last remark about the prefix: remember that libtool hardcodes the
path of dependancy_libs in the .la, so switching paths means not only
rebuilding one library, but rebuilding everything dependent on it. In
other words, we want to decide this NOW.
| http://anfaenger.de/cygwin/gtk+/glib/glib2-2.4.2-1-src.tar.bz2
The build script needs a couple of changes; the patch is attached. The
rest of us don't have a working gtk-doc installation, so
- --disable-gtk-doc is needed. Note that the resulting glib2-doc tarball
is half the size of yours, although the file list is the same AFAICT;
not sure why.
| Runtime package setup.hint:
| ===
| category: Libs Devel
| requires: cygwin libiconv2 libintl2
| sdesc: "low-level core library - runtime libraries and executables"
| ldesc: "GLib is the low-level core library that forms the basis of
| GTK+ and GNOME. It provides data structure handling for C, portability
| wrappers, and interfaces for such runtime functionality as an event
| loop, threads, dynamic loading, and an object system."
Does a runtime lib belong in Devel?
| Devel package setup.hint:
| ===
| category: Libs Devel
| requires: glib
| sdesc: "headers and import libraries for glib"
You need to add the line "external-source: glib2" here. You already
corrected the requires line IIRC.
| Doc package setup.hint:
| ===
| category: Libs Devel Doc
| sdesc: "HTML docs and manpages for glib"
Ditto for the "external-source: glib2" here.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAzj4DpiWmPGlmQSMRAsMLAJwOi231CqDNboZuIDE4Y2NoOtd0kgCfahJ0
Mra6HOUsO8WFf/19/3mM7as=
=1Qzf
-----END PGP SIGNATURE-----
--- glib-2.4.2-1.sh-orig 2004-06-14 18:32:13.068302400 -0400
+++ glib-2.4.2-1.sh 2004-06-14 18:35:30.051550400 -0400
@@ -149,7 +149,7 @@
--libdir=${prefix}/lib --includedir=${prefix}/include \
--mandir=${prefix}/share/man --infodir=${prefix}/share/info \
--libexecdir='${sbindir}' --localstatedir=/var \
- --datadir='${prefix}/share' --enable-gtk-doc )
+ --datadir='${prefix}/share' --disable-gtk-doc )
}
reconf() {
(cd ${topdir} && \
@@ -178,7 +178,7 @@
rm -f ${instdir}${f} ; \
fi ;\
done &&\
- for d in ${prefix}/share/doc/${BASEPKG} ${prefix}/share/doc/Cygwin ; do \
+ for d in ${prefix}/share/doc/${PKG}2-${VER} ${prefix}/share/doc/Cygwin ; do \
if [ ! -d ${instdir}${d} ] ; then \
mkdir -p ${instdir}${d} ;\
fi ;\