Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Commit

Permalink
Don't install to GAC
Browse files Browse the repository at this point in the history
  • Loading branch information
gburt committed Sep 1, 2010
1 parent f43886e commit 89fb195
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
15 changes: 15 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
gio-sharp binds the GIO API, which isn't available in Gtk#.

It is not installed in the GAC because we are not ready to commit to API
stability. Please follow

http://www.mono-project.com/Guidelines:Application_Deployment#Libraries_with_Unstable_APIs

for how to use this library in your application.

Website: http://github.com/mono/gio-sharp

Requirements:
* glib-2.0 >= 2.18
* Gtk# 2.12
* GAPI 2.12
16 changes: 3 additions & 13 deletions gio/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ ASSEMBLIES = \

all: gio-sharp.dll

giodir = $(prefix)/lib/gio-sharp
gio_SCRIPTS = gio-sharp.dll gio-sharp.dll.mdb

gapidir = $(datadir)/gapi-2.0
gapi_DATA = gio-api.xml

Expand Down Expand Up @@ -45,22 +48,9 @@ else
sed -e 's!^/\(.\)/!\1:\\!' -e 's!/!\\!g' | cmd
endif

install-data-local: gio-sharp.dll
-$(GACUTIL) -i $< -f $(GACUTIL_FLAGS)
if !USING_MONO
$(MKDIR_P) $(DESTDIR)$(libdir)/mono/$(PACKAGE_VERSION); $(INSTALL) $< $(DESTDIR)$(libdir)/mono/$(PACKAGE_VERSION)
endif

uninstall-local:
-$(GACUTIL) -u gio-sharp $(GACUTIL_FLAGS)
if !USING_MONO
rm $(DESTDIR)$(libdir)/mono/$(PACKAGE_VERSION)/gio-sharp.dll
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gio-sharp-2.0.pc


CLEANFILES = \
gio-sharp.dll \
gio-sharp.dll.mdb \
Expand Down
3 changes: 2 additions & 1 deletion gio/gio-sharp-2.0.pc.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
assemblies_dir=${libdir}/mono/@PACKAGE_VERSION@
assemblies_dir=${libdir}/gio-sharp
gapidir=${prefix}/share/gapi-2.0
Libraries=${assemblies_dir}/gio-sharp.dll ${assemblies_dir}/gio-sharp.dll.mdb

Name: GIO#
Description: GIO# - GIO .NET Binding
Expand Down

0 comments on commit 89fb195

Please sign in to comment.