Hey guys,
I've been searching around and to no luck can I find a way to develop a front-end for APT.
Is anyone familiar with it and how I can go about this?
Thanks.
Help: Wanting to Develop an APT front-end
Moderator: Coders of Rage
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Help: Wanting to Develop an APT front-end
There's no place like ~/
Re: Help: Wanting to Develop an APT front-end
apt? as int apt-get?
there is aptitude, but any os the that is debian based has a front end for that already.
there is aptitude, but any os the that is debian based has a front end for that already.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: Help: Wanting to Develop an APT front-end
I know, but I want to make my own front-end.
And yes, like apt-get.
And yes, like apt-get.
There's no place like ~/
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Help: Wanting to Develop an APT front-end
man pages?LeonBlade wrote:I know, but I want to make my own front-end.
And yes, like apt-get.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
Re: Help: Wanting to Develop an APT front-end
well you just need to be able to run system commands as root. then you need to be able to parse whatever apt-get spits back at you. as ginto said, the man pages are a good place to start.
you could also cache this, http://www.apt-get.org/main/ into a db, that way you dont have to load it every time over the network. just update it if there are discrepancies, im sure you can get a md5/sha of the current state of the repo.
also, i would look at the source of the current gui package manager, that should steer you in the right direction.
you could also cache this, http://www.apt-get.org/main/ into a db, that way you dont have to load it every time over the network. just update it if there are discrepancies, im sure you can get a md5/sha of the current state of the repo.
also, i would look at the source of the current gui package manager, that should steer you in the right direction.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: Help: Wanting to Develop an APT front-end
That's what I figured I'd have to do, just parse output from system() calls.
Reason I ask is because I'm trying to make something on the iPhone/iPod touch (similar to what Cydia is) and I wasn't sure if I was going about it the correct way.
Seems to be I am, I'll look into it more, perhaps ask on a jailbroken development site.
Reason I ask is because I'm trying to make something on the iPhone/iPod touch (similar to what Cydia is) and I wasn't sure if I was going about it the correct way.
Seems to be I am, I'll look into it more, perhaps ask on a jailbroken development site.
There's no place like ~/
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: Help: Wanting to Develop an APT front-end
I'm pretty sure there is a lib (which is part of apt) which you can link to, it has all the stuff needed to read the db.
found it: libept
found it: libept
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.