Bug 174547 - [UPDATE]: devel/universalindentgui Update to new release, 1.2.0
Summary: [UPDATE]: devel/universalindentgui Update to new release, 1.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 18:00 UTC by Maxim Samsonov
Modified: 2013-02-17 16:10 UTC (History)
0 users

See Also:


Attachments
devel_universalindentgui-update.patch (5.16 KB, patch)
2012-12-18 18:00 UTC, Maxim Samsonov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Samsonov 2012-12-18 18:00:00 UTC
Update to 1.2.0
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-18 18:00:07 UTC
Maintainer of devel/universalindentgui,

Please note that PR ports/174547 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174547

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-18 18:00:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-02-17 16:06:41 UTC
Author: pawel
Date: Sun Feb 17 16:06:27 2013
New Revision: 312419
URL: http://svnweb.freebsd.org/changeset/ports/312419

Log:
  - Update to version 1.2.0 [1]
  - Respect CFLAGS
  - Add desktop entry
  - Fix WWW: line, convert tab to space
  - Trim Makefile header
  
  PR:		ports/174547 [1]
  Submitted by:	Maxim Samsonov <xors@mailup.net> [1]
  Approved by:	maintainer timeout

Added:
  head/devel/universalindentgui/files/patch-src_UiGuiSettings.cpp   (contents, props changed)
  head/devel/universalindentgui/files/patch-src_UiGuiSystemInfo.cpp   (contents, props changed)
Modified:
  head/devel/universalindentgui/Makefile
  head/devel/universalindentgui/distinfo
  head/devel/universalindentgui/pkg-descr
  head/devel/universalindentgui/pkg-plist

Modified: head/devel/universalindentgui/Makefile
==============================================================================
--- head/devel/universalindentgui/Makefile	Sun Feb 17 14:44:08 2013	(r312418)
+++ head/devel/universalindentgui/Makefile	Sun Feb 17 16:06:27 2013	(r312419)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	universalindentgui
-# Date created:		2009-09-30
-# Whom:			Andriy Gapon <avg@icyb.net.ua>
-#
+# Created by: Andriy Gapon <avg@icyb.net.ua>
 # $FreeBSD$
-#
 
 PORTNAME=	universalindentgui
-PORTVERSION=	1.1.0
-PORTREVISION=	4
+PORTVERSION=	1.2.0
 CATEGORIES=	devel
 MASTER_SITES=	SF/universalindent/uigui/UniversalIndentGUI_${PORTVERSION}
 
@@ -16,6 +11,7 @@ COMMENT=	Graphical UI for multiple sourc
 
 LIB_DEPENDS=	qscintilla2:${PORTSDIR}/devel/qscintilla2
 
+USE_DOS2UNIX=	yes
 USE_QT4=	qmake_build moc_build uic_build rcc_build \
 		linguist network script gui
 HAS_CONFIGURE=	yes
@@ -25,14 +21,20 @@ MANCOMPRESSED=	yes
 
 QMAKE_ARGS=	-unix PREFIX=${PREFIX}
 
+DESKTOP_ENTRIES="UniversalIndentGUI" "${COMMENT}" "" "${PORTNAME}" "" true
+
 post-patch:
 	@${REINPLACE_CMD} -e 's#/usr/#${PREFIX}/#g' -e 's#/share/man/#/man/#g' \
-		${WRKSRC}/UniversalIndentGUI.pro
+		${WRKSRC}/UniversalIndentGUI.pro ${WRKSRC}/src/SettingsPaths.cpp
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
 		${QMAKE} ${QMAKE_ARGS}
 
+post-configure:
+	@${REINPLACE_CMD} 's|-pipe -O2|${CFLAGS}|' ${WRKSRC}/Makefile.Release
+	@${REINPLACE_CMD} 's|-pipe -g|${CFLAGS}|' ${WRKSRC}/Makefile.Debug
+
 post-install:
 	@${ECHO_MSG}
 	@${CAT} ${PKGMESSAGE}

Modified: head/devel/universalindentgui/distinfo
==============================================================================
--- head/devel/universalindentgui/distinfo	Sun Feb 17 14:44:08 2013	(r312418)
+++ head/devel/universalindentgui/distinfo	Sun Feb 17 16:06:27 2013	(r312419)
@@ -1,2 +1,2 @@
-SHA256 (universalindentgui-1.1.0.tar.gz) = 6b1d06e2a9d441ea330d45e0d8e9099acb3066a3ca259a5f0d604cd18a1025d6
-SIZE (universalindentgui-1.1.0.tar.gz) = 934141
+SHA256 (universalindentgui-1.2.0.tar.gz) = 78a8d5538b951080c521118a0cefcae5bf1b32a3f0a022087087af3d70e98338
+SIZE (universalindentgui-1.2.0.tar.gz) = 863793

Added: head/devel/universalindentgui/files/patch-src_UiGuiSettings.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/universalindentgui/files/patch-src_UiGuiSettings.cpp	Sun Feb 17 16:06:27 2013	(r312419)
@@ -0,0 +1,11 @@
+--- ./src/UiGuiSettings.cpp.orig	2013-02-17 16:32:05.000000000 +0100
++++ ./src/UiGuiSettings.cpp	2013-02-17 16:34:46.000000000 +0100
+@@ -181,7 +181,7 @@
+     _qsettings->setValue( "UniversalIndentGUI/language", _availableTranslations.indexOf( _qsettings->value("UniversalIndentGUI/language", "").toString() ) );
+ 
+     // Read the update check settings from the settings file.
+-    _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", true) );
++    _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", false) );
+     _qsettings->setValue( "UniversalIndentGUI/LastUpdateCheck", _qsettings->value("UniversalIndentGUI/LastUpdateCheck", QDate(1900,1,1)) );
+ 
+     // Read the main window state.

Added: head/devel/universalindentgui/files/patch-src_UiGuiSystemInfo.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/universalindentgui/files/patch-src_UiGuiSystemInfo.cpp	Sun Feb 17 16:06:27 2013	(r312419)
@@ -0,0 +1,20 @@
+--- src/UiGuiSystemInfo.cpp.orig	2012-01-01 17:51:34.000000000 +0100
++++ src/UiGuiSystemInfo.cpp	2013-02-17 15:22:00.000000000 +0100
+@@ -154,6 +154,17 @@
+ 
+         operatingSystemString = os + "oslevel " + oslevel;
+     }
++     else if ( os == "FreeBSD" ) {
++         process.start("uname -n");
++         result = process.waitForFinished(1000);
++         QString name = process.readAllStandardOutput().trimmed();
++ 
++         process.start("uname -v");
++         result = process.waitForFinished(1000);
++         QString oslevel = process.readAllStandardOutput().trimmed();
++ 
++         operatingSystemString = os + " " + name + " " + rev + " " + oslevel + " " + mach;
++    }
+     else if ( os == "Linux" ) {
+         QString dist;
+         QString pseudoname;

Modified: head/devel/universalindentgui/pkg-descr
==============================================================================
--- head/devel/universalindentgui/pkg-descr	Sun Feb 17 14:44:08 2013	(r312418)
+++ head/devel/universalindentgui/pkg-descr	Sun Feb 17 16:06:27 2013	(r312419)
@@ -1,4 +1,4 @@
 UniversalIndentGUI is a graphical UI for multiple source code indent,
 format and beautify tools like GNU Indent, Astyle, GreatCode etc.
 
-WWW:	http://universalindent.sourceforge.net/
+WWW: http://universalindent.sourceforge.net/

Modified: head/devel/universalindentgui/pkg-plist
==============================================================================
--- head/devel/universalindentgui/pkg-plist	Sun Feb 17 14:44:08 2013	(r312418)
+++ head/devel/universalindentgui/pkg-plist	Sun Feb 17 16:06:27 2013	(r312419)
@@ -12,6 +12,8 @@ share/universalindentgui/indenters/examp
 share/universalindentgui/indenters/example.py
 share/universalindentgui/indenters/example.rb
 share/universalindentgui/indenters/example.sh
+share/universalindentgui/indenters/example.sql
+share/universalindentgui/indenters/example.vb
 share/universalindentgui/indenters/example.xml
 share/universalindentgui/indenters/phpStylist.php
 share/universalindentgui/indenters/phpStylist.txt
@@ -36,15 +38,17 @@ share/universalindentgui/indenters/uigui
 share/universalindentgui/indenters/uigui_phpStylist.ini
 share/universalindentgui/indenters/uigui_php_Beautifier.ini
 share/universalindentgui/indenters/uigui_pindent.ini
+share/universalindentgui/indenters/uigui_psti.ini
 share/universalindentgui/indenters/uigui_rbeautify.ini
 share/universalindentgui/indenters/uigui_rubyformatter.ini
 share/universalindentgui/indenters/uigui_shellindent.ini
 share/universalindentgui/indenters/uigui_tidy.ini
 share/universalindentgui/indenters/uigui_uncrustify.ini
+share/universalindentgui/indenters/uigui_vbsbeaut.ini
 share/universalindentgui/indenters/uigui_xmlindent.ini
 share/universalindentgui/translations/universalindent_de.qm
 share/universalindentgui/translations/universalindent_fr.qm
-share/universalindentgui/translations/universalindent_ja_jp.qm
+share/universalindentgui/translations/universalindent_ja.qm
 share/universalindentgui/translations/universalindent_ru.qm
 share/universalindentgui/translations/universalindent_uk.qm
 share/universalindentgui/translations/universalindent_zh_TW.qm
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2013-02-17 16:06:43 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!