Need better solution than FCPX for audio cleaning

Hi, I have a track for a wedding with a lot of background noise. The settings to improve audio on FCPX are not helping much. What's the bets solution to improve voice and reduce background noise?
Thanks

If Audacity or STP don't handle it for you, seriously consider giving ScreenFlow a try. ScreenFlow has about the best noise reduction I've ever heard from any app I've ever used. You can load the audio (or video+audio) up in SF (create a New Document from the File menu), drag and drop your media into the Media panel, then drag it to the timeline; select the audio track, go to the audio panel (speaker icon) and select: Filter: Remove Background Noise (accept the default setting of 80%) -- that's usually all there is to it!  There's a free trial available (http://www.telestream.net/screenflow/overview.htm) — it's fully functional except that it watermarks the video output. It will export AIFF audio (LinearPCM 48kHz) and you can export audio only.

Similar Messages

  • Better solution than PARAM reset to keep Thunderbolt Port properly working.

    I have a MBP 17" (late 2011),
    To its Thunderbolt Port I have connected my Samsung T260 Display alternately with a KANEX 'Thunderbolt to eSATA/USB3.0' Adapter.
    But this always needs a PARAM reset after having the Display intermediately connected, else the ANKER 7xUSB3.0 Hub connected to the KANEX Adapter wouldn't be recognized correctly.
    Is there a better solution available for selective resetting the Thunderbolt Port, without restarting the system?
    Many Thanks for support.

    Update: I obtained a new replacement MiniDisplayPort-to-HDMI cable, and both displays are working fine now. However — and this is what's weird — the fix was not completely immediate! At first, all the resolution modes (including 1080p) began working again, but I was still seeing ghost images of moved or closed windows on the screen! After a day or so, those went away. What could possibly explain the temporary persistence of the ghost images even with a new cable?

  • Better client than sqlplus for bulk fetch testing .

    Hi,
    I'm doing some test with rows speed retriving via Net8 and need some better client than sqlplus itself .
    There is araysize limit of 5000 in sqlplus and its not oriented for massive row fetching , although Im using set termout off .
    Test are in 10.2.0.3 environment and 100Mbit ethernet netowrk .
    So is there any better client I can use ? Or I need to write it by myself :) ?
    I've tried with pmdtm (informatica fetch utility) but it has got some problems with thread synchronization , basicaly strace profiling returns
    % time     seconds  usecs/call     calls    errors syscall
    57.35    1.738975         161     10819      2145 futex
    41.35    1.253799       32149        39           poll
      1.21    0.036717           3     11869           read
      0.08    0.002491           1      2163           write
      0.00    0.000000           0        50           fcntl
      0.00    0.000000           0        19           clock_gettime
    100.00    3.031982                 24959      2145 totalso instead of reading it's latching :).
    Regards
    GregG

    GregG wrote:
    its not oriented for massive row fetching , although Im using set termout off .You can use SQL*Plus AUTOTRACE command to disable query result printing:
    SQL> set autotrace  traceonly;
    SQL> select * from dba_objects;
    18816 rows selected.
    Execution Plan
    Plan hash value: 1919983379
    | Id  | Operation                      | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |             | 16154 |  3265K|    75   (3)| 00:00:01 |
    |   1 |  VIEW                          | DBA_OBJECTS | 16154 |  3265K|    75   (3)| 00:00:01 |
    |   2 |   UNION-ALL                    |             |       |       |            |          |
    |*  3 |    TABLE ACCESS BY INDEX ROWID | SUM$        |     1 |    26 |     0   (0)| 00:00:01 |
    |*  4 |     INDEX UNIQUE SCAN          | I_SUM$_1    |     1 |       |     0   (0)| 00:00:01 |
    |   5 |    TABLE ACCESS BY INDEX ROWID | OBJ$        |     1 |    25 |     3   (0)| 00:00:01 |
    |*  6 |     INDEX RANGE SCAN           | I_OBJ1      |     1 |       |     2   (0)| 00:00:01 |
    |*  7 |    FILTER                      |             |       |       |            |          |
    |*  8 |     HASH JOIN                  |             | 19706 |  2290K|    72   (3)| 00:00:01 |
    |   9 |      TABLE ACCESS FULL         | USER$       |    66 |  1122 |     3   (0)| 00:00:01 |
    |* 10 |      HASH JOIN                 |             | 19706 |  1962K|    69   (3)| 00:00:01 |
    |  11 |       INDEX FULL SCAN          | I_USER2     |    66 |  1452 |     1   (0)| 00:00:01 |
    |* 12 |       TABLE ACCESS FULL        | OBJ$        | 19706 |  1539K|    67   (2)| 00:00:01 |
    |* 13 |     TABLE ACCESS BY INDEX ROWID| IND$        |     1 |     8 |     2   (0)| 00:00:01 |
    |* 14 |      INDEX UNIQUE SCAN         | I_IND1      |     1 |       |     1   (0)| 00:00:01 |
    |  15 |     NESTED LOOPS               |             |     1 |    30 |     2   (0)| 00:00:01 |
    |* 16 |      INDEX SKIP SCAN           | I_USER2     |     1 |    20 |     1   (0)| 00:00:01 |
    |* 17 |      INDEX RANGE SCAN          | I_OBJ4      |     1 |    10 |     1   (0)| 00:00:01 |
    |  18 |    NESTED LOOPS                |             |     1 |    43 |     3   (0)| 00:00:01 |
    |  19 |     TABLE ACCESS FULL          | LINK$       |     1 |    26 |     2   (0)| 00:00:01 |
    |  20 |     TABLE ACCESS CLUSTER       | USER$       |     1 |    17 |     1   (0)| 00:00:01 |
    |* 21 |      INDEX UNIQUE SCAN         | I_USER#     |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter(BITAND("S"."XPFLAGS",8388608)=8388608)
       4 - access("S"."OBJ#"=:B1)
       6 - access("EO"."OBJ#"=:B1)
       7 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND  (SELECT 1
                  FROM "SYS"."IND$" "I" WHERE "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR
                  "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR
                  "I"."TYPE#"=9))=1) AND ("O"."TYPE#"<>4 AND "O"."TYPE#"<>5 AND "O"."TYPE#"<>7 AND
                  "O"."TYPE#"<>8 AND "O"."TYPE#"<>9 AND "O"."TYPE#"<>10 AND "O"."TYPE#"<>11 AND
                  "O"."TYPE#"<>12 AND "O"."TYPE#"<>13 AND "O"."TYPE#"<>14 AND "O"."TYPE#"<>22 AND
                  "O"."TYPE#"<>87 AND "O"."TYPE#"<>88 OR BITAND("U"."SPARE1",16)=0 OR ("O"."TYPE#"=4 OR
                  "O"."TYPE#"=5 OR "O"."TYPE#"=7 OR "O"."TYPE#"=8 OR "O"."TYPE#"=9 OR "O"."TYPE#"=10 OR
                  "O"."TYPE#"=11 OR "O"."TYPE#"=12 OR "O"."TYPE#"=13 OR "O"."TYPE#"=14 OR
                  "O"."TYPE#"=22 OR "O"."TYPE#"=87) AND ("U"."TYPE#"<>2 AND
                  SYS_CONTEXT('userenv','current_edition_name')='ORA$BASE' OR "U"."TYPE#"=2 AND
                  "U"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','current_edition_id')) OR  EXISTS
                  (SELECT 0 FROM SYS."USER$" "U2",SYS."OBJ$" "O2" WHERE "O2"."OWNER#"="U2"."USER#" AND
                  "O2"."TYPE#"=88 AND "O2"."DATAOBJ#"=:B2 AND "U2"."TYPE#"=2 AND
                  "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','current_edition_id'))))))
       8 - access("O"."SPARE3"="U"."USER#")
      10 - access("O"."OWNER#"="U"."USER#")
      12 - filter("O"."NAME"<>'_NEXT_OBJECT' AND "O"."NAME"<>'_default_auditing_options_'
                  AND BITAND("O"."FLAGS",128)=0 AND "O"."LINKNAME" IS NULL)
      13 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR
                  "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR "I"."TYPE#"=9)
      14 - access("I"."OBJ#"=:B1)
      16 - access("U2"."TYPE#"=2 AND "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','curren
                  t_edition_id')))
           filter("U2"."TYPE#"=2 AND "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','curren
                  t_edition_id')))
      17 - access("O2"."DATAOBJ#"=:B1 AND "O2"."TYPE#"=88 AND "O2"."OWNER#"="U2"."USER#")
      21 - access("L"."OWNER#"="U"."USER#")
    Statistics
              0  recursive calls
              0  db block gets
           3397  consistent gets
             78  physical reads
              0  redo size
         908471  bytes sent via SQL*Net to client
          14213  bytes received via SQL*Net from client
           1256  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          18816  rows processed
    SQL>

  • Need HP solution center software for hp psc 2110 running windows 7 32 bit

    Hi,
    The HP Solution Center Software has disappeared since I upgrade my HP laptop OS from Vista to Windows 7 32 bit.  I use the HP Solution Center Software for years to create .pdf documents from the scanned documents of my HP PSC 2110 All-in-One printer.
    Can you provide the link to download the HP Solution Center Software for Win 7? I searched the HP support website using the product name HP PSC 2110, it pointed me to the driver section; I followed the instructions however there is no link to download the the software.
    The printer is connected via USB and works well.  It is just annoying I cannot use the HP Solution Center Software (previously HP Director) to copy scanned documents to my computer.
    Thanks.
    This question was solved.
    View Solution.

    You are welcome.
    You may download it from the following link:
    http://sourceforge.net/projects/naps2/files/3.0b1/​naps2-3.0b1-setup.exe/download
    That means that as an older model its functionality is limited but there are some workarouds available. it surely worth trying.
    For a Wirelss printer you will need a different printer indded, there are many factors to consider and recommend you any specific printer, do you have any specific needs? for example would you use a fax or not, I assume it should be a color printer with a scanner... do you use to print photos or use it more often for a daily printing and scanning capabilities, those factors may highly affect any possible recommendation so further clarification will be helpful.
    Regardless, any current HP device with a scanner fully support scanning PDF scanning within the HP Software.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Is Muse going to be a better choice than Dreamweaver for my very small company's website?

    Very new to Dreamweaver and even newer to MUSE. Which program is going to be easier to help me maintain my companies website?

    Really all depends on your needs. Muse will do for most small sites but as soon as your needs reach the requirement of doing anything dynamic or custom code then you are better of with Dreamweaver. Muse is easier if you aren't a coder but along with the ease comes restrictions on what you can and can't do.

  • Better options than DAVE for Win NT connection?

    I work for a small Mac design group in a large business environment. We store Quark, InDesign, Photoshop files on the companies Win NT Server. To do this they have installed DAVE because they said just using OS X's PC connect ability was causing the documents to be looked at as .exe or unrecognizable files by the Mac. Lately some files are giving I/O errors on the server and getting corrupted. Is there a better option for communicating with a PC server than DAVE?

    For just using OS X, I've never heard of any problems like that; I'm wondering if they're just confused? Or are they using a fairly fancy, unusual setup of some sort? Has anyone tried just connecting with the standard Mac feature?; I would be curious to hear what breaks (since if something does break, it probably implies that someone either misconfigured the Macs or misconfigured the server).
    For the files in question: Are you able to access these files from a Windows computer?; can you read them there? I'm wondering if the IO error was a network problem (that DAVE might have a connection to), or just that their server's hard disk is failing.

  • Why is better Preview than Acrobat for reading

    When you install Acrobat Pro appears a window asking if you want to use it as default reader... SELECT NO!!!! and use Preview.
    This is the reason:
    Buggy Acrobat Pro (any version) can't handle large pages of PDFs and instead of Preview for Mac OS X that do it excellent because is better.
    Try this:
    1) Go to http://www.tastyapps.com/ and download Web Snapper and install it in Safari. This application capture any webpage.
    2) Go to http://regexlib.com/Search.aspx and select RESULTS PER PAGE 100 to get a large webpage result.
    3) Press the SEARCH button.
    4) Now you have a large webpage of 100 items of results.
    5) Capture this webpage with Web Snapper and create a PDF without pagination.
    6) Open it in Preview for Mac OS X and you will see the PDFs Page PERFECT!!!
    7) Open the same PDF page in Acrobat Pro... and you will see a BLANK PAGE!!!!
    I capture a lot of PDFs and create one ebook using Acrobat Pro... but all with BLANK PAGES!!!
    Cheers
    Tom

    Here may be part of the problem perhaps: http://support.apple.com/kb/HT4664
    The GMA X3100 found in 2008 MacBook models appears to be incompatible with the software, along with many other models of graphics card. Meaning a large percentage of users aren't technically meant to upgrade anymore, even though Lion will be okay on their systems.
    It's bizarre to think I can import and export footage that will remain it's original colour/gamma, but during editing in the preview window [not even in the timeline or event browser thumbnails] it goes virtually grayscale. Every other part of FCPX works perfectly fine, no slowdown or anything.
    Pretty disappointing if there is no workaround to this eventually!

  • Delete non-empty directory: better solution than traversal?

    So far, I'm only able to delete a directory via File.delete() when I delete each single file in this directory and recursively in any subdirectories. I wonder if there is a better/easier way to delete non-empty directories?

    Yes, it takes a fraction of a second. To be exact: about 0.3 seconds in our cases for each temporary directory with about 1.5 MB content and less than 100 files.
    But during big reports with hundreds of pages, each pages producing several such temp directories, this deletion takes about 5-10 seconds for a full report. Now, we have several customers with several users generating reports all over the place and reducing processing time is of good value. 10 seconds less for reports the user is waiting for might not be a big deal for you but for our customers.
    I read in some Linux forums that some file systems just remove the root directory out of some tree structure without recursing the whole tree. That's why deletion is so fast and "real deletion" (to not be able to undelete files) is slow. Unfortunately, we have Windows servers ...

  • Better router than WRT160NL for wireless library?

    I have been evaluating a WRT160NL. This router is used to allow wirless access to a set of multi-TB (USB) hard disks that comprise a wireless library. The idea is: I open a Pelican case in the middle of nowhere, and flip a power switch...presto...everyone in the local area has access to all of man's knowledge, including every book ever printed
    The features I love StorageLink's ability to plug in multiple multi-TB hard disks (though a USB hub) as a NAS, and to make them available through either Cat 5 or 802.11b, g, and n. I have successfully tested a WD MyBook 2TB dual edition. The ability of the WRT310NL to run off a 12V DC (2.1mm x 5.5mm) plug really helps in the middle of nowhere. (I use 12V universal laptop batteries for power.)
    The problems I have are:
    (1) The routher looses its' configuration when power is pulled, making me log in by http to set up the NAS configuration all over.
    (2) The router only supports SAMBA NAS (AFAIK) so no FTP or HTTP access to the NAS. (Have you ever tried to install SAMBA on a NOKIA 800 or an IPHONE?)
    (3) Sometimes I have difficulty gettting the router to recognize multiple partitions. It seems if I change the settings on a partition, it's screwed for good. Togeather with the need to reset the settings after every router cold boot, this is a pain.
    So, is there a better version of a Linksys by CISCO router for me?
    Andy
    P.S. I understand that some models (610) support 802.11a, and gigabit ethernet which would be good from a compatibility point of view, but that's not critical. The real issues are those I listed above.

    Try to upgrade/reflash your router's firmware and reconfigure it...
    Go to website linksysbycisco.com/downloads.........insert model no of your router in serach tab......select proper version of your router........download the firmware file......save that file on desktop
    Follow these steps to upgrade the firmware on the device : -
    Open an Internet Explorer browser page on a computer hard wired to the router...
    In the address bar type - 192.168.1.1...Leave the Username blank & in Password use admin in lower case...
    Click on the 'Administration' tab- Then click on the 'Firmware Upgrade' sub tab- Here click on 'Browse' and browse the .bin firmware file and click on "Upgrade"...
    Wait for few seconds until it shows that "Upgrade is successful"  After the firmware upgrade, click on "Reboot" and you will be returned back to the same page OR it will say "Page cannot be displayed".
    Now reset your router :
    Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...
    If your Internet Service Providor is Cable follow  this link
    If your Internet Service Providor is DSL follow  this link

  • Is Framemaker a better option than InDesign for footnote-intensive reports?

    We currently used InDesign to layout our reports and briefings, and are exploring it's XML capabilities with a view to output in multiple formats: high-res PDFs, web pages within our CMS, and e-Pubs. We are unable to tag our hyperlinked footnotes for XML output in InDesign, and wondered if Framemaker would be a better tool. Our layouts are in colour, in a 2-column format, contain charts and tables and occasional exhibits, and we adhere to a strict template with both paragraph and character styles.
    Any direction or insights would be appreciated!
    Thanks,
    Andrea

    Andrea,
    Your sample does not look like being »foot-intensive«, I only find two footnotes. And those will not be a problem for FrameMaker.
    For 2-column text layout FrameMaker (as InDesign) gives you the option to create one text frame set to have two columns, or create two connected text frames, each of them one column. To keep the footnote in the original column, you would use the latter method. More information can be found in the online help:
    http://help.adobe.com/en_US/framemaker/using/WS6C3D24E6-2965-48bb-B6CF-50D1439AEB01.html
    Regarding other elements of the sample pages I don’t see any stumbling blocks. Just be aware that the general approach to layout, and especially when using XML-structured documents, is completely different from InDesign. With InDesign you just move all the frames wherever and whenever you want. With FrameMaker you plan ahead, create master pages and paragraph styles and then follow this original design. Creating layout changes »on the fly« is just not the way you work in FrameMaker. But this limitation is the reason for a higher layout consistency.
    - Michael

  • Has anyone discovered a better system than itunes for a 3gs. I do not like itunes

    I now find the latest itunes overly complicated. I would like a more simplified system for my music and for connecting my ipod touch and iphone to. I would prefer that they stop changing the ios. and just do a simple security update. I want an opt out for updates and toolbars. I also want to never need to sign up to itunes store as for free trade you should connect to anywhere to buy your music. Is there a Spotify app for iphone or download music torrents straight into itunes. These would vastly improve the system. Any comments welcome.

    Stuart0007 wrote:
    I now find the latest itunes overly complicated. I would like a more simplified system for my music and for connecting my ipod touch and iphone to.
    If you would prefer the old look of iTunes, try these...:
    CTRL+S put back the sidebar
    CTRL+B puts back the top bar menu
    CTRL+SHIFT+B puts back the Column Browser
    CTRL+/ puts back the total number of songs and file size on the bototm ofg the iTunes window.
    Stuart0007 wrote:
    I would prefer that they stop changing the ios. and just do a simple security update. I want an opt out for updates and toolbars.
    Yes, well, hope on. But you can opt out of updates, you always have that choice. Toolbars, I've mentioned.
    Stuart0007 wrote:
    I also want to never need to sign up to itunes store as for free trade you should connect to anywhere to buy your music.
    You are not compelled to use the iTunes Store. You are free to purchase MP3 music from Amazon, among other sites, import it into your iTunes library and put it on your iPod. What makes you think otherwise?
    Stuart0007 wrote:
    Is there a Spotify app for iphone or download music torrents straight into itunes. These would vastly improve the system.
    Usually, downloading by torrent means "illegally downloaded music". We will not be discussing that here.

  • Better Integration with Audition for Audio Files

    Although Bridge is supplied and installed with Audition 2 the implementation is flawed and doesn't reflect what could be done with audio meta data. Audition allows one to view and edit meta data in File Properties but these fields aren't fully reflected in Bridge. Also audio fields accessible in Bridge don't appear in the Wave properties in Audition. Sort it out please Adobe. It could be very useful for users like myself working in audio archives.

    See if this helps: iTunes for Windows: How to make iTunes the default application for music and audio files

  • Can you please recomend a better solution than this?

    I use a servlet to send data from a form to a Mysql database.
    The servlet code is the following.
    When i submit the form i receive an Error 500 from Tomcat upon the 69th line of the code.
    The code has as follows.
    package mypackage;
    import java.sql.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class GroupRegistration extends HttpServlet
    Connection con;
    public void doPost (HttpServletRequest req, HttpServletResponse res)
    throws ServletException, java.io.IOException
    handleForm(req, res);
    public void init() throws ServletException {
    try{
    /* Loading the driver for the database */
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=Ztgtkpz2");
    catch (ClassNotFoundException e) {
    throw new UnavailableException("Couldn't load JdbcOdbcDriver");
    catch (SQLException e) {
    throw new UnavailableException("Couldn't get db connection");
    private void handleForm(HttpServletRequest req, HttpServletResponse res)
    throws ServletException {
    //ServletOutputStream out = res.OutputStream();
    //res.setContentType("text/html");
    //Extract the form Data Here
    String group = req.getParameter("GroupNo");
    String Name1 = req.getParameter("Name1");
    String LoginID1 = req.getParameter("LoginID1");
    String Name2 = req.getParameter("Name2");
    String LoginID2 = req.getParameter("LoginID2");
    String Name3 = req.getParameter("Name3");
    String LoginID3 = req.getParameter("LoginID3");
    String Name4 = req.getParameter("Name4");
    String LoginID4 = req.getParameter("LoginID4");
    String URL = req.getParameter("URL");
    String Title2 = req.getParameter("Title2");
    String date = req.getParameter("date");
    String INSERT = "INSERT INTO registration (groupno, name1, loginid1, name2, loginid2, name3, loginid3, name4, loginid4, url, topic, date) VALUES (" + group + "," + Name1 + "," + LoginID2 + "," + Name2 + "," + LoginID2 + "," + Name3 + "," + LoginID3 + "," + Name4 + "," + LoginID4 + "," + URL + "," + Title2 + "," + date + ")";
    PreparedStatement pstmt = null;
    try{
    LINE69 pstmt = con.prepareStatement(INSERT);
    pstmt.executeUpdate();
    catch (SQLException e) {
    throw new ServletException(e);
    finally {
    try {
    if (pstmt != null)pstmt.close();
    catch (SQLException ignored){
    Can you please recomend a solution to my problem.
    If i mange to overcome the bug do you have any suggestions upon connection pooling or anythink that will make it to run smoothly?
    Thank you for your time.

    Look where you try to populate the connection variable con:
    try{
    /* Loading the driver for the database */
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=Ztgtkpz2");
    Notice that you redeclared Connection con as a local variable.
    try this instead:
    try{
    /* Loading the driver for the database */
    Class.forName("com.mysql.jdbc.Driver");
    con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=Ztgtkpz2");

  • Need better video card driver for Satellite A100

    Hi,
    I got an old Toshiba Satellite A100... and I installed omega ATI drivers for better performance but its not working out, games crash due to overheating I believe...
    I am wondering if there are any other drivers from other Toshiba Satellite series that would work on the A100 and they would be better.
    ATI and Toshiba made drivers.

    ok i installed ati drivers from toshiba website...
    omega ati is not in add/remove programs anymore nor do i go to it when i open screen properties...
    it looks like its gona... altho i might be mistaken...
    2 questions...
    1.i got cpuid hardware monitor...what is in acceptable temperature for processor for A100 series?
    2. is there another way to find out if omega is gone? ccleaner did not detect it ... or it was allready gone.

  • Help needed: making a psptoolchain package for arch

    Hi....
    I'm very new to archlinux (now using it for 3 weeks), but I really like it
    Now I tried to make a archlinux package for the psptoolchain (PSP's are so nice )
    I already got a working package for the psp-gcc and the psp-binutils (wrote my own PKGBUILD's) which came with the psptoolchain.
    But now I got stuck with psp-newlib and pspsdk.
    At the moment I'm building all the packages separately, but later I'll try to make one package for the whole psptoolchain....
    So here comes my problem with psp-newlib and pspsdk...
    psp-gcc -march=i686 -O2 -pipe -G0 -Wall -I../../src/base -I../../src/kernel -c sceAtrac3plus.S
    sceAtrac3plus.S:0: error: bad value (i686) for -march
    Assembler messages:
    Error: Bad value (i686) for -march
    make[3]: *** [sceAtrac3plus.o] Error 1
    make[3]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk/src/atrac3'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk'
    make: *** [all] Error 2
    ==> ERROR: Build Failed. Aborting...
    And here comes my PKGBUILD for psp-newlib:
    # Contributor: [email protected]
    pkgname=newlib
    pkgver=1.13.0
    pkgrel=1
    pkgdesc="GCC for psp-devel"
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=()
    makedepends=()
    source=(ftp://sources.redhat.com/pub/newlib/$pkgname-$pkgver.tar.gz)
    md5sums=('3d07cc367a22b78c44227456b0d3b7dc')
    build() {
    export PSPDEV="/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    cp $startdir/newlib-1.13.0.patch /$startdir/src/$pkgname-$pkgver
    cd $startdir/src/$pkgname-$pkgver
    cat newlib-1.13.0.patch | patch -p1
    cd /$startdir/src/$pkgname-$pkgver
    BUILDDIR="/tmp/pspdev" PSPDEV="/usr/local/pspdev" ./configure --prefix=/usr/local/pspdev --target=psp
    make || return 1
    make DESTDIR=$startdir/pkg install
    I know, using newlib as pkgname is bad, but later I'll change it to psp-newlib and I'll replace the $pkgname's with newlib (I hope this idea isn't too bad)
    One last thing: psp-binutils and psp-gcc are installed in "/usr/local/pspdev"
    I hope you can help me
    thanks, and have a nice day
    XazZ

    After a long break I decided to work on the PKGBUILD again.
    Now I got two PKGBUILD's: one for the psptoolchain and one for pspsdk (pspsdk gets updated very often, so I decided to create an extra PKGBUILD).
    I'm not sure if my PKGBUILD's fit the PKGBUILD-standard
    First thing before I post my PKGBUILD's: I'm not finished with adding all required fields (as license and so on)!
    Here comes the one for psptoolchain:
    pkgname=psptoolchain
    pkgver=2211
    pkgrel=1
    pkgdesc="A collection of tools to create executables for the Sony PSP"
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=('subversion' 'texinfo')
    makedepends=()
    license=('GPL')
    source=(ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.2/gcc-4.0.2.tar.bz2 ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz)
    md5sums=('6a9d529efb285071dad10e1f3d2b2967'
    'a659b8388cac9db2b13e056e574ceeb0'
    '4020004b1b7a56ca4cf7f6d35b40a4cb')
    sha1sums=('5c80fd5657da47efc16a63fdd93ef7395319fbbf'
    'f1b714c6398393d8f7f4ad5be933b462a95b075d'
    'f6860b36e48fb831a30bab491230bbc7ce2669a2')
    arch=('i686')
    _svntrunk=svn://svn.pspdev.org/psp/trunk/psptoolchain
    _svnmod=psptoolchain
    _svntrunk1=svn://svn.pspdev.org/psp/trunk/pspsdk
    _svnmod1=pspsdk
    build() {
    cd $startdir/src
    svn co $_svntrunk $_svnmod
    cd psptoolchain
    cp binutils-2.16.1.patch $startdir/src/binutils-2.16.1/
    cp gcc-4.0.2.patch $startdir/src/gcc-4.0.2/
    cp newlib-1.15.0.patch $startdir/src/newlib-1.15.0
    export PSPDEV="$startdir/pkg/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    msg "patching and building binutils..."
    cd $startdir/src/binutils-2.16.1
    cat binutils-2.16.1.patch | patch -p1
    ./configure --prefix=/usr/local/pspdev --target=psp --enable-install-libbfd
    make clean || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install
    msg "building and patching binutils finished"
    msg ""
    msg "patching and building gcc..."
    cd $startdir/src/gcc-4.0.2
    cat gcc-4.0.2.patch | patch -p1
    mkdir objdir
    cd $startdir/src/gcc-4.0.2/objdir
    ../configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp --enable-languages="c" --with-newlib --without-headers
    make || return 1
    make DESTDIR=/ install
    msg "building and patching gcc finished"
    msg ""
    msg "building pspsdk-headers - we'll only need them temporary"
    cd $startdir/src/
    svn co $_svntrunk1 $_svnmod1
    cd $_svnmod1/
    ./bootstrap
    ./configure --prefix=/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make clean || return 1
    make DESTDIR=$startdir/pkg install-data
    msg "building pspsdk-headers finished"
    msg ""
    msg "patching and building newlib-psp"
    cd $startdir/src/newlib-1.15.0
    cat newlib-1.15.0.patch | patch -p1
    ./configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp
    make || return 1
    make DESTDIR=/ install
    msg "building newlib-psp finished"
    msg ""
    msg "building gcc-c++"
    cd $startdir/src/gcc-4.0.2
    mkdir build-psp-c++
    cd $startdir/src/gcc-4.0.2/build-psp-c++
    ../configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp --enable-languages="c,c++" --with-newlib --enable-cxx-flags="-G0"
    make clean || return 1
    make CFLAGS_FOR_TARGET="-G0"
    make || return 1
    make DESTDIR=/ install
    msg "building gcc-c++ finished"
    msg ""
    msg "removing unnecessary code"
    cd $startdir/pkg/usr/local/pspdev/psp
    rm -rf sdk
    msg "Now you need to build and install pspsdk!"
    And here the one for pspsdk:
    pkgname=pspsdk
    pkgver=2209
    pkgrel=1
    pkgdesc="A collection of Open Source tools and libraries written for the Sony Playstation Portable (PSP)."
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=('psptoolchain')
    makedepends=()
    arch=('i686')
    license="custom"
    _svntrunk=svn://svn.pspdev.org/psp/trunk/pspsdk
    _svnmod=pspsdk
    build() {
    export PSPDEV="/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    cd $startdir/src
    svn co $_svntrunk $_svnmod
    cd $_svnmod/
    ./bootstrap
    ./configure --prefix=/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make clean || return 1
    make DESTDIR=$startdir/pkg install-data
    make clean || return 1
    ./configure --prefix=$startdir/pkg/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make || return 1
    make DESTDIR=$startdir/pkg install
    Some explanation: I've used this one very often: --prefix=$startdir/pkg/usr/local/pspdev
    Explanation: When I wanted to create only one PKGBUILD for the psptoolchain, some dependences were in $startdir/pkg. If you take  --prefix=/usr/local/pspdev he won't get some depencies (mostly header files), which means I had to create single PKGBUILD's for every part of the psptoolchain (that would be 6 single parts).
    Those --prefix-changes don't stop my psp environment from working! (tested it myself - I comiled almos all sample apps which were included in the pspsdk - and all compiled well)
    I hope we can find a better solution than mine.
    Thanks in advance
    XazZ

Maybe you are looking for