Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16783 (closed enhancement: fixed)

Opened 2 months ago

Last modified 8 weeks ago

UPGRADE glade 2.12.2: fix build problem

Reported by: db.evans@… Owned by: devans@…
Priority: Normal Milestone: Port Enhancements
Component: ports Version: 1.7.0
Keywords: gtk2 Cc: kschombu@…
Port: glade

Description

The attached patch fixes the build problem described in #16773. The issue is the same as described in #16715

Attachments

patch-glade-gbwidgets-gbclist.c.diff (286 bytes) - added by db.evans@… 2 months ago.
Patchfile #1 for files directory
patch-glade-glade_keys_dialog.c.diff (327 bytes) - added by db.evans@… 2 months ago.
Patchfile #2 for files directory
patch-glade-glade_menu_editor.c.diff (351 bytes) - added by db.evans@… 2 months ago.
Patchfile #3 for files directory
patch-glade-glade_project_view.h.diff (303 bytes) - added by db.evans@… 2 months ago.
Patchfile #4 for files directory
patch-glade-Portfile.diff (2.6 KB) - added by db.evans@… 2 months ago.
Patch for Portfile

Change History

Changed 2 months ago by db.evans@…

Patchfile #1 for files directory

Changed 2 months ago by db.evans@…

Patchfile #2 for files directory

Changed 2 months ago by db.evans@…

Patchfile #3 for files directory

Changed 2 months ago by db.evans@…

Patchfile #4 for files directory

Changed 2 months ago by db.evans@…

Patch for Portfile

follow-up: ↓ 3   Changed 2 months ago by kschombu@…

I attempted to patch the Portfile and got the following:

sudo patch -i patch-glade-Portfile.diff
patching file Portfile
Hunk #3 FAILED at 51.
1 out of 3 hunks FAILED -- saving rejects to file Portfile.rej

Here is the contents of the generated Portfile.rej:

***************
*** 42,47 ****
  
  variant gnomedb description {Enable GNOME DB support} {
        configure.args-delete --disable-gnome-db
-       depends_lib-append lib:libgnomedb:libgnomedb
  }
  
--- 51,59 ----
  
  variant gnomedb description {Enable GNOME DB support} {
        configure.args-delete --disable-gnome-db
+       depends_lib-append port:libgnomedb
  }
  
+ livecheck.check regex
+ livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

  Changed 2 months ago by kschombu@…

  • cc kschombu@… added

Cc Me!

in reply to: ↑ 1   Changed 2 months ago by db.evans@…

Replying to kschombu@…:

I attempted to patch the Portfile and got the following: {{{ sudo patch -i patch-glade-Portfile.diff patching file Portfile Hunk #3 FAILED at 51. 1 out of 3 hunks FAILED -- saving rejects to file Portfile.rej }}}

Works for me using

patch -p0 < patch-glade-Portfile.diff

  Changed 8 weeks ago by devans@…

  • owner changed from macports-tickets@… to devans@…
  • status changed from new to assigned

  Changed 8 weeks ago by devans@…

  • status changed from assigned to closed
  • resolution set to fixed

Changes committed in r40661

Note: See TracTickets for help on using tickets.