From owner-freebsd-ruby@FreeBSD.ORG Wed Oct 16 13:23:56 2013 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 09915242; Wed, 16 Oct 2013 13:23:56 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB4622D01; Wed, 16 Oct 2013 13:23:55 +0000 (UTC) Received: from nemysis4now (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with SMTP id r9GDNmfH000391; Wed, 16 Oct 2013 13:23:48 GMT (envelope-from nemysis@FreeBSD.org) Received: by nemysis4now (sSMTP sendmail emulation); Wed, 16 Oct 2013 15:23:47 +0200 Date: Wed, 16 Oct 2013 15:23:47 +0200 From: Rusmir Dusko To: ruby@FreeBSD.org, Thomas Abthorpe Subject: Re: Calling all ruby enthusiasts Message-ID: <20131016132347.GA51588@nemysis4now> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Wed, 16 Oct 2013 13:47:51 +0000 Cc: jw@innerewut.de, kuriyama@FreeBSD.org, pawel@FreeBSD.org, swills@FreeBSD.org, nemysis@FreeBSD.org, wg@FreeBSD.org, tota@FreeBSD.org, ports@FreeBSD.org, jmohacsi@bsd.hu, mandree@FreeBSD.org, nobutaka@FreeBSD.org, wxs@FreeBSD.org, gogo@cs.uni-sb.de, lee@writequit.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 13:23:56 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > I have been working toward getting lang/ruby18 removed from the ports > tree, it is vulnerable, and no longer supported upstream. If you have > been watching the commit logs, you will see the work I have already put > into it's removal. My personal thanks to Steve Wills (swills@) for > helping me through much of the process. > > I have made some contact with some of you already about updating some > ports, but more work has to be done to get ruby18 removed. You are > being contacted because you are a maintainer of one of the ports listed > below. > > The first column is a port that has a DEPRECATED dependency, the second column > is the port targeted for removal. > > Mk/bsd.lua.mk lang/ruby-lua4 > devel/rubygem-rascut www/rubygem-mongerl > devel/rubygem-rascut www/rubygem-mongrel > devel/rubygem-ruby-debug-base devel/rubygem-linecache > dns/dnsdoctor lang/ruby18 > games/magicmaze devel/ruby-sdl > japanese/gorua x11-toolkits/ruby-gtk > security/flowtag x11-toolkits/ruby-tk > sysutils/puppet www/rubygem-mongerl > sysutils/puppet27 www/rubygem-mongerl > www/aswiki textproc/ruby-amrita > www/rubygem-rails www/rubygem-mongerl > www/rubygem-staticmatic www/rubygem-mongerl > www/tdiary www/ruby-nora > www/typo www/rubygem-mongrel_cluster > www/typo www/rubygem-rails-app-installer > > It would appear that making www/rubygem-mongerl* work with ruby19 would > be the biggest first step toward the final cleanup. > > If you have some time, and want to help out, please find a port listed > above, fix it for ruby19, and file a PR to get it committed. > > It is that easy :) > > Thanks for all your help in advance. > > > Thomas Hello I have updated devel/ruby-sdl to 2.1.2 - Update to 2.1.2 - Change master sites to RUBYFORGE - Remove DEPRECATED, EXPIRATION_DATE - Add license (LGPL21) - Add dependencies for devel/sdl_sge, japanese/libskk and devel/sdlskk - Change CONFIGURE_ARGS - Support STAGEDIR - Change DOCS, EXAMPLES and add DOCS, EXAMPLES Options - Change pkg-descr - Add WWW Build log https://redports.org/buildarchive/20131016123700-18775/ devel/sdlskk must be changed that good compile devel/ruby-sdl-2.1.2 - Change comment and pkg-descr - Add CONFIGURE_ARGS+=--with-pic Build log https://redports.org/buildarchive/20131016081100-57330/ ak@ have this wrote on #bsdports ak> nemysis: perhaps it would be better to change COMMENT for devel/sdlskk from "SDLSKK is SKK on SDL" to something like 'SKK like library for input Japanese, based on sdl'? CONFIGURE_ARGS+=--with-pic is needed to can fix good devel/ruby-sdl or get /usr/bin/ld: /usr/local/lib/libSDLSKK.a(sdlskk.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libSDLSKK.a: could not read symbols: Bad value *** [sdl_ext.so] Error code 1 1 error ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/local/ports/local/In-Review/devel/ruby-sdl. And with this change get compiling rubysdl_sdlskk.c Please approve these changes. Best regards, Rusmir Dusko, nemysis --AqsLC8rIMeq19msA Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ruby-sdl.diff" Index: Makefile =================================================================== --- Makefile (revision 330064) +++ Makefile (working copy) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= sdl -PORTVERSION= 1.3.1 -PORTREVISION= 8 +PORTVERSION= 2.1.2 CATEGORIES= devel graphics audio ruby -MASTER_SITES= http://www.kmc.gr.jp/~ohai/rubysdl/ +MASTER_SITES= RUBYFORGE/ruby${PORTNAME}/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby @@ -13,10 +12,11 @@ MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby extension library to use SDL library -DEPRECATED= Does not work with Ruby 1.9 -EXPIRATION_DATE= 2013-10-10 +LICENSE= LGPL21 -BUILD_DEPENDS= ${NONEXISTENT}:${RUBY_OPENGL_PORTDIR}:patch +LIB_DEPENDS= libSGE.so:${PORTSDIR}/devel/sdl_sge \ + libskk.so:${PORTSDIR}/japanese/libskk \ + libSDLSKK.so.2.0:${PORTSDIR}/devel/sdlskk RUBY_OPENGL_PORTDIR= ${PORTSDIR}/graphics/ruby-opengl RUBY_OPENGL_WRKSRC_CMD= cd ${RUBY_OPENGL_PORTDIR}; ${MAKE} -V WRKSRC @@ -27,45 +27,47 @@ CONFIGURE_ARGS= --with-sdl-config="sdl-config" \ --enable-opengl --linkoglmodule \ - --with-x11-dir="${LOCALBASE}" + --with-x11-dir="${LOCALBASE}" \ + --disable-pthreads INSTALL_TARGET= site-install -RUBY_RD_FILES= rubysdl_doc.en.rd \ - rubysdl_doc_old.rd +PORTDOCS= * +PORTEXAMPLES= * -DOCS_EN= NEWS.en README.en rubysdl_const_list.txt \ - ${RUBY_RD_FILES:M*.en.rd} \ - ${RUBY_RD_HTML_FILES:M*.en.html} -DOCS_JA= NEWS.ja README.ja \ - ${RUBY_RD_FILES:N*.en.rd} \ - ${RUBY_RD_HTML_FILES:N*.en.html} +DOCSDIR= ${RUBY_MODDOCDIR} +EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} -NO_STAGE= yes +DOCSRCDIR1= ${WRKSRC} +DOC_FILES_WRKSRC_JA= NEWS.ja README.ja +DOC_FILES_WRKSRC_EN= NEWS.en README.en + +DOCSRCDIRJA= ${WRKSRC}/doc +DOCSDIRJA= ${RUBY_MODDOCDIR}/doc +DOC_FILESJA= *.rsd *.rb + +DOCSRCDIREN= ${WRKSRC}/doc-en +DOCSDIREN= ${RUBY_MODDOCDIR}/doc-en +DOC_FILESEN= *.rsd + +OPTIONS_DEFINE= DOCS EXAMPLES + .include -post-extract: - dir=`${RUBY_OPENGL_WRKSRC_CMD}`; \ - for f in rbogl.h rbogl.c ogl.c glu.c; do \ - ${LN} -fs $$dir/$$f ${WRKSRC}/; \ - done +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ja + ${INSTALL_DATA} ${DOC_FILES_WRKSRC_JA:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}/ja/ + ${INSTALL_DATA} ${DOC_FILES_WRKSRC_EN:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} -post-patch: - ${RUBY} -i -pe '/require \x27mkmf\x27/ and $$_ += "dir_config(\x27x11\x27)\n"' \ - ${WRKSRC}/${RUBY_EXTCONF} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/doc/ja + ${INSTALL_DATA} ${DOC_FILESJA:S|^|${DOCSRCDIRJA}/|} ${STAGEDIR}${DOCSDIR}/doc/ja/ + ${INSTALL_DATA} ${DOC_FILESEN:S|^|${DOCSRCDIREN}/|} ${STAGEDIR}${DOCSDIR}/doc/ +.endif -post-install: doc-install -doc-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ - ${MKDIR} ${RUBY_MODDOCDIR}/ja -.for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ -.endfor -.for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ -.endfor +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: distinfo =================================================================== --- distinfo (revision 330064) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (ruby/rubysdl-1.3.1.tar.gz) = a4b4841f9259cd1a792e6407ca7ae83439aa39926606154a952ea5c663314891 -SIZE (ruby/rubysdl-1.3.1.tar.gz) = 264856 +SHA256 (ruby/rubysdl-2.1.2.tar.gz) = d0f4df467cfa2dd387490fc7673ba5f3fc860fd59f0eabb96848bdc8ef04a36c +SIZE (ruby/rubysdl-2.1.2.tar.gz) = 394125 Index: pkg-descr =================================================================== --- pkg-descr (revision 330064) +++ pkg-descr (working copy) @@ -1,6 +1,4 @@ Ruby/SDL is a Ruby extension library to use SDL library. Currently 3D features are unsupported. -SGE support will be enabled after SGE is ported. - -Author: Ippei Obayashi +WWW: http://www.kmc.gr.jp/~ohai/rubysdl.en.html \ No newline at end of file Index: pkg-plist =================================================================== --- pkg-plist (revision 330064) +++ pkg-plist (working copy) @@ -1,43 +1,4 @@ -%%RUBY_SITEARCHLIBDIR%%/sdl.so +%%RUBY_SITEARCHLIBDIR%%/sdl_ext.so %%RUBY_SITELIBDIR%%/rubysdl_aliases.rb +%%RUBY_SITELIBDIR%%/rubysdl_compatible_ver1.rb %%RUBY_SITELIBDIR%%/sdl.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/aadraw.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/alpha.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/alphadraw.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/bfont.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cdrom.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/collision.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cursor.bmp -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cursor.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ellipses.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/event2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/font.bmp -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/font.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/fpstimer.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/icon.bmp -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/joy2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/kanji.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/movesp.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/playmod.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/plaympeg.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/playwave.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/randrect.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.ttf -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sdlskk.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sgetest.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/stetris.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgl.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testsprite.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/transformblit.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS.en -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubysdl_const_list.txt -%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/rubysdl_doc.en.html -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubysdl_doc.en.rd -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/NEWS.ja -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja -%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/rubysdl_doc_old.html -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/rubysdl_doc_old.rd -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% --AqsLC8rIMeq19msA Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="sdlskk.diff" Index: Makefile =================================================================== --- Makefile (revision 330484) +++ Makefile (working copy) @@ -8,7 +8,7 @@ DIST_SUBDIR= ruby MAINTAINER= nemysis@FreeBSD.org -COMMENT= SKK on SDL +COMMENT= SKK like library for input Japanese, based on SDL LICENSE= LGPL21 @@ -15,6 +15,7 @@ USES= iconv USE_SDL= image ttf sdl GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-pic USE_LDCONFIG= yes PLIST_FILES= include/SDL/sdlskk.h \ Index: pkg-descr =================================================================== --- pkg-descr (revision 330484) +++ pkg-descr (working copy) @@ -1,3 +1,3 @@ -SDLSKK is SKK on SDL. +SKK like library for input Japanese, based on SDL. WWW: http://www.kmc.gr.jp/~ohai/sdlskk.en.html --AqsLC8rIMeq19msA--