04:15:54 <FranciscoD_> #startmeeting
04:15:54 <zodbot> Meeting started Sat May 29 04:15:54 2010 UTC.  The chair is FranciscoD_. Information about MeetBot at http://wiki.debian.org/MeetBot.
04:15:54 <zodbot> Useful Commands: #action #agreed #halp #info #idea #link #topic.
04:16:15 <FranciscoD_> #meetingname FAD PUNE https://fedoraproject.org/wiki/FAD_Pune_2010
04:16:15 <zodbot> The meeting name has been set to 'fad_pune_https://fedoraproject.org/wiki/fad_pune_2010'
04:16:48 <FranciscoD_> #topic Autotools workshop <- debiansid
04:16:53 <debiansid> git clone git://github.com/siddhesh/linkc.git
04:22:10 <FranciscoD_> start with the constrction of a conigure.ac
04:22:21 * FranciscoD_ is logging for debiansid
04:23:00 <FranciscoD_> AC_INIT([linkc],[0.1],[email@sadsad.com],[linkc])
04:23:24 <FranciscoD_> (this is once youve cd'd to the linkc directory)
04:24:02 <FranciscoD_> AC_INIT([PACKAGENAME],[VERSION],[email@sadsad.com],..)
04:24:11 <FranciscoD_> initializing automake
04:24:54 <FranciscoD_> AM_INIT_AUTOMAKE(dist-bzip2 dist-zip)
04:25:03 <FranciscoD_> (gz is by default)
04:25:27 <FranciscoD_> this is to list what targets you want to create at a 'make dist' cmd
04:26:38 <FranciscoD_> AM_INIT_AUTOMAKE(dist-bzip2 dist-zip check-news)
04:27:09 <debiansid> http://www.gnu.org/software/libtool//manual/automake/Options.html
04:27:13 <FranciscoD_> check-news -> checks the NEWS file to see if the version provided in line 1 is present
04:29:10 <FranciscoD_> AC_CONFIG_SRCDIR([main.c])
04:30:57 <FranciscoD_> #link http://www.gnu.org/software/hello/manual/autoconf/Input.html
04:32:36 <FranciscoD_> AC_PROG_CC <- detects compiler
04:32:46 <FranciscoD_> AC_PROG_INSTALL <- detects install
04:33:01 <FranciscoD_> AC_PROG <- program detection macros
04:33:07 <FranciscoD_> (vaguely)
04:36:06 <rakesh> mether, can you pass the list of bugs ?
04:37:18 <mether> http://tinyurl.com/22resfg
04:37:30 <FranciscoD_> AC_CHECK_LIB([ncurses],[initscr], , AC_MSG_ERROR([could not find ncurses lib]))
04:37:48 <FranciscoD_> first checks for presence of the lib, it would be libncurses.so.?
04:37:56 <FranciscoD_> initscr is a function name in the lib
04:38:11 <FranciscoD_> the last arg is the error msg to throw if it doesnt filnd the lib
04:38:42 <FranciscoD_> AC_CHECK_LIB([menu],[new_menu], , AC_MSG_ERROR([could not find ncurses menu lib]))
04:39:11 <FranciscoD_> AC_OUTPUT([Makefile Help/Makefile])
04:39:23 <FranciscoD_> to create makefiles in the root dir and the Help dir
04:39:38 <FranciscoD_> thats all for configure.ac regarding this project
04:39:47 <FranciscoD_> moving on to Makefile.am
04:41:52 <FranciscoD_> the macro 'SUBDIRS = xxxxxx' is used to specify which subdirs are to be looked into
04:42:01 <FranciscoD_> SUBDIRS = Help
04:42:24 <FranciscoD_> bin_PROGRAMS = linkc
04:42:30 <FranciscoD_> this specifies the program name
04:42:58 <FranciscoD_> linkc_SOURCES = main.c design.c file.c help.c \
04:43:05 <FranciscoD_> design.h file.h help.h
04:43:37 <FranciscoD_> this is to specify the sources for a particular target, in this case 'linkc'
04:44:07 <FranciscoD_> if we had more targets in the bin_PROGRAMS macro, we would specify their sources separately too
04:45:26 <FranciscoD_> noinst_HEADERS = design.h file.h help.h
04:45:37 <FranciscoD_> implies that these are only needed for building, and will not be installed
04:46:04 <FranciscoD_> this was the Makefile.am in the root directory
04:46:14 <FranciscoD_> next, we make a Makefile.am in the Help dir
04:46:17 <FranciscoD_> cd Help
04:46:22 <FranciscoD_> ls
04:47:13 <FranciscoD_> vim Makefile.am to open up a new file for writing
04:47:55 <FranciscoD_> Helpdir = $(datadir)/$(PACKAGE)/Help
04:48:05 <zer0c00l> Hey people
04:48:08 <FranciscoD_> Heldp_DATA = *.hlp
04:49:33 <FranciscoD_> cd ../../
04:49:46 <FranciscoD_> pwd -> linkc/
04:49:53 <FranciscoD_> aclocal
04:49:57 <mether> FranciscoD,  http://www.pathname.com/fhs/
04:50:34 <FranciscoD_> autoconf
04:50:53 <FranciscoD_> now we have a 'configure'
04:51:08 <FranciscoD_> but we lack a Makefile.in (which configure takes as input)
04:51:17 <FranciscoD_> automake
04:51:52 <FranciscoD_> you get a couple of errors for missing files, such as NEWS README AUTHORS ChangeLog COPYING
04:51:56 <FranciscoD_> to add these files,
04:52:05 <FranciscoD_> automake --add-missing -c
04:52:17 <FranciscoD_> -c will also copy, else it would only make softlinks
04:52:42 <FranciscoD_> touch INSTALL NEWS AUTHORS ChangeLog
04:52:53 <FranciscoD_> touch README
04:52:58 <FranciscoD_> automake --add-missing -c
04:53:01 <FranciscoD_> will return no erros
04:53:08 <FranciscoD_> s/erros/errors
04:55:18 <yevlempy> error http://fpaste.org/BXnr/
04:55:29 <kishan> http://fpaste.org/eNAu/
04:56:05 <kishan> http://fpaste.org/9tkS/
04:56:08 <yevlempy> makefile.am http://fpaste.org/4NXo/
04:56:22 <kishan> Makefile -> http://fpaste.org/9tkS/
04:57:41 <yevlempy> getting "Makefile.am: installing `./depcomp'" after doing automake --add-missing -c
04:57:56 <rakesh> debiansid, you derived that equation e=mc2 ? unmm..
04:58:07 <kishan> coonfigure.c -> http://fpaste.org/IWyF/
04:58:10 <kishan> debiansid: ^
04:58:34 <debiansid> rakesh: :D
05:00:15 <kishan> http://fpaste.org/vTeY/
05:05:22 <kishan> http://fpaste.org/rUIN/
05:05:27 <kishan> debiansid: ^
05:06:22 <techshaddy> Can we restore grub of an upgraded version with the installation media of 1 lower version  or 1 upper version
05:06:32 <techshaddy> can any one help
05:07:04 <kushal> techshaddy, you should be
05:07:11 <mether> techshaddy, ask in #fedora
05:08:02 <techshaddy> i am using f12 and i  lost my grub but i donot have installation media of f12 but have the dvd of f11 and f13 beta version
05:08:08 <techshaddy> ohk
05:09:05 <rtnpro> kishan, congrats :P
05:09:23 <kishan> rtnpro: thanks a lot! :P
05:09:39 <yevlempy> http://fpaste.org/mwOU/
05:11:24 <yevlempy> http://fpaste.org/wxpC/
05:12:15 <meejan> http://fpaste.org/kmNe/
05:15:51 <debiansid> \
05:15:56 <debiansid> \
05:16:04 <debiansid> \
05:16:08 <debiansid> \
05:16:24 <debiansid> \\\\\\\\\\\\\\\
05:16:25 <debiansid> \
05:16:26 <debiansid> \\\
05:16:27 <debiansid> \
05:16:28 <debiansid> \\\\\
05:16:41 <FranciscoD_> end of the autotool workshop :)
05:17:00 <FranciscoD_> #endmeet
05:17:03 <FranciscoD_> #endmeeting