Ticket #2585: gnome.diff

File gnome.diff, 7.9 KB (added by danchr@…, 20 years ago)

Patch against the various Portfiles

  • devel/glib2/Portfile

    ? mail/thunderbird
    ? net/axel
    ? net/gift
    ? net/gift-fasttrack
    ? net/gift-gnutella
    ? net/gift-openft
    ? www/firefox
    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/glib2/Portfile,v
    retrieving revision 1.31
    diff -a -u -u -r1.31 Portfile
     
    1 # $Id: Portfile,v 1.31 2005/01/02 06:03:10 mij Exp $
     1# $Id: Portfile,v 1.30 2004/10/25 20:17:03 toby Exp $
    22
    33PortSystem 1.0
    44name            glib2
    5 version         2.6.0
     5version         2.6.1
     6revision        1
    67categories      devel
    78maintainers     mij@opendarwin.org
    89description     Library with data structure functions and other constructs
     
    1617master_sites    gnome:sources/glib/2.6
    1718
    1819distname        glib-${portversion}
    19 checksums       md5 649b89c8bfd152feea6db6f68b7cd54e
     20checksums       md5 b7a07863d66f328bafadfe7747b85274
    2021
    2122use_bzip2       yes
    2223
     
    3334
    3435variant puredarwin { depends_run bin:perl:perl5.8 }
    3536
     37post-patch      { reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c
     38                  reinplace "s|path = \"/bin|path = \"${prefix}/bin:/bin|g" ${worksrcpath}/glib/gutils.c ${worksrcpath}/glib/gspawn.c
     39}
     40
    3641post-destroot {
    37                 system "ln -fs libglib-2.0.0.600.0.dylib \
     42                system "ln -fs libglib-2.0.0.400.7.dylib \
    3843                    ${destroot}${prefix}/lib/libglib.2.dylib"
    39                 system "ln -fs libgmodule-2.0.0.600.0.dylib \
     44                system "ln -fs libgmodule-2.0.0.400.7.dylib \
    4045                    ${destroot}${prefix}/lib/libgmodule.2.dylib"
    41                 system "ln -fs libgobject-2.0.0.600.0.dylib \
     46                system "ln -fs libgobject-2.0.0.400.7.dylib \
    4247                    ${destroot}${prefix}/lib/libgobject.2.dylib"
    43                 system "ln -fs libgthread-2.0.0.600.0.dylib \
     48                system "ln -fs libgthread-2.0.0.400.7.dylib \
    4449                    ${destroot}${prefix}/lib/libgthread.2.dylib"
    4550                file delete ${destroot}${prefix}/lib/charset.alias
    4651}
  • gnome/control-center/Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/gnome/control-center/Portfile,v
    retrieving revision 1.9
    diff -a -u -u -r1.9 Portfile
     
    11# $Id: Portfile,v 1.9 2004/09/19 18:38:45 olegb Exp $
    22PortSystem 1.0
    33name            control-center
    4 version         2.8.0
     4version         2.8.1
    55description     Control center for GNOME 2.0 project.
    66long_description        ${description}
    77maintainers     gnome-darwinports@opendarwin.org
     
    99platforms       darwin
    1010homepage        http://www.gnome.org/
    1111master_sites    gnome:sources/control-center/2.8/
    12 checksums       md5 300fb361af4645dd9b0154ecd18b2256
     12checksums       md5 7bd9c12b9abb05b6fcf7b4906b6918ea
    1313depends_lib     lib:nautilus:nautilus
    1414use_bzip2       yes
    1515configure.args  --mandir=${prefix}/share/man
    1616configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include"  \
    1717                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
     18
     19post-patch {
     20    reinplace \
     21        "s|g_strdup (\"/usr|g_strdup (\"${prefix}/share:/usr|g" \
     22        ${worksrcpath}/capplets/background/gnome-wp-xml.c
     23    reinplace \
     24        "s|/usr/share|${prefix}/share|g" \
     25        ${worksrcpath}/capplets/common/gnome-theme-info.c \
     26        ${worksrcpath}/libwindow-settings/metacity-window-manager.c
     27   
     28}
     29
    1830post-install    {
    1931                system " \
    2032                export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`&&\
  • gnome/gnome-desktop/Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/gnome/gnome-desktop/Portfile,v
    retrieving revision 1.14
    diff -a -u -u -r1.14 Portfile
     
    11# $Id: Portfile,v 1.14 2005/01/09 08:08:13 jkh Exp $
    22PortSystem 1.0
    33name            gnome-desktop
    4 version         2.8.0
     4version         2.8.1
    55description     Additional UI API for GNOME 2
    66long_description        This is a collection of APIs not included in \
    77                        libgnomeui as they have not undergone sufficient \
     
    1111platforms       darwin
    1212homepage        http://www.gnome.org/
    1313master_sites    gnome:sources/gnome-desktop/2.8/
    14 checksums       md5 303b5a7db31e72fb74fcc9b6dcd860dc
     14checksums       md5 47f9b9508c4a0349d66fa1138b521794
    1515patchfiles      patch_gnome-desktop-item.c
    1616depends_lib     lib:gnome-themes:gnome-themes lib:libiconv.2:libiconv
    1717depends_build   bin:scrollkeeper-extract:scrollkeeper
    1818use_bzip2       yes
    19 configure.args  --mandir=${prefix}/share/man
     19configure.args  --mandir=${prefix}/share/man \
     20                --with-gnome-distributor=DarwinPorts \
     21                --with-kde-datadir=${prefix}/share
    2022configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
    2123                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
  • gnome/gnome-vfs/Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/gnome/gnome-vfs/Portfile,v
    retrieving revision 1.21
    diff -a -u -u -r1.21 Portfile
     
    22PortSystem 1.0
    33name            gnome-vfs
    44version         2.8.2
     5revision        1
    56description     This is the GNOME Virtual File System.
    67long_description        This is the GNOME Virtual File System. \
    78                        GNOME VFS is currently used as one of the \
     
    1617patchfiles      patch_gnome-vfs-cdrom.c patch_gnome-vfs-utils.c \
    1718                patch_file-metod.c patch_bzip2-method.c patch_pty-open.c
    1819use_bzip2       yes
    19 configure.args  --mandir=${prefix}/share/man --enable-ipv6
     20configure.args  --mandir=${prefix}/share/man --enable-ipv6 --disable-static
    2021configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include"
     22
     23post-patch {
     24    reinplace \
     25        "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" \
     26        ${worksrcpath}/libgnomevfs/xdgmime.c \
     27        ${worksrcpath}/libgnomevfs/gnome-vfs-mime-info.c \
     28        ${worksrcpath}/libgnomevfs/eggdirfuncs.c
     29}
    2130
    2231platform darwin 7 {
    2332                configure.env-append LDFLAGS="-lresolv"
  • x11/gtk2/Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/gtk2/Portfile,v
    retrieving revision 1.29
    diff -a -u -u -r1.29 Portfile
     
    22
    33PortSystem 1.0
    44name            gtk2
    5 version         2.6.0
    6 revision        2
     5version         2.6.1
     6revision        0
    77categories      x11
    88maintainers     mij@opendarwin.org
    99description     Gimp ToolKit version 2
     
    1717master_sites    gnome:sources/gtk+/2.6
    1818
    1919distname        gtk+-${portversion}
    20 checksums       md5 ca717c728264fa0b3302ca00da2bcfe4
     20checksums       md5 146ed9d12c9506fcf8745ddb2c22530a
    2121
    2222use_bzip2       yes
    2323
     
    3434
    3535build.args      CFLAGS+="-I${x11prefix}/include"
    3636
    37 post-configure  { reinplace "s|__PREFIX__|${prefix}|g" ${filespath}/gdk-pixbuf.loaders }
     37post-patch      { reinplace "s|xdg_data_dirs = \"/usr|xdg_data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/gtk/xdgmime/xdgmime.c
     38                  reinplace "s|g_strdup (\"/usr|g_strdup (\"${prefix}|g" ${worksrcpath}/gtk/gtkicontheme.c }
    3839
    3940platform darwin 6 { patchfiles-append patch-gtk-xdgmime-xdgmimemagic.c }
    4041
    4142post-destroot   { system "ln -fs libgtk-x11-2.0.0.600.0.dylib ${destroot}${prefix}/lib/libgtk.2.dylib"
    4243                  system "ln -fs libgdk-x11-2.0.0.600.0.dylib ${destroot}${prefix}/lib/libgdk.2.dylib"
    4344                  system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0"
    44                   system "cp ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
     45                  file copy ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders
     46                  reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders
    4547                  system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/gtk-query-immodules-2.0 > ${destroot}${prefix}/etc/gtk-2.0/gtk.immodules" }