Submitting packages

Here you can post links to your contributed packages.
User avatar
laprjns
Salix Warrior
Posts: 1028
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Submitting packages

Post by laprjns » 5. Aug 2012, 17:51

Yup, its there now.
Thanks

Rich

User avatar
mimosa
Salix Warrior
Posts: 3033
Joined: 25. May 2010, 17:02
Contact:

Re: Submitting packages

Post by mimosa » 5. Aug 2012, 19:55

Yes, now I see it too.

ruario
Posts: 88
Joined: 23. Dec 2010, 08:41

Re: Submitting packages

Post by ruario » 12. Aug 2012, 21:40

Sorry, have been away on holiday. Works for me now as well! ;)

User avatar
Papasot
Donor
Posts: 105
Joined: 3. May 2015, 18:37
Location: Patras, Greece

Re: Submitting packages

Post by Papasot » 18. May 2016, 19:26

Just a question, what if I have packages ready for submission, but the corresponding *.txz is provided for x86_64 architecture only? I don't have any machine running Salix 32-bit, and I prefer not to use cross-platform compiling (which I never trusted and I doubt it will even work in this case).
To get the 32-bit txz, I tried to create a virtual Salix 32-bit installation with Virtualbox, and set it to be Linux 32-bit. However, the Salix installer won't let me proceed with installation, saying kernel is not appropriate. I am guessing this is because the machine is actually 64 bit.

I do have the 32-bit txz packages but those are built on Slackel, where I do have an actual machine running the OS. However, the binaries are created with gcc 5.3.0, while Salix's default gcc version is 4.8.2.
So, is it acceptable to send the SLKBUILD and the x86_64 files, knowing the exact same SLKBUILD will work on 32-bit, as it works perfectly on Slackel32?
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ;-)

User avatar
mimosa
Salix Warrior
Posts: 3033
Joined: 25. May 2010, 17:02
Contact:

Re: Submitting packages

Post by mimosa » 19. May 2016, 07:47

No, you must build and upload packages for both architectures (assuming you are talking about submissions for the 14.2 repository). You may find salix-chroot-install useful for this in your case. Just download the 32-bit iso, and "install" it to a directory. Then chroot into it with schroot, and build your package. You need to set up a config file first that tells where your chroot lives:

Code: Select all

mimosa[~]$ cat /etc/schroot/chroot.d/alpha32
[alpha32]
description=Salix 14.2 32-bit
directory=/home/mimosa/chroot/alpha32
users=mimosa
root-users=mimosa
personality=linux32
type=directory
Then just do

Code: Select all

schroot -c alpha32

User avatar
gapan
Salix Wizard
Posts: 5406
Joined: 6. Jun 2009, 17:40

Re: Submitting packages

Post by gapan » 19. May 2016, 12:03

Your problem with virtualbox might be that you need to check the PAE option in the VM settigns.
Image
Image

djemos
Salix Warrior
Posts: 1036
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Submitting packages

Post by djemos » 19. May 2016, 13:29

Or use vmware download trial 12.1.1 version. Install it with sudo sh VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle --ignore-errors
You will need a serial key. Find it in google.

User avatar
Papasot
Donor
Posts: 105
Joined: 3. May 2015, 18:37
Location: Patras, Greece

Re: Submitting packages

Post by Papasot » 19. May 2016, 15:39

Thank you all for the suggestions. Since I already had Virtualbox installed, I tried that first, this time checking that "hidden" option "Enable PAE/NX", as gapan suggested, and it worked. Salix was installed without any problem, building the packages with slkbuild worked perefectly, and the resulting packages work as expected as well. However, slkbuild sets the $arch variable for the resulting files as "i486" while the packaging rules say it should be i586 "in most cases".
Indeed, there is a folder, /usr/i486-slackware-linux, while in my "real" Slackel 32-bit installation it's /usr/i586-slackware-linux. I had a look at the package log file and I saw it scans that folder, finds 486, hence the $arch.
What am I doing wrong here?
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ;-)

User avatar
gapan
Salix Wizard
Posts: 5406
Joined: 6. Jun 2009, 17:40

Re: Submitting packages

Post by gapan » 19. May 2016, 16:13

You're running 14.1, not 14.2.
Image
Image

User avatar
Papasot
Donor
Posts: 105
Joined: 3. May 2015, 18:37
Location: Patras, Greece

Re: Submitting packages

Post by Papasot » 19. May 2016, 16:54

gapan wrote:You're running 14.1, not 14.2.
Ok, I didn't know Salix 14.2 alpha was available. I suppose the x86_64 packages should also be built on salix64-xfce-14.2alpha1 as well?
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ;-)

Post Reply