SF.net SVN: gar:[24406] csw/mgar/pkg

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Fri Dec 5 13:32:58 CET 2014


Revision: 24406
          http://sourceforge.net/p/gar/code/24406
Author:   cgrzemba
Date:     2014-12-05 12:32:56 +0000 (Fri, 05 Dec 2014)
Log Message:
-----------
sqlitebrowser/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/sqlitebrowser/
    csw/mgar/pkg/sqlitebrowser/Makefile
    csw/mgar/pkg/sqlitebrowser/branches/
    csw/mgar/pkg/sqlitebrowser/tags/
    csw/mgar/pkg/sqlitebrowser/trunk/
    csw/mgar/pkg/sqlitebrowser/trunk/Makefile
    csw/mgar/pkg/sqlitebrowser/trunk/checksums
    csw/mgar/pkg/sqlitebrowser/trunk/files/
    csw/mgar/pkg/sqlitebrowser/trunk/files/0001-fix-namespace.patch

Added: csw/mgar/pkg/sqlitebrowser/Makefile
===================================================================
--- csw/mgar/pkg/sqlitebrowser/Makefile	                        (rev 0)
+++ csw/mgar/pkg/sqlitebrowser/Makefile	2014-12-05 12:32:56 UTC (rev 24406)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/sqlitebrowser/trunk
===================================================================
--- csw/mgar/pkg/sqlitebrowser/trunk	2014-12-04 23:40:29 UTC (rev 24405)
+++ csw/mgar/pkg/sqlitebrowser/trunk	2014-12-05 12:32:56 UTC (rev 24406)

Property changes on: csw/mgar/pkg/sqlitebrowser/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/sqlitebrowser/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sqlitebrowser/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/sqlitebrowser/trunk/Makefile	2014-12-05 12:32:56 UTC (rev 24406)
@@ -0,0 +1,66 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = sqlitebrowser
+VERSION = 3.4.0
+GIT_VERSION = v$(VERSION)
+GARTYPE = v2
+CATEGORIES = gnome
+
+DESCRIPTION = DB Browser for SQLite
+define BLURB
+  DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.
+endef
+
+MASTER_SITES =
+GIT_REPOS = http://github.com/$(NAME)/$(NAME).git
+GIT_TREEISH_sqlitebrowser.git = $(GIT_VERSION)
+
+# g++4 handles nested namespaces different
+PATCHFILES += 0001-fix-namespace.patch
+
+BUILD_DEP_PKGS += CSWqt4-dev
+BUILD_DEP_PKGS += CSWcmake
+
+GARCOMPILER = GCC4
+SKIPTEST = 1
+
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibqtcore4
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibqtnetwork4
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibsqlite3-0
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibqtgui4
+RUNTIME_DEP_PKGS_CSWsqlitebrowser += CSWlibgcc-s1
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+# http://dev.mysql.com/doc/internals/en/autotools-to-cmake.html
+CMAKE_ARGS += -DCMAKE_INSTALL_PREFIX=$(prefix)
+CMAKE_ARGS += -DCMAKE_C_FLAGS="$(CPPFLAGS) $(CFLAGS)"
+# CMAKE_ARGS += -DCMAKE_CXX_FLAGS="$(CXXFLAGS)"
+CMAKE_ARGS += -DCMAKE_INCLUDE_PATH="$(includedir)"
+CMAKE_ARGS += -DCMAKE_LIBRARY_PATH="$(libdir)"
+CMAKE_ARGS += -DCMAKE_SKIP_RPATH=NO
+CMAKE_ARGS += -DCMAKE_EXE_LINKER_FLAGS="-Wl,-Bdirect -Wl,-zignore"
+CMAKE_ARGS += -DCMAKE_VERBOSE_MAKEFILE=1
+
+CONFIGURE_SCRIPTS = custom
+BUILD_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+
+configure-custom: 
+	cd $(WORKSRC) && ([ ! -d build ] && mkdir build || true) && cd build && \
+	$(CONFIGURE_ENV) cmake .. $(CMAKE_ARGS)
+	@$(MAKECOOKIE)
+
+build-custom: 
+	cd $(WORKSRC)/build && gmake V=1
+	@$(MAKECOOKIE)
+
+install-custom: 
+	cd $(WORKSRC)/build && gmake install DESTDIR=$(DESTDIR)
+	@$(MAKECOOKIE)
+
+#	cd $(WORKSRC) && $(bindir)/qmake $(call tolower,$(NAME)).pro
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/sqlitebrowser/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/sqlitebrowser/trunk/checksums
===================================================================
Added: csw/mgar/pkg/sqlitebrowser/trunk/files/0001-fix-namespace.patch
===================================================================
--- csw/mgar/pkg/sqlitebrowser/trunk/files/0001-fix-namespace.patch	                        (rev 0)
+++ csw/mgar/pkg/sqlitebrowser/trunk/files/0001-fix-namespace.patch	2014-12-05 12:32:56 UTC (rev 24406)
@@ -0,0 +1,11 @@
+--- a/libs/antlr-2.7.7/antlr/config.hpp
++++ b/libs/antlr-2.7.7/antlr/config.hpp
+@@ -15,7 +15,7 @@
+  *
+  * These are the defaults. Per compiler these are amended.
+  */
+-#define ANTLR_USE_NAMESPACE(_x_) _x_::
++#define ANTLR_USE_NAMESPACE(_x_) ::_x_::
+ #define ANTLR_USING_NAMESPACE(_x_) using namespace _x_;
+ #define ANTLR_CXX_SUPPORTS_NAMESPACE 1
+ #define ANTLR_C_USING(_x_)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list