RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_2: js/src/ Makefile.am rpm/js/ Makefile.am

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 07 May 2009 - 21:43:07 CEST
Message-id: <E010E052-5924-4D85-B7D4-42CC16CC1F24@mac.com>
In case you blinked, rpm just acquired
its own private bin/ and lib/ subdirectories,
now populated with 24 executables as well as
a standalone spidermonkey js shell and custom
RPM extensions to JavaScript.

LUA (with lua/luac executables, and redundant liblua.la
installation because of the current octopus
snarl burying liblua in -lrpmmisc) is pending,
but I'll give you a chance to think through
bin/ and lib/ subdirectories before doing
the check-in.

IMHO, embedded interpreters is viable iff there's
a standalone shell that uses the embedded interpreter
is supplied as well. So I will continue with
private copies of tcl/python/perl/ficl/... as
needed.

YMMV, everyone's does.

And for the Bloat! alerts that are surely gonna be voiced:

	rm -rf /usr/lib/rpm/{bin,lib}

is trivially done, in fact easier than targeting specific
executable and library paths, or fiddling-up with how RPM is built.

73 de Jeff

On May 7, 2009, at 3:30 PM, Jeff Johnson wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>   
> ____________________________________________________________________________
>
>  Server: rpm5.org                         Name:   Jeff Johnson
>  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
>  Module: rpm js                           Date:   07-May-2009 21:30:38
>  Branch: rpm-5_2                          Handle: 2009050719303800
>
>  Modified files:           (Branch: rpm-5_2)
>    js/src                  Makefile.am
>    rpm/js                  Makefile.am
>
>  Log:
>    - js: install into /usr/lib/rpm/{bin,lib}.
>
>  Summary:
>    Revision    Changes     Path
>    1.1.2.2     +8  -2      js/src/Makefile.am
>    1.13.2.1    +6  -3      rpm/js/Makefile.am
>   
> ____________________________________________________________________________
>
>  patch -p0 <<'@@ .'
>  Index: js/src/Makefile.am
>   
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
>  $ cvs diff -u -r1.1.2.1 -r1.1.2.2 Makefile.am
>  --- js/src/Makefile.am	6 May 2009 20:00:59 -0000	1.1.2.1
>  +++ js/src/Makefile.am	7 May 2009 19:30:38 -0000	1.1.2.2
>  @@ -12,8 +12,14 @@
>
>   EXTRA_PROGRAMS =
>
>  -noinst_PROGRAMS =	jscpucfg jskwgen js
>  -noinst_LTLIBRARIES =	libjs.la
>  +pkglibdir =	@USRLIBRPM@/lib
>  +pkgbindir =	@USRLIBRPM@/bin
>  +
>  +pkgbin_PROGRAMS =	js
>  +pkglib_LTLIBRARIES =	libjs.la
>  +
>  +noinst_PROGRAMS =	jscpucfg jskwgen
>  +
>   noinst_HEADERS = \
>   	jsautocfg.h jsautokw.h \
>   	jsapi.h jsdbgapi.h \
>  @@ .
>  patch -p0 <<'@@ .'
>  Index: rpm/js/Makefile.am
>   
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
>  $ cvs diff -u -r1.13 -r1.13.2.1 Makefile.am
>  --- rpm/js/Makefile.am	28 Apr 2009 17:31:18 -0000	1.13
>  +++ rpm/js/Makefile.am	7 May 2009 19:30:38 -0000	1.13.2.1
>  @@ -21,8 +21,7 @@
>   	@WITH_ZLIB_CPPFLAGS@
>
>   EXTRA_DIST =
>  -
>  -EXTRA_PROGRAMS = tjs
>  +EXTRA_PROGRAMS =
>
>   RPMMISC_LDADD_COMMON = \
>   	$(top_builddir)/misc/librpmmisc.la \
>  @@ -44,7 +43,11 @@
>   	$(top_builddir)/build/librpmbuild.la \
>   	$(RPM_LDADD_COMMON)
>
>  -noinst_LTLIBRARIES = rpmjsm.la
>  +pkglibdir =     @USRLIBRPM@/lib
>  +pkgbindir =     @USRLIBRPM@/bin
>  +
>  +pkgbin_PROGRAMS =	tjs
>  +pkglib_LTLIBRARIES =	rpmjsm.la
>
>   rpmjsm_la_CFLAGS = -fno-strict-aliasing
>   rpmjsm_la_LDFLAGS = -module -avoid-version
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-cvs@rpm5.org
Received on Thu May 7 21:43:31 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.