Using deb packages after converting with deb2targz - how to?

I've been trying to install "insight", an IDE for assembly language, which is available in the AUR, but there are problems with the AUR package (mainly with the source from Redhat and  my version of gcc, I believe).  So, I thought a DEB package would be easier, and after googling about it, I found that I needed to use deb2targz to convert the DEB for use in Arch.  But I couldn't find any instructions on how to use deb2targz.
I deb2targz'd the deb file in my home directory and then did "tar xzvf insight_6.8.1-0ubuntu0~sevenmachines1_i386".
I thought this would create a subdirectory with a PKGBUILD, but that was newbish wishful thinking.
The tar command created a ~/usr directory with subdirectories: ~/usr/bin, ~/usr/lib, and ~/usr/share.
Should I now try to make a PKGBUILD from these directories somehow? Do I compress them to xz and use that with pacman -U ?  Or am I supposed to simply copy the files/subdirectories to the corresponding directories in the root directory (ie, ~/usr/bin to /usr/bin)?
Thanks in advance for any assistance.

Scimmia wrote:
forget deb2targz, it's pretty much useless for things like this.
there are a number of examples on this forum of making PKDBUILDs for deb files, but it's not as fool proof as it sounds. You have to pay attention to what version of each lib the binary is linked against, as well as the actual name of the lib if they rename it. It's almost universally better to build from source if it's available.
A quick look at the mailing list shows that the author suggests building from CVS right now instead of using the release which was in 2009. I'm doing a quick test right now to see how that goes.
Thanks for looking into it.  I was using the *-1a version and the source that commentator "sl0t" suggested in his PKGBUILD - except I had problems with the parentheses and apostrophes on the install= line, so I used that line without paren. and apost's.
# Contributor: Philipp Robbel <[email protected]> (update by sl0t)
pkgname=insight
pkgver=6.8
pkgrel=1
pkgdesc="A graphical interface to the GNU debugger"
arch=('i686')
url="http://sourceware.org/insight/"
license=('GPL')
depends=('libx11')
install=('insight.install')
source=(ftp://sourceware.org/pub/insight/releases/$pkgname-6.8-1.tar.bz2 insight.profile)
md5sums=('4ee9824c1e8d6108d886c6c09b24f0ac' '16dddd252c8d64a1f4757626ee895b03')
build() {
cd $startdir/src/$pkgname-6.8-1
./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
make || return 1
make prefix=$startdir/pkg/opt/insight mandir=$startdir/pkg/opt/insight/share/man infodir=$startdir/pkg/opt/insight/share/info install || return 1
rm -rf $startdir/pkg/opt/insight/share/info
# environment variables
mkdir -p $startdir/pkg/etc/profile.d
install -m755 $startdir/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh

Similar Messages

  • How do you burn videos taken with myIphone and stored on my computer to a DVD disc.  I purchased and tried using RealPlayer Plus 16 but got error message saying "unsopported media type"?  I alos tried using Real Players file converter with no success!

    How do you burn videos taken with my Iphone 4S and stored on my computer to a DVD disc.  I purchased and tried using RealPlayer Plus 16 but got error message saying "unsopported media type"?  I also tried using Real Players file converter with no success!  Thanks in advance for any help you can give!

    Probably the OP is no longer paying attention to this unless the OP is subscribed to this discussion.  While not really an iPhone question I guess using an iPhone to produce the movie which then needs taking to the next step makes this as good a starting place as any unless you happen to know enough about what to do to determine in which forum to post.  A suggestion in that direction would help.
    Anyway, Apple is backing off from supporting optical media.  It also depends upon what you mean by "DVD".  A DVD is just an optical disc which can support different file formats, but many people think it means a movie disc you can put in your TV.  Producing a movie disc requires special iDVD authoring software Apple used to sell but stopped several years ago.  I don't know if the old versions work under newer systems.  There's also the free Burn application which authors DVDs but takes a bit of learning and has nowhere near the features of iDVD.
    If the OP means simply burning the transferred movie files to a DVD for archiving in computer format you don't need special software for that; its built into the operating system File > New Burn folder etc.

  • HT4623 How to use epson iprint after connected with iPad help

    How to use epson iprint after connected with iPad help.

    When you open Epson iPrint, you will see the various options of ways to proceed, e.g., Photos (to print photos), Maintenance (for printer maintenance). Scan (to perform scanning).

  • Boris title crawl missing after converting with Compressor

    Not sure where to put this, since it involves two applications, FCP and Compressor.
    I have my credits done as a Boris title crawl (roll). They roll up just like credits in the average movie. They're quite long, spanning almost 4 minutes. Some videos are also included in the open space during this title crawl.
    When I convert the files for use with DVD Studio, I used the DVD Best quality 90 minutes presets. It performed that conversion without a hitch.
    Looking at the video, everything looks great (it's interlaced, of course). No apparent problems, until the end, where the credits should be scrolling: there's nothing. The videos show up, but only one small section of the credits actually show, and it's cut-off.
    I checked the credits again in FCP, and they all fit 100% within the inner title-safe overlays. I've never had any trouble with these rolling credits, except for this problem now.
    Any ideas what could cause them to almost completely disappear? most of the time the screen is pure black with absolutely NO text whatsoever. Only three lines show up, and they are cut off on both sides (they extend beyond the view of the screen on both the right and the left).
    Many thanks to whoever can assist me.

    So you're saying I should just export one as a test? Or, what I was thinking is, export the title crawl as a self-contained movie, then import it back into FCP and then send it to Compressor; can't mess it up like it does if it's a strait-up video, right?
    Still can't figure out why Compressor would mess it up like that though. Looks perfect when I export the whole movie as a self-contained movie, which I already did twice. I then burned a sample DVD Using iDVD as a test to see how my video looked on the TV screen. Everything was perfect, except a small amount of flickering in some text (but it wasn't enough to bother me).
    Yet, sending it to Compressor completely destroys the title crawl, leaving the intermixed videos untouched. Just plain weird...

  • I had an iphone 3GS, but received my new iPhone 5 with micro sim, but wanted to keep old mobile number so rang up to change it, that's all working fine, but iMessage is still using the number I received with iPhone, how do you delete a new number?

    I had an iphone 3GS (normal sim), but received my new iPhone 5 with micro sim, but wanted to keep old mobile number so rang up to change it, normal text messaging is working fine, but iMessage is still using the number I received with iPhone 5, how do you delete that number I can only receive iMessages on my original number?

    Issue solved

  • Using deb/rpm installer scripts with ArchLinux?

    I'm having an issue with installing some education software from a CD-ROM(LPL Symbolic Logic stuff), and although it supports Linux, the software is installed via either one of two installer scripts, one for dpkg and one for rpm. Since I have neither under Arch', I get these messages when running the shell scripts:
    . extracting DEBs
    . installing DEBs
    lpl-2_5_0-linux-deb-installer: line 23: dpkg: command not found
    ...and the rpm one:
    . extracting RPMs
    . installing RPMs
    lpl-2_5_0-linux-rpm-installer: line 23: command not found
    It should be noted that I can't simply edit the install scripts or something, as it extracts the deb/rpm files from one of the only three files on the CD(and NOT the Internet): the installer scripts(the third file is the readme, which doesn't help in this case, if you're wondering).
    Any information on how to get this program installed without having to resort to using WINE or my XP partition would be greatly appreciated.:/

    N/M, actually found out how to get it the raw rpm(or deb) files thanks to someone on the IRC channel(sorry, forgot your name already ><). If anyone somehow was in the same predicament, just comment out the lines with rpm and rm -rf in the script, run it, and change to the /tmp/extract.[whatever] directory and the files should be there.

  • Using Word doc after converting from PDF

    I have just purchased Adobe Export PDF purely to complete a Job Aaplication form in Word rather than PDF but the Word document does not allow me to edit it properly - i.e. I cannot expand the text boxes to make them bigger and when I try to add in information like my name and the post I'm applying for, it moves existing text from the original PDF doc onto different lines. I assumed once I'd converted it I could use it like a normal Word doc but it seems not. Please advise what I'm doing wrong, thank you.

    Hi Disc9,
    In order to help you. Let me know which application of Adobe you are using including the version.
    Also let me know the complete workflow how you convert the PDF to docx/doc.
    Regards.

  • Can i use a fibre media converter with verizon fios

    I don't have wireless signal in my room because its too far away from the router, will getting this:
    http://www.newegg.com/Product/Product.aspx?Item=N82E16833156005
    solve the problem?

    No you cannot. Even though they use the CDMA technology they are not actually the same.
    Good Luck

  • Can't use hard drive after replacing with new one

    Disk Utility showed failed hard drive so a new Seagate ATA-100 160G was installed. I did the Erase and Journaling of the new HD. I went back to the installer to install OS10.3 and the HD now shows in the window for the destination volume. The problem is it shows an explamation point over the HD icon and if you select it the window says cannot install OSX on this volume. I placed the jumpers on the new HD exactly as the old HD had them.
    What am I doing wrong?

    I placed the jumpers on the new HD exactly as the old HD had them.
    Jumpers vary by manufacturer and model. If you copied the jumper positions, and not their meanings, it will not work.
    You need to place the jumpers to set the drive to Master, but use the diagram on the new drive (not the jumpers on the old drive) as your reference.
    I apologize in advance if you have, in fact, copied the sense of the jumpers rather than their positions.

  • [SOLVED] Error with Wickr deb package

    Hi people, I was trying to running wickr on Arch Linux. (I am under Gnome), I used debtap utility, attempted to convert wickr deb package to work with pacman but failed with this dependency:
    warning: cannot resolve "libavutil52|libavutil54", a dependency of "wickr"
    :: The following package cannot be upgraded due to unresolvable dependencies:
    error: failed to prepare transaction (could not satisfy dependencies)
    :: wickr: requires libavutil52|libavutil54
    I am pretty sure I have already got the libavutil-52 installed and does not help. I even managed to convert libavutil54 from debian and installed but still no progress.
    Any help? thx in advance.
    Last edited by sakuya16 (2015-05-06 11:06:50)

    Hi sakuya16,
    the | character does not work as logical or inside the PKGBUILD, depends is an array of strings separated by withe spaces. Also you must specify only one version of libavutil and its name is libavutil-52 and not  libavutil52. For more information read the wiki https://wiki.archlinux.org/index.php/PKGBUILD#depends
    --edit:
    Yeah, tomk is right, try to see if it works with the current libavutil.so.54 first.
    Last edited by mauritiusdadd (2015-05-06 10:42:02)

  • Can't create hyperlinks after converting a Word document with Acrobat XI Pro

    Hello,
    Here's my problem.
    I'm making a catalog document for my company.
    The document that I'm converting to PDF is made on Office Word 2013 and it's a .docx format file.
    I'm on Windows 8 and the latest version of Adobe Acrobat XI Pro installed.
    Inside my word document I have some pictures that have a hyperlink. Those hyperlinks directionate to a bookmark inside the word document. Inside the word document, if I do Ctrl+Click over the image, it will go to the page that has that bookmark. And it works. Period.
    Beside that I also have some Cross-references on the word document. Those cross-references basically are the page number from the bookmark reference. By accident on most of those cross-refrences I left enabled the "Insert as hyperlink" on the cross-reference box options. When I Ctrl+Click over those cross-references I also go into the page of that cross-reference.
    After I convert the word document into pdf, I can't get any hyperlink on the pictures, if I simply click on them, like if I click on a hyperlink on a webpage or something similar, the pdf won't go the the bookmark on the page that I've set on the word document.
    The funny thing is that if I click on the other cross-references I can go to the page were that cross-reference is...
    I tried all the methods to convert the file in order to obtain hyperlinks on the images...
    I tried to use the Acrobat tab and the File -> Save as Adobe PDF, as both uses Acrobat PDFMaker, but nothing works.
    Even tried all options on Acrobat PDFMaker but can't get it. "Create bookmarks", "Add links", "Convert Word Bookmarks", "...Word Styles to Bookmarks", "...Word Headings to Bookmarks", none works....
    If I try to simply print from inside Word by choosing the Adobe PDF printer (like if I choose a regular printer), in the printers options it doesn't show up any hyperlink/link/bookmark option related, so that way is definitely a no go...
    To reference, on 2006/2007 I also worked on a similar project and used this method on the word document (on Word 2003). At that time I had another Adobe Acrobat version, can't remember what version was...
    This hyperlink situation was without any problem. After conversion, on the pdf file, if I click on a image it went to the right place inside that pdf file...
    So I'm simply lost wether it's a problem of me, a problem of Word, a problem from Acrobat... simply lost...
    I'm desperated....please, someone help me!!!

    Ok, sorry for never talk since the last time, but I finally discovered why I had this problem.
    I found out that M$ decided somehow to change the process of embedded hyperlinks on a image, but in a docx it doesn't get affected. Only after transforming it into a pdf by Acrobat that the problem emerges...
    I found this site http://www.pb-solv.net/2013/08/embed-pictures-in-microsoft-word.html
    Basically all I have to do is "Use Insert, Quick Parts, Field, IncludePicture. This inserts the picture in the old way as a field. You can use Alt-F9 to reveal the field codes and change the images to be embedded rather than linked."
    Then, after converting it with acrobat, the pdf finally have hyperlinks on the images!!!
    They change this on Word 2007. As I had the 2003, at the time, I didn't had this problem.
    As I said, M$ changed something, but only is affected after converting with acrobat. So, acrobat also missed something in the process. I call it a 50/50 guilt.
    To bad no one ever notice this problem...

  • My iPhone4 back scrren is cracked. I have purchasded it from US and using it in India after factory unlock. How can I get it done and how much it would cost me.

    My IPhone4 back screen is damaged. I have puchsed it from US and using in India after factory restore.
    How can I get it repaired and how much it would cost me for original part to to be replaced.

    To have Apple repair the phone, you would need to send it to someone you know in the US to have him or her bring it to Apple for repair.  The iPhone warranty is NOT international.  In addition, Apple doesn't sell parts.

  • Using SQL Server 2012 Express with Bitocker

    Hello,
    I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:
    The OS is partitioned into two volumes (C and D).
    The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
    The D volume is encrypted using BitLocker
    The database connects using the SA account (SQL Server Authentication)
    From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying
    logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following  exception:
    'login failed for user sa'.
    Is there anything I need to do to get this working? Thanks for the help.

    Hi moncadad,
    When you turn off BitLocker, does the database also show “Recovery Pending”? If so, the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full. Please read this
    blog to fix the issue, then check if you can successfully connect to the database after you turn on BitLocker.
    However, if you are not able to view the database contents only after you turn on BitLocker, I suspect that there are some issues about configuring BitLocker. As far as I know, Bitlocker must be performed by a member of Local Admins Group, please make sure
    that your account is a member of Local Admins Group on your computer.
    Also I would like to recommend you post the question in the
    Microsoft Bitlocker Administration and Monitoring (MBAM) forum to get better support. For more details about configuring SQL Server with Bitlocker, please review the following similar articles.
    Using SQL Server 2012 Standard with Bitlocker
    How can I retrieve my BitLocker recovery key from MBAM in Windows PE
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • TS failing on Use Toolkit Package

    Started to have problems installing Win7 x64 on machines (HP EliteBook 9470) after removing drivers belonging to other package.
    Keep on getting these error messages:
    C:\_SMSTaskSequence\Packages\S01000FB\Scripts\ZTISCCM.wsf(11, 3) (null): Library not registered.
    C:\_SMSTaskSequence\Packages\S01000FB\Scripts\ZTISCCM.wsf(1655, 4) Microsoft VBScript-runtime error: Object needed: 'oUtility.Arguments'
    Failed to run the action: Use Toolkit Package.
    Incorrect function. (Error: 00000001; Source: Windows)
    As stated above, the drivers that were removed belonged to another package (another HP machine), so it should not have affected this package. Or so i thought...
    Every HP 9470 now bombs out on Use Toolkit Package, after the step "Setup Windows and ConfigMgr".
    Initially i figured this was a driver related error, so drivers for the NIC has been removed and imported again (Intel 82579LM).
    I've tried three different file versions, two from HP and one (newer date) from Dell and finally a native driver from Intel (dated from this year) to no avail.
    The files are all downloaded fine.
    I can ping internal servers and external sites.
    When the machine boots up after this failed install, the icon for wireless connection behaves weird:
    It shows as if there are wireless networks available but not connected.
    Hovering the mouse over, it does say that it is connected and i can reach both internal servers and external websites.
    Unplug and replug the network cable results in the icon for cabled network showing up for a few seconds, then disappering again, acting as if there is no LAN card available.
    There are no missing drivers (no exclamation marks) in Device manager.
    Anyone else seen this or something like it?
    This happens on any HP machine we have.

    Hi,
    Have you found any solution for this?
    We have the same problem in our environment.
    SCCM 2012 R2 CU1 with MDT 2013
    The problem shows itself when deploying Windows 7 x64 with x86 boot image on the HP z420 and HP zBook 14. HP 9470 has not been tested yet. However, everything works fine with x64 boot. I do not want to use the Z64 boot image!
    Does anyone have any solution for this?
    The error just popped up by itself without us consciously made any changes in the environment. Has worked well previously with the x86 boot image and Win7 x64 on these models before.
    TWP

  • How to find length of string after encryption using DBMS_CRYPTO package

    Hi,
    I am planning do data encryption using DBMS_CRYPTO package. I want to find how much will be string length after encryption.
    e.g When I try to encrypt string of length between 1-15 characters it gives me encrypted string of 32 characters. When I try with 16 charcters encrypted string is of 64 characters.
    Is ther any formula to calculate length of encrypted string?
    Thanks
    Pravin

    The length change is dependent upon the algorithm you are using which can be a combination of cipher block, padding, and chaining.
    The best solution is determine the method you are going to use and apply it to the l ongest possible strings you are going to proces, then add some safety margin. There iis no penalty for defining your column as VARCHAR2(4000).

Maybe you are looking for