MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
How To Backport - Beginners Guide 
Author Message
User avatar

Joined: Wed Jul 12, 2006 9:27 am
Posts: 566
Location: Nevada USA
Has thanked: 0 time
Have thanks: 0 time
Post # 185167
Post 
It could be just me (if so slap me with a fish).. but I was under the impression that anything that could be done was fair game for the Wiki.

But a PDF would be good to...

Thanks in either case....:worship:

_________________
Increase your IQ, use MEPIS
Registered User#401576

Image


Fri Jul 10, 2009 10:40 pm
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Fri Dec 15, 2006 8:07 pm
Posts: 7356
Location: Skullcrusher Mountain, Santee, CA USA
Has thanked: 322 times
Have thanks: 1185 times
Post # 185171
Post 
A PDF would be handier for quick reference on the desktop...

By the way, I updated the .dsc extraction file--now it will only be seen for .dsc files. Instructions inside the new zip.

Sometimes you can do tricks--I wanted to backport the upstream Sid version of me-tv, and everything went easily, but the rules file had a single line after the header:

dh_./@

or something like that, it's gone now. I couldn't get it to use lzma or compile with both cores. I tried a cdbs rules file with just two includes: debhelper.mk and autotools.mk, and it worked fine, allowing me to use the lzma technique illustrated by Brooko, and using the

export MAKEFLAGS=-j2

trick before the final packaging command in the shell to use both cores to compile. I'm really liking cdbs.

_________________
Lenovo ThinkPad Edge 14 inch:
4 GB RAM, Intel i5-480 processor, Intel HD graphics and sound, Intel 1000 "n" WiFi,
Acer CrystalEye webcam, Hot Keys, suspend, hibernate, KDE openGL effects:
all work out of the box with 64-bit MEPIS 11!


Fri Jul 10, 2009 11:09 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 185175
Post 
Brooko wrote:
Go ahead and run the command. Now depending on the speed of your processor, you can go and make a cup of tea about now, and let the compile and build run.


Could have gone on a holiday, never mind make a cup of tea!! 3 hours to build. I guess I need to upgrade the computer. Always looking for an excuse.

The tutorial worked to a tee. When I followed the wiki, the control file is where I had problems. The changing of the maintainers, etc. and where to put some of the text. Also, I had set up my own email address, not the maintainer@.... in the Preconfiguration Step.

Quote:
You must be able to package in a clean environment. I use 2 clean VM's (1 x 32b and 1 x 64b) which I keep a copy of, and revert to original periodically so they stay clean. For the larger builds (eg like today's Icedove) I use actual separate installs - again I have one of each 32b and 64b. I keep copies with partimage, and every 3-4 builds I revert back to the saved original so that I have a completely clean environment.


I'm under the impression, in order to do this, one must have a 64 bit computer. Does partimage make an ISO? Will have to do some reading on it and get my hands on it. Can one just backup the .vdi file in VB once it is setup properly?

Anyways, thanks for the easy to follow instructions. Just the start I needed. The computer does all the work, just have to give it the right commands!

Will step up a 32b SM8 in VB and give something else a go.

Thanks again,

Scott

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Fri Jul 10, 2009 11:34 pm
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Fri Dec 15, 2006 8:07 pm
Posts: 7356
Location: Skullcrusher Mountain, Santee, CA USA
Has thanked: 322 times
Have thanks: 1185 times
Post # 185179
Post 
Whether you can run a 64 bit VM depends on your chipset and if the BIOS enables the VTX extensions, at least in Virtual Box. I do think the host has to be a 64 bit OS.

If you have a multicore machine, there are some techniques that will compile packages on multiple cores--really speeds things up. They work on most, but not all packages.

There are also programs that are architecture independent, and need to be built just once on a 32-bit, or 64 bit OS. They really don't compile, so package very fast. Examples are Shutter, PiTiVi, KernelCheck, Wicd, Deluge--these are mostly Python programs.

_________________
Lenovo ThinkPad Edge 14 inch:
4 GB RAM, Intel i5-480 processor, Intel HD graphics and sound, Intel 1000 "n" WiFi,
Acer CrystalEye webcam, Hot Keys, suspend, hibernate, KDE openGL effects:
all work out of the box with 64-bit MEPIS 11!


Sat Jul 11, 2009 12:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.