LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2009, 11:43 PM   #1
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
slackware64 current custom et ready iso


hi fellas!

i'm installing slack64 current everywhere so, to make my life easier, i'm preparing a custom iso every time repo gets updated with some addons:
- 32bit compat libs (prepared for slack64 by Slamd64 people)
- additional packages i built for my own use, including wine, adobe reader and openoffice (the italian version, but you can easily build another from installed system in your language installing this package)
- an hack for enemy territory to have alsa output (for using at the same time teamspeak, listen to music, etc.) and two additional 32bit compat libs to use it.

if this can be useful also for you it's here

iso - content - md5
(you can check from the changelog if it has been updated )

builds: taken mainly from slackbuilds.org, some from slacky.eu, just a few others and some patches from me.
if you want to build something from here you can't launch individual slackbuilds (they need the environment variables in Addons.options, if you are brave you can try adding a ". /path/to/Addons.options" to the script), you have to:
- edit variables in Addons.options as you prefer
- then Addons.Slackbuild deleting lines for omitting compilation of some parts
- start building everything with Addons.SlackBuild
I've done this slackbuilds setup because this way I can recompile everything easily whenever I want.
Took the idea (and copied and pasted the code) from kde slackbuilds
alternatively you can simply grab code diffs and patches you need.
here is a .tar of the build root.

P.S. if there's any problem redistributing such iso please let me know

Last edited by ponce; 08-07-2009 at 01:54 AM.
 
Old 07-18-2009, 07:21 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Thanks for your contributions.

I have a computer that I am giving to someone here to use. They've
never used a computer, much less owned one, so the only packages
that I need to build specifically for Chinese are Firefox, Thunderbird,
OpenOffice.org 3.1.0, and maybe QQ.

I've built Firefox-3.5.1 Chinese, but my last Slackpkg of OpenOffice
for Chinese seems to be 2.2.1. So I downloaded your package, made
a few small changes, and it seems to have worked just fine:
Code:
root@china:/home/mahui/build/openoffice/usr/src/openoffice-autobuilder-multilang/builder# sh openoffice-multilang.SlackBuild
[WARNING] you'll need about 1200MByte in /tmp/tgz to build this package [WARNING]                                           
Start check... DONE. check is OK.                                                                                           
Start building...:                                                                                                          
- clean necessary after old run                                                                                             
- extract tarball of openoffice and rpm inside, wait...                                                                     
- reorder openoffice's directory tree                                                                                       
- link the mozilla-plugin                                                                                                   
- add menu entry                                                                                                            
- manage run file                                                                                                           
- force gtk/gnome integration                                                                                               
- add documentation                                                                                                         
cp: cannot stat `LICENSE_zh-cn*': No such file or directory                                                                 
cp: cannot stat `README_zh-cn*': No such file or directory                                                                  
- insert slack install files                                                                                                
- add pdfimport extension from http://extensions.services.openoffice.org                                                    
- add pagination extension from http://extensions.services.openoffice.org                                                   
- active all extensions (before close all process of openoffice and remove .openoffice.org* on root)                        
- build package, wait...                                                                                                    
- your package is saved on /tmp/tgz                                                                                         
- make files checksum and desc                                                                                              
build done.                                                                                                                 
all done. bye ;)
I'm not entirely sure what to do with everything in this directory:
Code:
root@china:/home/mahui/build/openoffice/usr/src/openoffice-autobuilder-multilang/builder# ls -l /tmp/tgz/
total 259516
-rw-r--r-- 1 mahui users 153906061 2009-07-18 11:18 OOo_3.1.0_LinuxIntel_install_zh-cn.tar.gz
-rw-r--r-- 1 root  root      31515 2009-02-19 03:41 Pagination-1.3.7.oxt
drwxr-xr-x 2 root  root       4096 2009-07-18 11:23 openoffice-zh-cn-3.1.0/
-rw-r--r-- 1 root  root        515 2009-07-18 11:37 openoffice-zh-cn-3.1.0-i586-19sl.txt
-rw-r--r-- 1 root  root  107904424 2009-07-18 11:37 openoffice-zh-cn-3.1.0-i586-19sl.txz
-rw-r--r-- 1 root  root         71 2009-07-18 11:37 openoffice-zh-cn-3.1.0-i586-19sl.txz.md5
drwxr-xr-x 6 root  root       4096 2009-07-18 11:24 package-openoffice/
drwxr-xr-x 6 root  root       4096 2009-07-18 11:23 pdfimport/
-rw-r--r-- 1 root  root    1798967 2008-10-10 21:41 pdfimport.oxt
-rw-r--r-- 1 root  root    1798167 2009-07-18 11:23 pdfimport_no_license.oxt
but given time will probably figure it out. Maybe the install took care of that:
Code:
root@china:/tmp/tgz# installpkg openoffice-zh-cn-3.1.0-i586-19sl.txz
Verifying package openoffice-zh-cn-3.1.0-i586-19sl.txz.
Installing package openoffice-zh-cn-3.1.0-i586-19sl.txz:
PACKAGE DESCRIPTION:
# OpenOffice.org (Free Office Suite)
#
# OpenOffice.org is both a multi-platform and multi-lingual
# office suite and an open-source project. Compatible with all
# other major office suites, the product is free to download,
# use, and distribute.
#
# This is a repackaging of the official binary distributed by
# openoffice-zh-cn.org.
#
Executing install script for openoffice-zh-cn-3.1.0-i586-19sl.txz.
Package openoffice-zh-cn-3.1.0-i586-19sl.txz installed.
If anyone is interested, here are the changes I've made to your
openoffice-multilang.SlackBuild to build a Simplified Chinese version:
Code:
mahui@china:~/build/openoffice/usr/src/openoffice-autobuilder-multilang/builder$ diff -u openoffice-multilang.SlackBuild openoffice-multilang.SlackBuild~
--- openoffice-multilang.SlackBuild     2009-07-18 11:19:58.000000000 +0800
+++ openoffice-multilang.SlackBuild~    2009-07-05 17:48:16.000000000 +0800
@@ -55,17 +55,17 @@

 NAME=openoffice
 VERSION=3.1.0 # for unstable example VERSION=3.1.0rc1, remember set also DATE and DEV, in this case.
-#VERSION_LANG_x86_64=3.1.0rc2 # version of language package for slackware64
-#DATE=20090402 # only for automatic download with unstable versions
-#DATE_LANG_x86_64=20090427 # date of language package for slackware64
+VERSION_LANG_x86_64=3.1.0rc2 # version of language package for slackware64
+DATE=20090402 # only for automatic download with unstable versions
+DATE_LANG_x86_64=20090427 # date of language package for slackware64
 SHORT_VERSION=$(echo $VERSION | cut -c -3)
 CSHORT_VERSION=$(echo $VERSION | cut -c -1)
 DEV="auto" # auto, disable or enable
 ARCH="auto" # auto, i586 or x86_64
 BUILD=19sl
 EXTENSION="auto" # auto (tgz or txz), tgz, txz, tlz, tbz, tar.gz, tar.xz, tar.lzma, tar.bz2
-MIRROR="ftp://ftp.free.fr/mirrors/ftp.openoffice.org" #lock mirror
-ISOCODE="zh-cn" #lock language with isocode
+MIRROR="" #lock mirror
+ISOCODE="" #lock language with isocode

 # NOT modify!!!
 TMP=/tmp/tgz #final char is NOT "/"!!!
Notice that I had to use "zh-cn" for the ISOCODE, rather than "zh-CN" in your isocodes file.

I launched OpenOffice Writer and it seemed to work fine,
though I only typed a little bit then exited. If there
are any problems once the person begins using it, we
will report back. I don't anticipate any.

Your work, and those other people you mentioned, is what makes
the OSS community so much better than the proprietary choices.
 
Old 07-19-2009, 09:26 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
tnx for your tnx, but the openoffice-autobuilder is a work of submax, from slacky.eu forums, i only added built italian package to my iso
 
Old 07-19-2009, 09:44 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I see slack.eu mentioned a lot around Slackware land, but since I can't read Italian,
I don't get the benefit. Maybe you could report to the script writer that little issue
about the Chinese isocodes. It keeps the script from downloading the image. I had already
downloaded the file because I was going to use my SlackBuild script for it. When I started
with yours, I put the source in /tmp/tgz but it still would not run until I changed the isocode.
 
Old 07-19-2009, 10:37 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
tnx for your report, I just reported back the issue right know to the scripter

FYI: the network segment where is hosted the iso is temporarly down, should be back soon

Last edited by ponce; 07-19-2009 at 10:40 AM.
 
Old 07-19-2009, 10:43 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Yeah, I noticed that a few hours after I got your pkg.
 
Old 07-20-2009, 04:58 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
submax says that there's something additionally wrong with iso code name for zh-cn and that will look for fixing it, and also that the two cp errors are harmless.

btw, iso is updated at today and up again

Last edited by ponce; 07-20-2009 at 05:51 AM.
 
Old 07-23-2009, 03:56 PM   #8
submax
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 1
new builder v20 fix this problem

thanks for feedback to all!!!

download

p.s.: @poncez: not link file directly but link the page of autobuilder

Last edited by submax; 07-23-2009 at 05:20 PM.
 
Old 07-23-2009, 11:04 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
tnx sub, updated the link in the first post
 
Old 08-01-2009, 04:17 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
added adobe reader to the iso.
 
Old 08-06-2009, 06:00 AM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
updated to slackware 13 RC2.
 
Old 08-06-2009, 06:57 AM   #12
w3edr5t
Member
 
Registered: Jul 2003
Location: Oslo/Norway
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
Thanks for sharing your build/package repository with us.
 
Old 08-06-2009, 07:48 AM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Original Poster
Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
i'm happy just to have eased a little someone's else life

just trying to ease at the same time work to real packagers (I can say I'm a newbie in that), having done work myself to find/create/test working 64bit patches/build scripts for that software

Last edited by ponce; 08-06-2009 at 08:14 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help install slackware64-current christyler2009 Slackware 2 06-26-2009 11:31 AM
[SOLVED] what's that directory (slackware64-current) sycamorex Slackware 3 05-30-2009 09:03 AM
Slackware64 -current and KDE mlangdn Slackware 7 05-29-2009 08:57 AM
src2pkg --New Slackware64-ready Release-- 1.9.8 gnashley Slackware 4 05-23-2009 02:33 AM
Creating a Custom Install ISO from current system? shane25119 Linux - General 5 02-22-2009 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration