Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
scaffold using autoconf/make
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Noah Campbell  
View profile  
 More options May 10 2010, 8:02 pm
From: Noah Campbell <noahcampb...@gmail.com>
Date: Mon, 10 May 2010 17:02:19 -0700
Local: Mon, May 10 2010 8:02 pm
Subject: scaffold using autoconf/make
I'm interested in creating scaffold ala rails and rake, but using autoconf.  I appreciate what tools like rake, mvn et. al. provide, but I'm interested in a specific autoconf/makefile approach.

-Noah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Smith  
View profile  
 More options May 10 2010, 8:05 pm
From: Scott Smith <sc...@ohlol.net>
Date: Mon, 10 May 2010 17:05:03 -0700
Local: Mon, May 10 2010 8:05 pm
Subject: Re: scaffold using autoconf/make

Noah Campbell wrote:
> I'm interested in creating scaffold ala rails and rake, but using autoconf.  I appreciate what tools like rake, mvn et. al. provide, but I'm interested in a specific autoconf/makefile approach.

> -Noah

It really has nothing to do with Rake specifically; all you need to do
is create some make targets to do what you want.

Which begs the question, exactly what DO you want to do?

-scott


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noah Campbell  
View profile  
 More options May 10 2010, 8:15 pm
From: Noah Campbell <noahcampb...@gmail.com>
Date: Mon, 10 May 2010 17:15:51 -0700
Local: Mon, May 10 2010 8:15 pm
Subject: Re: scaffold using autoconf/make
I have a makefile and an rpm spec files that I'd like to generate on behalf of the user provide some very simple input, i.e. a name, etc.

Think of it as a quick way to generate the necessary scaffolding to build and package a project.  I think autoconf does this, but I'm not experienced with that tool chain and I'm looking for a few pointers on how to start.

-Noah

On May 10, 2010, at 5:05 PM, Scott Smith wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Will Lowe  
View profile  
 More options May 10 2010, 8:30 pm
From: Will Lowe <will.l...@gmail.com>
Date: Mon, 10 May 2010 17:30:30 -0700
Local: Mon, May 10 2010 8:30 pm
Subject: Re: scaffold using autoconf/make
What kinda code is it?  You could check out one of the autopackagers like http://perl.arix.com/cpan2rpm/

On May 10, 2010, at 5:15 PM, Noah Campbell wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lee Thompson  
View profile  
 More options May 11 2010, 10:35 am
From: Lee Thompson <stagr....@gmail.com>
Date: Tue, 11 May 2010 09:35:55 -0500
Local: Tues, May 11 2010 10:35 am
Subject: Re: scaffold using autoconf/make

When you say "on behalf of the user" are you thinking something like

./configure --prefex=/opt/mydir --with-foo --without-bar

and the make file and the RPM responding to the foobar input?  If not, don't
bother with the rest of this drivel...

Looks like the XSANE project (0.996) did this at one point but has it
commented out.  The epkowa image scan "ISCAN" project creates the spec file
based on autoconf input.  RRDTOOL is autoconf and has a spec file, but it
looks like the RPM spec files calls the configure script instead of the
generated make file calling the generated spec file which would flip the
relationship.  However, pretty easy to do, just can't find off the top of my
head a project that does it that way.

Like Scott said, make an "rpm:" target in the Makefile.am and rename
<pkgname>.spec to <pkgname>.spec.in and put <pkgname>.spec in the
configure.ac file so that it gets template expanded something like...

AC_OUTPUT([<pkgname>.spec])

To start hacking around, look at the iscan project, create a small
configure.ac, Makefile.am, and <pkgname>.spec.in and run

autoreconf --force
./configure --whatever
make rpm

and start hacking around.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Crowley  
View profile  
 More options May 11 2010, 4:40 pm
From: Richard Crowley <r...@rcrowley.org>
Date: Tue, 11 May 2010 13:40:01 -0700
Local: Tues, May 11 2010 4:40 pm
Subject: Re: scaffold using autoconf/make

On Mon, May 10, 2010 at 5:15 PM, Noah Campbell <noahcampb...@gmail.com> wrote:
> I have a makefile and an rpm spec files that I'd like to generate on behalf of the user provide some very simple input, i.e. a name, etc.

> Think of it as a quick way to generate the necessary scaffolding to build and package a project.  I think autoconf does this, but I'm not experienced with that tool chain and I'm looking for a few pointers on how to start.

Apologies that this is built on Debian packages and you're after RPMs
but your problem seems so similar that it gave me the final push to
open-source Debra: https://github.com/devstructure/debra

I use debra-makefile(1) (along with manskeleton(1) from
http://github.com/rcrowley/manskeleton but that's tangential) when
starting any new project and the generated Makefile to build Debian
packages far more easily than with dpkg-deb(1) alone.

GNU autoconf alone leaves you with source packages, which can be the
right way to go but proper packages give tools like Puppet the ability
to only install/upgrade what is actually missing/out-of-date.

Part of the motivation for building this tool was to attempt to
standardize on our system's package management, avoiding RubyGems and
the like wherever possible.  If it doesn't help you directly, I hope
you can steal anything that's useful.

Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lee Thompson  
View profile  
 More options May 11 2010, 5:52 pm
From: Lee Thompson <stagr....@gmail.com>
Date: Tue, 11 May 2010 16:52:15 -0500
Local: Tues, May 11 2010 5:52 pm
Subject: Re: scaffold using autoconf/make

Wow, timing is perfect.  Looks like the same idea having developers building
deployable versioned artifacts and that is debs in your world!  Thanks for
sharing the comment on gems as language specific package managers (gems,
cpan, etc) seem to be DevDev instead of DevOps.  I think that construct set
DevOps and continuous deployment conceptually back a decade.  Wonder if OSGi
is a positive or a negative...  It's definitely language specific to Java.

I used to bundle a collection of perl modules and ruby gems into a single
autoconf project so that it a set could be deployed as a single package.
Debs, RPMs and most other package managers have have no problem eating
autoconf projects.

http://github.com/stagrlee/perlmod_bldr
http://github.com/stagrlee/rubygems_bldr

cpan2rpm, cpan2dist, and dh-make-perl are a way to get one for one cpan
modules to OS packages.

Debra... any inspiration from the Beck classic crooner's ballad?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noah Campbell  
View profile  
 More options May 11 2010, 6:05 pm
From: Noah Campbell <noahcampb...@gmail.com>
Date: Tue, 11 May 2010 15:05:57 -0700
Local: Tues, May 11 2010 6:05 pm
Subject: Re: scaffold using autoconf/make

> Debra... any inspiration from the Beck classic crooner's ballad?

From the project homepage: http://github.com/devstructure/debra

THEME SONG

Beck - "Debra"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lee Thompson  
View profile  
 More options May 11 2010, 10:15 pm
From: Lee Thompson <stagr....@gmail.com>
Date: Tue, 11 May 2010 21:15:49 -0500
Local: Tues, May 11 2010 10:15 pm
Subject: Re: scaffold using autoconf/make

Step inside my Hyundai!

On Tue, May 11, 2010 at 5:05 PM, Noah Campbell <noahcampb...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »