Compiling a few apps at once: XFCE4 CVS
Hello. I'm trying to write a single PKGBUILD to create the XFCE4 CVS version, but I've got a few problems. A lot of packages in XFCE4 depend on other packages in XFCE4. I'd like to install one package into $startdir/pkg and then I want to make the configure scripts of the other packages to find the app installed in $startdir/pkg and use it. However, I've no idea how to achieve this.
Can anyone give me a hand?
sweiss wrote:
Thing is, this is a CVS version. Much easier to maintain for something that is updated every other night, at least for testing purposes.
As for the URL, I know how to build XFCE4 basically, I've already coded a program to generate every PKGBUILD for a given package name, grouping them all under xfce4-cvs. But I'd like to make it into one PKGBUILD as I find it easier for me to maintain until XFCE stabilizes.
Also, it's a rather educational question, for my general knowledge. Can you tell me how to achieve this?
technically it is possible to hack build() to use more $startdirs and then make pkgs for each, but in my eyes it is nonsense, as the principle for a PKGBUILD is to make one pkg --- what you want i think is done with "makeworld" (see docs) that runs makepkg in a directory on each PKGBUILD in a subdir
also if you would hack the build() and do invest a lot of time: the trouble that will come up is: libSOMETHING is often a dependency to SOMETHINGELSE, and therefore you cannot build them in one pkg (as the libSOMETHING must first be installed before you can compile something against it) --- if you want to save you time, make a local repository (see docs) and add xfce4-cvs to it and then when you run makeworld in this directory, it will build you the pkgs - then "gensync" and then (when the local repo is in pacman.conf), the next time you run pacman -Suy, it will ask you to update your xfce4-cvs pkgs, as in your local repo, they are updated [this as an alternative to pacman -U pkgname.pkg.tar.gz for every pkg that can be boring]
Similar Messages
-
Does closing apps save battery life? If so, is there a way to close all apps at once?
There is no way to close all apps at once. When you leave an app , most apps stop working immediately. A few apps will continue to complete the task they were working on. Mail is an example of that. There is a short time limit though after which the app stops running and the state you left it in is stored. Quitting apps does not increase battery life.
-
Windows can compile phonegap iOS apps in dw cs6
ONCE I DOWNLOAD IN MY ANDROID PHONE AN APP FROM DW CS6-PHONEGAP VIA QR SCANNER, where saved the App downloaded? 2.3.6 Android...
windows can compile phonegap iOS apps in dw cs6 on WINDOWS?
to make win phone 7 or 8 Apps can I from dw cs6 or needed phonegap site?After I compiled for first time with phonegap and qr installed in my Android phone, the cordova phonegap starter sample app without modified all html5 mobile apps in dreamweaver stopped to function like jquery 1.0a4 libraries and css is wrong ... why this?
-
Adt compile for ipa-app-store never completes
I'm trying to compile my project for the app store. It compiles without issue in about five minutes when compiled for ipa-test or ipa-debug. I'm compiling it for ipa-app-store right now but the process has been running for over two hours. I can see the java process running and the memory fluctuating, which tells me it's not frozen, but the temp files that are created aren't changing at all, which makes it seem like nothing is happening. Does anyone have any ideas what could be wrong? I'm using the latest version of the Flex framework with the latest AIR sdk on a machine running Windows 7.
I did eventually figure it out. At the time I didn't know how to embed an XML file, so I was taking the file and converting it to a reallly long string. It was in the format of:
xmlString += "<xmlTag>stuff</xmlTag>";
xmlString += "<otherTag>stuff</otherTag>";
There were three files, the shortest of which was over 1000 lines long. For some reason the compiler just choked on that. If I had even one of them in there it wouldn't compile for the app store. The moment I removed them, everything could compile just fine. That was when I figured out how to just embed the XML files and everything has worked since. Interestingly, my compile times for test and debug mode dropped by half once I did that; so it was clearly causing some issues for the compiler in general.
If you don't have a file like the one I just described, I would recommend commenting out almost everything in your main file and compiling it. If you have an empty project, everything should compile correctly. Start adding things back in one at a time until you get the problem. That was how I ended up nailing down what was happening for us. -
I tried briefly to tamper with an older xfce4 cvs pkgbuild here on the forums, but gave up after a bit... is it possible? would someone love to make one? I know for sure that a few of us would gladly use one...
thx!If you have problem with the part that builds XFCE4, you can take a look at the xfce4 PKGBUILD in ABS.
-
pkgname=libxfce4util
pkgver=4.2.0cvs
pkgrel=1
pkgdesc="CVS version of XFCE"
url="http://www.xfce.org"
license=""
depends=(glib2)
makedepends=(cvs)
conflicts=()
backup=()
install=
source=()
md5sums=()
build() {
cd $startdir/src/
cvs -d:pserver:[email protected]:/cvsroot/xfce co xfce4/$pkgname
cd xfce4/$pkgname
./configure --prefix=/opt/xfce4
make || return 1
make DESTDIR=$startdir/pkg install
Ha! What you've all been waiting for. Here's a cvs package for the cvs version of xfce.
EDIT:
Oops, my bad. Fixed the --prefix.
To get all the libraries and different parts of xfce, just change the $pkgname variable to the different component. Here's all the available components:
libxfce4util
libxfcegui4
libxfce4mcs
xfce-mcs-manager
xfce-mcs-plugins
xfce4-panel
xfwm4
xfce-utils
xfce4-modules
xffm
xfdesktop
xfce4-session
xfprint
gtk-xfce-engine-2
xfce4-iconbox
xfce4-mixer
xfce4-systray
xfce4-themes
xfce4-toys
xfce4-trigger-launcher
xffm-icons
xfwm4-themes
xfcalendar
xfce4-appfinder
Just install the libaries first, and then the rest of the components and you should be alright. Enjoy the bleeding edge of the greatest linux desktop available!PKGBUILD:
pkgname=xfce4-cvs
pkgver=4.2.0
pkgrel=1
pkgdesc="CVS version of XFCE"
url="http://www.xfce.org"
license=""
depends=(glib2 gtk2 libxml2 dbh)
makedepends=(cvs)
conflicts=()
backup=()
install=xfce4-cvs.install
source=(xfce4-cvs.profile)
md5sums=()
build() {
cd $startdir/src/
# Get source via CVS
cvs -d:pserver:[email protected]:/cvsroot/xfce co xfce4
cd xfce4/
# Register profile
install -D -m755 ../xfce4-cvs.profile $startdir/pkg/etc/profile.d/xfce4-cvs.sh
# Set pkgconfig path
export PKG_CONFIG_PATH=$startdir/pkg/opt/xfce4-cvs/lib/pkgconfig
# Build stuff
cd libxfce4util
./configure --prefix=/opt/xfce4-cvs
make || return 1
make DESTDIR=$startdir/pkg install
cd ../libxfcegui4
./configure --prefix=/opt/xfce4-cvs
make || return 1
make DESTDIR=$startdir/pkg install
cd ../libxfce4mcs
./configure --prefix=/opt/xfce4-cvs
make || return 1
make DESTDIR=$startdir/pkg install
./configure --prefix=/opt/xfce4-cvs
make || return 1
make DESTDIR=$startdir/pkg install
cd ../xfce4-panel
./configure --prefix=/opt/xfce4-cvs
make || return 1
make DESTDIR=$startdir/pkg install
xfce4-cvs.profile:
export PATH=$PATH:/opt/xfce4-cvs/bin
export MANPATH=$MANPATH:/opt/xfce4-cvs/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/xfce4-cvs/lib/pkgconfig
xfce4-cvs.install
post_install() {
if ! [ `grep '/opt/xfce4-cvs/lib' etc/ld.so.conf` ]; then
echo "/opt/xfce4-cvs/lib" >> etc/ld.so.conf
sbin/ldconfig -r .
fi
post_upgrade() {
/bin/true
pre_remove() {
cat etc/ld.so.conf | grep -v '/opt/xfce4-cvs/lib' >/tmp/.pacxfce4-cvs
mv /tmp/.pacxfce4-cvs etc/ld.so.conf
chmod 644 etc/ld.so.conf
sbin/ldconfig -r .
op=$1
shift
$op $*
That's what I have so far.. That's enough for the new panel... I'll get the rest later, because I can't get this to compile... hmm.. anyone else have luck? -
"Use cellular data for" is only showing a few apps
Hello,
I just got a new 5S. I have installed and used maybe 15 or so apps, but when I go to
Settings -> Cellular -> "Use cellular data for"
it only shows 5 apps: Calendar, FaceTime, Find iPhone, Passbook, & Skype.
I would like to see all the apps so that I can control what is using cellular data. When I read other posts online, it seems like this should show all apps. Does anybody have any idea why I only see a few apps here or what I can do to display all apps?
Thanks for any help!This troubleshooting guide helped me. Had to try up to step 7...
iPhone: Troubleshooting a cellular data connection -
I keep getting updates from my app store but yet when I go in and update it starts the process but then a message pops up that says the download cannot be done at this time. I have had to delete a few apps because of this. I have also signed out and signed back into my account and turned my phone on and off and still does the same thing. Help!
Hi tmcrae
First check that your device is not full, maybe you may have to delete some photos or apps to make space to do updates. if its not full then you will have to try pluging it into your pc/mac running itunes then doing a backup and restore. Then you should be able to do your updates.
Sorry but i cant think of any other way if its showing as installed already but is not there.
Hope that helps
Delboy1066 -
help, tryed to down load to many Apps at once, ipad froze. dealeted Apps, no longer got internet connection. help
What's your problem is 1) your ipad froze or 2) you now have no internet connection?
Have you restarted/reset your device?
http://support.apple.com/kb/HT1430
https://discussions.apple.com/message/19521062#19521062 -
I downloaded my sons ipod 5g with the latest iOS and now when we try to sync it says we have no space, but there is nothing but a few apps on his ipod and he has plenty of space. The messege says that most of is space is taken up by video but there is no video or music on his ipod right now. I've tried to reset his ipod but that did not help the problem. What can I do?
Did you try to set it up again as new device?
How to back up your data and set up as a new device -
Hi everyone!
I tried to update a few apps from my iPhone, and to install new applications from APPSTORE. But i got a message :" Your Apple ID has been disabled"!!!!!!
What can i do now? Can you help me please?
The same thing happend with my IPAD....
How can i do to function all this in the same way which was working till this problem appears.
I want to mention that i have 2 email adresses asociated with the same Apple ID.
wait for an feedback!
Thanks a lot!Depending on why it's been disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
If it then works on your computer's iTunes but not your phone/iPad then try logging out of your account on the phone/iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it -
My 3G iphone only loads few apps since I updated and the camera doen't work anymore, what now. Tried to reset to original settings and now it won't load apps, even old ones.
What model iPod do you have? If yo have a 2G iPod. many developers when they updated their apps to support iOS 5 and 6 dropped compatibility for iOS 4.2.1 and earlier.
-
Hi,
I am unable to add my bank/card details in my apple account, every time i am getting a message that it has been declined. kindly help me in authorise my bank card in my apple account i need to purchase few apps, pls help meWhat sort of card are you trying to use ? If it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management -
I want youtube back and I deleted it while it was upgrading but is there that you can cancel the upgrade that it is doing so I can have youtube back? is the a way to get an app back once you delete that app?
Again, all I can say in this Apple forum is that downgrading the iOS is not supported by Apple.
-
I accidentally deleted a few apps and not remember their name. Pls let me
know how to re-install it that data is not lost.Hello DucPV,
You can view your purchase history, track down the Apps (by recognizing the icons), and reinstall. The following article outlines how to do so:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/HT2519
Thanks,
Matt M.
Maybe you are looking for
-
I've uploadod files from my phone to adobe.com with that little cloud icon. Can I reach those files from my laptopt or desktop computer? Would be nice if I could, so I'd have all the notes synchronised.
-
Build problem with makepkg of linux in the abs(core/linux)
Hi,all I wanted to have a taste of systemtap, I read this page:https://wiki.archlinux.org/index.php/Systemtap,and followed the guide,but had problem like this: scripts/link-vmlinux.sh: line 135: ./.config: No such file or directory It looks like the
-
I accidentally deleted a book when I was trying to delete a page in it. Is there anyway to recover the book file. I still have all of the pictures, but I would rather not go back through all of the work or laying out hte photos and rewriting the text
-
Security Advisory for Adobe Reader and Acrobat (APSA11-04) A Security Advisory (APSA11-04) has been posted in regards to a new critical vulnerability in Adobe Reader X (10.1.1) and earlier versions for Windows and Macintosh, Adobe Reader 9.4.6 and ea
-
I'd like to have a date and time dimension where i can drill down to hours and quarters. What i don't want is one large dimension ( too many rows :-). Getting a date and a time dimension linked from the fact table is another solution, but i don't kno