/srv/irclogs.ubuntu.com/2013/03/17/#ubuntu-devel.txt

geofftHm, manpages.ubuntu.com doesn't seem to be doing things with quantal or raring, despite #1073483 saying it should01:50
melodiehi10:20
melodiewhat is the package name for pygtk ?10:21
FlowRisermelodie, python-gtk2-dev10:22
melodiehi FlowRiser thanks.10:23
melodieis it for dev and also non dev use ?10:23
FlowRisermelodie, whenever you are searching for a package name, use apt-file search <library_name/part_of_package_name>10:23
FlowRisermelodie, it's only for dev10:23
melodieie: http://obmenu.sourceforge.net10:24
melodie"Dependecies10:24
melodiePython 2.3 or better, pygtk and pyglade."10:24
melodiebut there is no package having for name just "pygtk"10:24
melodieok, I will install apt-file and reload it10:25
FlowRiserit refers to the libraries ... pygtk.h and pyglade.h10:25
FlowRiserand to the respective include paths, ofc10:25
mitya57there is a non-"-dev" package as well: python-gtk210:26
mitya57looks like it's what your package should depend on10:27
melodiethank you mitya5710:27
mitya57(by the way I won't recommend new packages to depend on pygtk at all as it's deprecated for ~ two years)10:27
melodiethe apt-cache show command returns this for the depends "Depends: python, python-support (>= 0.90.0), python-glade2"10:27
mitya57python-glade2 depends on python-gtk2, so no need to depend on both10:28
melodieI get it. thank you very much.10:28
FlowRiseri don't see any pygtk in the apt-cache result ... weird stuff10:30
melodieme thinks apt-cache finds only chains when the chain is exactly the same in the package name, not more10:33
melodieperhaps apt-file would find more10:33
melodieI try now10:33
FlowRiserAnybody knows if there's a special PulseAudio Simple library for C++ ? Or is it just libpulse-simple-dev10:33
FlowRiseri meant libpulse-dev*10:34
melodieFlowRiser their website says about simple api but not library.10:36
FlowRisermelodie, aren't apis just libraries ? O.o10:38
melodieapi stands for application programming interface10:39
melodielibrary " a collection of implementations of behavior, written in terms of a language"10:39
melodieso it is not the same thing10:39
melodiefrom wikipedia10:40
melodiehttp://en.wikipedia.org/wiki/Library_%28computing%2910:40
melodiehttp://en.wikipedia.org/wiki/API10:40
FlowRiserhttp://en.wikipedia.org/wiki/Application_programming_interface#API_libraries_and_frameworks10:40
melodieFlowRiser did you see that one page ? http://freedesktop.org/software/pulseaudio/doxygen/simple.html10:41
FlowRiserI think most software APIs are just frameworks with multiple implementations10:41
melodieperhaps it is the one10:41
FlowRisermelodie, i'll try it in C++ right now, but the examples are in C10:42
melodieyou might be right10:42
melodieyou didn't say what exactly you want, maybe a page such as this would be helpful ? http://ysflight.in.coocan.jp/programming/audio/pulseAudioSample/e.html10:42
melodieI have to do something else now...10:43
melodieand could not be more helpful anyhow. :)10:43
FlowRisermelodie, no worries, thanks for your time :D10:44
melodiesorry I can't help more. :)10:44
FlowRisermelodie, that download link was just the thing! It turns out there's only one implementation for both C++ and C, thanks :)10:49
melodiewhich one, the first one at freedesktop.org ?10:51
melodieFlowRiser I am happy I could help10:54
=== yofel_ is now known as yofel
melodiehi13:24
melodiewhen in the description of a package we read "maintainer" on one ligne (ie: Ubuntu Developers) and "original maintainer" under, does it mean the original maintainer does not look after it anymore at all ?13:26
mitya57melodie: no, Original-Maintainer field is set for all packages that are modified in Ubuntu13:30
melodiemitya57 what should I do then ? I want to submit a desktop file for obmenu, and ask that the icons from the sources be installed to a regular icon directory under /usr/share instead of /usr/share/obmenu/icons where it is presently.13:32
mitya57melodie: file a bug or merge proposal13:33
mitya57by the way see https://wiki.ubuntu.com/DebianMaintainerField13:34
melodieok, I will file a bug (no merge proposal, there is no desktop file at all in the package)13:35
melodiethank you mitya5713:35
mitya57you still can file a merge proposal adding it :)13:36
melodieis that very different from a bug report ? anything specific to it ?13:43
melodiemitya57 sorry for the lag, my machine was lagging with heavy tasks :)13:44
mitya57melodie: it'll be looked at quicker13:44
melodiegreat13:45
* melodie looks for the merge proposal corner13:45
mitya57http://developer.ubuntu.com/packaging/html/fixing-a-bug.html13:47
melodiemitya57 I am not yet enough used to make packages, I have only done one, with a little sweat and lots of help. I'll train next, but for now and for this one I'll just report it as a bug. :)13:49
mitya57ok, that is welcomed anyway13:49
melodieI find many little bugs, and I try to report them one by one as soon as possible after I found them. I am working on the creation of a Openbox spin, which has to be simple to use and yet flexible to modify13:50
melodiedoing this brings me many things to discover (bugs but not only, of course)13:50
melodiedoes someone know how to remove dangling links in a chrooted system ?18:10
xxtjaxxmelodie: What links? Symlinks?18:10
melodieI am browsing the help files from fslint (the cli)18:10
melodieyes xxtjaxx dangling symlinks18:10
xxtjaxxmelodie: they are basically files so you could simple remove them.18:11
melodieI found how to display them but not how to remove them18:11
melodiethere are many, really many18:11
xxtjaxxrm18:11
melodietoo slow18:11
melodieI'll try with find18:12
melodie^^18:12
melodieand exec...18:12
xxtjaxxfind -lname?18:13
melodiexxtjaxx I think I would rather have to try to find a command line using find and fslint (the one which is under /usr/share/fslint/*)18:19
JanCmelodie: find also has a -delete action which doesn't need -exec18:26
melodiehi JanC and then how could I chain that with fslint ? (without distroying a symlink which would not be dangling if the system was alive... )18:28
maxbYou can't. You have no gurantee that some dangling symlinks are not intentional parts of the system18:30
* cjwatson tries to work out how this is #ubuntu-devel material ...18:31
maxbHmm, good point18:31
melodiecjwatson do you think I might be OT ?18:33
melodiewhile trying to make a particular remix, I found lots of dangling links, so I try to find a way to remove them without breakage18:34
ClientAlivewhat does it mean if a partion's mount point shows up as "/boot/efi"? I know what efi is. What I'm asking is - is that a partition inside a partition? Is it a directory inside the /boot partition? And, at what level of that is the file system formatting at?19:51
ClientAlivewhat I'm getting at is - if I had to manually create /boot/efi on a machine, how would I do it properly?19:51
ClientAlive#ubuntu no one seems to know so that's why I came here19:51
maxbClientAlive: That's not *really* a good excuse for violating the channel topic quite so conclusively :-/20:00
ClientAlivemaxb: what?20:00
ClientAlivewell do you have a suggestion how to get some information (if I'm in such gross VIOLATION)?20:01
maxb#ubuntu-devel is supposed to be for the development of Ubuntu, not a way to escalate support questions that people on other channels don't answer20:01
ClientAliveso why would you assume intentional evil on my part by saying "excuse" ??20:02
ClientAlivenot cool20:02
maxbWell, perhaps I'm being a little sensitive, but since OT-ness has already been brought up in the past few hours...20:03
JanCmelodie: so, I think your real question is if there exists a list of "broken" symlinks that are intentionally there and should not be removed?20:35
melodieJanC almost that20:37
melodieJanC suppose there are symlinks here and there which might be active only in a system which is booted and not in one which is being built. I am starting a vm to make tests in it, and see what dangling symlinks will be listed for removal20:38
melodiethen I hope I will be able to compare with what I will find in the chrooted build directory20:39
JanCI think 'find -L . -type l' lists dangling symlinks under the current directory--should be easy to compare between both then?20:43
melodieJanC thank you, I am going to try it20:43
JanCbut that would assume dangling symlinks are *always* used on a live system20:44
melodie?20:44
melodieok, I will check both status : installed and live as well. :)20:45
JanCI mean: they might be intentionally there, but not always being used20:45
melodieI get it20:45
melodiethat would explain why I found those kinds in several live cd's20:46
JanCe.g. they might be dangling if certain devices aren't available20:46
melodieyes20:46
melodieJanC I just looked at man find to check the -type l, and I found that very tricky and clever. thank you very much20:50
melodieonce I will have checked all what it returns I can try a :20:52
melodiefind -L /usr -type l -exec rm {} \;20:52
melodiemostly only /etc and /usr have broken symlinks20:53
melodieand many more in /usr20:53
mlankhorstermm20:54
* mlankhorst hands melodie cleanlinks20:54
melodiemlankhorst thank you :D20:55
JanCas I said before: there is also -delete20:55
melodieI stumble upon it and will see what it allows to do20:55
melodieJanC is -delete easier, and where do you add it ? at the end ?20:55
mlankhorstanyhow you're obsessive if you care about dangling symlinks20:55
JanCfind -L . -type l -delete20:56
melodiemlankhorst it's just annoying to see hundreds of them while seeking for just one file... in a directory20:56
melodiethat looks unclean20:56
melodieJanC thanks !20:56
melodienow I will check what I find in a Live vbox20:56
mlankhorstfor grep? just use -s, find ignores symlinks by default20:57
melodiemlankhorst great tip too... thank you very much20:57
JanCmlankhorst: hence the -L option20:57
melodieo_0 ?20:58
melodie-L vs -s ?20:58
mlankhorstI mean grep -s20:58
JanCto find, I mean  ☺20:58
melodiefind vs grep ? ^_o20:58
mlankhorstoh find just pipe 2 to /dev/null21:00
JanCcleanlinks does more than removing dangling symlinks BTW21:00
JanCit also removes empty directories21:00
JanC... according to its manpage21:00
melodieJanC are all empty directories un needed ?21:01
mlankhorstJanC: well if you have a new command and dont read its manpage you do so at your own risk :-)21:01
melodiethis is a small question which have stayd under the carpet since many years now... I see an opportunity to get an answer to such a basic oen21:02
melodieone21:02
mlankhorstdangling symlinks are harmless so whatever you do it's just to satisfy OCD..21:02
melodieok, just what is "OCD" ?21:03
melodieobsessional compulsive disease ? :D21:03
* mlankhorst kindly refers to google :-)21:03
JanCsome applications might assume that certain directories are always there21:03
melodiedon't they use a tiny space ? maybe one inode each ? :)21:04
melodie(obessional wish to not spare the slightest space)21:04
mlankhorstfind /usr -type d -empty ..21:04
melodiereally I would not want any app to think they need a folder which is not there anymore, but for the poor orphaned links ? don't they use an inode each ?21:05
mlankhorstYou know what? I'm going to stay out of this.. cleanlinks doesn't do what you want probably21:06
melodie(find is a very great tool, btw)21:06
melodieI am looking at it now21:06
melodielooking for it*21:10
melodienow I think I understand : the dangling symlinks could refer to locales not installed, because not yet chosen by a user starting to install to his hard drive ?21:14
melodieisn't that so ?21:14
cjwatsonmelodie: if you're inspecting things from outside a chroot then you'll see many allegedly-dangling symlinks that are actually because the symlinks are absolute and you don't have their targets on the system you're using to look at them.  if so then that is an artifact of your approach and not worth worrying about ...22:28
cjwatsonI find it very surprising that there would be more than a tiny handful of dangling symlinks when inspected properly.  perhaps it would be easier to guess if given some examples?22:29
cjwatsoncertainly if you're trying to do any kind of cleanup on an Ubuntu derivative image that you intend anyone else to use then you need to do things by modifying packages, not by tools like cleanlinks or find/rm pipelines or whatever - which is going to involve understanding why the things you want to clean up are there and where they come from :)22:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!