|
|
|
Exported
text from the tutorial.
I'm trying something new and including the exported text from the tutorial. My hope is that this may do more than just make the content more searchable, but also encourage some community participation. If you are able to translate the dialog to another language or improve it in any way simply... 1. copy everything below to a text editor. 2. You can change anything inbetween the '+--->' Markers. 3. Save the text file with your changes and email it to me here If you wish to comment on the above tutorial. Please do so here at opensourcebistro.com/blog1 NumFrames: 129
Frame: 1 Title: NumCallouts: 1 +---> Packaging frei0r Part 3 on the kdenlive packaging series. +---> Frame: 2 Title: NumCallouts: 1 +---> +---> Frame: 3 Title: NumCallouts: 1 +---> You can find the site for frei0r here, highlighted above. +---> Frame: 4 Title: NumCallouts: 1 +---> +---> Frame: 5 Title: NumCallouts: 1 +---> +---> Frame: 6 Title: NumCallouts: 1 +---> Download from the daily snapshot. +---> Frame: 7 Title: NumCallouts: 1 +---> +---> Frame: 8 Title: NumCallouts: 1 +---> +---> Frame: 9 Title: NumCallouts: 1 +---> +---> Frame: 10 Title: NumCallouts: 1 +---> +---> Frame: 11 Title: NumCallouts: 1 +---> +---> Frame: 12 Title: NumCallouts: 1 +---> +---> Frame: 13 Title: NumCallouts: 1 +---> +---> Frame: 14 Title: NumCallouts: 1 +---> +---> Frame: 15 Title: NumCallouts: 1 +---> +---> Frame: 16 Title: NumCallouts: 1 +---> +---> Frame: 17 Title: NumCallouts: 1 +---> +---> Frame: 18 Title: NumCallouts: 1 +---> +---> Frame: 19 Title: NumCallouts: 1 +---> +---> Frame: 20 Title: NumCallouts: 1 +---> +---> Frame: 21 Title: NumCallouts: 1 +---> +---> Frame: 22 Title: NumCallouts: 1 +---> +---> Frame: 23 Title: NumCallouts: 1 +---> +---> Frame: 24 Title: NumCallouts: 1 +---> As always we start by extracting the downloaded compressed file. +---> Frame: 25 Title: NumCallouts: 1 +---> +---> Frame: 26 Title: NumCallouts: 1 +---> Now right away you should notice that the two files do not follow the same naming convention, and '-latest' just does not work as a version number. +---> Frame: 27 Title: NumCallouts: 1 +---> +---> Frame: 28 Title: NumCallouts: 1 +---> +---> Frame: 29 Title: NumCallouts: 1 +---> To solve this just compress the source file with the proper name again. +---> Frame: 30 Title: NumCallouts: 1 +---> +---> Frame: 31 Title: NumCallouts: 1 +---> +---> Frame: 32 Title: NumCallouts: 1 +---> +---> Frame: 33 Title: NumCallouts: 1 +---> +---> Frame: 34 Title: NumCallouts: 1 +---> +---> Frame: 35 Title: NumCallouts: 1 +---> +---> Frame: 36 Title: NumCallouts: 1 +---> +---> Frame: 37 Title: NumCallouts: 1 +---> +---> Frame: 38 Title: NumCallouts: 1 +---> +---> Frame: 39 Title: NumCallouts: 1 +---> +---> Frame: 40 Title: NumCallouts: 1 +---> +---> Frame: 41 Title: NumCallouts: 1 +---> Then delete the compressed file with the poorly choosen name. +---> Frame: 42 Title: NumCallouts: 1 +---> +---> Frame: 43 Title: NumCallouts: 1 +---> +---> Frame: 44 Title: NumCallouts: 1 +---> +---> Frame: 45 Title: NumCallouts: 1 +---> Now we can explore the source file for any documentation that might help us. +---> Frame: 46 Title: NumCallouts: 1 +---> +---> Frame: 47 Title: NumCallouts: 1 +---> Alway, make a note of it, when you see autogen.sh in the source files. +---> Frame: 48 Title: NumCallouts: 1 +---> +---> Frame: 49 Title: NumCallouts: 1 +---> +---> Frame: 50 Title: NumCallouts: 1 +---> +---> Frame: 51 Title: NumCallouts: 1 +---> Let's take a look at the install file in Leafpad +---> Frame: 52 Title: NumCallouts: 1 +---> +---> Frame: 53 Title: NumCallouts: 1 +---> +---> Frame: 54 Title: NumCallouts: 1 +---> +---> Frame: 55 Title: NumCallouts: 1 +---> This confirms this will be a normal build type with sbbuilder. +---> Frame: 56 Title: NumCallouts: 1 +---> +---> Frame: 57 Title: NumCallouts: 1 +---> +---> Frame: 58 Title: NumCallouts: 1 +---> You may notice that there is no ./configure file as you would normally expect. +---> Frame: 59 Title: NumCallouts: 1 +---> This is common in source files featuring autogen.sh, as autogen 'auto gen'erates the ./configure file. +---> Frame: 60 Title: NumCallouts: 1 +---> +---> Frame: 61 Title: NumCallouts: 1 +---> +---> Frame: 62 Title: NumCallouts: 1 +---> +---> Frame: 63 Title: NumCallouts: 1 +---> +---> Frame: 64 Title: NumCallouts: 1 +---> We are now ready for sbbuilder. +---> Frame: 65 Title: NumCallouts: 1 +---> +---> Frame: 66 Title: NumCallouts: 1 +---> +---> Frame: 67 Title: NumCallouts: 1 +---> Since this is ./configure, make, 'make install' build it is considered type=normal. This is also the default and can be left out of the command. +---> Frame: 68 Title: NumCallouts: 1 +---> The package name is frei0r, that 0 as in zero in the name. +---> Frame: 69 Title: NumCallouts: 1 +---> The version number is self explanitory, as is the --user=, part. +---> Frame: 70 Title: NumCallouts: 1 +---> +---> Frame: 71 Title: NumCallouts: 1 +---> +---> Frame: 72 Title: NumCallouts: 1 +---> +---> Frame: 73 Title: NumCallouts: 1 +---> Now let's go take a look at what sbbuilder generated. +---> Frame: 74 Title: NumCallouts: 1 +---> +---> Frame: 75 Title: NumCallouts: 1 +---> +---> Frame: 76 Title: NumCallouts: 1 +---> +---> Frame: 77 Title: NumCallouts: 1 +---> +---> Frame: 78 Title: NumCallouts: 1 +---> Before messing with the SlackBuild, we need to remember to copy over the compressed tar.gz into the same file as the .SlackBuild. +---> Frame: 79 Title: NumCallouts: 1 +---> +---> Frame: 80 Title: NumCallouts: 1 +---> +---> Frame: 81 Title: NumCallouts: 1 +---> +---> Frame: 82 Title: NumCallouts: 1 +---> +---> Frame: 83 Title: NumCallouts: 1 +---> Now we can make our edits to the SlackBuild. +---> Frame: 84 Title: NumCallouts: 1 +---> +---> Frame: 85 Title: NumCallouts: 1 +---> +---> Frame: 86 Title: NumCallouts: 1 +---> +---> Frame: 87 Title: NumCallouts: 1 +---> +---> Frame: 88 Title: NumCallouts: 1 +---> +---> Frame: 89 Title: NumCallouts: 1 +---> +---> Frame: 90 Title: NumCallouts: 1 +---> +---> Frame: 91 Title: NumCallouts: 1 +---> +---> Frame: 92 Title: NumCallouts: 1 +---> As mentioned we need to add in a line to run ./autogen.sh just before the ./configure...line. +---> Frame: 93 Title: NumCallouts: 1 +---> +---> Frame: 94 Title: NumCallouts: 1 +---> +---> Frame: 95 Title: NumCallouts: 1 +---> +---> Frame: 96 Title: NumCallouts: 1 +---> Then we just need to fill in the details that will make up the slack-desc. +---> Frame: 97 Title: NumCallouts: 1 +---> Get this information from the usual sources. Frei0r website and documentation from the source files. +---> Frame: 98 Title: NumCallouts: 1 +---> +---> Frame: 99 Title: NumCallouts: 1 +---> +---> Frame: 100 Title: NumCallouts: 1 +---> +---> Frame: 101 Title: NumCallouts: 1 +---> +---> Frame: 102 Title: NumCallouts: 1 +---> +---> Frame: 103 Title: NumCallouts: 1 +---> +---> Frame: 104 Title: NumCallouts: 1 +---> +---> Frame: 105 Title: NumCallouts: 1 +---> Now we can open a terminal and become root. +---> Frame: 106 Title: NumCallouts: 1 +---> +---> Frame: 107 Title: NumCallouts: 1 +---> So that we can run the .SlackBuild with sh ./frei0r.SlackBuild +---> Frame: 108 Title: NumCallouts: 1 +---> +---> Frame: 109 Title: NumCallouts: 1 +---> +---> Frame: 110 Title: NumCallouts: 1 +---> +---> Frame: 111 Title: NumCallouts: 1 +---> +---> Frame: 112 Title: NumCallouts: 1 +---> +---> Frame: 113 Title: NumCallouts: 1 +---> +---> Frame: 114 Title: NumCallouts: 1 +---> +---> Frame: 115 Title: NumCallouts: 1 +---> +---> Frame: 116 Title: NumCallouts: 1 +---> +---> Frame: 117 Title: NumCallouts: 1 +---> +---> Frame: 118 Title: NumCallouts: 1 +---> +---> Frame: 119 Title: NumCallouts: 1 +---> +---> Frame: 120 Title: NumCallouts: 1 +---> +---> Frame: 121 Title: NumCallouts: 1 +---> When it finishes move up a directory with cd ../ +---> Frame: 122 Title: NumCallouts: 1 +---> Then install your newly created package with the 'installpkg' command. +---> Frame: 123 Title: NumCallouts: 1 +---> +---> Frame: 124 Title: NumCallouts: 1 +---> +---> Frame: 125 Title: NumCallouts: 1 +---> +---> Frame: 126 Title: NumCallouts: 1 +---> +---> Frame: 127 Title: NumCallouts: 1 +---> +---> Frame: 128 Title: NumCallouts: 1 +---> Now that you have frei0r on your system, you may want to learn how to contribute the package. Email me for more info. +---> Frame: 129 Title: NumCallouts: 1 +---> Finished View Again? +---> |