Opened 19 years ago

Closed 19 years ago

Last modified 8 years ago

#2387 closed update (fixed)

UPDATE: gtk-sharp-1.0.4

Reported by: chris.ridd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: gtk-sharp

Description (last modified by ryandesign (Ryan Carsten Schmidt))

GTK# tends to be updated whenever mono is updated. These diffs update it to 1.0.4, add libgnomedb as a dependency (there's no way to tell configure not to use something it finds), and removes the need for the patch and the additional config file. (cvs delete them please!)

Index: Portfile
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/gtk-sharp/Portfile,v
retrieving revision 1.4
diff -u -r1.4 Portfile
--- Portfile    8 Aug 2004 19:31:33 -0000       1.4
+++ Portfile    10 Nov 2004 17:51:49 -0000
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name           gtk-sharp
-version                1.0
+version                1.0.4
 categories     devel
 platforms      darwin
 maintainers    chris.ridd@isode.com
@@ -13,8 +13,8 @@
                        for it.
 
 homepage       http://www.go-mono.org/
-master_sites    ${homepage}archive/1.0/
-checksums      md5 6eab56e11c1e1245ec6af12312969399
+master_sites    ${homepage}archive/${version}/
+checksums      md5 c105e94934a22f7734c5657948977078
 
 depends_lib    bin:mono:mono \
                lib:libgtk.2:gtk2 \
@@ -22,18 +22,17 @@
                lib:libart_lgpl.2:libart_lgpl \
                lib:libgnomecanvas.2:libgnomecanvas \
                lib:libgnomeui.2:libgnomeui \
+               lib:libgnomedb:libgnomedb \
                lib:libgda.1:libgda \
                lib:librsvg.2:librsvg \
                lib:libgtkhtml.3:libgtkhtml3 \
                lib:libvte.0:vte
 
-patchfiles     patch-sample
-
 destroot.destdir       DESTDIR=${destroot} \
                GACUTIL_FLAGS='/package gtk-sharp /root ${destroot}\$(libdir)'
 
-# Replace the stock mono config with one with lots of extra goodies.
-post-destroot {
-       xinstall -d ${destroot}${prefix}/etc/mono
-       xinstall -m 644 ${filespath}/mono-config ${destroot}${prefix}/etc/mono/config
+post-install   {
+       ui_msg "--------------------------------------------------------------------------"
+       ui_msg "Rememeber to set DYLD_LIBRARY_PATH=\"${prefix}/lib\""
+       ui_msg "-------------------------------------------------------------------------"
 }

Attachments (2)

Portfile (1019 bytes) - added by chris.ridd@… 19 years ago.
Portfile
patch-configs (19.2 KB) - added by chris.ridd@… 19 years ago.
file/patch-configs

Download all attachments as: .zip

Change History (6)

comment:1 Changed 19 years ago by chris.ridd@…

Argh, can you fix the typo in the ui_msg? (Remember :-)

Changed 19 years ago by chris.ridd@…

Attachment: Portfile added

Portfile

Changed 19 years ago by chris.ridd@…

Attachment: patch-configs added

file/patch-configs

comment:2 Changed 19 years ago by chris.ridd@…

The two attached files now fix all the problems with the gtk-sharp port. The main change was to embed absolute paths to native libraries being used into the dll.config files. This means that ports using gtk- sharp *do not* need to mess with setting DYLD_LIBRARY_PATH. Monodoc, for instance, Just Works (tm).

comment:3 Changed 19 years ago by jkh@…

Resolution: fixed
Status: newclosed

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gtk-sharp added
Type: defectupdate
Note: See TracTickets for help on using tickets.