Initial import
This commit is contained in:
		
							
								
								
									
										52
									
								
								CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
				
			|||||||
 | 
					if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} )
 | 
				
			||||||
 | 
					    message( FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. You may need to remove CMakeCache.txt." )
 | 
				
			||||||
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					project(ubuntu-sdk C CXX)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					include(ExternalProject)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmake_minimum_required(VERSION 2.8.9)
 | 
				
			||||||
 | 
					set (ubuntu_sdk_VERSION_MAJOR 3)
 | 
				
			||||||
 | 
					set (ubuntu_sdk_VERSION_MINOR 5)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# configure a header file to pass some of the CMake settings
 | 
				
			||||||
 | 
					# to the source code
 | 
				
			||||||
 | 
					configure_file (
 | 
				
			||||||
 | 
					  "${PROJECT_SOURCE_DIR}/TutorialConfig.h.in"
 | 
				
			||||||
 | 
					  "${PROJECT_BINARY_DIR}/TutorialConfig.h"
 | 
				
			||||||
 | 
					  )
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					# add the binary tree to the search path for include files
 | 
				
			||||||
 | 
					# so that we will find TutorialConfig.h
 | 
				
			||||||
 | 
					include_directories("${PROJECT_BINARY_DIR}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					add_executable(ubuntu-sdk ubuntu-sdk.cpp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ExternalProject_Add(qt-everywhere-opensource-src-5.5.0
 | 
				
			||||||
 | 
					#  URL http://download.qt.io/official_releases/qt/5.5/5.5.0/single/qt-everywhere-opensource-src-5.5.0.tar.gz
 | 
				
			||||||
 | 
					#  PREFIX "${CMAKE_SOURCE_DIR}/qt"
 | 
				
			||||||
 | 
					#)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ExternalProject_Add(qt-everywhere-opensource-src-5.4.2
 | 
				
			||||||
 | 
					  PREFIX "${CMAKE_SOURCE_DIR}/qt"
 | 
				
			||||||
 | 
					  #URL http://download.qt.io/official_releases/qt/5.5/5.5.0/single/qt-everywhere-opensource-src-5.5.0.tar.gz
 | 
				
			||||||
 | 
					  URL /home/balogh/qt-everywhere-opensource-src-5.4.2.tar.gz
 | 
				
			||||||
 | 
					  PATCH_COMMAND sh -c "dget https://launchpad.net/ubuntu/+archive/primary/+files/qtfeedback-opensource-src_5.0~git20130529-0ubuntu11.dsc"
 | 
				
			||||||
 | 
					  COMMAND sh -c "mv qtfeedback-opensource-src-* qtfeedback"
 | 
				
			||||||
 | 
					  COMMAND sh -c "mkdir qtfeedback/.git"
 | 
				
			||||||
 | 
					  COMMAND sh -c "dget https://launchpad.net/ubuntu/+archive/primary/+files/qtpim-opensource-src_5.0~git20140515~29475884-0ubuntu11.dsc"
 | 
				
			||||||
 | 
					  COMMAND sh -c "mv qtpim-opensource-src-* qtpim"
 | 
				
			||||||
 | 
					  COMMAND sh -c "mkdir qtpim/.git"
 | 
				
			||||||
 | 
					  COMMAND sh -c "bzr branch lp:ubuntu-ui-toolkit ubuntu-sdk"
 | 
				
			||||||
 | 
					  COMMAND sh -c "echo \"addModule(ubuntu-sdk,qtdeclarative qtfeedback qtpim)\" >>  qt.pro"
 | 
				
			||||||
 | 
					  COMMAND sh -c "mkdir -p ${CMAKE_BINARY_DIR}/qt"
 | 
				
			||||||
 | 
					  COMMAND sh -c "./configure `cat ${CMAKE_SOURCE_DIR}/qt5config `"
 | 
				
			||||||
 | 
					  COMMAND sh -c "make -j 4"
 | 
				
			||||||
 | 
					  COMMAND sh -c "make install"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#bzoltan: what should happen is:   pull qt, pull uitk into qt, build qt, install qt to builddir/qt, pull qtc, pull ubuntu pluign into qtc, build qtc, install qtc and qt with (make deployqt)
 | 
				
			||||||
 | 
					#bzoltan: qtc buildfiles have a "deployqt" target that _should_ do the right thing
 | 
				
			||||||
							
								
								
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					ubuntu-sdk-ide (3.5.0+15.10.20150812-0ubuntu1~0vivid1) vivid; urgency=medium
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  * Initial release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 -- Zoltán Balogh <zoltan@bakter.hu>  Wed, 12 Aug 2015 09:39:07 +0300
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					9
 | 
				
			||||||
							
								
								
									
										115
									
								
								debian/control
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								debian/control
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,115 @@
 | 
				
			|||||||
 | 
					Source: ubuntu-sdk-ide
 | 
				
			||||||
 | 
					Section: devel
 | 
				
			||||||
 | 
					Priority: optional
 | 
				
			||||||
 | 
					Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
 | 
				
			||||||
 | 
					Build-Depends: debhelper (>= 9),
 | 
				
			||||||
 | 
					               dpkg-dev (>= 1.16.1),
 | 
				
			||||||
 | 
					               freetds-dev,
 | 
				
			||||||
 | 
					               gdb [!ppc64el],
 | 
				
			||||||
 | 
					               libasound2-dev [linux-any],
 | 
				
			||||||
 | 
					               libatspi2.0-dev,
 | 
				
			||||||
 | 
					               libcups2-dev,
 | 
				
			||||||
 | 
					               libdbus-1-dev,
 | 
				
			||||||
 | 
					               libfontconfig1-dev,
 | 
				
			||||||
 | 
					               libfreetype6-dev,
 | 
				
			||||||
 | 
					               libgbm-dev [linux-any],
 | 
				
			||||||
 | 
					               libgl1-mesa-dev | libgl-dev,
 | 
				
			||||||
 | 
					               libgles2-mesa-dev [linux-any] | libgles2-dev [linux-any],
 | 
				
			||||||
 | 
					               libglib2.0-dev,
 | 
				
			||||||
 | 
					               libglu1-mesa-dev | libglu-dev,
 | 
				
			||||||
 | 
					               libgstreamer1.0-dev,
 | 
				
			||||||
 | 
					               libgstreamer-plugins-base1.0-dev,
 | 
				
			||||||
 | 
					               libgtk2.0-dev,
 | 
				
			||||||
 | 
					               libharfbuzz-dev,
 | 
				
			||||||
 | 
					               libicu-dev,
 | 
				
			||||||
 | 
					               libjpeg-dev,
 | 
				
			||||||
 | 
					               libmysqlclient-dev,
 | 
				
			||||||
 | 
					               libopenvg1-mesa-dev [amd64 armel armhf i386 powerpc kfreebsd-any],
 | 
				
			||||||
 | 
					               libpng-dev,
 | 
				
			||||||
 | 
					               libpq-dev,
 | 
				
			||||||
 | 
					               libpulse-dev,
 | 
				
			||||||
 | 
					               libsqlite3-dev,
 | 
				
			||||||
 | 
					               libssl-dev,
 | 
				
			||||||
 | 
					               libudev-dev,
 | 
				
			||||||
 | 
					               libudev-dev [linux-any],
 | 
				
			||||||
 | 
					               libx11-dev,
 | 
				
			||||||
 | 
					               libx11-xcb-dev,
 | 
				
			||||||
 | 
					               libxcb1-dev,
 | 
				
			||||||
 | 
					               libxcb-icccm4-dev,
 | 
				
			||||||
 | 
					               libxcb-image0-dev,
 | 
				
			||||||
 | 
					               libxcb-keysyms1-dev,
 | 
				
			||||||
 | 
					               libxcb-randr0-dev,
 | 
				
			||||||
 | 
					               libxcb-render0-dev,
 | 
				
			||||||
 | 
					               libxcb-render-util0-dev,
 | 
				
			||||||
 | 
					               libxcb-shape0-dev,
 | 
				
			||||||
 | 
					               libxcb-shm0-dev,
 | 
				
			||||||
 | 
					               libxcb-sync-dev,
 | 
				
			||||||
 | 
					               libxcb-xfixes0-dev,
 | 
				
			||||||
 | 
					               libxcb-xkb-dev,
 | 
				
			||||||
 | 
					               libxi-dev,
 | 
				
			||||||
 | 
					               libxkbcommon-dev,
 | 
				
			||||||
 | 
					               libxkbcommon-x11-dev,
 | 
				
			||||||
 | 
					               libxrender-dev,
 | 
				
			||||||
 | 
					               pkg-config,
 | 
				
			||||||
 | 
					               pkg-kde-tools (>= 0.14.2),
 | 
				
			||||||
 | 
					               python-launchpadlib,
 | 
				
			||||||
 | 
					               unixodbc-dev,
 | 
				
			||||||
 | 
					               xvfb,
 | 
				
			||||||
 | 
					               zlib1g-dev
 | 
				
			||||||
 | 
					Standards-Version: 3.9.4
 | 
				
			||||||
 | 
					Homepage: https://launchpad.net/ubuntu-sdk-ide
 | 
				
			||||||
 | 
					# If you aren't a member of ~ubuntu-sdk-team but need to upload packaging changes,
 | 
				
			||||||
 | 
					# just go ahead. ~ubuntu-sdk-team will notice and sync up the code again.
 | 
				
			||||||
 | 
					Vcs-Bzr: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-sdk-ide/trunk
 | 
				
			||||||
 | 
					XS-Testsuite: autopkgtest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Package: ubuntu-sdk-ide
 | 
				
			||||||
 | 
					Architecture: any
 | 
				
			||||||
 | 
					Depends: android-tools-adb,
 | 
				
			||||||
 | 
					         click,
 | 
				
			||||||
 | 
					         click-dev,
 | 
				
			||||||
 | 
					         click-doc,
 | 
				
			||||||
 | 
					         click-apparmor,
 | 
				
			||||||
 | 
					         devscripts,
 | 
				
			||||||
 | 
					         dh-make,
 | 
				
			||||||
 | 
					         rsync,
 | 
				
			||||||
 | 
					         webapp-container [i386 amd64 armhf],
 | 
				
			||||||
 | 
					# Only for unity8-supported archs
 | 
				
			||||||
 | 
					         python3-scope-harness [i386 amd64 armhf],
 | 
				
			||||||
 | 
					         unity-scope-tool [i386 amd64 armhf],
 | 
				
			||||||
 | 
					         cmake-extras,
 | 
				
			||||||
 | 
					# up until this
 | 
				
			||||||
 | 
					         gdb-multiarch,
 | 
				
			||||||
 | 
					         click-reviewers-tools,
 | 
				
			||||||
 | 
					         phablet-tools,
 | 
				
			||||||
 | 
					         python-dbus,
 | 
				
			||||||
 | 
					         schroot,
 | 
				
			||||||
 | 
					         ${shlibs:Depends},
 | 
				
			||||||
 | 
					         ${misc:Depends},
 | 
				
			||||||
 | 
					Recommends: ubuntu-sdk,
 | 
				
			||||||
 | 
					            ubuntu-ui-toolkit-examples,
 | 
				
			||||||
 | 
					            qtbase5-examples,
 | 
				
			||||||
 | 
					            qtdeclarative5-examples,
 | 
				
			||||||
 | 
					            qt3d5-examples,
 | 
				
			||||||
 | 
					            qtlocation5-examples,
 | 
				
			||||||
 | 
					            qtmultimedia5-examples,
 | 
				
			||||||
 | 
					            qtscript5-examples,
 | 
				
			||||||
 | 
					            qtsensors5-examples,
 | 
				
			||||||
 | 
					            qtsvg5-examples,
 | 
				
			||||||
 | 
					            qttools5-examples,
 | 
				
			||||||
 | 
					            qtxmlpatterns5-examples,
 | 
				
			||||||
 | 
					            libu1db-qt5-examples,
 | 
				
			||||||
 | 
					            qtconnectivity5-examples,
 | 
				
			||||||
 | 
					            qtquick1-5-examples,
 | 
				
			||||||
 | 
					            qtsystems5-examples,
 | 
				
			||||||
 | 
					            qtcreator-plugin-go,
 | 
				
			||||||
 | 
					            ubuntu-emulator
 | 
				
			||||||
 | 
					Description: Ubuntu SDK IDE
 | 
				
			||||||
 | 
					 Qt Creator is a lightweight, cross-platform integrated development
 | 
				
			||||||
 | 
					 environment (IDE) designed to make development with the Qt application
 | 
				
			||||||
 | 
					 framework even faster and easier.
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 This package contains the Qt Creator and the Ubuntu plugins providing
 | 
				
			||||||
 | 
					 deeper integration for developing applications for Ubuntu using the
 | 
				
			||||||
 | 
					 Ubuntu UI Toolkit. It also introduces an Ubuntu themed welcome
 | 
				
			||||||
 | 
					 screen.
 | 
				
			||||||
							
								
								
									
										45
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
				
			|||||||
 | 
					Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 | 
				
			||||||
 | 
					Upstream-Name: qtcreator-plugin-ubuntu
 | 
				
			||||||
 | 
					Source: https://code.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Files: *
 | 
				
			||||||
 | 
					Copyright: 2013 Canonical Ltd.
 | 
				
			||||||
 | 
					License: LGPL-2.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					License: LGPL-2.1
 | 
				
			||||||
 | 
					 This program is free software; you can redistribute it and/or modify
 | 
				
			||||||
 | 
					 it under the terms of the GNU Lesser General Public License as published by
 | 
				
			||||||
 | 
					 the Free Software Foundation; version 2.1.
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 This program is distributed in the hope that it will be useful,
 | 
				
			||||||
 | 
					 but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
				
			||||||
 | 
					 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
				
			||||||
 | 
					 GNU Lesser General Public License for more details.
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 You should have received a copy of the GNU Lesser General Public License
 | 
				
			||||||
 | 
					 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 On Debian systems, the complete text of the GNU Lesser General Public
 | 
				
			||||||
 | 
					 License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Files: share/qtcreator/templates/wizards/ubuntu/html5-simple/tests/unit/third_party/jasmine/lib/jasmine-2.2.0/*
 | 
				
			||||||
 | 
					Copyright: 2008-2015 Pivotal Labs
 | 
				
			||||||
 | 
					License: MIT
 | 
				
			||||||
 | 
					 Permission is hereby granted, free of charge, to any person obtaining
 | 
				
			||||||
 | 
					 a copy of this software and associated documentation files (the
 | 
				
			||||||
 | 
					 "Software"), to deal in the Software without restriction, including
 | 
				
			||||||
 | 
					 without limitation the rights to use, copy, modify, merge, publish,
 | 
				
			||||||
 | 
					 distribute, sublicense, and/or sell copies of the Software, and to
 | 
				
			||||||
 | 
					 permit persons to whom the Software is furnished to do so, subject to
 | 
				
			||||||
 | 
					 the following conditions:
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 The above copyright notice and this permission notice shall be
 | 
				
			||||||
 | 
					 included in all copies or substantial portions of the Software.
 | 
				
			||||||
 | 
					 .
 | 
				
			||||||
 | 
					 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 | 
				
			||||||
 | 
					 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 | 
				
			||||||
 | 
					 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 | 
				
			||||||
 | 
					 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 | 
				
			||||||
 | 
					 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 | 
				
			||||||
 | 
					 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 | 
				
			||||||
 | 
					 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
				
			||||||
							
								
								
									
										20
									
								
								debian/rules
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										20
									
								
								debian/rules
									
									
									
									
										vendored
									
									
										Executable file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/make -f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Uncomment this to turn on verbose mode.
 | 
				
			||||||
 | 
					#export DH_VERBOSE=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
 | 
				
			||||||
 | 
					export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
 | 
				
			||||||
 | 
					export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 | 
				
			||||||
 | 
					export QT_SELECT := qt5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# -----------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%:
 | 
				
			||||||
 | 
						dh $@ --parallel --fail-missing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					override_dh_auto_clean:
 | 
				
			||||||
 | 
						dh_auto_clean
 | 
				
			||||||
 | 
						rm -rf builddir
 | 
				
			||||||
							
								
								
									
										0
									
								
								debian/ubuntu-sdk-ide.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								debian/ubuntu-sdk-ide.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										11
									
								
								debian/ubuntusdk.desktop
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								debian/ubuntusdk.desktop
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					[Desktop Entry]
 | 
				
			||||||
 | 
					Exec=qtcreator %F
 | 
				
			||||||
 | 
					Icon=ubuntu-qtcreator
 | 
				
			||||||
 | 
					Type=Application
 | 
				
			||||||
 | 
					Terminal=false
 | 
				
			||||||
 | 
					Name=Ubuntu SDK
 | 
				
			||||||
 | 
					GenericName=Integrated Development Environment
 | 
				
			||||||
 | 
					MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;application/x-qmlproject;
 | 
				
			||||||
 | 
					Categories=Qt;Development;IDE;
 | 
				
			||||||
 | 
					InitialPreference=9
 | 
				
			||||||
 | 
					Keywords=Ubuntu SDK;SDK;Ubuntu Touch;Qt Creator;Qt
 | 
				
			||||||
							
								
								
									
										57
									
								
								getdsc.py
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										57
									
								
								getdsc.py
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,57 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from optparse import OptionParser
 | 
				
			||||||
 | 
					import re
 | 
				
			||||||
 | 
					import urlparse
 | 
				
			||||||
 | 
					from launchpadlib.launchpad import Launchpad
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					def create_webroot_url_from_self_link(self_link):
 | 
				
			||||||
 | 
					    scheme, netloc, _, _, _ = urlparse.urlsplit(self_link)
 | 
				
			||||||
 | 
					    netloc = netloc.lstrip("api.")
 | 
				
			||||||
 | 
					    return u"%s://%s/" %(scheme, netloc)
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					def get_dsc(archive, package, series):
 | 
				
			||||||
 | 
					    re_version = re.compile(r"^\d+\:")
 | 
				
			||||||
 | 
					   # x = archive.getPublishedSources()
 | 
				
			||||||
 | 
					    x = archive.getPublishedSources(exact_match=True, source_name=package,
 | 
				
			||||||
 | 
					            distro_series=series)
 | 
				
			||||||
 | 
					    webroot = create_webroot_url_from_self_link(archive.self_link)
 | 
				
			||||||
 | 
					   # for i in x:
 | 
				
			||||||
 | 
					    version = x[0].source_package_version
 | 
				
			||||||
 | 
					    version = re_version.sub("", version, 1)
 | 
				
			||||||
 | 
					    #yield "%s~%s/+archive/primary/+files/%s_%s.dsc" \
 | 
				
			||||||
 | 
					    yield "%subuntu/+archive/primary/+files/%s_%s.dsc" \
 | 
				
			||||||
 | 
					         %(webroot, x[0].source_package_name, version)
 | 
				
			||||||
 | 
					         #%(webroot, archive.owner.name, x[0].source_package_name, version)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					def main():
 | 
				
			||||||
 | 
					    parser = OptionParser(usage="usage: %prog [options] source ...")
 | 
				
			||||||
 | 
					    parser.add_option(
 | 
				
			||||||
 | 
					        "-l", "--launchpad", dest="launchpad_instance", default="production")
 | 
				
			||||||
 | 
					    options, args = parser.parse_args()
 | 
				
			||||||
 | 
					    if not args:
 | 
				
			||||||
 | 
					        parser.error("You must specify at least one soure.")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    options.launchpad = Launchpad.login_with(
 | 
				
			||||||
 | 
					        "branch-seeds", options.launchpad_instance)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    launchpad = Launchpad.login_anonymously('just testing', 'production')
 | 
				
			||||||
 | 
					    ubuntu = launchpad.distributions["ubuntu"]
 | 
				
			||||||
 | 
					    archive = ubuntu.main_archive
 | 
				
			||||||
 | 
					    series = ubuntu.getSeries(name_or_version="wily")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    #distro = options.launchpad.distributions["ubuntu"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    for package in args:
 | 
				
			||||||
 | 
					        #print(package)
 | 
				
			||||||
 | 
					        #print(series)
 | 
				
			||||||
 | 
					        #print(archive)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        re_version = re.compile(r"^\d+\:")
 | 
				
			||||||
 | 
					        x = archive.getPublishedSources(exact_match=True, source_name=package, distro_series=series)[0].source_package_version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        generator = get_dsc(archive, package, series)
 | 
				
			||||||
 | 
					        for i in generator:
 | 
				
			||||||
 | 
					            print(i)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					main()
 | 
				
			||||||
							
								
								
									
										29
									
								
								qt5config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								qt5config
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
				
			|||||||
 | 
					-v 
 | 
				
			||||||
 | 
					-confirm-license
 | 
				
			||||||
 | 
					-prefix ${CMAKE_BINARY_DIR}/qt
 | 
				
			||||||
 | 
					-sysconfdir /etc/xdg 
 | 
				
			||||||
 | 
					-opensource 
 | 
				
			||||||
 | 
					-plugin-sql-mysql 
 | 
				
			||||||
 | 
					-plugin-sql-odbc 
 | 
				
			||||||
 | 
					-plugin-sql-psql 
 | 
				
			||||||
 | 
					-plugin-sql-sqlite 
 | 
				
			||||||
 | 
					-no-sql-sqlite2 
 | 
				
			||||||
 | 
					-plugin-sql-tds 
 | 
				
			||||||
 | 
					-system-sqlite 
 | 
				
			||||||
 | 
					-system-zlib 
 | 
				
			||||||
 | 
					-system-libpng 
 | 
				
			||||||
 | 
					-system-libjpeg 
 | 
				
			||||||
 | 
					-openssl 
 | 
				
			||||||
 | 
					-no-rpath 
 | 
				
			||||||
 | 
					-verbose 
 | 
				
			||||||
 | 
					-optimized-qmake 
 | 
				
			||||||
 | 
					-dbus-linked 
 | 
				
			||||||
 | 
					-reduce-relocations 
 | 
				
			||||||
 | 
					-no-strip 
 | 
				
			||||||
 | 
					-no-separate-debug-info 
 | 
				
			||||||
 | 
					-qpa xcb 
 | 
				
			||||||
 | 
					-xcb 
 | 
				
			||||||
 | 
					-glib 
 | 
				
			||||||
 | 
					-icu 
 | 
				
			||||||
 | 
					-accessibility 
 | 
				
			||||||
 | 
					-no-directfb 
 | 
				
			||||||
		Reference in New Issue
	
	Block a user