public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Daisuke Fujimura <booleanlabel@gmail.com>
To: cygwin-apps@cygwin.com
Subject: [ITA] ruby-glib2 4.1.7
Date: Sat, 10 Jun 2023 16:54:49 +0900	[thread overview]
Message-ID: <CAA3frXTLDQDw1qj41RvLs7V6NRqZsMh6xpLhCNkk2a06djs1hQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

Hello,

====

Cygportfile:
- https://cygwin.com/cgit/cygwin-packages/playground/tree/?h=ruby-glib2

Packages, logs:
- https://github.com/cygwin/scallywag/actions/runs/5228739944

Changes
- Remove 2.2.0-rubygem-dirs.patch (Not applicable)
- Add ldflags to output implib explicitly

[-- Attachment #2: ruby-glib2.diff --]
[-- Type: application/octet-stream, Size: 1626 bytes --]

diff --git a/2.2.0-rubygem-dirs.patch b/2.2.0-rubygem-dirs.patch
deleted file mode 100644
index 7feb1f8..0000000
--- a/2.2.0-rubygem-dirs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-We no longer ship ext/ in gems, as that is necessary only when building.
-Headers are installed instead into RUBY_HEADERDIR.
-
---- origsrc/glib2-2.2.0/lib/mkmf-gnome2.rb	2014-08-25 15:35:39.808749000 -0500
-+++ src/glib2-2.2.0/lib/mkmf-gnome2.rb	2014-08-25 15:36:11.058717200 -0500
-@@ -142,7 +142,6 @@ def add_depend_package_path(target_name,
-     $INCFLAGS = "-I#{target_source_dir} #{$INCFLAGS}"
-   end
- 
--  return unless File.exist?(target_build_dir)
-   if target_source_dir != target_build_dir
-     $INCFLAGS = "-I#{target_build_dir} #{$INCFLAGS}"
-   end
diff --git a/ruby-glib2.cygport b/ruby-glib2.cygport
index cbb2cea..df5a935 100644
--- a/ruby-glib2.cygport
+++ b/ruby-glib2.cygport
@@ -1,18 +1,21 @@
 inherit rubygem
 
 NAME="ruby-glib2"
-VERSION=3.2.9
+VERSION=4.1.7
 RELEASE=1
 CATEGORY="Ruby"
 SUMMARY="Ruby GLib bindings"
 DESCRIPTION="Ruby/GLib2 is a Ruby binding of GLib-2.x."
-HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
+HOMEPAGE="https://ruby-gnome.github.io/"
 
 PATCH_URI="
-	2.2.0-rubygem-dirs.patch
 	3.1.1-no-gwin32.h.patch
 "
 
+BUILD_REQUIRES="libglib2.0-devel ruby-native-package-installer ruby-pkg-config"
+LICENSE="LGPL-2.1-or-later"
+
+RUBYGEM_CONFIGURE_ARGS="--with-ldflags=-Wl,--out-implib=libruby-glib2.a"
 PKG_NAMES="${NAME} ${NAME}-devel ${NAME}-doc"
 ruby_glib2_CONTENTS="--exclude=sample ${RUBYGEM_EXTDIR#/} ${RUBYGEM_INSTDIR#/} ${RUBYGEM_SPEC#/}"
 ruby_glib2_devel_REQUIRES="${NAME} libglib2.0-devel"

             reply	other threads:[~2023-06-10  7:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-10  7:54 Daisuke Fujimura [this message]
2023-06-10 12:53 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA3frXTLDQDw1qj41RvLs7V6NRqZsMh6xpLhCNkk2a06djs1hQ@mail.gmail.com \
    --to=booleanlabel@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).