Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 05:36
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
How to add a Ubuntu repository to ppm?
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Thu 18 Sep 2014, 10:50    Post_subject:  How to add a Ubuntu repository to ppm?
Sub_title: kxstudio, choreme-google, and several others
 

Hi all Smile I need some help with the following (for precise puppy):
1. adding an unsupported ubuntu ppa to ppm - kxstudio, playonlinux, google
2. installing xfce and emerald - strange, but I can't seem to make the sfs work - after installing I can't start X any more.
3. (don't kill me, I know how most of you feel about it, but I need it) adding several users.
If someone can actually post the edited repository file to include kxstudio it'll be awesome... I'm configuring a puppy in virtualbox to make to iso later for personal use.
Any help will be greatly appreciated!
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 4052
Location: World_Hub

PostPosted: Thu 18 Sep 2014, 13:44    Post_subject:  

Unless someone can tell me different, PPA's are for Ubuntu. While Precise was developed to utilize their pkg repository, Pups pacman is solely it's own.

Several users? Sure, have everyone create their own encrypted save file. Otherwise, it's just about any other distro you're looking for..

And Emerald? Not for me to answer.

_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Thu 18 Sep 2014, 16:53    Post_subject:  

Thanks for the reply Semme Smile
However - the ubuntu based puppies (like Lucid and Precise) support debian packages. The puppy package manager uses the universe, multiverse and restricted. As far as I know (I'm not an advanced puppy user, so I might be mistaken) puppy package manager converts the ppa url's to an understandable format to use. If you check in /root/.packages (actually not 100% sure that's the correct path - writing from my Ubuntu install at the moment) you'll find the repository lists there.
I just need to know how to add repos different for the ones already included.

On a totally unrelated note,
I remember there was a pet for emerald long time ago, but I can't find it and besides, I think it'll be a bit outdated... I don't want to compile from source, because I'm going to compile the kernel (because I need realtime and for the fun of it - it's my first attempt to build my own puppy, even though I'm going to use the puppy remaster tool included under "setup" in menu). Don't laugh me off guys - we all start from somewhere Smile Not to mention I actually really need it - I'm a movie composer and I mainly use Linux for my mixing, sampling, and scoring needs. Some some extra speed (which puppy provides) will help me greatly Smile And yes, I know there is a pupplet Puppy Studio 4, but I prefer newer version on some of the programs, besides - it's based on lucid and it's only 32 bit. And I'd prefer a 64 bit OS on a 64 bit computer.
Back to top
View user's profile Send_private_message 
mavrothal


Joined: 24 Aug 2009
Posts: 1806

PostPosted: Fri 19 Sep 2014, 03:12    Post_subject:  

Haven't tried it but you should be able to add the PPA link to /root/.packages/DISTRO_COMPAT_REPOS and then from the PPM do an update of the databases.
/usr/local/petget/configure.sh is the script that handles the updating if you want to look at it for more insight.
Let us know either way.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Fri 19 Sep 2014, 09:47    Post_subject:  

mavrothal wrote:
Haven't tried it but you should be able to add the PPA link to /root/.packages/DISTRO_COMPAT_REPOS and then from the PPM do an update of the databases.
/usr/local/petget/configure.sh is the script that handles the updating if you want to look at it for more insight.
Let us know either way.

Thank you Smile I was able to add the repos, however it doesn't work as expected - it can't search them, even though I updated and another weird thing - it can't download anything from anywhere... I might drop this project for now, unless I get some more free time..
If I was able to make apt run (for now I get a libc6 error) I wouldn't have to depend on ppm, but than again - if I was to do that I'd better get Ubuntu directly... And than again - puppy is so much faster... But I guess all the additional stuff will make it slow... hmm...

P.S.
here's what I was able to generate
Code:
#where to get pkg docs, format: domain|uri|localfilename...

PKG_DOCS_DISTRO_COMPAT="archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/precise/main/binary-i386/Packages.bz2|kxstudio ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|kxstudio_amd64 ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu/dists/precise/main/binary-i386/Packages.bz2|blender-irie ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|blender-irie_64 dl.google.com|https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.gz|google-chrome_64 ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu/dists/precise/main/binary-i386/Packages.bz2|gimp ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|gimp64"

#ubuntu repos...

#note, the local pkgs database file (or partname) is also appended to these entries, so know which url to download a particular pkg from (glob wildcard allowed)...

REPOS_DISTRO_COMPAT="ftp.filearena.net|http://ftp.filearena.net/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* mirror.anl.gov|http://mirror.anl.gov/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* mirrors.kernel.org|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* archive.ubuntu.com|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|kxstudio http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|kxstudio_amd64 ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu|blender-irie ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu|blender-irie_64 dl.google.com|https://dl.google.com/linux/chrome/deb|google-chrome_64 ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu|gimp ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu|gimp64"
Back to top
View user's profile Send_private_message 
mavrothal


Joined: 24 Aug 2009
Posts: 1806

PostPosted: Fri 19 Sep 2014, 15:30    Post_subject:  

It works OK at my end.
I tried it on Puppy Tahr and only with the kxstudio and as the picture shows works fine.
What I did was to add
Code:
ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/trusty/main/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio
#and
ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio
in DISTRO_COMPAT_REPOS then open PPM and update the databases from "settings"
Closed PPM.
Removed the previous PPM files from /tmp (or just reboot) as I find that they mess up the process if they are (partially) overwritten.
Opened PPM again, activated the kxstudio repo from "settings",
Closed and reopened PPM one last time for the change to take effect, and that was it.

The trick is that you must add the "Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION-<name>" or "Packages-ubuntu-trusty-<name>" or at least "Packages-<name>" because the database file is generated from /root/.packages/Packages-*. Without "Packages" does not see it as a repo.

BTW I see you add a bunch of x86_64 repos. Do you have a 64bit Ubuntu Puppy or you are going to use them with other 64bit puppies?
ppa2.png
 Description   
 Filesize   125.8 KB
 Viewed   622 Time(s)

ppa2.png


_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Fri 19 Sep 2014, 19:56    Post_subject:  

Thank you mavrothal!!!
I forgot to add that line... Kinda feel stupid right now... I'll try it tomorrow - I hope it'll work. If it does I'm going to compile a custom kernel, make an iso with puppy remaster and who know - I might upload it for those interested in it Smile Wish me luck!
Back to top
View user's profile Send_private_message 
mavrothal


Joined: 24 Aug 2009
Posts: 1806

PostPosted: Sat 20 Sep 2014, 02:17    Post_subject:  

Actually to work properly (ie with minimal user input) will need more work.
With the current hack of adding non-distro repos to DISTRO_COMPAT_REPOS, PPM assumes that ppa.launchpad.net is just another Ubuntu mirror so user must specify correctly where to get packages from, otherwise it will fail to download the package. It may also fail to get the correct dependencies if they are in the ppa repos.
To be done correctly you may need to add a new file, say DISTRO_COMPAT_EXTRA_REPOS with the relevant info in the new PKG_DOCS_DISTRO_COMPAT_EXTRA and REPOS_DISTRO_COMPAT_EXTRA fields, and then configure PPM scripts (0setup, configure.sh, downloadpkgs.sh, installpkg.sh, installpreview.sh and maybe others...) that use DISTRO_COMPAT_REPOS, PKG_DOCS_DISTRO_COMPAT and REPOS_DISTRO_COMPAT, to consider the new file and fields too.
It needs some doing... Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Sat 20 Sep 2014, 06:54    Post_subject:  

Hmmm... If that is the case (which seems quite logical) I might not be up to the task - it'll take too much time to do it just for the fun of it - that is - for me it'll be faster to compile everything from source, rather searching for all the links, editing all the files and hope for the best.
I'm realizing I am trying to make a heavily bloated version of puppy, which by design is slim and old hardware friendly. I'll probably be better off with some bare bones ubuntu with functional apt - well, at least I know I'll get where I'm going faster that way. I am, after all, heavily dependant on some debian packages and the kxstudio repos.
If only apt could run well on puppy...
Back to top
View user's profile Send_private_message 
mavrothal


Joined: 24 Aug 2009
Posts: 1806

PostPosted: Sat 20 Sep 2014, 08:44    Post_subject:  

over_soul wrote:
If only apt could run well on puppy...

Then it wouldn'tbe puppy Laughing as few things must be sacrificed to get the full Ububtu/Debian compatibility.
There are however puppy-like OSs with full apt support.
Originally pussy linux and lately debian dog aspire to combine puppy friendliness and speed with full apt-get functionality.
You may want to give them a try.

Alternatively, depending on your needs and your hardware, you may want to try a light version of the "real thing" Laughing I find Lubuntu (14.04 LTS) both solid and less demanding than its bigger siblings. Will run fine on any 6-5 years old machine (or newer) with 1GB+ RAM.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Sat 20 Sep 2014, 20:54    Post_subject:  

I already have Ubuntu 12.04 with Unity 3D installed on my computer (well, it's a laptop), which I bought especially for audio work, so it's fairly powerful (though I could always use that little bit of extra speed that puppy would give me).
It has a business class intel i5 with 4 cores and 8 threads, 8 gb ram and 500 GB HDD. It's not i7, but is one of the best i5.
It might seem plenty for daily tasks, but for music production - I really need it to run as fast as possible - thus my renewed interest in Puppy (which usually is my rescue OS - if something goes wrong I can always count on Puppy to fix everything).
Anyway - today instead of puppy I used ubuntu mini - no X, no packages - only core. After some tweaking and configuring it grew to the whooping 6GB (when I started with only 34 MB). And the surprising thing is that it contains only what I want.
Though I have to admit I had a puppy install which grew to 4GB only system files, so...

All in all - what I "created" today is not exactly what I wanted and the core Linux distro is not the one I wanted either. It went way overboard my initial plan for a 4GB max iso. But I have xfce4 and emerald running perfectly, so I got that going for me, which is nice.
Back to top
View user's profile Send_private_message 
mavrothal


Joined: 24 Aug 2009
Posts: 1806

PostPosted: Sun 21 Sep 2014, 02:49    Post_subject:  

Music work.
So what do you think of puppy studio 13.37? Either the paid or the (older) free version?

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Sun 21 Sep 2014, 05:13    Post_subject:  

Just watched the video for Puppy 13.37 v2 - I am impressed. I wonder how big is this beast. It's obvious much work was put into making this puppy the fine dog it is today Very Happy
The only thing that bothers me is that I have to pay for linux - something I'm not quite used to - although I admit it's well worth it.
Back to top
View user's profile Send_private_message 
cthisbear

Joined: 29 Jan 2006
Posts: 3454
Location: Sydney Australia

PostPosted: Sun 21 Sep 2014, 23:47    Post_subject:  

http://www.4shared.com/account/home.jsp#dir=6bnMf2zs

Puppy studio 13.37 >> 32 and 64 bit versions hosted at above site.
Also the Lite version.

You will need to set up an account at 4 Shared.
No hassle really.

Click >> download type
Choose >> Free download only...wait 20 seconds etc.

Files will look like this... studio_1337-dvd-32bit.iso

Ubuntu will lok like sludge.

If you like Studio you could always send Announcer etc a small
donation.

You paid for a new laptop.
For the delivery of speed versus not buying more ram versus
$1 or more dollars.

Chris.
Back to top
View user's profile Send_private_message 
over_soul

Joined: 14 Oct 2009
Posts: 38

PostPosted: Mon 22 Sep 2014, 11:35    Post_subject:  

Thank you, cthisbear!
Don't get me wrong - I do think it is worth it. And the prize is more than acceptable. The point is - I was a bit surprised it has a prise.

Holly ****! This thing is only 800 mb!! How?
I guess I might come back completely to puppy if this dog runs the way I think it will Very Happy
P.S.
Porting some of the kxstudi stuff would be cool - specially catia jack manager.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1054s ][ Queries: 12 (0.0121s) ][ GZIP on ]