pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to rename Ruby-GNOME2 gem packages
I wrote:
> Recently the Ruby-GNOME2 Project has renamed their project name
> to "Ruby-GNOME":
> https://github.com/ruby-gnome/ruby-gnome/commit/3f60f90ceabd778e302b13819b23ae2d49fba1db
>
> In pkgsrc, all ruby-gnome2 gem packages are prefixed "ruby-gnome2-"
> by historical reasons (gems were not used at initial import etc).
>
> Now I would like to rename all ruby-gnome2 gem packages to simply
> use own gem's name on the next (probably 3.3.8) ruby-gnome2 updates,
> as per the pkgsrc guide:
> https://www.netbsd.org/docs/pkgsrc/submit.html#renaming-package
I've put changes in my local tree into github:
https://github.com/tsutsui/pkgsrc/commits/ruby-gnome-3.3.8
There are several updates:
> 1) Rename PKGNAME in Makefile of the following packages
> (sorted by dependencies):
>
> devel/ruby-gnome2-glib
> -> devel/ruby-glib2
>
> devel/ruby-gnome2-atk
> -> devel/ruby-atk
>
> devel/ruby-gnome2-gobject-introspection
> -> devel/ruby-gobject-introspection
>
> devel/ruby-gnome2-gio
> -> devel/ruby-gio2
>
> graphics/ruby-gnome2-gdkpixbuf
> -> graphics/ruby-gdk_pixbuf2
>
> graphics/ruby-gnome2-cairo-gobject
> -> ruby-cairo-gobject
This should be "graphics/ruby-cairo-gobject"
> devel/ruby-gnome2-pango
> -> devel/ruby-pango
>
> x11/ruby-gnome2-gtk
> -> x11/ruby-gtk2
>
> graphics/ruby-gnome2-gdk3
> -> graphics/ruby-gdk3
>
> x11/ruby-gnome2-gtk3
> -> x11/ruby-gtk3
>
> www/ruby-gnome2-webkit-gtk
> -> www/ruby-webkit-gtk
>
> www/ruby-gnome2-webkit-gtk2
> -> www/ruby-webkit-gtk2
>
> graphics/ruby-gnome2-clutter
> -> graphics/ruby-clutter
>
> graphics/ruby-gnome2-clutter-gdk
> -> graphics/ruby-clutter-gdk
>
> graphics/ruby-gnome2-clutter-gtk
> -> graphics/ruby-clutter-gtk
>
> graphics/ruby-gnome2-rsvg
> -> graphics/ruby-rsvg
This should be "graphics/ruby-rsvg2"
> multimedia/ruby-gnome2-gstreamer
> -> multimedia/ruby-gstreamer
>
> multimedia/ruby-gnome2-clutter-gstreamer
> -> multimedia/ruby-clutter-gstreamer
>
> print/ruby-gnome2-poppler
> -> print/ruby-poppler
>
> x11/ruby-gnome2-gtksourceview2
> -> x11/ruby-gtksoureview2
>
> x11/ruby-gnome2-gtksourceview3
> -> x11/ruby-gtksourceview3
>
> x11/ruby-gnome2-vte
> -> x11/ruby-vte
>
> meta-pkgs/ruby-gnome2
> -> meta-pkgs/ruby-gnome
>
> 2) Remove all buildlink3.mk files (I guess gem doesn't require it)
> and replace references in Makefiles with
> "DEPENDS+= ${RUBY_PKGPREFIX}-foo>=${VERSION}:...":
>
> devel/ruby-gnome2-gio/buildlink3.mk
> devel/ruby-gnome2-glib/buildlink3.mk
> devel/ruby-gnome2-gobject-introspection/buildlink3.mk
> devel/ruby-gnome2-pango/buildlink3.mk
> graphics/ruby-gnome2-gdk3/buildlink3.mk
> x11/ruby-gnome2-gtk/buildlink3.mk
> x11/ruby-gnome2-gtk3/buildlink3.mk
These assumptions were wrong.
buildlink3.mk files are actually required for child gem packages
that have native extention builds and require headers of the parent's
dependencies.
(I wonder if ruby-gdk3/buildlink3.mk is necessary because
it doesn't have native extensions, but I'll leave it as is)
I've also update dependencies in buildlink3.mk files to sync
with Makefile's ones (based on gem's dependencies).
> 3) Mark SUPERSEDES in each Makefile
Also mark CONFLICTS as git-base/Makefile etc.
> 4) Update dependencies (and replace buildlink3.mk references)
> of packages shown in "Required by":
>
> - games/ruby-squib
> ruby-pango, ruby-rsvg, ruby-gobject-introspection, ruby-gio2
Note maybe ruby-glib2/buildlink3.mk is necessary here.
> - graphics/rabbit
> ruby-gtk2, ruby-rsvg, ruby-poppler
>
> - mail/milter-manager
> ruby-glib2
>
> - net/mikutter
> ruby-gtk2
>
> 5) Rename HOMEPAGE etc. in other Ruby-GNOME2 project packages
> - devel/ruby-pkg-config
> - devel/ruby-native-package-installer
If there is no further comments, I'll commit the changes soon.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index