1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

* Keep anjuta from crashing when not run under the GNOME desktop

* Remove a useless (broken) patch

Submitted by:	Alexander Nedotsukov <bland@mail.ru>
This commit is contained in:
Joe Marcus Clarke 2003-06-08 15:59:17 +00:00
parent c5b2a900a6
commit bf2ba4d989
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82538
3 changed files with 12 additions and 30 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= anjuta
PORTVERSION= 1.1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= anjuta

View File

@ -1,29 +0,0 @@
--- anjuta.glade.orig Wed May 14 14:32:42 2003
+++ anjuta.glade Wed May 14 14:34:40 2003
@@ -15866,7 +15866,7 @@
<property name="background_color">#39ce8206b5ac</property>
<property name="logo_background_color">#39ce8206b5ac</property>
<property name="textbox_color">#ffffffffffff</property>
- <property name="logo">applogo.png</property>
+ <property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
</widget>
</child>
@@ -15875,7 +15875,7 @@
<property name="visible">True</property>
<property name="title" translatable="yes">Windows style</property>
<property name="logo_background">#c440084ceacc</property>
- <property name="logo">applogo.png</property>
+ <property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="druid-vbox1">
@@ -16079,7 +16079,7 @@
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</property>
- <property name="logo">applogo.png</property>
+<property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
</widget>
</child>
</widget>

View File

@ -0,0 +1,11 @@
--- src/anjuta.c.orig Sun Jun 8 23:31:48 2003
+++ src/anjuta.c Sun Jun 8 23:33:26 2003
@@ -1938,6 +1938,8 @@
pid = waitpid (0, &status, WNOHANG);
if (pid < 1)
return;
+ if (!app)
+ return;
idx = g_list_index (app->registered_child_processes, (int *) pid);
if (idx < 0)
return;