alphaOS [closed]

A home for all kinds of Puppy related projects
Message
Author
raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Intel N10 chip

#21 Post by raffy »

simargl wrote:nooby & raffy: What are yours graphic cards
VGA compatible controller: Intel Corporation Cedarview Integrated Graphics Controller (rev 09)
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

simargl

Re: Intel N10 chip

#22 Post by simargl »

raffy wrote:
simargl wrote:nooby & raffy: What are yours graphic cards
VGA compatible controller: Intel Corporation Cedarview Integrated Graphics Controller (rev 09)
I see you mentioned this in your first post also, :oops: . Intel driver is already included, so I don't know it should work, at least for me it works.

If you want to log out to console replace X_AUTOLOGIN="yes" to X_AUTOLOGIN="no" in /etc/rc.conf, then log out and make xorg.conf file with X -configure. There you can set resolution.

Actually first try with lxrandr to see what is supported.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#23 Post by stifiling »

There are aspects of this distro 'alpahos' that make it better than ArchPup. It's free'er (or however it's spelled). i installed pacman in it...and am using it very much so as if it's ArchPup.

Trying to decide if i want to continue piecing together, and updating the adrives for ArchPup...or shift the attention to this new 'and improved to be honest with you' AlphaOS.

Great Job so far sim, i'm diggin it.

simargl

#24 Post by simargl »

Hi stifiling, alphaOS is on distrowatch waiting list :D
http://distrowatch.com/dwres.php?resource=submit

Only two days after first ever release!

simargl

#25 Post by simargl »

New functions in package manager: repo-add, repo-remove, repo-list for working with pkgs.list database.

spkg -cc
Clean the entire package cache

spkg -dp name
Only download package but do not install it

Here is another def script example. As you see it can use multiple sources for making single package :idea:

Code: Select all

name="sdl_extra"
version="1.2.15"
revision="1"
category="development"
description="SDL gfx, image, mixer, net, pango, sound and ttf bindings"
source="http://ftp.de.debian.org/debian/pool/main/s/sdlgfx/sdlgfx_2.0.23.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdl-image1.2/sdl-image1.2_1.2.12.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdl-mixer1.2/sdl-mixer1.2_1.2.12.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdl-net1.2/sdl-net1.2_1.2.8.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdlpango/sdlpango_0.1.2.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdl-sound1.2/sdl-sound1.2_1.0.3.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11.orig.tar.gz"
homepage="http://www.libsdl.org"
maintainer="simargl <archpup@gmail.com>"
depends="sdl libpng libjpeg libtiff zlib libvorbis libmikmod pango freetype2"
makedepends=""

compile() {
  for i in SDL_Pango-0.1.2 SDL_gfx-2.0.23 SDL_image-1.2.12 SDL_mixer-1.2.12 SDL_net-1.2.8 SDL_sound-1.0.3 SDL_ttf-2.0.11; do
    cd $build/$i
    ./configure \
      --prefix=/usr \
      --disable-static
    make || exit
  done
}

package() {
  for i in SDL_Pango-0.1.2 SDL_gfx-2.0.23 SDL_image-1.2.12 SDL_mixer-1.2.12 SDL_net-1.2.8 SDL_sound-1.0.3 SDL_ttf-2.0.11; do
    cd $build/$i
    make DESTDIR=$destdir install
  done
}

simargl

#26 Post by simargl »

To do list:
- add support for installing more than one package at once
- work with just spkg -di uget not full package name
- handle dependencies
- recompile whole toolchain with new distro name (after that lock it forever)
- recompile Xorg packages group, with before missed glu package

john3voltas
Posts: 102
Joined: Mon 23 May 2011, 13:10

#27 Post by john3voltas »

Great work with alpha.
It is looking good.
Will give it a try during the weekend.
Only package installer is spkg? No pacman or apt or yum, etc?

EDIT: BTW, you chose udev for both your puplets. Is there a problem with your puplets and systemd?

simargl

#28 Post by simargl »

john3voltas wrote:Great work with alpha.
It is looking good.
Will give it a try during the weekend.
Only package installer is spkg? No pacman or apt or yum, etc?

EDIT: BTW, you chose udev for both your puplets. Is there a problem with your puplets and systemd?
Hello john3voltas, thanks for your comment :P
I tried various things with udev in Archpup and only version that worked perfectly for me was 175. Beside that my tests were with udev-182, udev fork by Gentoo team, udev extracted from systemd 197 package from Arch and all three had the same problem: sound and internet did not work with them (only way to connect was manual loading needed kernel module), but Xorg worked at my surprise. Udev is low-level system, so I would rather not experiment too much with it, especially because it currently works without problem. :wink:

simargl

#29 Post by simargl »

This is upgraded spkg package manager version 0.9.8.1 (attachment removed)
It has all features I planned to add, so here it is you can test it.

Extract this archive, and run installation script with
sh install

Then type
spkg update

See all available package on mirror with
spkg list

Install what you want
spkg -gi pkgname1 pkgname2....

Deadbeef audio player that couldn't compile in Archpup, here is compiled and working fine. It uses gtk3 btw.
Last edited by simargl on Fri 22 Mar 2013, 15:31, edited 1 time in total.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#30 Post by stifiling »

Frisbee for me is working perfectly from a quick couple reboot tests. It's blinky icon in the notification area is blinking, and everything else. It's the same files I used in the light-xfce adrv for ArchPup. for some reason though, it had minor issues in ArchPup.

simargl

#31 Post by simargl »

stifiling, as you mentioned somewhere pacman still works in alphaOS and reason for that is I kept part of spkg that makes entries in /var/lib/pacman/local, so pacman still recognizes packages from there as installed... spkg even handle things like "provides, conflict, replaces"

Still, I would rather to just compile programs in alphaOS to get the best compatibility.

Compiling full xfce from source for example is not that hard (require about 10-15 packages)

Some more things about spkg:
1. if you type spkg -gi evince it will get and install evince plus dependency poppler
2. with spkg -g evince it will just get evince to cache directory and Not poppler. Is this enough or I should modify script to get dependencies even if you don't want to install package?
3. spkg -i is command for installing local packages and supports infinite number of arguments. Example: you have folder with 100 spkg packages and you type spkg -i * they are all installed
4. If you go to /initrd/pup_rw/var/lib/spkg/installed you will see packages installed by you (not part of the main iso)
5. automatically upgrading packages does not work and I have no idea how to implement that
6. spkg repack PKGNAME, will remake package from installed files

ojowinter
Posts: 7
Joined: Sun 10 Mar 2013, 07:22

#32 Post by ojowinter »

Hello, my first post :o

Several quetion is ok?
1. How to save alphaos state to keep permanently in strage memory?

remaine my disk capacity is 100M... :oops:
http://dl.dropbox.com/u/1053962/arpha-2 ... 143951.png

2. How to backup my def file created under /mnt/home/data/spkg/def-scripts/*/?

thanks.

simargl

#33 Post by simargl »

ojowinter wrote:Hello, my first post :o

Several quetion is ok?
1. How to save alphaos state to keep permanently in strage memory?

remaine my disk capacity is 100M... :oops:
http://dl.dropbox.com/u/1053962/arpha-2 ... 143951.png

2. How to backup my def file created under /mnt/home/data/spkg/def-scripts/*/?

thanks.
Hi ojowinter, thanks for using alphaOS! :D

1.Check under System- make personal save file, select desired size and partition .
That created file will be loaded on every start up with all your settings, You can also copy that file somewhere as alphasave.2fs.bak
in case of some problems appear, I do that all the time.

2. In next version pciutils will be in main iso, I forgot about that package before.
From that screenshot I'd you are quite advanced user so maybe you could help maintaining alpha os repository :wink:
http://code.google.com/p/alphaos/downloads/list

In case of smaller disk capacity you might be interested in function spkg makesfs that converts all packages in a folder to single sfs module. 20 sfs modules can be loaded I think that's more than enough for everyone.

simargl

#34 Post by simargl »

Interesting or not, with this command you cand find appropriate CFLAGS for your CPU

Code: Select all

echo "" | gcc -march=native -v -E - 2>&1 | grep cc1
For me it's -march=nocona -mtune=nocona :o

Source: http://en.gentoo-wiki.com/wiki/Hardware ... r_features

ojowinter
Posts: 7
Joined: Sun 10 Mar 2013, 07:22

#35 Post by ojowinter »

umm...Honestly, I didn't know well gcc option and how way to confirm it.
I study your advising to me :o

Btw, Now remind me gtk-doc build trouble.

Dependencies
gtk-doc - docbook-xsl - docbook-xml

Some gtk application need gtk-doc, and so need to package docbook-xml, docbook-xlt,
but two is required by manually handling setup... :(
http://www.linuxfromscratch.org/blfs/vi ... cBook.html
http://www.linuxfromscratch.org/blfs/vi ... k-xsl.html

I think that it's good to have two in default alpha iso.

simargl

#36 Post by simargl »

ojowinter wrote:Btw, Now remind me gtk-doc build trouble.

Dependencies
gtk-doc - docbook-xsl - docbook-xml

Some gtk application need gtk-doc, and so need to package docbook-xml, docbook-xlt,
but two is required by manually handling setup... :(
http://www.linuxfromscratch.org/blfs/vi ... cBook.html
http://www.linuxfromscratch.org/blfs/vi ... k-xsl.html

I think that it's good to have two in default alpha iso.
I try to avoid documentation files where ever possible to save some space, and /usr/share/doc for every package is removed before compressing.

Where did you have problems with missing gtk-doc? For me that problem appeared only with dconf, so I made patch to just in Makefile.in and Makefile.am remove doc from subdirs. If gtk-doc is hard dependency I guess we can add it, but not in main iso.

ojowinter
Posts: 7
Joined: Sun 10 Mar 2013, 07:22

#37 Post by ojowinter »

I try to avoid documentation files where ever possible to save some space
ok. I missed this point in mind.
Where did you have problems with missing gtk-doc?
https://github.com/gandalfn/Cairo-Composite-Manager

My trouble is occurred ./autogen.sh phase, I try to do several times,
however my autools skill is poor, so I'll not be correspond with it...

simargl

#38 Post by simargl »

I don't have git installed to test but in this file
https://github.com/gandalfn/Cairo-Compo ... akefile.am

you could try to remove --enable-gtk-doc

and also doc from subdirs
SUBDIRS = lib src tools plugins test doc gir vapi data po

ojowinter
Posts: 7
Joined: Sun 10 Mar 2013, 07:22

#39 Post by ojowinter »

Github seem to address archive/master.zip to export zip format.
I'm retry to build, It seem to be success.

http://dl.dropbox.com/u/1053962/cairo-compmgr.def
http://dl.dropbox.com/u/1053962/cairo-compmgr.patch

umm, I have one point problem. Alpha don't have unzip command :(

simargl

#40 Post by simargl »

:) You are right about unzip, I'm adding it right now.

Post Reply