Skip to content

Commit

Permalink
gcontainer-1.99.3 (rebuild on x86_64)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Mar 10, 2015
1 parent 25da807 commit 88b6f69
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 136 deletions.
58 changes: 31 additions & 27 deletions gcontainer/README
Expand Up @@ -7,28 +7,30 @@ objects.

libgcontainer is a little library that provides the following types:

* GChildable, an interface for object that can be child of another object;
* GChild, a base class implementing GChildable;
* GContainerable, an interface for object that can have children;
* GContainer, a base class implementing GChildable and GContainerable
managing children trought a GSList (similar to GtkContainer);
* GBin, a base class implementing GChildable and GContainerable which can
have only one child (similar to GtkBin).
* GChildable, an interface for object that can be child of another object;
* GChild, a base class implementing GChildable;
* GContainerable, an interface for object that can have children;
* GContainer, a base class implementing GChildable and GContainerable
managing children trought a GSList (similar to GtkContainer);
* GBin, a base class implementing GChildable and GContainerable which can
have only one child (similar to GtkBin).

Runtime requirements:
cygwin-1.7.11-1
libglib2.0_0-2.30.2-1
cygwin-1.7.35-1
libgcontainer-devel-1.99.3-1bl4
libgcontainer1.99_3-1.99.3-1bl4
libglib2.0-devel-2.42.1-2
libglib2.0_0-2.42.1-2

Build requirements:
(besides corresponding -devel packages)
autoconf-10-1
automake-4-10
binutils-2.22.51-1
cygport-0.10.9-1
gawk-4.0.0-1
gcc4-core-4.5.3-3
libtool-2.4-1
make-3.82.90-1
autoconf-13-1
automake-9-1
binutils-2.25-1
cygport-0.18.1-1
gcc-core-4.9.2-3
libtool-2.4.6-1
make-4.1-1

Canonical website:
http://savannah.nongnu.org/projects/gcontainer
Expand All @@ -39,17 +41,17 @@ Canonical download:
-------------------------------------------

Build instructions:
unpack gcontainer-1.99.3-X-src.tar.bz2
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
cd /usr/src
cygport ./gcontainer-1.99.3-X.cygport all
1. unpack gcontainer-1.99.3-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./gcontainer-1.99.3-X.cygport all

This will create:
/usr/src/gcontainer-1.99.3-X-src.tar.bz2
/usr/src/gcontainer-1.99.3-X.tar.bz2
/usr/src/libgcontainer1.99_3-1.99.3-X.tar.bz2
/usr/src/libgcontainer-devel-1.99.3-X.tar.bz2
/usr/src/gcontainer-1.99.3-X-src.tar.xz
/usr/src/gcontainer-1.99.3-X.tar.xz
/usr/src/libgcontainer1.99_3-1.99.3-X.tar.xz
/usr/src/libgcontainer-devel-1.99.3-X.tar.xz

-------------------------------------------

Expand All @@ -76,13 +78,15 @@ Files included in the binary package:
/usr/include/gcontainer/gcontainer.h
/usr/include/gcontainer/gcontainerable.h
/usr/lib/libgcontainer.dll.a
/usr/lib/libgcontainer.la
/usr/lib/pkgconfig/gcontainer.pc

------------------

Port Notes:

----- version 1.99.3-1bl4 -----
Rebuild on x86_64

----- version 1.99.3-1bl3 -----
Rebuild with gcc-4.5.3

Expand Down
40 changes: 0 additions & 40 deletions gcontainer/gcontainer-1.99.3-1bl3.cygport

This file was deleted.

16 changes: 0 additions & 16 deletions gcontainer/gcontainer-1.99.3-1bl3.src.patch

This file was deleted.

58 changes: 58 additions & 0 deletions gcontainer/gcontainer-1.99.3-1bl4.cygport
@@ -0,0 +1,58 @@
HOMEPAGE="http://savannah.nongnu.org/projects/${PN}"
SRC_URI="http://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${P}.tar.gz"

CATEGORY="Libs"
SUMMARY="Glib-object based container manager"
DESCRIPTION="Developing applications using gobject-based libraries, I noticed too often I
need container for my own types. While the UI problems are partially solved by
GtkContainer, I ever messed a more generic way to do the same thing for no UI
objects.

libgcontainer is a little library that provides the following types:

* GChildable, an interface for object that can be child of another object;
* GChild, a base class implementing GChildable;
* GContainerable, an interface for object that can have children;
* GContainer, a base class implementing GChildable and GContainerable
managing children trought a GSList (similar to GtkContainer);
* GBin, a base class implementing GChildable and GContainerable which can
have only one child (similar to GtkBin)."

CYGPORT_USE_UNSTABLE_API=1
src_patch_hook()
{
cd ${origsrcdir}/${SRC_DIR}
ln -fs /usr/share/gtk-doc/data/gtk-doc.make .
}

CYGCONF_ARGS="
--enable-maintainer-mode
"

src_test()
{
cd ${B}/test
./demo.exe
./misuse.exe
}

PKG_NAMES="
${PN}
lib${PN}1.99_3
lib${PN}-devel
"
gcontainer_CONTENTS="
usr/share/doc
usr/share/${PN}/examples
"
libgcontainer1_99_3_CONTENTS="
usr/bin/*.dll
"
libgcontainer_devel_CONTENTS="
usr/include
usr/lib
"

gcontainer_SUMMARY="${SUMMARY} (licensing & readmes)"
libgcontainer1_99_3_SUMMARY="${SUMMARY} (runtime)"
libgcontainer_devel_SUMMARY="${SUMMARY} (development)"
30 changes: 30 additions & 0 deletions gcontainer/gcontainer-1.99.3-1bl4.src.patch
@@ -0,0 +1,30 @@
--- origsrc/gcontainer-1.99.3/Makefile.am 2008-08-11 04:34:39.000000000 +0900
+++ src/gcontainer-1.99.3/Makefile.am 2015-03-10 23:29:43.750623000 +0900
@@ -4,11 +4,5 @@ SUBDIRS = gcontainer \
test \
docs

-dist_pkgdata_DATA = NEWS \
- README \
- AUTHORS \
- ChangeLog \
- COPYING \
- TODO
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = gcontainer.pc
--- origsrc/gcontainer-1.99.3/gcontainer/Makefile.am 2008-08-11 04:34:39.000000000 +0900
+++ src/gcontainer-1.99.3/gcontainer/Makefile.am 2015-03-10 23:22:21.029634900 +0900
@@ -11,7 +11,7 @@ libgcontainer_include_DATA = gbin.h \
gcontainerable.h

lib_LTLIBRARIES = libgcontainer.la
-libgcontainer_la_LDFLAGS = -release @PACKAGE_VERSION@
+libgcontainer_la_LDFLAGS = -no-undefined -release @PACKAGE_VERSION@
libgcontainer_la_SOURCES = gbin.c \
gbin.h \
gbinprivate.h \
@@ -27,3 +27,4 @@ libgcontainer_la_SOURCES = gbin.c \
gcontainerable.h \
gcontainerintl.h \
gobjectmissings.h
+libgcontainer_la_LIBADD = @GOBJECT_LIBS@
17 changes: 0 additions & 17 deletions gcontainer/gcontainer.hint

This file was deleted.

18 changes: 0 additions & 18 deletions gcontainer/libgcontainer-devel.hint

This file was deleted.

18 changes: 0 additions & 18 deletions gcontainer/libgcontainer1.99_3.hint

This file was deleted.

0 comments on commit 88b6f69

Please sign in to comment.