irclog2html for #fredlug on 20070319

00:00.26*** join/#fredlug IrishW0lf_bbl (n=william@70-41-145-17.cust.wildblue.net)
00:05.22sticksterbbiab == "be back in a bit"
00:11.27*** join/#fredlug IrishW0lf_bbl (n=william@70-41-145-17.cust.wildblue.net)
00:13.28nombytehow do i get the source
00:13.49sticksteryumdownloader --source <package_name>
00:14.06sticksterAlso, make sure you "yum install rpmdevtools"
00:14.23sticksterThen "rpmdev-setuptree"
00:14.36sticksterThen "rpm -ivh <source_package_file>"
00:14.58sticksterThe .spec file and source will be in your ~/rpmbuild tree
00:15.24sticksterrpmbuild -bp ~/rpmbuild/SPECS/<specfile> will untar everything and patch it in ~/rpmbuild/BUILD/<pkg>
00:24.01nombytewow im so lost
00:24.15nombyteok let me do this one step at a time
00:24.53nombytealso i have that line is sudo to allow me to do everything
00:25.10nombyteeverytime i try to make it so i can just do one program it says i wrote it wrong
00:25.14nombytedo u know how to do that?
00:29.55sticksternombyte: I don't understand what you're saying.
00:30.04nombytewhich part?
00:30.10stickster"also i have that line is sudo to allow me to do everything
00:30.11stickster"
00:30.16nombyteoh
00:30.33nombytenomb     ALL=(ALL)     NOPASSWD:ALL
00:30.38nombyteso i tried like
00:30.41sticksterYes, you have to "sudo yum install rpmdevtools", but that's the only thing you need to sudo.
00:31.06sticksterOh, sorry, you need this for the yumdownloader:
00:31.07nombytethe only question about sudo was how to take out the all and only have select programs in it
00:31.16nombytei tried like
00:31.37nombytenomb     ALL=(/sbin/conky)     NOPASSWD:ALL
00:31.43nombyteand it says the /sbin/conky is wrong
00:31.50nombytei also tried
00:32.04nombytenomb     ALL=(conky)     NOPASSWD:ALL
00:32.08nombyteand got the same thing
00:32.14sticksternombyte: Sorry, my tech support time is limited.
00:32.35sticksterHere's how to get that yumdownloader & the rest of it:
00:32.43sticksteryumdownloader -e extras-source --source luks-tools
00:32.50stickstersudo yum install rpmdevtools
00:32.54sticksterrpmdev-setuptree
00:33.01sticksterrpm -ivh luks-tools-*.src.rpm
00:33.11sticksterrpmbuild -bp ~/rpmbuild/SPECS/luks-tools.spec
00:33.50stickstermv ~/rpmbuild/BUILD/luks-tools-<version> ~/rpmbuild/BUILD/luks-tools-<version>-original
00:33.54sticksterrpmbuild -bp ~/rpmbuild/SPECS/luks-tools.spec
00:34.14sticksterThen you can play around in ~/rpmbuild/BUILD/luks-tools-<version> and get a diff of changes between that and the -original directory
00:34.22nombyterpm -ivh luks-tools-*.src.rpm
00:34.22nombyte<PROTECTED>
00:34.22nombytewarning: group mockbuild does not exist - using root
00:34.22nombyte########################################### [100%]
00:34.22nombytewarning: user mockbuild does not exist - using root
00:34.22nombytewarning: group mockbuild does not exist - using root
00:34.25nombyteis that ok?
00:34.40sticksterDid you do that as root?
00:34.45nombyteya
00:34.47sticksterThen no.
00:34.52nombytecrud
00:34.56sticksterYou should never build packages as root.
00:35.03sticksterAnd you shouldn't _be_ root most of the time.
00:35.17sticksterDo this before you leave root:
00:35.17nombyteok
00:35.28nombytewhen i try to uninstall it it says it isn't installed
00:35.35sticksterrpmbuild --clean --rmsource --rmspec /usr/src/redhat/SPECS/luks-tools.spec
00:35.50nombyteno wait
00:35.55nombytei didn't do that as root
00:35.58nombyteim sorry
00:36.01sticksterOh ok
00:36.06sticksterThen no, it's not a problem ;-D
00:36.10nombyteok sorry
00:36.51nombytedo i rpmbuild it before i program stuff into it or after?
00:36.55sticksterThe rest is OK.  Most packages in Extras are built by the 'mockbuild' user; these messages aren't important because the files just get extracted as you.
00:37.18sticksterYou are prepping it once, moving that copy to -original, and then prepping it again.
00:37.51sticksterAfter you make changes to the source in the new directory, you can usually just do ./configure, make to try it out
00:37.51nombytefailed dependencies
00:37.57sticksterAh.
00:38.25sticksterTo fix that, just do:  sudo yum-builddep <src_rpm_file>
00:38.32nombyteoh cool
00:38.47sticksterThat will fetch everything needed to do building.
00:39.05nombytei always wondered why i couldn't install source packages
00:43.11nombytethis was programmed in c
00:46.26sticksterYou shouldn't need to do anything with the C parts, they're just convenience functions
00:46.35nombyteoh
00:46.40nombytewhere would the python be?
00:46.45stickstergnome-luks-format.in
00:47.14nombyteoh i thought python was py
00:47.20sticksterIt's an ".in" file because it's being processed, probably just to replace a @SOMETHING@ string with content that changes based on the ./configure script
00:47.37sticksterYup, line 120
00:47.49stickster149
00:47.51nombytelol
00:48.13sticksterSo that's your Python code
00:48.14nombyteoh that was a big part of the book i didn't understand is the self part
00:48.16nombytenice
00:48.17sticksterHave fun
00:48.21nombyteoh i will
00:48.24sticksterself has to do with object oriented stuff
00:48.47sticksterOnce you get that, you will find your overall Python reading a much more enriching and educational experience
00:49.02sticksterclass myClass:
00:49.07stickster<PROTECTED>
00:49.18stickster<PROTECTED>
00:49.21stickster<PROTECTED>
00:49.31sticksterc = myClass()
00:49.37sticksterprint c.stuff
00:49.39stickster<PROTECTED>
00:49.44sticksterthat would output: 'hi'
00:49.55nombyteso self.stuff is a class variable?
00:50.05sticksterself just refers to the instance of the class
00:50.36sticksterThat means that any instance of the myClass class will inherit (at initalization) a property stuff which yields the string 'hi'
00:51.11sticksterSo any methods added in that class would look like:
00:51.12stickster<PROTECTED>
00:51.18sticksterclass myClass:
00:51.25stickster<PROTECTED>
00:51.26stickster<PROTECTED>
00:51.55stickster<PROTECTED>
00:52.10stickster<PROTECTED>
00:52.12stickster<PROTECTED>
00:52.16sticksterc = myclass()
00:52.28sticksterc.doStuff('Nate')
00:52.29stickster<PROTECTED>
00:52.37sticksterwould print:  hi Nate
00:52.42nombyteso def __init___: means happen at initalization?
00:52.45sticksterYup
00:52.48sticksterIf you did:
00:52.49stickster<PROTECTED>
00:52.51sticksterc.doStuff()
00:52.56sticksterYou'd see:    hi you
00:53.12nombytecause you is the default value for name
00:53.16sticksterright you are
00:53.16nombyteunless passed another
00:53.31sticksterExactly, you're setting a default for an optional argument
00:53.45sticksterWell, to be more precise, the argument is required, but it defaults so you don't need to provide it
00:53.57sticksterOK, Python class dismissed for tonight
00:54.06nombyte:D
00:54.07nombytek
00:54.12nombytecan't wait till tomorrow :D
00:54.19sticksterThe book is better, trust me
00:54.19nombyteim gonna go play :D
00:54.26nombytei don't understand a lot of it tho
00:54.31nombytewhat u said i understand
00:54.39sticksterFind yourself a Python forum friendly to newbies... I don't know any (yet)
00:55.03sticksterI need to find one though
00:56.25sticksterhttp://mail.python.org/mailman/listinfo/tutor
00:57.20nombyteok
00:58.14*** join/#fredlug jsmith (n=jsmith@000-176-826.area3.spcsdns.net)
00:59.40nombytewoot jared
01:05.51jsmithHey all...
01:05.54jsmithWhat's up?
01:15.26nombytenot much
01:15.40nombytei downloaded the luks-tools src and im about to add to it
01:15.46nombytewell try too
01:15.55nombytekinda intimidated by the gtk stuff
14:01.20*** join/#fredlug jsmith (n=jsmith@000-176-826.area3.spcsdns.net)
14:41.07*** join/#fredlug quigleymd (n=Matt@24-53-142-5-st.chvlva.adelphia.net)
19:44.37*** join/#fredlug plarsen (n=plarsen@w158.z06400088.was-dc.dsl.cnc.net)
19:45.18jsmithplarsen: I'd be happy to bring my laptop to the meeting tomorrow
19:50.14plarsenjsmith: great!  I have a vm installed on my laptop now with fc7-test2 ....
19:50.25plarsenso we should be able to get something going there ....
19:51.53jsmithCool.
20:58.43stickster_workHi all
20:58.57plarsenHas someone made a survey to confirm that the higher you get in the organization the more of your brain you lose?? lol
20:58.59plarsenGRRRR!
21:06.19jsmith"In most organizations, people rise to the level of their incompetence"
21:24.29plarsenyeah, the "Peter Principle" ... but why does it have to be SO FRIGGING TRUE!!
21:31.43sticksterHeh... I guess if it weren't no one would have named it
22:35.27*** join/#fredlug nombyte (n=nombyte@sense-sea-MegaSub-1-209.oz.net)
22:35.56nombytehey there guys, im at my third job using a webbased irc client... ugh
22:36.11nombytestickster: I have a few questions for u

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.