[Fink-devel] Conditional AppBundle?
Hi, Does the AppBundle field support conditionals, that is can we have something like: AppBundle: (%type_raw[uitype] = -app) SomeApp.app Thanks, Sébastien -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Conditional AppBundle?
On 1/15/2014 9:17 AM, Sébastien Maret wrote: > Hi, > > Does the AppBundle field support conditionals, that is can we have something > like: > > AppBundle: (%type_raw[uitype] = -app) SomeApp.app Unfortunately, no. You have to manually move the .app bundle to %i/Applications in InstallScript and then set up the symlinks in /Applications/Fink in PostInstScript/PreRmScript if you want. Look at the package valknut-aqua (valknut.info) for how I solved it there. Hanspeter -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Fwd: GDL update
Hi all, A follow-up on a bug that has been also reported here: http://sourceforge.net/p/fink/bugs/1638/ I don’t know how to fix this. Perhaps someone who knows CMAKE better than me could help? Thanks in advance, Sébastien Début du message réexpédié : > De: Sébastien Maret > Objet: GDL update > Date: 13 janvier 2014 16:53:29 UTC+1 > À: Jack Howarth > Cc: ocor...@astro.uni-bonn.de, Jonathan Gelbord > > Hi Jack, > > Your last update in the Fink GDL package causes a problem during the > installation: > > dpkg -c /sw/fink/debs/gdl_0.9.4-1_darwin-x86_64.deb > drwxr-xr-x root/admin0 2014-01-13 16:22 ./ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/bin/ > -rwxr-xr-x root/admin 7341540 2014-01-13 16:22 ./sw/bin/gdl > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/etc/ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/etc/profile.d/ > -rwxr-xr-x root/admin 49 2014-01-13 16:22 ./sw/etc/profile.d/gdl.csh > -rwxr-xr-x root/admin 49 2014-01-13 16:22 ./sw/etc/profile.d/gdl.sh > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/doc/ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/doc/gdl/ > -rw-r--r-- root/admin15131 2014-01-13 16:22 ./sw/share/doc/gdl/COPYING > -rw-r--r-- root/admin14123 2014-01-13 16:22 ./sw/share/doc/gdl/README > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/man/ > drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/man/man1/ > -rw-r--r-- root/admin 4881 2014-01-13 16:22 ./sw/share/man/man1/gdl.1 > > There should be some .pro files installed in share/, but there is nothing in > that directory. > > Oliver (CC’ed) suggested the following change: > > Le 3 janv. 2014 à 15:36, Oliver Cordes a écrit : > >> Hi, >> >> I'm using the gdl package from fink under Mac OS 10.9 . The package did not >> compile because of a small problem in the info file. >> >> The InstallScript-Section needs a smal modification to compile successfully: >> >> < >> InstallScript: << >> /usr/bin/install -d %i/bin >> /usr/bin/install -m 0755 %b/build/src/gdl %i/bin >> /usr/bin/install -d %i/share/man/man1 >> /usr/bin/install -m 0644 %b/doc/gdl.1 %i/share/man/man1 >> (cd build; make install DESTDIR=%d VERBOSE=1 ) >> << >> >> Please fix this in the main repository. I'm not sure what changed in the >> fink packaging scripts in the past months. If I remembered correctly this >> version compiled successfully on my 10.7 MacOS system a few month ago. The >> problem was the "cd build" at the beginning of the InstalLScript section has >> no effect on the following commands ... > > > but this installs the .pro in /usr/local instead of /sw : > > dpkg -c /sw/fink/debs/gdl_0.9.4-2_darwin-x86_64.deb > drwxr-xr-x root/admin0 2014-01-13 16:51 ./ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/bin/ > -rwxr-xr-x root/admin 7341540 2014-01-13 16:51 ./sw/bin/gdl > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/etc/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/etc/profile.d/ > -rwxr-xr-x root/admin 49 2014-01-13 16:51 ./sw/etc/profile.d/gdl.csh > -rwxr-xr-x root/admin 49 2014-01-13 16:51 ./sw/etc/profile.d/gdl.sh > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/doc/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/doc/gdl/ > -rw-r--r-- root/admin15131 2014-01-13 16:51 ./sw/share/doc/gdl/COPYING > -rw-r--r-- root/admin14123 2014-01-13 16:51 ./sw/share/doc/gdl/README > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/man/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/man/man1/ > -rw-r--r-- root/admin 4881 2014-01-13 16:51 ./sw/share/man/man1/gdl.1 > drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/ > drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/bin/ > -rwxr-xr-x root/admin 7341540 2014-01-13 16:51 ./usr/local/bin/gdl > drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/share/ > drwxr-xr-x root/admin0 2014-01-13 16:51 > ./usr/local/share/gnudatalanguage/ > -rw-r--r-- root/admin 680 2012-11-07 02:39 > ./usr/local/share/gnudatalanguage/AUTHORS > drwxr-xr-x root/admin0 2014-01-13 16:51 > ./usr/local/share/gnudatalanguage/lib/ > -rw-r--r-- root/admin 2319 2012-01-02 22:20 > ./usr/local/share/gnudatalanguage/lib/appleman.pro > -rw-r--r-- root/admin 1858 2010-01-20 12:41 > ./usr/local/share/gnudatalanguage/lib/array_indices.pro > (…) > > I am not familiar with CMAKE, so I don’t know how to fix this. Can you help ? > > Best, > Sébastien > > > > > -- CenturyLink Cloud: The Leader in Enterprise Cloud S
Re: [Fink-devel] GDL update
Fixed in gdl-0.9.4-2. Thanks Hanspeter for the tip ! For the record: the package wasn’t defining the CMAKE_INSTALL_PREFIX var. Sébastien Le 16 janv. 2014 à 08:12, Sébastien Maret a écrit : > Hi all, > > A follow-up on a bug that has been also reported here: > http://sourceforge.net/p/fink/bugs/1638/ > > I don’t know how to fix this. Perhaps someone who knows CMAKE better than me > could help? > > Thanks in advance, > Sébastien > > Début du message réexpédié : > >> De: Sébastien Maret >> Objet: GDL update >> Date: 13 janvier 2014 16:53:29 UTC+1 >> À: Jack Howarth >> Cc: ocor...@astro.uni-bonn.de, Jonathan Gelbord >> >> Hi Jack, >> >> Your last update in the Fink GDL package causes a problem during the >> installation: >> >> dpkg -c /sw/fink/debs/gdl_0.9.4-1_darwin-x86_64.deb >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/bin/ >> -rwxr-xr-x root/admin 7341540 2014-01-13 16:22 ./sw/bin/gdl >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/etc/ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/etc/profile.d/ >> -rwxr-xr-x root/admin 49 2014-01-13 16:22 ./sw/etc/profile.d/gdl.csh >> -rwxr-xr-x root/admin 49 2014-01-13 16:22 ./sw/etc/profile.d/gdl.sh >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/doc/ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/doc/gdl/ >> -rw-r--r-- root/admin15131 2014-01-13 16:22 ./sw/share/doc/gdl/COPYING >> -rw-r--r-- root/admin14123 2014-01-13 16:22 ./sw/share/doc/gdl/README >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/man/ >> drwxr-xr-x root/admin0 2014-01-13 16:22 ./sw/share/man/man1/ >> -rw-r--r-- root/admin 4881 2014-01-13 16:22 ./sw/share/man/man1/gdl.1 >> >> There should be some .pro files installed in share/, but there is nothing in >> that directory. >> >> Oliver (CC’ed) suggested the following change: >> >> Le 3 janv. 2014 à 15:36, Oliver Cordes a écrit : >> >>> Hi, >>> >>> I'm using the gdl package from fink under Mac OS 10.9 . The package did not >>> compile because of a small problem in the info file. >>> >>> The InstallScript-Section needs a smal modification to compile successfully: >>> >>> < >>> InstallScript: << >>> /usr/bin/install -d %i/bin >>> /usr/bin/install -m 0755 %b/build/src/gdl %i/bin >>> /usr/bin/install -d %i/share/man/man1 >>> /usr/bin/install -m 0644 %b/doc/gdl.1 %i/share/man/man1 >>> (cd build; make install DESTDIR=%d VERBOSE=1 ) >>> << >>> >>> Please fix this in the main repository. I'm not sure what changed in the >>> fink packaging scripts in the past months. If I remembered correctly this >>> version compiled successfully on my 10.7 MacOS system a few month ago. The >>> problem was the "cd build" at the beginning of the InstalLScript section >>> has no effect on the following commands ... >> >> >> but this installs the .pro in /usr/local instead of /sw : >> >> dpkg -c /sw/fink/debs/gdl_0.9.4-2_darwin-x86_64.deb >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/bin/ >> -rwxr-xr-x root/admin 7341540 2014-01-13 16:51 ./sw/bin/gdl >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/etc/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/etc/profile.d/ >> -rwxr-xr-x root/admin 49 2014-01-13 16:51 ./sw/etc/profile.d/gdl.csh >> -rwxr-xr-x root/admin 49 2014-01-13 16:51 ./sw/etc/profile.d/gdl.sh >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/doc/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/doc/gdl/ >> -rw-r--r-- root/admin15131 2014-01-13 16:51 ./sw/share/doc/gdl/COPYING >> -rw-r--r-- root/admin14123 2014-01-13 16:51 ./sw/share/doc/gdl/README >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/man/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./sw/share/man/man1/ >> -rw-r--r-- root/admin 4881 2014-01-13 16:51 ./sw/share/man/man1/gdl.1 >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/bin/ >> -rwxr-xr-x root/admin 7341540 2014-01-13 16:51 ./usr/local/bin/gdl >> drwxr-xr-x root/admin0 2014-01-13 16:51 ./usr/local/share/ >> drwxr-xr-x root/admin0 2014-01-13 16:51 >> ./usr/local/share/gnudatalanguage/ >> -rw-r--r-- root/admin 680 2012-11-07 02:39 >> ./usr/local/share/gnudatalanguage/AUTHORS >> drwxr-xr-x root/admin0 2014-01-13 16:51 >> ./usr/local/share/gnudatalanguage/lib/ >> -rw-r--r-- root/admin 2319 2012-01-02 22:20 >> ./usr/local/share/gnudatalanguage/lib/appleman.pro >> -rw-r--r-- root/admin 1858 2010-01-20 12:41 >> .